/* style/sports-betting-guide.css */

/* Base Styles for the page content */
.page-sports-betting-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Dark body background #000000, so light text */
    background-color: transparent; /* Inherit from body or shared */
}

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

.page-sports-betting-guide__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Primary brand color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-sports-betting-guide__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-sports-betting-guide__highlight-text {
    color: #26A9E0;
    font-weight: bold;
}

/* Color contrast classes */
.page-sports-betting-guide__dark-bg {
    background-color: #000000; /* Inherited from body, or explicit dark section */
    color: #ffffff;
}

.page-sports-betting-guide__light-bg {
    background-color: #f8f9fa; /* Light background for contrast */
    color: #333333;
}

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

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

.page-sports-betting-guide__btn-primary:hover {
    background-color: #1e87b7; /* Slightly darker primary */
    border-color: #1e87b7;
}

.page-sports-betting-guide__btn-secondary {
    background-color: transparent;
    color: #26A9E0; /* Primary brand color */
    border: 2px solid #26A9E0;
}

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

/* Hero Section */
.page-sports-betting-guide__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    overflow: hidden;
    text-align: center;
    padding-bottom: 60px; /* Add some bottom padding */
}

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

.page-sports-betting-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5); /* Darken image for text readability */
    /* No filter to change color, only brightness for contrast */
}

.page-sports-betting-guide__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
    color: #ffffff;
}

.page-sports-betting-guide__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-sports-betting-guide__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
}

.page-sports-betting-guide__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Intro Section */
.page-sports-betting-guide__intro-section {
    padding: 80px 0;
    text-align: center;
}

/* Why Choose Section */
.page-sports-betting-guide__why-choose-section {
    padding: 80px 0;
    text-align: center;
}

.page-sports-betting-guide__features-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: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%; /* Ensure cards are same height */
    box-sizing: border-box;
}

.page-sports-betting-guide__feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Min size for images */
    min-height: 200px;
}

.page-sports-betting-guide__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-sports-betting-guide__card-description {
    font-size: 1em;
    color: #ffffff;
    flex-grow: 1; /* Allow description to take available space */
}

/* Betting Types Section */
.page-sports-betting-guide__betting-types-section {
    padding: 80px 0;
    text-align: center;
}

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

.page-sports-betting-guide__betting-type-card {
    background-color: #ffffff;
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    box-sizing: border-box;
}

/* How to Bet Section */
.page-sports-betting-guide__how-to-bet-section {
    padding: 80px 0;
    text-align: left;
}

.page-sports-betting-guide__step-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-sports-betting-guide__list-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 25px 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    padding-left: 80px;
}

.page-sports-betting-guide__list-item::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #26A9E0;
    color: #ffffff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
}

.page-sports-betting-guide__list-item:first-of-type {
    counter-reset: step-counter; /* Reset counter for each section if needed */
}

.page-sports-betting-guide__list-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-sports-betting-guide__list-description {
    font-size: 1em;
    color: #ffffff;
}

/* Tips Section */
.page-sports-betting-guide__tips-section {
    padding: 80px 0;
    text-align: left;
}

.page-sports-betting-guide__tip-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-sports-betting-guide__tip-list .page-sports-betting-guide__list-item {
    background-color: #ffffff;
    color: #333333;
    padding-left: 30px; /* Remove number circle for this list */
}

.page-sports-betting-guide__tip-list .page-sports-betting-guide__list-item::before {
    content: '✓'; /* Checkmark for tips */
    background-color: #26A9E0;
    color: #ffffff;
    font-size: 1.2em;
    width: 30px;
    height: 30px;
    left: -15px; /* Adjust position */
    transform: translateY(-50%) translateX(-50%);
}

.page-sports-betting-guide__tip-list .page-sports-betting-guide__list-title {
    color: #26A9E0;
}

.page-sports-betting-guide__tip-list .page-sports-betting-guide__list-description {
    color: #333333;
}


/* Video Section */
.page-sports-betting-guide__video-section {
    padding: 80px 0;
    text-align: center;
    /* padding-top: var(--header-offset, 120px) is already handled by hero section, don't duplicate */
}

.page-sports-betting-guide__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 800px; /* Max width for video */
    margin: 40px auto;
    background-color: #000;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    cursor: pointer; /* Indicate clickable */
}

