/* style/resources-sports-betting-strategies.css */

/* Base styles for the page content */
.page-resources-sports-betting-strategies {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #f8f9fa; /* A slightly off-white for sections for visual separation */
}

.page-resources-sports-betting-strategies__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-resources-sports-betting-strategies__section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-resources-sports-betting-strategies__section-title {
    font-size: 36px;
    color: #26A9E0; /* Primary color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-resources-sports-betting-strategies__section-title a,
.page-resources-sports-betting-strategies__hero-description a,
.page-resources-sports-betting-strategies__paragraph a,
.page-resources-sports-betting-strategies__list a,
.page-resources-sports-betting-strategies__faq-answer a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: 600;
}

.page-resources-sports-betting-strategies__section-title a:hover,
.page-resources-sports-betting-strategies__hero-description a:hover,
.page-resources-sports-betting-strategies__paragraph a:hover,
.page-resources-sports-betting-strategies__list a:hover,
.page-resources-sports-betting-strategies__faq-answer a:hover {
    text-decoration: underline;
}

.page-resources-sports-betting-strategies__subsection-title {
    font-size: 24px;
    color: #333333;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-resources-sports-betting-strategies__paragraph {
    font-size: 17px;
    margin-bottom: 20px;
    color: #444444;
}

.page-resources-sports-betting-strategies__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #444444;
}

.page-resources-sports-betting-strategies__list li {
    margin-bottom: 10px;
    font-size: 17px;
}

.page-resources-sports-betting-strategies__list-item-title {
    font-weight: bold;
    color: #333333;
}

/* HERO Section */
.page-resources-sports-betting-strategies__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background: linear-gradient(135deg, #26A9E0, #a9e0f5); /* Gradient background with primary color */
    color: #ffffff;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-resources-sports-betting-strategies__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.page-resources-sports-betting-strategies__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-resources-sports-betting-strategies__hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-resources-sports-betting-strategies__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-resources-sports-betting-strategies__hero-description a {
    color: #ffffff;
    text-decoration: underline;
}
.page-resources-sports-betting-strategies__hero-description a:hover {
    color: #e0e0e0;
}


.page-resources-sports-betting-strategies__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #EA7C07; /* Login color for CTA, as per custom color rules */
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-sports-betting-strategies__cta-button:hover {
    background: #d46f06;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-sports-betting-strategies__hero-image {
    width: 100%;
    margin-top: 30px;
    text-align: center;
}

.page-resources-sports-betting-strategies__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

/* Content Sections */
.page-resources-sports-betting-strategies__intro-section {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

.page-resources-sports-betting-strategies__content-section {
    padding: 80px 0;
}

.page-resources-sports-betting-strategies__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-resources-sports-betting-strategies__dark-section {
    background-color: #26A9E0; /* Primary color as background */
    color: #ffffff; /* White text for contrast */
}

.page-resources-sports-betting-strategies__dark-section .page-resources-sports-betting-strategies__section-title,
.page-resources-sports-betting-strategies__dark-section .page-resources-sports-betting-strategies__subsection-title,
.page-resources-sports-betting-strategies__dark-section .page-resources-sports-betting-strategies__list-item-title {
    color: #ffffff;
}

.page-resources-sports-betting-strategies__dark-section .page-resources-sports-betting-strategies__paragraph,
.page-resources-sports-betting-strategies__dark-section .page-resources-sports-betting-strategies__list li {
    color: #f0f0f0;
}

.page-resources-sports-betting-strategies__dark-section a {
    color: #ffffff;
    text-decoration: underline;
}
.page-resources-sports-betting-strategies__dark-section a:hover {
    color: #e0e0e0;
}


.page-resources-sports-betting-strategies__article-content {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    align-items: flex-start;
    gap: 40px;
}

.page-resources-sports-betting-strategies__article-content > *:not(img) { /* Target text content */
    flex: 1; /* Allow text to take remaining space */
    min-width: 300px; /* Ensure text block has a minimum width */
}

.page-resources-sports-betting-strategies__article-content img {
    flex-shrink: 0; /* Prevent image from shrinking too much */
    max-width: 45%; /* Max width for images on desktop */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-width: 300px; /* Ensure minimum display size for images */
    min-height: 200px; /* Ensure minimum display size for images */
}

.page-resources-sports-betting-strategies__image-right {
    margin-left: auto; /* Push to right */
    order: 2; /* Place image after text on desktop */
}

.page-resources-sports-betting-strategies__image-left {
    margin-right: auto; /* Push to left */
    order: 1; /* Place image before text on desktop */
}


/* FAQ Section */
.page-resources-sports-betting-strategies__faq-section {
    padding-bottom: 80px;
}

.page-resources-sports-betting-strategies__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

/* FAQ容器样式 */
.page-resources-sports-betting-strategies__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* FAQ默认状态 - 答案隐藏 */
.page-resources-sports-betting-strategies__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 25px; /* Adjust padding for consistency */
  opacity: 0;
}

