/* style/resources-sports-betting-guide.css */
:root {
    --primary-color: #0047AB;
    --secondary-color: #FFD700;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f9f9f9;
    --background-dark: #003a8a;
    --border-color: #e0e0e0;
}

.page-resources-sports-betting-guide {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--background-light);
}

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

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

.page-resources-sports-betting-guide__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.page-resources-sports-betting-guide__section-description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-resources-sports-betting-guide__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px);
    background: linear-gradient(135deg, var(--primary-color) 0%, #002d6b 100%);
    color: var(--text-color-light);
    overflow: hidden;
}

.page-resources-sports-betting-guide__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-resources-sports-betting-guide__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-resources-sports-betting-guide__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources-sports-betting-guide__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-resources-sports-betting-guide__main-title {
    font-size: 3.2em;
    margin-bottom: 15px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.page-resources-sports-betting-guide__intro-description {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.9);
}

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

.page-resources-sports-betting-guide__cta-button {
    display: inline-block;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure button adapts to mobile width */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-resources-sports-betting-guide__cta-button--primary:hover {
    background: #ffd700e0;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-resources-sports-betting-guide__cta-button--secondary:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* About Section */
.page-resources-sports-betting-guide__section--about {
    background-color: var(--background-light);
    color: var(--text-color-dark);
}

.page-resources-sports-betting-guide__content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    text-align: left;
}

.page-resources-sports-betting-guide__text-block {
    flex: 2;
    font-size: 1.05em;
}

.page-resources-sports-betting-guide__text-block p {
    margin-bottom: 1em;
}

.page-resources-sports-betting-guide__image-block {
    flex: 1;
    min-width: 300px;
}

.page-resources-sports-betting-guide__image-block img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* How-to-bet Section */
.page-resources-sports-betting-guide__section--how-to-bet {
    background-color: #f0f4f8;
}

.page-resources-sports-betting-guide__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-resources-sports-betting-guide__step-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-resources-sports-betting-guide__step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-resources-sports-betting-guide__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
    background: var(--primary-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

.page-resources-sports-betting-guide__step-item p {
    color: #555;
    font-size: 0.95em;
    flex-grow: 1;
}

.page-resources-sports-betting-guide__cta-button--small {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

/* Betting Types Section */
.page-resources-sports-betting-guide__section--betting-types {
    background-color: var(--background-light);
}

.page-resources-sports-betting-guide__grid-2-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-resources-sports-betting-guide__card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
    border: 1px solid var(--border-color);
}

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

.page-resources-sports-betting-guide__card p {
    font-size: 0.95em;
    color: #555;
}

.page-resources-sports-betting-guide__image-full-width img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Tips & Strategies Section */
.page-resources-sports-betting-guide__section--tips-strategies {
    background-color: #e6f0f7;
}

.page-resources-sports-betting-guide__tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    text-align: left;
}

.page-resources-sports-betting-guide__tip-item {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
    border-left: 5px solid var(--primary-color);
}

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

.page-resources-sports-betting-guide__tip-item p {
    font-size: 0.9em;
    color: #555;
}

.page-resources-sports-betting-guide__image-block--right {
    text-align: right;
}

/* Promotions Section */
.page-resources-sports-betting-guide__section--promotions {
    background-color: var(--background-light);
}

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

.page-resources-sports-betting-guide__promo-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-resources-sports-betting-guide__promo-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-sports-betting-guide__promo-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-resources-sports-betting-guide__promo-card p {
    font-size: 0.95em;
    color: #555;
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Security & Support Section */
.page-resources-sports-betting-guide__dark-section {
    background: var(--primary-color);
    color: var(--text-color-light);
}

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

.page-resources-sports-betting-guide__dark-section .page-resources-sports-betting-guide__section-description {
    color: rgba(255, 255, 255, 0.8);
}

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

.page-resources-sports-betting-guide__feature-item {
    background: var(--background-dark);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.page-resources-sports-betting-guide__feature-title {
    font-size: 1.3em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-resources-sports-betting-guide__feature-item p {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.8);
}

/* FAQ Section */
.page-resources-sports-betting-guide__section--faq {
    background-color: var(--background-light);
}

.page-resources-sports-betting-guide__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-sports-betting-guide__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.page-resources-sports-betting-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

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

.page-resources-sports-betting-guide__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--primary-color);
}

.page-resources-sports-betting-guide__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

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

.page-resources-sports-betting-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 20px;
    opacity: 0;
    background: #fdfdfd;
    text-align: left;
}

