/* style/blog-thbbet-safe-registration.css */

/* Custom Colors */
:root {
    --thbbet-primary-color: #11A84E;
    --thbbet-secondary-color: #22C768;
    --thbbet-button-gradient-start: #2AD16F;
    --thbbet-button-gradient-end: #13994A;
    --thbbet-card-bg: #11271B;
    --thbbet-background: #08160F;
    --thbbet-text-main: #F2FFF6;
    --thbbet-text-secondary: #A7D9B8;
    --thbbet-border-color: #2E7A4E;
    --thbbet-glow-color: #57E38D;
    --thbbet-gold-color: #F2C14E;
    --thbbet-divider-color: #1E3A2A;
    --thbbet-deep-green: #0A4B2C;
    --thbbet-light-text: #ffffff; /* For dark backgrounds */
    --thbbet-dark-text: #333333; /* For light backgrounds */
}

/* Base styles for the page content, ensuring contrast with shared.css body background */
/* Assuming shared.css body background is dark based on custom colors like #08160F */
.page-blog-thbbet-safe-registration {
    background-color: var(--thbbet-background); /* Override shared.css if needed, or assume body is handled by shared */
    color: var(--thbbet-text-main); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-blog-thbbet-safe-registration__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-blog-thbbet-safe-registration__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Enforce image on top, content below */
    align-items: center;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding as body handles header offset */
    background-color: var(--thbbet-deep-green); /* Example background for hero section */
    overflow: hidden; /* Ensure no overflow from images */
}

.page-blog-thbbet-safe-registration__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-blog-thbbet-safe-registration__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-blog-thbbet-safe-registration__hero-content {
    max-width: 900px;
    margin-top: 40px; /* Space between image and content */
    text-align: center;
    color: var(--thbbet-text-main);
    padding: 0 20px;
    box-sizing: border-box;
}

.page-blog-thbbet-safe-registration__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
    font-weight: bold;
    color: var(--thbbet-gold-color); /* Use gold for emphasis */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-blog-thbbet-safe-registration__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--thbbet-text-secondary);
}

.page-blog-thbbet-safe-registration__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    box-sizing: border-box; /* Important for button responsiveness */
    max-width: 100%; /* Ensure button doesn't overflow */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-blog-thbbet-safe-registration__btn-primary {
    background: linear-gradient(180deg, var(--thbbet-button-gradient-start) 0%, var(--thbbet-button-gradient-end) 100%);
    color: var(--thbbet-light-text);
    border: none;
}

.page-blog-thbbet-safe-registration__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Content Sections */
.page-blog-thbbet-safe-registration__content-section {
    padding: 60px 0;
}

.page-blog-thbbet-safe-registration__light-bg {
    background-color: var(--thbbet-background); /* Consistent dark background */
    color: var(--thbbet-text-main);
}

.page-blog-thbbet-safe-registration__dark-bg {
    background-color: var(--thbbet-deep-green); /* Slightly different dark background */
    color: var(--thbbet-text-main);
}

.page-blog-thbbet-safe-registration__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--thbbet-gold-color);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-blog-thbbet-safe-registration__sub-title {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--thbbet-secondary-color);
    margin-top: 30px;
    margin-bottom: 20px;
}

.page-blog-thbbet-safe-registration__paragraph {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: var(--thbbet-text-main);
}

.page-blog-thbbet-safe-registration__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-blog-thbbet-safe-registration__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.05em;
    color: var(--thbbet-text-main);
}

.page-blog-thbbet-safe-registration__list-item::before {
    content: "✅"; /* Custom bullet point */
    position: absolute;
    left: 0;
    color: var(--thbbet-secondary-color);
    font-weight: bold;
}

.page-blog-thbbet-safe-registration__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
    object-fit: cover;
}

/* FAQ Section */
.page-blog-thbbet-safe-registration__faq-section {
    padding: 60px 0;
}

.page-blog-thbbet-safe-registration__faq-list {
    margin-top: 40px;
}

.page-blog-thbbet-safe-registration__faq-item {
    background-color: var(--thbbet-card-bg);
    border: 1px solid var(--thbbet-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--thbbet-text-main);
}

.page-blog-thbbet-safe-registration__faq-item summary {
    list-style: none; /* Remove default marker for details */
    cursor: pointer;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.15em;
    color: var(--thbbet-text-main);
    background-color: var(--thbbet-card-bg); /* Ensure summary has background */
}

.page-blog-thbbet-safe-registration__faq-item summary::-webkit-details-marker {
    display: none; /* Hide Webkit default marker */
}

.page-blog-thbbet-safe-registration__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-blog-thbbet-safe-registration__faq-qtext {
    flex-grow: 1;
    color: var(--thbbet-text-main);
}

.page-blog-thbbet-safe-registration__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--thbbet-secondary-color);
    transition: transform 0.3s ease;
}

.page-blog-thbbet-safe-registration__faq-item[open] .page-blog-thbbet-safe-registration__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'minus' effect */
}

.page-blog-thbbet-safe-registration__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    line-height: 1.5;
    color: var(--thbbet-text-secondary);
}

/* CTA Section */
.page-blog-thbbet-safe-registration__cta-section {
    padding: 80px 0;
    background-color: var(--thbbet-deep-green);
    color: var(--thbbet-text-main);
    text-align: center;
}

.page-blog-thbbet-safe-registration__cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.page-blog-thbbet-safe-registration__cta-content {
    max-width: 800px;
    text-align: center;
}

.page-blog-thbbet-safe-registration__cta-image-wrapper {
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    box-sizing: border-box;
}

.page-blog-thbbet-safe-registration__cta-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
    object-fit: cover;
}

/* Highlight text */
.page-blog-thbbet-safe-registration .highlight {
    color: var(--thbbet-gold-color);
    font-weight: bold;
}

/* Responsive Design */
@media (min-width: 769px) {
    .page-blog-thbbet-safe-registration__cta-container {
        flex-direction: row;
        justify-content: center;
    }
    .page-blog-thbbet-safe-registration__cta-content {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .page-blog-thbbet-safe-registration__hero-section {
        padding: 40px 0;
        padding-top: 10px !important; /* Small top padding for mobile */
    }

    .page-blog-thbbet-safe-registration__main-title {
        font-size: 2em; /* Smaller H1 for mobile */
        margin-bottom: 15px;
    }

    .page-blog-thbbet-safe-registration__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-blog-thbbet-safe-registration__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-blog-thbbet-safe-registration__content-section {
        padding: 40px 0;
    }

    .page-blog-thbbet-safe-registration__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-blog-thbbet-safe-registration__sub-title {
        font-size: 1.5em;
        margin-top: 25px;
        margin-bottom: 15px;
    }

    .page-blog-thbbet-safe-registration__paragraph,
    .page-blog-thbbet-safe-registration__list-item {
        font-size: 0.95em;
    }

    /* Mobile image responsiveness */
    .page-blog-thbbet-safe-registration img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-blog-thbbet-safe-registration__hero-image-wrapper,
    .page-blog-thbbet-safe-registration__cta-image-wrapper,
    .page-blog-thbbet-safe-registration__container,
    .page-blog-thbbet-safe-registration__content-section,
    .page-blog-thbbet-safe-registration__faq-section,
    .page-blog-thbbet-safe-registration__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Ensure buttons within containers are also responsive */
    .page-blog-thbbet-safe-registration__hero-content,
    .page-blog-thbbet-safe-registration__cta-content {
        padding-left: 0;
        padding-right: 0;
    }
}