:root {
    --primary-color: #C91F17;
    --secondary-color: #E53935;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    --card-bg: #D32F2F;
    --body-bg: #B71C1C;
    --text-main: #FFF5E1;
    --border-color: #F2B544;
    --glow-color: #FFCC66;
    --gold-color: #F4D34D;
    --deep-red: #7A0E0E;
}

.page-blog-how-to-choose-online-betting-site {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for the page content */
    background-color: var(--body-bg); /* Page background from custom colors */
}

.page-blog-how-to-choose-online-betting-site__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-blog-how-to-choose-online-betting-site__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--text-main);
    background-color: var(--deep-red); /* A slightly darker red for the hero background */
    padding-bottom: 40px;
}

.page-blog-how-to-choose-online-betting-site__hero-image {
    width: 100%;
    max-height: 500px; /* Limit height for desktop */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-blog-how-to-choose-online-betting-site__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9;
    min-width: 200px;
    min-height: 200px;
}

.page-blog-how-to-choose-online-betting-site__hero-content {
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-blog-how-to-choose-online-betting-site__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--gold-color); /* Use gold for main title for prominence */
}

.page-blog-how-to-choose-online-betting-site__description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-main);
}

.page-blog-how-to-choose-online-betting-site__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

.page-blog-how-to-choose-online-betting-site__btn-primary,
.page-blog-how-to-choose-online-betting-site__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    min-width: 180px; /* Ensure buttons have a minimum width */
}

.page-blog-how-to-choose-online-betting-site__btn-primary {
    background: var(--button-gradient);
    color: var(--deep-red); /* Text color on gold gradient button */
    border: 2px solid var(--gold-color);
}

.page-blog-how-to-choose-online-betting-site__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-blog-how-to-choose-online-betting-site__btn-secondary {
    background: var(--deep-red); /* Darker red for secondary button background */
    color: var(--gold-color); /* Gold text on red background */
    border: 2px solid var(--gold-color);
}

.page-blog-how-to-choose-online-betting-site__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background-color: var(--primary-color);
}

/* Content Sections */
.page-blog-how-to-choose-online-betting-site__content-section {
    padding: 60px 0;
    margin-bottom: 0; /* Remove default margin-bottom */
}

.page-blog-how-to-choose-online-betting-site__dark-bg {
    background-color: var(--card-bg); /* Use card-bg for dark sections */
    color: var(--text-main);
}

.page-blog-how-to-choose-online-betting-site__content-section:nth-child(even) {
    background-color: var(--deep-red); /* Alternate background for content sections */
}

.page-blog-how-to-choose-online-betting-site__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--gold-color);
    line-height: 1.3;
}

.page-blog-how-to-choose-online-betting-site__article-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
    font-size: 1.05rem;
    color: var(--text-main); /* Ensure text color is light on dark background */
}

.page-blog-how-to-choose-online-betting-site__article-body h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--gold-color);
}

.page-blog-how-to-choose-online-betting-site__article-body p {
    margin-bottom: 1em;
    color: var(--text-main);
}

.page-blog-how-to-choose-online-betting-site__article-body ul,
.page-blog-how-to-choose-online-betting-site__article-body ol {
    margin-bottom: 1em;
    padding-left: 25px;
    color: var(--text-main);
}

.page-blog-how-to-choose-online-betting-site__article-body li {
    margin-bottom: 0.5em;
    color: var(--text-main);
}

.page-blog-how-to-choose-online-betting-site__article-body strong {
    color: var(--gold-color);
}

.page-blog-how-to-choose-online-betting-site__article-figure {
    margin: 40px auto;
    max-width: 800px;
    text-align: center;
    background-color: var(--deep-red); /* Figure background */
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-blog-how-to-choose-online-betting-site__article-figure img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    min-width: 200px;
    min-height: 200px;
}

.page-blog-how-to-choose-online-betting-site__article-figure figcaption {
    font-size: 0.9em;
    color: var(--text-main);
    margin-top: 10px;
    font-style: italic;
}

/* FAQ Section */
.page-blog-how-to-choose-online-betting-site__faq-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

