/* style/news-latest-football-match-review.css */

/* --- Base Styles & Variables --- */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f9fa; /* Slightly off-white for light sections */
  --background-dark: #1a1a1a; /* Dark background for contrast sections */
  --btn-login-color: #EA7C07;
}

/* Base page content styling for text contrast */
.page-news-latest-football-match-review {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light backgrounds */
  background-color: var(--background-light); /* Default background for the page */
}

/* Ensure body padding for fixed header (if not handled by shared.css body padding-top) */
/* If shared.css already applies body { padding-top: var(--header-offset); }, then this section's padding-top should be 0 or small.
   Assuming shared.css does NOT apply padding-top to body, so applying it here on the first section. */
.page-news-latest-football-match-review__hero-section {
  position: relative;
  width: 100%;
  padding-top: var(--header-offset, 120px); /* Desktop and mobile offset */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: var(--background-dark); /* Dark background for hero */
  color: var(--text-light); /* Light text for dark background */
}

.page-news-latest-football-match-review__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.page-news-latest-football-match-review__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-news-latest-football-match-review__hero-content {
  z-index: 1;
}

.page-news-latest-football-match-review__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--text-light);
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-news-latest-football-match-review__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  color: var(--text-light);
}

.page-news-latest-football-match-review__hero-cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%; /* Ensure container fills width for mobile adaptation */
}

/* --- General Section Styling --- */
.page-news-latest-football-match-review__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-news-latest-football-match-review__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--text-dark);
}

.page-news-latest-football-match-review__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.page-news-latest-football-match-review__dark-bg {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-news-latest-football-match-review__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
}

/* --- Button Styles --- */
.page-news-latest-football-match-review__btn-primary,
.page-news-latest-football-match-review__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure buttons are responsive */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-news-latest-football-match-review__btn-primary {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-news-latest-football-match-review__btn-primary:hover {
  background-color: #1e87b5; /* Darker shade of primary */
  border-color: #1e87b5;
}

.page-news-latest-football-match-review__btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-news-latest-football-match-review__btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
}

/* Specific button for login/register (if needed) */
.page-news-latest-football-match-review__btn-login {
  background-color: var(--btn-login-color);
  color: var(--text-light);
  border: 2px solid var(--btn-login-color);
}
.page-news-latest-football-match-review__btn-login:hover {
  background-color: #c96706; /* Darker shade */
  border-color: #c96706;
}

/* --- Highlights Section --- */
.page-news-latest-football-match-review__highlights-section {
  padding: 60px 0;
}

.page-news-latest-football-match-review__highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-news-latest-football-match-review__card {
  background-color: var(--secondary-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-news-latest-football-match-review__card:hover {
  transform: translateY(-5px);
}

.page-news-latest-football-match-review__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-news-latest-football-match-review__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  color: var(--text-dark); /* Ensure text color for card content */
}

.page-news-latest-football-match-review__card-title {
  font-size: 1.4em;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-news-latest-football-match-review__card-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news-latest-football-match-review__card-title a:hover {
  color: #1e87b5;
}

.page-news-latest-football-match-review__card-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news-latest-football-match-review__read-more {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  margin-top: auto; /* Push to bottom */
}

.page-news-latest-football-match-review__read-more:hover {
  text-decoration: underline;
}

/* --- Analysis Section --- */
.page-news-latest-football-match-review__analysis-section {
  padding: 60px 0;
}

.page-news-latest-football-match-review__analysis-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-news-latest-football-match-review__analysis-image {
  width: 50%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-news-latest-football-match-review__analysis-text {
  width: 50%;
  color: var(--text-light); /* Light text for dark background */
}

.page-news-latest-football-match-review__analysis-text p {
  margin-bottom: 15px;
  font-size: 1.05em;
}

/* --- Predictions Section --- */
.page-news-latest-football-match-review__predictions-section {
  padding: 60px 0;
}

.page-news-latest-football-match-review__predictions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-news-latest-football-match-review__prediction-card {
  background-color: var(--secondary-color);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--text-dark);
}

.page-news-latest-football-match-review__prediction-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-news-latest-football-match-review__prediction-date {
  font-style: italic;
  margin-bottom: 15px;
  color: #666;
}

.page-news-latest-football-match-review__prediction-text {
  margin-bottom: 20px;
}

.page-news-latest-football-match-review__odds {
  display: flex;
  gap: 20px;
  font-weight: bold;
  color: #000000;
}

/* --- Video Section --- */
.page-news-latest-football-match-review__video-section {
  padding: 60px 0;
  text-align: center;
}

.page-news-latest-football-match-review__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background-color: #000; /* Black background for video */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  cursor: pointer; /* Indicate video is clickable */
}

.page-news-latest-football-match-review__video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-news-latest-football-match-review__video-caption {
  margin-top: 20px;
  font-size: 1.1em;
  color: var(--text-light);
}

/* --- Tips Section --- */
.page-news-latest-football-match-review__tips-section {
  padding: 60px 0;
}

.page-news-latest-football-match-review__tips-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-news-latest-football-match-review__tips-list li {
  background-color: var(--secondary-color);
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
  color: var(--text-dark);
}

.page-news-latest-football-match-review__tips-list li strong {
  color: var(--primary-color);
}

/* --- CTA Section --- */
.page-news-latest-football-match-review__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-news-latest-football-match-review__cta-content {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-light);
}

