/* ════════════════════════════════════════════════════════════
   NEWS.CSS — News page + News Details page
   Requires: variables.css, common.css loaded first.
   ════════════════════════════════════════════════════════════ */


/* ════════════════════════════════════════════════════════════
   HERO — Navy bg with watermark badge + Book a Visit CTA
   ════════════════════════════════════════════════════════════ */
.nav-news{
  background-color: var(--navy);
}
#news-hero {
  position:   relative;
  background: var(--navy);
  padding:    140px 64px 90px;
  overflow:   hidden;
  isolation:  isolate;
  text-align: center;
}

#news-hero::before {
  content:    '';
  position:   absolute;
  inset:      0;
  background: url('../images/inner-page-bg.png') center / contain no-repeat;
  opacity:    0.08;
  z-index:    -1;
}

.nh-content {
  max-width: 880px;
  margin:    0 auto;
  z-index: 1;
  position: inherit;
}

#news-hero .section-label {
  justify-content: center;
}

.nh-title {
  font-family:    var(--font-display);
  font-size:      clamp(2.2rem, 5vw, 4.2rem);
  font-weight:    900;
  line-height:    1.15;
  color:          var(--white);
  margin:         14px 0 22px;
  letter-spacing: -0.01em;
}

.nh-sub {
  font-family: 'Inter', sans-serif;
  font-size:   15px;
  font-weight: 400;
  line-height: 1.7;
  color:       rgba(255, 255, 255, 0.72);
  max-width:   680px;
  margin:      0 auto 32px;
}

.nh-cta {
  display:         inline-flex;
  align-items:     center;
  gap:             10px;
  background:      var(--sun);
  color:           var(--navy);
  font-family:     'Inter', sans-serif;
  font-weight:     800;
  font-size:       14px;
  padding:         14px 30px;
  border-radius:   50px;
  text-decoration: none;
  transition:      all 0.3s var(--ease-bounce);
}
.nh-cta:hover {
  background: var(--white);
  transform:  translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}


/* ════════════════════════════════════════════════════════════
   STORIES — Filter pills + featured card + grid + pagination
   ════════════════════════════════════════════════════════════ */
#news-stories {
  background: var(--white);
  padding:    90px 64px 100px;
}

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

.ns-head .section-label {
  justify-content: center;
}

.ns-title {
  font-family:    var(--font-display);
  font-size:      clamp(2rem, 4vw, 3rem);
  font-weight:    900;
  color:          var(--navy);
  margin:         10px 0 14px;
  line-height:    1.1;
  letter-spacing: -0.01em;
}

.ns-sub {
  font-family: 'Inter', sans-serif;
  font-size:   15px;
  line-height: 1.7;
  color:       var(--text-soft);
  max-width:   540px;
  margin:      0 auto;
}


/* ── Filter pills ── */
.ns-filters {
  display:         flex;
  flex-wrap:       wrap;
  gap:             10px;
  justify-content: center;
  margin:          28px 0 40px;
}

.ns-filter {
  background:    var(--white);
  border:        1.5px solid #E4E8F0;
  color:         var(--navy);
  font-family:   'Inter', sans-serif;
  font-weight:   600;
  font-size:     13px;
  padding:       8px 20px;
  border-radius: 50px;
  cursor:        pointer;
  transition:    all 0.25s ease;
}
.ns-filter:hover {
  border-color: var(--navy);
}
.ns-filter.is-active {
  background:   var(--navy);
  color:        var(--white);
  border-color: var(--navy);
}


/* ── Featured (large) card ── */
.ns-featured {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   0;
  background:            var(--white);
  border-radius:         18px;
  overflow:              hidden;
  box-shadow:            0 14px 40px rgba(15, 27, 61, 0.08);
  margin-bottom:         48px;
  max-width:             1100px;
  margin-left:           auto;
  margin-right:          auto;
}

.ns-featured-img {
  position: relative;
  min-height: 320px;
}
.ns-featured-img img {
  display:    block;
  width:      100%;
  height:     100%;
  object-fit: cover;
}
.ns-featured-flag {
  position:       absolute;
  top:            18px;
  left:           18px;
  background:     var(--sun);
  color:          var(--navy);
  font-family:    'Inter', sans-serif;
  font-weight:    800;
  font-size:      11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding:        6px 12px;
  border-radius:  6px;
}
.ns-featured-flag::before { content: '★ '; }

