/* ============================================================
   Портал експертної інформації ПМГ 2026 — landing styles
   Pastel blue + green identity. Standalone (no token imports).
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
  --b-50:  #eef6fc;
  --b-100: #dcecf8;
  --b-200: #bcdaf0;
  --b-400: #6aa9d6;
  --b-500: #4a8fc7;
  --b-700: #2f6b9e;

  --g-50:  #eef8f1;
  --g-100: #dbf0e2;
  --g-200: #bbe2c9;
  --g-400: #74c2a0;
  --g-500: #54ad84;
  --g-700: #3a8462;

  /* Ролі інтерфейсу — єдине джерело значень для всього порталу.
     Історично тут стояла друга система токенів (--p-*), яка дублювала базову
     зі styles.css тими самими значеннями — і в світлій, і в темній темі. Через
     це та сама роль правилася у трьох файлах. Тепер значення живуть тут і в
     styles.css однаково, а --p-* лишилися АЛІАСАМИ: розділи, що на них
     спираються (portal-сторінки, паспорт, кабінет, пілоти), не чіпаємо. */
  --ink:     #1f3347;
  --muted:   #647688;
  --faint:   #8a9aab;
  --line:    #e3edf3;
  --soft:    #f2f8fb;
  --soft-hover: #e6f0f6;
  --page:    #f5fafb;
  --surface: #ffffff;

  --p-ink:     var(--ink);
  --p-muted:   var(--muted);
  --p-faint:   var(--faint);
  --p-line:    var(--line);
  --p-soft:    var(--soft);
  --p-soft-hover: var(--soft-hover);
  --p-page:    var(--page);
  --p-surface: var(--surface);

  --accent:        var(--b-500);
  --accent-2:      var(--g-500);
  --accent-deep:   var(--b-700);
  --accent-2-deep: var(--g-700);
  --accent-soft:   var(--b-50);
  --accent-2-soft: var(--g-50);
  /* Акцент у ролі ТЛА під білим текстом — див. styles.css */
  --accent-fill:   var(--accent);

  --brand-grad:  linear-gradient(118deg, var(--b-50) 0%, #f4fbf8 52%, var(--g-50) 100%);
  --cta-grad:    linear-gradient(120deg, var(--b-500), var(--g-500));
  --emblem-grad: linear-gradient(135deg, var(--b-500), var(--g-500));

  --shadow:      0 18px 44px rgba(38,78,112,.10);
  --shadow-sm:   0 8px 22px rgba(38,78,112,.08);
  --shadow-lg:   0 28px 70px rgba(33,70,102,.13);

  --p-shadow:    var(--shadow);
  --p-shadow-sm: var(--shadow-sm);
  --p-shadow-lg: var(--shadow-lg);

  --pr-pill:  999px;
  --pr-chip:  12px;
  --pr-card:  20px;
  --pr-tile:  24px;
  --pr-panel: 28px;

  --p-display: "Manrope", system-ui, sans-serif;
  --p-text:    "Source Sans 3", "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  color: var(--p-ink);
  background: var(--p-page);
  font-family: var(--p-text);
  -webkit-font-smoothing: antialiased;
}
.portal { min-height: 100vh; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: 32px; }

