/* Big Deal Group — Modern R&D Ecosystem Theme */
:root {
  --header-grad: linear-gradient(95deg, #050b18 0%, #091936 48%, #0f2952 100%);
  --bg-obsidian: #071124;
  --bg-obsidian-2: #0b1931;
  --bg-card-dark: #102442;
  --bg-light: #f8faff;
  --bg-white: #ffffff;
  --bg-tint: #eff4fa;

  --text-light: #f8faff;
  --text-light-muted: #b3c3d8;
  --text-dark: #0f172a;
  --text-muted: #475569;

  --border-dark: rgba(148, 163, 184, 0.18);
  --border-light: #e2e8f0;

  --accent-steel: #235ca4;
  --accent-blue: #2563eb;
  --accent-crimson: #e11d48;

  /* Кнопки: градиент синий + тёмный неон */
  --neon-btn-bg: linear-gradient(125deg, #1d4ed8 0%, #2563eb 48%, #0ea5e9 100%);
  --neon-btn-hover: linear-gradient(125deg, #2563eb 0%, #3b82f6 48%, #22d3ee 100%);
  --neon-glow: 0 0 18px rgba(37, 99, 235, 0.55), 0 0 34px rgba(14, 165, 233, 0.28);

  /* Красное выделение как у кнопок для схемы архитектуры */
  --red-highlight: #ff2a3c;
  --red-glow: 0 0 14px rgba(255, 42, 60, 0.55);

  /* Единый класс заголовков разделов */
  --section-title-size: clamp(1.85rem, 3.4vw, 2.75rem);
  --section-title-weight: 800;
  --section-title-lh: 1.14;
  --section-title-ls: -0.028em;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;

  --max-w: 82rem;
  --gutter: clamp(1.1rem, 4vw, 3rem);
  --radius-lg: 1.25rem;
  --radius-md: 0.875rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html.is-menu-open,
body.is-menu-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

[hidden] { display: none !important; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
svg { display: block; }
a { color: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  background: var(--accent-blue);
  color: #fff;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.wrap {
  width: min(100% - var(--gutter) * 2, var(--max-w));
  margin-inline: auto;
}

/*.section { padding-block: clamp(4rem, 8vw, 7rem); }*/
.section { padding-block: clamp(3rem, 5vw, 4.5rem); }

/* HEADER — глубокий тёмно-синий градиент */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--header-grad);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.22);
  box-shadow: 0 10px 30px -12px rgba(2, 6, 23, 0.75);
}

.header-inner {
  min-height: 4.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-svg { display: block; height: 2.4rem; width: auto; }

/* Десктопное меню с лёгкими SVG-иконками и анимацией при наведении */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.45rem, 1.3vw, 1.15rem);
}



.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.78rem;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  color: var(--text-light-muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.45rem;
  right: 0.45rem;
  bottom: -0.15rem;
  height: 2px;
  border-radius: 2px;
  background: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.75);
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-current="page"] {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-icon {
  flex-shrink: 0;
  color: #60a5fa;
  transition: transform 0.22s ease, color 0.22s ease, filter 0.22s ease;
}

.nav-link:hover .nav-icon,
.nav-link:focus-visible .nav-icon {
  color: #38bdf8;
  transform: translateY(-1.5px) scale(1.08);
  filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.75));
}

.nav-link[aria-current="page"] .nav-icon {
  color: #7dd3fc;
}



.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* BUTTONS — градиент синий + тёмный неон */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0.65rem 1.35rem;
  border-radius: 0.65rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.22s, background 0.22s, border-color 0.22s;
}
.btn:active { transform: translateY(1px); }

.btn-neon {
  background: var(--neon-btn-bg);
  color: #ffffff;
  border-color: rgba(125, 211, 252, 0.45);
  box-shadow: var(--neon-glow);
}
.btn-neon:hover {
  background: var(--neon-btn-hover);
  border-color: rgba(186, 230, 253, 0.8);
  box-shadow: 0 0 24px rgba(37, 99, 235, 0.75), 0 0 42px rgba(34, 211, 238, 0.38);
  transform: translateY(-1px);
}

.btn-outline-light {
  color: #ffffff;
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.45);
}
.btn-outline-light:hover {
  border-color: rgba(125, 211, 252, 0.65);
  background: rgba(37, 99, 235, 0.18);
}

