/* ==========================================================
   New Silk Road BRICS+ — template.css
   Extracted from index.html <style> block.
   DO NOT edit manually — source of truth is this file.
   ========================================================== */

:root {
  --bg: #0b0f16;
  --bg-2: #111826;
  --surface: #161f2e;
  --surface-2: #1b2638;
  --line: #2a3a54;
  --text: #e6edf7;
  --muted: #9fb0c9;
  --primary: #58a6ff;
  --accent: #7ee787;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 70% -10%, rgba(88, 166, 255, 0.18), transparent 60%),
    radial-gradient(800px 400px at 15% 10%, rgba(126, 231, 135, 0.1), transparent 70%),
    var(--bg);
  line-height: 1.5;
}

.globe-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: min(1670px, 136.6vh);
  z-index: 2;
  pointer-events: none;
  opacity: 0.78;
  filter: saturate(1.18) brightness(1.12);
  overflow: hidden;
}

#globe-bg {
  width: 100%;
  height: 100%;
  transform: scale(1.3);
  transform-origin: top center;
}

.globe-bg--hidden {
  display: none;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(rgba(159, 176, 201, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 176, 201, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
}

.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.top-strip {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid var(--line);
  background: rgba(17, 24, 38, 0.7);
  color: var(--muted);
  font-size: 12px;
}

.top-strip .container {
  padding: 9px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: rgba(11, 15, 22, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

main,
footer {
  position: relative;
  z-index: 3;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.35px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

/* mod_menu outputs <ul class="mod-menu mod-list nav"> + <li class="nav-item"> */
.nav-links .mod-menu {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  /* inherit font-size/color from .nav-links */
  font-size: inherit;
  color: inherit;
}

.nav-links .nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

/* Desktop nav links */
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.18s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text);
}

/* Active / current page highlight */
.nav-links .nav-item.current > a,
.nav-links .nav-item.active > a {
  color: var(--text);
}

.nav-links .nav-cta {
  padding: 8px 14px;
  font-size: 13px;
}

/* ── Joomla accessibility helper ──────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Language Switcher (mod_languages) — desktop pill group ── */
.mod-languages {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 2px 3px;
  flex-shrink: 0;
}

.mod-languages__list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mod-languages__list li a {
  display: flex;
  align-items: center;
  padding: 2px 1px;
  border-radius: 3px;
  text-decoration: none;
  transition: filter 0.18s;
}

.mod-languages__list li a img {
  width: 23px;
  height: 16px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
  filter: grayscale(0.4) brightness(0.5);
  transition: filter 0.18s;
}

.mod-languages__list li.lang-active a img {
  filter: grayscale(0) brightness(1.15)
          drop-shadow(0 0 5px rgba(88, 166, 255, 0.55));
}

.mod-languages__list li a:hover img {
  filter: grayscale(0.1) brightness(0.8);
}

/* ── Language Switcher — mobile drawer ───────────────────────── */
.nav-mobile-lang {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--line);
}

.nav-mobile-lang .mod-languages {
  background: var(--surface-2);
  border-color: var(--line);
  border-radius: 10px;
  padding: 6px 8px;
  justify-content: center;
  width: 100%;
}

.nav-mobile-lang .mod-languages__list {
  gap: 4px;
  width: 100%;
  justify-content: center;
}

.nav-mobile-lang .mod-languages__list li {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-mobile-lang .mod-languages__list li a {
  padding: 8px 12px;
  width: 100%;
  justify-content: center;
  gap: 6px;
}

.nav-mobile-lang .mod-languages__list li a img {
  width: 24px;
  height: 17px;
}

/* ── Dropdown меню (десктоп) ──────────────────────────────── */
/* Стрелка-индикатор у пунктов с подменю */
.nav-links .nav-item.parent > a::after {
  content: '';
  display: inline-block;
  margin-left: 5px;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  vertical-align: middle;
  opacity: 0.6;
  transition: opacity 0.15s, transform 0.2s;
}

.nav-links .nav-item.parent:hover > a::after {
  opacity: 1;
  transform: rotate(180deg);
}

/* Вложенный ul — выпадающий блок */
.nav-links .mod-menu__sub {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px 0;
  list-style: none;
  margin: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.35s;
  z-index: 200;
}

/* Маленький треугольник-коннектор сверху */
.nav-links .mod-menu__sub::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--line);
}

.nav-links .mod-menu__sub::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--surface);
}

