:root {
    --primary-color: #C91F17;
    --secondary-color: #E53935;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
    --card-bg: #D32F2F;
    --section-bg: #B71C1C;
    --text-main: #FFF5E1;
    --border-color: #F2B544;
    --glow-color: #FFCC66;
    --gold-color: #F4D34D;
    --deep-red-color: #7A0E0E;
    --dark-text: #333333; /* For light backgrounds */
    --light-text: #ffffff; /* For dark backgrounds */
    --white: #ffffff;
    --black: #000000;
}

.page-blog-jun888-dang-ky-platform-advantages {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for the main content area, assuming dark body bg */
    background-color: var(--section-bg); /* Explicit background for page content */
}

/* Hero Section */
.page-blog-jun888-dang-ky-platform-advantages__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--deep-red-color); /* A darker red for hero section background */
}

.page-blog-jun888-dang-ky-platform-advantages__hero-image-wrapper {
    width: 100%;
    max-height: 70vh; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-blog-jun888-dang-ky-platform-advantages__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.page-blog-jun888-dang-ky-platform-advantages__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    color: var(--light-text);
}

.page-blog-jun888-dang-ky-platform-advantages__main-title {
    font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size */
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--gold-color);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.page-blog-jun888-dang-ky-platform-advantages__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-main);
}

/* General Section Styling */
.page-blog-jun888-dang-ky-platform-advantages__section {
    padding: 60px 20px;
    background-color: var(--section-bg);
    color: var(--text-main);
}

.page-blog-jun888-dang-ky-platform-advantages__dark-bg {
    background-color: var(--deep-red-color);
    color: var(--light-text);
}

