@font-face {
  font-family: 'ANS Regular';
  src: local('ANS Regular'), local('ANS-Regular'), url('../fonts/ANS-Regular.otf') format('opentype');
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #050814;
  --panel: rgba(13, 18, 43, 0.62);
  --line: rgba(171, 160, 255, 0.22);
  --text: #f4efff;
  --muted: #c1bfdc;
  --muted-2: #9f9cbf;
  --violet: #7a72ff;
  --magenta: #d54dff;
  --cyan: #39d0ff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.48);
  --blur: saturate(150%) blur(22px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #12183b 0%, #080b17 42%, #03050d 100%);
  color: var(--text);
  font-family: 'ANS Regular', Inter, 'Segoe UI', Arial, sans-serif;
  position: relative;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.scene-image,
.scene-shade,
.scene-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.scene-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: brightness(0.48) saturate(1.1) contrast(1.05);
}

.scene-shade {
  background:
    radial-gradient(circle at 50% 18%, rgba(138, 80, 255, 0.22), transparent 38%),
    radial-gradient(circle at 14% 78%, rgba(41, 155, 255, 0.15), transparent 28%),
    radial-gradient(circle at 84% 70%, rgba(0, 198, 255, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(4, 7, 18, 0.2) 0%, rgba(3, 6, 14, 0.56) 28%, rgba(2, 4, 12, 0.84) 100%);
}

.scene-noise {
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 22px 22px, 22px 22px;
  mix-blend-mode: soft-light;
}

.site-page { position: relative; z-index: 1; }

.liquid,
.liquid-soft {
  position: relative;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.11), rgba(255,255,255,0.025) 32%, rgba(255,255,255,0.01) 100%),
    linear-gradient(180deg, rgba(12, 18, 42, 0.82) 0%, rgba(11, 16, 38, 0.66) 100%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.12);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  overflow: hidden;
}

.liquid::before,
.liquid-soft::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,0.16), rgba(255,255,255,0.02) 28%, transparent 50%);
  pointer-events: none;
}

/* ===== Shared floating header ===== */
.topbar {
  width: min(1580px, calc(100vw - 20px));
  min-height: 78px;
  border-radius: 28px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.floating-topbar {
  position: sticky;
  top: 14px;
  z-index: 1000;
  margin: 14px auto 0;
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(176, 160, 255, 0.05),
    inset 0 1px 0 rgba(255,255,255,0.12);
}

.brand {
  width: 250px;
  min-width: 220px;
  padding: 8px 12px;
  border-radius: 22px;
  border: 1px solid rgba(190, 179, 255, 0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
}
.brand img { width: 100%; height: 100%; object-fit: contain; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a,
.header-action,
.language-switcher a,
.primary-btn,
.secondary-btn,
.news-read-more,
.history-link {
  transition: .22s ease;
}

.main-nav a {
  padding: 11px 15px;
  border-radius: 16px;
  color: var(--muted);
  font-size: 15px;
  border: 1px solid transparent;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--text);
  border-color: rgba(161, 146, 255, 0.22);
  background: rgba(255,255,255,0.045);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-shell {
  min-width: 260px;
  padding: 12px 16px;
  border-radius: 18px;
  color: var(--muted-2);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(181, 169, 255, 0.16);
  white-space: nowrap;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 16px;
  padding: 6px 10px;
  border: 1px solid rgba(171, 160, 255, 0.18);
  background: rgba(255,255,255,0.045);
  color: var(--muted-2);
}
.language-switcher a {
  padding: 7px 10px;
  border-radius: 11px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.language-switcher a.active,
.language-switcher a:hover {
  color: #fff;
  background: linear-gradient(135deg, rgba(122,114,255,0.4), rgba(213,77,255,0.26));
}

.header-action {
  padding: 12px 20px;
  border-radius: 18px;
  border: 1px solid rgba(177, 163, 255, 0.28);
  background: linear-gradient(135deg, rgba(122,114,255,0.22), rgba(213,77,255,0.18));
}
.header-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(125, 88, 255, 0.18);
}

/* ===== Shared content ===== */
.home-shell {
  width: min(1500px, calc(100vw - 40px));
  margin: 18px auto 80px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 9px 16px;
  border: 1px solid rgba(171, 160, 255, 0.25);
  background: rgba(8, 13, 32, 0.56);
  color: #d7d0ff;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 18px;
}
.primary-btn {
  color: #fff;
  background: linear-gradient(90deg, #6f74ff 0%, #a654ff 54%, #db4ce8 100%);
  box-shadow: 0 20px 36px rgba(158, 88, 255, 0.22), inset 0 1px 0 rgba(255,255,255,0.18);
}
.secondary-btn {
  border: 1px solid rgba(173, 163, 255, 0.26);
  background: rgba(255,255,255,0.05);
  color: var(--text);
}
.primary-btn:hover,
.secondary-btn:hover,
.news-read-more:hover,
.history-link:hover { transform: translateY(-1px); }

.status-badge,
.material-kind,
.history-version {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(197, 178, 255, 0.18);
  background: rgba(255,255,255,0.04);
  color: #d6cbff;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ===== Home 1B.5 ===== */
.home-v5-shell {
  display: grid;
  gap: 12px;
}

.hero-banner {
  position: relative;
  min-height: 300px;
  border-radius: 30px;
  overflow: hidden;
}
.hero-banner__media,
.hero-banner__overlay {
  position: absolute;
  inset: 0;
}
.hero-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) saturate(1.08);
}
.hero-banner__overlay {
  background:
    linear-gradient(90deg, rgba(5, 8, 20, 0.76) 0%, rgba(8, 12, 29, 0.5) 48%, rgba(9, 11, 26, 0.76) 100%),
    radial-gradient(circle at 24% 36%, rgba(164, 120, 255, 0.18), transparent 36%);
}
.hero-banner__content {
  position: relative;
  z-index: 1;
  padding: 34px 36px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  max-width: 760px;
}
.hero-banner__content h1 {
  margin: 14px 0 12px;
  font-size: clamp(48px, 5.6vw, 76px);
  line-height: 0.92;
  letter-spacing: -0.05em;
}
.hero-banner__content p {
  margin: 0;
  max-width: 590px;
  font-size: 18px;
  line-height: 1.58;
  color: var(--muted);
}

.home-content-grid-v5 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 22px;
  align-items: start;
}

.news-area-v5 { min-width: 0; }
.news-section-head {
  display: none;
}

.news-section-head h2 {
  margin: 9px 0 0;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: .95;
}
.history-link {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 15px;
  color: #e0d9ff;
  border: 1px solid rgba(183, 168, 255, .22);
  background: rgba(255,255,255,.04);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.news-list-v5 {
  display: grid;
  gap: 18px;
}
.news-card-v5 {
  display: grid;
  grid-template-columns: minmax(340px, .95fr) minmax(0, 1.05fr);
  min-height: 360px;
  border-radius: 30px;
  overflow: hidden;
}
.news-card-v5__thumb {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}
.news-card-v5__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.78) saturate(1.06);
}
.news-card-v5__thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4,7,18,.03), rgba(4,7,18,.34));
}
.news-card-v5__thumb .material-kind {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
}
.news-card-v5__body {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.news-card-v5__body h3 {
  margin: 0;
  font-size: clamp(30px, 3vw, 48px);
  line-height: .98;
  letter-spacing: -.025em;
}
.news-card-v5__body p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.66;
}
.news-read-more {
  margin-top: 8px;
  align-self: flex-start;
  color: #e0d9ff;
  font-size: 16px;
}