/* Показать при ховере или JS-классе */
.nav-links .nav-item.parent:hover > .mod-menu__sub,
.nav-links .nav-item.parent:focus-within > .mod-menu__sub,
.nav-links .nav-item.parent.nav-dd-open > .mod-menu__sub {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s;
}

/* Пункты выпадающего списка */
.nav-links .mod-menu__sub .nav-item {
  display: block;
}

.nav-links .mod-menu__sub a {
  display: block;
  padding: 9px 18px;
  color: var(--muted);
  font-size: 13px;
  border-radius: 0;
  transition: color 0.15s, background 0.15s;
}

.nav-links .mod-menu__sub a:hover {
  color: var(--text);
  background: rgba(88, 166, 255, 0.08);
}

.nav-links .mod-menu__sub .nav-item.current > a,
.nav-links .mod-menu__sub .nav-item.active > a {
  color: var(--primary);
}

/* Разделитель внутри дропдауна */
.nav-links .mod-menu__sub .nav-item.divider {
  height: 1px;
  background: var(--line);
  margin: 4px 12px;
  padding: 0;
}

/* Brand as link */
a.brand {
  text-decoration: none;
  color: var(--text);
}

/* ── Hamburger button ─────────────────────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-burger span {
  display: block;
  height: 2px;
  background: var(--muted);
  border-radius: 2px;
  transition: background 0.2s;
}

.nav-burger:hover span {
  background: var(--text);
}

/* ── Mobile overlay ───────────────────────────────────────── */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 49;
  backdrop-filter: blur(2px);
}

.nav-mobile-overlay.is-open {
  display: block;
}

/* ── Mobile drawer ────────────────────────────────────────── */
.nav-mobile {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--bg-2);
  border-left: 1px solid var(--line);
  z-index: 50;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 0 0 32px;
  overflow-y: auto;
}

.nav-mobile.is-open {
  transform: translateX(0);
}

