/* style/news-important-announcement.css */
/* body đã padding-top: var(--header-offset); trang này không cần thêm padding-top */

.page-news-important-announcement {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

.page-news-important-announcement__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-news-important-announcement__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding-bottom: 40px; /* Space below content before next section */
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-news-important-announcement__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 20px; /* Space between image and content */
}

.page-news-important-announcement__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-news-important-announcement__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1; /* Ensure content is above any background effects */
    padding: 0 20px;
    box-sizing: border-box;
}

.page-news-important-announcement__main-title {
    font-size: clamp(2.2em, 5vw, 3.5em); /* Responsive font size */
    font-weight: 700;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: 1px;
}

.page-news-important-announcement__description {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-news-important-announcement__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-news-important-announcement__btn-primary,
.page-news-important-announcement__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-news-important-announcement__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #FFFFFF;
    border: none;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-news-important-announcement__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-news-important-announcement__btn-secondary {
    background-color: transparent;
    color: #2AD16F; /* Button color */
    border: 2px solid #2AD16F;
}

.page-news-important-announcement__btn-secondary:hover {
    background-color: #2AD16F;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.3);
}

/* Section Titles and Descriptions */
.page-news-important-announcement__section-title {
    font-size: clamp(1.8em, 4vw, 2.8em);
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
    padding-top: 40px;
}

.page-news-important-announcement__section-description {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Latest News Section */
.page-news-important-announcement__latest-news-section,
.page-news-important-announcement__key-updates-section,
.page-news-important-announcement__promotional-news-section,
.page-news-important-announcement__faq-section {
    padding: 60px 0;
    border-top: 1px solid #1E3A2A; /* Divider */
}

.page-news-important-announcement__news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-news-important-announcement__news-card {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-news-important-announcement__news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-news-important-announcement__news-card-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-news-important-announcement__news-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-news-important-announcement__news-card-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-news-important-announcement__news-card-title a {
    color: #F2FFF6; /* Text Main */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news-important-announcement__news-card-title a:hover {
    color: #2AD16F; /* Button color */
}

.page-news-important-announcement__news-card-date {
    font-size: 0.9em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 15px;
}

.page-news-important-announcement__news-card-excerpt {
    font-size: 0.95em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news-important-announcement__news-card-link {
    display: inline-block;
    color: #2AD16F; /* Button color */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-news-important-announcement__news-card-link:hover {
    color: #57E38D; /* Glow */
    text-decoration: underline;
}

.page-news-important-announcement__button-group {
    text-align: center;
    margin-top: 20px;
}

/* Key Updates Section */
.page-news-important-announcement__update-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-news-important-announcement__update-item {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-news-important-announcement__update-item:hover {
    transform: translateY(-5px);
}

.page-news-important-announcement__update-title {
    font-size: 1.5em;
    color: #2AD16F; /* Button color */
    margin-bottom: 10px;
    font-weight: 600;
}

.page-news-important-announcement__update-date {
    font-size: 0.9em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 15px;
}

.page-news-important-announcement__update-text {
    font-size: 1em;
    color: #F2FFF6; /* Text Main */
}

/* Promotional News Section */
.page-news-important-announcement__promo-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-news-important-announcement__promo-card {
    background-color: #11271B; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-news-important-announcement__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-news-important-announcement__promo-card-image {
    width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-news-important-announcement__promo-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-news-important-announcement__promo-card-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-news-important-announcement__promo-card-title a {
    color: #F2FFF6; /* Text Main */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news-important-announcement__promo-card-title a:hover {
    color: #2AD16F; /* Button color */
}

.page-news-important-announcement__promo-card-text {
    font-size: 0.95em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news-important-announcement__promo-card-link {
    display: inline-block;
    color: #2AD16F; /* Button color */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-news-important-announcement__promo-card-link:hover {
    color: #57E38D; /* Glow */
    text-decoration: underline;
}

/* FAQ Section */
.page-news-important-announcement__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-news-important-announcement__faq-item {
    background-color: #11271B; /* Card BG */
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-news-important-announcement__faq-item[open] {
    background-color: #0A4B2C; /* Deep Green */
}

.page-news-important-announcement__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15em;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-news-important-announcement__faq-question:hover {
    background-color: #0A4B2C; /* Deep Green */
}

.page-news-important-announcement__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-news-important-announcement__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #2AD16F; /* Button color */
    transition: transform 0.3s ease;
}

.page-news-important-announcement__faq-item[open] .page-news-important-announcement__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or just change to '-' */
}

.page-news-important-announcement__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
}

/* CTA Section (Dark background) */
.page-news-important-announcement__cta-section {
    background-color: #11A84E; /* Main color */
    padding: 80px 0;
    text-align: center;
    border-top: 1px solid #1E3A2A; /* Divider */
}

.page-news-important-announcement__cta-section .page-news-important-announcement__section-title {
    color: #FFFFFF;
    padding-top: 0;
    margin-bottom: 15px;
}

.page-news-important-announcement__cta-section .page-news-important-announcement__section-description {
    color: #E0FFE5; /* Lighter shade for contrast */
    margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-news-important-announcement__hero-section {
        padding-bottom: 30px;
    }
    .page-news-important-announcement__main-title {
        font-size: clamp(2em, 6vw, 3em);
    }
    .page-news-important-announcement__section-title {
        font-size: clamp(1.6em, 5vw, 2.5em);
    }
    .page-news-important-announcement__news-grid,
    .page-news-important-announcement__update-list,
    .page-news-important-announcement__promo-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-news-important-announcement__container {
        padding: 0 15px;
    }
    .page-news-important-announcement__hero-section {
        padding-bottom: 20px;
        padding-top: 10px !important; /* body handles header offset, small top padding for hero */
    }
    .page-news-important-announcement__hero-image-wrapper {
        max-height: 400px;
    }
    .page-news-important-announcement__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }
    .page-news-important-announcement__description {
        font-size: 1em;
    }
    .page-news-important-announcement__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-news-important-announcement__btn-primary,
    .page-news-important-announcement__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Images */
    .page-news-important-announcement img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-news-important-announcement__hero-image,
    .page-news-important-announcement__news-card-image,
    .page-news-important-announcement__promo-card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important; /* Allow height to adjust */
    }

    /* Video (if any) - Placeholder for rules, no video in this page content */
    .page-news-important-announcement video,
    .page-news-important-announcement__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-news-important-announcement__video-section,
    .page-news-important-announcement__video-container,
    .page-news-important-announcement__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    .page-news-important-announcement__video-section {
        padding-top: 10px !important;
    }


    .page-news-important-announcement__latest-news-section,
    .page-news-important-announcement__key-updates-section,
    .page-news-important-announcement__promotional-news-section,
    .page-news-important-announcement__faq-section {
        padding: 40px 0;
    }
    .page-news-important-announcement__section-title {
        font-size: clamp(1.5em, 7vw, 2em);
    }
    .page-news-important-announcement__news-card-title,
    .page-news-important-announcement__promo-card-title {
        font-size: 1.2em;
    }
    .page-news-important-announcement__update-title {
        font-size: 1.3em;
    }
    .page-news-important-announcement__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-news-important-announcement__faq-answer {
        padding: 0 20px 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-news-important-announcement__main-title {
        font-size: clamp(1.6em, 9vw, 2.2em);
    }
    .page-news-important-announcement__section-title {
        font-size: clamp(1.4em, 8vw, 1.8em);
    }
    .page-news-important-announcement__news-card-image,
    .page-news-important-announcement__promo-card-image {
        height: 150px;
    }
}

/* Contrast Fixes */
.page-news-important-announcement__dark-section {
  background-color: #11A84E;
  color: #ffffff; /* Force white text */
}
.page-news-important-announcement__dark-section .page-news-important-announcement__section-description {
    color: #E0FFE5;
}
.page-news-important-announcement__dark-section .page-news-important-announcement__btn-secondary {
    border-color: #FFFFFF;
    color: #FFFFFF;
}
.page-news-important-announcement__dark-section .page-news-important-announcement__btn-secondary:hover {
    background-color: #FFFFFF;
    color: #11A84E;
}