.btn-ghost-light {
  color: #e2e8f0;
  padding-inline: 0.5rem;
}
.btn-ghost-light:hover { color: #ffffff; text-decoration: underline; }

/* MOBILE BURGER & FULLSCREEN DRAWER (выравнивание списка по верху + отступы) */
.menu-button {
  display: none;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.45rem 0.8rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(125, 211, 252, 0.32);
  background: rgba(15, 39, 78, 0.72);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 160;
  width: 100vw;
  height: 100dvh;
  background: linear-gradient(160deg, #050b18 0%, #091936 55%, #0c2246 100%);
  color: var(--text-light);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-drawer-inner {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-inline: clamp(1.25rem, 5vw, 2rem);
  padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
}

.mobile-drawer-top {
  min-height: 4.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-dark);
  flex-shrink: 0;
}

.mobile-close {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.45rem 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(125, 211, 252, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

/* Выравнивание пунктов меню по верху с чёткими отступами */
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.25rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0.5rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 0.5rem;
  transition: background 0.2s, padding-left 0.2s;
}
.mobile-nav-link:hover {
  background: rgba(56, 189, 248, 0.08);
  padding-left: 0.75rem;
}
.mobile-nav-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #38bdf8;
  min-width: 1.5rem;
}
.mobile-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7dd3fc;
}
.mobile-nav-icon .nav-icon {
  width: 20px;
  height: 20px;
}
.mobile-nav-title {
  font-size: clamp(1.35rem, 5.4vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f8faff;
}
.mobile-nav-link[aria-current="page"] .mobile-nav-title {
  color: #7dd3fc;
}

/* Нижний блок прижат к низу экрана через margin-top: auto */
.mobile-drawer-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-dark);
}

.mobile-ecosystem-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.mobile-ecosystem-pills a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-light-muted);
  text-decoration: none;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.04);
}
.mobile-drawer-cta {
  width: 100%;
  min-height: 3.3rem;
  font-size: 1rem;
}

/* HERO & INNER HERO */
.hero, .page-hero {
  position: relative;
  background: linear-gradient(155deg, #050b18 0%, #091936 52%, #0e264d 100%);
  color: var(--text-light);
  overflow: hidden;
  border-bottom: 1px solid var(--border-dark);
}
.hero { padding-block: clamp(3rem, 6vw, 5.5rem); }
.page-hero { padding-block: clamp(2.75rem, 5.5vw, 4.5rem); }

.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 25%, rgba(14, 165, 233, 0.2), transparent 46%),
    radial-gradient(circle at 18% 82%, rgba(37, 99, 235, 0.24), transparent 48%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 4.5vw, 4.5rem);
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(108, 168, 238, 0.32);
  background: rgba(37, 99, 235, 0.14);
  color: #d2e7ff;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  margin-bottom: 1.15rem;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
}

