/* Modern Enterprise News & Media Section */

.news-page {
  min-width: 320px;
  margin: 0;
  color: var(--text-body, #475569);
  font-family: var(--font-sans, 'Inter', sans-serif);
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
}

.news-page a {
  color: inherit;
  text-decoration: none;
}

.news-page img {
  display: block;
  max-width: 100%;
  border: 0;
}

.news-main {
  overflow: hidden;
}

.news-section-inner {
  box-sizing: border-box;
  width: 1200px;
  max-width: 92%;
  margin: 0 auto;
  padding: 0 16px;
}

/* Modern Hero Section */
.news-hero {
  position: relative;
  height: 360px;
  background-color: #0b132a;
  background-image: url("../images/AD0I9ZemDhACGAAg253QmQYomd-DoQMwgA84wgM.jpg");
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 19, 42, 0.84) 0%, rgba(11, 19, 42, 0.70) 100%);
}

.news-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 860px;
  padding: 0 20px;
}

.news-hero-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 16px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 20px;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.news-hero-title {
  margin: 0 0 14px;
  color: #ffffff;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.news-hero-desc {
  margin: 0 auto;
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.7;
}

/* List section */
.news-list-section {
  padding: 80px 0;
  background: #fff;
}

.news-list-heading {
  margin: 0 auto 56px;
  text-align: center;
  max-width: 800px;
}

.news-list-heading-title {
  margin: 0 0 12px;
  color: var(--text-dark, #0f172a);
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.news-list-heading-subtitle {
  margin: 0;
  color: #64748b;
  font-size: 16px;
}

.news-list {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* News List Card */
.news-list-item {
  display: flex;
  align-items: stretch;
  gap: 36px;
  margin-bottom: 40px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.news-list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  border-color: #e2e8f0;
}

.news-list-media {
  position: relative;
  flex: 0 0 340px;
  width: 340px;
  border-radius: 12px;
  overflow: hidden;
}

.news-list-image {
  display: block;
  width: 100%;
  height: 210px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: transform 0.4s ease;
}

.news-list-item:hover .news-list-image {
  transform: scale(1.04);
}

.news-list-image-title {
  display: none !important;
}

.news-list-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 0;
}

.news-list-title {
  margin: 0 0 12px;
  color: var(--text-dark, #0f172a);
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}

.news-list-title a {
  transition: color 0.2s ease;
}

.news-list-title a:hover {
  color: #0284c7;
}

.news-list-summary {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 20px;
  color: #64748b;
  font-size: 15px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news-list-date {
  color: #94a3b8;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.news-list-date::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #0284c7;
  border-radius: 50%;
}

/* Pagination */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
}

.news-page-btn,
.news-page-link,
.news-page-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.news-page-btn.is-disabled {
  color: #cbd5e1;
  border-color: #f1f5f9;
  pointer-events: none;
}

.news-page-current {
  color: #fff;
  background: #0284c7;
  border-color: #0284c7;
}

.news-page-link:hover,
.news-page-btn:not(.is-disabled):hover {
  color: #0284c7;
  border-color: #0284c7;
  background: rgba(2, 132, 199, 0.03);
}

/* Scroll reveal */
.news-page .reveal-section {
  opacity: 1;
  transform: none;
  transition: opacity .8s ease, transform .8s ease;
}

.news-page .reveal-section.is-visible {
  opacity: 1;
  transform: none;
}

/* News detail page */
.news-detail-section {
  padding: 80px 0;
  background: #fff;
}

.news-detail-inner {
  width: 800px;
  max-width: 90%;
  margin: 0 auto;
  box-sizing: border-box;
}

.news-detail-article {
  width: 100%;
}

.news-detail-title {
  margin: 0 0 16px;
  color: var(--text-dark, #0f172a);
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.news-detail-meta {
  margin: 0 0 40px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.news-detail-breadcrumb a {
  transition: color 0.2s ease;
}

.news-detail-breadcrumb a:hover {
  color: #0270a9 !important;
}

.news-detail-body {
  color: #334155;
  font-size: 16px;
  line-height: 1.85;
}

.news-detail-body p {
  margin: 0 0 24px;
  text-align: justify;
}

.news-detail-body blockquote {
  margin: 32px 0;
  padding: 16px 24px;
  background: #f8fafc;
  border-left: 4px solid #0284c7;
  border-radius: 0 8px 8px 0;
  color: #475569;
  font-style: italic;
}

.news-detail-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 32px auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
  border: 1px solid #e2e8f0;
}

.news-detail-back {
  margin: 56px 0 0;
  border-top: 1px solid #f1f5f9;
  padding-top: 32px;
}

.news-detail-back a {
  color: #0284c7;
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.news-detail-back a:hover {
  transform: translateX(-4px);
}

.news-list-empty {
  margin: 0;
  padding: 60px 0;
  text-align: center;
  color: #94a3b8;
  font-size: 15px;
}

@media (max-width: 768px) {
  .news-list-item {
    flex-direction: column;
    align-items: center;
  }
  .news-list-media {
    flex: 0 0 auto;
    width: 100%;
  }
  .news-list-body {
    width: 100%;
  }
}