/* FAQ展开状态 - 🚨 使用!important và đủ lớn max-height để đảm bảo có thể mở rộng */
.page-resources-sports-betting-strategies__faq-item.active .page-resources-sports-betting-strategies__faq-answer {
  max-height: 2000px !important; /* 🚨 Sử dụng !important để đảm bảo ưu tiên, giá trị đủ lớn để chứa mọi nội dung */
  padding: 20px 25px !important; /* Adjust padding for consistency */
  opacity: 1;
  background: rgba(255, 255, 255, 0.1); /* Light background for answer in dark section */
  border-radius: 0 0 8px 8px;
}

/* 问题样式 */
.page-resources-sports-betting-strategies__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px; /* Adjust padding for consistency */
  background: #ffffff; /* White background for question */
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-resources-sports-betting-strategies__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-resources-sports-betting-strategies__faq-question:active {
  background: #eeeeee;
}

/* 问题标题样式 */
.page-resources-sports-betting-strategies__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px; /* Slightly larger for better readability */
  font-weight: 600;
  line-height: 1.5;
  color: #333333;
  pointer-events: none; /* 防止h3标签阻止点击事件 */
}

/* Link inside h3 for FAQ question */
.page-resources-sports-betting-strategies__faq-question h3 a {
    color: #333333; /* Ensure link color is readable */
    text-decoration: none;
    pointer-events: none; /* Inherit from h3, but explicitly set */
}
.page-resources-sports-betting-strategies__faq-question h3 a:hover {
    text-decoration: none; /* No underline on hover for questions */
}


/* 切换图标 */
.page-resources-sports-betting-strategies__faq-toggle {
  font-size: 28px; /* Larger icon */
  font-weight: bold;
  line-height: 1;
  color: #26A9E0; /* Primary color for toggle */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px; /* Increased margin */
  pointer-events: none; /* 防止图标阻止点击事件 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; /* Larger hit area */
  height: 32px;
}

.page-resources-sports-betting-strategies__faq-item.active .page-resources-sports-betting-strategies__faq-toggle {
  color: #EA7C07; /* Login color when active */
  transform: rotate(45deg); /* Rotate for minus effect */
}


/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-resources-sports-betting-strategies__hero-title {
        font-size: 40px;
    }
    .page-resources-sports-betting-strategies__section-title {
        font-size: 32px;
    }
    .page-resources-sports-betting-strategies__article-content {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .page-resources-sports-betting-strategies__article-content img {
        max-width: 100%;
        width: 100%; /* Ensure it takes full width when stacked */
        margin: 0 0 20px 0; /* Add margin below image when stacked */
        order: -1; /* Place image before text on mobile */
    }
    .page-resources-sports-betting-strategies__image-right,
    .page-resources-sports-betting-strategies__image-left {
        order: -1; /* Ensure image comes first on mobile */
    }
    .page-resources-sports-betting-strategies__article-content > *:not(img) {
        min-width: unset; /* Remove min-width for text on mobile */
        width: 100%;
    }
}

@media (max-width: 768px) {
    /* Fixed header offset for mobile */
    .page-resources-sports-betting-strategies__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-sports-betting-strategies__section {
        padding: 40px 0;
    }

    .page-resources-sports-betting-strategies__container {
        padding: 0 15px;
    }

    .page-resources-sports-betting-strategies__hero-title {
        font-size: 32px;
    }

    .page-resources-sports-betting-strategies__hero-description {
        font-size: 18px;
    }

    .page-resources-sports-betting-strategies__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-resources-sports-betting-strategies__cta-button-group {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-resources-sports-betting-strategies__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .page-resources-sports-betting-strategies__subsection-title {
        font-size: 20px;
    }

    .page-resources-sports-betting-strategies__paragraph,
    .page-resources-sports-betting-strategies__list li {
        font-size: 16px;
    }

    /* Mobile image adaptation */
    .page-resources-sports-betting-strategies img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-resources-sports-betting-strategies__section,
    .page-resources-sports-betting-strategies__card,
    .page-resources-sports-betting-strategies__container,
    .page-resources-sports-betting-strategies__article-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* FAQ Mobile Adaptation */
    .page-resources-sports-betting-strategies__faq-question {
        padding: 15px 20px;
    }
    .page-resources-sports-betting-strategies__faq-question h3 {
        font-size: 16px;
    }
    .page-resources-sports-betting-strategies__faq-toggle {
        font-size: 24px;
        width: 28px;
        height: 28px;
        margin-left: 15px;
    }
    .page-resources-sports-betting-strategies__faq-item.active .page-resources-sports-betting-strategies__faq-answer {
        padding: 15px 20px !important;
    }
    .page-resources-sports-betting-strategies__faq-answer {
        padding: 0 20px;
    }
}

/* Ensure content area images do not display smaller than 200px */
.page-resources-sports-betting-strategies__article-content img {
    min-width: 200px;
    min-height: 200px;
}
/* For any img within the main content, ensure it's not made too small by other rules */
.page-resources-sports-betting-strategies img:not(.page-resources-sports-betting-strategies__hero-image img) {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover; /* Ensure images fill their space without distortion */
}

/* No filter on images */
.page-resources-sports-betting-strategies img {
    filter: none !important;
}