:root {
    --page-betting-guide-primary-color: #11A84E;
    --page-betting-guide-secondary-color: #22C768;
    --page-betting-guide-bg-dark: #08160F; /* Background */
    --page-betting-guide-bg-card: #11271B; /* Card BG */
    --page-betting-guide-text-main: #F2FFF6; /* Text Main */
    --page-betting-guide-text-secondary: #A7D9B8; /* Text Secondary */
    --page-betting-guide-border-color: #2E7A4E; /* Border */
    --page-betting-guide-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    --page-betting-guide-glow-color: #57E38D; /* Glow */
    --page-betting-guide-gold-color: #F2C14E; /* Gold */
    --page-betting-guide-divider-color: #1E3A2A; /* Divider */
    --page-betting-guide-deep-green-color: #0A4B2C; /* Deep Green */

    --page-betting-guide-max-width: 1200px;
    --page-betting-guide-padding-x: 20px;
}

.page-betting-guide {
    background-color: var(--page-betting-guide-bg-dark); /* Assume dark body background from shared.css, use page-specific dark background */
    color: var(--page-betting-guide-text-main); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-betting-guide__container {
    max-width: var(--page-betting-guide-max-width);
    margin: 0 auto;
    padding: 0 var(--page-betting-guide-padding-x);
}

.page-betting-guide__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px var(--page-betting-guide-padding-x);
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--page-betting-guide-bg-dark); /* Ensure dark background */
    overflow: hidden; /* For image */
}

.page-betting-guide__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit hero image height */
    overflow: hidden;
    margin-bottom: 20px;
}

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

.page-betting-guide__hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    color: var(--page-betting-guide-text-main);
}

.page-betting-guide__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--page-betting-guide-text-main);
}

.page-betting-guide__description {
    font-size: 1.125rem;
    margin-bottom: 30px;
    color: var(--page-betting-guide-text-secondary);
}

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

.page-betting-guide__btn-primary,
.page-betting-guide__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    text-align: center;
}

.page-betting-guide__btn-primary {
    background: var(--page-betting-guide-btn-gradient);
    color: var(--page-betting-guide-text-main); /* White-ish text on green gradient */
    border: none;
}

.page-betting-guide__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-betting-guide__btn-primary--large {
    padding: 16px 40px;
    font-size: 1.15rem;
}

.page-betting-guide__btn-secondary {
    background-color: transparent;
    color: var(--page-betting-guide-primary-color);
    border: 2px solid var(--page-betting-guide-primary-color);
}

.page-betting-guide__btn-secondary:hover {
    background-color: var(--page-betting-guide-primary-color);
    color: var(--page-betting-guide-text-main);
}

.page-betting-guide__btn-text {
    color: var(--page-betting-guide-primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-betting-guide__btn-text:hover {
    color: var(--page-betting-guide-secondary-color);
}

.page-betting-guide__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: var(--page-betting-guide-primary-color);
}

.page-betting-guide__section-title--white {
    color: var(--page-betting-guide-text-main);
}

.page-betting-guide__description--white {
    color: var(--page-betting-guide-text-secondary);
}

.page-betting-guide__light-bg {
    background-color: var(--page-betting-guide-bg-dark); /* Use dark background but with lighter elements inside */
    color: var(--page-betting-guide-text-main);
    padding: 60px 0;
}

.page-betting-guide__dark-section {
    background-color: var(--page-betting-guide-bg-card); /* Use card background for contrast */
    color: var(--page-betting-guide-text-main);
    padding: 60px 0;
}

.page-betting-guide__introduction-section .page-betting-guide__section-title {
    color: var(--page-betting-guide-text-main);
}
.page-betting-guide__introduction-section p {
    color: var(--page-betting-guide-text-secondary);
    text-align: center;
    margin-bottom: 40px;
}

.page-betting-guide__image-text-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-betting-guide__image-content {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    width: 100%;
    height: auto;
    display: block;
}

.page-betting-guide__text-content {
    flex: 1;
}

.page-betting-guide__sub-title {
    font-size: 1.5rem;
    color: var(--page-betting-guide-primary-color);
    margin-bottom: 15px;
}

.page-betting-guide__text-content ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-betting-guide__text-content ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--page-betting-guide-text-secondary);
}

.page-betting-guide__text-content ul li strong {
    color: var(--page-betting-guide-text-main);
}

.page-betting-guide__text-content ul li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--page-betting-guide-primary-color);
}

.page-betting-guide__step-by-step-guide .page-betting-guide__description {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-betting-guide__step-card {
    background-color: var(--page-betting-guide-bg-dark); /* Darker background for step cards */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-betting-guide-border-color);
}

.page-betting-guide__step-icon {
    width: 60px;
    height: 60px;
    background: var(--page-betting-guide-btn-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--page-betting-guide-text-main);
    margin: 0 auto 20px auto;
    box-shadow: 0 0 15px var(--page-betting-guide-glow-color);
}

.page-betting-guide__step-title {
    font-size: 1.3rem;
    color: var(--page-betting-guide-text-main);
    margin-bottom: 15px;
}

.page-betting-guide__step-card p {
    color: var(--page-betting-guide-text-secondary);
    margin-bottom: 20px;
}

.page-betting-guide__betting-types .page-betting-guide__section-title {
    color: var(--page-betting-guide-text-main);
}
.page-betting-guide__betting-types p {
    color: var(--page-betting-guide-text-secondary);
    text-align: center;
    margin-bottom: 40px;
}

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

