/* style/news-system-maintenance-notice.css */

:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-dark: #000000;
    --bg-light: #f5f5f5;
    --card-bg-dark-opacity: rgba(255, 255, 255, 0.1);
    --card-bg-light: #ffffff;
    --border-color: #e0e0e0;
}

.page-news-system-maintenance-notice {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Body background is #000, so use light text */
    background-color: var(--bg-dark);
    padding-top: 120px; /* Adjust for fixed header on desktop */
}

.page-news-system-maintenance-notice__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.page-news-system-maintenance-notice__hero-section {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--secondary-color), var(--bg-dark));
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    border-bottom: 5px solid var(--primary-color);
}

.page-news-system-maintenance-notice__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('[GALLERY:bg:abstract,gold,dark,pattern]'); /* Abstract pattern background */
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.page-news-system-maintenance-notice__hero-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-news-system-maintenance-notice__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-news-system-maintenance-notice__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-news-system-maintenance-notice__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-news-system-maintenance-notice__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-news-system-maintenance-notice__btn-primary {
    background-color: var(--primary-color);
    color: var(--text-dark);
}

.page-news-system-maintenance-notice__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%); /* This won't work in pure CSS, need a darker shade */
    background-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-news-system-maintenance-notice__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-news-system-maintenance-notice__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Details Section */
.page-news-system-maintenance-notice__details-section {
    padding: 60px 20px;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-news-system-maintenance-notice__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-news-system-maintenance-notice__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-news-system-maintenance-notice__card {
    background-color: var(--card-bg-dark-opacity);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-news-system-maintenance-notice__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-news-system-maintenance-notice__card-image {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-news-system-maintenance-notice__card-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-news-system-maintenance-notice__card-text {
    font-size: 1em;
    color: #e0e0e0;
}

/* Commitment Section */
.page-news-system-maintenance-notice__commitment-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--bg-dark), var(--secondary-color));
    color: var(--text-light);
    border-top: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}

.page-news-system-maintenance-notice__content-block {
    background-color: var(--card-bg-dark-opacity);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-news-system-maintenance-notice__content-block:last-child {
    margin-bottom: 0;
}

.page-news-system-maintenance-notice__sub-title {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-news-system-maintenance-notice__content-block p {
    font-size: 1.1em;
    color: #f0f0f0;
    margin-bottom: 20px;
    max-width: 800px;
}

.page-news-system-maintenance-notice__content-image {
    width: 300px;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%;
    display: block;
}

.page-news-system-maintenance-notice__button-inline {
    margin-top: 15px;
}

/* Support Section */
.page-news-system-maintenance-notice__support-section {
    padding: 60px 20px;
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-news-system-maintenance-notice__section-description {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.page-news-system-maintenance-notice__contact-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 600px;
}

.page-news-system-maintenance-notice__contact-item {
    background-color: var(--card-bg-dark-opacity);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-news-system-maintenance-notice__contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.page-news-system-maintenance-notice__contact-item a:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-news-system-maintenance-notice__contact-item span {
    font-size: 0.9em;
    color: #cccccc;
    margin-top: 5px;
}

.page-news-system-maintenance-notice__follow-us {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    color: #e0e0e0;
}

/* Apology Section */
.page-news-system-maintenance-notice__apology-section {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(45deg, var(--secondary-color), var(--bg-dark));
    color: var(--text-light);
    border-top: 5px solid var(--primary-color);
}

.page-news-system-maintenance-notice__apology-text {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-news-system-maintenance-notice__main-title {
        font-size: 3em;
    }
    .page-news-system-maintenance-notice__section-title {
        font-size: 2.2em;
    }
    .page-news-system-maintenance-notice__sub-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-news-system-maintenance-notice {
        padding-top: 100px !important; /* Adjust for fixed header on mobile */
        font-size: 16px;
        line-height: 1.6;
    }
    .page-news-system-maintenance-notice__hero-section {
        padding: 60px 15px;
    }
    .page-news-system-maintenance-notice__main-title {
        font-size: 2.5em;
    }
    .page-news-system-maintenance-notice__hero-description {
        font-size: 1em;
    }
    .page-news-system-maintenance-notice__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    .page-news-system-maintenance-notice__cta-button {
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-news-system-maintenance-notice__details-section,
    .page-news-system-maintenance-notice__commitment-section,
    .page-news-system-maintenance-notice__support-section,
    .page-news-system-maintenance-notice__apology-section {
        padding: 40px 15px;
    }
    .page-news-system-maintenance-notice__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-news-system-maintenance-notice__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-news-system-maintenance-notice__card {
        padding: 20px;
    }
    .page-news-system-maintenance-notice__card-image {
        width: 150px;
    }
    .page-news-system-maintenance-notice__card-title {
        font-size: 1.5em;
    }
    .page-news-system-maintenance-notice__sub-title {
        font-size: 1.6em;
    }
    .page-news-system-maintenance-notice__content-block {
        padding: 20px;
        margin-bottom: 20px;
    }
    .page-news-system-maintenance-notice__content-image {
        width: 250px;
        margin: 15px 0;
    }
    .page-news-system-maintenance-notice__contact-item a {
        font-size: 1.1em;
    }
    .page-news-system-maintenance-notice__apology-text {
        font-size: 1.1em;
    }
    /* Ensure all images are responsive */
    .page-news-system-maintenance-notice img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-news-system-maintenance-notice__container,
    .page-news-system-maintenance-notice__hero-container,
    .page-news-system-maintenance-notice__grid,
    .page-news-system-maintenance-notice__card,
    .page-news-system-maintenance-notice__content-block,
    .page-news-system-maintenance-notice__contact-list,
    .page-news-system-maintenance-notice__contact-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important; /* Ensure no overflow */
    }
    .page-news-system-maintenance-notice__hero-section::before {
        background-attachment: scroll; /* Prevent fixed background on mobile */
    }
}

@media (max-width: 480px) {
    .page-news-system-maintenance-notice__main-title {
        font-size: 2em;
    }
    .page-news-system-maintenance-notice__section-title {
        font-size: 1.8em;
    }
    .page-news-system-maintenance-notice__hero-description {
        font-size: 0.9em;
    }
    .page-news-system-maintenance-notice__cta-button {
        font-size: 0.95em;
        padding: 10px 15px;
    }
    .page-news-system-maintenance-notice__card-title {
        font-size: 1.3em;
    }
    .page-news-system-maintenance-notice__apology-text {
        font-size: 1em;
    }
}