.ns-featured-body {
  padding:        36px 40px;
  display:        flex;
  flex-direction: column;
  justify-content: center;
}

.ns-tag {
  display:         inline-flex;
  align-items:     center;
  gap:             10px;
  background:      #FFE6E0;
  color:           var(--coral);
  font-family:     'Inter', sans-serif;
  font-weight:     800;
  font-size:       11px;
  text-transform:  uppercase;
  letter-spacing:  0.1em;
  padding:         5px 12px;
  border-radius:   50px;
  align-self:      flex-start;
}

.ns-date {
  font-family: 'Inter', sans-serif;
  font-size:   12.5px;
  color:       var(--text-soft);
  margin:      12px 0 14px;
}
.ns-date::before { content: '📅 '; font-size: 12px; margin-right: 4px; }

.ns-featured-title {
  font-family:   var(--font-display);
  font-size:     clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight:   900;
  color:         var(--navy);
  line-height:   1.15;
  margin:        0 0 14px;
}

.ns-featured-excerpt {
  font-family: 'Inter', sans-serif;
  font-size:   14.5px;
  line-height: 1.7;
  color:       var(--text-soft);
  margin:      0 0 22px;
}

.ns-read-cta {
  display:         inline-flex;
  align-items:     center;
  gap:             8px;
  background:      var(--navy);
  color:           var(--sun);
  font-family:     'Inter', sans-serif;
  font-weight:     800;
  font-size:       13px;
  padding:         12px 24px;
  border-radius:   50px;
  text-decoration: none;
  align-self:      flex-start;
  transition:      all 0.3s var(--ease-bounce);
}
.ns-read-cta:hover {
  background: var(--sun);
  color:      var(--navy);
  transform:  translateY(-2px);
}


/* ── Grid of standard cards ── */
.ns-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   26px;
  max-width:             1240px;
  margin:                0 auto;
}

.ns-card {
  background:    var(--white);
  border-radius: 16px;
  overflow:      hidden;
  box-shadow:    0 10px 28px rgba(15, 27, 61, 0.07);
  transition:    transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  display:       flex;
  flex-direction: column;
}
.ns-card:hover {
  transform:  translateY(-6px);
  box-shadow: 0 22px 50px rgba(15, 27, 61, 0.12);
}

.ns-card-img {
  position:     relative;
  aspect-ratio: 16 / 10;
  overflow:     hidden;
}
.ns-card-img img {
  display:    block;
  width:      100%;
  height:     100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.ns-card:hover .ns-card-img img { transform: scale(1.05); }

.ns-card-cat {
  position:       absolute;
  top:            14px;
  left:           14px;
  background:     rgba(15, 27, 61, 0.85);
  color:          var(--sun);
  font-family:    'Inter', sans-serif;
  font-weight:    800;
  font-size:      10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding:        5px 10px;
  border-radius:  5px;
  backdrop-filter: blur(4px);
}

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

.ns-card-date {
  font-family: 'Inter', sans-serif;
  font-size:   12px;
  color:       var(--text-soft);
  margin:      0 0 8px;
}
.ns-card-date::before { content: '📅 '; margin-right: 3px; }

.ns-card-title {
  font-family: var(--font-display);
  font-size:   1.15rem;
  font-weight: 900;
  color:       var(--navy);
  line-height: 1.2;
  margin:      0 0 10px;
}

.ns-card-excerpt {
  font-family: 'Inter', sans-serif;
  font-size:   13.5px;
  line-height: 1.6;
  color:       var(--text-soft);
  margin:      0 0 16px;
  flex:        1;
}

.ns-card-link {
  font-family:     'Inter', sans-serif;
  font-weight:     800;
  font-size:       13px;
  color:           var(--coral);
  text-decoration: none;
  align-self:      flex-start;
  transition:      color 0.2s, gap 0.25s;
  display:         inline-flex;
  align-items:     center;
  gap:             6px;
}
.ns-card-link:hover {
  color: var(--navy);
  gap:   10px;
}


/* ── Pagination ── */
.ns-pagination {
  display:         flex;
  justify-content: center;
  align-items:     center;
  gap:             8px;
  margin-top:      48px;
}

.ns-pagination a,
.ns-pagination span {
  font-family:     'Inter', sans-serif;
  font-weight:     600;
  font-size:       13.5px;
  color:           var(--navy);
  text-decoration: none;
  padding:         8px 14px;
  border-radius:   8px;
  transition:      all 0.2s ease;
  min-width:       38px;
  text-align:      center;
}

.ns-pagination a:hover {
  background: #F4F6FB;
}

.ns-pagination .is-active {
  background: var(--navy);
  color:      var(--sun);
}

.ns-pagination .is-disabled {
  color:   #BFC5D2;
  cursor:  default;
}


/* ════════════════════════════════════════════════════════════
   STAY CONNECTED — yellow band with social buttons
   ════════════════════════════════════════════════════════════ */
#news-stay {
  background: var(--sun);
  padding:    70px 64px 80px;
  text-align: center;
}

