/* style/blog-what-is-sv88-code.css */

/* Root variables for consistent spacing and colors */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

/* Base styles for the page content, contrasting with assumed dark body background */
.page-blog-what-is-sv88-code {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text-main); /* Light text for dark background */
    background-color: var(--color-background); /* Explicitly set page background */
}

/* Hero Section */
.page-blog-what-is-sv88-code__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, text below */
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    overflow: hidden;
    background-color: var(--color-deep-green); /* Dark background for hero area */
}

.page-blog-what-is-sv88-code__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 500px; /* Limit hero image height */
    display: block; /* Ensure no extra space below image */
}

.page-blog-what-is-sv88-code__hero-content {
    text-align: center;
    max-width: 900px;
    margin: 40px auto 0 auto;
    padding: 0 20px;
}

.page-blog-what-is-sv88-code__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-blog-what-is-sv88-code__description {
    font-size: 1.2em;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* General Section Styles */
.page-blog-what-is-sv88-code__section {
    padding: 60px 0;
    background-color: var(--color-background);
    color: var(--color-text-main);
}

.page-blog-what-is-sv88-code__container {
    width: 100%; /* Ensure width is 100% for desktop too */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-blog-what-is-sv88-code__section-title {
    font-size: 2.5em;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-blog-what-is-sv88-code__sub-title {
    font-size: 1.8em;
    color: var(--color-text-main);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-blog-what-is-sv88-code__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.page-blog-what-is-sv88-code__highlight {
    color: var(--color-gold);
    font-weight: bold;
}

/* Image Wrapper */
.page-blog-what-is-sv88-code__image-wrapper {
    margin: 30px 0;
    text-align: center;
}

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

/* Lists */
.page-blog-what-is-sv88-code__list,
.page-blog-what-is-sv88-code__ordered-list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.page-blog-what-is-sv88-code__ordered-list {
    list-style-type: decimal;
}

.page-blog-what-is-sv88-code__list-item {
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Buttons */
.page-blog-what-is-sv88-code__btn-primary,
.page-blog-what-is-sv88-code__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
}

.page-blog-what-is-sv88-code__btn-primary {
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff; /* White text for gradient button */
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-blog-what-is-sv88-code__btn-primary:hover {
    background: linear-gradient(180deg, var(--color-button-gradient-end) 0%, var(--color-button-gradient-start) 100%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.page-blog-what-is-sv88-code__btn-secondary {
    background: var(--color-background);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-blog-what-is-sv88-code__btn-secondary:hover {
    background: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

/* Links within text */
.page-blog-what-is-sv88-code a {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-blog-what-is-sv88-code a:hover {
    color: var(--color-glow);
    text-decoration: underline;
}

/* FAQ Section */
.page-blog-what-is-sv88-code__faq-section {
    background-color: var(--color-card-bg); /* Darker background for FAQ section */
    padding: 60px 0;
}

.page-blog-what-is-sv88-code__faq-list {
    margin-top: 30px;
}

.page-blog-what-is-sv88-code__faq-item {
    background-color: var(--color-background);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--color-text-main);
    border: 1px solid var(--color-divider);
}

.page-blog-what-is-sv88-code__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: var(--color-text-main);
    background-color: var(--color-background);
    border-bottom: 1px solid transparent; /* default */
    transition: background-color 0.3s ease, border-bottom 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-blog-what-is-sv88-code__faq-item[open] .page-blog-what-is-sv88-code__faq-question {
    background-color: var(--color-deep-green);
    border-bottom-color: var(--color-border);
}

.page-blog-what-is-sv88-code__faq-qtext {
    flex-grow: 1;
}

.page-blog-what-is-sv88-code__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.page-blog-what-is-sv88-code__faq-item[open] .page-blog-what-is-sv88-code__faq-toggle {
    transform: rotate(45deg); /* Plus sign rotates to X */
}

.page-blog-what-is-sv88-code__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1.05em;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.page-blog-what-is-sv88-code__faq-item summary::-webkit-details-marker,
.page-blog-what-is-sv88-code__faq-item summary::marker {
    display: none;
}

/* CTA Section within FAQ */
.page-blog-what-is-sv88-code__cta-section {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: var(--color-deep-green);
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.page-blog-what-is-sv88-code__cta-text {
    font-size: 1.3em;
    margin-bottom: 25px;
    color: var(--color-text-main);
    font-weight: 500;
}

/* Final CTA */
.page-blog-what-is-sv88-code__final-cta {
    text-align: center;
    margin-top: 50px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-blog-what-is-sv88-code__main-title {
        font-size: clamp(1.8em, 5vw, 2.8em);
    }
    .page-blog-what-is-sv88-code__section-title {
        font-size: 2.2em;
    }
    .page-blog-what-is-sv88-code__sub-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    /* Mobile text readability */
    .page-blog-what-is-sv88-code {
        font-size: 16px;
        line-height: 1.6;
    }

    /* General containers for mobile */
    .page-blog-what-is-sv88-code__section,
    .page-blog-what-is-sv88-code__container,
    .page-blog-what-is-sv88-code__hero-section,
    .page-blog-what-is-sv88-code__faq-section,
    .page-blog-what-is-sv88-code__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Images responsiveness */
    .page-blog-what-is-sv88-code img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Buttons responsiveness */
    .page-blog-what-is-sv88-code__btn-primary,
    .page-blog-what-is-sv88-code__btn-secondary,
    .page-blog-what-is-sv88-code a[class*="button"],
    .page-blog-what-is-sv88-code 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 !important;
        padding-right: 15px !important;
        margin-bottom: 10px; /* Space between stacked buttons */
    }

    .page-blog-what-is-sv88-code__hero-content {
        margin-top: 20px;
    }

    .page-blog-what-is-sv88-code__hero-section {
        padding-top: 10px !important; /* Small top padding, body handles header offset */
        padding-bottom: 40px !important;
    }

    .page-blog-what-is-sv88-code__main-title {
        font-size: 2em; /* Adjusted for mobile */
        margin-bottom: 15px;
    }

    .page-blog-what-is-sv88-code__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-blog-what-is-sv88-code__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-blog-what-is-sv88-code__sub-title {
        font-size: 1.4em;
    }

    .page-blog-what-is-sv88-code__text-block,
    .page-blog-what-is-sv88-code__list-item,
    .page-blog-what-is-sv88-code__faq-question,
    .page-blog-what-is-sv88-code__faq-answer p {
        font-size: 1em;
    }

    .page-blog-what-is-sv88-code__faq-question {
        padding: 15px;
    }
}