.page-news-latest-football-match-review__cta-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-news-latest-football-match-review__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--text-light);
  font-weight: bold;
}

.page-news-latest-football-match-review__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
}

/* --- FAQ Section --- */
.page-news-latest-football-match-review__faq-section {
  padding: 60px 0;
}

.page-news-latest-football-match-review__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-news-latest-football-match-review__faq-item {
  background-color: var(--secondary-color);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-news-latest-football-match-review__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--primary-color);
  cursor: pointer;
  background-color: var(--secondary-color);
  transition: background-color 0.3s ease;
}

.page-news-latest-football-match-review__faq-question:hover {
  background-color: #f0f0f0;
}

.page-news-latest-football-match-review__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-news-latest-football-match-review__faq-item.active .page-news-latest-football-match-review__faq-toggle {
  transform: rotate(45deg);
}

.page-news-latest-football-match-review__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-dark);
}

.page-news-latest-football-match-review__faq-item.active .page-news-latest-football-match-review__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px 25px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-news-latest-football-match-review__hero-title {
    font-size: 2.4em;
  }
  .page-news-latest-football-match-review__section-title {
    font-size: 2em;
  }
  .page-news-latest-football-match-review__analysis-content {
    flex-direction: column;
    text-align: center;
  }
  .page-news-latest-football-match-review__analysis-image,
  .page-news-latest-football-match-review__analysis-text {
    width: 100%;
  }
}

@media (max-width: 768px) {
  /* Ensure page container has padding on mobile */
  .page-news-latest-football-match-review__container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-news-latest-football-match-review__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
    padding-bottom: 40px;
  }

  .page-news-latest-football-match-review__hero-title {
    font-size: 2em;
  }
  .page-news-latest-football-match-review__hero-description {
    font-size: 1em;
  }
  .page-news-latest-football-match-review__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Force image responsiveness */
  .page-news-latest-football-match-review img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* Force video responsiveness */
  .page-news-latest-football-match-review video,
  .page-news-latest-football-match-review__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* Video wrapper mobile adaptation */
  .page-news-latest-football-match-review__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-news-latest-football-match-review__video-section {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
  }


  /* Force button responsiveness */
  .page-news-latest-football-match-review__btn-primary,
  .page-news-latest-football-match-review__btn-secondary,
  .page-news-latest-football-match-review a[class*="button"],
  .page-news-latest-football-match-review a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px; /* Add some padding to prevent text from touching edges */
    padding-right: 15px;
  }

  .page-news-latest-football-match-review__hero-cta-buttons,
  .page-news-latest-football-match-review__button-group,
  .page-news-latest-football-match-review__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  
  .page-news-latest-football-match-review__section-title {
    font-size: 1.8em;
  }
  .page-news-latest-football-match-review__card-image {
    height: 200px;
  }
  .page-news-latest-football-match-review__cta-title {
    font-size: 2em;
  }
  .page-news-latest-football-match-review__cta-description {
    font-size: 1em;
  }
  .page-news-latest-football-match-review__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-news-latest-football-match-review__faq-answer {
    padding: 0 20px;
  }
  .page-news-latest-football-match-review__faq-item.active .page-news-latest-football-match-review__faq-answer {
    padding: 15px 20px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-news-latest-football-match-review__hero-title {
    font-size: 1.6em;
  }
  .page-news-latest-football-match-review__section-title {
    font-size: 1.6em;
  }
  .page-news-latest-football-match-review__cta-title {
    font-size: 1.8em;
  }
  .page-news-latest-football-match-review__btn-primary,
  .page-news-latest-football-match-review__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
  }
}

/* Content area images CSS dimensions lower limit check */
/* This rule applies to any img within the main content area */
.page-news-latest-football-match-review img:not([class*="logo"]):not([class*="icon"]) {
  min-width: 200px;
  min-height: 200px;
}
/* Override specific smaller images if they are content-based */
.page-news-latest-football-match-review__card-image {
  min-width: unset; /* Allow flexibility within card, but overall card is large */
  min-height: unset;
}
/* Ensure card images themselves are not too small */
.page-news-latest-football-match-review__card-image {
  width: 100%;
  height: 250px; /* Example fixed height, ensure it's >= 200px */
  object-fit: cover;
}

/* No CSS filters allowed for images */
.page-news-latest-football-match-review img {
  filter: none !important;
}