.top-modules-sidebar-v5 { position: relative; }
.top-modules-panel-v5 {
  position: sticky;
  top: 110px;
  border-radius: 32px;
  padding: 28px;
  min-height: 560px;
}
.top-modules-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.top-modules-title-row h2 {
  margin: 9px 0 0;
  font-size: clamp(34px, 3vw, 46px);
  line-height: .92;
}
.top-modules-empty {
  margin-top: 24px;
  min-height: 390px;
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 24px;
  border: 1px dashed rgba(190,174,255,.26);
  background:
    radial-gradient(circle at 50% 20%, rgba(128,101,255,.13), transparent 38%),
    rgba(5,9,25,.34);
}
.top-modules-empty__icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  margin-bottom: 16px;
  font-size: 28px;
  color: #eeeaff;
  background: linear-gradient(135deg, rgba(112,119,255,.42), rgba(210,76,255,.18));
  border: 1px solid rgba(206,188,255,.2);
  box-shadow: 0 14px 34px rgba(102,72,255,.14);
}
.top-modules-empty h3 { margin: 0 0 10px; font-size: 24px; }
.top-modules-empty p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}
.top-modules-empty span {
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 12px;
  letter-spacing: .04em;
}

.home-footer {
  border-radius: 28px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.home-footer strong { display: block; font-size: 20px; margin-bottom: 8px; }
.home-footer p { margin: 0; color: var(--muted); }
.footer-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* ===== Site history archive ===== */
.history-shell,
.history-detail-shell { margin-top: 24px; margin-bottom: 80px; }

.history-hero {
  border-radius: 34px;
  padding: 34px;
}
.history-hero h1 {
  margin: 14px 0 14px;
  max-width: 900px;
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: .96;
  letter-spacing: -.04em;
}
.history-hero p {
  margin: 0 0 24px;
  max-width: 820px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.history-list {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}
.history-entry {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  min-height: 250px;
  border-radius: 28px;
  overflow: hidden;
}
.history-entry__image { min-height: 250px; }
.history-entry__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.76) saturate(1.08);
}
.history-entry__body {
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.history-entry h2 {
  margin: 0;
  font-size: clamp(28px, 2.8vw, 42px);
  line-height: 1;
}
.history-entry p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

/* ===== History detail ===== */
.history-detail-card {
  width: min(1100px, 100%);
  margin: 0 auto;
  border-radius: 34px;
  overflow: hidden;
}
.history-detail-hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
}
.history-detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.55) saturate(1.1);
}
.history-detail-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,8,20,.12), rgba(5,8,20,.88)),
    radial-gradient(circle at 30% 30%, rgba(143,92,255,.19), transparent 38%);
}
.history-detail-hero__copy {
  position: relative;
  z-index: 1;
  min-height: 430px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.history-kind { align-self: flex-start; }
.history-detail-hero__copy h1 {
  margin: 18px 0 12px;
  max-width: 900px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: .97;
  letter-spacing: -.04em;
}
.history-detail-hero__copy p {
  margin: 0;
  max-width: 800px;
  color: #d4d1e7;
  font-size: 18px;
  line-height: 1.65;
}
.history-detail-body {
  padding: 30px 34px 36px;
  display: grid;
  gap: 16px;
}
.history-detail-section {
  padding: 22px 24px;
  border-radius: 22px;
  border: 1px solid rgba(182,169,255,.14);
  background: rgba(255,255,255,.035);
}
.history-detail-section h2 { margin: 0 0 10px; font-size: 27px; }
.history-detail-section p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}
.history-back-btn { justify-self: start; margin-top: 6px; }

