/* style/resources-sports-betting-guide.css */

/* Base Styles for the page content, ensuring light text on dark body background */
.page-resources-sports-betting-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* inherited from body, which is var(--black-color) */
}

/* Ensure sections and containers adapt to body background or define their own */
.page-resources-sports-betting-guide__dark-bg {
    background-color: var(--black-color, #000000); /* Use black or a very dark color */
    color: #ffffff;
}

.page-resources-sports-betting-guide__light-bg {
    background-color: #ffffff;
    color: #333333;
}

/* Hero Section */
.page-resources-sports-betting-guide__hero-section {
    position: relative;
    padding: 100px 20px;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
}

.page-resources-sports-betting-guide__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.6); /* Darken image slightly for text readability */
}

.page-resources-sports-betting-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.page-resources-sports-betting-guide__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-sports-betting-guide__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-resources-sports-betting-guide__btn-primary,
.page-resources-sports-betting-guide__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, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-sports-betting-guide__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
    margin-right: 15px;
}

.page-resources-sports-betting-guide__btn-primary:hover {
    background-color: #1a8cc2;
    border-color: #1a8cc2;
}

.page-resources-sports-betting-guide__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources-sports-betting-guide__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1a8cc2;
    border-color: #1a8cc2;
}

.page-resources-sports-betting-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Content Area */
.page-resources-sports-betting-guide__content-area {
    padding: 60px 0;
}

.page-resources-sports-betting-guide__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: #26A9E0; /* Brand color for titles on light background */
}

.page-resources-sports-betting-guide__subsection-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for subtitles on light background */
}

.page-resources-sports-betting-guide__content-area p {
    margin-bottom: 15px;
    color: #333333; /* Dark text for light background */
}

.page-resources-sports-betting-guide__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #333333; /* Dark text for light background */
}

.page-resources-sports-betting-guide__list li {
    margin-bottom: 8px;
    color: #333333; /* Dark text for light background */
}

.page-resources-sports-betting-guide__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Card Grid */
.page-resources-sports-betting-guide__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-resources-sports-betting-guide__card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    color: #333333; /* Dark text for light background */
}

.page-resources-sports-betting-guide__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
}

.page-resources-sports-betting-guide__card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #26A9E0; /* Brand color for card titles */
}

.page-resources-sports-betting-guide__card-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-resources-sports-betting-guide__card-title a:hover {
    text-decoration: underline;
}

.page-resources-sports-betting-guide__card p {
    padding: 0 20px;
    color: #333333;
}

/* FAQ Section */
.page-resources-sports-betting-guide__faq-list {
    margin-top: 40px;
}

.page-resources-sports-betting-guide__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333;
}

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

.page-resources-sports-betting-guide__faq-question:hover {
    background-color: #f0f0f0;
}

.page-resources-sports-betting-guide__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-sports-betting-guide__faq-item.active .page-resources-sports-betting-guide__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-sports-betting-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #333333;
}

.page-resources-sports-betting-guide__faq-item.active .page-resources-sports-betting-guide__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 15px 20px;
}

.page-resources-sports-betting-guide__faq-answer p {
    margin-bottom: 10px;
    color: #333333;
}

.page-resources-sports-betting-guide__faq-answer a {
    color: #26A9E0;
    text-decoration: none;
}

.page-resources-sports-betting-guide__faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-sports-betting-guide__hero-title {
        font-size: 3em;
    }
    .page-resources-sports-betting-guide__hero-description {
        font-size: 1.2em;
    }
    .page-resources-sports-betting-guide__section-title {
        font-size: 2em;
    }
    .page-resources-sports-betting-guide__subsection-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    /* Fixed Header Offset for mobile */
    .page-resources-sports-betting-guide__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-resources-sports-betting-guide__hero-title {
        font-size: 2.5em;
    }
    .page-resources-sports-betting-guide__hero-description {
        font-size: 1em;
    }
    .page-resources-sports-betting-guide__btn-primary,
    .page-resources-sports-betting-guide__btn-secondary {
        padding: 12px 20px;
        font-size: 0.9em;
        margin-right: 0;
        width: 100% !important; /* Full width buttons */
    }
    .page-resources-sports-betting-guide__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-resources-sports-betting-guide__content-area {
        padding: 40px 15px;
    }

    .page-resources-sports-betting-guide__section-title {
        font-size: 1.8em;
    }
    .page-resources-sports-betting-guide__subsection-title {
        font-size: 1.4em;
    }

    .page-resources-sports-betting-guide__card-grid {
        grid-template-columns: 1fr; /* Single column for cards */
        padding: 0 15px;
    }

    /* Mobile image responsiveness */
    .page-resources-sports-betting-guide img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-sports-betting-guide__section,
    .page-resources-sports-betting-guide__card,
    .page-resources-sports-betting-guide__container,
    .page-resources-sports-betting-guide__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Specific container padding for mobile */
    .page-resources-sports-betting-guide__content-area .page-resources-sports-betting-guide__container {
        padding: 0;
    }

    .page-resources-sports-betting-guide__faq-question,
    .page-resources-sports-betting-guide__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-resources-sports-betting-guide__hero-title {
        font-size: 2em;
    }
    .page-resources-sports-betting-guide__hero-description {
        font-size: 0.9em;
    }
    .page-resources-sports-betting-guide__btn-primary,
    .page-resources-sports-betting-guide__btn-secondary {
        font-size: 0.85em;
        padding: 10px 15px;
    }
}

/* Global image styles - no filters */
.page-resources-sports-betting-guide img {
    filter: none; /* Ensure no CSS filters are applied */
}