.hero-title-wrap {
  border-left: 3px solid var(--red-highlight);
  padding-left: 1.15rem;
}
.hero-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #7dd3fc;
  margin-bottom: 0.45rem;
}
.hero-heading {
  font-size: clamp(1.95rem, 3.35vw, 3rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.025em;
  max-width: 24ch;
}
.hero-heading-accent {
  display: block;
  margin-top: 0.2rem;
  background: linear-gradient(110deg, #f8faff, #9dceff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede {
  margin-top: 1.25rem;
  max-width: 39rem;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  color: var(--text-light-muted);
  line-height: 1.62;
}

.hero-cta-row {
  margin-top: 1.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-stats {
  margin-top: 2.35rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-dark);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.hero-stats strong {
  display: block;
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}
.hero-stats span {
  font-size: 0.84rem;
  color: var(--text-light-muted);
}

/* INTERACTIVE SVG ATLAS */
.cosmos-card {
  background: linear-gradient(180deg, rgba(16, 36, 66, 0.92) 0%, rgba(7, 17, 36, 0.98) 100%);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.65);
}

.cosmos-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-dark);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-light-muted);
}
.cosmos-badge { display: inline-flex; align-items: center; gap: 0.45rem; color: #bae6fd; }

.cosmos-svg {
  width: 100%;
  height: auto;
  margin-block: 0.6rem;
}

.atlas-layer { cursor: pointer; }
.atlas-node {
  fill: #142a47;
  stroke: #526e90;
  stroke-width: 1.2;
  transition: stroke 0.2s, fill 0.2s, filter 0.2s;
}
.atlas-indicator {
  fill: #81b9f4;
  transition: fill 0.2s;
}
.atlas-layer.is-active .atlas-node,
.atlas-layer:hover .atlas-node,
.atlas-layer:focus-visible .atlas-node {
  stroke: var(--red-highlight);
  stroke-width: 2.2;
  fill: #1b2238;
  filter: drop-shadow(0 0 10px rgba(255, 42, 60, 0.45));
}
.atlas-layer.is-active .atlas-indicator,
.atlas-layer:hover .atlas-indicator,
.atlas-layer:focus-visible .atlas-indicator {
  fill: var(--red-highlight);
}

.cosmos-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-top: 0.4rem;
}
.cosmos-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 0.6rem;
  border-radius: 0.55rem;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-light-muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.cosmos-tab:hover {
  border-color: rgba(255, 42, 60, 0.55);
  color: #ffffff;
}
.cosmos-tab.is-active {
  background: rgba(255, 42, 60, 0.14);
  border-color: var(--red-highlight);
  color: #ffffff;
  box-shadow: var(--red-glow);
}
.tab-dot { width: 8px; height: 8px; border-radius: 50%; }
.tab-dot.neo { background: #77b6f8; }
.tab-dot.unreal { background: #fb7185; }
.tab-dot.site { background: #38bdf8; }

.cosmos-readout {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  background: rgba(255, 42, 60, 0.12);
  border: 1px solid var(--red-highlight);
  box-shadow: var(--red-glow);
  font-size: 0.88rem;
  color: #f8fafc;
}
.cosmos-readout strong {
  color: #ff6b78;
}

/* ЕДИНЫЙ КЛАСС ЗАГОЛОВКОВ РАЗДЕЛОВ (.section-title) */
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem 2.5rem;
  margin-bottom: clamp(2.2rem, 4vw, 3.5rem);
}
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-steel);
  margin-bottom: 0.55rem;
}
.section-head.is-light .section-tag { color: #77b6f8; }

.section-title {
  font-size: var(--section-title-size);
  font-weight: var(--section-title-weight);
  line-height: var(--section-title-lh);
  letter-spacing: var(--section-title-ls);
}
.section-title::before {
  content: "";
  display: block;
  width: 1.8rem;
  height: 2.5px;
  margin-bottom: 0.65rem;
  border-radius: 2px;
  background: var(--red-highlight);
}

.section-sub {
  max-width: 32rem;
  color: var(--text-muted);
  font-size: 1.02rem;
}
.section-head.is-light .section-sub { color: var(--text-light-muted); }

.link-arrow {
  font-weight: 600;
  color: var(--accent-steel);
  text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; }

/* THREE CORE ASSETS */
.assets-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.asset-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px -15px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s, box-shadow 0.22s;
}
.asset-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 45px -18px rgba(15, 23, 42, 0.16);
}

.asset-banner {
  display: grid;
  padding: 1.15rem 1rem 0;
  background: #10233d;
  border-bottom: 1px solid #26476b;
}
.asset-logo-svg {
  display: block;
  width: auto;
  height: 2rem;
  max-width: 70%;
  object-fit: contain;
  object-position: left center;
  margin: 0.15rem 0.5rem 0.45rem;
}
.asset-architecture {
  display: block;
  width: 100%;
  height: auto;
}

.asset-body {
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.asset-role {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-steel);
  margin-bottom: 0.45rem;
}
.asset-card.is-site .asset-role { color: var(--accent-blue); }
.asset-card.is-unreal .asset-role { color: var(--accent-crimson); }

.asset-body h3 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}
.asset-body p { color: var(--text-muted); font-size: 0.96rem; }

.asset-tags {
  list-style: none;
  padding: 0;
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.asset-tags li {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 0.25rem 0.6rem;
  border-radius: 0.4rem;
  background: var(--bg-tint);
  color: var(--text-dark);
}

.asset-link {
  margin-top: auto;
  padding-top: 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.93rem;
  text-decoration: none;
  color: var(--text-dark);
}
.asset-link:hover { color: var(--accent-blue); }

/* DARK BAND & EVOLUTION */
.dark-band {
  background: linear-gradient(160deg, #071124 0%, #0d1d35 100%);
  color: var(--text-light);
}

.evolution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.evo-step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.65rem;
}
.evo-step.is-highlight {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.16) 0%, rgba(14, 165, 233, 0.08) 100%);
  border-color: rgba(125, 211, 252, 0.35);
}
.evo-period {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #7dd3fc;
  margin-bottom: 0.65rem;
}
.evo-step h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.65rem; }
.evo-step p { color: var(--text-light-muted); font-size: 0.95rem; }

.band-actions {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* PRINCIPLES */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.principle-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
.principle-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent-blue);
  margin-bottom: 1.1rem;
}
.principle-card h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 0.55rem; }
.principle-card p { color: var(--text-muted); font-size: 0.95rem; }