/* ===== Tools ===== */
.tools-shell { margin-top: 24px; }
.catalog-hero,
.workspace-card {
  border-radius: 34px;
  padding: 30px;
}
.catalog-grid,
.workspace-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px;
  align-items: center;
}
.catalog-copy h1 {
  font-size: clamp(44px, 5vw, 70px);
  line-height: 0.98;
  margin: 16px 0 18px;
  letter-spacing: -0.045em;
}
.catalog-copy p,
.feature-body p,
.section-head p,
.category-card p,
.workspace-list li {
  color: var(--muted);
  line-height: 1.58;
}
.panel-aura {
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
  pointer-events: none;
}
.aura-left { width: 220px; height: 220px; left: -50px; top: 30px; background: rgba(90, 118, 255, 0.18); }
.aura-right { width: 260px; height: 260px; right: 8%; top: 12px; background: rgba(222, 76, 255, 0.16); }
.feature-tool,
.category-card { border-radius: 26px; }
.feature-tool { padding: 0; overflow: hidden; }
.feature-media { position: relative; aspect-ratio: 16 / 10; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: 22px; display: grid; gap: 14px; }
.feature-body h2 { margin: 0; font-size: 26px; }
.material-meta { color: #bbb2e8; font-size: 13px; }
.section { margin-top: 28px; }
.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.section-head h2 { margin: 10px 0 0; font-size: clamp(28px, 3vw, 42px); }
.section-head p { max-width: 620px; }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.category-card { padding: 22px; min-height: 210px; display: flex; flex-direction: column; gap: 12px; }
.category-card h3 { margin: 0; font-size: 22px; }
.workspace-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}
.workspace-list li { position: relative; padding-left: 20px; }
.workspace-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #76b0ff, #c77bff);
}
.workspace-side img { width: 100%; border-radius: 26px; border: 1px solid rgba(183,169,255,0.2); }

