/* style/resources-sports-betting-guide.css */
.page-resources-sports-betting-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Default light text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css (#000000) */
}

.page-resources-sports-betting-guide__dark-bg {
    background-color: #0d0d0d; /* Slightly lighter than black for sections */
    color: #ffffff;
}

.page-resources-sports-betting-guide__light-bg {
    background-color: #1a1a1a; /* Dark gray for contrast sections */
    color: #f0f0f0;
}

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

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

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

.page-resources-sports-betting-guide__hero-overlay {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.6);
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
}

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

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

/* General Section Styles */
.page-resources-sports-betting-guide__section-title {
    font-size: 2.5em;
    color: #007bff;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    padding-bottom: 20px;
}

.page-resources-sports-betting-guide__text-block {
    font-size: 1.1em;
    margin-bottom: 30px;
    text-align: justify;
}

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

.page-resources-sports-betting-guide__btn-primary {
    background-color: #007bff;
    color: #ffffff;
    border: 2px solid #007bff;
}

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

.page-resources-sports-betting-guide__btn-secondary {
    background-color: transparent;
    color: #ffc107;
    border: 2px solid #ffc107;
    margin-left: 15px;
}

.page-resources-sports-betting-guide__btn-secondary:hover {
    background-color: #ffc107;
    color: #000000;
}

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

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

.page-resources-sports-betting-guide__feature-item {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-sports-betting-guide__feature-title {
    color: #ffc107;
    font-size: 1.5em;
    margin-bottom: 15px;
}

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

.page-resources-sports-betting-guide__card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.page-resources-sports-betting-guide__card-title {
    color: #007bff;
    font-size: 1.8em;
    margin-bottom: 15px;
}

.page-resources-sports-betting-guide__card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.page-resources-sports-betting-guide__card ul li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.page-resources-sports-betting-guide__card ul li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 0;
}

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

.page-resources-sports-betting-guide__step-item {
    background-color: rgba(0, 123, 255, 0.08); /* Transparent blue for light bg */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(0, 123, 255, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.page-resources-sports-betting-guide__step-number {
    background-color: #007bff;
    color: #ffffff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-resources-sports-betting-guide__step-title {
    color: #ffc107;
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page-resources-sports-betting-guide__step-item .page-resources-sports-betting-guide__btn-secondary {
    margin-top: auto;
    margin-left: 0;
    margin-top: 20px;
}

.page-resources-sports-betting-guide__image-full-width {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: block;
}

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

.page-resources-sports-betting-guide__strategy-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    text-align: center;
}

.page-resources-sports-betting-guide__strategy-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-resources-sports-betting-guide__strategy-title {
    color: #007bff;
    font-size: 1.8em;
    margin-bottom: 15px;
}

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

.page-resources-sports-betting-guide__sport-card {
    background-color: rgba(0, 123, 255, 0.08);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(0, 123, 255, 0.15);
    color: #f0f0f0;
}

.page-resources-sports-betting-guide__sport-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-resources-sports-betting-guide__sport-title {
    color: #ffc107;
    font-size: 1.6em;
    margin-bottom: 10px;
}

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

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

.page-resources-sports-betting-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: rgba(0, 123, 255, 0.15);
    color: #ffffff;
    font-size: 1.2em;
    font-weight: bold;
}

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

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

.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;
    background-color: rgba(255, 255, 255, 0.03);
    color: #f0f0f0;
}

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

.page-resources-sports-betting-guide__faq-answer p {
    margin-bottom: 15px;
}

.page-resources-sports-betting-guide__faq-answer .page-resources-sports-betting-guide__btn-secondary {
    margin-left: 0;
    margin-top: 10px;
}

/* CTA Section */
.page-resources-sports-betting-guide__cta-section {
    padding: 80px 20px;
    text-align: center;
}

.page-resources-sports-betting-guide__cta-section .page-resources-sports-betting-guide__section-title {
    color: #007bff;
    padding-top: 0;
}

.page-resources-sports-betting-guide__cta-section .page-resources-sports-betting-guide__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

@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: 500px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-resources-sports-betting-guide__hero-overlay {
        padding: 20px;
    }
    .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;
        margin-bottom: 25px;
        padding-top: 40px;
    }
    .page-resources-sports-betting-guide__text-block {
        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-left: 0 !important;
        margin-bottom: 15px;
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-resources-sports-betting-guide__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-resources-sports-betting-guide__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }
    .page-resources-sports-betting-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-sports-betting-guide__image-full-width {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !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,
    .page-resources-sports-betting-guide__feature-item,
    .page-resources-sports-betting-guide__step-item,
    .page-resources-sports-betting-guide__strategy-card,
    .page-resources-sports-betting-guide__sport-card {
        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__hero-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-resources-sports-betting-guide__hero-overlay {
        width: calc(100% - 30px);
        margin: 0 15px;
    }
}

@media (max-width: 480px) {
    .page-resources-sports-betting-guide__hero-title {
        font-size: 1.8em;
    }
    .page-resources-sports-betting-guide__section-title {
        font-size: 1.5em;
    }
    .page-resources-sports-betting-guide__card-title,
    .page-resources-sports-betting-guide__step-title,
    .page-resources-sports-betting-guide__strategy-title,
    .page-resources-sports-betting-guide__sport-title {
        font-size: 1.4em;
    }
}