/* NEWS PREVIEW & FEED */
.news-preview-band {
  background: var(--bg-tint);
  border-top: 1px solid var(--border-light);
}
.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.news-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.news-card-meta, .feed-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.tag-pill {
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.72rem;
}
.tag-pill.neo { background: #eaf3ff; color: #26588f; }
.tag-pill.site { background: #dbeafe; color: #1d4ed8; }
.tag-pill.group { background: #fff0ef; color: #ac262a; }
.tag-pill.archive { background: #e2e8f0; color: #334155; }

.news-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-block: 0.75rem 0.55rem;
}
.news-card h3 a { text-decoration: none; }
.news-card h3 a:hover { color: var(--accent-blue); }
.news-card p { color: var(--text-muted); font-size: 0.94rem; }

/* INNER PAGES */
.breadcrumb {
  display: flex;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--text-light-muted);
  margin-bottom: 1.15rem;
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

.split-editorial {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  align-items: start;
}
.prose-block p + p { margin-top: 1rem; }
.prose-block p { color: var(--text-muted); font-size: 1.05rem; }
.dark-band .prose-block p { color: var(--text-light-muted); }

.roles-dl { margin-top: 1.5rem; display: grid; gap: 1rem; }
.roles-dl > div {
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-dark);
}
.roles-dl dt { font-weight: 700; color: #fff; font-size: 1.05rem; }
.roles-dl dd { color: var(--text-light-muted); font-size: 0.94rem; margin-top: 0.25rem; }
.inline-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* TIMELINE */
.timeline-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.timeline-item {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 1rem 2rem;
  align-items: start;
}
.timeline-year {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent-blue);
  padding-top: 1.4rem;
}
.timeline-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.timeline-item.is-reborn .timeline-card {
  border-color: rgba(37, 99, 235, 0.42);
  background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
}
.timeline-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 0.35rem;
  background: var(--bg-tint);
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}
.timeline-card h2 { font-size: 1.35rem; font-weight: 800; margin-bottom: 0.5rem; }
.timeline-card p { color: var(--text-muted); }

/* PROJECTS ARCHIVE WITH LOGO SLOTS */
.anchor-pills {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.anchor-pills a {
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
}
.anchor-pills a:hover { border-color: #38bdf8; color: #fff; }

.archive-cluster + .archive-cluster { margin-top: 3rem; }
.archive-cluster h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 1.15rem;
}

.archive-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.archive-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.archive-logo-slot {
  position: relative;
  height: 5.5rem;
  background: var(--bg-tint);
  border-bottom: 1px solid var(--border-light);
  display: grid;
  place-items: center;
  padding: 0.65rem;
  color: #64748b;
}
.archive-logo-slot :is(svg, img) { width: auto; max-width: min(100%, 165px); max-height: 4.2rem; object-fit: contain; }

.archive-card-body { padding: 1rem; }
.archive-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.archive-card-head h4 { font-size: 1rem; font-weight: 700; }
.status-archive {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: #eff4fa;
  color: #64748b;
}
.archive-card-body p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.45; }

/* NEWS PAGE FILTERS */
.news-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2rem;
}
.filter-chip {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}
.filter-chip.is-active {
  background: var(--bg-obsidian);
  color: #ffffff;
  border-color: var(--bg-obsidian);
}

.news-feed-list { display: grid; gap: 1rem; }
.feed-row {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  gap: 1rem 2rem;
}
.feed-row-content h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.45rem; }
.feed-row-content p { color: var(--text-muted); }
.feed-row-content details { margin-top: 0.65rem; }
.feed-row-content summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--accent-blue);
  width: fit-content;
}

