/* style/resources-ku-sports-betting-guide.css */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --accent-login: #EA7C07;
    --background-white: #FFFFFF;
    --black: #000000;
}

.page-resources-ku-sports-betting-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light background */
    background-color: var(--background-white);
}

.page-resources-ku-sports-betting-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-resources-ku-sports-betting-guide__hero-section {
    position: relative;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: var(--text-light); /* Dark background, so light text */
    background-color: var(--primary-color);
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-resources-ku-sports-betting-guide__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.2; /* Subtle overlay for text readability */
}

.page-resources-ku-sports-betting-guide__hero-section .page-resources-ku-sports-betting-guide__container {
    position: relative;
    z-index: 2;
}

.page-resources-ku-sports-betting-guide__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

.page-resources-ku-sports-betting-guide__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-resources-ku-sports-betting-guide__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-resources-ku-sports-betting-guide__btn-primary,
.page-resources-ku-sports-betting-guide__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-ku-sports-betting-guide__btn-primary {
    background-color: var(--accent-login);
    color: var(--text-light);
    border: 2px solid var(--accent-login);
}

.page-resources-ku-sports-betting-guide__btn-primary:hover {
    background-color: darken(var(--accent-login), 10%);
    border-color: darken(var(--accent-login), 10%);
}

.page-resources-ku-sports-betting-guide__btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.page-resources-ku-sports-betting-guide__btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

/* General Section Styling */
.page-resources-ku-sports-betting-guide__content-area,
.page-resources-ku-sports-betting-guide__registration-guide,
.page-resources-ku-sports-betting-guide__odds-types,
.page-resources-ku-sports-betting-guide__strategies,
.page-resources-ku-sports-betting-guide__promotions,
.page-resources-ku-sports-betting-guide__faq-section,
.page-resources-ku-sports-betting-guide__cta-bottom {
    padding: 60px 0;
}

.page-resources-ku-sports-betting-guide__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.page-resources-ku-sports-betting-guide__sub-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-resources-ku-sports-betting-guide__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
}

.page-resources-ku-sports-betting-guide__feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.page-resources-ku-sports-betting-guide__list-item {
    background: var(--secondary-color);
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
    color: var(--text-dark);
}

.page-resources-ku-sports-betting-guide__list-item::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2em;
    line-height: 1;
}

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

/* Dark Background Sections */
.page-resources-ku-sports-betting-guide__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-resources-ku-sports-betting-guide__dark-bg .page-resources-ku-sports-betting-guide__section-title,
.page-resources-ku-sports-betting-guide__dark-bg .page-resources-ku-sports-betting-guide__sub-title {
    color: var(--text-light);
}

.page-resources-ku-sports-betting-guide__dark-bg .page-resources-ku-sports-betting-guide__text-block {
    color: var(--text-light);
}

/* Light Background Sections */
.page-resources-ku-sports-betting-guide__light-bg {
    background-color: var(--background-white);
    color: var(--text-dark);
}

/* Step-by-Step Cards */
.page-resources-ku-sports-betting-guide__step-by-step {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-ku-sports-betting-guide__step-card {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    color: var(--text-dark);
}

.page-resources-ku-sports-betting-guide__step-card .page-resources-ku-sports-betting-guide__btn-primary,
.page-resources-ku-sports-betting-guide__step-card .page-resources-ku-sports-betting-guide__btn-secondary {
    margin-top: 20px;
}

/* Grid Layout for Odds Types */
.page-resources-ku-sports-betting-guide__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-ku-sports-betting-guide__card {
    background: var(--secondary-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    color: var(--text-dark);
    border: 1px solid #e0e0e0; /* Added for contrast */
}

.page-resources-ku-sports-betting-guide__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-resources-ku-sports-betting-guide__card-text {
    font-size: 1em;
    line-height: 1.6;
}

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

.page-resources-ku-sports-betting-guide__strategy-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-resources-ku-sports-betting-guide__strategy-card .page-resources-ku-sports-betting-guide__card-title {
    color: var(--text-light);
}

.page-resources-ku-sports-betting-guide__strategy-card .page-resources-ku-sports-betting-guide__card-text {
    color: var(--text-light);
}

/* Promotions Section */
.page-resources-ku-sports-betting-guide__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-ku-sports-betting-guide__promo-card {
    background: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    color: var(--text-dark);
}

.page-resources-ku-sports-betting-guide__promo-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-resources-ku-sports-betting-guide__promo-card .page-resources-ku-sports-betting-guide__card-title {
    margin-top: 20px;
    padding: 0 20px;
}

.page-resources-ku-sports-betting-guide__promo-card .page-resources-ku-sports-betting-guide__card-text {
    padding: 0 20px 20px;
}

.page-resources-ku-sports-betting-guide__cta-buttons--center {
    text-align: center;
    margin-top: 40px;
}

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

.page-resources-ku-sports-betting-guide__faq-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-light);
}

