/* style/sports-football-betting-guide.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #000080; /* Dark Blue */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #0a0a0a;
  --background-light: #f8f9fa;
  --card-background-dark: rgba(255, 255, 255, 0.1);
  --card-background-light: #ffffff;
  --border-color: #e0e0e0;
}

.page-sports-football-betting-guide {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Body background is dark, so text is light */
  background-color: var(--background-dark);
  padding-top: 120px; /* Adjust for fixed header */
}

.page-sports-football-betting-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-sports-football-betting-guide__section {
  padding: 60px 0;
  text-align: center;
}

.page-sports-football-betting-guide__hero-section {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #000040 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Additional adjustment for video section, if it were present */
}

.page-sports-football-betting-guide__main-title {
  font-size: 3.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 700;
}

.page-sports-football-betting-guide__subtitle {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-sports-football-betting-guide__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-sports-football-betting-guide__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports-football-betting-guide__btn-primary {
  background: var(--primary-color);
  color: var(--text-dark);
}

.page-sports-football-betting-guide__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-sports-football-betting-guide__btn-secondary {
  background: var(--secondary-color);
  color: var(--text-light);
  border: 2px solid var(--primary-color);
}

.page-sports-football-betting-guide__btn-secondary:hover {
  background: #000060;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-sports-football-betting-guide__section-title {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-sports-football-betting-guide__section-description {
  font-size: 1.1em;
  color: #cccccc;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-sports-football-betting-guide__advantages-section {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-sports-football-betting-guide__advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports-football-betting-guide__advantage-item {
  background: var(--card-background-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-sports-football-betting-guide__advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sports-football-betting-guide__advantage-icon {
  width: 120px; /* Increased size for content image, not icon */
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 5px;
}

.page-sports-football-betting-guide__advantage-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-sports-football-betting-guide__advantage-text {
  font-size: 1em;
  color: #e0e0e0;
  flex-grow: 1;
}

.page-sports-football-betting-guide__steps-section {
  background-color: #1a1a1a;
  color: var(--text-light);
}

.page-sports-football-betting-guide__step-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  text-align: left;
}

.page-sports-football-betting-guide__step-item:nth-child(even) {
  flex-direction: row-reverse;
}

.page-sports-football-betting-guide__step-number {
  font-size: 3em;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--primary-color);
  border-radius: 50%;
  background-color: var(--secondary-color);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.page-sports-football-betting-guide__step-content {
  flex: 1;
}

.page-sports-football-betting-guide__step-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-sports-football-betting-guide__step-content p {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-sports-football-betting-guide__step-image {
  width: 400px; /* Recommended content image size */
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.page-sports-football-betting-guide__btn-inline {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
}

.page-sports-football-betting-guide__btn-inline:hover {
  background: #e6c200;
  transform: translateY(-1px);
}

.page-sports-football-betting-guide__bet-types-section {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-sports-football-betting-guide__bet-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-sports-football-betting-guide__bet-type-item {
  background: var(--card-background-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-sports-football-betting-guide__bet-type-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-sports-football-betting-guide__bet-type-title {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-sports-football-betting-guide__bet-type-item p {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-sports-football-betting-guide__bet-type-image {
  width: 100%;
  height: 200px; /* Card image size */
  object-fit: cover;
  border-radius: 5px;
  margin-top: auto;
}

.page-sports-football-betting-guide__strategy-section {
  background-color: #1a1a1a;
  color: var(--text-light);
  text-align: left;
}

.page-sports-football-betting-guide__strategy-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-sports-football-betting-guide__strategy-list li {
  background: var(--card-background-dark);
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-sports-football-betting-guide__strategy-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.3);
}

.page-sports-football-betting-guide__strategy-list-title {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-sports-football-betting-guide__strategy-list li p {
  color: #e0e0e0;
  font-size: 1em;
}

.page-sports-football-betting-guide__faq-section {
  background-color: var(--background-dark);
  color: var(--text-light);
}

.page-sports-football-betting-guide__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* FAQ容器样式 */
.page-sports-football-betting-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

/* FAQ mặc định - ẩn câu trả lời */
.page-sports-football-betting-guide__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 15px;
  opacity: 0;
  color: var(--text-dark);
}

/* FAQ mở rộng - 🚨 Sử dụng !important và max-height đủ lớn để đảm bảo mở rộng */
.page-sports-football-betting-guide__faq-item.active .page-sports-football-betting-guide__faq-answer {
  max-height: 2000px !important; /* 🚨 Sử dụng !important để đảm bảo ưu tiên, giá trị đủ lớn cho mọi nội dung */
  padding: 20px 15px !important;
  opacity: 1;
  background: var(--card-background-light);
  border-radius: 0 0 5px 5px;
}

/* Kiểu câu hỏi */
.page-sports-football-betting-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-background-dark);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-sports-football-betting-guide__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
}

.page-sports-football-betting-guide__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

/* Kiểu tiêu đề câu hỏi */
.page-sports-football-betting-guide__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-light);
  pointer-events: none; /* Ngăn chặn thẻ h3 chặn sự kiện click */
}

/* Biểu tượng chuyển đổi */
.page-sports-football-betting-guide__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; /* Ngăn chặn biểu tượng chặn sự kiện click */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-sports-football-betting-guide__faq-item.active .page-sports-football-betting-guide__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg); /* Thêm hiệu ứng xoay cho dấu trừ */
}

.page-sports-football-betting-guide__faq-answer p {
  color: var(--text-dark);
  font-size: 1em;
  margin-bottom: 10px;
}

.page-sports-football-betting-guide__conclusion-section {
  background: linear-gradient(45deg, #000040 0%, var(--secondary-color) 100%);
  color: var(--text-light);
  padding: 80px 0;
}

.page-sports-football-betting-guide__conclusion-section .page-sports-football-betting-guide__section-title {
  color: var(--primary-color);
}

.page-sports-football-betting-guide__conclusion-section .page-sports-football-betting-guide__section-description {
  color: #e0e0e0;
  margin-bottom: 50px;
}

/* 🚨 Responsive Design */
@media (max-width: 1024px) {
  .page-sports-football-betting-guide__main-title {
    font-size: 3em;
  }
  .page-sports-football-betting-guide__section-title {
    font-size: 2em;
  }
  .page-sports-football-betting-guide__step-image {
    width: 300px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-sports-football-betting-guide {
    padding-top: 100px; /* Mobile adjustment for fixed header */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-sports-football-betting-guide__container {
    padding: 0 15px;
  }

  .page-sports-football-betting-guide__section {
    padding: 40px 0;
  }

  .page-sports-football-betting-guide__hero-section {
    padding: 60px 0 40px;
    padding-top: 10px !important; /* Mobile adjustment for video section, if it were present */
  }

  .page-sports-football-betting-guide__main-title {
    font-size: 2.2em;
  }

  .page-sports-football-betting-guide__subtitle {
    font-size: 1em;
  }

  .page-sports-football-betting-guide__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-sports-football-betting-guide__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
  }

  .page-sports-football-betting-guide__section-title {
    font-size: 1.8em;
  }

  .page-sports-football-betting-guide__section-description {
    font-size: 0.95em;
  }

  .page-sports-football-betting-guide__advantage-grid,
  .page-sports-football-betting-guide__bet-type-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-sports-football-betting-guide__advantage-icon {
    width: 100px;
    height: 100px;
  }

  .page-sports-football-betting-guide__advantage-title,
  .page-sports-football-betting-guide__bet-type-title {
    font-size: 1.4em;
  }

  .page-sports-football-betting-guide__step-item {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    margin-bottom: 40px;
  }

  .page-sports-football-betting-guide__step-item:nth-child(even) {
    flex-direction: column;
  }

  .page-sports-football-betting-guide__step-number {
    font-size: 2.5em;
    width: 60px;
    height: 60px;
  }

  .page-sports-football-betting-guide__step-title {
    font-size: 1.5em;
  }

  .page-sports-football-betting-guide__step-image {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-sports-football-betting-guide__btn-inline {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    text-align: center;
    padding: 10px 15px;
  }

  .page-sports-football-betting-guide__strategy-list li {
    padding: 20px;
  }

  .page-sports-football-betting-guide__strategy-list-title {
    font-size: 1.3em;
  }

  .page-sports-football-betting-guide__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-sports-football-betting-guide__faq-question h3 {
    font-size: 1em;
    width: calc(100% - 40px);
  }
  
  .page-sports-football-betting-guide__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-sports-football-betting-guide__faq-answer {
    padding: 0 15px;
  }
  
  .page-sports-football-betting-guide__faq-item.active .page-sports-football-betting-guide__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-sports-football-betting-guide__main-title {
    font-size: 1.8em;
  }
  .page-sports-football-betting-guide__section-title {
    font-size: 1.5em;
  }
  .page-sports-football-betting-guide__hero-section {
    padding: 40px 0 30px;
  }
  .page-sports-football-betting-guide__advantage-icon {
    width: 80px;
    height: 80px;
  }
}

/* Global image responsive styles (must be included) */
.page-sports-football-betting-guide img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Global video responsive styles (must be included) */
.page-sports-football-betting-guide video,
.page-sports-football-betting-guide__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

/* Video container responsive styles */
.page-sports-football-betting-guide__video-section,
.page-sports-football-betting-guide__video-container,
.page-sports-football-betting-guide__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile forced image/video/button adaptation */
@media (max-width: 768px) {
  .page-sports-football-betting-guide img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-sports-football-betting-guide video,
  .page-sports-football-betting-guide__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-sports-football-betting-guide__section,
  .page-sports-football-betting-guide__card,
  .page-sports-football-betting-guide__container,
  .page-sports-football-betting-guide__advantage-item,
  .page-sports-football-betting-guide__bet-type-item,
  .page-sports-football-betting-guide__step-item,
  .page-sports-football-betting-guide__faq-list,
  .page-sports-football-betting-guide__strategy-list,
  .page-sports-football-betting-guide__video-section,
  .page-sports-football-betting-guide__video-container,
  .page-sports-football-betting-guide__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  /* Override padding for specific elements that might have their own */
  .page-sports-football-betting-guide__hero-section,
  .page-sports-football-betting-guide__advantages-section,
  .page-sports-football-betting-guide__steps-section,
  .page-sports-football-betting-guide__bet-types-section,
  .page-sports-football-betting-guide__strategy-section,
  .page-sports-football-betting-guide__faq-section,
  .page-sports-football-betting-guide__conclusion-section {
      padding-left: 0 !important;
      padding-right: 0 !important;
  }
  
  .page-sports-football-betting-guide__cta-button,
  .page-sports-football-betting-guide__btn-primary,
  .page-sports-football-betting-guide__btn-secondary,
  .page-sports-football-betting-guide__btn-inline {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-sports-football-betting-guide__cta-buttons,
  .page-sports-football-betting-guide__button-group,
  .page-sports-football-betting-guide__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;
  }
}