.page-sports-betting-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF5E1; /* Text Main */
    background-color: var(--background-color, #1A202C); /* Assuming dark background from shared.css */
}

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

/* Hero Section */
.page-sports-betting-guide__hero-section {
    position: relative;
    padding-top: 10px; /* Small top margin, as body handles header offset */
    background-color: #B71C1C; /* Background color from custom colors */
    overflow: hidden;
}

.page-sports-betting-guide__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for aesthetic */
    overflow: hidden;
}

.page-sports-betting-guide__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.8); /* Slightly dim the image to help text stand out if needed */
}

.page-sports-betting-guide__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-sports-betting-guide__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Use clamp for H1 font size */
    font-weight: 700;
    color: #FFF5E1;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-sports-betting-guide__description {
    font-size: 1.1rem;
    color: #FFF5E1;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Buttons */
.page-sports-betting-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-sports-betting-guide__cta-buttons--center {
    justify-content: center;
}

.page-sports-betting-guide__btn-primary,
.page-sports-betting-guide__btn-secondary,
.page-sports-betting-guide__btn-outline,
.page-sports-betting-guide__btn-primary-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-sports-betting-guide__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button custom color */
    color: #7A0E0E; /* Deep Red for contrast on gold */
    border: 2px solid transparent;
}

.page-sports-betting-guide__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.page-sports-betting-guide__btn-secondary {
    background-color: #D32F2F; /* Card BG color */
    color: #FFF5E1; /* Text Main */
    border: 2px solid #F2B544; /* Border custom color */
}

.page-sports-betting-guide__btn-secondary:hover {
    background-color: #B71C1C; /* Background color */
    transform: translateY(-2px);
}

.page-sports-betting-guide__btn-primary--large,
.page-sports-betting-guide__btn-secondary--large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.page-sports-betting-guide__btn-primary-small {
    padding: 8px 15px;
    font-size: 0.9rem;
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    color: #7A0E0E;
    border: none;
}
.page-sports-betting-guide__btn-primary-small:hover {
    filter: brightness(1.1);
}

.page-sports-betting-guide__btn-outline {
    background: transparent;
    color: #F4D34D; /* Gold color */
    border: 2px solid #F4D34D;
    padding: 10px 20px;
    margin-top: 15px; /* Added margin-top for spacing */
}

.page-sports-betting-guide__btn-outline:hover {
    background: #F4D34D;
    color: #7A0E0E;
}


/* General Content Sections */
.page-sports-betting-guide__content-section {
    padding: 60px 0;
}

.page-sports-betting-guide__dark-section {
    background-color: #B71C1C; /* Background color */
    color: #FFF5E1;
}

.page-sports-betting-guide__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #F4D34D; /* Gold color */
}

.page-sports-betting-guide__section-title--light {
    color: #FFF5E1;
}

.page-sports-betting-guide__text-block {
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: justify;
    color: #FFF5E1;
}

.page-sports-betting-guide__image-block {
    margin: 40px auto;
    max-width: 800px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-sports-betting-guide__content-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

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

.page-sports-betting-guide__feature-card {
    background-color: #D32F2F; /* Card BG */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    height: 100%;
    box-sizing: border-box;
}

.page-sports-betting-guide__feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFD86A; /* Gold gradient start */
    margin-bottom: 15px;
}

.page-sports-betting-guide__feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-sports-betting-guide__feature-description {
    font-size: 0.95rem;
    color: #FFF5E1;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Step-by-Step Guide */
.page-sports-betting-guide__step-by-step {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-sports-betting-guide__step-item {
    background-color: #D32F2F; /* Card BG */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    position: relative;
    padding-top: 60px; /* Space for step number */
}

.page-sports-betting-guide__step-item::before {
    content: "Bước " counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    top: 20px;
    left: 25px;
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    color: #7A0E0E;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 5px 15px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.page-sports-betting-guide__step-by-step {
    counter-reset: step-counter;
}


.page-sports-betting-guide__step-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #F4D34D; /* Gold color */
    margin-bottom: 15px;
}

.page-sports-betting-guide__step-description {
    font-size: 0.95rem;
    color: #FFF5E1;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Tips List */
.page-sports-betting-guide__tips-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-sports-betting-guide__tip-item {
    background-color: #D32F2F; /* Card BG */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    height: 100%;
    box-sizing: border-box;
}

.page-sports-betting-guide__tip-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #FFD86A; /* Gold gradient start */
    margin-bottom: 10px;
}

.page-sports-betting-guide__tip-description {
    font-size: 0.95rem;
    color: #FFF5E1;
}

/* Promotions List */
.page-sports-betting-guide__promotion-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-sports-betting-guide__promotion-item {
    background-color: #D32F2F; /* Card BG */
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #FFF5E1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-left: 5px solid #F4D34D; /* Gold border */
}

.page-sports-betting-guide__promotion-item strong {
    color: #FFD86A; /* Gold gradient start */
}


/* FAQ Section */
.page-sports-betting-guide__faq-section {
    padding: 60px 0;
    background-color: var(--background-color, #1A202C); /* Assuming dark background from shared.css */
}

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

.page-sports-betting-guide__faq-item {
    background-color: #D32F2F; /* Card BG */
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #FFF5E1;
}

.page-sports-betting-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #FFD86A; /* Gold gradient start */
    cursor: pointer;
    position: relative;
    list-style: none; /* For details/summary */
}

.page-sports-betting-guide__faq-question::-webkit-details-marker {
    display: none;
}

.page-sports-betting-guide__faq-question::marker {
    display: none;
}

.page-sports-betting-guide__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-sports-betting-guide__faq-item[open] .page-sports-betting-guide__faq-toggle {
    transform: rotate(45deg);
}

.page-sports-betting-guide__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: #FFF5E1;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding-top 0.3s ease-out;
}

.page-sports-betting-guide__faq-item[open] .page-sports-betting-guide__faq-answer {
    max-height: 500px; /* Sufficiently large to show content */
    padding-top: 10px;
}

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

/* Bottom CTA Section */
.page-sports-betting-guide__cta-bottom {
    padding: 80px 0;
    text-align: center;
    background-color: #C91F17; /* Main brand color */
    color: #FFF5E1;
}


/* Media Queries */
@media (max-width: 1024px) {
    .page-sports-betting-guide__container {
        padding: 20px 30px;
    }

    .page-sports-betting-guide__hero-content {
        padding: 30px 20px;
    }

    .page-sports-betting-guide__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    .page-sports-betting-guide__description {
        font-size: 1rem;
    }

    .page-sports-betting-guide__btn-primary,
    .page-sports-betting-guide__btn-secondary {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .page-sports-betting-guide__section-title {
        font-size: clamp(1.6rem, 3.8vw, 2.5rem);
    }

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

    .page-sports-betting-guide__feature-title,
    .page-sports-betting-guide__step-title,
    .page-sports-betting-guide__tip-title {
        font-size: 1.3rem;
    }

    .page-sports-betting-guide__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
}

@media (max-width: 768px) {
    /* HERO Chủ đề chính */
    .page-sports-betting-guide__hero-section {
        padding-top: 10px;
    }
    .page-sports-betting-guide__hero-content {
        padding: 20px 15px;
    }
    .page-sports-betting-guide__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-sports-betting-guide__description {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    .page-sports-betting-guide__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Hình ảnh và vùng chứa chung */
    .page-sports-betting-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}