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

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --btn-register-login-bg: #C30808;
    --btn-register-login-text: #FFFF00;
    --border-color: #e0e0e0;
}

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

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

.page-resources-us8-sports-betting-guide__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-resources-us8-sports-betting-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.page-resources-us8-sports-betting-guide__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-us8-sports-betting-guide__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--text-color-light);
    font-weight: bold;
}

.page-resources-us8-sports-betting-guide__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-color-light);
}

.page-resources-us8-sports-betting-guide__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-resources-us8-sports-betting-guide__btn-primary,
.page-resources-us8-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;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-resources-us8-sports-betting-guide__btn-primary {
    background-color: var(--btn-register-login-bg); /* Custom red for register/login */
    color: var(--btn-register-login-text); /* Custom yellow for register/login text */
    border: 2px solid var(--btn-register-login-bg);
}

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

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

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

.page-resources-us8-sports-betting-guide__btn-center {
    display: block;
    margin: 30px auto;
    max-width: 300px;
}

.page-resources-us8-sports-betting-guide__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--secondary-color); /* Light background for content */
    color: var(--text-color-dark);
}

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

.page-resources-us8-sports-betting-guide__sub-section-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

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

.page-resources-us8-sports-betting-guide__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-resources-us8-sports-betting-guide__list,
.page-resources-us8-sports-betting-guide__ordered-list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.page-resources-us8-sports-betting-guide__ordered-list {
    list-style-type: decimal;
}

.page-resources-us8-sports-betting-guide__list-item {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.page-resources-us8-sports-betting-guide__faq-container {
    margin-top: 40px;
}

.page-resources-us8-sports-betting-guide__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-resources-us8-sports-betting-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

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

.page-resources-us8-sports-betting-guide__faq-question h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.2em;
}

.page-resources-us8-sports-betting-guide__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

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

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

.page-resources-us8-sports-betting-guide__cta-section {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    overflow: hidden;
    position: relative;
}

.page-resources-us8-sports-betting-guide__cta-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-resources-us8-sports-betting-guide__cta-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.page-resources-us8-sports-betting-guide__cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-resources-us8-sports-betting-guide__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--text-color-light);
    font-weight: bold;
}

.page-resources-us8-sports-betting-guide__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--text-color-light);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-resources-us8-sports-betting-guide__hero-title {
        font-size: 2.8em;
    }
    .page-resources-us8-sports-betting-guide__section-title {
        font-size: 2em;
    }
    .page-resources-us8-sports-betting-guide__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-resources-us8-sports-betting-guide {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-us8-sports-betting-guide__hero-section {
        padding: 60px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-resources-us8-sports-betting-guide__hero-title {
        font-size: 2.2em;
    }
    .page-resources-us8-sports-betting-guide__hero-description {
        font-size: 1em;
    }
    .page-resources-us8-sports-betting-guide__hero-cta,
    .page-resources-us8-sports-betting-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    .page-resources-us8-sports-betting-guide__btn-primary,
    .page-resources-us8-sports-betting-guide__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-resources-us8-sports-betting-guide__content-area {
        padding: 40px 15px;
    }
    .page-resources-us8-sports-betting-guide__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-resources-us8-sports-betting-guide__sub-section-title {
        font-size: 1.5em;
    }
    .page-resources-us8-sports-betting-guide__paragraph,
    .page-resources-us8-sports-betting-guide__list-item {
        font-size: 1em;
    }
    .page-resources-us8-sports-betting-guide__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-resources-us8-sports-betting-guide__faq-question h3 {
        font-size: 1.1em;
    }
    .page-resources-us8-sports-betting-guide__cta-section {
        padding: 60px 15px;
    }
    .page-resources-us8-sports-betting-guide__cta-title {
        font-size: 2em;
    }
    .page-resources-us8-sports-betting-guide__cta-description {
        font-size: 1em;
    }

    /* Ensure all content containers are responsive */
    .page-resources-us8-sports-betting-guide__hero-content,
    .page-resources-us8-sports-betting-guide__content-area,
    .page-resources-us8-sports-betting-guide__faq-container,
    .page-resources-us8-sports-betting-guide__cta-content {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow-x: hidden;
    }

    .page-resources-us8-sports-betting-guide__image-container,
    .page-resources-us8-sports-betting-guide__video-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-resources-us8-sports-betting-guide__hero-title {
        font-size: 1.8em;
    }
    .page-resources-us8-sports-betting-guide__section-title {
        font-size: 1.5em;
    }
    .page-resources-us8-sports-betting-guide__cta-title {
        font-size: 1.8em;
    }
}