/* style/match-analysis-expert-picks.css */

/* Base styles for the page content */
.page-match-analysis-expert-picks {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #0d1117; /* Ensure consistency with body background */
}

/* Fixed header offset */
.page-match-analysis-expert-picks__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply header offset to the first content section */
}

/* Container for main content */
.page-match-analysis-expert-picks__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Section styling */
.page-match-analysis-expert-picks__section-title {
    font-size: 2.5em;
    color: #FFCC00;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.page-match-analysis-expert-picks__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-match-analysis-expert-picks__text-block a {
    color: #FFCC00;
    text-decoration: underline;
}

.page-match-analysis-expert-picks__text-block a:hover {
    color: #ffd700;
}

/* Hero Section */
.page-match-analysis-expert-picks__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 600px;
    overflow: hidden;
    background: linear-gradient(135deg, #003366, #0d1117);
    padding-bottom: 60px;
}

.page-match-analysis-expert-picks__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-match-analysis-expert-picks__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Slightly transparent to allow text to stand out */
}

.page-match-analysis-expert-picks__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

.page-match-analysis-expert-picks__hero-title {
    font-size: 3.5em;
    color: #FFCC00;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

/* CTA Buttons */
.page-match-analysis-expert-picks__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 10px;
    box-sizing: border-box; /* Ensure padding is included in width */
}

.page-match-analysis-expert-picks__btn-primary {
    background-color: #FFCC00;
    color: #003366;
    border: 2px solid #FFCC00;
}

.page-match-analysis-expert-picks__btn-primary:hover {
    background-color: #ffd700;
    transform: translateY(-3px);
}

.page-match-analysis-expert-picks__btn-secondary {
    background-color: transparent;
    color: #FFCC00;
    border: 2px solid #FFCC00;
}

.page-match-analysis-expert-picks__btn-secondary:hover {
    background-color: #FFCC00;
    color: #003366;
    transform: translateY(-3px);
}

/* Sections */
.page-match-analysis-expert-picks__intro-section,
.page-match-analysis-expert-picks__feature-section,
.page-match-analysis-expert-picks__why-trust-section,
.page-match-analysis-expert-picks__analysis-process-section,
.page-match-analysis-expert-picks__bet-types-section,
.page-match-analysis-expert-picks__tips-section,
.page-match-analysis-expert-picks__faq-section,
.page-match-analysis-expert-picks__cta-section {
    padding: 80px 0;
}

.page-match-analysis-expert-picks__dark-section {
    background-color: #003366;
    color: #ffffff;
}

/* Content Grid */
.page-match-analysis-expert-picks__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-match-analysis-expert-picks__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-match-analysis-expert-picks__image-wrapper {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-match-analysis-expert-picks__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-match-analysis-expert-picks__text-content {
    flex: 1;
}

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

.page-match-analysis-expert-picks__card-grid--small {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.page-match-analysis-expert-picks__card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.page-match-analysis-expert-picks__card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-match-analysis-expert-picks__card-title {
    font-size: 1.5em;
    color: #FFCC00;
    margin-bottom: 15px;
}

.page-match-analysis-expert-picks__card-text {
    font-size: 1em;
    color: #f0f0f0;
}

/* Lists */
.page-match-analysis-expert-picks__ordered-list,
.page-match-analysis-expert-picks__unordered-list {
    list-style-position: inside;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-match-analysis-expert-picks__ordered-list li,
.page-match-analysis-expert-picks__unordered-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-match-analysis-expert-picks__ordered-list strong {
    color: #FFCC00;
}

/* Margin utilities */
.page-match-analysis-expert-picks__mt-40 {
    margin-top: 40px;
}

/* CTA Section */
.page-match-analysis-expert-picks__cta-container {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-match-analysis-expert-picks__cta-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    gap: 20px;
}


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

.page-match-analysis-expert-picks__faq-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-match-analysis-expert-picks__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFCC00;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.page-match-analysis-expert-picks__faq-question:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

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

.page-match-analysis-expert-picks__faq-item.active .page-match-analysis-expert-picks__faq-toggle {
    transform: rotate(45deg); /* Plus to Minus visual effect */
}

.page-match-analysis-expert-picks__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #f0f0f0;
}

.page-match-analysis-expert-picks__faq-item.active .page-match-analysis-expert-picks__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 20px 20px;
}

.page-match-analysis-expert-picks__faq-answer p {
    margin-bottom: 10px;
}

/* Responsive design */
@media (max-width: 1024px) {
    .page-match-analysis-expert-picks__hero-title {
        font-size: 3em;
    }
    .page-match-analysis-expert-picks__section-title {
        font-size: 2em;
    }
    .page-match-analysis-expert-picks__content-grid {
        flex-direction: column;
    }
    .page-match-analysis-expert-picks__content-grid--reverse {
        flex-direction: column; /* Consistent direction for mobile */
    }
    .page-match-analysis-expert-picks__text-content,
    .page-match-analysis-expert-picks__image-wrapper {
        flex: none;
        width: 100%;
    }
}

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

    /* Enforce mobile responsiveness for images, videos, buttons */
    .page-match-analysis-expert-picks img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure minimum size */
        min-height: 200px !important; /* Ensure minimum size */
    }

    /* Content area image size check */
    .page-match-analysis-expert-picks__content-area img,
    .page-match-analysis-expert-picks__feature-section img,
    .page-match-analysis-expert-picks__analysis-process-section img,
    .page-match-analysis-expert-picks__tips-section img {
      min-width: 200px !important;
      min-height: 200px !important;
    }

    .page-match-analysis-expert-picks video,
    .page-match-analysis-expert-picks__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-match-analysis-expert-picks__video-section,
    .page-match-analysis-expert-picks__video-container,
    .page-match-analysis-expert-picks__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-match-analysis-expert-picks__cta-button,
    .page-match-analysis-expert-picks__btn-primary,
    .page-match-analysis-expert-picks__btn-secondary,
    .page-match-analysis-expert-picks a[class*="button"],
    .page-match-analysis-expert-picks a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 10px 0 !important; /* Adjust margin for stacked buttons */
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-match-analysis-expert-picks__cta-buttons,
    .page-match-analysis-expert-picks__button-group,
    .page-match-analysis-expert-picks__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px;
        overflow: hidden !important;
    }

    .page-match-analysis-expert-picks__section,
    .page-match-analysis-expert-picks__card,
    .page-match-analysis-expert-picks__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-match-analysis-expert-picks__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Apply header offset */
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-match-analysis-expert-picks__hero-title {
        font-size: 2em;
    }

    .page-match-analysis-expert-picks__hero-description {
        font-size: 1em;
    }

    .page-match-analysis-expert-picks__section-title {
        font-size: 1.8em;
    }

    .page-match-analysis-expert-picks__card-grid {
        grid-template-columns: 1fr;
    }

    .page-match-analysis-expert-picks__faq-question {
        font-size: 1.1em;
    }

    .page-match-analysis-expert-picks__faq-answer {
        padding: 0 15px;
    }

    .page-match-analysis-expert-picks__faq-item.active .page-match-analysis-expert-picks__faq-answer {
        padding: 15px 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-match-analysis-expert-picks__hero-title {
        font-size: 1.8em;
    }
    .page-match-analysis-expert-picks__hero-description {
        font-size: 0.9em;
    }
    .page-match-analysis-expert-picks__section-title {
        font-size: 1.5em;
    }
    .page-match-analysis-expert-picks__cta-button {
        font-size: 1em;
        padding: 12px 20px;
    }
}