/* 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; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

/* Sections */
.page-sports-betting-guide__section {
    padding: 60px 20px;
    margin-bottom: 0; /* No margin between sections */
}

.page-sports-betting-guide__dark-bg {
    background-color: #000000; /* Dark background from shared.css */
    color: #ffffff;
}

.page-sports-betting-guide__light-bg {
    background-color: #1a1a1a; /* Slightly lighter dark for contrast sections */
    color: #ffffff;
}

/* Hero Section */
.page-sports-betting-guide__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px; /* Minimum height for hero */
    padding: 100px 20px 60px; /* Adjust padding for content */
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background-color: #000000; /* Dark background */
    overflow: hidden; /* Prevent image overflow */
}

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

.page-sports-betting-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Slightly dim image for text readability */
    filter: none; /* No color filters */
}

.page-sports-betting-guide__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    color: #ffffff;
}

.page-sports-betting-guide__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-sports-betting-guide__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-sports-betting-guide__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Buttons */
.page-sports-betting-guide__btn-primary,
.page-sports-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;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Ensure buttons are responsive */
}

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

.page-sports-betting-guide__btn-primary:hover {
    background-color: #1a8cc4;
    border-color: #1a8cc4;
}

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

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

/* Content Area */
.page-sports-betting-guide__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Padding within the max-width */
}

.page-sports-betting-guide__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: #26A9E0;
}

.page-sports-betting-guide__sub-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #26A9E0;
}

.page-sports-betting-guide__paragraph {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #f0f0f0; /* Light text for dark backgrounds */
}

.page-sports-betting-guide__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-sports-betting-guide__ordered-list {
    list-style: decimal;
    margin-left: 25px;
    margin-bottom: 15px;
    color: #f0f0f0;
}

.page-sports-betting-guide__list-item {
    margin-bottom: 8px;
    font-size: 1.1em;
}

.page-sports-betting-guide__list-item strong {
    color: #26A9E0; /* Highlight important text */
}

.page-sports-betting-guide__paragraph a,
.page-sports-betting-guide__list-item a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-sports-betting-guide__paragraph a:hover,
.page-sports-betting-guide__list-item a:hover {
    color: #1a8cc4;
}

/* Images within content */
.page-sports-betting-guide__image-container {
    text-align: center;
    margin: 40px 0;
}

.page-sports-betting-guide__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    filter: none; /* No color filters */
    display: block; /* Ensure it behaves as a block element */
    margin: 0 auto; /* Center image */
}

/* Button Group for multiple buttons */
.page-sports-betting-guide__button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap */
}

/* FAQ Section */
.page-sports-betting-guide__faq-list {
    margin-top: 30px;
}

.page-sports-betting-guide__faq-item {
    background-color: #1a1a1a; /* Slightly lighter dark for FAQ items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-sports-betting-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #26A9E0; /* Brand color for question background */
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
    list-style: none; /* Remove default marker for details summary */
}

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

.page-sports-betting-guide__faq-question:hover {
    background-color: #1a8cc4;
}

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

.page-sports-betting-guide__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-sports-betting-guide__faq-item[open] .page-sports-betting-guide__faq-toggle {
    transform: rotate(45deg); /* Rotate for open state, if using + icon */
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-sports-betting-guide__hero-title {
        font-size: 2.5em;
    }
    .page-sports-betting-guide__hero-description {
        font-size: 1.1em;
    }
    .page-sports-betting-guide__section-title {
        font-size: 2em;
    }
    .page-sports-betting-guide__sub-title {
        font-size: 1.5em;
    }
}

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

    .page-sports-betting-guide__hero-section {
        padding: 80px 15px 40px;
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    }

    .page-sports-betting-guide__hero-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

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

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

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

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

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

    .page-sports-betting-guide__sub-title {
        font-size: 1.3em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-sports-betting-guide__paragraph,
    .page-sports-betting-guide__list-item {
        font-size: 1em;
    }

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

    .page-sports-betting-guide__image-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding: 0 15px; /* Add padding to image container */
    }

    /* Mobile video responsiveness - although no video is added, keep the rule */
    .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 {
        padding: 15px 20px;
        font-size: 1.1em;
    }

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