/* в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ
   Sovereign Terminal вЂ” main.css
   Design: Blog / News editorial theme.
   Light-mode with high-contrast alternating sections. Playfair Display + Manrope.
   в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */

/* в”Ђв”Ђ 1. Design Tokens в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
:root {
  /* Surface hierarchy вЂ” warm paper tones */
  --surface: #f8f9fa;
  --surface-dim: #e9ecef;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f1f3f5;
  --surface-container: #e9ecef;
  --surface-container-high: #dee2e6;
  --surface-container-highest: #ced4da;
  --surface-bright: #ffffff;
  --surface-variant: #dee2e6;
  --background: #f8f9fa;

  /* Dark section surfaces */
  --surface-dark: #1a2530;
  --surface-dark-alt: #101720;
  --on-surface-dark: #f8f9fa;
  --on-surface-dark-variant: rgba(248, 249, 250, 0.66);

  /* On-surface */
  --on-surface: #1a2530;
  --on-surface-variant: #5b6b79;
  --on-background: #1a2530;

  /* Primary вЂ” deep navy */
  --primary: #0f9d58;
  --primary-container: #d6f0e1;
  --primary-fixed: #d6f0e1;
  --primary-fixed-dim: #8fd8b3;
  --primary-dim: #0c7d46;
  --on-primary: #ffffff;
  --on-primary-container: #0b5c34;
  --on-primary-fixed: #0b5c34;

  /* Secondary вЂ” brick/terracotta */
  --secondary: #1a2530;
  --secondary-container: #1a2530;
  --secondary-fixed: #1a2530;
  --secondary-fixed-dim: #2a3b4d;
  --on-secondary: #ffffff;
  --on-secondary-container: #ffffff;

  /* Tertiary вЂ” forest green */
  --tertiary: #0f9d58;
  --tertiary-container: #d6f0e1;
  --on-tertiary: #ffffff;
  --on-tertiary-container: #0b5c34;

  /* Error */
  --error: #c0392b;
  --error-container: #f6d3ce;

  /* Outline */
  --outline: #b0b8bf;
  --outline-variant: #dbe1e6;

  /* Typography */
  --font-headline: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-label: "Inter", system-ui, sans-serif;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --nav-h: 72px;
  --rail-w: 88px;
  --rail-m: 16px;
  --radius-sm: 0.5rem;
  --radius: 0.75rem;
  --radius-md: 0.625rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;
}

/* в”Ђв”Ђ 2. Reset & Base в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  background-color: var(--surface);
  color: var(--on-surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-headline);
  line-height: 1.1;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* в”Ђв”Ђ 3. Layout Utilities в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--space-8);
}

.container--narrow {
  max-width: 860px;
}

/* в”Ђв”Ђ 4. Buttons в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-label);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  transition:
    opacity 0.15s,
    transform 0.15s;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 8px 24px rgba(15, 157, 88, 0.25);
}

.btn--primary:hover {
  background: var(--primary-dim);
  color: var(--on-primary);
  transform: translateY(-1px);
}

.btn--ghost {
  background: var(--surface-container-highest);
  color: var(--on-surface);
}

.btn--ghost:hover {
  background: var(--surface-container-high);
  color: var(--on-surface);
}

.btn--tertiary {
  background: transparent;
  color: var(--primary);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 0;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn--tertiary:hover {
  color: var(--primary-dim);
}

/* в”Ђв”Ђ 5. Chips в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.chip {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  background: var(--secondary-container);
  color: var(--on-secondary-container);
  border-radius: var(--radius-sm);
  transition: background-color 0.15s;
}

.chip:hover {
  background: var(--primary);
  color: var(--on-primary);
}

.chip--accent {
  background: var(--primary);
  color: var(--on-primary);
}

/* в”Ђв”Ђ 6. Navigation в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 249, 250, 0.92);
  transition:
    background-color 0.3s,
    box-shadow 0.3s;
}

.site-header--scrolled {
  background: rgba(248, 249, 250, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 8px 32px rgba(26, 37, 48, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  max-width: 1500px;
  margin-inline: auto;
  padding-inline: var(--space-8);
  gap: var(--space-6);
}

/* Logo */
.site-logo,
.custom-logo-link {
  font-family: var(--font-headline);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--on-surface);
  flex-shrink: 0;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}

.site-logo:hover,
.custom-logo-link:hover {
  color: var(--on-surface);
}

.custom-logo {
  max-height: 40px;
  width: auto;
}

/* Mobile overlay nav вЂ” hidden on desktop */
.nav-menu--overlay {
  display: none !important;
}

/* Center nav wrapper */
.nav-menu {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-10);
}

.nav-list a {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 37, 48, 0.75);
  transition: color 0.2s;
  text-decoration: none;
}

.nav-list a:hover {
  color: var(--on-surface);
}

.nav-list li.current-menu-item > a {
  color: var(--on-surface);
  font-weight: 700;
}

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.nav-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  border-radius: var(--radius-full);
  transition: background-color 0.15s;
}

.nav-icon-btn:hover {
  background: var(--surface-container);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--on-surface-variant);
  border-radius: 1px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* в”Ђв”Ђ 6b. Floating Side Rail в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.side-rail {
  position: fixed;
  left: var(--rail-m);
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  width: var(--rail-w);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-full);
  padding: var(--space-6) 0;
  box-shadow: 0 20px 40px rgba(26, 37, 48, 0.06);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

@media (min-width: 1024px) {
  .side-rail {
    display: flex;
  }
}

.side-rail__brand {
  color: var(--primary);
  margin-bottom: var(--space-5);
  display: block;
  text-align: center;
}

