/* style/blog-guide-to-online-sports-betting.css */

/* Variables for colors */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --button-login-color: #EA7C07;
    --background-color: #FFFFFF;
    --black-color: #000000;
    --border-light: #e0e0e0;
}

.page-blog-guide-to-online-sports-betting {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light background */
    background-color: var(--background-color);
}

/* General container for content */
.page-blog-guide-to-online-sports-betting__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Section styling */
.page-blog-guide-to-online-sports-betting__hero-section,
.page-blog-guide-to-online-sports-betting__introduction-section,
.page-blog-guide-to-online-sports-betting__types-section,
.page-blog-guide-to-online-sports-betting__guide-section,
.page-blog-guide-to-online-sports-betting__tips-section,
.page-blog-guide-to-online-sports-betting__safety-section,
.page-blog-guide-to-online-sports-betting__faq-section,
.page-blog-guide-to-online-sports-betting__conclusion-section,
.page-blog-guide-to-online-sports-betting__footer-info {
    padding: 60px 0;
    text-align: center;
}

.page-blog-guide-to-online-sports-betting__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Ensure no overflow from hero image */
}

.page-blog-guide-to-online-sports-betting__dark-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* Hero Image and Content */
.page-blog-guide-to-online-sports-betting__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-blog-guide-to-online-sports-betting__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Cover for desktop hero */
}

.page-blog-guide-to-online-sports-betting__hero-content {
    max-width: 900px;
    margin-top: 40px;
    padding: 0 20px;
}

/* Titles and descriptions */
.page-blog-guide-to-online-sports-betting__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 900px; /* Limit H1 width */
    margin-left: auto;
    margin-right: auto;
}

.page-blog-guide-to-online-sports-betting__description {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-blog-guide-to-online-sports-betting__description--light {
    color: var(--text-light);
}

.page-blog-guide-to-online-sports-betting__section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-weight: 700;
}

.page-blog-guide-to-online-sports-betting__section-title--light {
    color: var(--text-light);
}

.page-blog-guide-to-online-sports-betting__sub-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-blog-guide-to-online-sports-betting__sub-title--light {
    color: var(--text-light);
}

/* Content Layout (text + image) */
.page-blog-guide-to-online-sports-betting__content-wrapper {
    display: flex;
    align-items: flex-start; /* Align items to the top */
    gap: 40px;
    text-align: left;
    margin-top: 40px;
}

.page-blog-guide-to-online-sports-betting__content-wrapper--reverse {
    flex-direction: row-reverse;
}

.page-blog-guide-to-online-sports-betting__text-content {
    flex: 1;
    min-width: 0; /* Allow flex item to shrink */
}

.page-blog-guide-to-online-sports-betting__text-content--light {
    color: var(--text-light);
}

.page-blog-guide-to-online-sports-betting__text-content p {
    margin-bottom: 15px;
}

.page-blog-guide-to-online-sports-betting__image-container {
    flex: 0 0 400px; /* Fixed width for image container on desktop */
    max-width: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.page-blog-guide-to-online-sports-betting__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Lists */
.page-blog-guide-to-online-sports-betting__list {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-blog-guide-to-online-sports-betting__text-content--light .page-blog-guide-to-online-sports-betting__list {
    color: var(--text-light);
}

.page-blog-guide-to-online-sports-betting__list li {
    margin-bottom: 10px;
}

/* Buttons */
.page-blog-guide-to-online-sports-betting__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-blog-guide-to-online-sports-betting__btn-primary,
.page-blog-guide-to-online-sports-betting__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    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; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
    max-width: 100%; /* Ensure button doesn't overflow */
}

.page-blog-guide-to-online-sports-betting__btn-primary {
    background-color: var(--button-login-color); /* Using login color for primary CTA */
    color: var(--text-light);
    border: 2px solid var(--button-login-color);
}

.page-blog-guide-to-online-sports-betting__btn-primary:hover {
    background-color: #D46F06; /* Slightly darker */
    border-color: #D46F06;
}

.page-blog-guide-to-online-sports-betting__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-blog-guide-to-online-sports-betting__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-blog-guide-to-online-sports-betting__btn-secondary--light {
    color: var(--text-light);
    border-color: var(--text-light);
}

.page-blog-guide-to-online-sports-betting__btn-secondary--light:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

/* FAQ Section */
.page-blog-guide-to-online-sports-betting__faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.page-blog-guide-to-online-sports-betting__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: left;
    overflow: hidden;
}

.page-blog-guide-to-online-sports-betting__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--primary-color);
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid transparent; /* default */
    transition: border-bottom-color 0.3s ease;
}

