:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --button-register-bg: #C30808;
    --button-register-text: #FFFF00;
    --background-color-page: #FFFFFF; /* Explicitly defining for page content area */
    --border-color: #e0e0e0;
}

.page-resources-m88-latest-odds-trends {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light background */
    background-color: var(--background-color-page); /* Page content background */
}

/* Hero Section */
.page-resources-m88-latest-odds-trends__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); /* Ensure space for fixed header */
    background-color: var(--primary-color); /* Hero section background */
    color: var(--text-light); /* Light text on dark background */
}

.page-resources-m88-latest-odds-trends__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-resources-m88-latest-odds-trends__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-resources-m88-latest-odds-trends__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-resources-m88-latest-odds-trends__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
    border-radius: 8px;
    margin-top: -80px; /* Overlap image slightly */
    padding-top: 100px;
}

.page-resources-m88-latest-odds-trends__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-m88-latest-odds-trends__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-m88-latest-odds-trends__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-register-bg); /* Red for CTA */
    color: var(--button-register-text); /* Yellow for CTA text */
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-m88-latest-odds-trends__cta-button:hover {
    background: #a30606; /* Darker red on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-m88-latest-odds-trends__cta-button--large {
    padding: 18px 50px;
    font-size: 1.3em;
}


/* General Section Styling */
.page-resources-m88-latest-odds-trends__section {
    padding: 60px 20px;
    background-color: var(--background-color-page);
    border-bottom: 1px solid var(--border-color);
}

.page-resources-m88-latest-odds-trends__section:last-of-type {
    border-bottom: none;
}

.page-resources-m88-latest-odds-trends__container {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%; /* Ensure container takes full width up to max-width */
    box-sizing: border-box; /* Include padding in width calculation */
}

.page-resources-m88-latest-odds-trends__section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-m88-latest-odds-trends__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-resources-m88-latest-odds-trends__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--text-dark);
}

.page-resources-m88-latest-odds-trends__list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-resources-m88-latest-odds-trends__list-item {
    background: #f9f9f9;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 5px solid var(--primary-color);
    border-radius: 4px;
    font-size: 1.0em;
    color: var(--text-dark);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-resources-m88-latest-odds-trends__list-item strong {
    color: var(--primary-color);
}

.page-resources-m88-latest-odds-trends__image-wrapper {
    margin: 40px 0;
    text-align: center;
}

.page-resources-m88-latest-odds-trends__image-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-resources-m88-latest-odds-trends__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-resources-m88-latest-odds-trends__btn-primary,
.page-resources-m88-latest-odds-trends__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.0em;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
}

.page-resources-m88-latest-odds-trends__btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.page-resources-m88-latest-odds-trends__btn-primary:hover {
    background: #005a2e;
    border-color: #005a2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-resources-m88-latest-odds-trends__btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-resources-m88-latest-odds-trends__btn-secondary:hover {
    background: #f0f0f0;
    border-color: #005a2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-resources-m88-latest-odds-trends__faq-section {
    background-color: #f5f5f5; /* Light grey background for contrast */
}

.page-resources-m88-latest-odds-trends__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-resources-m88-latest-odds-trends__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;
}

.page-resources-m88-latest-odds-trends__faq-item.active .page-resources-m88-latest-odds-trends__faq-answer {
    max-height: 2000px !important; /* Use !important and large value */
    padding: 20px 15px !important;
    opacity: 1;
    background: var(--secondary-color);
    border-radius: 0 0 5px 5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.page-resources-m88-latest-odds-trends__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-resources-m88-latest-odds-trends__faq-question:hover {
    background: #f0f0f0;
    border-color: #d0d0d0;
}

.page-resources-m88-latest-odds-trends__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* Prevent h3 from blocking click */
    color: var(--text-dark);
}

.page-resources-m88-latest-odds-trends__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color); /* Use primary color for toggle icon */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-resources-m88-latest-odds-trends__faq-item.active .page-resources-m88-latest-odds-trends__faq-toggle {
    transform: rotate(45deg); /* Rotate for minus sign effect */
    color: var(--button-register-bg); /* Change color when active */
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-resources-m88-latest-odds-trends__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-m88-latest-odds-trends__hero-content {
        margin-top: -60px; /* Adjust overlap for mobile */
        padding-top: 80px;
        padding: 15px;
    }

    .page-resources-m88-latest-odds-trends__hero-title {
        font-size: 2em;
    }

    .page-resources-m88-latest-odds-trends__hero-description {
        font-size: 1em;
    }

    .page-resources-m88-latest-odds-trends__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-m88-latest-odds-trends__cta-button--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    .page-resources-m88-latest-odds-trends__section {
        padding: 40px 15px;
    }

    .page-resources-m88-latest-odds-trends__container {
        padding-left: 0;
        padding-right: 0;
    }

    .page-resources-m88-latest-odds-trends__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-resources-m88-latest-odds-trends__text-block,
    .page-resources-m88-latest-odds-trends__list-item {
        font-size: 0.95em;
    }

    .page-resources-m88-latest-odds-trends__image-wrapper {
        margin: 30px 0;
    }

    .page-resources-m88-latest-odds-trends__image-wrapper img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-resources-m88-latest-odds-trends__button-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-m88-latest-odds-trends__btn-primary,
    .page-resources-m88-latest-odds-trends__btn-secondary {
        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-resources-m88-latest-odds-trends__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-resources-m88-latest-odds-trends__faq-question h3 {
        font-size: 1em;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-resources-m88-latest-odds-trends__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-resources-m88-latest-odds-trends__faq-answer {
        padding: 0 15px;
    }
    
    .page-resources-m88-latest-odds-trends__faq-item.active .page-resources-m88-latest-odds-trends__faq-answer {
        padding: 15px !important;
    }
}

/* Ensure no filter on images */
.page-resources-m88-latest-odds-trends img {
    filter: none;
}