.side-rail__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.side-rail__btn {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-surface-variant);
  transition:
    background-color 0.2s,
    transform 0.2s,
    color 0.2s;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}

.side-rail__btn:hover {
  background: var(--surface-container);
  color: var(--on-surface);
  transform: translateY(-2px);
}

.side-rail__btn--active {
  background: var(--primary-container);
  color: var(--primary);
}

.side-rail__btn--active:hover {
  background: var(--primary-fixed-dim);
  color: var(--primary-dim);
  transform: none;
}

.side-rail__info {
  margin-top: var(--space-5);
  color: rgba(214, 240, 225, 0.8);
  display: block;
  text-align: center;
}

/* в”Ђв”Ђ 7. Hero Slider в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.hero-spotlight {
  position: relative;
  background: var(--surface);
  padding-top: calc(var(--nav-h) + var(--space-12));
  padding-bottom: var(--space-16);
  overflow: hidden;
}

.hero-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1800 320' preserveAspectRatio='none'%3E%3Cpath d='M0,200 C200,140 400,240 600,180 C800,120 1000,220 1200,160 C1400,100 1600,200 1800,140' fill='none' stroke='%230F9D58' stroke-width='1.5' stroke-opacity='0.16'/%3E%3Cpath d='M0,240 C200,190 400,280 600,230 C800,180 1000,270 1200,220 C1400,170 1600,260 1800,210' fill='none' stroke='%231A2530' stroke-width='1.5' stroke-opacity='0.08'/%3E%3Cpath d='M0,160 C200,110 400,200 600,140 C800,90 1000,180 1200,120 C1400,70 1600,160 1800,100' fill='none' stroke='%231A2530' stroke-width='1' stroke-opacity='0.07'/%3E%3C/svg%3E"),
    radial-gradient(circle, rgba(26, 37, 48, 0.05) 1px, transparent 1px);
  background-repeat: no-repeat, repeat;
  background-position: top center, top left;
  background-size: 100% auto, 24px 24px;
  pointer-events: none;
  z-index: 0;
}

.spotlight-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--space-8);
  align-items: stretch;
}

/* Lead story */
.spotlight-lead {
  display: flex;
  flex-direction: column;
  background: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(26, 37, 48, 0.1);
}

.spotlight-lead__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--surface-container);
  overflow: hidden;
}

.spotlight-lead__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.spotlight-lead__media:hover .spotlight-lead__img {
  transform: scale(1.04);
}

.spotlight-lead__placeholder {
  width: 100%;
  height: 100%;
  background: var(--surface-container-high);
}

.spotlight-lead__tag {
  position: absolute;
  top: var(--space-5);
  left: var(--space-5);
  background: var(--surface-dark);
  color: var(--on-surface-dark);
  font-family: var(--font-label);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.spotlight-lead__tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

.spotlight-lead__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  flex: 1;
}

.spotlight-lead__chips {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.spotlight-lead__title {
  font-family: var(--font-headline);
  font-size: clamp(1.375rem, 6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.22;
  color: var(--on-surface);
}

.spotlight-lead__title a {
  color: inherit;
  text-decoration: none;
}

.spotlight-lead__title a:hover {
  color: var(--primary);
}

.spotlight-lead__excerpt {
  font-size: 1rem;
  color: var(--on-surface-variant);
  line-height: 1.7;
  max-width: 640px;
}

.spotlight-lead__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: var(--space-5);
  border-top: 1px solid var(--outline-variant);
}

.spotlight-lead__meta time {
  font-family: var(--font-label);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
}

.spotlight-lead__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-primary);
  background: var(--primary);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition:
    background-color 0.15s,
    transform 0.15s;
}

.spotlight-lead__cta:hover {
  background: var(--primary-dim);
  color: var(--on-primary);
  transform: translateY(-1px);
}

/* Secondary story list */
.spotlight-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-3);
  height: 100%;
}

.spotlight-item {
  display: flex;
  gap: var(--space-3);
  background: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  box-shadow: 0 2px 10px rgba(26, 37, 48, 0.05);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.spotlight-item:hover {
  box-shadow: 0 8px 24px rgba(26, 37, 48, 0.09);
  transform: translateY(-2px);
}

.spotlight-item__thumb {
  display: block;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-container);
}

.spotlight-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-item__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--surface-container-high);
}

.spotlight-item__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
}

.spotlight-item__cat {
  font-family: var(--font-label);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.spotlight-item__title {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--on-surface);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spotlight-item__title a:hover {
  color: var(--primary);
}

.spotlight-item__time {
  font-family: var(--font-label);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
}

@media (max-width: 900px) {
  .spotlight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .spotlight-lead__body {
    padding: var(--space-6);
  }
  .spotlight-item__thumb {
    width: 64px;
    height: 64px;
  }
}

/* в”Ђв”Ђ 7b. Episodes Section вЂ” repurposed / unused в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
/* Kept stub so .episodes-section class does not 404 if referenced elsewhere */
.episodes-section {
  display: none;
}

.section-eyebrow {
  font-family: var(--font-label);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.section-eyebrow::before {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: var(--radius-full);
  background: var(--primary);
}

.section-title {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--on-surface);
  font-weight: 700;
  margin-bottom: var(--space-10);
}

/* в”Ђв”Ђ 8. Market Ticker в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.ticker {
  background: var(--surface-container);
  padding-block: 0.875rem;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(219, 225, 230, 0.3);
  border-bottom: 1px solid rgba(219, 225, 230, 0.3);
}

.ticker__track {
  display: inline-flex;
  animation: marquee 35s linear infinite;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(var(--ticker-to, -50%));
  }
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 2.5rem;
}

.ticker__label {
  font-family: var(--font-label);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--on-surface-variant);
  letter-spacing: 0.06em;
}

.ticker__val {
  font-family: var(--font-label);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--on-surface);
}

.ticker__delta {
  font-family: var(--font-label);
  font-size: 0.6875rem;
  font-weight: 600;
}

.ticker__delta--up {
  color: var(--tertiary);
}
.ticker__delta--down {
  color: var(--error);
}

/* в”Ђв”Ђ 9. Intelligence Dashboard в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
/* в”Ђв”Ђ 9. Intelligence Layer в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.intel-section {
  position: relative;
  background: var(--surface-dark);
  padding-block: var(--space-20);
  overflow: hidden;
  /* Override CSS tokens so all children inherit dark-theme colours */
  --on-surface: var(--on-surface-dark);
  --on-surface-variant: var(--on-surface-dark-variant);
}