/* FOOTER */
.site-footer {
  background: var(--header-grad);
  color: var(--text-light);
  /* border-top: 2px solid rgba(56, 189, 248, 0.35); */
  border-top: 2px solid var(--red-highlight);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.2fr;
  gap: 2rem;
  padding-bottom: 3rem;
}
.footer-desc {
  margin-top: 1rem;
  color: var(--text-light-muted);
  font-size: 0.92rem;
  max-width: 22rem;
}
.footer-nav { display: grid; align-content: start; gap: 0.55rem; }
.footer-nav strong, .footer-cta-col strong { font-size: 0.95rem; }
.footer-nav strong { margin-bottom: 0.25rem; }
.footer-cta-col strong { display: block; margin-bottom: 0.6rem; }
.footer-grid > :not(:first-child) { border-inline-start: 1px solid var(--border-dark); padding-inline-start: 1.35rem; }
.footer-nav a {
  color: var(--text-light-muted);
  text-decoration: none;
  font-size: 0.92rem;
  width: fit-content;
}
.footer-nav a:hover { color: #ffffff; text-decoration: underline; }

.footer-cta-note {
  color: var(--text-light-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-block: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-light-muted);
}
.back-to-top { text-decoration: none; }
.back-to-top:hover { color: #ffffff; }

.footerLogos {
  margin: 20px 0 0 0;
}
.footerLogos img {
  height: 35px;
  margin-right: 25px;
  margin-bottom: 20px;
}


/* RESPONSIVE */
@media (max-width: 68rem) {
  .desktop-nav { gap: 0.25rem; }
  .nav-link { padding: 0.45rem 0.55rem; font-size: 0.88rem; }
}

@media (max-width: 64rem) {
  .hero-grid, .split-editorial { grid-template-columns: 1fr; }
  .assets-grid, .evolution-grid, .principles-grid, .news-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .archive-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 56rem) {
  .desktop-nav, .desktop-cta { display: none; }
  .menu-button { display: inline-flex; }
}

@media (max-width: 40rem) {
  .assets-grid, .evolution-grid, .principles-grid, .news-cards-grid, .archive-cards-grid {
    grid-template-columns: 1fr;
  }
  .timeline-item, .feed-row { grid-template-columns: 1fr; gap: 0.45rem; }
  .timeline-year { padding-top: 0; }
  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.65rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-grid > :not(:first-child) { border-inline-start: 0; border-top: 1px solid var(--border-dark); padding: 1.15rem 0 0; }
  .cosmos-card { padding: 0.75rem; }
  .cosmos-tab { padding-inline: 0.25rem; font-size: 0.73rem; }
  .tab-dot { display: none; }
}

.section-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
  color: var(--accent-blue);
}
.evo-step .section-icon { color: #7dd3fc; }
:focus-visible { outline: 2px solid #38bdf8; outline-offset: 4px; }
[id] { scroll-margin-top: 6rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}


/* =========================================================
   Timeline Left Axis & Diamonds (History Page)
   ========================================================= */
.timeline-list {
  position: relative;
  gap: 1.5rem;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 14.5rem minmax(0, 1fr);
  gap: 1rem 2.75rem;
  align-items: center;
}

.timeline-year {
  position: relative;
  padding-top: 0;
  padding-right: 1.65rem;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  white-space: nowrap;
}

/* Вертикальная ось вдоль правого края колонки годов */
.timeline-year::before {
  content: "";
  position: absolute;
  top: calc(100% + 0.15rem);
  right: 0;
  width: 1.5px;
  height: calc(1.5rem + 4.5rem);
  background: rgba(35, 92, 164, 0.35);
  transform: translateX(50%);
  pointer-events: none;
}

/* Ромб-узел на линии оси */
.timeline-year::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 0.65rem;
  height: 0.65rem;
  background: var(--accent-steel);
  border-radius: 1.5px;
  transform: translate(50%, -50%) rotate(45deg);
  box-shadow: 0 0 0 3px var(--bg-light);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

/* У последнего элемента линию вниз не рисуем */
.timeline-item:last-child .timeline-year::before {
  display: none;
}

/* Финальный этап (2023 — 2026+): красный ромб и мягкая подсветка карточки */
.timeline-item.is-reborn .timeline-year::after {
  background: var(--red-highlight);
  box-shadow: 0 0 0 3px var(--bg-light), 0 0 12px rgba(255, 42, 60, 0.55);
}

.timeline-item.is-reborn .timeline-card {
  background: #f0f6ff;
  border-color: rgba(37, 99, 235, 0.28);
}

/* Лёгкий отклик при наведении на строку */
.timeline-item:hover .timeline-year::after {
  transform: translate(50%, -50%) rotate(45deg) scale(1.2);
}

/* Адаптивы */
@media (max-width: 64rem) {
  .timeline-item {
    grid-template-columns: 12rem minmax(0, 1fr);
    gap: 0.85rem 2rem;
  }

  .timeline-year {
    padding-right: 1.35rem;
    font-size: 1.02rem;
  }
}

@media (max-width: 40rem) {
  .timeline-list {
    gap: 1.15rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding-left: 1.35rem;
  }

  .timeline-item::before {
    content: "";
    position: absolute;
    left: 0.3rem;
    top: 0.7rem;
    bottom: -1.15rem;
    width: 1.5px;
    background: rgba(35, 92, 164, 0.35);
  }

  .timeline-item:last-child::before {
    display: none;
  }

  .timeline-year {
    padding-right: 0;
    font-size: 0.98rem;
  }

  .timeline-year::before {
    display: none;
  }

  .timeline-year::after {
    left: -1.35rem;
    right: auto;
    top: 50%;
    width: 0.58rem;
    height: 0.58rem;
    transform: translate(0, -50%) rotate(45deg);
  }

  .timeline-item:hover .timeline-year::after {
    transform: translate(0, -50%) rotate(45deg) scale(1.15);
  }
}

/* =========================================================
   News Feed Cards with Left Photo Frame & Split Meta
   ========================================================= */
.news-feed-list {
  display: grid;
  gap: 1.25rem;
}

.feed-row {
  display: grid;
  grid-template-columns: 15.5rem minmax(0, 1fr);
  gap: 1.5rem 2rem;
  align-items: center;
  padding: 1.35rem;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.feed-row:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 14px 32px -20px rgba(15, 23, 42, 0.22);
}

/* Жёсткий прямоугольник слева: любое фото вписывается без искажений */
.feed-row-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 0.7rem;
  overflow: hidden;
  background: linear-gradient(145deg, #091936 0%, #102442 100%);
  border: 1px solid var(--border-light);
  text-decoration: none;
}

.feed-row-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.feed-row-media:hover img,
.feed-row:hover .feed-row-media img {
  transform: scale(1.04);
}

.feed-row-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* Тег рядом с названием */
.feed-row-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 1rem;
}

.feed-row-content h2 {
  font-size: clamp(1.18rem, 1.8vw, 1.4rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.feed-row-content h2 a {
  text-decoration: none;
  transition: color 0.18s ease;
}

.feed-row-content h2 a:hover {
  color: var(--accent-blue);
}

.feed-row-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Дата и ссылка под кратким описанием */
.feed-row-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.feed-row-more {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-blue);
  text-decoration: none;
}

.feed-row-more:hover {
  text-decoration: underline;
}

.feed-row-content details {
  margin-top: 0.25rem;
}

.feed-row-content summary {
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-steel);
  width: fit-content;
}

/* Адаптивы */
@media (max-width: 64rem) {
  .feed-row {
    grid-template-columns: 13rem minmax(0, 1fr);
    gap: 1.25rem 1.5rem;
  }
}

@media (max-width: 48rem) {
  .feed-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.15rem;
  }

  .feed-row-media {
    aspect-ratio: 16 / 9;
    max-height: 14rem;
  }
}

@media (max-width: 40rem) {
  .feed-row-top {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 0.45rem;
  }
}

/* =========================================================
   Universal Pagination Component (Independent Module)
   ========================================================= */
.bdg-pagination {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  justify-content: center;
}

.bdg-pagination-list {
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 0.9rem;
  box-shadow: 0 10px 28px -18px rgba(15, 23, 42, 0.2);
}

.bdg-page-link,
.bdg-page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding-inline: 0.65rem;
  border-radius: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  user-select: none;
}

