.page-resources-live-betting-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

/* Hero Section */
.page-resources-live-betting-guide__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    padding-bottom: 60px;
    text-align: center;
    overflow: hidden; /* Prevent content overflow */
    background-color: #0a0a0a; /* Dark background */
    color: #ffffff; /* Light text */
}

.page-resources-live-betting-guide__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-live-betting-guide__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff; /* Ensure light color for contrast */
}

.page-resources-live-betting-guide__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0; /* Slightly off-white for description */
}

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

.page-resources-live-betting-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: brightness(0.7); /* Darken image for better text contrast */
}

/* General Section Styling */
.page-resources-live-betting-guide__section {
    padding: 60px 0;
    background-color: #0a0a0a;
    color: #ffffff;
}

.page-resources-live-betting-guide__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #ffffff;
}

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

/* Buttons */
.page-resources-live-betting-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-resources-live-betting-guide__cta-buttons--centered {
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.page-resources-live-betting-guide__btn-primary,
.page-resources-live-betting-guide__btn-secondary {
    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;
    box-sizing: border-box; /* Include padding in width calculation */
    max-width: 100%; /* Ensure button doesn't overflow */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    text-align: center; /* Center button text */
}

.page-resources-live-betting-guide__btn-primary {
    background-color: #26A9E0; /* Main brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-resources-live-betting-guide__btn-primary:hover {
    background-color: #1e87c2; /* Slightly darker on hover */
    border-color: #1e87c2;
}

.page-resources-live-betting-guide__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources-live-betting-guide__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-resources-live-betting-guide__btn-primary--large,
.page-resources-live-betting-guide__btn-secondary--large {
    padding: 18px 35px;
    font-size: 1.1em;
}

/* Feature List (Why Choose section) */
.page-resources-live-betting-guide__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin-top: 50px;
}

.page-resources-live-betting-guide__feature-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly visible card on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-live-betting-guide__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand color for titles */
}

/* How to Bet Guide */
.page-resources-live-betting-guide__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

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

.page-resources-live-betting-guide__guide-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #26A9E0;
}

/* Image container for content images */
.page-resources-live-betting-guide__image-container {
    text-align: center;
    margin: 40px 0;
    overflow: hidden; /* Ensure image container doesn't overflow */
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.page-resources-live-betting-guide__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block; /* Ensure block-level for max-width/height auto */
    margin: 0 auto; /* Center image */
}

/* Betting Strategies */
.page-resources-live-betting-guide__strategy-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

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

.page-resources-live-betting-guide__strategy-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #26A9E0;
}

/* Security Section */
.page-resources-live-betting-guide__security-features {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    font-size: 1.1em;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.page-resources-live-betting-guide__security-item {
    padding-left: 30px;
    position: relative;
}

.page-resources-live-betting-guide__security-item::before {
    content: '✅'; /* Checkmark icon */
    position: absolute;
    left: 0;
    color: #26A9E0;
}

/* Other Games */
.page-resources-live-betting-guide__game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-live-betting-guide__card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly more prominent card */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff; /* Ensure light text on card */
}

.page-resources-live-betting-guide__card-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-resources-live-betting-guide__card-title a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources-live-betting-guide__card-title a:hover {
    color: #ffffff;
}

.page-resources-live-betting-guide__card-link {
    display: inline-block;
    margin-top: 20px;
    color: #ffffff;
    background-color: #26A9E0;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.page-resources-live-betting-guide__card-link:hover {
    background-color: #1e87c2;
}

/* Promotions Section */
.page-resources-live-betting-guide__promotions {
    background-color: #0a0a0a;
    color: #ffffff;
}

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

.page-resources-live-betting-guide__promo-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-live-betting-guide__promo-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #26A9E0;
}

/* FAQ Section */
.page-resources-live-betting-guide__faq {
    background-color: #0a0a0a;
    color: #ffffff;
}

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

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

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

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

.page-resources-live-betting-guide__faq-question h3 {
    margin: 0;
    color: #ffffff; /* Ensure white text for question */
}

.page-resources-live-betting-guide__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #26A9E0; /* Brand color for toggle icon */
}

.page-resources-live-betting-guide__faq-item.active .page-resources-live-betting-guide__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-live-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; /* Light text for answer */
}

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

/* Final CTA Section */
.page-resources-live-betting-guide__final-cta {
    background-color: #26A9E0; /* Use main brand color for this section */
    color: #ffffff;
    text-align: center;
    padding: 80px 0;
}

.page-resources-live-betting-guide__final-cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-live-betting-guide__final-cta .page-resources-live-betting-guide__section-title {
    color: #ffffff;
}

.page-resources-live-betting-guide__final-cta .page-resources-live-betting-guide__text-block {
    font-size: 1.2em;
    margin-bottom: 50px;
}

.page-resources-live-betting-guide__final-cta .page-resources-live-betting-guide__btn-primary {
    background-color: #ffffff;
    color: #26A9E0;
    border-color: #ffffff;
}

.page-resources-live-betting-guide__final-cta .page-resources-live-betting-guide__btn-primary:hover {
    background-color: #f0f0f0;
    color: #1e87c2;
    border-color: #f0f0f0;
}

.page-resources-live-betting-guide__final-cta .page-resources-live-betting-guide__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.page-resources-live-betting-guide__final-cta .page-resources-live-betting-guide__btn-secondary:hover {
    background-color: #ffffff;
    color: #26A9E0;
    border-color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-live-betting-guide__hero-title {
        font-size: 3em;
    }
    .page-resources-live-betting-guide__section-title {
        font-size: 2em;
    }
    .page-resources-live-betting-guide__feature-list,
    .page-resources-live-betting-guide__guide-steps,
    .page-resources-live-betting-guide__strategy-list,
    .page-resources-live-betting-guide__game-cards,
    .page-resources-live-betting-guide__promo-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-resources-live-betting-guide {
        overflow-x: hidden;
    }

    .page-resources-live-betting-guide__hero-section {
        padding-bottom: 40px;
    }

    .page-resources-live-betting-guide__hero-title {
        font-size: 2.2em;
    }

    .page-resources-live-betting-guide__hero-description {
        font-size: 1em;
    }

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

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

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

    .page-resources-live-betting-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-resources-live-betting-guide__image-container,
    .page-resources-live-betting-guide__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-resources-live-betting-guide__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px; /* Add padding to prevent overflow */
    }

    .page-resources-live-betting-guide__btn-primary,
    .page-resources-live-betting-guide__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-live-betting-guide__btn-primary--large,
    .page-resources-live-betting-guide__btn-secondary--large {
        padding: 15px 25px !important;
        font-size: 1.1em !important;
    }

    .page-resources-live-betting-guide__container,
    .page-resources-live-betting-guide__feature-item,
    .page-resources-live-betting-guide__guide-item,
    .page-resources-live-betting-guide__strategy-item,
    .page-resources-live-betting-guide__card,
    .page-resources-live-betting-guide__promo-item,
    .page-resources-live-betting-guide__faq-item {
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .page-resources-live-betting-guide__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Re-apply header offset for mobile if needed */
   }}