/* style/resources-sports-betting-guide.css */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --login-color: #EA7C07;
    --background-color: #1a1a1a;
    --text-color-dark-bg: #FFFFFF;
    --text-color-light-bg: #333333;
    --card-bg-dark-mode: rgba(255, 255, 255, 0.1);
    --card-bg-light-mode: #FFFFFF;
    --border-color: #e0e0e0;
}

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

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

.page-resources-sports-betting-guide__section {
    padding: 60px 0;
}

.page-resources-sports-betting-guide__dark-bg {
    background-color: var(--background-color);
    color: var(--text-color-dark-bg);
}

.page-resources-sports-betting-guide__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-color-light-bg);
}

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

.page-resources-sports-betting-guide__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    background-color: var(--background-color);
    color: var(--text-color-dark-bg);
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    overflow: hidden;
}

.page-resources-sports-betting-guide__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-resources-sports-betting-guide__hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-resources-sports-betting-guide__hero-description {
    font-size: 18px;
    margin-bottom: 30px;
}

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

.page-resources-sports-betting-guide__btn-primary,
.page-resources-sports-betting-guide__btn-secondary,
.page-resources-sports-betting-guide__btn-tertiary {
    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;
    text-align: center;
    box-sizing: border-box;
}

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

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

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

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

.page-resources-sports-betting-guide__btn-tertiary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 10px 20px;
    font-size: 14px;
}

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

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

.page-resources-sports-betting-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.7);
}

.page-resources-sports-betting-guide__paragraph {
    font-size: 17px;
    margin-bottom: 20px;
    text-align: justify;
}

.page-resources-sports-betting-guide__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-resources-sports-betting-guide__image--left {
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
    width: 40%;
    max-width: 400px;
}

.page-resources-sports-betting-guide__features-grid,
.page-resources-sports-betting-guide__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-sports-betting-guide__feature-card,
.page-resources-sports-betting-guide__step-card,
.page-resources-sports-betting-guide__card {
    background-color: var(--card-bg-dark-mode);
    color: var(--text-color-dark-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-resources-sports-betting-guide__light-bg .page-resources-sports-betting-guide__card {
    background-color: var(--card-bg-light-mode);
    color: var(--text-color-light-bg);
    border: 1px solid var(--border-color);
}

.page-resources-sports-betting-guide__feature-icon,
.page-resources-sports-betting-guide__step-icon {
    width: 100%;
    height: auto;
    max-width: 200px;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-resources-sports-betting-guide__feature-title,
.page-resources-sports-betting-guide__step-title,
.page-resources-sports-betting-guide__list-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-resources-sports-betting-guide__feature-description,
.page-resources-sports-betting-guide__step-description {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-resources-sports-betting-guide__betting-types-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-resources-sports-betting-guide__betting-types-list .page-resources-sports-betting-guide__list-item {
    background-color: var(--card-bg-dark-mode);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-sports-betting-guide__betting-types-list .page-resources-sports-betting-guide__list-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color-dark-bg);
}

.page-resources-sports-betting-guide__inline-link {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-resources-sports-betting-guide__inline-link:hover {
    color: lighten(var(--primary-color), 10%);
}

.page-resources-sports-betting-guide__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin: 40px 0;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-sports-betting-guide__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    cursor: pointer;
}

.page-resources-sports-betting-guide__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    z-index: 1;
    pointer-events: none; /* Allow click to pass through to video */
}

.page-resources-sports-betting-guide__cta-buttons--center {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.page-resources-sports-betting-guide__tips-content {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    align-items: flex-start;
}

.page-resources-sports-betting-guide__tips-list {
    list-style: none;
    padding: 0;
    flex: 1;
}

.page-resources-sports-betting-guide__tips-list .page-resources-sports-betting-guide__list-item {
    margin-bottom: 20px;
    padding-left: 20px;
    position: relative;
}

.page-resources-sports-betting-guide__tips-list .page-resources-sports-betting-guide__list-item::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

.page-resources-sports-betting-guide__tips-list .page-resources-sports-betting-guide__list-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color-dark-bg);
}

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

.page-resources-sports-betting-guide__faq-item {
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--card-bg-dark-mode);
    color: var(--text-color-dark-bg);
}