.nstay-content {
  max-width: 720px;
  margin:    0 auto;
}

#news-stay .section-label {
  justify-content: center;
  color:           var(--navy);
}
#news-stay .section-label::before,
#news-stay .section-label::after {
  background: var(--navy);
}

.nstay-title {
  font-family: var(--font-display);
  font-size:   clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 900;
  color:       var(--navy);
  margin:      10px 0 14px;
  line-height: 1.15;
}

.nstay-sub {
  font-family: 'Inter', sans-serif;
  font-size:   14.5px;
  line-height: 1.65;
  color:       rgba(15, 27, 61, 0.78);
  margin:      0 0 26px;
}

.nstay-socials {
  display:         flex;
  justify-content: center;
  flex-wrap:       wrap;
  gap:             12px;
}

.nstay-social {
  display:         inline-flex;
  align-items:     center;
  gap:             10px;
  background:      var(--navy);
  color:           var(--sun);
  font-family:     'Inter', sans-serif;
  font-weight:     700;
  font-size:       13px;
  padding:         11px 22px;
  border-radius:   50px;
  text-decoration: none;
  transition:      all 0.3s var(--ease-bounce);
}
.nstay-social:hover {
  background: var(--white);
  color:      var(--navy);
  transform:  translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 27, 61, 0.2);
}
.nstay-social i { font-size: 14px; }


/* ════════════════════════════════════════════════════════════
   JOIN US — Navy enroll CTA before footer
   ════════════════════════════════════════════════════════════ */
#news-join {
  background: var(--navy);
  padding:    100px 64px;
  text-align: center;
}

.njoin-content {
  max-width: 720px;
  margin:    0 auto;
}

#news-join .section-label {
  justify-content: center;
  color:           var(--sun);
}
#news-join .section-label::before,
#news-join .section-label::after {
  background: var(--sun);
}

.njoin-title {
  font-family:    var(--font-display);
  font-size:      clamp(2rem, 4.2vw, 3.2rem);
  font-weight:    900;
  color:          var(--white);
  line-height:    1.1;
  margin:         12px 0 18px;
  letter-spacing: -0.01em;
}

.njoin-sub {
  font-family: 'Inter', sans-serif;
  font-size:   15px;
  line-height: 1.7;
  color:       rgba(255, 255, 255, 0.7);
  max-width:   560px;
  margin:      0 auto 28px;
}

.njoin-cta {
  display:         inline-flex;
  align-items:     center;
  gap:             10px;
  background:      var(--sun);
  color:           var(--navy);
  font-family:     'Inter', sans-serif;
  font-weight:     800;
  font-size:       14px;
  padding:         15px 32px;
  border-radius:   50px;
  text-decoration: none;
  transition:      all 0.3s var(--ease-bounce);
}
.njoin-cta:hover {
  background: var(--white);
  transform:  translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}


/* ════════════════════════════════════════════════════════════
   NEWS-DETAILS PAGE — Article view
   ════════════════════════════════════════════════════════════ */