.page-betting-guide__type-card.page-betting-guide__card {
    background-color: var(--page-betting-guide-bg-card); /* Card BG color */
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid var(--page-betting-guide-border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-betting-guide__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-betting-guide__card-title {
    font-size: 1.4rem;
    color: var(--page-betting-guide-text-main);
    margin-bottom: 10px;
    flex-grow: 1; /* Allow title to take available space */
}

.page-betting-guide__card-title a {
    color: var(--page-betting-guide-text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-betting-guide__card-title a:hover {
    color: var(--page-betting-guide-primary-color);
}

.page-betting-guide__card-description {
    color: var(--page-betting-guide-text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.page-betting-guide__tips-section .page-betting-guide__description {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-betting-guide__tip-item {
    background-color: var(--page-betting-guide-bg-dark); /* Darker background for tips */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-betting-guide-border-color);
}

.page-betting-guide__tip-title {
    font-size: 1.3rem;
    color: var(--page-betting-guide-primary-color);
    margin-bottom: 15px;
}

.page-betting-guide__tip-item p {
    color: var(--page-betting-guide-text-secondary);
}

.page-betting-guide__faq-section .page-betting-guide__section-title {
    color: var(--page-betting-guide-text-main);
}
.page-betting-guide__faq-section p {
    color: var(--page-betting-guide-text-secondary);
    text-align: center;
    margin-bottom: 40px;
}

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

.page-betting-guide__faq-item {
    background-color: var(--page-betting-guide-bg-card); /* Card BG for FAQ items */
    border: 1px solid var(--page-betting-guide-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-betting-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--page-betting-guide-text-main);
    cursor: pointer;
    background-color: var(--page-betting-guide-bg-card);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-betting-guide__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome/Safari */
}

.page-betting-guide__faq-question:hover {
    background-color: var(--page-betting-guide-deep-green-color);
}

.page-betting-guide__faq-qtext {
    flex-grow: 1;
}

.page-betting-guide__faq-toggle {
    font-size: 1.5rem;
    margin-left: 15px;
    color: var(--page-betting-guide-primary-color);
}

.page-betting-guide__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: var(--page-betting-guide-text-secondary);
    line-height: 1.7;
}

.page-betting-guide__call-to-action {
    text-align: center;
    padding: 80px 0;
}

.page-betting-guide__flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-betting-guide__cta-content {
    max-width: 800px;
}

@media (max-width: 1024px) {
    .page-betting-guide__hero-section {
        padding: 40px var(--page-betting-guide-padding-x);
        padding-top: 10px;
    }
    .page-betting-guide__main-title {
        font-size: clamp(2.2rem, 4.5vw, 3rem);
    }
    .page-betting-guide__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-betting-guide__image-text-block {
        flex-direction: column;
        text-align: center;
    }
    .page-betting-guide__text-content ul {
        text-align: left; /* Keep list text left-aligned */
    }
}

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

    .page-betting-guide__section,
    .page-betting-guide__card,
    .page-betting-guide__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-betting-guide__hero-section,
    .page-betting-guide__introduction-section,
    .page-betting-guide__step-by-step-guide,
    .page-betting-guide__betting-types,
    .page-betting-guide__tips-section,
    .page-betting-guide__faq-section,
    .page-betting-guide__call-to-action {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-betting-guide__hero-section {
        padding-top: 10px !important; /* body handles --header-offset, this is decorative */
    }

    .page-betting-guide__main-title {
        font-size: clamp(2rem, 7vw, 2.5rem); /* Adjust for smaller screens */
    }

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

    .page-betting-guide__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }

    .page-betting-guide__btn-primary,
    .page-betting-guide__btn-secondary,
    .page-betting-guide a[class*="button"],
    .page-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;
    }

    .page-betting-guide img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-betting-guide__card-image {
        height: auto !important; /* Allow card images to adapt */
    }

    .page-betting-guide video,
    .page-betting-guide__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-betting-guide__video-section,
    .page-betting-guide__video-container,
    .page-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;
    }

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

    .page-betting-guide__faq-answer {
        padding: 0 20px 15px 20px;
    }

    .page-betting-guide__image-text-block {
        gap: 20px;
    }
}

.page-betting-guide__dark-bg {
  color: var(--page-betting-guide-text-main); /* Light text */
  background: var(--page-betting-guide-bg-dark);
}

.page-betting-guide__light-bg {
  color: var(--page-betting-guide-text-main); /* Light text on slightly lighter dark background */
  background: var(--page-betting-guide-bg-dark);
}

.page-betting-guide__medium-bg {
  color: var(--page-betting-guide-text-main); /* Light text */
  background: var(--page-betting-guide-secondary-color); /* A bit brighter green */
}

.page-betting-guide__content-area,
.page-betting-guide__text-block {
  color: var(--page-betting-guide-text-main);
}

.page-betting-guide p,
.page-betting-guide li {
  color: var(--page-betting-guide-text-secondary);
}

.page-betting-guide__card {
  background: var(--page-betting-guide-bg-card); /* Card BG color */
  color: var(--page-betting-guide-text-main);
  border: 1px solid var(--page-betting-guide-border-color);
}

.page-betting-guide__dark-section {
  background: var(--page-betting-guide-bg-card); /* Deep green for dark sections */
  color: var(--page-betting-guide-text-main); /* Forced white text */
}

.page-betting-guide__btn-primary {
  background: var(--page-betting-guide-btn-gradient);
  color: var(--page-betting-guide-text-main); /* Button text white */
  border: 2px solid transparent;
}

.page-betting-guide__btn-secondary {
  background-color: transparent;
  color: var(--page-betting-guide-primary-color); /* Brand color for text */
  border: 2px solid var(--page-betting-guide-primary-color);
}