.intel-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.intel-section .container {
  position: relative;
  z-index: 1;
}

.intel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.intel-subtitle {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--on-surface-dark-variant);
  max-width: 380px;
  margin: 0;
  text-align: right;
}

/* Index / commodity tiles */
.pulse-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.pulse-unavailable {
  grid-column: 1 / -1;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--on-surface-dark-variant);
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
}

.pulse-tile {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition:
    background-color 0.2s,
    transform 0.2s;
}

.pulse-tile:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.pulse-tile__name {
  font-family: var(--font-label);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-surface-dark-variant);
}

.pulse-tile__value {
  font-family: var(--font-headline);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--on-surface-dark);
}

.pulse-tile__delta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-label);
  font-size: 0.8125rem;
  font-weight: 700;
}

.pulse-tile__delta--up {
  color: var(--primary-fixed-dim);
}
.pulse-tile__delta--down {
  color: var(--error-container);
}

.pulse-tile__spark {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 24px;
  margin-top: var(--space-1);
}

.pulse-tile__spark span {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: rgba(255, 255, 255, 0.18);
}

.pulse-tile--up .pulse-tile__spark span {
  background: rgba(143, 216, 179, 0.45);
}
.pulse-tile--down .pulse-tile__spark span {
  background: rgba(246, 211, 206, 0.45);
}

/* Top movers */
.pulse-movers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.pulse-movers__col {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.pulse-movers__heading {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.pulse-movers__col:first-child .pulse-movers__heading {
  color: var(--primary-fixed-dim);
}
.pulse-movers__col:last-child .pulse-movers__heading {
  color: var(--error-container);
}

.pulse-movers__list {
  display: flex;
  flex-direction: column;
}

.pulse-mover {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pulse-mover:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pulse-mover__name {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--on-surface-dark);
}

.pulse-mover__pct {
  font-family: var(--font-label);
  font-size: 0.875rem;
  font-weight: 700;
}

.pulse-mover__pct--up {
  color: var(--primary-fixed-dim);
}
.pulse-mover__pct--down {
  color: var(--error-container);
}

@media (max-width: 1100px) {
  .pulse-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .intel-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .intel-subtitle {
    text-align: left;
    max-width: none;
  }
  .pulse-movers {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .pulse-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* в”Ђв”Ђ 10. Briefings & Series в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-12);
  gap: var(--space-4);
}

.section-heading {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--on-surface);
}

.section-sub-eyebrow {
  font-family: var(--font-label);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: var(--space-3);
  display: block;
}

.section-rule {
  width: 40px;
  height: 2px;
  background: var(--secondary);
  margin-bottom: var(--space-10);
}

.section-explore-link {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.15s;
}

.section-explore-link:hover {
  color: var(--primary-dim);
  text-decoration: underline;
  text-underline-offset: 4px;
}


/* в”Ђв”Ђ 11. Magazine Section в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.magazine-section {
  background: var(--surface-container-low);
  padding-block: var(--space-24);
}

.magazine-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-16);
  align-items: start;
}

/* Featured article */
.featured-article {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.featured-article__eyebrow {
  font-family: var(--font-label);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--secondary);
}

.featured-article__thumb {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.featured-article__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-article__thumb:hover img {
  transform: scale(1.04);
}

.featured-article__title {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.2;
}

.featured-article__title a:hover {
  color: var(--primary);
}

.featured-article__excerpt {
  font-size: 1rem;
  color: var(--on-surface-variant);
  line-height: 1.7;
}

.featured-article__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-label);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  transition:
    gap 0.2s,
    color 0.15s;
}

.featured-article__cta:hover {
  gap: var(--space-3);
  color: var(--primary-dim);
}

