/* =============================================
   NEWS PAGES — news.css
   font-family: "Poppins", Sans-serif;
   ============================================= */

.active-link { color: var(--red) !important; font-weight: 600; }

/* -----------------------------------------------
   NEWS HERO
----------------------------------------------- */
.news-hero {
  position: relative;
  top: 55px;
  height: 340px;
  background: url('../images/news-bg.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.news-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.news-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.news-hero-content h1 {
  font-family: "Poppins", Sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0,0,0,0.4);
}

/* -----------------------------------------------
   NEWS LISTING
----------------------------------------------- */
.news-listing {
  padding: 68px 0 80px;
  background: #fff;
}
.news-intro {
  margin-bottom: 44px;
}
.news-intro h2 {
  font-family: "Poppins", Sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px;
}
.news-red-line {
  width: 100%;
  height: 1px;
  background: var(--red);
  opacity: 0.5;
  margin-bottom: 16px;
}
.news-intro p {
  font-family: "Poppins", Sans-serif;
  font-size: 14px;
  color: #666;
  line-height: 1.75;
}

/* 2-column grid matching original */
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* News Card */
.news-card-full {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  position: relative;
}
.news-card-full:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

/* Image wrap */
.nc-img-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  height: 330px;
}
.nc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.news-card-full:hover .nc-img-wrap img { transform: scale(1.04); }

.nc-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  background: var(--red);
  color: #fff;
  font-family: "Poppins", Sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 3px;
}

/* Author avatar */
.nc-author {
  position: relative;
  height: 0;
}
.nc-avatar-circle {
  position: absolute;
  top: -22px;
  left: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid #fff;
  z-index: 5;
}

/* Body */
.nc-body {
  padding: 30px 20px 24px;
}
.nc-title {
  display: block;
  font-family: "Poppins", Sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  margin-bottom: 12px;
  text-decoration: none;
  transition: color 0.2s;
}
.nc-title:hover { color: var(--red); }
.nc-excerpt {
  font-family: "Poppins", Sans-serif;
  font-size: 13px;
  color: #666;
  line-height: 1.65;
  margin-bottom: 14px;
}
.nc-read-more {
  display: block;
  font-family: "Poppins", Sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  transition: letter-spacing 0.2s;
}
.nc-read-more:hover { letter-spacing: 0.06em; }
.nc-date {
  display: block;
  font-family: "Poppins", Sans-serif;
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

/* -----------------------------------------------
   ARTICLE HERO (single article pages)
----------------------------------------------- */
.article-hero {
  position: relative;
  height: 480px;
  background: url('../images/news-thumbnail-01.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.article-hero-dark {
  background: url('../images/news-01-bg.jpg') center center / cover no-repeat;
}
.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.62);
}
.article-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.article-hero-content h1 {
  font-family: "Poppins", Sans-serif;
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.35;
  text-shadow: 0 2px 14px rgba(0,0,0,0.5);
  max-width: 820px;
}

/* -----------------------------------------------
   ARTICLE BODY
----------------------------------------------- */
.article-body-section {
  padding: 64px 0 80px;
  background: #fff;
}

/* Article intro block (image left + text right) */
.article-intro-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}
.article-intro-img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}
.article-intro-img img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  display: block;
}
.article-intro-text h2 {
  font-family: "Poppins", Sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--red);
  margin: 0 0 16px;
  line-height: 1.35;
}
.article-intro-text p {
  font-family: "Poppins", Sans-serif;
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  text-align: justify;
}

/* Full width image */
.article-full-img {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}
.article-full-img img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

/* Article text content */
.article-content p {
  font-family: "Poppins", Sans-serif;
  font-size: 15px;
  color: #555;
  line-height: 1.85;
  margin-bottom: 18px;
  text-align: justify;
  width: 100%;
}

/* Meta row */
.article-meta {
  display: flex;
  gap: 24px;
  align-items: center;
  margin: 36px 0 28px;
  padding: 16px 20px;
  background: #f8f8f8;
  border-radius: 8px;
  border-left: 4px solid var(--red);
}
.article-date,
.article-category {
  font-family: "Poppins", Sans-serif;
  font-size: 13px;
  color: #666;
}
.article-date { font-weight: 500; }

.article-back { margin-top: 12px; }

/* -----------------------------------------------
   EMPLOYEE BLOCK (longest serving article)
----------------------------------------------- */
.employee-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 44px;
  align-items: flex-start;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #eee;
}
.employee-block-reverse {
  grid-template-columns: 1.4fr 1fr;
}
.employee-block-reverse .eb-img { order: 2; }
.employee-block-reverse .eb-text { order: 1; }

.eb-img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
}
.eb-img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.eb-cert img { object-position: center center; }

.eb-heading {
  font-family: "Poppins", Sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 18px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.eb-heading span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  text-transform: none;
  letter-spacing: 0;
  margin-top: 4px;
}
.eb-text p {
  font-family: "Poppins", Sans-serif;
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 14px;
  text-align: justify;
}

.eb-full-text {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #eee;
}
.eb-full-text p {
  font-family: "Poppins", Sans-serif;
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  text-align: justify;
  width: 100%;
}

/* -----------------------------------------------
   RESPONSIVE
----------------------------------------------- */
@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr; }
  .article-intro-block { grid-template-columns: 1fr; gap: 24px; }
  .employee-block { grid-template-columns: 1fr; gap: 24px; }
  .employee-block-reverse .eb-img { order: 1; }
  .employee-block-reverse .eb-text { order: 2; }
}
@media (max-width: 768px) {
  .news-hero { height: 240px; }
  .news-hero-content h1 { font-size: 28px; }
  .article-hero { height: 240px; }
  .article-hero-content h1 { font-size: 22px; }
  .nc-img-wrap { height: 200px; }
  .article-full-img img { height: 280px; }
  .eb-img img { height: 260px; }
}
@media (max-width: 480px) {
  .news-hero-content h1 { font-size: 22px; }
  .article-hero-content h1 { font-size: 18px; }
  .article-meta { flex-direction: column; gap: 8px; }
}