#news-article {
  background: var(--white);
  padding:    70px 64px 90px;
}

.na-container {
  max-width: 880px;
  margin:    0 auto;
}

/* Back link */
.na-back {
  display:         inline-flex;
  align-items:     center;
  gap:             8px;
  font-family:     'Inter', sans-serif;
  font-weight:     700;
  font-size:       13px;
  color:           var(--coral);
  text-decoration: none;
  margin-bottom:   30px;
  transition:      gap 0.25s, color 0.2s;
}
.na-back:hover {
  color: var(--navy);
  gap:   12px;
}
.na-back::before { content: '←'; font-size: 16px; }

/* Article meta row */
.na-meta {
  display:       flex;
  flex-wrap:     wrap;
  align-items:   center;
  gap:           12px 18px;
  margin-bottom: 18px;
}
.na-meta .ns-tag { margin: 0; }
.na-meta-info {
  font-family: 'Inter', sans-serif;
  font-size:   13px;
  color:       var(--text-soft);
  display:     inline-flex;
  align-items: center;
  gap:         6px;
}
.na-meta-info i { color: var(--coral); font-size: 12px; }

.na-title {
  font-family:    var(--font-display);
  font-size:      clamp(2rem, 4.4vw, 3.4rem);
  font-weight:    900;
  color:          var(--navy);
  line-height:    1.1;
  margin:         0 0 30px;
  letter-spacing: -0.01em;
}

.na-hero {
  border-radius: 18px;
  overflow:      hidden;
  margin-bottom: 36px;
  box-shadow:    0 18px 50px rgba(15, 27, 61, 0.12);
  aspect-ratio:  16 / 9;
}
.na-hero img {
  display:    block;
  width:      100%;
  height:     100%;
  object-fit: cover;
}

/* Article body content */
.na-body {
  font-family: 'Inter', sans-serif;
  font-size:   15.5px;
  line-height: 1.8;
  color:       var(--text-soft);
}

.na-body p {
  margin: 0 0 18px;
}

.na-body h2 {
  font-family: var(--font-display);
  font-size:   1.55rem;
  font-weight: 900;
  color:       var(--navy);
  margin:      36px 0 16px;
  line-height: 1.2;
}

.na-body h3 {
  font-family: 'Inter', sans-serif;
  font-size:   1.05rem;
  font-weight: 800;
  color:       var(--navy);
  margin:      28px 0 12px;
}

.na-body ul {
  list-style:   none;
  padding-left: 0;
  margin:       0 0 22px;
}
.na-body ul li {
  position:     relative;
  padding-left: 22px;
  margin-bottom: 10px;
}
.na-body ul li::before {
  content:       '';
  position:      absolute;
  left:          0;
  top:           10px;
  width:         7px;
  height:        7px;
  background:    var(--coral);
  border-radius: 50%;
}

/* Pull-quote callout */
.na-quote {
  background:    var(--cream);
  border-left:   4px solid var(--sun);
  padding:       22px 26px;
  margin:        26px 0;
  border-radius: 8px;
  font-family:   var(--font-display);
  font-style:    italic;
  font-size:     1.05rem;
  line-height:   1.6;
  color:         var(--navy);
}

/* Inline image inside the article */
.na-body figure {
  margin: 30px 0;
}
.na-body figure img {
  width:         100%;
  border-radius: 14px;
  display:       block;
}
.na-body figcaption {
  font-family: 'Inter', sans-serif;
  font-size:   12.5px;
  text-align:  center;
  color:       var(--text-soft);
  margin-top:  10px;
  font-style:  italic;
}

/* Share row */
.na-share {
  display:        flex;
  align-items:    center;
  gap:            14px;
  margin-top:     40px;
  padding-top:    28px;
  border-top:     1px solid #EAEDF4;
}
.na-share-label {
  font-family:    'Inter', sans-serif;
  font-weight:    800;
  font-size:      12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color:          var(--navy);
}
.na-share-btn {
  width:           36px;
  height:          36px;
  border-radius:   50%;
  background:      #F4F6FB;
  color:           var(--navy);
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  font-size:       13px;
  text-decoration: none;
  transition:      all 0.25s var(--ease-bounce);
}
.na-share-btn:hover {
  background: var(--sun);
  transform:  translateY(-2px);
}


