/* NewsWave – Premium Section Styles v2.0 */

/* ── Google Fonts already loaded via functions.php ── */

/* ── Base resets for theme ─────────────────────────── */
:root {
  --nw-red:      #C0392B;
  --nw-red-dark: #922B21;
  --nw-navy:     #1A1A2E;
  --nw-dark:     #0D0D0D;
  --nw-gold:     #F39C12;
  --nw-radius:   6px;
  --nw-shadow:   0 1px 8px rgba(0,0,0,0.06);
  --nw-shadow-hover: 0 6px 24px rgba(0,0,0,0.12);
  --nw-transition: 0.22s ease;
}

/* Section common */
.nw-section { margin-bottom: 32px; }

.nw-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--nw-red);
}

.nw-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-dark, #1A1A1A);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nw-section-title .icon { color: var(--nw-red); font-size: 1.1rem; }

.nw-see-all {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--nw-red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color var(--nw-transition);
}
.nw-see-all:hover { color: var(--nw-red-dark); text-decoration: underline; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SLIDER — full-height cinematic style
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.nw-slider-section { margin-bottom: 0; }

.nw-slider {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: var(--nw-navy);
}

.nw-slides-track { position: relative; width: 100%; height: 100%; }

.nw-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1), visibility 0.8s;
  pointer-events: none;
}

.nw-slide.active { opacity: 1; visibility: visible; pointer-events: auto; }

/* Slide image */
.nw-slide-bg { position: absolute; inset: 0; }

.nw-slide-bg img.nw-slide-img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 7s ease;
}
.nw-slide.active .nw-slide-bg img { transform: scale(1.05); }

.nw-slide-placeholder { width: 100%; height: 100%; background: var(--nw-navy); }

/* Multi-layer gradient for readability */
.nw-slide-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(5,5,20,0.97) 0%, rgba(5,5,20,0.6) 45%, rgba(5,5,20,0.1) 100%),
    linear-gradient(to right, rgba(5,5,20,0.5) 0%, transparent 60%);
}

/* Content area */
.nw-slide-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0 0 64px;
}

.nw-slide-inner { max-width: 680px; }

.nw-slide-cat {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--nw-red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.nw-slide-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.nw-slide-title a { color: #fff; }
.nw-slide-title a:hover { color: #f5c6c6; }

.nw-slide-excerpt {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 20px;
}

/* Slide meta */
.nw-slide-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.nw-slide-meta .post-meta { color: rgba(255,255,255,0.6); }
.nw-slide-meta .post-meta a { color: rgba(255,255,255,0.8); }

/* CTA button */
.nw-slide-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--nw-red);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--nw-radius);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background var(--nw-transition), transform var(--nw-transition);
}
.nw-slide-cta:hover { background: var(--nw-red-dark); color: #fff; transform: translateY(-2px); }

/* Slider progress bar */
.nw-slider-progress {
  position: absolute; bottom: 0; left: 0;
  height: 3px;
  background: var(--nw-red);
  z-index: 10;
  animation: nwProgress 5s linear infinite;
}
@keyframes nwProgress { from { width: 0; } to { width: 100%; } }

/* Arrows */
.nw-prev, .nw-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--nw-transition); z-index: 10;
}
.nw-prev { left: 20px; } .nw-next { right: 20px; }
.nw-prev:hover, .nw-next:hover {
  background: var(--nw-red); border-color: var(--nw-red);
}

/* Dots */
.nw-dots {
  position: absolute; bottom: 22px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 10;
}
.nw-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.35); border: none;
  cursor: pointer; transition: all 0.3s ease; padding: 0;
}
.nw-dot.active { background: var(--nw-red); width: 26px; border-radius: 4px; }