.nav-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.nav-mobile-close {
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 20px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-mobile-close:hover {
  color: var(--text);
  border-color: #3a4d6d;
}

/* ── Mobile nav list ──────────────────────────────────────── */
.nav-mobile-list {
  list-style: none;
  margin: 0;
  padding: 8px 0 16px;
  flex: 1;
}

/* Переопределяем Bootstrap .nav (flex row) → вертикальный блок */
.nav-mobile-list .mod-menu,
.nav-mobile-list ul.nav {
  display: block !important;
  flex-wrap: unset !important;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-mobile-list .nav-item {
  display: block !important;
  float: none !important;
}

/* Разделитель только у top-level пунктов */
.nav-mobile-list .mod-menu > .nav-item {
  border-bottom: 1px solid rgba(42, 58, 84, 0.35);
}
.nav-mobile-list .mod-menu > .nav-item:last-child {
  border-bottom: none;
}

/* Убрать границы внутри подменю */
.nav-mobile-list .mod-menu__sub .nav-item {
  border-bottom: none;
}

/* Все ссылки */
.nav-mobile-list a {
  display: flex;
  align-items: center;
  padding: 13px 20px;
  color: rgba(190, 208, 228, 0.8);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  min-height: 48px;
  transition: color 0.15s, background 0.15s;
}

.nav-mobile-list a:hover {
  color: #e8f0fa;
  background: rgba(88, 166, 255, 0.07);
}

.nav-mobile-list .nav-item.current > a,
.nav-mobile-list .nav-item.active > a {
  color: var(--primary);
  background: rgba(88, 166, 255, 0.08);
}

/* ── Parent item: кнопка-стрелка справа ──────────────────── */
.nav-mobile-list .nav-item.parent {
  position: relative;
}

/* Parent ссылка — не перекрывает кнопку */
.nav-mobile-list .nav-item.parent > a {
  padding-right: 52px;
}

/* Убираем десктопную стрелку */
.nav-mobile-list .nav-item.parent > a::after {
  display: none !important;
}

/* Кнопка toggle */
.nav-submenu-toggle {
  position: absolute;
  right: 0;
  top: 0;
  width: 52px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(140, 165, 195, 0.6);
  transition: color 0.15s;
}

.nav-submenu-toggle:hover {
  color: rgba(200, 220, 245, 0.9);
}

.nav-submenu-toggle::after {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.22s ease;
}

.nav-item.parent.is-open > .nav-submenu-toggle::after {
  transform: rotate(-135deg) translateY(-2px);
}

/* ── Подменю: max-height аккордеон ───────────────────────── */
.nav-mobile-list .mod-menu__sub {
  list-style: none;
  padding: 0;
  margin: 0;
  /* Сброс десктопного абсолюта */
  position: static !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  min-width: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  /* Аккордеон */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(5, 9, 16, 0.4);
}

.nav-mobile-list .mod-menu__sub::before,
.nav-mobile-list .mod-menu__sub::after {
  display: none !important;
}

/* Подпункты — левый акцент вместо отступа */
.nav-mobile-list .mod-menu__sub a {
  padding: 11px 20px 11px 17px;
  font-size: 14px;
  font-weight: 400;
  color: rgba(150, 175, 210, 0.75);
  border-left: 3px solid transparent;
  min-height: 44px;
}

.nav-mobile-list .mod-menu__sub a:hover {
  color: #e8f0fa;
  border-left-color: rgba(88, 166, 255, 0.45);
  background: rgba(88, 166, 255, 0.05);
}

.nav-mobile-list .mod-menu__sub .nav-item.current > a,
.nav-mobile-list .mod-menu__sub .nav-item.active > a {
  color: var(--primary);
  border-left-color: var(--primary);
}

.nav-mobile-cta {
  display: block;
  margin: 8px 20px 0;
  text-align: center;
}

/* ── SeaRates filter section ──────────────────────────────────────────── */
.searates-section {
  padding: 48px 0 0;
  margin-bottom: -48px;
}

/* Overlay поверх виджета — скрывает скелетон-анимацию SeaRates при загрузке.
   Исчезает через 0.8s (виджет успевает отрисоваться) */
.searates-section {
  position: relative;
}
.searates-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg);
  z-index: 10;
  pointer-events: none;
  animation: nsr-searates-reveal 0.4s ease 0.8s forwards;
}
@keyframes nsr-searates-reveal {
  to { opacity: 0; }
}

.hero {
  padding: 0 0 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--accent);
  background: rgba(126, 231, 135, 0.08);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  margin-bottom: 18px;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

.lead {
  margin: 0 0 22px;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 20px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(22, 31, 46, 0.75);
  padding: 11px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
}

.btn:hover {
  border-color: #3a4d6d;
}

.btn-primary {
  background: linear-gradient(135deg, #58a6ff, #69b3ff);
  border-color: transparent;
  color: #031224;
}

.stats {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: rgba(22, 31, 46, 0.7);
}

.stat strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}

.stat span {
  font-size: 12px;
  color: var(--muted);
}

.hero-stack {
  display: flex;
  flex-direction: column;
}

.panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(27, 38, 56, 0.85), rgba(17, 24, 38, 0.85));
  border-radius: 14px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.panel-body {
  padding: 14px;
}

.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.kpi {
  border: 1px solid #31435f;
  border-radius: 10px;
  padding: 10px;
  background: rgba(11, 15, 22, 0.35);
}

.kpi b {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.kpi small {
  color: var(--muted);
  font-size: 12px;
}

.corridor-list {
  margin-top: 12px;
  border: 1px solid #31435f;
  border-radius: 12px;
  background: rgba(11, 15, 22, 0.4);
  padding: 12px;
  display: grid;
  gap: 8px;
}

.corridor-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}

section {
  padding: 24px 0 44px;
}

.section-top {
  margin-bottom: 16px;
}

.section-kicker {
  color: var(--primary);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

h2 {
  margin: 6px 0 10px;
  font-size: clamp(26px, 3.1vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.section-lead {
  margin: 0;
  max-width: 820px;
  color: var(--muted);
}

.grid-3 {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(27, 38, 56, 0.5), rgba(17, 24, 38, 0.72));
  border-radius: 14px;
  padding: 16px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 12px;
}

.cta {
  margin: 14px 0 64px;
  border-radius: 16px;
  border: 1px solid #324a6d;
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.16), rgba(126, 231, 135, 0.08));
  padding: 24px;
}

