/* ========================================
   United Textile - News list
   Style: About / home light + blue
   ======================================== */

.page-news .nw-banner {
  min-height: min(72vh, 680px);
  background: #eef1f3;
}

.page-news .nw-banner .inner-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  min-height: min(72vh, 680px);
  padding: calc(var(--header-h) + 48px) var(--page-pad) 72px;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-news .nw-banner .inner-banner-title {
  max-width: none;
  font-size: clamp(40px, 6vw, 68px);
  letter-spacing: 0.04em;
  margin: 0 0 22px;
  text-shadow: 0 2px 24px rgba(18, 31, 74, 0.35);
}

.page-news .nw-banner .inner-breadcrumb {
  justify-content: center;
}

.page-news .nw-banner .inner-banner-shade {
  background: linear-gradient(
    180deg,
    rgba(18, 31, 74, 0.3) 0%,
    rgba(18, 31, 74, 0.2) 45%,
    rgba(18, 31, 74, 0.48) 100%
  );
}

/* Intro */
.nw-intro {
  background: var(--white);
  padding: clamp(88px, 12vw, 140px) 0 clamp(48px, 6vw, 72px);
}

.nw-intro .wrap {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.nw-intro .ns-heading {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.12;
  letter-spacing: 0.05em;
}

.nw-intro .ns-text {
  color: var(--text-muted);
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(17px, 1.55vw, 21px);
}

/* Featured */
.nw-featured {
  background: var(--white);
  padding: 0 0 clamp(48px, 7vw, 80px);
}

.nw-featured > .wrap {
  max-width: 1400px;
  margin: 0 auto;
}

.nw-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  background: #f5f6f7;
  color: var(--text-dark);
  overflow: hidden;
}

.nw-feature-media {
  overflow: hidden;
  background: #e8eaed;
  min-height: 380px;
}

.nw-feature-media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.85s ease;
}

.nw-feature:hover .nw-feature-media img {
  transform: scale(1.04);
}

.nw-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 4vw, 56px);
}

.nw-feature-copy time {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.nw-feature-copy > em {
  display: inline-block;
  align-self: flex-start;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.nw-feature-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.nw-feature-copy p {
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 8px;
  max-width: 36rem;
}

.nw-feature-copy .ns-link {
  margin-top: 28px;
}

/* List */
.nw-list {
  background: #f5f6f7;
  padding: clamp(64px, 9vw, 100px) 0;
}

.nw-list > .wrap {
  max-width: 1400px;
  margin: 0 auto;
}

.nw-items {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.nw-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  color: var(--text-dark);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.nw-card:hover {
  transform: translateY(-3px);
}

.nw-card-media {
  overflow: hidden;
  background: #e8eaed;
  aspect-ratio: 4 / 3;
}

.nw-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.nw-card:hover .nw-card-media img {
  transform: scale(1.04);
}

.nw-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 20px 26px;
}

.nw-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 12px;
}

.nw-meta time {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nw-meta em {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
}

.nw-card-body h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 22px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.nw-card-body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 18px;
  flex: 1;
}

.nw-card-body > span {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

/* Pagination */
.nw-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 48px;
}

.nw-pager a,
.nw-pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  background: var(--white);
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: background 0.25s ease, color 0.25s ease;
}

.nw-pager a:hover,
.nw-pager .is-current,
.nw-pager .current,
.nw-pager span.current {
  background: var(--blue-dark);
  color: var(--white);
}

.nw-pager-next svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1100px) {
  .nw-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .nw-feature {
    grid-template-columns: 1fr;
  }

  .nw-feature-media,
  .nw-feature-media img {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .nw-items {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nw-feature-media img,
  .nw-card-media img,
  .nw-card {
    transition: none;
  }
}

/* ---- News detail ---- */
.nw-detail {
  background: var(--white);
  padding: clamp(64px, 9vw, 110px) 0 clamp(48px, 6vw, 72px);
}

.nw-detail-inner {
  max-width: 920px;
  margin: 0 auto;
}

.nw-detail-head {
  text-align: center;
  margin-bottom: 36px;
}

.nw-detail-head .nw-meta {
  justify-content: center;
  margin-bottom: 18px;
}

.nw-detail-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--text-dark);
  margin: 0 0 20px;
}

.nw-detail-lead {
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0 auto;
}

.nw-detail-cover {
  margin-bottom: 40px;
  overflow: hidden;
  background: #eef1f3;
}

.nw-detail-cover img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  display: block;
}

.nw-detail-body {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.8;
  color: var(--text);
}

.nw-detail-body p {
  margin: 0 0 22px;
}

.nw-detail-body h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin: 36px 0 16px;
  line-height: 1.2;
}

.nw-detail-body ul {
  margin: 0 0 24px;
  padding-left: 1.2em;
}

.nw-detail-body li {
  margin-bottom: 10px;
  color: var(--text-muted);
}

.nw-detail-body .ns-link {
  margin-top: 8px;
}

.nw-detail-figure {
  margin: 36px 0;
}

.nw-detail-figure img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
  background: #eef1f3;
}

.nw-detail-figure span {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* Prev / Next */
.nw-adjacent {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.nw-adjacent a {
  display: block;
  padding: 22px 20px;
  background: #f5f6f7;
  color: var(--text-dark);
  transition: background 0.25s ease;
}

.nw-adjacent a:hover {
  background: #eef1f3;
}

.nw-adjacent span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.nw-adjacent strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.6vw, 20px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
}

.nw-adjacent-next {
  text-align: right;
}

/* Related */
.nw-related {
  background: #f5f6f7;
  padding: clamp(72px, 10vw, 120px) 0;
}

.nw-related > .wrap {
  max-width: 1400px;
  margin: 0 auto;
}

.nw-related-head {
  text-align: center;
  margin-bottom: 40px;
}

.nw-related-head .ns-heading {
  margin-bottom: 0;
  font-size: clamp(28px, 3.6vw, 40px);
}

.nw-related-more {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 960px) {
  .nw-adjacent {
    grid-template-columns: 1fr;
  }

  .nw-adjacent-next {
    text-align: left;
  }
}