.bdg-page-link {
  color: var(--text-dark);
  border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.bdg-page-link:hover {
  background: var(--bg-tint);
  border-color: rgba(37, 99, 235, 0.28);
  color: var(--accent-blue);
}

.bdg-page-link:active {
  transform: translateY(1px);
}

/* Активная страница — выделена фирменным тёмно-синим градиентом */
.bdg-page-link.is-active,
.bdg-page-link[aria-current="page"] {
  background: var(--header-grad);
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 6px 16px -6px rgba(9, 25, 54, 0.65), 0 0 12px rgba(56, 189, 248, 0.25);
  cursor: default;
}

.bdg-page-link.is-arrow {
  color: var(--accent-steel);
}

.bdg-page-link.is-arrow:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent-blue);
}

/* Неактивная стрелка (если на первой/последней странице) */
.bdg-page-link.is-disabled {
  opacity: 0.38;
  pointer-events: none;
}

.bdg-page-ellipsis {
  min-width: 1.85rem;
  padding-inline: 0.25rem;
  color: var(--text-muted);
}

@media (max-width: 40rem) {
  .bdg-pagination-list {
    padding: 0.32rem;
    gap: 0.25rem;
  }

  .bdg-page-link,
  .bdg-page-ellipsis {
    min-width: 2.2rem;
    height: 2.2rem;
    padding-inline: 0.5rem;
    font-size: 0.82rem;
  }
}

/* =========================================================
   Single News Article Card (Full View)
   ========================================================= */
.news-article-card {
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px -24px rgba(15, 23, 42, 0.22);
}

/* Широкая обложка с контролем пропорций и максимальной высоты */
.news-article-cover {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 26rem;
  background: linear-gradient(145deg, #050b18 0%, #091936 52%, #0f2952 100%);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.news-article-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Тонкая нижняя подсветка на стыке фото и текста */
.news-article-cover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue) 0%, #38bdf8 55%, transparent 100%);
  opacity: 0.7;
  pointer-events: none;
}

.news-article-body {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}

.news-article-text {
  max-width: 72ch;
  color: var(--text-dark);
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  line-height: 1.72;
}