.cta--electric {
  border: 1px solid rgba(88, 166, 255, 0.55);
  border-radius: 16px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.14), rgba(88, 166, 255, 0.04));
  box-shadow: 0 0 40px rgba(88, 166, 255, 0.1), inset 0 0 40px rgba(88, 166, 255, 0.04);
  position: relative;
  overflow: hidden;
}
.cta--electric::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(88, 166, 255, 0.9), transparent);
}
.cta--electric .section-kicker {
  color: #58a6ff;
  text-shadow: 0 0 12px rgba(88, 166, 255, 0.6);
}
.cta--electric h2 {
  text-shadow: 0 0 24px rgba(88, 166, 255, 0.25);
}

.cta h2 {
  margin-top: 0;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

/* ── Footer layout ──────────────────────────────────────────── */
.nsr-footer-wrap {
  padding: 32px 0 24px;
}
.nsr-footer-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.nsr-footer-brand-logo img {
  height: 48px;
  width: auto;
  filter: brightness(1.1);
}
.nsr-footer-brand-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 480px;
}

/* Partner logos grid */
.nsr-footer-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: 16px 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(88, 166, 255, 0.15);
  border-bottom: 1px solid rgba(88, 166, 255, 0.15);
  margin-bottom: 20px;
}
.nsr-footer-grid a,
.nsr-footer-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.65;
  transition: opacity 0.2s, filter 0.2s;
  filter: grayscale(30%);
}
.nsr-footer-grid a:hover {
  opacity: 1;
  filter: grayscale(0%) drop-shadow(0 0 6px rgba(88, 166, 255, 0.5));
}
.nsr-footer-grid img {
  height: 80px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Copyright */
.nsr-footer-copy {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.6;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .stats,
  .kpi-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .nav-burger {
    display: flex;
  }
}

/* ── Layout toggle button (mobile only) ─────────────────── */
.layout-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(22, 31, 46, 0.8);
  cursor: pointer;
  color: var(--muted);
  font-size: 14px;
  position: relative;
  flex-shrink: 0;
}

/* Desktop icon (default — show when responsive mode) */
.layout-toggle::before {
  content: '⊞';
  font-size: 16px;
  line-height: 1;
}

/* Mobile icon (show when already in desktop mode) */
.layout-toggle[data-mode="desktop"]::before {
  content: '⊟';
  color: #58a6ff;
}

.layout-toggle[data-mode="desktop"] {
  display: flex;
  border-color: rgba(88, 166, 255, 0.4);
}

@media (max-width: 980px) {
  .layout-toggle {
    display: flex;
  }
}


/* Execution Readiness panel — sits below .stats in hero-copy */
.hero > div > .panel {
  margin-top: 22px;
}

/* ==========================================================
   Ops Console (tablo.js) — Hero panel board
   ========================================================== */

@keyframes ops-pulse {
  0%, 100% { opacity: 1;   box-shadow: 0 0 5px 1px rgba(255,60,60,0.7); }
  50%       { opacity: 0.4; box-shadow: 0 0 2px 0   rgba(255,60,60,0.2); }
}

.fids-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3c3c;
  animation: ops-pulse 1.6s ease-in-out infinite;
}

.ops-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.8px;
  color: #ff6b6b;
}