/* Sidebar */
.mag-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.mag-sidebar__eyebrow {
  font-family: var(--font-label);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: var(--space-5);
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.article-list__item {
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(219, 225, 230, 0.22);
}

.article-list__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.article-list__title {
  font-family: var(--font-headline);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: var(--space-2);
}

.article-list__title a:hover {
  color: var(--primary);
}

.article-list__meta {
  font-family: var(--font-label);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

/* Newsletter block */
.newsletter-block {
  background: var(--surface-container-highest);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.newsletter-block__title {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: var(--space-3);
  line-height: 1.3;
}

.newsletter-block__sub {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  line-height: 1.65;
  margin-bottom: var(--space-6);
}

.sidebar-newsletter__inner {
  background: var(--surface-container);
  padding: var(--space-6);
  border-radius: var(--radius);
}

.sidebar-newsletter__heading {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.sidebar-newsletter__sub {
  font-size: 0.85rem;
  color: var(--on-surface-variant);
  margin-bottom: var(--space-4);
  line-height: 1.5;
}

.sidebar-newsletter__inner .newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.sidebar-newsletter__inner .newsletter-form__input,
.sidebar-newsletter__inner .newsletter-form__btn {
  width: 100%;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.newsletter-form__input {
  font-family: var(--font-body);
  font-size: 0.875rem;
  background: var(--surface-container-lowest);
  color: var(--on-surface);
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.newsletter-form__input:focus {
  outline: none;
  border-bottom-color: var(--primary);
}

.newsletter-form__input::placeholder {
  color: var(--on-surface-variant);
  opacity: 0.55;
}

.newsletter-form__btn {
  background: linear-gradient(45deg, var(--primary), var(--primary-container));
  color: var(--on-surface);
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
  width: 100%;
}

.newsletter-form__btn:hover {
  opacity: 0.9;
}
.newsletter-form__btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.newsletter-form__msg {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 600;
  padding: var(--space-2) 0;
}

.newsletter-form__msg--success {
  color: var(--tertiary);
}
.newsletter-form__msg--error {
  color: var(--error);
}

/* в”Ђв”Ђ 12. Post Grid в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.post-grid {
  display: grid;
  gap: var(--space-6);
}

.post-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.post-tile {
  display: flex;
  flex-direction: column;
  background: var(--surface-container-lowest);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.post-tile:hover {
  box-shadow: 0 8px 32px rgba(26, 37, 48, 0.08);
  transform: translateY(-2px);
}

.post-tile__thumb-link {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.post-tile__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-tile__thumb-link:hover .post-tile__thumb {
  transform: scale(1.05);
}

.post-tile__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.post-tile__chips {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.post-tile__title {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--on-surface);
}

.post-tile__title a:hover {
  color: var(--primary);
}

.post-tile__excerpt {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  line-height: 1.65;
}

.post-tile__meta {
  font-family: var(--font-label);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  margin-top: auto;
}

/* в”Ђв”Ђ 13. Editorial Grid вЂ” Latest Posts в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.editorial-grid {
  background: var(--surface-container-low);
  padding-block: var(--space-24);
}

.editorial-section-header {
  margin-bottom: 0;
}

.editorial-grid__inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-12);
  align-items: start;
}

.editorial-grid__main {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

/* Article feed row — left column of Recent Articles */
.feed-row {
  display: flex;
  gap: var(--space-5);
  background: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-lg);
  border-left: 3px solid transparent;
  padding: var(--space-4);
  box-shadow: 0 2px 10px rgba(26, 37, 48, 0.05);
  transition:
    box-shadow 0.2s,
    border-color 0.2s,
    transform 0.2s;
}

.feed-row:hover {
  box-shadow: 0 8px 28px rgba(26, 37, 48, 0.08);
  border-left-color: var(--primary);
  transform: translateY(-1px);
}

.feed-row__thumb {
  display: block;
  width: 168px;
  flex-shrink: 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-container);
}

.feed-row__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.feed-row__thumb:hover .feed-row__img {
  transform: scale(1.05);
}

.feed-row__thumb--empty {
  background: var(--surface-container-high);
}

.feed-row__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.feed-row__chips {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.feed-row__title {
  font-family: var(--font-headline);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--on-surface);
}

.feed-row__title a:hover {
  color: var(--primary);
}

.feed-row__excerpt {
  font-size: 0.9375rem;
  color: var(--on-surface-variant);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feed-row__meta {
  font-family: var(--font-label);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  margin-top: auto;
}

@media (max-width: 560px) {
  .feed-row {
    gap: var(--space-3);
  }
  .feed-row__thumb {
    width: 96px;
  }
  .feed-row__title {
    font-size: 0.9375rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .feed-row__excerpt {
    display: none;
  }
}

/* в”Ђв”Ђ 14. Sidebar в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.editorial-grid__sidebar {
  position: sticky;
  top: calc(var(--nav-h) + var(--space-6));
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.sidebar-panel {
  background: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-xl);
  padding: var(--space-7, 1.75rem);
  box-shadow: 0 2px 10px rgba(26, 37, 48, 0.05);
}

.sidebar-panel__heading {
  font-family: var(--font-label);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--surface-container-high);
}

/* Categories list */
.cat-list {
  display: flex;
  flex-direction: column;
}

.cat-list__item {
  border-bottom: 1px solid var(--surface-container-high);
}

.cat-list__item:last-child {
  border-bottom: none;
}

.cat-list__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-3);
  text-decoration: none;
  transition: color 0.15s;
}

.cat-list__link:hover {
  color: var(--primary);
}

.cat-list__name {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--on-surface);
}

.cat-list__link:hover .cat-list__name {
  color: var(--primary);
}

.cat-list__count {
  font-family: var(--font-label);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--on-surface-variant);
  background: var(--surface-container-low);
  border-radius: var(--radius-full);
  padding: 0.15rem 0.6rem;
  flex-shrink: 0;
}

.cat-list__empty {
  color: var(--on-surface-variant);
  font-size: 0.875rem;
  padding-block: var(--space-2);
}

/* Trending / recent list */
.side-article {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--surface-container-high);
}

.single-sidebar .side-article {
  flex-direction: column;
}

.side-article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.side-article__rank {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-container);
  flex-shrink: 0;
  line-height: 1.4;
}

.side-article__content {
  min-width: 0;
}

.side-article__title {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
}

.side-article__title a:hover {
  color: var(--primary);
}

.side-article__time {
  font-family: var(--font-label);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
}