/* Slide counter */
.nw-slide-counter {
  position: absolute; top: 24px; right: 24px;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
  color: rgba(255,255,255,0.8); font-size: 0.8rem; font-weight: 600;
  padding: 4px 12px; border-radius: 20px; z-index: 10;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TRENDING NOW — Split layout, numbered list
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.nw-trending-section {
  background: #fff;
  border-radius: var(--nw-radius);
  padding: 22px;
  box-shadow: var(--nw-shadow);
  border: 1px solid #eee;
}

.nw-trending-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

/* Big card */
.nw-trend-big-card {}

.nw-trend-big-thumb {
  position: relative;
  border-radius: var(--nw-radius);
  overflow: hidden;
  margin-bottom: 14px;
}
.nw-trend-big-thumb img {
  width: 100%; height: 210px; object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.nw-trend-big-card:hover .nw-trend-big-thumb img { transform: scale(1.04); }

.nw-rank-1 {
  position: absolute; top: 10px; left: 10px;
  background: var(--nw-red); color: #fff;
  font-size: 0.7rem; font-weight: 700;
  padding: 3px 10px; border-radius: 2px;
  letter-spacing: 0.06em; text-transform: uppercase;
}

.nw-trend-big-card h3 { font-size: 1.05rem; margin-bottom: 8px; line-height: 1.4; }
.nw-trend-big-card h3 a { color: #1A1A1A; }
.nw-trend-big-card h3 a:hover { color: var(--nw-red); }

.nw-views-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: #FFF3F3; color: var(--nw-red);
  font-size: 0.72rem; font-weight: 700;
  padding: 3px 8px; border-radius: 20px; margin-top: 6px;
}

/* Numbered list */
.nw-trend-list { display: flex; flex-direction: column; }

.nw-trend-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #F0F0F0;
  transition: background var(--nw-transition);
}
.nw-trend-item:last-child { border-bottom: none; }

.nw-trend-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 900;
  color: #E8E8E8;
  min-width: 36px; line-height: 1;
}

.nw-trend-thumb-sm img {
  width: 72px; height: 56px; object-fit: cover;
  border-radius: 4px; flex-shrink: 0;
}

.nw-trend-item h4 { font-size: 0.87rem; line-height: 1.4; margin-bottom: 4px; }
.nw-trend-item h4 a { color: #1A1A1A; }
.nw-trend-item h4 a:hover { color: var(--nw-red); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   EDITOR'S PICKS — Dark premium card
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.nw-editors-section {
  background: var(--nw-navy);
  border-radius: var(--nw-radius);
  padding: 22px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  position: relative;
  overflow: hidden;
}

/* Subtle texture overlay */
.nw-editors-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(192,57,43,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.nw-editors-section .nw-section-title { color: #fff; }
.nw-editors-section .nw-see-all { color: var(--nw-red); }
.nw-editors-section .nw-section-header { border-bottom-color: var(--nw-red); }

.nw-editors-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  position: relative;
}

/* Lead story */
.nw-editors-lead-inner {
  border-radius: var(--nw-radius);
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.nw-editors-lead-img {
  position: relative;
  overflow: hidden;
}
.nw-editors-lead-img img {
  width: 100%; height: 200px; object-fit: cover;
  opacity: 0.75; transition: opacity var(--nw-transition);
}
.nw-editors-lead:hover .nw-editors-lead-img img { opacity: 0.9; }

.nw-editors-lead-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(10,10,26,0.9) 100%);
}

.nw-pick-chip {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--nw-red); color: #fff;
  font-size: 0.67rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 2px;
}

.nw-editors-lead-body { padding: 16px; }
.nw-editors-lead-body .cat-badge { margin-bottom: 8px; }
.nw-editors-lead-body h2 {
  font-size: 1.15rem; color: #fff; line-height: 1.35;
  margin-bottom: 10px;
}
.nw-editors-lead-body h2 a { color: #fff; }
.nw-editors-lead-body h2 a:hover { color: #f5c6c6; }
.nw-editors-lead-body p { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 10px; }
.nw-editors-lead-body .post-meta { color: rgba(255,255,255,0.4); }

/* Side picks */
.nw-editors-side { display: flex; flex-direction: column; gap: 8px; }

.nw-editors-side-item {
  display: flex; gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 5px; padding: 10px;
  transition: background var(--nw-transition), border-color var(--nw-transition);
}
.nw-editors-side-item:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(192,57,43,0.4);
}

.nw-editors-side-item img {
  width: 72px; height: 56px; object-fit: cover;
  border-radius: 4px; flex-shrink: 0;
}

.nw-editors-side-item .cat-badge { font-size: 0.62rem; margin-bottom: 4px; }
.nw-editors-side-item h4 { font-size: 0.85rem; color: rgba(255,255,255,0.88); line-height: 1.4; margin-bottom: 4px; }
.nw-editors-side-item h4 a { color: rgba(255,255,255,0.88); }
.nw-editors-side-item h4 a:hover { color: var(--nw-red); }
.nw-editors-side-item .post-meta { color: rgba(255,255,255,0.4); font-size: 0.75rem; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   NEWS TABS — Clean tabbed layout
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.nw-tabs-section {
  background: #fff;
  border-radius: var(--nw-radius);
  padding: 22px;
  box-shadow: var(--nw-shadow);
  border: 1px solid #eee;
}

.nw-tab-buttons {
  display: flex; flex-wrap: wrap;
  border-bottom: 2px solid #F0F0F0;
  margin-bottom: 18px; gap: 0;
}

.nw-tab-btn {
  background: none; border: none; border-bottom: 3px solid transparent;
  font-family: inherit; font-size: 0.82rem; font-weight: 700;
  color: #888; padding: 10px 16px; cursor: pointer;
  text-transform: uppercase; letter-spacing: 0.05em;
  margin-bottom: -2px;
  transition: color var(--nw-transition), border-color var(--nw-transition);
}
.nw-tab-btn:hover { color: var(--nw-red); }
.nw-tab-btn.active { color: var(--nw-red); border-bottom-color: var(--nw-red); }

.nw-tab-panel { display: none; }
.nw-tab-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.nw-tab-big .card-thumb img { height: 200px; }
.nw-tab-list { display: flex; flex-direction: column; }
.nw-tab-view-all {
  display: inline-block; margin-top: 12px;
  font-size: 0.78rem; font-weight: 700; color: var(--nw-red);
  text-transform: uppercase; letter-spacing: 0.05em;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MULTIMEDIA — Cinematic dark grid
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.nw-multimedia-section {
  background: var(--nw-dark);
  border-radius: var(--nw-radius);
  padding: 22px;
}

.nw-multimedia-section .nw-section-header { border-bottom-color: var(--nw-red); }
.nw-multimedia-section .nw-section-title { color: #fff; }
.nw-multimedia-section .nw-see-all { color: var(--nw-red); }

.nw-multimedia-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.nw-media-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 6px; overflow: hidden;
  transition: background var(--nw-transition), transform var(--nw-transition);
}
.nw-media-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-3px); }

.nw-media-thumb {
  position: relative; overflow: hidden;
}
.nw-media-thumb img {
  width: 100%; height: 130px; object-fit: cover;
  display: block; transition: transform 0.4s ease; opacity: 0.8;
}
.nw-media-card:hover .nw-media-thumb img { transform: scale(1.06); opacity: 1; }

/* Play button */
.nw-play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.2);
  transition: background var(--nw-transition);
}
.nw-media-card:hover .nw-play-overlay { background: rgba(0,0,0,0.35); }