/* Panel stretches to full column height */
.hero-stack {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.panel--ops {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.panel--ops .panel-body--ops {
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.ops-block {
  flex: 1 1 0px;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ops-block--fleet {
  flex: 1 1 0px;
  min-height: 0;
}

/* Label bar */
.ops-label {
  font-family: 'JetBrains Mono', 'Fira Mono', 'Courier New', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #a8c8ff;
  text-transform: uppercase;
  padding: 6px 14px 5px;
  background: linear-gradient(90deg, rgba(88,166,255,0.14) 0%, rgba(88,166,255,0.03) 100%);
  border-bottom: 1px solid rgba(88,166,255,0.18);
}

.ops-label--fleet {
  color: #7ee89a;
  background: linear-gradient(90deg, rgba(126,232,154,0.12) 0%, rgba(126,232,154,0.02) 100%);
  border-bottom: 1px solid rgba(126,232,154,0.15);
}

/* Table base */
.ops-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'JetBrains Mono', 'Fira Mono', 'Courier New', monospace;
  font-size: 9px;
  table-layout: fixed;
}

/* Fixed column header */
.ops-table--head thead th {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.9px;
  color: #6b849e;
  text-transform: uppercase;
  padding: 4px 10px;
  text-align: left;
  background: rgba(8,13,22,0.95);
  border-bottom: 1px solid rgba(42,58,84,0.8);
  border-right: 1px solid rgba(42,58,84,0.5);
  white-space: nowrap;
}

.ops-table--head thead th:last-child { border-right: none; }

/* CARGO table — column widths (head + body in sync) */
.ops-block--cargo .ops-table th:nth-child(1),
.ops-block--cargo .ops-table td:nth-child(1) { width: 56%; }
.ops-block--cargo .ops-table th:nth-child(2),
.ops-block--cargo .ops-table td:nth-child(2) { width: 27%; }
.ops-block--cargo .ops-table th:nth-child(3),
.ops-block--cargo .ops-table td:nth-child(3) { width: 17%; }

/* FLEET table — column widths (head + body in sync) */
.ops-block--fleet .ops-table th:nth-child(1),
.ops-block--fleet .ops-table td:nth-child(1) { width: 34%; }
.ops-block--fleet .ops-table th:nth-child(2),
.ops-block--fleet .ops-table td:nth-child(2) { width: 20%; }
.ops-block--fleet .ops-table th:nth-child(3),
.ops-block--fleet .ops-table td:nth-child(3) { width: 14%; }
.ops-block--fleet .ops-table th:nth-child(4),
.ops-block--fleet .ops-table td:nth-child(4) { width: 32%; }

/* Step-ticker wrapper — fills remaining block space */
.ops-ticker-wrap {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

/* Slide track animated by JS */
.ops-slide-track {
  will-change: transform;
}

/* Body rows */
.ops-table--body tbody tr {
  border-bottom: 1px solid rgba(42,58,84,0.35);
  height: 29px;
}

.ops-table--body tbody tr:nth-child(even) {
  background: rgba(88,166,255,0.045);
}

.ops-table--body tbody td {
  padding: 6px 10px;
  line-height: 17px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-right: 1px solid rgba(42,58,84,0.35);
}

.ops-table--body tbody td:last-child  { border-right: none; }
.ops-table--body tbody td:first-child { color: #58a6ff; font-weight: 500; }
.ops-table td img { display: inline !important; vertical-align: middle; }

.ops-loading {
  color: var(--muted);
  font-size: 10px;
  padding: 14px !important;
  letter-spacing: 0.4px;
}

@media (max-width: 980px) {
  .panel--ops      { min-height: 250px; }
  .ops-ticker-wrap { height: 145px; }
  .ops-label       { font-size: 9px; }
  .ops-table       { font-size: 8.5px; }
  .ops-table--head thead th { font-size: 8px; }
  .ops-table--body tbody td,
  .ops-table--head thead th { padding: 3px 5px; }

  /* CARGO mobile — all 3 columns */
  .ops-block--cargo .ops-table th:nth-child(1),
  .ops-block--cargo .ops-table td:nth-child(1) { width: 50%; }
  .ops-block--cargo .ops-table th:nth-child(2),
  .ops-block--cargo .ops-table td:nth-child(2) { width: 28%; }
  .ops-block--cargo .ops-table th:nth-child(3),
  .ops-block--cargo .ops-table td:nth-child(3) { width: 22%; display: table-cell; }

  /* FLEET mobile — all 4 columns */
  .ops-block--fleet .ops-table th:nth-child(1),
  .ops-block--fleet .ops-table td:nth-child(1) { width: 34%; }
  .ops-block--fleet .ops-table th:nth-child(2),
  .ops-block--fleet .ops-table td:nth-child(2) { width: 17%; }
  .ops-block--fleet .ops-table th:nth-child(3),
  .ops-block--fleet .ops-table td:nth-child(3) { width: 14%; display: table-cell; }
  .ops-block--fleet .ops-table th:nth-child(4),
  .ops-block--fleet .ops-table td:nth-child(4) { width: 35%; }
}

/* ==========================================================
   Articles & News — com_content overrides
   Inherits: --bg, --bg-2, --surface, --surface-2, --line,
             --text, --muted, --primary, --accent
   No landing animations. Typography-first, dark theme.
   ========================================================== */

/* ── Page wrapper (category blog + single article) ─────── */
.nsr-content-page {
  padding: 40px 0 80px;
}

/* ── Page header (category title block) ────────────────── */
.nsr-page-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.nsr-page-header__kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 8px;
}

.nsr-page-header__title {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.5vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.nsr-page-header__desc {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  max-width: 680px;
  line-height: 1.6;
}

/* ── Category blog grid ─────────────────────────────────── */
.nsr-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

/* ── News card ──────────────────────────────────────────── */
.nsr-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg,
    rgba(27, 38, 56, 0.55),
    rgba(17, 24, 38, 0.75));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s;
}

.nsr-card:hover {
  border-color: rgba(88, 166, 255, 0.35);
}

.nsr-card__img-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--surface);
}

.nsr-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.nsr-card:hover .nsr-card__img-wrap img {
  transform: scale(1.03);
}

.nsr-card__body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nsr-card__cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
}

