/* style/game-reviews-football-betting.css */

/* Variables from shared.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f5f5f5;
  --background-white: #ffffff;
  --border-light: #e0e0e0;
  --login-color: #EA7C07; /* From custom colors */
}

/* Base styles for the page content */
.page-game-reviews-football-betting {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark); /* Default text color for light backgrounds */
  background-color: var(--background-white); /* Default background, assuming shared.css provides light background */
  padding-bottom: 60px; /* Add some padding at the bottom */
}

/* Fixed header offset */
.page-game-reviews-football-betting__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* Hero Section */
.page-game-reviews-football-betting__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px; /* Adjust padding-bottom for hero */
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--background-white) 100%); /* Example gradient with brand colors */
  color: var(--text-light); /* White text on gradient */
}

.page-game-reviews-football-betting__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-game-reviews-football-betting__hero-image {
  width: 100%;
  margin-bottom: 30px;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-game-reviews-football-betting__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-game-reviews-football-betting__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.page-game-reviews-football-betting__hero-content h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-light); /* White text on hero */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-game-reviews-football-betting__hero-content .page-game-reviews-football-betting__intro-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light); /* White text on hero */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-reviews-football-betting__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--login-color); /* Using login color for primary CTA */
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-game-reviews-football-betting__cta-button:hover {
  background: #D46F00; /* Darker shade of #EA7C07 */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-game-reviews-football-betting__section {
  padding: 60px 0;
}

.page-game-reviews-football-betting__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-game-reviews-football-betting__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-game-reviews-football-betting__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.page-game-reviews-football-betting__sub-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-game-reviews-football-betting p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-game-reviews-football-betting a {
  color: var(--primary-color);
  text-decoration: none;
}

.page-game-reviews-football-betting a:hover {
  text-decoration: underline;
}

/* Image Wrapper */
.page-game-reviews-football-betting__image-wrapper {
  margin: 30px 0;
  text-align: center;
}

.page-game-reviews-football-betting__image-wrapper img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover; /* Ensure images maintain aspect ratio */
}

/* List Styles */
.page-game-reviews-football-betting__list,
.page-game-reviews-football-betting__promo-list,
.page-game-reviews-football-betting__steps-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  padding: 0;
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-game-reviews-football-betting__list li,
.page-game-reviews-football-betting__promo-list li,
.page-game-reviews-football-betting__steps-list li {
  margin-bottom: 10px;
  color: var(--text-dark);
}

.page-game-reviews-football-betting__steps-list {
  list-style-type: decimal;
}

/* Dark Section for contrast */
.page-game-reviews-football-betting__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-game-reviews-football-betting__dark-section .page-game-reviews-football-betting__section-title,
.page-game-reviews-football-betting__dark-section .page-game-reviews-football-betting__sub-title,
.page-game-reviews-football-betting__dark-section p,
.page-game-reviews-football-betting__dark-section li {
  color: var(--text-light);
}

.page-game-reviews-football-betting__dark-section .page-game-reviews-football-betting__section-title::after {
  background-color: var(--text-light);
}

.page-game-reviews-football-betting__dark-section a {
  color: var(--secondary-color); /* White links on dark background */
}

/* Cards Grid */
.page-game-reviews-football-betting__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-game-reviews-football-betting__card {
  background: var(--background-white);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-game-reviews-football-betting__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-game-reviews-football-betting__card img {
  width: 100%;
  height: 250px; /* Fixed height for card images */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--border-light);
}

.page-game-reviews-football-betting__card-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin: 20px 15px 10px;
}

.page-game-reviews-football-betting__card p {
  font-size: 1em;
  margin: 0 15px 20px;
  color: var(--text-dark);
}

/* Button Group */
.page-game-reviews-football-betting__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-game-reviews-football-betting__btn-primary,
.page-game-reviews-football-betting__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.05em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Crucial for responsive buttons */
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to break words */
}

.page-game-reviews-football-betting__btn-primary {
  background: var(--primary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-game-reviews-football-betting__btn-primary:hover {
  background: #1E88C0; /* Darker shade of #26A9E0 */
  border-color: #1E88C0;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-game-reviews-football-betting__btn-secondary {
  background: var(--background-white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-game-reviews-football-betting__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-game-reviews-football-betting__faq-section {
  background-color: var(--background-light);
}

.page-game-reviews-football-betting__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-game-reviews-football-betting__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--background-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-game-reviews-football-betting__faq-question:hover {
  background: var(--background-light);
  border-color: #d0d0d0;
}

.page-game-reviews-football-betting__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

.page-game-reviews-football-betting__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-game-reviews-football-betting__faq-item.active .page-game-reviews-football-betting__faq-toggle {
  transform: rotate(45deg); /* Rotate for 'x' effect, or just change text to '-' */
  color: var(--login-color); /* Change color when active */
}

.page-game-reviews-football-betting__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background: var(--background-white);
  color: var(--text-dark);
}

.page-game-reviews-football-betting__faq-item.active .page-game-reviews-football-betting__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to ensure content expands */
  padding: 20px !important;
  opacity: 1;
  background: #fdfdfd;
  border-top: 1px solid var(--border-light);
  border-radius: 0 0 8px 8px;
}

.page-game-reviews-football-betting__faq-answer p {
  margin-bottom: 0;
}

/* Conclusion Section */
.page-game-reviews-football-betting__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-game-reviews-football-betting__hero-content h1 {
    font-size: 2.8em;
  }
  .page-game-reviews-football-betting__section-title {
    font-size: 2em;
  }
  .page-game-reviews-football-betting__card img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-game-reviews-football-betting__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile specific header offset */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-game-reviews-football-betting__hero-content h1 {
    font-size: 2em;
    line-height: 1.3;
  }

  .page-game-reviews-football-betting__hero-content .page-game-reviews-football-betting__intro-description {
    font-size: 1em;
  }

  .page-game-reviews-football-betting__cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  .page-game-reviews-football-betting__section {
    padding: 40px 0;
  }

  .page-game-reviews-football-betting__container {
    padding: 0 15px;
    max-width: 100% !important; /* Ensure containers are full width */
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-game-reviews-football-betting__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  
  .page-game-reviews-football-betting__sub-title {
    font-size: 1.5em;
  }

  .page-game-reviews-football-betting p,
  .page-game-reviews-football-betting__list li,
  .page-game-reviews-football-betting__promo-list li,
  .page-game-reviews-football-betting__steps-list li,
  .page-game-reviews-football-betting__card p {
    font-size: 1em;
  }

  .page-game-reviews-football-betting__cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-reviews-football-betting__card img {
    
  }

  /* Images responsive */
  .page-game-reviews-football-betting img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* Buttons responsive */
  .page-game-reviews-football-betting__cta-button,
  .page-game-reviews-football-betting__btn-primary,
  .page-game-reviews-football-betting__btn-secondary,
  .page-game-reviews-football-betting a[class*="button"],
  .page-game-reviews-football-betting 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 padding for mobile buttons */
    padding-right: 15px;
  }
  
  .page-game-reviews-football-betting__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px; /* Space between stacked buttons */
    padding: 0 15px; /* Add padding to button group */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* FAQ */
  .page-game-reviews-football-betting__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-game-reviews-football-betting__faq-question h3 {
    font-size: 1em;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-game-reviews-football-betting__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-game-reviews-football-betting__faq-answer {
    padding: 0 15px;
  }
  
  .page-game-reviews-football-betting__faq-item.active .page-game-reviews-football-betting__faq-answer {
    padding: 15px !important;
  }
}

/* Ensure no filter is used on images */
.page-game-reviews-football-betting img {
  filter: none !important;
}