/* style/expert-predictions-football.css */

/* Base styles for the page */
.page-expert-predictions-football {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Body background is light */
}

/* Header offset for fixed header */
.page-expert-predictions-football__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply header offset to the first content section */
}

/* Sections */
.page-expert-predictions-football__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
    overflow: hidden;
    color: #FFFFFF;
    background-color: #017439; /* Brand primary color */
}

.page-expert-predictions-football__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.6; /* Slightly transparent to let content stand out */
}

.page-expert-predictions-football__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
}

.page-expert-predictions-football__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FFFF00; /* Register/Login font color for prominence */
}

.page-expert-predictions-football__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.page-expert-predictions-football__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-expert-predictions-football__intro-section,
.page-expert-predictions-football__analysis-method-section,
.page-expert-predictions-football__faq-section {
    padding: 60px 20px;
    background-color: #FFFFFF; /* Light background for these sections */
    color: #333333;
}

.page-expert-predictions-football__features-section,
.page-expert-predictions-football__match-predictions-section,
.page-expert-predictions-football__tips-section,
.page-expert-predictions-football__cta-section {
    padding: 60px 20px;
    background-color: #017439; /* Dark background for these sections */
    color: #FFFFFF;
}

.page-expert-predictions-football__video-section {
    padding: 60px 20px;
    background-color: #FFFFFF; /* Light background */
    color: #333333;
    text-align: center;
}

.page-expert-predictions-football__container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-expert-predictions-football__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit color from parent section */
}

.page-expert-predictions-football__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-expert-predictions-football__text-center {
    text-align: center;
}

/* Buttons */
.page-expert-predictions-football__btn-primary,
.page-expert-predictions-football__btn-secondary {
    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;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-expert-predictions-football__btn-primary {
    background-color: #C30808; /* Register color */
    color: #FFFFFF; /* Changed from #FFFF00 to #FFFFFF for WCAG AA contrast */
    border: 2px solid #C30808;
}

.page-expert-predictions-football__btn-primary:hover {
    background-color: #a30606;
    border-color: #a30606;
}

.page-expert-predictions-football__btn-secondary {
    background-color: transparent;
    color: #FFFFFF; /* Default for dark sections */
    border: 2px solid #FFFFFF;
}

.page-expert-predictions-football__cta-section .page-expert-predictions-football__btn-secondary {
    color: #FFFF00; /* Login font color */
    border-color: #FFFF00;
}

.page-expert-predictions-football__btn-secondary:hover {
    background-color: #FFFFFF;
    color: #017439;
}

/* Feature Grid */
.page-expert-predictions-football__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-expert-predictions-football__feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: #FFFFFF;
}

.page-expert-predictions-football__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFF00;
}

.page-expert-predictions-football__feature-description {
    font-size: 1em;
}

/* Ordered/Unordered Lists */
.page-expert-predictions-football__ordered-list,
.page-expert-predictions-football__unordered-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-expert-predictions-football__ordered-list li,
.page-expert-predictions-football__unordered-list li {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
}

.page-expert-predictions-football__ordered-list li::before {
    content: counter(item) ".";
    counter-increment: item;
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #017439;
    font-size: 1.2em;
}

.page-expert-predictions-football__unordered-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #017439;
    font-size: 1.2em;
}

.page-expert-predictions-football__unordered-list .page-expert-predictions-football__list-title {
    color: #FFFF00; /* For dark sections */
}
.page-expert-predictions-football__ordered-list .page-expert-predictions-football__list-title {
    color: #017439; /* For light sections */
}

/* Match Predictions Cards */
.page-expert-predictions-football__match-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-expert-predictions-football__card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    color: #FFFFFF;
}

.page-expert-predictions-football__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-expert-predictions-football__match-card {
    padding: 20px;
}

.page-expert-predictions-football__card-title {
    font-size: 1.4em;
    margin-top: 15px;
    margin-bottom: 10px;
    color: #FFFF00;
}

.page-expert-predictions-football__card-text {
    font-size: 1em;
    margin-bottom: 15px;
}

.page-expert-predictions-football__card-link {
    color: #FFFF00;
    text-decoration: underline;
    font-weight: bold;
}

.page-expert-predictions-football__card-link:hover {
    color: #FFFFFF;
}

.page-expert-predictions-football__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Video Section */
.page-expert-predictions-football__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto 30px auto;
    background-color: #000; /* Placeholder background */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-expert-predictions-football__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

/* FAQ Section */
.page-expert-predictions-football__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-expert-predictions-football__faq-item {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-expert-predictions-football__faq-item summary {
    list-style: none; /* Remove default marker */
}
.page-expert-predictions-football__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit */
}

.page-expert-predictions-football__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #FFFFFF;
    transition: background-color 0.3s ease;
}

.page-expert-predictions-football__faq-question:hover {
    background-color: #f0f0f0;
}

.page-expert-predictions-football__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #017439;
}

.page-expert-predictions-football__faq-item[open] .page-expert-predictions-football__faq-toggle {
    content: "−"; /* Change to minus when open */
}

.page-expert-predictions-football__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: #555555;
    border-top: 1px solid #e0e0e0;
}

/* Images within content sections */
.page-expert-predictions-football__content-image {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

/* Call to Action buttons group */
.page-expert-predictions-football__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-expert-predictions-football__hero-title {
        font-size: 2.5em;
    }
    .page-expert-predictions-football__section-title {
        font-size: 2em;
    }
    .page-expert-predictions-football__hero-image {
        opacity: 0.4;
    }
}

@media (max-width: 768px) {
    /* General mobile padding */
    .page-expert-predictions-football__container {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    /* Header offset for mobile, handled by shared.css var */
    .page-expert-predictions-football__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        min-height: 400px;
    }

    .page-expert-predictions-football__hero-title {
        font-size: 2em;
    }
    .page-expert-predictions-football__hero-description {
        font-size: 1em;
    }
    .page-expert-predictions-football__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-expert-predictions-football__btn-primary,
    .page-expert-predictions-football__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
    }

    .page-expert-predictions-football__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-expert-predictions-football__text-block {
        font-size: 0.95em;
    }

    .page-expert-predictions-football__feature-grid {
        grid-template-columns: 1fr;
    }
}