.nsr-card__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}

.nsr-card__title a {
  color: var(--text);
  text-decoration: none;
}

.nsr-card__title a:hover {
  color: var(--primary);
}

.nsr-card__intro {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
  flex: 1;
}

.nsr-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid rgba(42, 58, 84, 0.5);
}

.nsr-card__meta-sep {
  opacity: 0.4;
}

.nsr-card__readmore {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--primary);
  text-decoration: none;
  margin-top: 2px;
  font-weight: 500;
}

.nsr-card__readmore:hover {
  color: var(--text);
}

.nsr-card__readmore::after {
  content: '→';
}

/* ── Pagination ─────────────────────────────────────────── */
.nsr-pagination {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

.nsr-pagination .pagination {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nsr-pagination .page-item .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(22, 31, 46, 0.6);
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.nsr-pagination .page-item .page-link:hover {
  border-color: rgba(88, 166, 255, 0.4);
  color: var(--text);
}

.nsr-pagination .page-item.active .page-link {
  background: linear-gradient(135deg, #58a6ff, #69b3ff);
  border-color: transparent;
  color: #031224;
  font-weight: 600;
}

/* Joomla pagination icon font replacement */
.nsr-pagination .page-item.disabled .page-link {
  opacity: 0.3;
  pointer-events: none;
}
.nsr-pagination .icon-angle-left::before       { content: '←'; font-family: inherit; }
.nsr-pagination .icon-angle-right::before      { content: '→'; font-family: inherit; }
.nsr-pagination .icon-angle-double-left::before  { content: '«'; font-family: inherit; }
.nsr-pagination .icon-angle-double-right::before { content: '»'; font-family: inherit; }

/* ── Single article page ────────────────────────────────── */
.nsr-article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  align-items: start;
}

.nsr-article {
  min-width: 0;
}

/* Article header */
.nsr-article__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  color: var(--accent);
  background: rgba(126, 231, 135, 0.08);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  margin-bottom: 16px;
  text-decoration: none;
}

.nsr-article__eyebrow:hover {
  border-color: rgba(126, 231, 135, 0.3);
}

.nsr-article__title {
  margin: 0 0 14px;
  font-size: clamp(22px, 3.5vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.nsr-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.nsr-article__author {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--text);
}

.nsr-article__author::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: 0.6;
  flex-shrink: 0;
}

.nsr-article__date {
  color: var(--muted);
}

.nsr-article__read-time {
  color: var(--muted);
}

.nsr-article__read-time::before {
  content: '· ';
}

/* Hero image */
.nsr-article__hero {
  margin: 0 0 28px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.nsr-article__hero img {
  width: 100%;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  display: block;
}

/* Article body typography */
.nsr-article__body {
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.8;
}

.nsr-article__body > * + * {
  margin-top: 1.1em;
}

.nsr-article__body h2 {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--text);
  margin: 1.8em 0 0.5em;
  line-height: 1.2;
  letter-spacing: -0.01em;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.nsr-article__body h3 {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--primary);
  margin: 1.4em 0 0.4em;
}

.nsr-article__body h4 {
  font-size: 15px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 1.2em 0 0.3em;
}

.nsr-article__body p {
  margin: 0 0 1em;
}

.nsr-article__body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.nsr-article__body a:hover {
  color: var(--text);
}

.nsr-article__body strong {
  font-weight: 600;
  color: var(--text);
}

.nsr-article__body em {
  color: var(--muted);
  font-style: italic;
}

.nsr-article__body ul,
.nsr-article__body ol {
  padding-left: 1.6em;
  margin: 0 0 1em;
}

.nsr-article__body li {
  margin-bottom: 0.35em;
}

.nsr-article__body li::marker {
  color: var(--primary);
}

.nsr-article__body blockquote {
  margin: 1.5em 0;
  padding: 14px 18px;
  border-left: 3px solid var(--primary);
  background: rgba(88, 166, 255, 0.06);
  border-radius: 0 8px 8px 0;
  color: var(--muted);
  font-size: 15px;
}

.nsr-article__body blockquote p {
  margin: 0;
}

.nsr-article__body code {
  font-family: 'JetBrains Mono', 'Fira Mono', 'Courier New', monospace;
  font-size: 0.88em;
  background: rgba(42, 58, 84, 0.6);
  padding: 0.15em 0.45em;
  border-radius: 4px;
  color: var(--accent);
}

.nsr-article__body pre {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.6;
  margin: 1.2em 0;
}

.nsr-article__body pre code {
  background: none;
  padding: 0;
  border-radius: 0;
  color: var(--text);
}

.nsr-article__body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 1.2em 0;
}