/* в”Ђв”Ђ 15. Pagination в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.pagination {
  margin-top: var(--space-12);
}

.pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.pagination .page-numbers {
  font-family: var(--font-label);
  font-size: 0.8125rem;
  font-weight: 600;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--on-surface);
  transition: background-color 0.15s;
  text-decoration: none;
}

.pagination .page-numbers:hover {
  background: var(--surface-container);
  color: var(--on-surface);
}

.pagination .page-numbers.current {
  background: var(--primary);
  color: var(--on-primary);
  pointer-events: none;
}

.pagination .prev,
.pagination .next {
  width: auto;
  padding: 0 var(--space-5);
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* в”Ђв”Ђ 16. No-results в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.no-results {
  text-align: center;
  padding-block: var(--space-20);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  color: var(--on-surface-variant);
}

.no-posts {
  color: var(--on-surface-variant);
  font-size: 0.9375rem;
  padding-block: var(--space-10);
}

/* в”Ђв”Ђ 17. Archive Page в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.archive-main {
  padding-top: var(--nav-h);
  padding-bottom: var(--space-20);
  background: var(--surface);
  min-height: 100vh;
}

.archive-header {
  padding-block: var(--space-16) var(--space-10);
  max-width: 720px;
}

.archive-header__eyebrow {
  font-family: var(--font-label);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-4);
}

.archive-header__title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.archive-header__desc {
  font-size: 1.0625rem;
  color: var(--on-surface-variant);
  line-height: 1.7;
  max-width: 540px;
}

/* в”Ђв”Ђ 18. Single Post в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.single-main {
  padding-top: var(--nav-h);
  background: var(--surface);
  min-height: 100vh;
}

.single-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-16);
  align-items: start;
  padding-block: var(--space-12);
}

.single-main-col {
  min-width: 0;
}

.single-article {
  max-width: 100%;
}

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: var(--primary);
  z-index: 200;
  transition: width 0.05s linear;
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
}

.article-header {
  margin-bottom: var(--space-8);
}

.article-header__chips {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}

.article-header__title {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.15;
  margin-bottom: var(--space-5);
}

.article-header__meta {
  font-family: var(--font-label);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.article-hero {
  margin-bottom: var(--space-10);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.article-hero__img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.article-hero__caption {
  font-family: var(--font-label);
  font-size: 0.75rem;
  color: var(--on-surface-variant);
  padding: var(--space-3) 0;
}

.article-content {
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--on-surface);
}

.article-content p {
  margin-bottom: var(--space-6);
}
.article-content h2 {
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  font-size: 1.75rem;
}
.article-content h3 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  font-size: 1.375rem;
}
.article-content h4 {
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
  font-size: 1.125rem;
}

.article-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content a:hover {
  color: var(--primary-dim);
}

.article-content blockquote {
  border-left: 3px solid var(--primary);
  padding-left: var(--space-6);
  margin-block: var(--space-8);
  font-family: var(--font-headline);
  font-size: 1.25rem;
  color: var(--on-surface-variant);
}

.article-content ul,
.article-content ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-6);
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}
.article-content li {
  margin-bottom: var(--space-2);
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(219, 225, 230, 0.28);
}

.article-nav__label {
  font-family: var(--font-label);
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: var(--space-2);
}

.article-nav__link {
  font-family: var(--font-headline);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.3;
  transition: color 0.15s;
}

.article-nav__link:hover {
  color: var(--primary);
}

.article-nav__next {
  text-align: right;
}

.related-posts {
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(219, 225, 230, 0.28);
}

.related-posts__heading {
  font-family: var(--font-label);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-8);
}

.single-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + var(--space-6));
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

/* в”Ђв”Ђ 19. 404 Page в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.error-main {
  padding-top: var(--nav-h);
  background: var(--surface);
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.error-page {
  text-align: center;
  padding-block: var(--space-20);
  max-width: 600px;
  margin-inline: auto;
}

.error-page__code {
  font-family: var(--font-headline);
  font-size: clamp(5rem, 15vw, 9rem);
  font-weight: 800;
  color: var(--surface-container-highest);
  line-height: 1;
  margin-bottom: var(--space-4);
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
}

.error-page__title {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: var(--space-5);
  line-height: 1.2;
}

.error-page__desc {
  font-size: 1.0625rem;
  color: var(--on-surface-variant);
  max-width: 460px;
  margin-inline: auto;
  line-height: 1.7;
  margin-bottom: var(--space-10);
}

.error-page__actions {
  margin-bottom: var(--space-16);
  display: flex;
  justify-content: center;
}

.error-recent {
  text-align: left;
  background: var(--surface-container-lowest);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-top: var(--space-6);
}

.error-recent__heading {
  font-family: var(--font-label);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--space-5);
}

.error-recent__list {
  display: flex;
  flex-direction: column;
}

.error-recent__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-4);
  padding-block: var(--space-3);
  border-bottom: 1px solid rgba(219, 225, 230, 0.2);
}

.error-recent__list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.error-recent__list a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--on-surface);
}

.error-recent__list a:hover {
  color: var(--primary);
}

.error-recent__list time {
  font-family: var(--font-label);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  flex-shrink: 0;
}

/* в”Ђв”Ђ 20. Footer в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
/* ── Newsletter Section ──────────────────────────────────────────────────── */
.newsletter-section {
  background: var(--surface-container-low);
  padding-block: var(--space-20);
}

.newsletter-section__inner {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.newsletter-section__eyebrow {
  font-family: var(--font-label);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
}

.newsletter-section__title {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.2;
}

.newsletter-section__sub {
  font-size: 1rem;
  color: var(--on-surface-variant);
  line-height: 1.7;
  max-width: 520px;
  margin: 0;
}

.newsletter-section .newsletter-section__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 100%;
  text-align: center;
}

