/* ===== NEWS DETAILS PAGE ===== */

/* Override body background for news details page */
body {
  background: #ffffff !important;
}

/* News Header Image - Uses hero-section carousel style */
/* The hero-section and image-carousel styles are inherited from styles.css */

/* News Article */
.news-article {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  padding: 60px 0 80px;
  min-height: 60vh;
}

.news-article-content {
  max-width: 800px;
  margin: 0 auto;
}

.news-article-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  padding: 6px 12px;
  background: rgba(50, 87, 140, 0.1);
  border-radius: 4px;
}

.news-article-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 30px;
  letter-spacing: -0.5px;
}

.news-article-body {
  color: var(--text-gray);
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.8;
}

.news-article-body p {
  margin-bottom: 20px;
}

.news-article-body ul {
  margin: 20px 0;
  padding-left: 24px;
}

.news-article-body li {
  margin-bottom: 12px;
  line-height: 1.7;
}

.news-article-body h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.4;
  letter-spacing: -0.3px;
}

.news-article-body h2:first-of-type {
  margin-top: 30px;
}

.news-article-body ul ul {
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 20px;
}

.news-images-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.news-images-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: block;
}

.news-article-footer {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-back-to-news {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-blue);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.btn-back-to-news:hover {
  color: var(--accent-blue-dark);
}

/* Responsive Styles */
@media (max-width: 768px) {
  /* Hero section responsive styles are handled in styles.css */

  .news-article {
    padding: 40px 0 60px;
  }

  .news-article-content {
    padding: 0 20px;
  }

  .news-article-title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .news-article-body {
    font-size: 15px;
  }

  .news-images-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 24px 0;
  }

  .news-article-footer {
    margin-top: 40px;
    padding-top: 24px;
  }
}

@media (max-width: 480px) {
  /* Hero section responsive styles are handled in styles.css */

  .news-article {
    padding: 30px 0 50px;
  }

  .news-article-content {
    padding: 0 16px;
  }

  .news-article-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .news-article-body {
    font-size: 14px;
    line-height: 1.7;
  }

  .news-article-body ul {
    padding-left: 20px;
  }

  .news-images-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 20px 0;
  }

  .news-article-footer {
    margin-top: 30px;
    padding-top: 20px;
  }
}