/* ===== Responsive ===== */
@media (max-width: 1180px) {
  .topbar,
  .home-shell { width: min(calc(100vw - 24px), 1500px); }
  .home-content-grid-v5,
  .catalog-grid,
  .workspace-card { grid-template-columns: minmax(0, 1fr); }
  .top-modules-panel-v5 { position: static; }
  .categories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .topbar { flex-wrap: wrap; justify-content: space-between; }
  .brand { min-width: 180px; width: 220px; }
  .main-nav { order: 3; width: 100%; flex-wrap: wrap; }
  .header-actions { width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .search-shell { min-width: 0; flex: 1 1 280px; }
  .news-card-v5,
  .history-entry { grid-template-columns: 1fr; }
  .news-card-v5__thumb,
  .history-entry__image { min-height: 260px; }
  .news-section-head { align-items: flex-start; flex-direction: column; }
  .categories-grid { grid-template-columns: 1fr; }
  .history-detail-hero,
  .history-detail-hero__copy { min-height: 350px; }
}

@media (max-width: 620px) {
  /* Responsive corrections WBS-003, WBS-004, WBS-005 */
  .hero-banner__content h1 {
    font-size: clamp(22px, 6.6vw, 34px);
    overflow-wrap: anywhere;
  }

  .catalog-hero,
  .catalog-grid,
  .catalog-copy,
  .feature-tool,
  .feature-body,
  .history-layout-v2,
  .history-feed-v2,
  .history-entry-v2,
  .history-entry-v2__body {
    min-width: 0;
  }

  .catalog-copy h1 {
    font-size: clamp(26px, 7vw, 36px);
    overflow-wrap: anywhere;
  }

  .catalog-copy p,
  .feature-body h2,
  .feature-body p,
  .history-entry-v2__body h2 {
    overflow-wrap: anywhere;
  }

  .floating-topbar { top: 8px; }
  .topbar,
  .home-shell { width: calc(100vw - 16px); }
  .topbar { padding: 12px; border-radius: 22px; }
  .brand { width: 100%; }
  .main-nav a,
  .header-action,
  .secondary-btn,
  .primary-btn { width: 100%; justify-content: center; }
  .language-switcher,
  .search-shell { width: 100%; }
  .hero-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .hero-banner,
  .hero-banner__content { min-height: 260px; }
  .hero-banner__content,
  .news-card-v5__body,
  .history-entry__body,
  .history-detail-body,
  .history-detail-hero__copy,
  .history-hero,
  .catalog-hero,
  .workspace-card { padding-left: 20px; padding-right: 20px; }
  .top-modules-panel-v5 { padding: 20px; }
}

/* PATCH 1B.5.1 — publication metadata */
.content-published,
.article-published {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #bdb7dc;
  font-size: 12px;
  letter-spacing: .02em;
}

.content-published::before,
.article-published::before {
  content: '◷';
  color: #a990ff;
}

.article-published {
  margin-top: 10px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(8, 12, 30, .42);
  border: 1px solid rgba(176, 160, 255, .16);
  backdrop-filter: blur(10px);
}

.history-entry-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ===== PATCH 1B.5.2 — history/news format ===== */
.history-page-v2 .topbar {
  width: min(1540px, calc(100vw - 24px));
}

.history-shell-v2 {
  width: min(1500px, calc(100vw - 40px));
  margin-top: 18px;
}

.history-hero-v2 {
  min-height: 310px;
  padding: 28px 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.history-hero-v2 > div {
  max-width: 960px;
}

.history-hero-v2 h1 {
  font-size: clamp(46px, 4.6vw, 68px);
  margin: 12px 0 12px;
}

.history-hero-v2 p {
  max-width: 900px;
  margin-bottom: 0;
}

.history-home-btn {
  flex: 0 0 auto;
}

.history-layout-v2 {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(330px, .58fr);
  gap: 22px;
  align-items: start;
  margin-top: 22px;
}

.history-feed-v2 {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.history-entry-v2 {
  min-height: 310px;
  grid-template-columns: minmax(360px, .92fr) minmax(0, 1.08fr);
  border-radius: 30px;
  overflow: hidden;
}

.history-entry-v2__image {
  min-height: 310px;
}

.history-entry-v2__body {
  position: relative;
  padding: 26px 28px 58px;
  justify-content: flex-start;
}

.history-entry-v2__body h2 {
  font-size: clamp(30px, 2.9vw, 46px);
  line-height: .98;
  margin-top: 2px;
}

.history-entry-v2__body p {
  font-size: 17px;
  line-height: 1.65;
}

.history-entry-topline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.history-entry-date {
  position: absolute;
  right: 26px;
  bottom: 22px;
  color: #c9c2e9;
  font-size: 13px;
  letter-spacing: .02em;
  white-space: nowrap;
}

.history-entry-v2 .news-read-more {
  margin-top: auto;
}

.history-top-modules-v2 {
  position: relative;
}

.history-top-modules-panel {
  position: sticky;
  top: 110px;
  min-height: 560px;
  padding: 24px;
  border-radius: 32px;
}

.history-top-modules-empty {
  min-height: 390px;
}

.history-footer-v2 {
  margin-top: 24px;
}

@media (max-width: 1180px) {
  .history-page-v2 .topbar,
  .history-shell-v2 {
    width: min(calc(100vw - 24px), 1500px);
  }

  .history-layout-v2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .history-top-modules-panel {
    position: static;
    min-height: auto;
  }

  .history-top-modules-empty {
    min-height: 260px;
  }
}

@media (max-width: 920px) {
  .history-hero-v2 {
    align-items: flex-start;
    flex-direction: column;
  }

  .history-entry-v2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .history-entry-v2__image {
    min-height: 280px;
  }

  .history-entry-v2__body {
    padding-bottom: 64px;
  }
}

@media (max-width: 620px) {
  .history-page-v2 .topbar,
  .history-shell-v2 {
    width: calc(100vw - 16px);
  }

  .history-hero-v2 {
    padding: 22px;
  }

  .history-entry-v2__body {
    padding: 20px 20px 62px;
  }

  .history-entry-date {
    right: 20px;
    bottom: 20px;
  }
}