.page-blog-guide-to-online-sports-betting__faq-item[open] .page-blog-guide-to-online-sports-betting__faq-question {
    border-bottom-color: var(--border-light);
}

.page-blog-guide-to-online-sports-betting__faq-question:hover {
    background-color: #f0f0f0;
}

.page-blog-guide-to-online-sports-betting__faq-qtext {
    flex-grow: 1;
}

.page-blog-guide-to-online-sports-betting__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--primary-color);
}

.page-blog-guide-to-online-sports-betting__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1rem;
    color: var(--text-dark);
}

.page-blog-guide-to-online-sports-betting__faq-answer p {
    margin-bottom: 0;
}

/* For <details> tag, hide default marker */
.page-blog-guide-to-online-sports-betting__faq-item summary {
    list-style: none;
}

.page-blog-guide-to-online-sports-betting__faq-item summary::-webkit-details-marker {
    display: none;
}

/* Footer Info */
.page-blog-guide-to-online-sports-betting__footer-info {
    padding: 30px 0;
    background-color: #f5f5f5;
    text-align: center;
}

.page-blog-guide-to-online-sports-betting__copyright {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* --- Responsive Styles --- */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .page-blog-guide-to-online-sports-betting__container {
        padding: 15px;
    }

    .page-blog-guide-to-online-sports-betting__hero-section,
    .page-blog-guide-to-online-sports-betting__introduction-section,
    .page-blog-guide-to-online-sports-betting__types-section,
    .page-blog-guide-to-online-sports-betting__guide-section,
    .page-blog-guide-to-online-sports-betting__tips-section,
    .page-blog-guide-to-online-sports-betting__safety-section,
    .page-blog-guide-to-online-sports-betting__faq-section,
    .page-blog-guide-to-online-sports-betting__conclusion-section {
        padding: 40px 0;
    }

    .page-blog-guide-to-online-sports-betting__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .page-blog-guide-to-online-sports-betting__section-title {
        font-size: 2rem;
    }

    .page-blog-guide-to-online-sports-betting__sub-title {
        font-size: 1.5rem;
    }

    .page-blog-guide-to-online-sports-betting__content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .page-blog-guide-to-online-sports-betting__content-wrapper--reverse {
        flex-direction: column; /* Also column on tablet */
    }

    .page-blog-guide-to-online-sports-betting__image-container {
        flex: 0 0 auto;
        max-width: 100%;
        margin-top: 30px;
    }

    .page-blog-guide-to-online-sports-betting__text-content {
        width: 100%;
    }

    .page-blog-guide-to-online-sports-betting__cta-buttons {
        gap: 15px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* Hero Section */
    .page-blog-guide-to-online-sports-betting__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
    }
    .page-blog-guide-to-online-sports-betting__hero-image {
        object-fit: contain !important; /* Mobile hero image: contain, no cropping */
        aspect-ratio: unset !important;
        max-height: none !important;
    }
    .page-blog-guide-to-online-sports-betting__hero-content {
        margin-top: 20px;
        padding: 0 15px;
    }
    .page-blog-guide-to-online-sports-betting__main-title {
        font-size: 1.8rem !important; /* Smaller H1 for mobile */
        margin-bottom: 15px;
    }
    .page-blog-guide-to-online-sports-betting__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    /* General sections */
    .page-blog-guide-to-online-sports-betting__container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-blog-guide-to-online-sports-betting__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .page-blog-guide-to-online-sports-betting__sub-title {
        font-size: 1.3rem;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    /* Images and containers */
    .page-blog-guide-to-online-sports-betting img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-blog-guide-to-online-sports-betting__section,
    .page-blog-guide-to-online-sports-betting__card,
    .page-blog-guide-to-online-sports-betting__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Buttons and button containers */
    .page-blog-guide-to-online-sports-betting__cta-button,
    .page-blog-guide-to-online-sports-betting__btn-primary,
    .page-blog-guide-to-online-sports-betting__btn-secondary,
    .page-blog-guide-to-online-sports-betting a[class*="button"],
    .page-blog-guide-to-online-sports-betting 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-blog-guide-to-online-sports-betting__cta-buttons,
    .page-blog-guide-to-online-sports-betting__button-group,
    .page-blog-guide-to-online-sports-betting__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px;
    }

    /* FAQ Section */
    .page-blog-guide-to-online-sports-betting__faq-question {
        font-size: 1rem;
        padding: 15px;
    }
    .page-blog-guide-to-online-sports-betting__faq-answer {
        padding: 0 15px 15px 15px;
    }

    /* Footer */
    .page-blog-guide-to-online-sports-betting__footer-info {
        padding: 20px 0;
    }
}