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

.page-news-platform-maintenance-notice {
    background-color: var(--page-news-platform-maintenance-notice-background);
    color: var(--page-news-platform-maintenance-notice-text-main);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

.page-news-platform-maintenance-notice a {
    color: var(--page-news-platform-maintenance-notice-gold);
    text-decoration: none;
}

.page-news-platform-maintenance-notice a:hover {
    text-decoration: underline;
}

/* Hero Section */
.page-news-platform-maintenance-notice__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, main offset from body */
    overflow: hidden;
}

.page-news-platform-maintenance-notice__hero-image-wrapper {
    width: 100%;
    max-height: 70vh; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-news-platform-maintenance-notice__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    min-height: 200px; /* Enforce min size */
}

.page-news-platform-maintenance-notice__hero-content {
    width: 100%;
    max-width: 1200px;
    padding: 40px 20px;
    text-align: center;
    background: var(--page-news-platform-maintenance-notice-background); /* Use background color for hero content */
    border-bottom: 2px solid var(--page-news-platform-maintenance-notice-divider);
    box-sizing: border-box;
}

.page-news-platform-maintenance-notice__main-title {
    font-size: clamp(2em, 4vw, 3em); /* Responsive font size for H1 */
    color: var(--page-news-platform-maintenance-notice-text-main);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-news-platform-maintenance-notice__description {
    font-size: 1.1em;
    color: var(--page-news-platform-maintenance-notice-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-news-platform-maintenance-notice__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-news-platform-maintenance-notice__btn-primary,
.page-news-platform-maintenance-notice__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%; /* Ensure buttons adapt to container width */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-news-platform-maintenance-notice__btn-primary {
    background: var(--page-news-platform-maintenance-notice-button-gradient);
    color: #ffffff; /* White text for primary button */
    border: none;
}

.page-news-platform-maintenance-notice__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-news-platform-maintenance-notice__btn-secondary {
    background: transparent;
    color: var(--page-news-platform-maintenance-notice-text-main);
    border: 2px solid var(--page-news-platform-maintenance-notice-border);
}

.page-news-platform-maintenance-notice__btn-secondary:hover {
    background: var(--page-news-platform-maintenance-notice-border);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Content Area */
.page-news-platform-maintenance-notice__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--page-news-platform-maintenance-notice-background);
    color: var(--page-news-platform-maintenance-notice-text-main);
}

.page-news-platform-maintenance-notice__section-title {
    font-size: 2.2em;
    color: var(--page-news-platform-maintenance-notice-gold);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-news-platform-maintenance-notice__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--page-news-platform-maintenance-notice-glow);
    border-radius: 2px;
}

.page-news-platform-maintenance-notice__text-block {
    font-size: 1.05em;
    margin-bottom: 30px;
    text-align: justify;
    color: var(--page-news-platform-maintenance-notice-text-secondary);
}

.page-news-platform-maintenance-notice__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-news-platform-maintenance-notice__card {
    background-color: var(--page-news-platform-maintenance-notice-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-news-platform-maintenance-notice-border);
    text-align: center;
    color: var(--page-news-platform-maintenance-notice-text-main);
}

.page-news-platform-maintenance-notice__card-title {
    font-size: 1.5em;
    color: var(--page-news-platform-maintenance-notice-gold);
    margin-bottom: 15px;
}

.page-news-platform-maintenance-notice__card-text {
    font-size: 1em;
    color: var(--page-news-platform-maintenance-notice-text-secondary);
}

/* Maintenance Details Section */
.page-news-platform-maintenance-notice__maintenance-details {
    background-color: var(--page-news-platform-maintenance-notice-deep-green);
    padding: 60px 20px;
    color: var(--page-news-platform-maintenance-notice-text-main);
    text-align: center;
}

.page-news-platform-maintenance-notice__maintenance-details .page-news-platform-maintenance-notice__section-title {
    color: var(--page-news-platform-maintenance-notice-gold);
}

.page-news-platform-maintenance-notice__maintenance-details .page-news-platform-maintenance-notice__text-block {
    color: var(--page-news-platform-maintenance-notice-text-secondary);
}

.page-news-platform-maintenance-notice__info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.page-news-platform-maintenance-notice__info-card {
    background-color: var(--page-news-platform-maintenance-notice-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-news-platform-maintenance-notice-border);
    text-align: left;
    color: var(--page-news-platform-maintenance-notice-text-main);
}

.page-news-platform-maintenance-notice__info-card-title {
    font-size: 1.4em;
    color: var(--page-news-platform-maintenance-notice-gold);
    margin-bottom: 15px;
    border-bottom: 1px solid var(--page-news-platform-maintenance-notice-divider);
    padding-bottom: 10px;
}

.page-news-platform-maintenance-notice__info-card-text {
    font-size: 1em;
    margin-bottom: 10px;
    color: var(--page-news-platform-maintenance-notice-text-secondary);
}

.page-news-platform-maintenance-notice__info-card-text strong {
    color: var(--page-news-platform-maintenance-notice-text-main);
}

.page-news-platform-maintenance-notice__info-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-news-platform-maintenance-notice__info-card-list li {
    margin-bottom: 8px;
    color: var(--page-news-platform-maintenance-notice-text-secondary);
    position: relative;
    padding-left: 20px;
}

.page-news-platform-maintenance-notice__info-card-list li::before {
    content: '•';
    color: var(--page-news-platform-maintenance-notice-glow);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.page-news-platform-maintenance-notice__content-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    margin: 40px auto 0 auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    min-height: 200px; /* Enforce min size */
}

/* Preparation Guide Section */
.page-news-platform-maintenance-notice__preparation-guide {
    background-color: var(--page-news-platform-maintenance-notice-background);
    padding: 60px 20px;
    color: var(--page-news-platform-maintenance-notice-text-main);
    max-width: 1200px;
    margin: 0 auto;
}

.page-news-platform-maintenance-notice__list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-news-platform-maintenance-notice__list li {
    background-color: var(--page-news-platform-maintenance-notice-card-bg);
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid var(--page-news-platform-maintenance-notice-glow);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: var(--page-news-platform-maintenance-notice-text-secondary);
    text-align: left;
}

.page-news-platform-maintenance-notice__list-item-title {
    font-weight: bold;
    color: var(--page-news-platform-maintenance-notice-text-main);
    display: block;
    margin-bottom: 5px;
}

.page-news-platform-maintenance-notice__center-align {
    margin-top: 40px;
}

/* FAQ Section */
.page-news-platform-maintenance-notice__faq-section {
    background-color: var(--page-news-platform-maintenance-notice-deep-green);
    padding: 60px 20px;
    color: var(--page-news-platform-maintenance-notice-text-main);
    text-align: center;
}

.page-news-platform-maintenance-notice__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-news-platform-maintenance-notice__faq-item {
    background-color: var(--page-news-platform-maintenance-notice-card-bg);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--page-news-platform-maintenance-notice-border);
    overflow: hidden;
}