/* ════════════════════════════════════════════════════════════
   RELATED ARTICLES
   ════════════════════════════════════════════════════════════ */
#news-related {
  background: #F4F6FB;
  padding:    80px 64px 100px;
}

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

.nr-head .section-label {
  justify-content: center;
}

.nr-title {
  font-family: var(--font-display);
  font-size:   clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 900;
  color:       var(--navy);
  margin:      10px 0 0;
  line-height: 1.15;
}

.nr-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   24px;
  max-width:             1180px;
  margin:                0 auto;
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  #news-hero       { padding: 130px 32px 80px; }
  #news-stories    { padding: 70px 32px 90px; }
  .ns-featured     { grid-template-columns: 1fr; }
  .ns-featured-img { min-height: 240px; }
  .ns-featured-body { padding: 28px 30px; }
  .ns-grid         { grid-template-columns: repeat(2, 1fr); }
  #news-stay       { padding: 60px 32px 70px; }
  #news-join       { padding: 80px 32px; }
  #news-article    { padding: 60px 32px 80px; }
  #news-related    { padding: 70px 32px 90px; }
  .nr-grid         { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  #news-hero       { padding: 110px 24px 70px; }
  #news-stories    { padding: 60px 18px 80px; }
  .ns-grid         { grid-template-columns: 1fr; gap: 22px; max-width: 420px; margin: 0 auto; }
  .ns-featured-body { padding: 24px 22px; }
  .ns-pagination a, .ns-pagination span { padding: 8px 10px; min-width: 32px; font-size: 13px; }
  #news-stay       { padding: 50px 24px 60px; }
  #news-join       { padding: 70px 24px; }
  #news-article    { padding: 50px 18px 70px; }
  .na-hero         { margin-bottom: 28px; }
  #news-related    { padding: 60px 18px 80px; }
  .nr-grid         { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}


/* ════════════════════════════════════════════════════════════
   NEWS-DETAILS PAGE — Rebuilt layout
   ════════════════════════════════════════════════════════════ */


/* ── 1. Article header + split content ── */
#nd-article {
  background: #F4F6FB;
  padding:    120px 64px 80px;   /* top padding clears fixed nav */
}

.nd-container {
  max-width: 1200px;
  margin:    0 auto;
}

.nd-header {
  margin-bottom: 36px;
}

.nd-title {
  font-family:    var(--font-display);
  font-size:      clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight:    900;
  color:          var(--navy);
  line-height:    1.15;
  margin:         0 0 12px;
  letter-spacing: -0.01em;
  max-width:      720px;
}

.nd-date {
  font-family:    'Inter', sans-serif;
  font-weight:    700;
  font-size:      11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color:          var(--text-soft);
  margin:         0;
}

/* 2-column block: image left, paragraphs right */
.nd-split {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   50px;
  align-items:           start;
  margin-bottom:         40px;
}

.nd-split-img {
  border-radius: 18px;
  overflow:      hidden;
  border:        4px solid var(--sun);
  box-shadow:    0 22px 50px rgba(15, 27, 61, 0.18);
  aspect-ratio:  4 / 3;
}
.nd-split-img img {
  display:    block;
  width:      100%;
  height:     100%;
  object-fit: cover;
}

.nd-split-body p {
  font-family: 'Inter', sans-serif;
  font-size:   14.5px;
  line-height: 1.8;
  color:       var(--text-soft);
  margin:      0 0 18px;
}
.nd-split-body p:last-child { margin-bottom: 0; }

/* Full-width body paragraphs (above and below the slider) */
.nd-body p {
  font-family: 'Inter', sans-serif;
  font-size:   14.5px;
  line-height: 1.8;
  color:       var(--text-soft);
  margin:      0 0 18px;
}
.nd-body p:last-child { margin-bottom: 0; }


/* ── 2. Image slider ── */
#nd-slider-section {
  background: #F4F6FB;
  padding:    20px 0 80px;
}

.nd-slider {
  overflow-x:        visible;
  scroll-snap-type:  none;
  justify-content:   center;
}