.nsr-article__body th {
  background: var(--surface-2);
  padding: 8px 12px;
  text-align: left;
  border: 1px solid var(--line);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
}

.nsr-article__body td {
  padding: 8px 12px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.nsr-article__body tr:nth-child(even) td {
  background: rgba(88, 166, 255, 0.03);
}

.nsr-article__body img {
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.nsr-article__body hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2em 0;
}

/* Article footer: tags + share */
.nsr-article__footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.nsr-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}

.nsr-article__tag {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
}

.nsr-article__tag:hover {
  border-color: rgba(88, 166, 255, 0.35);
  color: var(--primary);
}

/* ── Sidebar (related / info) ───────────────────────────── */
.nsr-sidebar {
  position: sticky;
  top: 80px;
}

.nsr-sidebar__block {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(27, 38, 56, 0.55), rgba(17, 24, 38, 0.75));
  padding: 16px;
  margin-bottom: 16px;
}

.nsr-sidebar__title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin: 0 0 12px;
}

.nsr-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nsr-sidebar__list li {
  border-bottom: 1px solid rgba(42, 58, 84, 0.4);
  padding-bottom: 10px;
}

.nsr-sidebar__list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.nsr-sidebar__list a {
  color: var(--text);
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.4;
  display: block;
}

.nsr-sidebar__list a:hover {
  color: var(--primary);
}

.nsr-sidebar__list .nsr-sidebar__date {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}

/* ── Breadcrumb ─────────────────────────────────────────── */
.nsr-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
}

.nsr-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.nsr-breadcrumb a:hover {
  color: var(--primary);
}

.nsr-breadcrumb__sep {
  opacity: 0.4;
}

.nsr-breadcrumb__current {
  color: var(--text);
}

/* ── AMP badge (link to full version on AMP pages) ──────── */
.nsr-amp-notice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 10px;
  text-decoration: none;
  margin-top: 8px;
}

.nsr-amp-notice::before {
  content: '⚡';
}

.nsr-amp-notice:hover {
  color: var(--primary);
  border-color: rgba(88, 166, 255, 0.3);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 980px) {
  .nsr-article-wrap {
    grid-template-columns: 1fr;
  }

  .nsr-sidebar {
    position: static;
  }

  .nsr-blog-grid {
    grid-template-columns: 1fr;
  }

  .nsr-article__meta {
    gap: 8px;
  }
}

