.page-news-latest-match-analysis {
    color: #ffffff; /* Default text color for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-news-latest-match-analysis__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background-color: #0a0a0a; /* Ensure hero section background is dark */
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-news-latest-match-analysis__hero-content {
    max-width: 900px;
    z-index: 1;
    position: relative;
    padding-bottom: 40px;
}

.page-news-latest-match-analysis__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-news-latest-match-analysis__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-news-latest-match-analysis__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-news-latest-match-analysis__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle overlay for image */
}

.page-news-latest-match-analysis__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-news-latest-match-analysis__btn-primary,
.page-news-latest-match-analysis__btn-secondary {
    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;
    white-space: normal; /* Allow text wrapping for buttons */
    word-wrap: break-word; /* Allow text wrapping for buttons */
    box-sizing: border-box;
    max-width: 100%;
    display: inline-block; /* Ensure buttons behave correctly with max-width */
    text-align: center;
}

.page-news-latest-match-analysis__btn-primary {
    background-color: #C30808; /* Custom color for Register/Login */
    color: #ffffff; /* Overridden from #FFFF00 for contrast */
    border: 2px solid #C30808;
}

.page-news-latest-match-analysis__btn-primary:hover {
    background-color: #a30707;
    border-color: #a30707;
}

.page-news-latest-match-analysis__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-news-latest-match-analysis__btn-secondary:hover {
    background-color: #ffffff;
    color: #017439;
}

.page-news-latest-match-analysis__content-section {
    padding: 60px 20px;
    background-color: #0a0a0a;
    color: #ffffff;
}

.page-news-latest-match-analysis__dark-section {
    background-color: #017439; /* Brand primary color for dark sections */
    color: #ffffff;
}

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

.page-news-latest-match-analysis__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-news-latest-match-analysis__dark-section .page-news-latest-match-analysis__section-title {
    color: #ffffff;
}

.page-news-latest-match-analysis__text-block {
    font-size: 1.1em;
    margin-bottom: 30px;
    text-align: justify;
    color: #f0f0f0;
}

.page-news-latest-match-analysis__feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-news-latest-match-analysis__card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.page-news-latest-match-analysis__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-news-latest-match-analysis__card-description {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 20px;
}

.page-news-latest-match-analysis__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-top: auto; /* Push image to bottom if content is short */
    max-width: 100%;
    display: block;
}

.page-news-latest-match-analysis__list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.page-news-latest-match-analysis__list-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-left: 5px solid #017439;
    padding: 20px;
    border-radius: 8px;
    color: #ffffff;
}

.page-news-latest-match-analysis__list-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #ffffff;
}

.page-news-latest-match-analysis__analysis-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-news-latest-match-analysis__step-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 10px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-news-latest-match-analysis__step-icon {
    width: 150px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    max-width: 100%;
    display: block;
}

.page-news-latest-match-analysis__step-title {
    font-size: 1.6em;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-news-latest-match-analysis__step-description {
    font-size: 1em;
    color: #f0f0f0;
}

.page-news-latest-match-analysis__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-news-latest-match-analysis__benefit-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-news-latest-match-analysis__benefit-title {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-news-latest-match-analysis__benefit-description {
    font-size: 1em;
    color: #f0f0f0;
}

.page-news-latest-match-analysis__cta-section .page-news-latest-match-analysis__container {
    background-color: #017439; /* Brand color for CTA background */
    padding: 50px 30px;
    border-radius: 10px;
    text-align: center;
}

.page-news-latest-match-analysis__cta-section .page-news-latest-match-analysis__section-title,
.page-news-latest-match-analysis__cta-section .page-news-latest-match-analysis__text-block {
    color: #ffffff;
}

.page-news-latest-match-analysis__faq-list {
    margin-top: 40px;
}

.page-news-latest-match-analysis__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-news-latest-match-analysis__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
}

.page-news-latest-match-analysis__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-news-latest-match-analysis__faq-title {
    font-size: 1.2em;
    color: #ffffff;
    margin: 0;
    flex-grow: 1;
    text-align: left;
}

.page-news-latest-match-analysis__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #017439; /* Accent color for toggle icon */
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-news-latest-match-analysis__faq-item.active .page-news-latest-match-analysis__faq-toggle {
    transform: rotate(45deg);
    color: #ffffff;
}

.page-news-latest-match-analysis__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
    text-align: justify;
}

.page-news-latest-match-analysis__faq-item.active .page-news-latest-match-analysis__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to contain content */
    padding: 15px 25px 25px;
}

.page-news-latest-match-analysis__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

.page-news-latest-match-analysis__conclusion-section {
    text-align: center;
    padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-news-latest-match-analysis__hero-title {
        font-size: 2.5em;
    }

    .page-news-latest-match-analysis__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-news-latest-match-analysis__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px);
    }

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

    .page-news-latest-match-analysis__hero-description {
        font-size: 1em;
    }

    .page-news-latest-match-analysis__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .page-news-latest-match-analysis__btn-primary,
    .page-news-latest-match-analysis__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.9em;
    }

    .page-news-latest-match-analysis__content-section {
        padding: 40px 15px;
    }

    .page-news-latest-match-analysis__container {
        padding: 0 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-news-latest-match-analysis__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-news-latest-match-analysis__text-block {
        font-size: 1em;
    }

    .page-news-latest-match-analysis__feature-cards,
    .page-news-latest-match-analysis__list,
    .page-news-latest-match-analysis__analysis-steps,
    .page-news-latest-match-analysis__benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-news-latest-match-analysis__card,
    .page-news-latest-match-analysis__list-item,
    .page-news-latest-match-analysis__step-item,
    .page-news-latest-match-analysis__benefit-card {
        padding: 20px;
    }

    .page-news-latest-match-analysis__card-image,
    .page-news-latest-match-analysis__step-icon {
        height: auto;
        max-width: 100% !important;
        width: 100% !important;
        display: block !important;
    }
    
    /* Mobile image responsiveness for all images */
    .page-news-latest-match-analysis img {
      max-width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    /* Mobile video responsiveness */
    .page-news-latest-match-analysis video,
    .page-news-latest-match-analysis__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-news-latest-match-analysis__video-section,
    .page-news-latest-match-analysis__video-container,
    .page-news-latest-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-news-latest-match-analysis__faq-question {
        padding: 15px 20px;
    }

    .page-news-latest-match-analysis__faq-title {
        font-size: 1.1em;
    }

    .page-news-latest-match-analysis__faq-answer {
        padding: 0 20px;
    }

    .page-news-latest-match-analysis__faq-item.active .page-news-latest-match-analysis__faq-answer {
        padding: 15px 20px 20px;
    }
}

/* Ensure no CSS filter on images */
.page-news-latest-match-analysis img {
    filter: none;
}