.news-article-text p + p {
  margin-top: 1.15rem;
}

/* Нижняя панель: дата слева, плашка типа новости справа */
.news-article-footer {
  margin-top: 1.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.news-article-date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.news-article-footer .tag-pill {
  font-size: 0.78rem;
  padding: 0.28rem 0.75rem;
}

@media (max-width: 48rem) {
  .news-article-cover {
    aspect-ratio: 16 / 9;
    max-height: 18rem;
  }

  .news-article-body {
    padding: 1.25rem;
  }
}


/* =========================================================
   News Filter Links (Hover & Active State)
   ========================================================= */
.news-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2rem;
}

.news-filter-bar .filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.52rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.news-filter-bar .filter-chip:hover,
.news-filter-bar .filter-chip:focus-visible {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.45);
  color: var(--accent-blue);
  box-shadow: 0 6px 16px -10px rgba(37, 99, 235, 0.45);
  transform: translateY(-1px);
}

.news-filter-bar .filter-chip:active {
  transform: translateY(0);
}

/* Открытый / текущий раздел */
.news-filter-bar .filter-chip[aria-current="page"],
.news-filter-bar .filter-chip.is-active {
  background: var(--header-grad);
  border-color: rgba(56, 189, 248, 0.45);
  color: #ffffff;
  box-shadow: 0 8px 20px -8px rgba(9, 25, 54, 0.65), 0 0 14px rgba(56, 189, 248, 0.25);
}

.news-filter-bar .filter-chip[aria-current="page"]:hover,
.news-filter-bar .filter-chip.is-active:hover {
  color: #ffffff;
  border-color: rgba(125, 211, 252, 0.75);
  transform: none;
}

@media (max-width: 40rem) {
  .news-filter-bar {
    gap: 0.45rem;
    margin-bottom: 1.5rem;
  }

  .news-filter-bar .filter-chip {
    padding: 0.46rem 0.85rem;
    font-size: 0.82rem;
  }
}


/* =========================================================
   Universal Empty State Card (Independent Module)
   ========================================================= */
.bdg-empty-state {
  margin-top: 0.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 28px -20px rgba(15, 23, 42, 0.16);
}

.bdg-empty-icon {
  flex-shrink: 0;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.65rem;
  display: grid;
  place-items: center;
  background: rgba(37, 99, 235, 0.09);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--accent-steel);
}

.bdg-empty-body {
  min-width: 0;
}

.bdg-empty-title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-dark);
}

.bdg-empty-desc {
  margin-top: 0.35rem;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 56ch;
}

.bdg-empty-sign {
  display: inline-block;
  margin-top: 0.85rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--border-light);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-steel);
}

@media (max-width: 40rem) {
  .bdg-empty-state {
    flex-direction: column;
    gap: 0.9rem;
    padding: 1.25rem;
  }
}


/* =========================================================
   News Topic Badges (.news-tema-<linkurl>)
   ========================================================= */
.news-tema {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.24rem 0.68rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  background: var(--bg-tint);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}

.news-tema-bdgneocortex {
  background: #bf15dd;
  color: #fff;
  border-color: #fff;
}

.news-tema-bdgsite {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.34);
}

.news-tema-bigdealgroup {
  background: linear-gradient(95deg, #050b18 0%, #091936 48%, #0f2952 100%);
  color: #fff;
  border-color: #fff;
}

.news-tema-unrealsolutions {
  background: rgba(255, 42, 60, 0.1);
  color: #b91c2b;
  border-color: rgba(255, 42, 60, 0.32);
}

.news-tema-archive {
  background: #e2e8f0;
  color: #334155;
  border-color: #cbd5e1;
}

/* =========================================================
   Related News Heading (.publicModulEndList .titleName)
   ========================================================= */
.publicModulEndList .titleName {
  margin: 2rem 0 1.15rem;
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  font-weight: 800;
  line-height: var(--section-title-lh);
  letter-spacing: var(--section-title-ls);
  color: var(--text-dark);
}

.publicModulEndList .titleName::before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2.5px;
  margin-bottom: 0.5rem;
  border-radius: 2px;
  background: var(--red-highlight);
}

.allNewsbtn {
  margin: 30px 0 15px 0;
}
.news-article-text {
    max-width: unset;
}


/* =========================================================
   Article Hero Background Photo Layer
   ========================================================= */
.page-hero .wrap {
  position: relative;
  z-index: 2;
}

.page-hero .hero-ambient {
  z-index: 1;
}

.page-hero .hero-photo-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.22;
  filter: saturate(0.85) contrast(1.06);
  pointer-events: none;
}

