/* style/news-system-upgrade-announcement.css */

:root {
    --primary-color: #8B0000;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #111;
    --bg-light: #f1f3f5;
    --card-bg-dark: rgba(255, 255, 255, 0.1);
    --card-bg-light: #ffffff;
    --border-color: #e0e0e0;
}

.page-news-system-upgrade-announcement {
    color: var(--text-light); /* Body background is dark #111, so use light text */
    background-color: var(--bg-dark);
    line-height: 1.7;
    font-family: 'Arial', sans-serif;
}

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

/* Fixed Nav Bar Spacing */
.page-news-system-upgrade-announcement__hero-announcement-section {
    padding-top: 120px; /* Desktop: Adjust based on fixed header height */
    padding-bottom: 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), #6e0000); /* Darker gradient for hero */
    color: var(--text-light);
}

.page-news-system-upgrade-announcement__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-news-system-upgrade-announcement__intro-text {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.page-news-system-upgrade-announcement__image-wrapper {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.page-news-system-upgrade-announcement__announcement-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    object-fit: cover;
    min-width: 400px; /* Ensure minimum size */
    min-height: 300px;
}

.page-news-system-upgrade-announcement__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-news-system-upgrade-announcement__cta-button:hover {
    background: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-news-system-upgrade-announcement__cta-button--secondary {
    background: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--secondary-color);
}

.page-news-system-upgrade-announcement__cta-button--secondary:hover {
    background: #a30000;
    border-color: #e6c200;
}

.page-news-system-upgrade-announcement__cta-button--primary {
    background: var(--secondary-color);
    color: var(--text-dark);
    border: 2px solid transparent;
}

.page-news-system-upgrade-announcement__cta-button--primary:hover {
    background: #e6c200;
}

.page-news-system-upgrade-announcement__content-section,
.page-news-system-upgrade-announcement__schedule-section,
.page-news-system-upgrade-announcement__user-actions-section,
.page-news-system-upgrade-announcement__commitment-section,
.page-news-system-upgrade-announcement__faq-section {
    padding: 60px 0;
}

.page-news-system-upgrade-announcement__dark-section {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-news-system-upgrade-announcement__section-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
    color: var(--secondary-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-news-system-upgrade-announcement__content-section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

.page-news-system-upgrade-announcement__feature-card {
    background: var(--card-bg-dark);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-news-system-upgrade-announcement__feature-title {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.page-news-system-upgrade-announcement__feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 300px; /* Ensure minimum size */
    min-height: 200px;
}

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

.page-news-system-upgrade-announcement__schedule-item {
    background: var(--card-bg-dark);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-news-system-upgrade-announcement__schedule-heading {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-news-system-upgrade-announcement__schedule-item p {
    font-size: 1.05em;
    margin-bottom: 10px;
}

.page-news-system-upgrade-announcement__important-note {
    font-size: 1.1em;
    font-style: italic;
    text-align: center;
    margin-top: 40px;
    color: var(--secondary-color);
}

.page-news-system-upgrade-announcement__action-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-news-system-upgrade-announcement__action-list li {
    background: var(--card-bg-dark);
    border-left: 5px solid var(--secondary-color);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1.1em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    text-align: justify;
}

.page-news-system-upgrade-announcement__action-list li strong {
    color: var(--secondary-color);
}

.page-news-system-upgrade-announcement__link {
    color: #00BFFF; /* A distinct light blue for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-news-system-upgrade-announcement__link:hover {
    color: #4682B4;
}

.page-news-system-upgrade-announcement__faq-list {
    margin-top: 40px;
}

.page-news-system-upgrade-announcement__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: var(--card-bg-dark);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-news-system-upgrade-announcement__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
  color: var(--text-light);
}

.page-news-system-upgrade-announcement__faq-item.active .page-news-system-upgrade-announcement__faq-answer {
  max-height: 2000px !important;
  padding: 20px 30px !important;
  opacity: 1;
  background: var(--primary-color); /* Darker background for active answer */
  border-radius: 0 0 5px 5px;
}

.page-news-system-upgrade-announcement__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 30px;
  background: var(--card-bg-dark);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-light);
}

.page-news-system-upgrade-announcement__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--secondary-color);
}

.page-news-system-upgrade-announcement__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

.page-news-system-upgrade-announcement__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--secondary-color);
}

.page-news-system-upgrade-announcement__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-news-system-upgrade-announcement__faq-item.active .page-news-system-upgrade-announcement__faq-toggle {
  color: var(--text-light);
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-news-system-upgrade-announcement__main-title {
        font-size: 2.8em;
    }
    .page-news-system-upgrade-announcement__section-title {
        font-size: 2.2em;
    }
    .page-news-system-upgrade-announcement__intro-text,
    .page-news-system-upgrade-announcement__content-section p,
    .page-news-system-upgrade-announcement__schedule-item p,
    .page-news-system-upgrade-announcement__important-note,
    .page-news-system-upgrade-announcement__action-list li {
        font-size: 1em;
    }
    .page-news-system-upgrade-announcement__feature-title {
        font-size: 1.6em;
    }
    .page-news-system-upgrade-announcement__schedule-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-news-system-upgrade-announcement__hero-announcement-section {
        padding-top: 100px !important; /* Mobile: Adjust based on mobile fixed header height */
        padding-bottom: 40px;
    }
    .page-news-system-upgrade-announcement__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-news-system-upgrade-announcement__intro-text {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-news-system-upgrade-announcement__announcement-image {
        min-width: unset;
        min-height: unset;
    }
    .page-news-system-upgrade-announcement__cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-news-system-upgrade-announcement__content-section,
    .page-news-system-upgrade-announcement__schedule-section,
    .page-news-system-upgrade-announcement__user-actions-section,
    .page-news-system-upgrade-announcement__commitment-section,
    .page-news-system-upgrade-announcement__faq-section {
        padding: 40px 0;
    }
    .page-news-system-upgrade-announcement__container {
        padding: 0 15px;
    }
    .page-news-system-upgrade-announcement__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-news-system-upgrade-announcement__feature-card,
    .page-news-system-upgrade-announcement__schedule-item,
    .page-news-system-upgrade-announcement__action-list li {
        padding: 20px;
    }
    .page-news-system-upgrade-announcement__feature-title {
        font-size: 1.4em;
    }
    .page-news-system-upgrade-announcement__schedule-heading {
        font-size: 1.3em;
    }
    .page-news-system-upgrade-announcement__faq-question {
        padding: 15px 20px;
    }
    .page-news-system-upgrade-announcement__faq-question h3 {
        font-size: 1em;
    }
    .page-news-system-upgrade-announcement__faq-toggle {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    .page-news-system-upgrade-announcement__faq-item.active .page-news-system-upgrade-announcement__faq-answer {
        padding: 15px 20px !important;
    }
    /* Mobile image responsive adaptation */
    .page-news-system-upgrade-announcement img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-news-system-upgrade-announcement__section,
    .page-news-system-upgrade-announcement__card,
    .page-news-system-upgrade-announcement__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}