/*
Theme Name: Naradia Siger
Theme URI: https://naradiasiger.com
Author: Naradia Siger
Description: Theme portal berita Naradia Siger. Berita, iklan (banner/sidebar), alamat footer, dan media sosial semuanya dinamis dari admin WordPress.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: naradia-siger
*/

:root {
  --ns-primary: #14284b;
  --ns-accent: #e10600;
  --ns-text: #1c1f26;
  --ns-muted: #6b7280;
  --ns-bg: #ffffff;
  --ns-soft: #f3f5f8;
  --ns-radius: 14px;
  --ns-wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ns-text);
  background: var(--ns-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ns-accent); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.3; }

.ns-wrap { max-width: var(--ns-wrap); margin: 0 auto; padding: 0 16px; }
.screen-reader-text { position: absolute; left: -9999px; }

/* ---------- Header ---------- */
.ns-topbar { background: #fff; }
.ns-topbar .ns-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.ns-logo img { max-height: 60px; width: auto; }
.ns-logo .ns-sitename { font-size: 1.6rem; font-weight: 800; color: var(--ns-primary); }
.ns-search { display: flex; flex: 0 1 320px; }
.ns-search input[type=search] { flex: 1; min-width: 0; border: 1px solid #222; border-right: 0; padding: 10px 14px; font: inherit; font-size: .9rem; outline: none; }
.ns-search button { background: #111; color: #fff; border: 0; padding: 0 16px; cursor: pointer; display: flex; align-items: center; }
.ns-socials { display: flex; gap: 10px; }
.ns-soc { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; transition: transform .15s; }
.ns-soc:hover { transform: translateY(-2px); }

/* ---------- Menu ---------- */
.ns-nav { background: var(--ns-primary); position: sticky; top: 0; z-index: 50; }
.ns-nav .ns-wrap { display: flex; align-items: center; }
.ns-menu { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.ns-menu::-webkit-scrollbar { display: none; }
.ns-menu li { flex: 0 0 auto; position: relative; }
.ns-menu a { display: block; color: #fff; text-transform: uppercase; font-weight: 700; font-size: .82rem; padding: 17px 8px; white-space: nowrap; }
.ns-menu a:hover, .ns-menu .current-menu-item > a, .ns-menu .current-cat > a { background: rgba(255,255,255,.12); color: #fff; }
.ns-menu .ns-home a { background: rgba(255,255,255,.1); font-size: 1.1rem; padding: 14px 12px; }
.ns-menu .sub-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--ns-primary); min-width: 200px; box-shadow: 0 8px 20px rgba(0,0,0,.25); z-index: 10; }
.ns-menu li:hover > .sub-menu { display: block; }
.ns-menu .sub-menu a { padding: 11px 16px; }

/* ---------- Layout ---------- */
.ns-main { padding: 20px 0 40px; }
.ns-layout { display: grid; grid-template-columns: minmax(0, 1fr) 375px; gap: 28px; align-items: start; }
.ns-content { min-width: 0; }

/* ---------- Iklan ---------- */
.ns-iklan-wrap--banner_atas, .ns-iklan-wrap--banner_tengah { margin: 18px 0; }
.ns-iklan-wrap--banner_atas .ns-iklan, .ns-iklan-wrap--banner_tengah .ns-iklan { margin-bottom: 10px; }
.ns-iklan img { width: 100%; height: auto; }
.ns-iklan-wrap--sidebar { display: flex; flex-direction: column; gap: 18px; margin-bottom: 26px; }
.ns-iklan-wrap--sidebar img { border-radius: 4px; }

/* ---------- Headline ---------- */
.ns-headline { margin-bottom: 8px; }
.ns-hl-main { position: relative; overflow: hidden; background: #000; aspect-ratio: 1200 / 650; }
.ns-hl-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; pointer-events: none; }
.ns-hl-slide.is-active { opacity: 1; pointer-events: auto; }
.ns-hl-slide img { width: 100%; height: 100%; object-fit: cover; }
.ns-hl-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,0) 60%); }
.ns-hl-badge { position: absolute; top: 12px; left: 0; z-index: 2; background: var(--ns-accent); color: #fff; font-weight: 600; font-size: .85rem; padding: 4px 12px; border-radius: 0 6px 6px 0; }
.ns-hl-caption { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; color: #fff; }
.ns-hl-cat { color: #ffe600; text-transform: uppercase; font-weight: 500; font-size: .9rem; }
.ns-hl-caption h2 { font-size: clamp(1.15rem, 2.6vw, 2rem); font-weight: 700; margin: 2px 0 0; }
.ns-hl-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-top: 4px; align-items: start; }
.ns-hl-thumb { display: block; width: 100%; min-width: 0; background: var(--ns-primary); color: #fff; text-align: center; cursor: pointer; border: 0; padding: 0; font: inherit; opacity: .8; transition: opacity .2s; overflow: hidden; }
.ns-hl-thumb.is-active, .ns-hl-thumb:hover { opacity: 1; }
.ns-hl-img { display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #24406e; }
.ns-hl-img img { width: 100%; height: 100%; object-fit: cover; }
.ns-hl-ttl { display: -webkit-box; font-size: .8rem; line-height: 1.35; padding: 8px 8px 10px; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.6em; }

/* ---------- Judul seksi ---------- */
.ns-sec-title { font-size: 1.2rem; font-weight: 800; text-transform: uppercase; margin: 26px 0 14px; padding-bottom: 6px; position: relative; display: inline-block; }
.ns-sec-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 55%; height: 3px; background: var(--ns-accent); }

/* ---------- List berita ---------- */
.ns-list-item { display: grid; grid-template-columns: 338px 1fr; gap: 24px; margin-bottom: 28px; align-items: start; }
.ns-list-item .ns-thumb { border-radius: 14px; overflow: hidden; aspect-ratio: 338 / 188; background: var(--ns-soft); }
.ns-list-item .ns-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.ns-list-item:hover .ns-thumb img { transform: scale(1.04); }
.ns-label { color: var(--ns-accent); font-weight: 700; text-transform: uppercase; font-size: .88rem; }
.ns-list-item h3 { font-size: 1.35rem; font-weight: 400; margin: 2px 0 6px; }
.ns-date { color: var(--ns-muted); font-size: .85rem; }

/* ---------- Blok kategori ---------- */
.ns-block { margin: 30px 0; }
.ns-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; position: relative; }
.ns-card { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #000; }
.ns-card img { width: 100%; height: 100%; object-fit: cover; }
.ns-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.92), rgba(0,0,0,0) 62%); }
.ns-card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px; color: #fff; }
.ns-tag { display: inline-block; background: var(--ns-accent); color: #fff; font-weight: 600; font-size: .78rem; padding: 2px 8px; border-radius: 4px; margin-bottom: 6px; }
.ns-card h3 { font-size: 1.05rem; font-weight: 700; margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* varian kotak biru (seperti Olahraga/Pariwisata/Ekbis) */
.ns-block--box { background: var(--ns-primary); padding: 40px 18px 18px; position: relative; margin-top: 44px; }
.ns-block--box .ns-box-title { position: absolute; top: -16px; left: 30px; background: #fff; padding: 4px 14px; font-weight: 800; font-size: .95rem; text-transform: uppercase; border-radius: 4px 4px 0 0; }
.ns-block--box .ns-cards { gap: 14px; }
.ns-block--box .ns-card { aspect-ratio: auto; background: transparent; }
.ns-block--box .ns-card::after { display: none; }
.ns-block--box .ns-card img { aspect-ratio: 16 / 9; height: auto; }
.ns-block--box .ns-card-body { position: static; padding: 8px 0 0; }
.ns-block--box .ns-tag { background: none; color: #ffe600; padding: 0; font-size: .85rem; }
.ns-block--box .ns-card h3 { -webkit-line-clamp: 2; font-size: 1rem; }

/* ---------- Pagination ---------- */
.ns-pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 30px 0; }
.ns-pagination a, .ns-pagination span { background: #8d8d8d; color: #fff; font-weight: 700; padding: 8px 15px; border-radius: 999px; font-size: .95rem; }
.ns-pagination .current { background: #111; }
.ns-pagination .dots { background: #8d8d8d; }
.ns-pagination a:hover { background: var(--ns-accent); color: #fff; }

/* ---------- Sidebar ---------- */
.ns-sidebar .ns-sec-title { margin-top: 6px; }
.ns-popular li { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 4px; padding: 14px 12px; }
.ns-popular li:nth-child(odd) { background: var(--ns-soft); }
.ns-popular .ns-num { font-size: 2.6rem; font-weight: 800; line-height: 1; padding-left: 8px; }
.ns-popular a { font-weight: 700; font-size: .92rem; line-height: 1.35; }

/* ---------- Single ---------- */
.ns-single h1 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 700; margin: 6px 0 10px; }
.ns-single .ns-meta { color: var(--ns-muted); font-size: .88rem; margin-bottom: 16px; }
.ns-single .ns-featured { margin: 0 0 6px; }
.ns-single .ns-featured img { width: 100%; border-radius: 10px; }
.ns-caption { color: var(--ns-muted); font-size: .82rem; margin-bottom: 18px; }
.ns-entry { font-size: 1.05rem; line-height: 1.85; }
.ns-entry p { margin: 0 0 1.2em; }
.ns-entry img { border-radius: 8px; margin: 1em auto; }
.ns-entry a { color: var(--ns-accent); text-decoration: underline; }
.ns-entry blockquote { margin: 1.4em 0; padding: 4px 20px; border-left: 4px solid var(--ns-accent); color: #444; background: var(--ns-soft); }
.ns-archive-head { margin-bottom: 8px; }
.ns-archive-head p { color: var(--ns-muted); margin: 0; }
.ns-empty { padding: 40px 0; text-align: center; color: var(--ns-muted); }

/* ---------- Footer ---------- */
.ns-footer { background: var(--ns-primary); color: #fff; text-align: center; padding: 34px 16px 22px; margin-top: 30px; border-top: 2px solid rgba(0,0,0,.35); }
.ns-footer-logo { display: inline-block; background: #fff; padding: 6px 12px; border-radius: 6px; margin-bottom: 18px; }
.ns-footer-logo img { max-height: 52px; width: auto; }
.ns-footer h4 { font-size: .9rem; margin-bottom: 6px; }
.ns-footer p { margin: 0 0 4px; font-size: .88rem; text-transform: uppercase; }
.ns-footer .ns-contact { text-transform: none; }
.ns-footer .ns-socials { justify-content: center; margin: 18px 0 20px; }
.ns-footer-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; margin: 18px 0 20px; }
.ns-footer-menu li + li::before { content: '/'; margin: 0 14px; font-weight: 700; }
.ns-footer-menu a { font-weight: 700; text-transform: uppercase; font-size: .85rem; }
.ns-footer a:hover { color: #ffe600; }
.ns-copy { font-size: .78rem; margin-top: 8px; }

.ns-totop { position: fixed; right: 22px; bottom: 22px; width: 42px; height: 42px; border-radius: 50%; background: var(--ns-accent); color: #fff; border: 0; cursor: pointer; font-size: 1.2rem; opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 60; }
.ns-totop.is-show { opacity: .9; pointer-events: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .ns-layout { grid-template-columns: 1fr; }
  .ns-sidebar { max-width: 420px; margin: 0 auto; width: 100%; }
}
/* tombol hamburger, panel header, tag bar, panah slider (default desktop) */
.ns-header-panel { display: contents; }
.ns-burger { display: none; }
.ns-tagbar { display: none; }
.ns-hl-tag { display: none; }
.ns-hl-nav { display: none; }

@media (max-width: 720px) {
  body { background: #f0f0f3; }
  .ns-wrap { padding: 0 4px; }
  .ns-main { padding: 8px 0 24px; }

  /* header: logo kiri, hamburger kanan */
  .ns-topbar { background: #fff; }
  .ns-topbar .ns-wrap { padding: 8px 18px; flex-wrap: wrap; justify-content: space-between; gap: 0; }
  .ns-logo img { max-height: 52px; }
  .ns-burger { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 6px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 0; }
  .ns-burger span { display: block; height: 3px; background: #111; border-radius: 2px; }
  .ns-burger span:nth-child(1) { width: 34px; }
  .ns-burger span:nth-child(2) { width: 26px; }
  .ns-burger span:nth-child(3) { width: 34px; }
  .ns-header-panel { display: none; width: 100%; flex-direction: column; gap: 14px; padding: 12px 0 6px; }
  .ns-header-panel.is-open { display: flex; }
  .ns-search { flex: none; width: 100%; }
  .ns-socials { justify-content: center; }

  /* menu */
  .ns-nav { position: static; }
  .ns-nav .ns-wrap { padding: 0; }
  .ns-menu a { padding: 15px 11px; font-size: .9rem; }

  /* tag populer */
  .ns-tagbar { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 12px 4px; background: #fff; }
  .ns-tagbar::-webkit-scrollbar { display: none; }
  .ns-tagbar a, .ns-tagbar-label { flex: 0 0 auto; font-size: .76rem; font-weight: 700; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; color: #fff; background: #4a4f58; white-space: nowrap; }
  .ns-tagbar-label { background: #c40000; }
  .ns-tagbar a:hover { color: #fff; background: var(--ns-accent); }

  /* iklan */
  .ns-iklan-wrap--banner_atas, .ns-iklan-wrap--banner_tengah { margin: 8px 0; }

  /* headline */
  .ns-hl-main { aspect-ratio: 3 / 2; }
  .ns-hl-badge, .ns-hl-cat { display: none; }
  .ns-hl-tag { display: inline-block; position: absolute; top: 12px; left: 0; z-index: 2; background: var(--ns-accent); color: #fff; font-weight: 600; font-size: .95rem; padding: 3px 12px; }
  .ns-hl-caption { left: 14px; right: 14px; bottom: 16px; }
  .ns-hl-caption h2 { font-size: 1.45rem; font-weight: 700; line-height: 1.3; }
  .ns-hl-thumbs { display: none; }
  .ns-hl-nav { display: grid; place-items: center; position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); background: rgba(0,0,0,.25); color: #fff; font-size: 1.1rem; cursor: pointer; padding: 0; }
  .ns-hl-prev { left: 12px; }
  .ns-hl-next { right: 12px; }

  /* judul seksi: kotak putih */
  .ns-sec-title { display: block; background: #fff; margin: 10px 0; padding: 14px 14px 14px; font-size: 1.1rem; }
  .ns-sec-title::after { left: 14px; bottom: 10px; width: 110px; }

  /* list berita: kartu putih, thumbnail kecil kiri */
  .ns-list-item { grid-template-columns: 108px 1fr; gap: 14px; align-items: center; background: #fff; padding: 14px; margin: 0 0 10px; }
  .ns-list-item .ns-thumb { aspect-ratio: 1 / 1; border-radius: 14px; }
  .ns-label { font-size: .8rem; }
  .ns-list-item h3 { font-size: 1.02rem; font-weight: 700; line-height: 1.35; margin: 2px 0 4px; }
  .ns-date { font-size: .78rem; }

  /* blok kategori: geser horizontal */
  .ns-block { margin: 12px 0; }
  .ns-cards { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px; }
  .ns-cards::-webkit-scrollbar { display: none; }
  .ns-card { scroll-snap-align: start; aspect-ratio: 4 / 5; }
  .ns-block--box { padding: 38px 10px 14px; }
  .ns-block--box .ns-card { aspect-ratio: auto; }

  .ns-pagination { margin: 18px 0; }
  .ns-pagination a, .ns-pagination span { padding: 7px 13px; font-size: .85rem; }
  .ns-single { background: #fff; padding: 14px; }
  .ns-footer-menu li + li::before { margin: 0 8px; }
}

/* ---------- Halaman berita (v1.1) ---------- */
.ns-breadcrumb { display: flex; flex-wrap: wrap; gap: 0 8px; font-size: .95rem; font-weight: 600; margin: 2px 0 12px; }
.ns-breadcrumb a { color: #1e4fa3; }
.ns-breadcrumb .ns-bc-home { color: var(--ns-accent); }
.ns-breadcrumb span { color: #444; }
.ns-breadcrumb a:hover { color: var(--ns-accent); }

.ns-byline { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; flex-wrap: wrap; }
.ns-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--ns-soft); flex: 0 0 auto; display: block; }
.ns-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ns-by-text { flex: 1 1 200px; min-width: 0; }
.ns-by-name { display: flex; align-items: center; gap: 5px; font-weight: 700; font-size: .95rem; line-height: 1.3; }
.ns-by-date { color: #444; font-size: .85rem; }
.ns-verified { flex: 0 0 auto; }
.ns-share-icons { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.ns-soc--sm { width: 36px; height: 36px; border: 0; padding: 0; cursor: pointer; }
.ns-soc--sm svg { width: 20px; height: 20px; }

.ns-single .ns-featured { margin: 0 0 22px; }
.ns-single .ns-featured img { width: 100%; border-radius: 10px; }
.ns-caption { color: var(--ns-muted); font-size: .82rem; margin: 6px 0 0; }

.ns-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: start; }
.ns-body--solo { grid-template-columns: minmax(0, 1fr); }
.ns-main-col { min-width: 0; }
.ns-rel-side { position: sticky; top: 76px; }
.ns-rel-side .ns-sec-title { font-size: 1.1rem; margin-top: 0; }
.ns-rel-side li { border-bottom: 1px solid #d9dce2; padding: 12px 0; }
.ns-rel-side li a { display: block; font-weight: 600; font-size: .84rem; line-height: 1.4; color: #4a4f58; }
.ns-rel-side li a:hover { color: var(--ns-accent); }

.ns-entry iframe, .ns-entry video, .ns-entry embed { max-width: 100%; }
.ns-entry .wp-block-embed__wrapper, .ns-entry .is-type-video .wp-block-embed__wrapper { position: relative; }
.ns-entry figure { margin: 1.2em 0; max-width: 100%; }
.ns-entry figcaption, .ns-entry .wp-caption-text { color: var(--ns-muted); font-size: .82rem; text-align: center; }
.ns-entry .alignleft { float: left; margin: .3em 1.2em .6em 0; }
.ns-entry .alignright { float: right; margin: .3em 0 .6em 1.2em; }
.ns-entry .aligncenter { margin-left: auto; margin-right: auto; }
.ns-entry::after { content: ''; display: block; clear: both; }

.ns-credits { margin: 26px 0 18px; }
.ns-credit { border-top: 1px dotted #9a9a9a; padding: 11px 0; font-size: 1.05rem; }
.ns-credit:last-child { border-bottom: 1px dotted #9a9a9a; }

.ns-partner { background: var(--ns-soft); border: 1px solid #dcdfe5; border-radius: 4px; margin: 14px 0 22px; }
.ns-partner a, .ns-partner > .ns-partner-text { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; }
.ns-partner img { max-height: 46px; width: auto; }
.ns-partner-text { font-size: 1.02rem; }

.ns-tagbox { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: #ececec; border-top: 3px solid #c9c9c9; padding: 22px 24px; margin: 26px 0; }
.ns-tagbox-label { background: var(--ns-primary); color: #fff; font-weight: 700; border-radius: 999px; padding: 8px 16px; }
.ns-tagbox a { background: #dedede; padding: 7px 15px; border-radius: 999px; font-size: .92rem; }
.ns-tagbox a:hover { background: var(--ns-accent); color: #fff; }

.ns-sec-title--cap { text-transform: none; }
.ns-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.ns-gcard-img { display: block; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--ns-soft); margin-bottom: 10px; }
.ns-gcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.ns-gcard:hover .ns-gcard-img img { transform: scale(1.04); }
.ns-gcard h3 { font-size: 1rem; font-weight: 700; margin: 2px 0 0; }

/* sidebar */
.ns-side-sec { margin-bottom: 30px; }
.ns-popular { margin: 0; padding: 0; list-style: none; }
.ns-sidelist li { padding: 0 0 14px; }
.ns-sidelist a { font-size: .97rem; line-height: 1.5; display: block; }

/* toast salin link */
.ns-toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: #111; color: #fff; padding: 10px 18px; border-radius: 999px; font-size: .88rem; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 80; }
.ns-toast.is-show { opacity: 1; transform: translate(-50%, 0); }

:focus-visible { outline: 3px solid #1d7bf2; outline-offset: 2px; }
.screen-reader-text:focus { position: static; }

@media (max-width: 1024px) {
  .ns-body { grid-template-columns: minmax(0, 1fr); }
  .ns-rel-side { position: static; order: 2; margin-top: 8px; }
}
@media (max-width: 720px) {
  .ns-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ns-gcard h3 { font-size: .9rem; }
  .ns-tagbox { padding: 16px; }
  .ns-share-icons { margin-left: 0; width: 100%; }
  .ns-single h1 { font-size: 1.5rem; }
  .ns-entry { font-size: 1rem; line-height: 1.8; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