.nw-play-circle {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(192,57,43,0.9); border: 2px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
  transition: background var(--nw-transition), transform var(--nw-transition);
}
.nw-media-card:hover .nw-play-circle { background: var(--nw-red); transform: scale(1.1); }

.nw-media-duration {
  position: absolute; bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.7); color: #fff;
  font-size: 0.7rem; font-weight: 700;
  padding: 2px 6px; border-radius: 3px;
}

.nw-media-thumb .cat-badge { position: absolute; top: 8px; left: 8px; }

.nw-media-body { padding: 10px 12px 12px; }
.nw-media-body h4 { font-size: 0.85rem; color: rgba(255,255,255,0.88); line-height: 1.45; margin-bottom: 5px; }
.nw-media-body h4 a { color: rgba(255,255,255,0.88); }
.nw-media-body h4 a:hover { color: var(--nw-red); }
.nw-media-body .post-meta { color: rgba(255,255,255,0.4); font-size: 0.75rem; }

/* Live badge */
.nw-live-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: #E53E3E; color: #fff;
  font-size: 0.65rem; font-weight: 700;
  padding: 2px 7px; border-radius: 20px;
  letter-spacing: 0.06em; text-transform: uppercase;
  animation: livePulse 1.5s ease-in-out infinite;
}
@keyframes livePulse { 0%,100%{opacity:1} 50%{opacity:0.6} }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   OPINION & COLUMNS — Author-forward cards
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.nw-opinion-section {
  background: #F8F7F5;
  border-radius: var(--nw-radius);
  padding: 22px;
  border: 1px solid #EBEBEB;
}

.nw-opinion-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.nw-opinion-card {
  background: #fff;
  border-radius: var(--nw-radius);
  border: 1px solid #EBEBEB;
  overflow: hidden;
  transition: box-shadow var(--nw-transition), transform var(--nw-transition);
}
.nw-opinion-card:hover { box-shadow: var(--nw-shadow-hover); transform: translateY(-3px); }

/* Author strip */
.nw-op-author-strip {
  display: flex; align-items: center; gap: 9px;
  padding: 11px 12px;
  background: #FAFAFA;
  border-bottom: 1px solid #F0F0F0;
}