.page-resources-sports-betting-guide__faq-item.active .page-resources-sports-betting-guide__faq-answer {
    max-height: 2000px !important;
    padding: 20px !important;
    opacity: 1;
    border-top: 1px solid var(--border-color);
}

.page-resources-sports-betting-guide__faq-answer p {
    margin: 0;
    color: #555;
}

/* Conclusion Section */
.page-resources-sports-betting-guide__section--conclusion {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 80px 0;
}

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

.page-resources-sports-betting-guide__section--conclusion .page-resources-sports-betting-guide__section-description {
    color: rgba(255, 255, 255, 0.9);
}

/* General Image Styling */
.page-resources-sports-betting-guide img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-sports-betting-guide__main-title {
        font-size: 2.8em;
    }
    .page-resources-sports-betting-guide__section-title {
        font-size: 2em;
    }
    .page-resources-sports-betting-guide__content-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .page-resources-sports-betting-guide__image-block {
        order: -1; /* Image first on smaller screens */
    }
}

@media (max-width: 768px) {
    .page-resources-sports-betting-guide {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-resources-sports-betting-guide__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-sports-betting-guide__main-title {
        font-size: 2em;
        margin-bottom: 10px;
    }

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

    .page-resources-sports-betting-guide__cta-group {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-sports-betting-guide__cta-button,
    .page-resources-sports-betting-guide__cta-button--small {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-resources-sports-betting-guide__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

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

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

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

    .page-resources-sports-betting-guide__steps-grid,
    .page-resources-sports-betting-guide__grid-2-cols,
    .page-resources-sports-betting-guide__tips-grid,
    .page-resources-sports-betting-guide__promotions-grid,
    .page-resources-sports-betting-guide__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-resources-sports-betting-guide__step-item,
    .page-resources-sports-betting-guide__card,
    .page-resources-sports-betting-guide__tip-item,
    .page-resources-sports-betting-guide__promo-card,
    .page-resources-sports-betting-guide__feature-item {
        padding: 20px;
    }

    .page-resources-sports-betting-guide__step-title,
    .page-resources-sports-betting-guide__card-title,
    .page-resources-sports-betting-guide__tip-title,
    .page-resources-sports-betting-guide__promo-title,
    .page-resources-sports-betting-guide__feature-title {
        font-size: 1.2em;
    }

    .page-resources-sports-betting-guide__promo-card img {
        
    }

    .page-resources-sports-betting-guide__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }

    .page-resources-sports-betting-guide__faq-question h3 {
        font-size: 1em;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }

    .page-resources-sports-betting-guide__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }

    .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 !important;
    }

    /* Ensure all images and containers prevent horizontal scroll */
    .page-resources-sports-betting-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-resources-sports-betting-guide__section,
    .page-resources-sports-betting-guide__container,
    .page-resources-sports-betting-guide__content-wrapper,
    .page-resources-sports-betting-guide__steps-grid,
    .page-resources-sports-betting-guide__grid-2-cols,
    .page-resources-sports-betting-guide__tips-grid,
    .page-resources-sports-betting-guide__promotions-grid,
    .page-resources-sports-betting-guide__features-grid,
    .page-resources-sports-betting-guide__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-resources-sports-betting-guide__main-title {
        font-size: 1.8em;
    }
    .page-resources-sports-betting-guide__intro-description {
        font-size: 0.9em;
    }
    .page-resources-sports-betting-guide__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources-sports-betting-guide__section-title {
        font-size: 1.5em;
    }
}