/* style/news.css */
:root {
  --primary-color: #0A2463;
  --secondary-color: #FFD700;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f1f3f5;
  --border-light: #e0e0e0;
  --dark-bg-1: #0d0d0d; /* Assuming this is a dark background from shared.css */
}

.page-news {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--dark-bg-1); /* Inherited from body */
}

.page-news__main-content-wrapper {
  padding-top: 180px; /* Desktop spacing for fixed header */
}

@media (max-width: 768px) {
  .page-news__main-content-wrapper {
    padding-top: 140px; /* Mobile spacing for fixed header */
  }
}

.page-news__section {
  padding: 60px 20px;
  margin-bottom: 20px;
}

.page-news__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-news__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-news__section-title--light {
  color: var(--text-light);
}

.page-news__container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Banner */
.page-news__hero-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a72 100%);
  color: var(--text-light);
  padding-bottom: 60px;
  text-align: center;
}

.page-news__hero-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-news__hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
}

.page-news__hero-content {
  padding: 0 20px;
}

.page-news__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
  line-height: 1.2;
}

.page-news__hero-description {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

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

.page-news__cta-button:hover {
  background: #ffc107;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Latest Articles */
.page-news__latest-articles {
  background-color: var(--dark-bg-1);
  color: var(--text-light);
}

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

.page-news__article-card {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-news__article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-news__article-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-news__article-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-news__article-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-news__article-title a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__article-title a:hover {
  color: #ffc107;
  text-decoration: underline;
}

.page-news__article-summary {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-news__read-more {
  display: inline-flex;
  align-items: center;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease;
  margin-top: auto;
}

.page-news__read-more:hover {
  color: #ffc107;
}

.page-news__arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.page-news__read-more:hover .page-news__arrow {
  transform: translateX(5px);
}

/* Featured Article */
.page-news__featured-article {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a3a72 100%);
  color: var(--text-light);
}

.page-news__featured-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-news__featured-image {
  width: 50%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-news__featured-text {
  width: 50%;
  font-size: 17px;
  line-height: 1.8;
  color: #e0e0e0;
}

.page-news__featured-text p {
  margin-bottom: 20px;
}

/* Categories */
.page-news__categories {
  background-color: var(--dark-bg-1);
  color: var(--text-light);
}

.page-news__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-news__category-card {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding-bottom: 25px;
}

.page-news__category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-news__category-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-news__category-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-news__category-title a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-news__category-title a:hover {
  color: #ffc107;
  text-decoration: underline;
}

.page-news__category-description {
  font-size: 15px;
  color: #cccccc;
  padding: 0 20px;
}

/* FAQ Section */
.page-news__faq-section {
  background-color: var(--dark-bg-1);
  color: var(--text-light);
}

.page-news__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-news__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-news__faq-question:hover {
  background: #2a2a2a;
  border-color: #555555;
}

.page-news__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--secondary-color);
}

.page-news__faq-toggle {
  font-size: 28px;
  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;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.page-news__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 25px;
  opacity: 0;
  background: #0f0f0f;
  color: #cccccc;
  border-radius: 0 0 8px 8px;
  font-size: 16px;
}

.page-news__faq-item.active .page-news__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid #333333;
}

.page-news__faq-item.active .page-news__faq-toggle {
  transform: rotate(45deg);
  color: #ffc107;
}

.page-news__faq-answer a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-news__faq-answer a:hover {
  text-decoration: underline;
  color: #ffc107;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-news__hero-title {
    font-size: 40px;
  }
  .page-news__hero-description {
    font-size: 16px;
  }
  .page-news__cta-button {
    padding: 12px 30px;
    font-size: 18px;
  }
  .page-news__featured-content {
    flex-direction: column;
  }
  .page-news__featured-image,
  .page-news__featured-text {
    width: 100%;
  }
  .page-news__featured-image {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-news__section {
    padding: 40px 15px;
  }
  .page-news__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-news__hero-banner {
    padding-bottom: 40px;
  }
  .page-news__hero-image {
    margin-bottom: 30px;
    border-radius: 8px;
  }
  .page-news__hero-title {
    font-size: 32px;
  }
  .page-news__hero-description {
    font-size: 15px;
  }
  .page-news__cta-button {
    padding: 10px 25px;
    font-size: 16px;
  }
  .page-news__articles-grid {
    grid-template-columns: 1fr;
  }
  .page-news__article-card {
    border-radius: 8px;
  }
  .page-news__article-image {
    height: 180px;
  }
  .page-news__article-content {
    padding: 20px;
  }
  .page-news__article-title {
    font-size: 20px;
  }
  .page-news__article-summary {
    font-size: 14px;
  }
  .page-news__read-more {
    font-size: 15px;
  }
  .page-news__featured-text {
    font-size: 15px;
  }
  .page-news__categories-grid {
    grid-template-columns: 1fr;
  }
  .page-news__category-card {
    border-radius: 8px;
  }
  .page-news__category-image {
    height: 150px;
  }
  .page-news__category-title {
    font-size: 20px;
  }
  .page-news__category-description {
    font-size: 14px;
  }
  .page-news__faq-question {
    padding: 18px 20px;
  }
  .page-news__faq-question h3 {
    font-size: 16px;
  }
  .page-news__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-news__faq-answer {
    padding: 0 20px;
    font-size: 15px;
  }
  .page-news__faq-item.active .page-news__faq-answer {
    padding: 15px 20px !important;
  }
}