.newsletter-section .newsletter-section__text p {
  margin-inline: auto;
}

/* Newsletter form on light background */
.newsletter-form--hero {
  width: 100%;
  flex-direction: column;
  gap: var(--space-3);
}

.newsletter-form__row {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  width: 100%;
}

.newsletter-form--hero .newsletter-form__input {
  flex: 1;
  min-width: 200px;
  background: var(--surface-container-lowest);
  border: 1.5px solid var(--outline-variant);
  color: var(--on-surface);
  border-radius: var(--radius-full);
  padding: 0.85rem 1.5rem;
  border-bottom-color: var(--outline-variant);
}

.newsletter-form--hero .newsletter-form__input::placeholder {
  color: var(--on-surface-variant);
  opacity: 0.55;
}

.newsletter-form--hero .newsletter-form__input:focus {
  border-color: var(--primary);
  outline: none;
  border-bottom-color: var(--primary);
}

.newsletter-form--hero .newsletter-form__btn {
  background: var(--primary);
  color: var(--on-primary);
  border-radius: var(--radius-full);
  width: auto;
  padding: 0.85rem 2rem;
  flex-shrink: 0;
}

.newsletter-form--hero .newsletter-form__btn:hover {
  opacity: 0.9;
}

.newsletter-section .newsletter-form__msg {
  color: var(--on-surface-variant);
}

.newsletter-section .newsletter-form__msg--success {
  color: var(--tertiary);
}

/* ── CF7 form inside newsletter section ─────────────────────────────────── */
.newsletter-section .wpcf7 {
  width: 100%;
}

/* Hide the hidden-fields fieldset */
.newsletter-section .hidden-fields-container {
  display: none;
}

/* Strip default p margins inside the CF7 form */
.newsletter-section .wpcf7-form p {
  margin: 0;
}

/* Modern vertical layout — name + email stacked full-width */
.newsletter-section .form-fields > p:first-child {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  width: 100%;
}

/* <br> between stacked inputs becomes a no-op in flex */
.newsletter-section .form-fields p br {
  display: none;
}

/* Wrap around each field grows to fill the full row;
   position: relative so a validation tip can sit right below it */
.newsletter-section .form-fields .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  position: relative;
}

/* Name + Email inputs — same pill treatment */
.newsletter-section .wpcf7-text,
.newsletter-section .wpcf7-email {
  width: 100%;
  height: auto;
  font-family: var(--font-body);
  font-size: 0.875rem;
  background: var(--surface-container-lowest);
  border: 1.5px solid var(--outline-variant);
  color: var(--on-surface);
  border-radius: var(--radius-full);
  padding: 0.85rem 1.5rem;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.newsletter-section .wpcf7-text::placeholder,
.newsletter-section .wpcf7-email::placeholder {
  color: var(--on-surface-variant);
  opacity: 0.55;
}

.newsletter-section .wpcf7-text:focus,
.newsletter-section .wpcf7-email:focus {
  outline: none;
  border-color: var(--primary);
}

.newsletter-section .wpcf7-text.wpcf7-not-valid,
.newsletter-section .wpcf7-email.wpcf7-not-valid {
  border-color: var(--error);
}

/* Frequency checkboxes — modern pill/chip multi-select */
.newsletter-section .form-checkboxes {
  margin-top: var(--space-5);
  text-align: center;
}

.newsletter-section .form-checkboxes > p:first-child {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: var(--space-3);
}

.newsletter-section .form-checkboxes .wpcf7-form-control.wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
}

.newsletter-section .form-checkboxes .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border: 1.5px solid var(--outline-variant);
  border-radius: var(--radius-full);
  background: var(--surface-container-lowest);
  font-family: var(--font-label);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--on-surface-variant);
  cursor: pointer;
  transition:
    border-color 0.15s,
    background-color 0.15s,
    color 0.15s;
}

.newsletter-section .form-checkboxes .wpcf7-list-item label:hover {
  border-color: var(--primary);
  color: var(--on-surface);
}

.newsletter-section .form-checkboxes .wpcf7-list-item input[type="checkbox"] {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--primary);
  cursor: pointer;
}

.newsletter-section .form-checkboxes .wpcf7-list-item label:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-container);
  color: var(--on-primary-container);
}

/* Submit button — full-width CTA under the stacked fields */
.newsletter-section .form-fields > p:last-child {
  margin-top: var(--space-5);
}

/* Submit button + spinner wrapper — relative so spinner can be absolute */
.newsletter-section .wpcf7-submit {
  width: 100%;
  font-family: var(--font-label);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--primary);
  color: var(--on-primary);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  padding: 0.9rem 2rem;
  transition: opacity 0.15s;
  position: relative;
}

/* Spinner — absolute so it doesn't shift the button width */
.newsletter-section .wpcf7-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  pointer-events: none;
}

.newsletter-section .wpcf7-submit:hover {
  opacity: 0.9;
}

.newsletter-section .wpcf7-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Inline validation tip below a field — normal flow so stacked fields
   below it are pushed down instead of being overlapped */
.newsletter-section .wpcf7-not-valid-tip {
  font-family: var(--font-label);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--error);
  display: block;
  text-align: left;
  margin-top: 0.35rem;
}
.newsletter-section .form-privacy .wpcf7-not-valid-tip  {
  text-align: center;
}

/* Privacy / acceptance row */
.newsletter-section .form-privacy {
  margin-top: var(--space-5);
}

.newsletter-section .wpcf7-list-item {
  display: block;
  margin: 0;
}

