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

.page-blog-how-to-identify-safe-online-casinos {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for the page */
    background-color: var(--background-color-page); /* Page specific background */
}

.page-blog-how-to-identify-safe-online-casinos__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px; /* Space below hero content */
    padding-top: 10px; /* Small padding top, body handles header offset */
    overflow: hidden;
}

.page-blog-how-to-identify-safe-online-casinos__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-blog-how-to-identify-safe-online-casinos__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-main);
    max-width: 900px;
    padding: 20px;
    z-index: 10;
    /* No direct overlay on image, text is above the image but not overlapping its visible area */
    /* The hero image is actually a background image for the section, and text is layered over it */
    /* Re-evaluating based on "强制上图下文、禁止在主图上叠字" */
    /* The current HTML structure places the image and content as siblings within the hero-section. */
    /* I need to adjust this to ensure the image is above the content block. */
    /* Let's re-structure hero-section CSS to reflect 'image above text' */
    position: static; /* Remove absolute positioning */
    transform: none; /* Remove transform */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-blog-how-to-identify-safe-online-casinos__hero-section .page-blog-how-to-identify-safe-online-casinos__hero-image {
    position: relative;
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    object-fit: cover;
    margin-bottom: 20px; /* Space between image and content */
    filter: none; /* Remove filter if text is not directly over it */
}

.page-blog-how-to-identify-safe-online-casinos__main-title {
    font-size: clamp(2em, 5vw, 3.5em);
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--gold-color);
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-blog-how-to-identify-safe-online-casinos__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    color: var(--text-secondary);
}

.page-blog-how-to-identify-safe-online-casinos__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
    background-color: var(--background-color-page);
    color: var(--text-main);
}

.page-blog-how-to-identify-safe-online-casinos__section-title {
    font-size: 2.2em;
    color: var(--gold-color);
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: center;
}

.page-blog-how-to-identify-safe-online-casinos__paragraph {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: var(--text-main);
}

.page-blog-how-to-identify-safe-online-casinos__paragraph strong {
    color: var(--gold-color);
}

.page-blog-how-to-identify-safe-online-casinos__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-blog-how-to-identify-safe-online-casinos__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main);
}

.page-blog-how-to-identify-safe-online-casinos__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-blog-how-to-identify-safe-online-casinos__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-blog-how-to-identify-safe-online-casinos__card-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.page-blog-how-to-identify-safe-online-casinos__card-text {
    font-size: 1em;
    color: var(--text-secondary);
}

.page-blog-how-to-identify-safe-online-casinos__list,
.page-blog-how-to-identify-safe-online-casinos__ordered-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.page-blog-how-to-identify-safe-online-casinos__ordered-list {
    list-style-type: decimal;
}

.page-blog-how-to-identify-safe-online-casinos__list-item {
    margin-bottom: 10px;
    color: var(--text-main);
}

.page-blog-how-to-identify-safe-online-casinos__list-item strong {
    color: var(--gold-color);
}

.page-blog-how-to-identify-safe-online-casinos__list-item a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-blog-how-to-identify-safe-online-casinos__list-item a:hover {
    text-decoration: underline;
}

.page-blog-how-to-identify-safe-online-casinos__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-how-to-identify-safe-online-casinos__image-inline {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-how-to-identify-safe-online-casinos__cta-section {
    text-align: center;
    padding: 50px 20px;
    background-color: var(--deep-green);
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-blog-how-to-identify-safe-online-casinos__cta-section .page-blog-how-to-identify-safe-online-casinos__section-title {
    color: var(--gold-color);
    margin-top: 0;
}

.page-blog-how-to-identify-safe-online-casinos__cta-section .page-blog-how-to-identify-safe-online-casinos__paragraph {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
}

.page-blog-how-to-identify-safe-online-casinos__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-blog-how-to-identify-safe-online-casinos__btn-primary,
.page-blog-how-to-identify-safe-online-casinos__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    max-width: 100%; /* Ensure button does not exceed container */
    box-sizing: border-box;
}

.page-blog-how-to-identify-safe-online-casinos__btn-primary {
    background: var(--button-gradient);
    color: #ffffff; /* White text for contrast */
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-blog-how-to-identify-safe-online-casinos__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-blog-how-to-identify-safe-online-casinos__btn-secondary {
    background-color: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
}

.page-blog-how-to-identify-safe-online-casinos__btn-secondary:hover {
    background-color: var(--gold-color);
    color: var(--background-color-page);
    transform: translateY(-2px);
}

.page-blog-how-to-identify-safe-online-casinos__faq-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

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

.page-blog-how-to-identify-safe-online-casinos__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--gold-color);
    background-color: var(--deep-green);
    border-bottom: 1px solid var(--divider-color);
    list-style: none; /* For details/summary */
}