.page-sports-betting-guide__video,
.page-sports-betting-guide__video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: cover;
}

.page-sports-betting-guide__video-link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1; /* Make link clickable over video */
}

.page-sports-betting-guide__video-caption {
    margin-top: 20px;
    font-style: italic;
    color: #ccc;
}


/* FAQ Section */
.page-sports-betting-guide__faq-section {
    padding: 80px 0;
    text-align: center;
}

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

.page-sports-betting-guide__faq-item {
    background-color: #ffffff;
    color: #333333;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
    overflow: hidden;
}

.page-sports-betting-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #26A9E0;
    cursor: pointer;
    background-color: #f0f8ff; /* Light background for question */
    border-bottom: 1px solid #e0e0e0;
}

.page-sports-betting-guide__faq-item[open] .page-sports-betting-guide__faq-question {
    border-bottom: 1px solid #d0d0d0;
}

.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.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-sports-betting-guide__faq-item[open] .page-sports-betting-guide__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or '-' */
}

.page-sports-betting-guide__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #555555;
    background-color: #ffffff;
}

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

.page-sports-betting-guide__cta-content {
    background-color: rgba(38, 169, 224, 0.1); /* Light transparent brand color */
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-sports-betting-guide__cta-content .page-sports-betting-guide__section-title {
    color: #ffffff;
}

.page-sports-betting-guide__cta-content .page-sports-betting-guide__text-block {
    color: #f0f0f0;
    margin-bottom: 30px;
}

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

/* Links within text */
.page-sports-betting-guide a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

.page-sports-betting-guide a:hover {
    text-decoration: underline;
}

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

@media (max-width: 768px) {
    .page-sports-betting-guide__hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
        min-height: 60vh;
    }

    .page-sports-betting-guide__hero-image-wrapper {
        position: relative;
        height: 300px; /* Adjust height for mobile */
        filter: brightness(0.7); /* Lighter filter on mobile if needed */
    }

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

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

    .page-sports-betting-guide__hero-description {
        font-size: 1.1em;
    }

    .page-sports-betting-guide__hero-cta-buttons,
    .page-sports-betting-guide__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px; /* Add padding to buttons container */
        box-sizing: border-box;
    }

    .page-sports-betting-guide__btn-primary,
    .page-sports-betting-guide__btn-secondary,
    .page-sports-betting-guide a[class*="button"],
    .page-sports-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-sports-betting-guide__container {
        padding: 0 15px;
    }

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

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

    .page-sports-betting-guide__features-grid,
    .page-sports-betting-guide__betting-types-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-sports-betting-guide__feature-card,
    .page-sports-betting-guide__betting-type-card {
        padding: 25px;
    }

    .page-sports-betting-guide__list-item {
        padding: 20px 20px 20px 60px;
    }

    .page-sports-betting-guide__list-item::before {
        left: 15px;
        width: 35px;
        height: 35px;
        font-size: 1.3em;
    }

    .page-sports-betting-guide__tip-list .page-sports-betting-guide__list-item {
        padding-left: 20px;
    }

    .page-sports-betting-guide__tip-list .page-sports-betting-guide__list-item::before {
        left: -10px;
        width: 25px;
        height: 25px;
        font-size: 1em;
    }

    /* Mobile image responsiveness */
    .page-sports-betting-guide img {
      max-width: 100% !important;
      height: auto !important;
      display: block !important;
    }

    .page-sports-betting-guide__section,
    .page-sports-betting-guide__card,
    .page-sports-betting-guide__container,
    .page-sports-betting-guide__hero-image-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow-x: hidden !important;
    }

    /* Video responsiveness */
    .page-sports-betting-guide video,
    .page-sports-betting-guide__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-sports-betting-guide__video-section,
    .page-sports-betting-guide__video-container,
    .page-sports-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-sports-betting-guide__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-sports-betting-guide__faq-answer {
        padding: 15px 20px;
    }
    
    .page-sports-betting-guide__cta-content {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .page-sports-betting-guide__hero-title {
        font-size: 1.8em;
    }
    .page-sports-betting-guide__hero-description {
        font-size: 0.95em;
    }
    .page-sports-betting-guide__section-title {
        font-size: 1.5em;
    }
    .page-sports-betting-guide__hero-image-wrapper {
        height: 250px;
    }
}