details.page-blog-how-to-choose-online-betting-site__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color); /* Gold border for FAQ items */
    overflow: hidden;
    background: var(--card-bg); /* Use card-bg for FAQ item background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

details.page-blog-how-to-choose-online-betting-site__faq-item summary.page-blog-how-to-choose-online-betting-site__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    background-color: var(--card-bg);
    color: var(--text-main);
}

details.page-blog-how-to-choose-online-betting-site__faq-item summary.page-blog-how-to-choose-online-betting-site__faq-question::-webkit-details-marker {
    display: none;
}

details.page-blog-how-to-choose-online-betting-site__faq-item summary.page-blog-how-to-choose-online-betting-site__faq-question:hover {
    background: var(--deep-red); /* Darker red on hover */
}

.page-blog-how-to-choose-online-betting-site__faq-qtext {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main);
}

.page-blog-how-to-choose-online-betting-site__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--gold-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}

details.page-blog-how-to-choose-online-betting-site__faq-item .page-blog-how-to-choose-online-betting-site__faq-answer {
    padding: 0 20px 20px;
    background: var(--deep-red); /* Darker red for answer background */
    border-radius: 0 0 8px 8px;
    color: var(--text-main);
}

.page-blog-how-to-choose-online-betting-site__faq-answer p {
    color: var(--text-main);
}

/* General image rules for content images */
.page-blog-how-to-choose-online-betting-site__content-area img,
.page-blog-how-to-choose-online-betting-site__article-body img {
    min-width: 200px;
    min-height: 200px;
    object-fit: contain;
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .page-blog-how-to-choose-online-betting-site__container {
        padding: 15px;
    }

    .page-blog-how-to-choose-online-betting-site__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .page-blog-how-to-choose-online-betting-site__description {
        font-size: 1rem;
    }

    .page-blog-how-to-choose-online-betting-site__section-title {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .page-blog-how-to-choose-online-betting-site__btn-primary,
    .page-blog-how-to-choose-online-betting-site__btn-secondary {
        padding: 12px 25px;
        font-size: 1rem;
    }
}


@media (max-width: 768px) {
    /* General content area padding and sizing */
    .page-blog-how-to-choose-online-betting-site__container,
    .page-blog-how-to-choose-online-betting-site__article-body,
    .page-blog-how-to-choose-online-betting-site__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* All images must be responsive */
    .page-blog-how-to-choose-online-betting-site img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Enforce min-width 200px */
        min-height: 200px !important; /* Enforce min-height 200px */
    }

    /* HERO Section */
    .page-blog-how-to-choose-online-betting-site__hero-section {
        padding-top: 10px; /* Small top padding for mobile */
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

    .page-blog-how-to-choose-online-betting-site__hero-image {
        max-height: unset; /* Remove max-height for mobile hero */
        margin-bottom: 20px;
    }

    .page-blog-how-to-choose-online-betting-site__hero-image img {
        object-fit: contain !important; /* Ensure hero image is not cropped */
        aspect-ratio: unset !important; /* Allow natural aspect ratio or flex */
    }

    .page-blog-how-to-choose-online-betting-site__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-blog-how-to-choose-online-betting-site__description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    /* CTA Buttons */
    .page-blog-how-to-choose-online-betting-site__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }

    .page-blog-how-to-choose-online-betting-site__btn-primary,
    .page-blog-how-to-choose-online-betting-site__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 15px !important;
        font-size: 1rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Content Sections */
    .page-blog-how-to-choose-online-betting-site__content-section {
        padding: 40px 0;
    }

    .page-blog-how-to-choose-online-betting-site__section-title {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .page-blog-how-to-choose-online-betting-site__article-body {
        font-size: 1rem;
        padding: 0 15px;
    }

    .page-blog-how-to-choose-online-betting-site__article-body h3 {
        font-size: 1.3rem;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-blog-how-to-choose-online-betting-site__article-figure {
        margin: 30px auto;
        padding: 8px;
    }

    /* FAQ Section */
    details.page-blog-how-to-choose-online-betting-site__faq-item summary.page-blog-how-to-choose-online-betting-site__faq-question {
        padding: 15px;
    }

    .page-blog-how-to-choose-online-betting-site__faq-qtext {
        font-size: 15px;
    }

    details.page-blog-how-to-choose-online-betting-site__faq-item .page-blog-how-to-choose-online-betting-site__faq-answer {
        padding: 0 15px 15px;
    }
}