.nw-op-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 2px solid rgba(192,57,43,0.25);
}

/* Fallback initials avatar */
.nw-op-avatar-initials {
  width: 36px; height: 36px; border-radius: 50%;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: #fff;
  border: 2px solid rgba(255,255,255,0.2);
}

.nw-op-author-meta { flex: 1; min-width: 0; }
.nw-op-author-meta .name {
  font-size: 0.82rem; font-weight: 700;
  color: #1A1A1A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nw-op-author-meta .name a { color: #1A1A1A; }
.nw-op-author-meta .name a:hover { color: var(--nw-red); }
.nw-op-author-meta .role { font-size: 0.72rem; color: #888; }

.nw-op-type-badge {
  font-size: 0.63rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 3px; white-space: nowrap;
}
.nw-op-type-badge.opinion { background: #FFF0F0; color: var(--nw-red); }
.nw-op-type-badge.analysis { background: #EFF6FF; color: #1D4ED8; }
.nw-op-type-badge.column { background: #F0FDF4; color: #166534; }

/* Card image */
.nw-op-thumb { position: relative; overflow: hidden; }
.nw-op-thumb img {
  width: 100%; height: 140px; object-fit: cover;
  display: block; transition: transform 0.4s ease;
}
.nw-opinion-card:hover .nw-op-thumb img { transform: scale(1.04); }

/* Card body */
.nw-op-body { padding: 12px 14px 14px; }
.nw-op-body h3 { font-size: 0.92rem; line-height: 1.4; margin-bottom: 7px; }
.nw-op-body h3 a { color: #1A1A1A; }
.nw-op-body h3 a:hover { color: var(--nw-red); }
.nw-op-body .excerpt { font-size: 0.82rem; color: #666; line-height: 1.55; margin-bottom: 8px; }
.nw-op-body .post-meta { font-size: 0.75rem; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LATEST NEWS (homepage grid) — upgraded cards
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.post-card {
  background: #fff;
  border-radius: var(--nw-radius);
  border: 1px solid #EBEBEB;
  overflow: hidden;
  transition: box-shadow var(--nw-transition), transform var(--nw-transition);
}
.post-card:hover { box-shadow: var(--nw-shadow-hover); transform: translateY(-4px); }

.post-card .card-thumb { position: relative; overflow: hidden; }
.post-card .card-thumb img {
  width: 100%; height: 180px; object-fit: cover;
  transition: transform 0.45s ease;
}
.post-card:hover .card-thumb img { transform: scale(1.06); }

.post-card .card-thumb .cat-badge { position: absolute; top: 10px; left: 10px; }

.post-card .card-body { padding: 14px 16px 16px; }
.post-card .card-body h3 { font-size: 0.97rem; line-height: 1.42; margin-bottom: 7px; }
.post-card .card-body h3 a { color: #1A1A1A; }
.post-card .card-body h3 a:hover { color: var(--nw-red); }
.post-card .card-excerpt {
  font-size: 0.83rem; color: #666; margin-bottom: 10px;
  line-height: 1.6; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1024px) {
  .nw-multimedia-grid  { grid-template-columns: repeat(2, 1fr); }
  .nw-opinion-grid     { grid-template-columns: repeat(2, 1fr); }
  .nw-editors-grid     { grid-template-columns: 1fr; }
  .nw-editors-lead-img img { height: 240px; }
}

@media (max-width: 768px) {
  .nw-slider                { height: 360px; }
  .nw-slide-title           { font-size: 1.35rem; }
  .nw-slide-excerpt         { display: none; }
  .nw-trending-grid         { grid-template-columns: 1fr; }
  .nw-tab-panel.active      { grid-template-columns: 1fr; }
  .nw-multimedia-grid       { grid-template-columns: repeat(2, 1fr); }
  .nw-opinion-grid          { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .nw-slider            { height: 260px; }
  .nw-slide-title       { font-size: 1.1rem; }
  .nw-slide-content     { padding-bottom: 48px; }
  .nw-slide-meta        { display: none; }
  .nw-multimedia-grid   { grid-template-columns: 1fr; }
  .nw-opinion-grid      { grid-template-columns: 1fr; }
  .nw-tab-buttons       { overflow-x: auto; flex-wrap: nowrap; }
  .nw-tab-btn           { padding: 8px 12px; font-size: 0.76rem; white-space: nowrap; }
}