.page-resources-sports-betting-guide__light-bg .page-resources-sports-betting-guide__faq-item {
    background-color: var(--card-bg-light-mode);
    color: var(--text-color-light-bg);
    border: 1px solid var(--border-color);
}

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

.page-resources-sports-betting-guide__light-bg .page-resources-sports-betting-guide__faq-question {
    background-color: #f9f9f9;
    color: var(--primary-color);
}

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

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

.page-resources-sports-betting-guide__faq-toggle {
    font-size: 24px;
    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;
}

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

.page-resources-sports-betting-guide__faq-answer p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
    color: var(--text-color-dark-bg);
}

.page-resources-sports-betting-guide__light-bg .page-resources-sports-betting-guide__faq-answer p {
    color: var(--text-color-light-bg);
}

.page-resources-sports-betting-guide__cta-section {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 80px 0;
}

.page-resources-sports-betting-guide__cta-content {
    max-width: 900px;
}

.page-resources-sports-betting-guide__cta-section .page-resources-sports-betting-guide__section-title {
    color: var(--secondary-color);
}

.page-resources-sports-betting-guide__cta-section .page-resources-sports-betting-guide__paragraph {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

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

.page-resources-sports-betting-guide__cta-section .page-resources-sports-betting-guide__btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.page-resources-sports-betting-guide__cta-section .page-resources-sports-betting-guide__btn-primary:hover {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
}

.page-resources-sports-betting-guide__cta-section .page-resources-sports-betting-guide__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.page-resources-sports-betting-guide__cta-section .page-resources-sports-betting-guide__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-resources-sports-betting-guide__hero-title {
        font-size: 40px;
    }
    .page-resources-sports-betting-guide__section-title {
        font-size: 30px;
    }
    .page-resources-sports-betting-guide__image--left {
        float: none;
        margin: 30px auto;
        width: 100%;
        max-width: 600px;
    }
    .page-resources-sports-betting-guide__tips-content {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .page-resources-sports-betting-guide {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-sports-betting-guide__hero-section {
        min-height: 60vh;
        padding: 40px 0;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-resources-sports-betting-guide__hero-title {
        font-size: 32px;
    }
    .page-resources-sports-betting-guide__hero-description {
        font-size: 16px;
    }
    .page-resources-sports-betting-guide__section {
        padding: 40px 0;
    }
    .page-resources-sports-betting-guide__section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .page-resources-sports-betting-guide__paragraph {
        font-size: 16px;
    }
    .page-resources-sports-betting-guide__feature-card,
    .page-resources-sports-betting-guide__step-card,
    .page-resources-sports-betting-guide__card {
        padding: 20px;
    }
    .page-resources-sports-betting-guide__feature-title,
    .page-resources-sports-betting-guide__step-title,
    .page-resources-sports-betting-guide__list-title {
        font-size: 20px;
    }
    .page-resources-sports-betting-guide__hero-buttons,
    .page-resources-sports-betting-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-sports-betting-guide__btn-primary,
    .page-resources-sports-betting-guide__btn-secondary,
    .page-resources-sports-betting-guide__btn-tertiary,
    .page-resources-sports-betting-guide a[class*="button"],
    .page-resources-sports-betting-guide a[class*="btn"] {
        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-resources-sports-betting-guide__cta-buttons,
    .page-resources-sports-betting-guide__button-group,
    .page-resources-sports-betting-guide__btn-container {
        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-resources-sports-betting-guide img {
        max-width: 100% !important;
        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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-resources-sports-betting-guide video,
    .page-resources-sports-betting-guide__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-sports-betting-guide__video-section,
    .page-resources-sports-betting-guide__video-container,
    .page-resources-sports-betting-guide__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-resources-sports-betting-guide__faq-question {
        font-size: 16px;
        padding: 15px;
    }
    .page-resources-sports-betting-guide__faq-answer {
        padding: 0 15px;
    }
    .page-resources-sports-betting-guide__faq-item.active .page-resources-sports-betting-guide__faq-answer {
        padding: 15px;
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    .page-resources-sports-betting-guide__hero-title {
        font-size: 28px;
    }
    .page-resources-sports-betting-guide__section-title {
        font-size: 22px;
    }
    .page-resources-sports-betting-guide__btn-primary,
    .page-resources-sports-betting-guide__btn-secondary {
        padding: 12px 20px;
        font-size: 14px;
    }
}