/* ---- Dot-grid background texture ---- */
.plus-field {
  background-image:
    linear-gradient(var(--accent) 1.4px, transparent 1.4px),
    linear-gradient(90deg, var(--accent) 1.4px, transparent 1.4px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(circle, #000 0.5px, transparent 0.6px);
  mask-image: radial-gradient(circle, #000 0.5px, transparent 0.6px);
  -webkit-mask-size: 30px 30px;
  mask-size: 30px 30px;
  opacity: .07;
}

/* ---- Shield ---- */
.shield { display: block; }
.badge-tile {
  display: inline-grid; place-items: center;
  width: 54px; height: 54px; margin-bottom: 18px;
  border-radius: 16px; background: var(--accent-soft);
}
.badge-tile .shield { width: 32px; height: auto; }
.hub-card.feature .badge-tile {
  background: rgba(255,255,255,.92);
  box-shadow: 0 6px 16px rgba(20,60,90,.16);
}

/* ============================================================
   Top bar
   ============================================================ */
.top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--p-line);
}
.top-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  padding: 12px clamp(20px, 2.2vw, 42px) 10px;
}
.top-row-1 {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: center;
  gap: 24px;
  width: 100%;
}
.top-row-1-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}
.top-row-2 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
  border-top: 1px solid rgba(0, 111, 201, 0.05);
  padding-top: 10px;
}
.lockup {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  min-width: 0;
  width: fit-content;
}
.header-nszu-logo {
  display: block;
  width: 44px;
  height: auto;
  flex: 0 0 44px;
  object-fit: contain;
}
.wm { display: flex; flex-direction: column; line-height: 1.08; }
.wm-1 {
  font-family: var(--p-display); font-weight: 800; font-size: 16px;
  letter-spacing: -.02em; color: var(--p-ink); white-space: nowrap;
}
.wm-2 {
  margin-top: 3px; font-size: 10.8px; font-weight: 600; color: var(--p-muted);
  letter-spacing: .005em; white-space: nowrap;
}
.wm-3 { margin-top: 1px; }
.top-spacer { display: none; }
.top-nav { display: flex; justify-content: center; gap: 4px; margin: 0; }
.top-nav a {
  padding: 9px 14px; border-radius: var(--pr-pill);
  color: var(--p-muted); font-size: 14px; font-weight: 600; text-decoration: none;
  transition: background .15s, color .15s;
}
.top-nav a:hover { color: var(--accent-deep); background: var(--accent-soft); }