.page-blog-how-to-identify-safe-online-casinos__faq-question::-webkit-details-marker {
    display: none;
}

.page-blog-how-to-identify-safe-online-casinos__faq-qtext {
    flex-grow: 1;
}

.page-blog-how-to-identify-safe-online-casinos__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: var(--glow-color);
}

.page-blog-how-to-identify-safe-online-casinos__faq-item[open] .page-blog-how-to-identify-safe-online-casinos__faq-toggle {
    transform: rotate(45deg);
}

.page-blog-how-to-identify-safe-online-online-casinos__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--text-secondary);
    background-color: var(--card-bg);
    border-top: 1px solid var(--divider-color);
}

.page-blog-how-to-identify-safe-online-casinos__faq-answer p {
    margin-bottom: 0;
    color: var(--text-secondary);
}

/* General link styling */
.page-blog-how-to-identify-safe-online-casinos a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-blog-how-to-identify-safe-online-casinos a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-blog-how-to-identify-safe-online-casinos__main-title {
        font-size: clamp(2em, 6vw, 3em);
    }
    .page-blog-how-to-identify-safe-online-casinos__section-title {
        font-size: 1.8em;
    }
    .page-blog-how-to-identify-safe-online-casinos__hero-section .page-blog-how-to-identify-safe-online-casinos__hero-image {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .page-blog-how-to-identify-safe-online-casinos {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-blog-how-to-identify-safe-online-casinos__hero-section {
        padding-bottom: 40px;
        padding-top: 10px !important;
    }
    .page-blog-how-to-identify-safe-online-casinos__hero-content {
        padding: 20px 15px;
    }
    .page-blog-how-to-identify-safe-online-casinos__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 10px;
    }
    .page-blog-how-to-identify-safe-online-casinos__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-blog-how-to-identify-safe-online-casinos__section-title {
        font-size: 1.6em;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-blog-how-to-identify-safe-online-casinos__paragraph {
        font-size: 0.95em;
    }
    .page-blog-how-to-identify-safe-online-casinos__content-area {
        padding: 20px 15px;
    }
    .page-blog-how-to-identify-safe-online-casinos__feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-blog-how-to-identify-safe-online-casinos__card {
        padding: 20px;
    }
    .page-blog-how-to-identify-safe-online-casinos__card-title {
        font-size: 1.3em;
    }
    .page-blog-how-to-identify-safe-online-casinos__list,
    .page-blog-how-to-identify-safe-online-casinos__ordered-list {
        margin-left: 15px;
    }
    .page-blog-how-to-identify-safe-online-casinos__btn-primary,
    .page-blog-how-to-identify-safe-online-casinos__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        width: 100% !important; /* Ensure buttons take full width */
        margin-bottom: 10px; /* Space between stacked buttons */
    }
    .page-blog-how-to-identify-safe-online-casinos__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-blog-how-to-identify-safe-online-casinos__cta-section {
        padding: 30px 15px;
    }
    .page-blog-how-to-identify-safe-online-casinos__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-blog-how-to-identify-safe-online-casinos__faq-answer {
        padding: 15px 20px;
    }

    /* Mobile image responsiveness */
    .page-blog-how-to-identify-safe-online-casinos img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-blog-how-to-identify-safe-online-casinos__section,
    .page-blog-how-to-identify-safe-online-casinos__card,
    .page-blog-how-to-identify-safe-online-casinos__container,
    .page-blog-how-to-identify-safe-online-casinos__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Ensure content area is constrained */
    .page-blog-how-to-identify-safe-online-casinos__content-area {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Ensure all images are at least 200x200 if not specified otherwise */
.page-blog-how-to-identify-safe-online-casinos img:not([width]):not([height]) {
    min-width: 200px;
    min-height: 200px;
}