.page-news-platform-maintenance-notice__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--page-news-platform-maintenance-notice-text-main);
    cursor: pointer;
    background-color: var(--page-news-platform-maintenance-notice-card-bg);
    border-bottom: 1px solid var(--page-news-platform-maintenance-notice-divider);
    user-select: none;
    list-style: none; /* For details/summary */
}

.page-news-platform-maintenance-notice__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for details/summary */
}

.page-news-platform-maintenance-notice__faq-qtext {
    flex-grow: 1;
    text-align: left;
}

.page-news-platform-maintenance-notice__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--page-news-platform-maintenance-notice-glow);
    transition: transform 0.3s ease;
}

.page-news-platform-maintenance-notice__faq-item[open] .page-news-platform-maintenance-notice__faq-toggle {
    transform: rotate(45deg);
}

.page-news-platform-maintenance-notice__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    color: var(--page-news-platform-maintenance-notice-text-secondary);
    text-align: left;
}

/* CTA Bottom Section */
.page-news-platform-maintenance-notice__cta-bottom {
    background-color: var(--page-news-platform-maintenance-notice-background);
    padding: 60px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.page-news-platform-maintenance-notice__cta-content {
    max-width: 800px;
}

.page-news-platform-maintenance-notice__cta-title {
    font-size: 2em;
    color: var(--page-news-platform-maintenance-notice-gold);
    margin-bottom: 20px;
}

.page-news-platform-maintenance-notice__cta-text {
    font-size: 1.1em;
    color: var(--page-news-platform-maintenance-notice-text-secondary);
    margin-bottom: 30px;
}

.page-news-platform-maintenance-notice__cta-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    min-height: 200px; /* Enforce min size */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-news-platform-maintenance-notice__hero-content {
        padding: 30px 15px;
    }

    .page-news-platform-maintenance-notice__content-area,
    .page-news-platform-maintenance-notice__maintenance-details,
    .page-news-platform-maintenance-notice__preparation-guide,
    .page-news-platform-maintenance-notice__faq-section,
    .page-news-platform-maintenance-notice__cta-bottom {
        padding: 40px 15px;
    }

    .page-news-platform-maintenance-notice__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em);
    }

    .page-news-platform-maintenance-notice__section-title {
        font-size: 1.8em;
    }

    .page-news-platform-maintenance-notice__card-grid,
    .page-news-platform-maintenance-notice__info-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-news-platform-maintenance-notice {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .page-news-platform-maintenance-notice__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
    }

    .page-news-platform-maintenance-notice__hero-content {
        padding: 25px 15px;
    }

    .page-news-platform-maintenance-notice__main-title {
        font-size: clamp(1.6em, 7vw, 2.2em);
    }

    .page-news-platform-maintenance-notice__description {
        font-size: 1em;
    }

    .page-news-platform-maintenance-notice__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-news-platform-maintenance-notice__btn-primary,
    .page-news-platform-maintenance-notice__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px 20px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-news-platform-maintenance-notice__content-area,
    .page-news-platform-maintenance-notice__maintenance-details,
    .page-news-platform-maintenance-notice__preparation-guide,
    .page-news-platform-maintenance-notice__faq-section,
    .page-news-platform-maintenance-notice__cta-bottom {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-news-platform-maintenance-notice__section-title {
        font-size: 1.6em;
        margin-bottom: 30px;
    }

    .page-news-platform-maintenance-notice__card-grid,
    .page-news-platform-maintenance-notice__info-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-news-platform-maintenance-notice__card,
    .page-news-platform-maintenance-notice__info-card,
    .page-news-platform-maintenance-notice__list li {
        padding: 20px;
    }

    .page-news-platform-maintenance-notice__hero-image,
    .page-news-platform-maintenance-notice__content-image,
    .page-news-platform-maintenance-notice__cta-image,
    .page-news-platform-maintenance-notice img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-height: 200px; /* Ensure min size even on mobile */
    }

    .page-news-platform-maintenance-notice__hero-image-wrapper,
    .page-news-platform-maintenance-notice__video-section,
    .page-news-platform-maintenance-notice__video-container,
    .page-news-platform-maintenance-notice__video-wrapper,
    .page-news-platform-maintenance-notice__card,
    .page-news-platform-maintenance-notice__info-card,
    .page-news-platform-maintenance-notice__list li,
    .page-news-platform-maintenance-notice__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px; /* Add padding to prevent content touching edges */
        padding-right: 15px; /* Add padding to prevent content touching edges */
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    
    .page-news-platform-maintenance-notice__faq-question {
        padding: 15px;
    }
    .page-news-platform-maintenance-notice__faq-answer {
        padding: 0 15px 15px 15px;
    }

    .page-news-platform-maintenance-notice__cta-bottom {
        flex-direction: column;
    }
}