/* style/blog-is-usbet-safe.css */

/* Color Variables from custom palette */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --bg-color: #08160F; /* Body background */
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow: #57E38D;
    --gold: #F2C14E;
    --divider: #1E3A2A;
    --deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-blog-is-usbet-safe {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color, will be overridden by contrast logic */
    background-color: var(--bg-color); /* Inherit from shared, should be #08160F */
}

/* Color contrast enforcement based on body background (dark) */
.page-blog-is-usbet-safe {
    color: var(--text-main); /* #F2FFF6 */
}

.page-blog-is-usbet-safe__dark-section {
    background-color: var(--card-bg); /* #11271B */
    color: var(--text-main); /* #F2FFF6 */
}

.page-blog-is-usbet-safe__section-title {
    font-size: 2.2em;
    color: var(--gold); /* #F2C14E */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.page-blog-is-usbet-safe__paragraph {
    margin-bottom: 20px;
    color: var(--text-main); /* #F2FFF6 */
}

.page-blog-is-usbet-safe__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-blog-is-usbet-safe__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding as body handles header offset */
    padding-bottom: 60px;
    background-color: var(--deep-green); /* #0A4B2C */
    overflow: hidden;
}

.page-blog-is-usbet-safe__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.page-blog-is-usbet-safe__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-width: 1200px; /* Ensure image doesn't stretch too wide */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-blog-is-usbet-safe__hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.page-blog-is-usbet-safe__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: var(--gold); /* #F2C14E */
}

.page-blog-is-usbet-safe__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-secondary); /* #A7D9B8 */
}

.page-blog-is-usbet-safe__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-blog-is-usbet-safe__btn-primary,
.page-blog-is-usbet-safe__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-blog-is-usbet-safe__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
}

.page-blog-is-usbet-safe__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(42, 209, 111, 0.4);
}

.page-blog-is-usbet-safe__btn-secondary {
    background-color: transparent;
    color: var(--glow); /* #57E38D */
    border: 2px solid var(--glow); /* #57E38D */
}

.page-blog-is-usbet-safe__btn-secondary:hover {
    background-color: var(--glow); /* #57E38D */
    color: var(--card-bg); /* #11271B */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(87, 227, 141, 0.3);
}

/* Content Sections */
.page-blog-is-usbet-safe__content-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--divider); /* #1E3A2A */
}

.page-blog-is-usbet-safe__content-section:last-of-type {
    border-bottom: none;
}

.page-blog-is-usbet-safe__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-blog-is-usbet-safe__faq-list {
    margin-top: 40px;
}

.page-blog-is-usbet-safe__faq-item {
    background-color: var(--card-bg); /* #11271B */
    border: 1px solid var(--border-color); /* #2E7A4E */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-blog-is-usbet-safe__faq-item summary {
    list-style: none; /* Hide default marker */
}

.page-blog-is-usbet-safe__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

.page-blog-is-usbet-safe__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-main); /* #F2FFF6 */
    background-color: var(--deep-green); /* #0A4B2C */
    transition: background-color 0.3s ease;
}

.page-blog-is-usbet-safe__faq-question:hover {
    background-color: var(--primary-color); /* #11A84E */
}

.page-blog-is-usbet-safe__faq-qtext {
    flex-grow: 1;
    font-size: 1.1em;
}

.page-blog-is-usbet-safe__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
}

.page-blog-is-usbet-safe__faq-answer {
    padding: 20px;
    color: var(--text-secondary); /* #A7D9B8 */
    font-size: 0.95em;
    background-color: var(--card-bg); /* #11271B */
}

/* Conclusion Section */
.page-blog-is-usbet-safe__conclusion-section {
    text-align: center;
    padding-bottom: 60px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-blog-is-usbet-safe__hero-image {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .page-blog-is-usbet-safe {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-blog-is-usbet-safe__main-title {
        font-size: 2em;
    }

    .page-blog-is-usbet-safe__section-title {
        font-size: 1.8em;
    }

    .page-blog-is-usbet-safe__hero-section {
        padding-bottom: 40px;
    }

    .page-blog-is-usbet-safe__hero-image-wrapper {
        max-height: 300px;
    }

    .page-blog-is-usbet-safe__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-blog-is-usbet-safe__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-blog-is-usbet-safe__content-section,
    .page-blog-is-usbet-safe__conclusion-section {
        padding: 40px 0;
    }

    .page-blog-is-usbet-safe__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-blog-is-usbet-safe__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-blog-is-usbet-safe__btn-primary,
    .page-blog-is-usbet-safe__btn-secondary {
        width: 100% !important;
        padding: 12px 20px;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* FAQ specific for mobile */
    .page-blog-is-usbet-safe__faq-question {
        padding: 15px;
        font-size: 1em;
    }

    .page-blog-is-usbet-safe__faq-answer {
        padding: 15px;
    }
}