/* Мягкое затемнение поверх фото, чтобы текст всегда читался */
.page-hero.is-article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    95deg,
    rgba(5, 11, 24, 0.78) 0%,
    rgba(9, 25, 54, 0.58) 55%,
    rgba(14, 38, 77, 0.45) 100%
  );
  pointer-events: none;
}

@media (max-width: 48rem) {
  .page-hero .hero-photo-bg {
    opacity: 0.18;
    background-position: center top;
  }
}


/* =========================================================
   Section Hero Background Layer (Full Height Fit, Right-Aligned)
   ========================================================= */
.page-hero.is-section-hero {
  position: relative;
  overflow: hidden;
}

.page-hero.is-section-hero .wrap {
  position: relative;
  z-index: 2;
}

.page-hero.is-section-hero .hero-photo-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: auto 100%;
  background-position: right center;
  background-repeat: no-repeat;
  opacity: 0.44;
  pointer-events: none;

  /* Мягко растворяем левый край картинки, чтобы не было стыка с фоном */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, transparent 32%, #000 54%, #000 100%);
          mask-image: linear-gradient(90deg, transparent 0%, transparent 32%, #000 54%, #000 100%);
}

/* Мягкий переход слева под текстом, без обрезания правой схемы */
.page-hero.is-section-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(5, 11, 24, 0.94) 0%,
    rgba(7, 17, 36, 0.82) 40%,
    rgba(9, 25, 54, 0.22) 72%,
    rgba(14, 38, 77, 0.08) 100%
  );
  pointer-events: none;
}

@media (max-width: 64rem) {
  .page-hero.is-section-hero .hero-photo-bg {
    background-size: auto 86%;
    background-position: right center;
    opacity: 0.34;
  }
}

@media (max-width: 48rem) {
  .page-hero.is-section-hero .hero-photo-bg {
    background-size: auto 72%;
    background-position: right bottom;
    opacity: 0.26;
  }

  .page-hero.is-section-hero::after {
    background: linear-gradient(
      180deg,
      rgba(5, 11, 24, 0.88) 0%,
      rgba(7, 17, 36, 0.76) 60%,
      rgba(9, 25, 54, 0.62) 100%
    );
  }
}

@media (max-width: 48rem) {
  .page-hero.is-section-hero .hero-photo-bg {
    background-size: 155% auto;
    background-position: 94% 85%;
    opacity: 0.42;
    -webkit-mask-image: radial-gradient(circle at 78% 68%, #000 35%, transparent 82%);
            mask-image: radial-gradient(circle at 78% 68%, #000 35%, transparent 82%);
  }

  .page-hero.is-section-hero::after {
    background: linear-gradient(
      180deg,
      rgba(5, 11, 24, 0.88) 0%,
      rgba(7, 17, 36, 0.58) 55%,
      rgba(9, 25, 54, 0.25) 100%
    );
  }
}

.allNewsbtn .btn-neon {
 background: linear-gradient(125deg, #032173 0%, #2563eb 48%, #1d4ed8 100%);
}


/* =========================================================
   Archive Logo Slot Full-Bleed Integration
   ========================================================= */
/*
.archive-logo-slot {
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.archive-logo-slot img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: cover;
}
*/
/* =========================================================
   Force Full-Bleed Fill in Archive Card Header Slot
   ========================================================= */
/*
.archive-card .archive-logo-slot {
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
  min-height: 110px;
  background: #071124;
  overflow: hidden;
  display: block;
  position: relative;
}

.archive-card .archive-logo-slot > img,
.archive-card .archive-logo-slot > svg {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100%;
  min-height: 110px;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  object-fit: cover !important;
}
*/

/* =========================================================
   Clean SVG Layer on Section Hero Gradient (Desktop + Mobile)
   ========================================================= */
.page-hero.is-section-hero {
  position: relative;
  overflow: hidden;
}

.page-hero.is-section-hero .wrap {
  position: relative;
  z-index: 2;
}

.page-hero.is-section-hero .hero-photo-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: auto 92%;
  background-position: right center;
  background-repeat: no-repeat;
  opacity: 0.92;
  pointer-events: none;
  -webkit-mask-image: none;
          mask-image: none;
}

.page-hero.is-section-hero::after {
  display: none;
}

@media (max-width: 64rem) {
  .page-hero.is-section-hero .hero-photo-bg {
    background-size: auto 80%;
    background-position: right center;
  }
}

@media (max-width: 48rem) {
  .page-hero.is-section-hero .hero-photo-bg {
    background-size: auto 100%;
    background-position: 86% center;
    opacity: 0.16;
    -webkit-mask-image: none;
            mask-image: none;
  }

  .page-hero.is-section-hero::after {
    display: none;
  }
}