.nd-slider .nd-slide:not(.nd-slide--center) {
  opacity: 0.7;
}

.nd-slider-wrap {
  position:  relative;
  max-width: 1400px;
  margin:    0 auto;
  padding:   0 60px;        /* reserves room for arrow buttons */
}

.nd-slider {
  display:                    flex;
  gap:                        24px;
  overflow-x:                 auto;
  scroll-behavior:            smooth;
  scroll-snap-type:           x mandatory;
  padding:                    12px 4px;
  scrollbar-width:            none;
  -webkit-overflow-scrolling: touch;
  align-items:                center;     /* vertically centre slides so the centre one feels larger */
}
.nd-slider::-webkit-scrollbar { display: none; }

.nd-slide {
  flex:              0 0 auto;
  width:             280px;
  height:            190px;
  border-radius:     14px;
  overflow:          hidden;
  box-shadow:        0 14px 32px rgba(15, 27, 61, 0.12);
  scroll-snap-align: center;
  transition:        transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.nd-slide img {
  display:    block;
  width:      100%;
  height:     100%;
  object-fit: cover;
}

/* Highlighted centre slide */
.nd-slide--center {
  width:      420px;
  height:     260px;
  box-shadow: 0 22px 50px rgba(15, 27, 61, 0.22);
}

/* Arrow buttons (same styling pattern as partners carousel) */
.nd-slider-arrow {
  position:        absolute;
  top:             50%;
  transform:       translateY(-50%);
  width:           46px;
  height:          46px;
  border-radius:   50%;
  background:      var(--white);
  border:          none;
  box-shadow:      0 10px 28px rgba(15, 27, 61, 0.14);
  cursor:          pointer;
  z-index:         2;
  color:           var(--navy);
  font-family:     var(--font-heading);
  font-size:       26px;
  font-weight:     700;
  line-height:     1;
  display:         flex;
  align-items:     center;
  justify-content: center;
  transition:      all 0.3s var(--ease-bounce);
}
.nd-slider-arrow:hover {
  background: var(--sun);
  transform:  translateY(-50%) scale(1.08);
  box-shadow: 0 14px 34px rgba(245, 200, 0, 0.4);
}
.nd-slider-arrow--prev { left:  0; }
.nd-slider-arrow--next { right: 0; }


/* ── 3. Related News ── */
#nd-related {
  background: var(--white);
  padding:    80px 64px 90px;
}

.ndr-container {
  max-width: 1240px;
  margin:    0 auto;
}

.ndr-head {
  margin-bottom: 36px;
}

.ndr-title {
  font-family:    var(--font-display);
  font-size:      clamp(2rem, 4vw, 2.8rem);
  font-weight:    900;
  color:          var(--navy);
  margin:         0 0 14px;
  line-height:    1.15;
  letter-spacing: -0.01em;
}

.ndr-sub {
  font-family: 'Inter', sans-serif;
  font-size:   14.5px;
  line-height: 1.7;
  color:       var(--text-soft);
  margin:      0;
  max-width:   780px;
}

.ndr-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   26px;
}


/* ════════════════════════════════════════════════════════════
   NEWS-DETAILS — Responsive
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  #nd-article          { padding: 110px 32px 70px; }
  .nd-split            { grid-template-columns: 1fr; gap: 28px; }

  #nd-slider-section   { padding: 10px 0 70px; }
  .nd-slider-wrap      { padding: 0 50px; }
  .nd-slide            { width: 240px; height: 170px; }
  .nd-slide--center    { width: 340px; height: 220px; }

  #nd-related          { padding: 70px 32px 80px; }
  .ndr-grid            { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  #nd-article          { padding: 100px 22px 60px; }

  #nd-slider-section   { padding: 0 0 60px; }
  .nd-slider-wrap      { padding: 0 44px; }
  .nd-slider           { gap: 16px; }
  .nd-slide            { width: 200px; height: 140px; }
  .nd-slide--center    { width: 260px; height: 180px; }
  .nd-slider-arrow     { width: 38px; height: 38px; font-size: 22px; }

  #nd-related          { padding: 60px 18px 80px; }
  .ndr-grid            { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; gap: 22px; }
}