.page-resources-ku-sports-betting-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-resources-ku-sports-betting-guide__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-resources-ku-sports-betting-guide__faq-title {
    margin: 0;
    color: var(--text-light);
}

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

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

.page-resources-ku-sports-betting-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
}

.page-resources-ku-sports-betting-guide__faq-item.active .page-resources-ku-sports-betting-guide__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px 25px 25px;
}

.page-resources-ku-sports-betting-guide__faq-item.active .page-resources-ku-sports-betting-guide__faq-answer .page-resources-ku-sports-betting-guide__text-block {
    margin-bottom: 0;
}

/* CTA Bottom Section */
.page-resources-ku-sports-betting-guide__cta-bottom .page-resources-ku-sports-betting-guide__section-title {
    color: var(--primary-color);
}

.page-resources-ku-sports-betting-guide__cta-bottom .page-resources-ku-sports-betting-guide__text-block {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

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

@media (max-width: 768px) {
    .page-resources-ku-sports-betting-guide__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-resources-ku-sports-betting-guide__main-title {
        font-size: 2.5em;
    }

    .page-resources-ku-sports-betting-guide__intro-text {
        font-size: 1em;
    }

    .page-resources-ku-sports-betting-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-resources-ku-sports-betting-guide__btn-primary,
    .page-resources-ku-sports-betting-guide__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-resources-ku-sports-betting-guide__sub-title {
        font-size: 1.5em;
    }

    .page-resources-ku-sports-betting-guide__text-block {
        font-size: 0.95em;
    }

    .page-resources-ku-sports-betting-guide__container {
        padding: 0 15px;
    }

    /* Mobile image responsive */
    .page-resources-ku-sports-betting-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-resources-ku-sports-betting-guide__section,
    .page-resources-ku-sports-betting-guide__card,
    .page-resources-ku-sports-betting-guide__container,
    .page-resources-ku-sports-betting-guide__step-card,
    .page-resources-ku-sports-betting-guide__strategy-card,
    .page-resources-ku-sports-betting-guide__promo-card,
    .page-resources-ku-sports-betting-guide__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .page-resources-ku-sports-betting-guide__promo-image {
        height: 200px; /* Adjust height for smaller screens */
    }

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

    .page-resources-ku-sports-betting-guide__faq-item.active .page-resources-ku-sports-betting-guide__faq-answer {
        padding: 15px 15px 25px 15px;
    }
}

/* Ensure content area images maintain minimum size and don't get smaller than 200px */
.page-resources-ku-sports-betting-guide__content-area img,
.page-resources-ku-sports-betting-guide__registration-guide img,
.page-resources-ku-sports-betting-guide__odds-types img,
.page-resources-ku-sports-betting-guide__strategies img,
.page-resources-ku-sports-betting-guide__promotions img {
    min-width: 200px;
    min-height: 200px;
}

/* No CSS filter on images */
.page-resources-ku-sports-betting-guide img {
    filter: none; /* Ensure no CSS filters are applied */
}