/* ── Our Feature block (076feature module) ─────────────────────────────── */
.nsr-feat-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 28px 0 0;
}
.nsr-feat-stat {
  border: 1px solid rgba(88,166,255,0.3);
  border-radius: 12px;
  padding: 16px 18px;
  background: rgba(88,166,255,0.07);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nsr-feat-stat strong {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  color: #58a6ff;
  line-height: 1;
}
.nsr-feat-stat span {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.nsr-feat-stat--green { border-color: rgba(126,231,135,0.3); background: rgba(126,231,135,0.06); }
.nsr-feat-stat--green strong { color: #7ee787; }
.nsr-feat-stat--amber { border-color: rgba(242,204,96,0.3); background: rgba(242,204,96,0.06); }
.nsr-feat-stat--amber strong { color: #f2cc60; }
.nsr-feat-stat--purple { border-color: rgba(188,140,255,0.3); background: rgba(188,140,255,0.06); }
.nsr-feat-stat--purple strong { color: #bc8cff; }

.nsr-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.nsr-feat-col-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.nsr-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.nsr-feature-list li {
  padding: 9px 12px 9px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  border-left-width: 3px;
  color: var(--text);
  font-size: 13.5px;
  line-height: 1.5;
  background: rgba(22,31,46,0.5);
}
.nsr-fl--blue  { border-left-color: #58a6ff; }
.nsr-fl--green { border-left-color: #7ee787; }
.nsr-fl--amber { border-left-color: #f2cc60; }

@media (max-width: 980px) {
  .nsr-feat-stats   { grid-template-columns: repeat(2, 1fr); }
  .nsr-feature-grid { grid-template-columns: 1fr; }
}

/* ── Interview article styles ───────────────────────────────────────────────── */

/* Photo block — interviewee portrait at top of article */
.nsr-art-photo {
  margin: 0 0 28px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  max-width: 400px;
  max-height: 440px;
  float: right;
  margin: 0 0 20px 28px;
}

.nsr-art-photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
}

.nsr-art-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Notable quote block */
.nsr-art-quote {
  margin: 20px 0;
  padding: 14px 20px;
  border-left: 3px solid var(--primary);
  background: rgba(88, 166, 255, 0.06);
  border-radius: 0 10px 10px 0;
  color: var(--text);
  font-size: 15px;
  font-style: italic;
  line-height: 1.65;
}

.nsr-art-quote::before {
  content: '\201C';
  font-size: 2em;
  line-height: 0;
  vertical-align: -0.4em;
  color: var(--primary);
  opacity: 0.7;
  margin-right: 4px;
}

/* Q&A block */
.nsr-qa-q {
  margin: 20px 0 6px;
  padding: 10px 14px;
  background: rgba(88, 166, 255, 0.05);
  border-radius: 8px;
  border-left: 2px solid rgba(88, 166, 255, 0.5);
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
}

.nsr-qa-q strong {
  color: var(--text);
}

.nsr-qa-a {
  margin: 0 0 16px 14px;
  padding: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* Article section divider */
.nsr-art-section {
  padding-bottom: 24px;
  margin-bottom: 24px;
}

/* Kicker (interview bio subtitle) */
.nsr-art-kicker {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin: 0 0 18px;
}

/* H2 inside article */
.nsr-art-h2 {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  color: var(--text);
  margin: 28px 0 12px;
  line-height: 1.3;
}

/* List with arrows */
.nsr-art-list {
  padding-left: 0;
  list-style: none;
  margin: 12px 0;
}

.nsr-art-list li {
  padding: 6px 0 6px 20px;
  position: relative;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.nsr-art-list li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* ── Image grid (screenshots / illustrations) ─────────────── */
.nsr-img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin: 20px 0;
}

.nsr-img-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.nsr-img-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--line);
}

.nsr-img-card figcaption {
  padding: 8px 10px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}

@media (max-width: 980px) {
  .nsr-img-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
  .nsr-img-card img { height: 120px; }
}

/* ── Icon feature cards (3-col, SVG icon + title + desc) ────── */
.nsr-icon-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.nsr-icon-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nsr-icon-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nsr-icon-card__icon svg {
  width: 24px;
  height: 24px;
}

.nsr-icon-card--blue .nsr-icon-card__icon  { background: rgba(88,166,255,0.12); color: #58a6ff; }
.nsr-icon-card--green .nsr-icon-card__icon { background: rgba(63,185,80,0.12);  color: #3fb950; }
.nsr-icon-card--amber .nsr-icon-card__icon { background: rgba(210,153,34,0.12); color: #d2a21b; }

.nsr-icon-card__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.nsr-icon-card__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 980px) {
  .nsr-icon-cards { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .nsr-art-photo { margin-bottom: 20px; }
}
