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

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --login-color: #EA7C07;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #FFFFFF;
    --background-dark: #2a2a2a; /* A slightly darker background for sections */
    --border-color: #e0e0e0;
}

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

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

.page-resources-sports-betting-guide__hero-content {
    max-width: 900px;
    z-index: 10;
    position: relative;
    margin-bottom: 30px;
}

.page-resources-sports-betting-guide__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

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

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

.page-resources-sports-betting-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle overlay */
}

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

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

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

.page-resources-sports-betting-guide__text-block {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--text-dark);
}

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

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

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

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

.page-resources-sports-betting-guide__feature-card,
.page-resources-sports-betting-guide__card,
.page-resources-sports-betting-guide__promo-card {
    background-color: var(--background-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.page-resources-sports-betting-guide__dark-bg .page-resources-sports-betting-guide__feature-card,
.page-resources-sports-betting-guide__dark-bg .page-resources-sports-betting-guide__card,
.page-resources-sports-betting-guide__dark-bg .page-resources-sports-betting-guide__promo-card {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.15);
}

.page-resources-sports-betting-guide__feature-icon,
.page-resources-sports-betting-guide__card-image,
.page-resources-sports-betting-guide__promo-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-resources-sports-betting-guide__card-image,
.page-resources-sports-betting-guide__promo-image {
    max-width: 100%;
    height: 200px;
}

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

.page-resources-sports-betting-guide__dark-bg .page-resources-sports-betting-guide__feature-title,
.page-resources-sports-betting-guide__dark-bg .page-resources-sports-betting-guide__card-title,
.page-resources-sports-betting-guide__dark-bg .page-resources-sports-betting-guide__promo-title {
    color: var(--secondary-color);
}

.page-resources-sports-betting-guide__feature-description,
.page-resources-sports-betting-guide__card-description,
.page-resources-sports-betting-guide__promo-description {
    font-size: 1em;
    color: var(--text-dark);
    flex-grow: 1;
}

.page-resources-sports-betting-guide__dark-bg .page-resources-sports-betting-guide__feature-description,
.page-resources-sports-betting-guide__dark-bg .page-resources-sports-betting-guide__card-description,
.page-resources-sports-betting-guide__dark-bg .page-resources-sports-betting-guide__promo-description {
    color: var(--text-light);
}

.page-resources-sports-betting-guide__promo-card .page-resources-sports-betting-guide__btn-secondary {
    margin-top: 20px;
}

.page-resources-sports-betting-guide__steps-list,
.page-resources-sports-betting-guide__tips-list,
.page-resources-sports-betting-guide__live-betting-features,
.page-resources-sports-betting-guide__responsible-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px auto;
    max-width: 900px;
}

.page-resources-sports-betting-guide__list-item {
    background-color: var(--background-light);
    border-left: 5px solid var(--primary-color);
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    color: var(--text-dark);
}

.page-resources-sports-betting-guide__dark-bg .page-resources-sports-betting-guide__list-item {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
    border-color: var(--secondary-color);
}

.page-resources-sports-betting-guide__list-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-resources-sports-betting-guide__dark-bg .page-resources-sports-betting-guide__list-title {
    color: var(--secondary-color);
}

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

.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 auto;
    background-color: #000;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-resources-sports-betting-guide__caption {
    text-align: center;
    font-style: italic;
    margin-top: 10px;
    font-size: 0.9em;
    color: var(--text-dark);
}

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

.page-resources-sports-betting-guide__app-download {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-resources-sports-betting-guide__app-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-sports-betting-guide__app-info {
    max-width: 500px;
}

.page-resources-sports-betting-guide__app-title {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-resources-sports-betting-guide__app-description {
    font-size: 1.1em;
    margin-bottom: 25px;
}

.page-resources-sports-betting-guide__app-info .page-resources-sports-betting-guide__btn-primary,
.page-resources-sports-betting-guide__app-info .page-resources-sports-betting-guide__btn-secondary {
    margin: 0 10px 15px 10px;
}

.page-resources-sports-betting-guide__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

.page-resources-sports-betting-guide__faq-question h3 {
    margin: 0;
    color: inherit;
}

.page-resources-sports-betting-guide__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--primary-color);
    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 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-dark);
    background-color: var(--background-light);
}

.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: 15px 25px 25px 25px;
}

.page-resources-sports-betting-guide__faq-answer p {
    margin: 0;
    font-size: 1em;
}

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

.page-resources-sports-betting-guide__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-resources-sports-betting-guide__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-sports-betting-guide__btn-primary,
.page-resources-sports-betting-guide__btn-secondary,
.page-resources-sports-betting-guide a[class*="button"],
.page-resources-sports-betting-guide a[class*="btn"] {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-sports-betting-guide__btn-primary {
    background-color: var(--login-color); /* Use login color for primary CTA */
    color: var(--secondary-color);
    border: 2px solid var(--login-color);
}

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

.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);
    transform: translateY(-2px);
}

.page-resources-sports-betting-guide__dark-bg .page-resources-sports-betting-guide__btn-secondary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

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

.page-resources-sports-betting-guide__center-align {
    text-align: center;
}

/* Responsive Design */
@media (min-width: 769px) {
    .page-resources-sports-betting-guide__app-download {
        flex-direction: row;
        text-align: left;
        justify-content: center;
    }
    .page-resources-sports-betting-guide__app-info {
        text-align: left;
    }
    .page-resources-sports-betting-guide__app-image {
        margin-right: 30px;
    }
    .page-resources-sports-betting-guide__hero-section {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
        padding: 100px 40px;
        padding-top: var(--header-offset, 120px);
    }
    .page-resources-sports-betting-guide__hero-content {
        text-align: left;
        margin-right: 50px;
        margin-bottom: 0;
    }
    .page-resources-sports-betting-guide__hero-buttons {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .page-resources-sports-betting-guide {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-resources-sports-betting-guide__hero-title {
        font-size: 2.2em;
    }
    .page-resources-sports-betting-guide__hero-description {
        font-size: 1em;
    }
    .page-resources-sports-betting-guide__section-title {
        font-size: 1.8em;
    }
    .page-resources-sports-betting-guide__cta-title {
        font-size: 2em;
    }
    .page-resources-sports-betting-guide__btn-primary,
    .page-resources-sports-betting-guide__btn-secondary,
    .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;
        margin-bottom: 15px;
    }
    .page-resources-sports-betting-guide__hero-buttons,
    .page-resources-sports-betting-guide__app-info {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .page-resources-sports-betting-guide__container,
    .page-resources-sports-betting-guide__section,
    .page-resources-sports-betting-guide__hero-section,
    .page-resources-sports-betting-guide__cta-section,
    .page-resources-sports-betting-guide__app-download,
    .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; /* Ensure no horizontal scroll */
    }
    .page-resources-sports-betting-guide__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-resources-sports-betting-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-sports-betting-guide video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-sports-betting-guide__app-image {
        margin-bottom: 20px;
    }
    .page-resources-sports-betting-guide__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-resources-sports-betting-guide__faq-answer {
        padding: 0 20px;
    }
    .page-resources-sports-betting-guide__faq-item.active .page-resources-sports-betting-guide__faq-answer {
        padding: 10px 20px 20px 20px;
    }
}