.newsletter-section .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--on-surface-variant);
  line-height: 1.55;
  text-align: left;
}

.newsletter-section .wpcf7-list-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.2em;
  accent-color: var(--primary);
  cursor: pointer;
}

.newsletter-section .wpcf7-list-item-label a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.newsletter-section .wpcf7-list-item-label a:hover {
  color: var(--primary-dim);
}

/* Acceptance not accepted */
.newsletter-section .wpcf7-acceptance.wpcf7-not-valid .wpcf7-list-item-label {
  color: var(--error);
}

/* Response output banner */
.newsletter-section .wpcf7-response-output {
  font-family: var(--font-label);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius);
  border: none !important;
  margin: var(--space-4) 0 0 !important;
  width: 100%;
  text-align: center;
}

/* CF7 keeps aria-hidden="true" on this element even after a real submission
   in some CF7/plugin combinations, so it can't be relied on to control
   visibility. Hide it only while the form is still in its pre-submit
   "init" state instead — CF7 swaps that class out for .sent/.invalid/etc.
   once a response actually comes back. */
.newsletter-section .wpcf7-form.init .wpcf7-response-output {
  display: none;
}

/* Success */
.newsletter-section .wpcf7-form.sent .wpcf7-response-output {
  background: #d1fae5;
  color: #065f46;
}

/* Validation / spam / server error */
.newsletter-section .wpcf7-form.invalid .wpcf7-response-output,
.newsletter-section .wpcf7-form.unaccepted .wpcf7-response-output,
.newsletter-section .wpcf7-form.spam .wpcf7-response-output,
.newsletter-section .wpcf7-form.failed .wpcf7-response-output {
  background: #fee2e2;
  color: #991b1b;
}

.section-divider {
  border: none;
  border-top: 1px solid var(--outline-variant);
  margin: 0;
}

/* ── 20. Footer ──────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--surface-container-low);
  padding-block: var(--space-6);
}

.footer-inner {
  max-width: 920px;
  margin-inline: auto;
  padding-inline: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
  text-align: center;
}

.footer-brand-logo {
  font-family: var(--font-headline);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--on-surface);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: block;
  line-height: 1;
}

.footer-brand-logo:hover {
  color: var(--on-surface);
}

.footer-custom-logo {
  max-height: 48px;
  width: auto;
}

.footer-nav .footer-col__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-8);
}

.footer-nav .footer-col__list a {
  font-family: var(--font-label);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-nav .footer-col__list a:hover {
  color: var(--on-surface);
  text-decoration: underline;
  text-decoration-color: rgba(15, 157, 88, 0.3);
  text-underline-offset: 4px;
}

.footer-divider {
  width: 100%;
  max-width: 480px;
  height: 1px;
  background: rgba(219, 225, 230, 0.25);
}

.footer-copy {
  font-family: var(--font-label);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
}

/* в”Ђв”Ђ 20. Static Page Template в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.page-main {
  padding-top: var(--nav-h);
  background: var(--surface);
  min-height: 100vh;
}

.static-page {
  padding-block: var(--space-16) var(--space-24);
}

.page-header {
  margin-bottom: var(--space-10);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--outline-variant);
}

.page-header__title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.1;
  margin: 0 0 var(--space-3);
}

.page-header__updated {
  font-family: var(--font-label);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
}

.page-hero {
  margin: 0 0 var(--space-10);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 7;
}

.page-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Prose body вЂ” mirrors single post entry-content */
.page-content {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--on-surface);
}

.page-content > * + * {
  margin-top: 1.5em;
}

.page-content h2,
.page-content h3,
.page-content h4 {
  font-family: var(--font-headline);
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.25;
  margin-top: 2.5em;
  margin-bottom: 0.5em;
}

.page-content h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}
.page-content h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}
.page-content h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.page-content p {
  margin: 0;
}

.page-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-content a:hover {
  color: var(--primary-dim);
}

.page-content ul,
.page-content ol {
  padding-left: 1.4em;
}

.page-content ul {
  list-style: disc;
}

.page-content ol {
  list-style: decimal;
}

.page-content li + li {
  margin-top: 0.4em;
}

.page-content blockquote {
  border-left: 3px solid var(--primary);
  margin-left: 0;
  padding: var(--space-4) var(--space-6);
  background: var(--surface-container-low);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--on-surface-variant);
}

.page-content blockquote p {
  margin: 0;
}

.page-content pre {
  background: var(--surface-container-highest);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-size: 0.875rem;
  line-height: 1.6;
}

.page-content code {
  font-size: 0.875em;
  background: var(--surface-container);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.page-content pre code {
  background: none;
  padding: 0;
}

.page-content img {
  max-width: 100%;
  border-radius: var(--radius-md);
}

.page-content hr {
  border: none;
  border-top: 1px solid var(--outline-variant);
  margin-block: var(--space-10);
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.page-content th,
.page-content td {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--outline-variant);
}

.page-content th {
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
}

@media (max-width: 680px) {
  .static-page {
    padding-block: var(--space-10) var(--space-16);
  }
  .page-header__title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }
  .page-content {
    font-size: 1rem;
  }
}