/* Auth slot in top bar — reset section-switch chrome */
.top-auth {
  margin: 0; padding: 0; border: none; background: none; gap: 7px;
  display: inline-flex;
  align-items: center;
}
.top-auth > .portal-online-chip,
.top-auth > .portal-status-chip,
.top-auth > .theme-toggle-btn,
.top-auth > .news-notify-toggle-btn,
.top-auth > .auth-role-badge,
.top-auth > .auth-nav-btn {
  min-height: 38px;
}
/* Доручення та нормативка вже є в головній навігації та рольовій панелі. */
.top-auth .auth-tasks-btn,
.top-auth .auth-regulatory-btn {
  display: none !important;
}
.top-auth .auth-nav-btn {
  border-color: rgba(47,107,158,.35);
  color: var(--accent-deep);
}
.top-auth .auth-nav-btn.is-signed-in {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.agency-chip {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 13px 7px 9px; border-radius: var(--pr-pill);
  border: 1px solid var(--p-line); background: #fff;
  font-size: 12px; font-weight: 700; color: var(--accent-deep);
  letter-spacing: .1em; white-space: nowrap; flex-shrink: 0;
}
.agency-chip img { width: 22px; height: auto; display: block; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: var(--brand-grad); border-bottom: 1px solid var(--p-line);
}
.hero .plus-field { position: absolute; inset: 0; }

/* ── Живий фон героя головної ──────────────────────────
   Два шари поверх статичного фону: повільний кольоровий перелив
   і хвиля дрібних кубиків, що пробігає по діагоналі. Обидва —
   pointer-events: none, тож нічого не перехоплюють. */
.hero .hero-sheen,
.hero .cube-wave {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero .hero-sheen {
  background: linear-gradient(
    118deg,
    rgba(74, 143, 199, 0.16) 0%,
    rgba(84, 173, 132, 0.10) 28%,
    rgba(255, 255, 255, 0) 50%,
    rgba(84, 173, 132, 0.12) 72%,
    rgba(74, 143, 199, 0.16) 100%
  );
  background-size: 260% 260%;
  /* 26 секунд — рух помітний лише краєм ока, а не «блимає» */
  animation: hero-sheen-drift 26s ease-in-out infinite alternate;
}

@keyframes hero-sheen-drift {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

.hero .cube-wave {
  /* Сітка кубиків: дві лінійні заливки в перетині дають клітинку 26px */
  background-image:
    linear-gradient(90deg, var(--accent) 1px, transparent 1px),
    linear-gradient(180deg, var(--accent) 1px, transparent 1px);
  background-size: 26px 26px;
  /* Маска — світлова смуга; видно лише ті кубики, на які вона зараз падає */
  -webkit-mask-image: linear-gradient(115deg, transparent 32%, #000 46%, #000 54%, transparent 68%);
  mask-image: linear-gradient(115deg, transparent 32%, #000 46%, #000 54%, transparent 68%);
  -webkit-mask-size: 280% 280%;
  mask-size: 280% 280%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  opacity: 0.24;
  animation: cube-wave-run 18s linear infinite;
}

@keyframes cube-wave-run {
  from { -webkit-mask-position: 130% 130%; mask-position: 130% 130%; }
  to   { -webkit-mask-position: -30% -30%; mask-position: -30% -30%; }
}

:root.dark-theme .hero .hero-sheen,
.dark-theme .hero .hero-sheen {
  background: linear-gradient(
    118deg,
    rgba(56, 189, 248, 0.12) 0%,
    rgba(34, 197, 94, 0.08) 28%,
    rgba(255, 255, 255, 0) 50%,
    rgba(34, 197, 94, 0.10) 72%,
    rgba(56, 189, 248, 0.12) 100%
  );
  background-size: 260% 260%;
}

:root.dark-theme .hero .cube-wave,
.dark-theme .hero .cube-wave { opacity: 0.2; }

@media (prefers-reduced-motion: reduce) {
  .hero .hero-sheen,
  .hero .cube-wave { animation: none; }
  .hero .cube-wave { opacity: 0.12; }
}
/* ── Плашка логотипа в героєві (стилі винесені з inline) ── */
.hero-logo-card {
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .3);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(47, 107, 158, .15), 0 5px 15px rgba(0, 0, 0, .06);
  transition: transform .3s, box-shadow .3s;
}

.hero-inner {
  position: relative; padding: 78px 0 64px; max-width: 920px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 8px; margin-bottom: 26px;
  border-radius: var(--pr-pill); background: rgba(255,255,255,.7);
  border: 1px solid var(--p-line); box-shadow: var(--p-shadow-sm);
  font-size: 13px; font-weight: 700; color: var(--accent-deep); letter-spacing: .02em;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 999px; background: var(--accent-2);
  flex-shrink: 0;
}
.hero h1 {
  font-family: var(--p-display);
  margin: 0 0 22px; font-size: clamp(38px, 5.2vw, 66px);
  line-height: 1.03; letter-spacing: -.035em; font-weight: 800; color: var(--p-ink);
}
.hero h1 .accent   { color: var(--accent-deep); }
.hero h1 .accent-2 { color: var(--accent-2-deep); }
.hero-lead {
  max-width: 660px; margin: 0 0 34px;
  font-size: 19px; line-height: 1.6; color: var(--p-muted);
}

/* Hero search bar */
.hero-search {
  display: flex; align-items: center; gap: 10px;
  max-width: 640px; padding: 9px 9px 9px 20px;
  background: #fff; border: 1px solid var(--p-line);
  border-radius: var(--pr-pill); box-shadow: var(--p-shadow);
}
.hero-search svg { flex-shrink: 0; }
.hero-search input {
  flex: 1; border: 0; outline: 0;
  font: inherit; font-size: 16px; color: var(--p-ink); background: transparent;
}
.hero-search input::placeholder { color: var(--p-faint); }
.btn {
  border: 0; cursor: pointer; font-family: var(--p-text); font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--pr-pill);
  transition: transform .14s, box-shadow .14s, background .14s;
}
.btn-primary {
  padding: 13px 24px; font-size: 15px; color: #fff;
  background: var(--cta-grad); box-shadow: 0 12px 24px rgba(54,124,160,.26);
  white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 30px rgba(54,124,160,.32); }

.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero-tags a {
  padding: 7px 13px; border-radius: var(--pr-pill);
  background: rgba(255,255,255,.66); border: 1px solid var(--p-line);
  font-size: 13px; font-weight: 600; color: var(--p-muted);
  text-decoration: none;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.hero-tags a:hover {
  background: #fff;
  color: var(--accent-deep);
  border-color: var(--b-200);
  transform: translateY(-1px);
  box-shadow: var(--p-shadow-sm);
}

/* Stat strip */
.stat-strip {
  display: grid; grid-template-columns: repeat(4,1fr);
  margin-top: 54px; border: 1px solid var(--p-line);
  border-radius: var(--pr-card); background: rgba(255,255,255,.7); overflow: hidden;
}
.stat-strip .cell {
  padding: 22px 24px; border-right: 1px solid var(--p-line);
}
.stat-strip .cell:last-child { border-right: 0; }
.stat-strip .num {
  font-family: var(--p-display); font-size: 30px; font-weight: 800;
  letter-spacing: -.03em; color: var(--accent-deep);
}
.stat-strip .cap { margin-top: 3px; font-size: 13px; font-weight: 600; color: var(--p-muted); }

/* ============================================================
   Hub grid
   ============================================================ */
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px; margin: 0 0 26px;
}
.section-head h2 {
  font-family: var(--p-display); font-size: 30px; font-weight: 800;
  letter-spacing: -.03em; margin: 0;
}
.section-head p { margin: 6px 0 0; color: var(--p-muted); font-size: 15px; }
.hub { padding: 84px 0; }
.hub-grid {
  display: grid; grid-template-columns: repeat(6,1fr); gap: 18px;
}
.hub-card {
  position: relative; display: flex; flex-direction: column;
  padding: 26px 24px 24px; border: 1px solid var(--p-line);
  border-radius: var(--pr-tile); background: var(--p-surface);
  text-decoration: none; color: inherit; overflow: hidden;
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.hub-card:hover {
  transform: translateY(-3px); box-shadow: var(--p-shadow-lg);
  border-color: var(--b-200);
}
.hub-card.span-3 { grid-column: span 3; }
.hub-card.span-2 { grid-column: span 2; }
.hub-card h3 {
  font-family: var(--p-display); font-size: 21px; font-weight: 800;
  letter-spacing: -.02em; margin: 0 0 8px;
}
.hub-card p { margin: 0; color: var(--p-muted); font-size: 14.5px; line-height: 1.55; }
.hub-card .meta {
  margin-top: auto; padding-top: 18px;
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; color: var(--accent-deep);
}
.hub-card .meta .count {
  margin-left: auto; padding: 4px 10px; border-radius: var(--pr-pill);
  background: var(--accent-soft); color: var(--accent-deep); font-size: 12px;
}
.hub-card.feature {
  background: var(--cta-grad); color: #fff; border-color: transparent;
}
.hub-card.feature h3,
.hub-card.feature p { color: #fff; }
.hub-card.feature p { color: rgba(255,255,255,.86); }
.hub-card.feature .meta { color: #fff; }
.hub-card.feature .meta .count { background: rgba(255,255,255,.2); color: #fff; }

/* Numbered badge */
.num-badge {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 18px;
  border-radius: 14px; background: var(--accent-soft);
  color: var(--accent-deep); font-family: var(--p-display);
  font-weight: 800; font-size: 19px;
}
.num-badge.g { background: var(--accent-2-soft); color: var(--accent-2-deep); }

/* ============================================================
   Department section
   ============================================================ */
.dept {
  background: var(--p-soft);
  border-top: 1px solid var(--p-line);
  border-bottom: 1px solid var(--p-line);
}
.dept-inner {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 48px; align-items: center; padding: 70px 0;
}
.dept h2 {
  font-family: var(--p-display); font-size: 28px; font-weight: 800;
  letter-spacing: -.03em; margin: 0 0 16px;
}
.dept p { margin: 0 0 14px; color: var(--p-muted); font-size: 16px; line-height: 1.62; }
.dept .pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.dept .pills span {
  padding: 9px 15px; border-radius: var(--pr-pill);
  background: #fff; border: 1px solid var(--p-line);
  font-size: 13.5px; font-weight: 600; color: var(--accent-deep); white-space: nowrap;
}
.dept-card {
  padding: 32px; border-radius: var(--pr-panel);
  background: var(--p-surface); border: 1px solid var(--p-line);
  box-shadow: var(--p-shadow);
}
.dept-card .lab {
  font-size: 12px; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-2-deep);
}
.dept-card h3 {
  font-family: var(--p-display); font-size: 20px; font-weight: 800;
  line-height: 1.32; margin: 12px 0 0;
}
.dept-card .org {
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid var(--p-line);
  display: flex; align-items: center; gap: 12px;
}
.dept-card .org img { width: 34px; height: auto; }
.dept-card .org strong {
  display: block; font-size: 13px; letter-spacing: .12em; color: var(--accent-deep);
}
.dept-card .org span { display: block; font-size: 12.5px; color: var(--p-muted); font-weight: 600; }

/* ============================================================
   Footer
   ============================================================ */
.p-footer { background: #16344e; color: #fff; }
.p-footer .wrap { padding-block: 48px; }
.p-foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
}
.p-footer .f-lockup { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.p-footer .f-lockup .wm-1 { color: #fff; }
.p-footer .f-lockup .wm-2 { color: #a9c6dd; }
.p-footer p { color: #b9cee0; font-size: 14px; line-height: 1.6; max-width: 360px; margin: 0; }
.p-footer .f-col h4 {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: #6fb6a0; margin: 4px 0 14px;
}
.p-footer .f-col a {
  display: block; color: #cfe0ee; font-size: 14px;
  text-decoration: none; padding: 5px 0;
}
.p-footer .f-col a:hover { color: #fff; }
.p-foot-base {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px;
  color: #8fa9bf; font-size: 13px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .wrap { padding-inline: 22px; }
  .hub-grid { grid-template-columns: repeat(2,1fr); }
  .hub-card.span-3, .hub-card.span-2 { grid-column: span 1; }
  .stat-strip { grid-template-columns: repeat(2,1fr); }
  .stat-strip .cell:nth-child(2) { border-right: 0; }
  .stat-strip .cell:nth-child(1),
  .stat-strip .cell:nth-child(2) { border-bottom: 1px solid var(--p-line); }
  .dept-inner { grid-template-columns: 1fr; gap: 28px; }
  .p-foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .top-nav { display: none; }
}
@media (max-width: 560px) {
  .hub-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
  .stat-strip .cell { border-right: 0 !important; border-bottom: 1px solid var(--p-line); }
  .stat-strip .cell:last-child { border-bottom: 0; }
}
/* ── Мобільна головна: компактний «app-like» екран ─────────────── */
@media (max-width: 768px) {
  .hero-inner { padding: 26px 0 26px; }
  .eyebrow { margin-bottom: 14px; font-size: 12px; padding: 6px 11px 6px 7px; }
  .hero h1 {
    font-size: clamp(25px, 7.4vw, 34px);
    margin-bottom: 12px;
    line-height: 1.08;
  }
  .hero-lead {
    font-size: 14.5px;
    line-height: 1.5;
    margin-bottom: 18px;
    /* На телефоні довгий опис згортаємо до трьох рядків */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .hero-search { padding: 6px 6px 6px 14px; }
  .hero-search input { font-size: 15px; }
  .btn-primary { padding: 11px 16px; font-size: 14px; }
  /* Теги-посилання: одна прокручувана стрічка замість «килима» */
  .hero-tags {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-top: 14px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hero-tags::-webkit-scrollbar { display: none; }
  .hero-tags a { flex-shrink: 0; }
  /* Лічильники: один компактний рядок, лише цифри (підпис у title) */
  .stat-strip {
    margin-top: 16px;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
  .stat-strip .cell {
    padding: 9px 4px;
    text-align: center;
    border-bottom: 0 !important;
    border-right: 1px solid var(--p-line) !important;
  }
  .stat-strip .cell:last-child { border-right: 0 !important; }
  .stat-strip .num { font-size: 17px; }
  .stat-strip .cap { display: none; }
  .hub { padding: 36px 0; }
  .section-head h2 { font-size: 24px; }
  .section-head { margin-bottom: 18px; }
  .news-digest-section { padding: 26px 0 12px; }
}

/* Планшети: бренд і службові елементи залишаються в одному ритмі. */
@media (max-width: 1100px) {
  .top-row-1 {
    grid-template-columns: minmax(210px, 1fr) auto;
    gap: 12px;
  }
  .lockup {
    min-width: 0;
    flex-shrink: 1;
  }
  .wm { min-width: 0; }
  .wm-1,
  .wm-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }
  .top-row-1-right { flex-shrink: 0; }
  .agency-chip { display: none; }
}
@media (max-width: 1400px) {
  .top-auth .auth-chat-btn,
  .top-auth .auth-cabinet-btn {
    display: none !important;
  }
}
@media (min-width: 1600px) {
  .top-row-1 {
    grid-template-columns: minmax(320px, 1fr) auto minmax(320px, 1fr);
  }
  .top-row-1-right {
    grid-column: 2;
    justify-self: center;
    justify-content: center;
  }
}
@media (max-width: 600px) {
  .top-inner {
    height: 64px;
    gap: 8px;
    padding: 7px 12px;
  }
  .wm-2 {
    display: none;
  }
  .wm-1 {
    font-size: 13.5px;
  }
  .lockup {
    gap: 8px;
  }
  .header-nszu-logo {
    width: 34px;
    flex-basis: 34px;
  }
  .shield {
    width: 32px !important;
  }
}

/* ============================================================
   Informational News Digest (Landing Page Section)
   ============================================================ */
.news-digest-section {
  padding: 40px 0 20px;
  background: var(--brand-grad);
  border-bottom: 1px solid var(--p-line);
}
.news-digest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 15px;
}
.news-digest-card {
  display: flex;
  flex-direction: column;
  background: var(--p-surface);
  border: 1px solid var(--p-line);
  border-radius: var(--pr-card);
  padding: 22px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s, border-color 0.3s;
  box-shadow: var(--p-shadow-sm);
  position: relative;
  overflow: hidden;
}
.news-digest-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 111, 201, 0.3);
  box-shadow: var(--p-shadow-lg);
}
.news-digest-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: transparent;
  transition: background 0.3s;
}
.news-digest-card.importance-urgent::before {
  background: #ff4d4f;
}
.news-digest-card.importance-important::before {
  background: #faad14;
}
.news-digest-card.importance-normal::before {
  background: var(--accent);
}

.news-digest-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.news-digest-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--pr-pill);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.news-digest-badge.urgent {
  background: #fff0f6;
  color: #eb2f96;
  border: 1px solid #ffadd2;
}
.news-digest-badge.important {
  background: #fffbe6;
  color: #d46b08;
  border: 1px solid #ffe58f;
}
.news-digest-badge.normal {
  background: #e6f7ff;
  color: #096dd9;
  border: 1px solid #91d5ff;
}

/* Pulse animation for urgent dot */
.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #ff4d4f;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.7);
  animation: pulse-animation 1.5s infinite;
}
@keyframes pulse-animation {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(255, 77, 79, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 77, 79, 0);
  }
}

.news-digest-date {
  font-size: 12px;
  color: var(--p-muted);
  margin-left: auto;
}
.news-digest-card h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--p-ink);
  font-family: var(--p-display);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-digest-card p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--p-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.all-news-link {
  font-family: var(--p-display);
}
.all-news-link:hover {
  color: var(--accent-deep) !important;
}
.all-news-link:hover span {
  transform: translateX(3px);
}
.all-news-link span {
  display: inline-block;
  transition: transform 0.15s;
}

@media (max-width: 980px) {
  .news-digest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .news-digest-grid {
    grid-template-columns: 1fr;
  }
}

