.page-sports-match-analysis {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is #0a0a0a (dark), so text must be light */
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

/* Hero Section */
.page-sports-match-analysis__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    background-color: #0a0a0a; /* Dark background as per body */
    color: #ffffff; /* Light text for dark background */
}

.page-sports-match-analysis__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3; /* Slightly transparent to allow text to be visible */
}

.page-sports-match-analysis__hero-title {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-sports-match-analysis__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-sports-match-analysis__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-sports-match-analysis__btn-primary,
.page-sports-match-analysis__btn-secondary,
.page-sports-match-analysis__btn-register,
.page-sports-match-analysis__btn-contact {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow text to break words */
}

.page-sports-match-analysis__btn-primary,
.page-sports-match-analysis__btn-register {
    background-color: #C30808; /* Custom color for Register/Login */
    color: #FFFF00; /* Custom font color for Register/Login */
    border: 2px solid #C30808;
}

.page-sports-match-analysis__btn-primary:hover,
.page-sports-match-analysis__btn-register:hover {
    background-color: #e02020;
    border-color: #e02020;
}

.page-sports-match-analysis__btn-secondary,
.page-sports-match-analysis__btn-contact {
    background-color: transparent;
    color: #017439; /* Brand primary color */
    border: 2px solid #017439;
}

.page-sports-match-analysis__btn-secondary:hover,
.page-sports-match-analysis__btn-contact:hover {
    background-color: #017439;
    color: #ffffff;
}

/* General Section Styles */
.page-sports-match-analysis__section {
    padding: 60px 0;
    text-align: left;
}

.page-sports-match-analysis__light-bg {
    background-color: #ffffff;
    color: #333333; /* Dark text for light background */
}

.page-sports-match-analysis__dark-bg {
    background-color: #0a0a0a; /* Dark background as per body */
    color: #ffffff; /* Light text for dark background */
}

.page-sports-match-analysis__section-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    color: inherit; /* Inherit color from parent section */
}

.page-sports-match-analysis__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
    color: inherit; /* Inherit color from parent section */
}

.page-sports-match-analysis__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

.page-sports-match-analysis__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: inherit;
}

.page-sports-match-analysis__ordered-list {
    list-style: decimal;
    margin-left: 20px;
    margin-bottom: 20px;
    color: inherit;
}

.page-sports-match-analysis__list-item {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: inherit;
}

.page-sports-match-analysis__list-item strong {
    color: inherit;
}

/* Card Grid */
.page-sports-match-analysis__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-sports-match-analysis__card {
    background-color: #ffffff;
    color: #333333; /* Dark text for light card background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-sports-match-analysis__card:hover {
    transform: translateY(-5px);
}

.page-sports-match-analysis__card-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #017439; /* Brand primary color for titles */
}

.page-sports-match-analysis__card-text {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
}

.page-sports-match-analysis__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Sports Grid */
.page-sports-match-analysis__sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-sports-match-analysis__sport-card {
    background-color: #1a1a1a; /* Darker card for dark section */
    color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-sports-match-analysis__sport-card:hover {
    transform: translateY(-5px);
    background-color: #2a2a2a;
}

.page-sports-match-analysis__sport-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
}

.page-sports-match-analysis__sport-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #017439; /* Brand primary color */
}

.page-sports-match-analysis__sport-text {
    font-size: 0.95em;
    line-height: 1.5;
    color: #cccccc;
}

/* FAQ Section */
.page-sports-match-analysis__faq-list {
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-sports-match-analysis__faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    background-color: #f9f9f9; /* Light background for FAQ items */
    color: #333333;
}

.page-sports-match-analysis__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #f0f0f0;
    font-weight: bold;
    font-size: 1.1em;
    color: #333333;
    transition: background-color 0.3s ease;
}

.page-sports-match-analysis__faq-question:hover {
    background-color: #e5e5e5;
}

.page-sports-match-analysis__faq-title {
    margin: 0;
    color: inherit;
    font-size: 1em; /* Adjust to fit parent font size */
}

.page-sports-match-analysis__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #017439; /* Brand primary color */
}

.page-sports-match-analysis__faq-item.active .page-sports-match-analysis__faq-toggle {
    transform: rotate(45deg); /* Change + to X or similar */
}

.page-sports-match-analysis__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
    background-color: #ffffff;
}

.page-sports-match-analysis__faq-item.active .page-sports-match-analysis__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 20px;
}

.page-sports-match-analysis__faq-answer .page-sports-match-analysis__paragraph {
    margin-bottom: 0;
    color: inherit;
}

/* CTA Section */
.page-sports-match-analysis__cta-section {
    text-align: center;
    background-color: #017439; /* Brand primary color as background */
    color: #ffffff; /* Light text for brand primary background */
}

.page-sports-match-analysis__cta-container .page-sports-match-analysis__section-title {
    color: #ffffff;
}

.page-sports-match-analysis__cta-container .page-sports-match-analysis__paragraph {
    color: #f0f0f0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-sports-match-analysis__hero-title {
        font-size: 2.5em;
    }
    .page-sports-match-analysis__section-title {
        font-size: 2em;
    }
    .page-sports-match-analysis__card-title {
        font-size: 1.3em;
    }
    .page-sports-match-analysis__sport-title {
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .page-sports-match-analysis {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-sports-match-analysis__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    }

    .page-sports-match-analysis__hero-title {
        font-size: 2em;
    }

    .page-sports-match-analysis__hero-description {
        font-size: 1em;
        padding: 0 15px;
    }

    .page-sports-match-analysis__cta-group {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-sports-match-analysis__btn-primary,
    .page-sports-match-analysis__btn-secondary,
    .page-sports-match-analysis__btn-register,
    .page-sports-match-analysis__btn-contact {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-sports-match-analysis__section {
        padding: 40px 0;
    }

    .page-sports-match-analysis__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

    .page-sports-match-analysis__section-title {
        font-size: 1.8em;
        padding: 0 15px;
    }

    .page-sports-match-analysis__paragraph {
        font-size: 1em;
        padding: 0 15px;
    }

    .page-sports-match-analysis__list,
    .page-sports-match-analysis__ordered-list {
        margin-left: 35px; /* Adjust for mobile readability */
        padding-right: 15px;
    }

    .page-sports-match-analysis__list-item {
        font-size: 1em;
    }

    .page-sports-match-analysis__grid,
    .page-sports-match-analysis__sports-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .page-sports-match-analysis__card,
    .page-sports-match-analysis__sport-card {
        padding: 20px;
    }

    .page-sports-match-analysis__card-title,
    .page-sports-match-analysis__sport-title {
        font-size: 1.2em;
    }

    /* Image responsive styles for mobile */
    .page-sports-match-analysis img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Enforce min size even on mobile */
        min-height: 200px !important;
    }
    
    /* Video responsive styles for mobile */
    .page-sports-match-analysis video,
    .page-sports-match-analysis__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-sports-match-analysis__video-section,
    .page-sports-match-analysis__video-container,
    .page-sports-match-analysis__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-sports-match-analysis__faq-list {
        padding: 0 15px;
    }

    .page-sports-match-analysis__faq-question {
        padding: 15px;
        font-size: 1em;
    }

    .page-sports-match-analysis__faq-answer {
        padding: 0 15px;
    }

    .page-sports-match-analysis__faq-item.active .page-sports-match-analysis__faq-answer {
        padding: 15px;
    }
}

/* Ensure all content area images are at least 200px wide/high */
.page-sports-match-analysis img:not(.page-sports-match-analysis__hero-image) {
    min-width: 200px;
    min-height: 200px;
}