.page-blog-jun888-dang-ky-platform-advantages__container {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-blog-jun888-dang-ky-platform-advantages__section-title {
    font-size: clamp(1.8em, 4vw, 2.8em);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-blog-jun888-dang-ky-platform-advantages__sub-title {
    font-size: clamp(1.4em, 3vw, 2em);
    color: var(--gold-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-blog-jun888-dang-ky-platform-advantages__text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-main);
}

/* Grid for features */
.page-blog-jun888-dang-ky-platform-advantages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Card Styling */
.page-blog-jun888-dang-ky-platform-advantages__card {
    background-color: var(--card-bg); /* Dark red background for cards */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    color: var(--text-main); /* Light text for dark card background */
}

.page-blog-jun888-dang-ky-platform-advantages__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-blog-jun888-dang-ky-platform-advantages__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

.page-blog-jun888-dang-ky-platform-advantages__card-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-blog-jun888-dang-ky-platform-advantages__card-text {
    font-size: 1em;
    color: var(--text-main);
}

/* Buttons */
.page-blog-jun888-dang-ky-platform-advantages__cta-container {
    text-align: center;
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.page-blog-jun888-dang-ky-platform-advantages__btn-primary,
.page-blog-jun888-dang-ky-platform-advantages__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* Ensure button adapts to container */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-blog-jun888-dang-ky-platform-advantages__btn-primary {
    background: var(--button-gradient);
    color: var(--deep-red-color); /* Dark text for gold button */
    border: 2px solid var(--gold-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-blog-jun888-dang-ky-platform-advantages__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

.page-blog-jun888-dang-ky-platform-advantages__btn-secondary {
    background-color: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-blog-jun888-dang-ky-platform-advantages__btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    background-color: rgba(255, 215, 0, 0.1); /* Light gold hover */
}

/* Lists */
.page-blog-jun888-dang-ky-platform-advantages__ordered-list,
.page-blog-jun888-dang-ky-platform-advantages__unordered-list {
    list-style-position: inside;
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.page-blog-jun888-dang-ky-platform-advantages__list-item {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: var(--text-main);
}

/* FAQ Section */
.page-blog-jun888-dang-ky-platform-advantages__faq-section {
    background-color: var(--deep-red-color);
    color: var(--light-text);
}

.page-blog-jun888-dang-ky-platform-advantages__faq-list {
    margin-top: 30px;
}

.page-blog-jun888-dang-ky-platform-advantages__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-jun888-dang-ky-platform-advantages__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: var(--gold-color);
    background-color: var(--deep-red-color);
    border-bottom: 1px solid var(--border-color);
}

.page-blog-jun888-dang-ky-platform-advantages__faq-question::-webkit-details-marker {
    display: none;
}

.page-blog-jun888-dang-ky-platform-advantages__faq-item[open] > .page-blog-jun888-dang-ky-platform-advantages__faq-question {
    border-bottom: none;
}

.page-blog-jun888-dang-ky-platform-advantages__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-blog-jun888-dang-ky-platform-advantages__faq-item[open] .page-blog-jun888-dang-ky-platform-advantages__faq-toggle {
    transform: rotate(45deg); /* Change '+' to 'x' or similar */
}

.page-blog-jun888-dang-ky-platform-advantages__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1.1em;
    color: var(--text-main);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-blog-jun888-dang-ky-platform-advantages__hero-content {
        padding: 30px 15px;
    }

    .page-blog-jun888-dang-ky-platform-advantages__main-title {
        font-size: clamp(1.8em, 4.5vw, 3em);
    }

    .page-blog-jun888-dang-ky-platform-advantages__intro-text {
        font-size: 1.1em;
    }

    .page-blog-jun888-dang-ky-platform-advantages__section {
        padding: 40px 15px;
    }

    .page-blog-jun888-dang-ky-platform-advantages__section-title {
        font-size: clamp(1.6em, 3.5vw, 2.5em);
    }
}

@media (max-width: 768px) {
    .page-blog-jun888-dang-ky-platform-advantages {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Images */
    .page-blog-jun888-dang-ky-platform-advantages img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Enforce min size */
        min-height: 200px !important; /* Enforce min size */
    }

    /* Containers for images, videos, buttons */
    .page-blog-jun888-dang-ky-platform-advantages__section,
    .page-blog-jun888-dang-ky-platform-advantages__card,
    .page-blog-jun888-dang-ky-platform-advantages__container,
    .page-blog-jun888-dang-ky-platform-advantages__hero-image-wrapper,
    .page-blog-jun888-dang-ky-platform-advantages__cta-buttons,
    .page-blog-jun888-dang-ky-platform-advantages__button-group,
    .page-blog-jun888-dang-ky-platform-advantages__btn-container,
    .page-blog-jun888-dang-ky-platform-advantages__video-section,
    .page-blog-jun888-dang-ky-platform-advantages__video-container,
    .page-blog-jun888-dang-ky-platform-advantages__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Video specific for mobile */
    .page-blog-jun888-dang-ky-platform-advantages video,
    .page-blog-jun888-dang-ky-platform-advantages__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-blog-jun888-dang-ky-platform-advantages__video-section {
        padding-top: 10px !important; /* Small top padding for video section */
    }

    /* Buttons specific for mobile */
    .page-blog-jun888-dang-ky-platform-advantages__btn-primary,
    .page-blog-jun888-dang-ky-platform-advantages__btn-secondary,
    .page-blog-jun888-dang-ky-platform-advantages a[class*="button"],
    .page-blog-jun888-dang-ky-platform-advantages 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; /* Add padding to button content */
        padding-right: 15px;
    }

    .page-blog-jun888-dang-ky-platform-advantages__cta-container {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
    }

    .page-blog-jun888-dang-ky-platform-advantages__hero-content {
        padding: 20px 15px;
    }

    .page-blog-jun888-dang-ky-platform-advantages__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em);
    }

    .page-blog-jun888-dang-ky-platform-advantages__intro-text {
        font-size: 1em;
    }

    .page-blog-jun888-dang-ky-platform-advantages__grid {
        grid-template-columns: 1fr;
    }

    .page-blog-jun888-dang-ky-platform-advantages__card {
        padding: 20px;
    }

    .page-blog-jun888-dang-ky-platform-advantages__card-image {
        height: auto; /* Allow auto height for mobile cards */
    }

    .page-blog-jun888-dang-ky-platform-advantages__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-blog-jun888-dang-ky-platform-advantages__faq-answer {
        padding: 10px 20px 15px;
    }
}