/* style/expert-predictions.css */
.page-expert-predictions {
    color: #ffffff; /* Body background is dark, so text is light */
}

.page-expert-predictions__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    min-height: 500px;
    overflow: hidden;
    background: linear-gradient(135deg, #26A9E0, #1A7BB8); /* Brand color gradient */
}

.page-expert-predictions__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

.page-expert-predictions__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%); /* Subtle filter to make text pop */
}

.page-expert-predictions__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-expert-predictions__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-expert-predictions__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-expert-predictions__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-expert-predictions__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-expert-predictions__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-expert-predictions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-expert-predictions__text-block {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
}

.page-expert-predictions__dark-bg {
    background-color: #000000;
    color: #ffffff;
}

.page-expert-predictions__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-expert-predictions__light-bg .page-expert-predictions__section-title {
    color: #26A9E0;
}

.page-expert-predictions__light-bg .page-expert-predictions__section-title::after {
    background-color: #26A9E0;
}

.page-expert-predictions__introduction-section {
    padding: 80px 0;
}

.page-expert-predictions__introduction-section .page-expert-predictions__text-block a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-expert-predictions__methods-section,
.page-expert-predictions__benefits-section,
.page-expert-predictions__guide-section {
    padding: 80px 0;
}

.page-expert-predictions__grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.page-expert-predictions__grid-layout--reversed {
    grid-template-columns: 1fr 1fr;
    direction: rtl; /* Reverse order for content and image */
}

.page-expert-predictions__grid-layout--reversed .page-expert-predictions__image-wrapper {
    direction: ltr;
}

.page-expert-predictions__image-wrapper {
    text-align: center;
}

.page-expert-predictions__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-expert-predictions__text-content a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-expert-predictions__list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-expert-predictions__list-item {
    margin-bottom: 10px;
    line-height: 1.6;
}

.page-expert-predictions__experts-section {
    padding: 80px 0;
    text-align: center;
}

.page-expert-predictions__experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-expert-predictions__expert-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: #ffffff;
}

.page-expert-predictions__expert-card:hover {
    transform: translateY(-10px);
}

.page-expert-predictions__expert-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #26A9E0;
}

.page-expert-predictions__expert-name {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #26A9E0;
}

.page-expert-predictions__expert-title {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 15px;
}

.page-expert-predictions__expert-bio {
    font-size: 0.95em;
    line-height: 1.6;
}

.page-expert-predictions__expert-bio a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-expert-predictions__events-section {
    padding: 80px 0;
    text-align: center;
}

.page-expert-predictions__event-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-expert-predictions__event-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    color: #333333;
}

.page-expert-predictions__event-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-expert-predictions__event-date {
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
}

.page-expert-predictions__event-prediction {
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-expert-predictions__btn-text-link {
    display: inline-block;
    color: #EA7C07;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-expert-predictions__btn-text-link:hover {
    color: #d16e06;
}

.page-expert-predictions__btn-text-link a {
    color: #EA7C07;
    text-decoration: underline;
}

.page-expert-predictions__cta-container {
    margin-top: 40px;
    text-align: center;
}

.page-expert-predictions__guide-section a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-expert-predictions__faq-section {
    padding: 80px 0;
}

.page-expert-predictions__faq-list {
    max-width: 800px;
    margin: 50px auto 0;
}

.page-expert-predictions__faq-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: #333333;
}

.page-expert-predictions__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    background-color: #eaf7ff;
    border-bottom: 1px solid #d0e9ff;
}

.page-expert-predictions__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-expert-predictions__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-expert-predictions__faq-qtext a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-expert-predictions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-expert-predictions__faq-item[open] .page-expert-predictions__faq-toggle {
    transform: rotate(45deg);
}

.page-expert-predictions__faq-answer {
    padding: 20px 25px;
    font-size: 1.05em;
    line-height: 1.7;
    color: #555;
    background-color: #ffffff;
}

.page-expert-predictions__faq-answer a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-expert-predictions__cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(45deg, #26A9E0, #1a7bb8); /* Brand color gradient */
}

.page-expert-predictions__cta-section .page-expert-predictions__section-title {
    color: #ffffff;
}

.page-expert-predictions__cta-section .page-expert-predictions__section-title::after {
    background-color: #ffffff;
}

.page-expert-predictions__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-expert-predictions__btn-primary,
.page-expert-predictions__btn-secondary,
.page-expert-predictions__btn-tertiary {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
}

.page-expert-predictions__btn-primary {
    background-color: #EA7C07; /* Login color */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-expert-predictions__btn-primary:hover {
    background-color: #d16e06;
    border-color: #d16e06;
    transform: translateY(-3px);
}

.page-expert-predictions__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-expert-predictions__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
    transform: translateY(-3px);
}

.page-expert-predictions__btn-tertiary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-expert-predictions__btn-tertiary:hover {
    background-color: #ffffff;
    color: #26A9E0;
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-expert-predictions__hero-title {
        font-size: 2.8em;
    }

    .page-expert-predictions__hero-description {
        font-size: 1.1em;
    }

    .page-expert-predictions__section-title {
        font-size: 2em;
    }

    .page-expert-predictions__grid-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .page-expert-predictions__grid-layout--reversed {
        direction: ltr; /* Reset direction for smaller screens */
    }
}

@media (max-width: 768px) {
    .page-expert-predictions__hero-section {
        min-height: 400px;
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure content is below fixed header */
    }

    .page-expert-predictions__hero-title {
        font-size: 2em;
    }

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

    .page-expert-predictions__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-expert-predictions__btn-primary,
    .page-expert-predictions__btn-secondary,
    .page-expert-predictions__btn-tertiary {
        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-expert-predictions__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .page-expert-predictions__container {
        padding: 20px 15px;
    }

    .page-expert-predictions__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-expert-predictions__text-block,
    .page-expert-predictions__list-item,
    .page-expert-predictions__expert-bio,
    .page-expert-predictions__event-prediction,
    .page-expert-predictions__faq-answer p {
        font-size: 0.95em;
    }

    .page-expert-predictions__experts-grid,
    .page-expert-predictions__event-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-expert-predictions__expert-card,
    .page-expert-predictions__event-card {
        padding: 20px;
    }

    .page-expert-predictions__faq-item summary {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-expert-predictions__faq-answer {
        padding: 15px 20px;
    }

    .page-expert-predictions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-expert-predictions__image-wrapper,
    .page-expert-predictions__section,
    .page-expert-predictions__card,
    .page-expert-predictions__container,
    .page-expert-predictions__video-section,
    .page-expert-predictions__video-container,
    .page-expert-predictions__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-expert-predictions__hero-title {
        font-size: 1.8em;
    }

    .page-expert-predictions__section-title {
        font-size: 1.5em;
    }

    .page-expert-predictions__btn-primary,
    .page-expert-predictions__btn-secondary,
    .page-expert-predictions__btn-tertiary {
        padding: 12px 25px;
        font-size: 1em;
    }
}