/* в”Ђв”Ђ 21. Floating Mini Player в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.mini-player {
  position: fixed;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + var(--space-6)));
  z-index: 200;
  width: min(680px, calc(100vw - var(--space-8) * 2));
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: var(--radius-full);
  box-shadow:
    0 8px 32px rgba(26, 37, 48, 0.13),
    0 2px 8px rgba(26, 37, 48, 0.07),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.25s ease;
  opacity: 0;
  pointer-events: none;
}

.mini-player:not([hidden]) {
  opacity: 1;
  pointer-events: all;
}

.mini-player.is-visible {
  transform: translateX(-50%) translateY(0);
}

.mini-player__inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-5) var(--space-3) var(--space-3);
}

.mini-player__thumb {
  width: 48px;
  height: 48px;
  border-radius: calc(var(--radius-full) - 6px);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface-container-highest);
}

.mini-player__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.mini-player__title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--on-surface);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-player__ep {
  font-family: var(--font-label);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--on-surface-variant);
}

.mini-player__controls {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.mini-player__btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-surface-variant);
  transition:
    background 0.15s,
    color 0.15s;
}

.mini-player__btn:hover {
  background: var(--surface-container);
  color: var(--on-surface);
}

.mini-player__btn--play {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
}

.mini-player__btn--play:hover {
  background: var(--primary-dim, var(--primary));
  color: #fff;
  opacity: 0.9;
}

.mini-player__btn--play .icon-pause {
  display: none;
}
.mini-player__btn--play.is-playing .icon-play {
  display: none;
}
.mini-player__btn--play.is-playing .icon-pause {
  display: inline;
}

/* Seek strip along the bottom edge */
.mini-player__seek {
  height: 3px;
  background: rgba(26, 37, 48, 0.1);
  cursor: pointer;
  position: relative;
}

.mini-player__seek:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.mini-player__seek-fill {
  height: 100%;
  background: var(--primary);
  width: 0%;
  transition: width 0.1s linear;
  pointer-events: none;
}

@media (max-width: 1023px) {
  .mini-player {
    bottom: calc(var(--space-3) + env(safe-area-inset-bottom));
    width: calc(100vw - var(--space-5) * 2);
  }
}

/* ── More Insights — horizontal one-row post slider ─────────────────────── */
.more-section {
  background: var(--surface);
  padding-block: var(--space-24);
}

.more-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.more-section__header .section-title {
  margin-bottom: 0;
}

.more-section__controls {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}

.more-prev,
.more-next {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--surface-container-lowest);
  border: 1.5px solid var(--outline-variant);
  color: var(--on-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    color 0.15s;
}

.more-prev:hover,
.more-next:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}

.more-slider {
  overflow: hidden;
}

.more-slider__track {
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: var(--space-2);
  scrollbar-width: none;
}

.more-slider__track::-webkit-scrollbar {
  display: none;
}

.more-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--surface-container-lowest);
  border: 1px solid var(--outline-variant);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(26, 37, 48, 0.05);
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.more-card:hover {
  box-shadow: 0 8px 28px rgba(26, 37, 48, 0.09);
  transform: translateY(-2px);
}

.more-card__thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-container);
}

.more-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.more-card__thumb:hover .more-card__img {
  transform: scale(1.05);
}

.more-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--surface-container-high);
}

.more-card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.more-card__chips {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.more-card__title {
  font-family: var(--font-headline);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.32;
  color: var(--on-surface);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.more-card__time {
  font-family: var(--font-label);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-surface-variant);
  margin-top: auto;
}

/* в”Ђв”Ђ 21. Responsive в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
@media (max-width: 1023px) {
  .side-rail {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu--desktop {
    display: none !important;
  }

  .nav-menu--overlay {
    display: flex !important;
  }

  .nav-menu {
    position: fixed;
    inset: 0;
    top: var(--nav-h);
    bottom: 0;
    background: var(--surface-dark);
    padding: var(--space-4) var(--space-6);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 110;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    overflow-y: auto;
  }

  /* Shadow only while open — box-shadow isn't clipped by the element's own
     off-screen transform, so it would otherwise bleed onto the page as a
     faint strip along the left edge even while the menu is closed. */
  .nav-menu.is-open {
    transform: translateX(0);
    box-shadow: 4px 0 32px rgba(26, 37, 48, 0.35);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  .nav-list a {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--on-surface-dark);
    padding: var(--space-4) var(--space-2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    width: 100%;
    text-decoration: none;
    transition:
      color 0.15s,
      background-color 0.15s,
      padding-left 0.15s;
  }

  .nav-list a::after {
    content: "\2192";
    color: var(--primary-fixed-dim);
    opacity: 0;
    transform: translateX(-4px);
    transition:
      opacity 0.15s,
      transform 0.15s;
  }

  .nav-list a:hover,
  .nav-list li.current-menu-item > a {
    color: var(--primary-fixed-dim);
    background: rgba(255, 255, 255, 0.05);
    padding-left: var(--space-4);
  }

  .nav-list a:hover::after,
  .nav-list li.current-menu-item > a::after {
    opacity: 1;
    transform: translateX(0);
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .magazine-grid {
    grid-template-columns: 1fr;
  }
  .editorial-grid__inner {
    grid-template-columns: 1fr;
  }
  .post-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .single-layout {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
  .single-sidebar {
    position: static;
  }
  .article-nav {
    grid-template-columns: 1fr;
  }
  .article-nav__next {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 15px;
  }
  .chip {
    font-size: 0.625rem;
    padding: 0.25rem 0.65rem;
  }
  .hero__body {
    padding-inline: var(--space-5);
  }
  .hero__headline {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .post-grid--3 {
    grid-template-columns: 1fr;
  }
  .more-card {
    flex-basis: 230px;
  }
  .archive-header__title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .spotlight-lead__meta {
    flex-direction: column-reverse;
    gap: 10px;
  }
}

/* в”Ђв”Ђ 23. Utility в”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђв”Ђ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  vertical-align: middle;
  font-style: normal;
}
