:root {
  color-scheme: light;
  --bg-primary: #f5f5f7;
  --bg-secondary: #ffffff;
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-muted: #86868b;
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-bg-strong: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(255, 255, 255, 0.45);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --glass-blur: blur(20px);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --accent: #2563eb;
  --accent-light: #60a5fa;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --hover-bg: rgba(0, 0, 0, 0.04);
  --tag-bg: rgba(0, 0, 0, 0.05);
  --border-subtle: rgba(0, 0, 0, 0.06);
  --logo-surface: rgba(255, 255, 255, 0.6);
  --hero-plain-bg: linear-gradient(135deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.02));
  --hero-plain-badge: rgba(0, 0, 0, 0.06);
  --shadow-elevated: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.1);
  --shadow-dropdown: 0 10px 30px rgba(0, 0, 0, 0.08);
  --bg-gradient-1: rgba(37, 99, 235, 0.06);
  --bg-gradient-2: rgba(148, 163, 184, 0.1);
  --carousel-dot: rgba(255, 255, 255, 0.5);
  --carousel-dot-active: #fff;
  --brand-glow-rgb: 210, 193, 165;
  --navbar-control-height: 2.25rem;
  --matte-glass-bg: rgba(245, 245, 247, 0.52);
  --matte-glass-border: rgba(0, 0, 0, 0.09);
  --matte-glass-blur: blur(20px) saturate(1.35);
  --matte-glass-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --header-glass-bg: var(--matte-glass-bg);
  --header-glass-border: var(--matte-glass-border);
  --header-glass-blur: var(--matte-glass-blur);
  --header-glass-shadow: var(--matte-glass-shadow);
  --header-control-bg: rgba(255, 255, 255, 0.38);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg-primary: #0d0d0f;
  --bg-secondary: #1c1c1e;
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-muted: #86868b;
  --glass-bg: rgba(28, 28, 30, 0.78);
  --glass-bg-strong: rgba(44, 44, 46, 0.92);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  --hover-bg: rgba(255, 255, 255, 0.08);
  --tag-bg: rgba(255, 255, 255, 0.1);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --logo-surface: rgba(255, 255, 255, 0.08);
  --hero-plain-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  --hero-plain-badge: rgba(255, 255, 255, 0.1);
  --shadow-elevated: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.35);
  --shadow-dropdown: 0 10px 30px rgba(0, 0, 0, 0.4);
  --bg-gradient-1: rgba(96, 165, 250, 0.1);
  --bg-gradient-2: rgba(148, 163, 184, 0.08);
  --carousel-dot: rgba(255, 255, 255, 0.35);
  --carousel-dot-active: #fff;
  --brand-glow-rgb: 210, 193, 165;
  --matte-glass-bg: rgba(22, 22, 24, 0.55);
  --matte-glass-border: rgba(255, 255, 255, 0.11);
  --matte-glass-blur: blur(20px) saturate(1.25);
  --matte-glass-shadow: 0 4px 24px rgba(0, 0, 0, 0.32);
  --header-glass-bg: var(--matte-glass-bg);
  --header-glass-border: var(--matte-glass-border);
  --header-glass-blur: var(--matte-glass-blur);
  --header-glass-shadow: var(--matte-glass-shadow);
  --header-control-bg: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .navbar-toggler-icon {
  filter: invert(1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  transition: color var(--transition);
}

body::before {
  content: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  display: block;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.glass-strong {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 0.75rem 0;
}

.mobile-nav-toggle {
  position: fixed;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.site-header .navbar {
  border-radius: var(--radius-md);
  padding: 0.65rem 1.25rem;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
}

.header-logo {
  order: 0;
  flex: 0 0 auto;
  display: none;
  align-items: center;
  margin-right: 0.35rem;
  text-decoration: none;
}

@media (min-width: 992px) {
  .header-logo {
    display: none !important;
  }
}

.header-logo-img {
  display: block;
  height: 1.75rem;
  width: auto;
  max-width: 7.5rem;
  object-fit: contain;
}

.header-logo-img--light {
  display: none;
}

html:not([data-theme="dark"]) .header-logo-img--dark {
  display: none;
}

html:not([data-theme="dark"]) .header-logo-img--light {
  display: block;
}

.site-header .navbar.glass {
  background: var(--header-glass-bg);
  backdrop-filter: var(--header-glass-blur);
  -webkit-backdrop-filter: var(--header-glass-blur);
  border-color: var(--header-glass-border);
  box-shadow: var(--header-glass-shadow);
}

.site-header .header-search {
  background: var(--header-control-bg);
  border-color: var(--header-glass-border);
}

.site-header .theme-toggle {
  background: var(--header-control-bg);
  border-color: var(--header-glass-border);
}

.header-age-rating {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: var(--navbar-control-height);
  height: var(--navbar-control-height);
  padding: 0;
  /* квадратик со скруглением — в один стиль с .theme-toggle */
  border-radius: var(--radius-sm);
  border: 1px solid var(--header-glass-border);
  background: var(--header-control-bg);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text-primary);
  user-select: none;
}

html:not([data-theme="dark"]) .header-age-rating {
  color: #2f2f32;
}

@media (min-width: 992px) {
  .site-header .navbar {
    flex-wrap: nowrap;
  }
}

.site-header .navbar-nav {
  gap: 0.15rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary) !important;
  padding: 0.45rem 0.85rem !important;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.site-header .nav-link {
  font-weight: 600;
  color: var(--text-primary) !important;
}

html:not([data-theme="dark"]) .site-header .nav-link {
  color: #2f2f32 !important;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--text-primary) !important;
  background: var(--hover-bg);
}

html:not([data-theme="dark"]) .site-header .nav-link:hover,
html:not([data-theme="dark"]) .site-header .nav-link.active {
  color: #141416 !important;
  background: rgba(0, 0, 0, 0.08);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary) !important;
  background: var(--hover-bg);
}

.navbar-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
  order: 2;
}

.navbar-tools .header-search,
.navbar-tools #headerSearchForm {
  order: 1;
}

.navbar-tools .navbar-print-edition,
.navbar-tools #headerPrintEditionBtn {
  order: 2;
}

.navbar-tools .navbar-subscribe,
.navbar-tools #headerSubscribeBtn {
  order: 3;
}

.navbar-social-links {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  order: 3;
}

.site-header .navbar-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--navbar-control-height, 2.25rem);
  height: var(--navbar-control-height, 2.25rem);
  border: 1px solid var(--header-glass-border);
  border-radius: var(--radius-sm);
  background: var(--header-control-bg);
  color: var(--text-primary);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.site-header .navbar-social-link:hover {
  background: var(--hover-bg);
  transform: translateY(-1px);
}

.site-header .navbar-social-link img {
  width: 1.4rem;
  height: 1.4rem;
}

.site-header .navbar-social-link--vk img,
.site-header .navbar-social-link--odnoklassniki img {
  width: 2rem;
  height: 2rem;
}

.navbar-tools .theme-toggle {
  order: 4;
}

/* Глаз (версия для слабовидящих) — перед значком 12+ */
.navbar-tools .header-bvi {
  order: 5;
}

.navbar-tools .header-age-rating {
  order: 6;
}

.navbar-toggler {
  order: 3;
}

.site-header .navbar-collapse {
  order: 4;
  flex-basis: 100%;
}

@media (max-width: 991.98px) {
  .header-logo {
    display: inline-flex !important;
    order: 0;
    margin: 0;
    flex: 0 0 auto;
  }

  .site-header {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .site-header > .container {
    padding-left: max(0.5rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.5rem, env(safe-area-inset-right, 0px));
  }

  .site-header .navbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.4rem 0.45rem;
  }

  .site-header .navbar-tools {
    display: flex !important;
    order: 1;
    margin-left: auto;
    margin-right: 0;
    gap: 0.35rem;
    flex: 0 0 auto;
  }

  .site-header .navbar-tools > .header-search {
    display: none !important;
  }

  .site-header .theme-toggle {
    width: auto;
    height: auto;
    min-width: 0;
    padding: 0.2rem;
    border: none;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .site-header .theme-toggle:hover {
    background: transparent;
    transform: none;
    opacity: 0.72;
  }

  .site-header .theme-toggle svg {
    width: 1.375rem;
    height: 1.375rem;
  }

  .site-header .navbar-toggler {
    order: 2;
    margin: 0;
    padding: 0.2rem;
    flex: 0 0 auto;
    cursor: pointer;
  }

  .site-header .navbar-collapse {
    order: 3;
    flex-basis: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-brand {
    display: none !important;
  }

  .hero-content {
    padding-left: 0;
  }

  .mobile-nav-drawer.collapse:not(.show) {
    display: flex !important;
  }

  .mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 1045;
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: 50%;
    max-width: 50vw;
    height: 100vh;
    height: 100svh;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    padding: 0;
    flex-basis: auto;
    order: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translate3d(100%, 0, 0);
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
    background: var(--matte-glass-bg);
    backdrop-filter: var(--matte-glass-blur);
    -webkit-backdrop-filter: var(--matte-glass-blur);
    border: 1px solid var(--matte-glass-border);
    border-right: none;
    border-top-left-radius: var(--radius-lg);
    border-bottom-left-radius: var(--radius-lg);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: var(--matte-glass-shadow);
    box-sizing: border-box;
    will-change: transform;
  }

  .mobile-nav-toggle:checked ~ .mobile-nav-drawer,
  .mobile-nav-drawer.is-open {
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
  }

  .mobile-nav-drawer__head {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: calc(0.5rem + env(safe-area-inset-top, 0px)) 0.75rem 0.35rem 1rem;
  }

  .mobile-nav-drawer__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin: 0;
    padding: 0;
    border: 1px solid var(--matte-glass-border);
    border-radius: var(--radius-sm);
    background: var(--header-control-bg);
    color: var(--text-primary);
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
  }

  .mobile-nav-drawer__close:hover {
    background: var(--hover-bg);
    border-color: rgba(var(--brand-glow-rgb), 0.35);
  }

  .mobile-nav-drawer__close:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }

  .mobile-nav-drawer__close svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
  }

  .mobile-nav-drawer__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-nav-drawer .navbar-nav {
    flex: 0 0 auto;
    width: 100%;
    margin: 0;
    padding: 0.35rem 1.25rem 0.75rem;
    overflow: visible;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .mobile-nav-drawer .nav-link {
    padding: 0.75rem 1rem !important;
    border-radius: var(--radius-sm);
  }

  .mobile-nav-drawer__editions {
    padding: 0 1rem 1rem;
  }

  .mobile-nav-drawer__label {
    margin: 0 0 0.65rem;
    padding: 0 0.25rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .mobile-nav-drawer__editions-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  .mobile-nav-drawer__edition-link {
    display: block;
    padding: 0.55rem 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--text-primary);
    text-decoration: none;
    transition: background var(--transition);
  }

  .mobile-nav-drawer__edition-link:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
  }

  .mobile-nav-drawer__foot {
    flex: 0 0 auto;
    padding: 0.85rem 1.25rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border-subtle);
    background: rgba(var(--brand-glow-rgb), 0.06);
  }

  .mobile-nav-drawer__foot .navbar-subscribe,
  .mobile-nav-drawer__foot .navbar-print-edition,
  .mobile-nav-drawer__print,
  .mobile-nav-drawer__subscribe {
    display: flex;
    width: 100%;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-sizing: border-box;
  }

  .site-header .navbar-tools > .navbar-subscribe,
  .site-header .navbar-tools > #headerSubscribeBtn,
  .site-header .navbar-tools > .navbar-print-edition,
  .site-header .navbar-tools > #headerPrintEditionBtn {
    display: none !important;
  }

  .site-header .navbar-social-links {
    display: none !important;
  }

  .site-header .container,
  .site-header .navbar {
    overflow: visible;
  }

  .mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(0, 0, 0, 0.38);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity var(--transition),
      visibility 0s linear 0.3s;
    pointer-events: none;
  }

  .mobile-nav-toggle:checked ~ .mobile-nav-backdrop,
  .mobile-nav-backdrop.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      opacity var(--transition),
      visibility 0s;
  }

  body:has(.mobile-nav-toggle:checked),
  body.mobile-nav-open {
    overflow: hidden;
  }
}

@media (min-width: 992px) {
  .navbar-tools,
  .navbar-toggler,
  .site-header .navbar-collapse {
    order: 0;
  }

  .site-header .mobile-nav-drawer {
    position: static;
    inset: auto;
    width: auto;
    max-width: none;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    will-change: auto;
  }

  .mobile-nav-drawer__head,
  .mobile-nav-drawer__editions,
  .mobile-nav-drawer__foot {
    display: none !important;
  }

  .mobile-nav-drawer__body {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    padding: 0;
    overflow: visible;
  }

  .navbar-expand-lg .mobile-nav-drawer.navbar-collapse,
  .site-header .mobile-nav-drawer.navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    flex-grow: 1;
    align-items: center;
  }

  .mobile-nav-drawer .navbar-nav,
  .site-header .mobile-nav-drawer .navbar-nav {
    flex: 0 1 auto;
    padding: 0;
    overflow: visible;
    flex-direction: row;
    gap: 0.15rem;
  }

  .site-header .navbar-collapse {
    flex-basis: auto;
  }

  .navbar-tools {
    margin-left: auto;
  }
}

.navbar-subscribe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--navbar-control-height);
  padding: 0 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  color: #2c2618;
  background: rgb(var(--brand-glow-rgb));
  transition: transform var(--transition), filter var(--transition), opacity var(--transition);
}

html:not([data-theme="dark"]) .navbar-subscribe {
  background: #d2c1a5;
  color: #2a2418;
}

.navbar-subscribe:hover {
  color: inherit;
  filter: brightness(1.06);
  transform: scale(1.02);
}

html:not([data-theme="dark"]) .navbar-subscribe:hover {
  background: #dbd0b8;
}

.navbar-subscribe:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.navbar-print-edition {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--navbar-control-height);
  padding: 0 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-primary);
  background: var(--header-control-bg);
  border: 1px solid var(--header-glass-border);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.navbar-print-edition:hover {
  background: var(--hover-bg);
  transform: scale(1.02);
}

html:not([data-theme="dark"]) .navbar-print-edition {
  color: #2f2f32;
}

.navbar-print-edition:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

body.print-picker-open {
  overflow: hidden;
}

.print-picker-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.print-picker-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.print-picker-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.print-picker-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  max-height: min(92vh, 820px);
  overflow: auto;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2rem);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.print-picker-modal.is-open .print-picker-dialog {
  transform: translateY(0) scale(1);
}

.print-picker-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: var(--hover-bg);
  color: var(--text-secondary);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition), background var(--transition);
}

.print-picker-close:hover {
  color: var(--text-primary);
  background: var(--tag-bg);
}

.print-picker-title {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  padding-right: 2rem;
  color: var(--text-primary);
}

.print-picker-lead {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.print-picker-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.print-picker-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 0.5rem 0.85rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  color: inherit;
  cursor: pointer;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.print-picker-card:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: rgba(var(--brand-glow-rgb), 0.45);
}

.print-picker-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.print-picker-card--disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.print-picker-cover {
  display: block;
  width: 100%;
  max-width: 5.5rem;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.print-picker-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.print-picker-name {
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.25;
  color: var(--text-primary);
}

.print-picker-issue {
  font-size: 0.68rem;
  color: var(--text-secondary);
}

@media (max-width: 991.98px) {
  .print-picker-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .print-picker-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .print-picker-card {
    padding: 0.6rem 0.35rem 0.7rem;
  }
}

@media (max-width: 575.98px) {
  .print-picker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.subscribe-modal-open {
  overflow: hidden;
}

.subscribe-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.subscribe-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.subscribe-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.subscribe-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  max-height: min(92vh, 720px);
  overflow: auto;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2rem);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.subscribe-modal.is-open .subscribe-modal-dialog {
  transform: translateY(0) scale(1);
}

.subscribe-modal-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: var(--hover-bg);
  color: var(--text-secondary);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition), background var(--transition);
}

.subscribe-modal-close:hover {
  color: var(--text-primary);
  background: var(--tag-bg);
}

.subscribe-modal-title {
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  padding-right: 2rem;
  color: var(--text-primary);
}

.subscribe-modal-lead {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.subscribe-modal-form {
  display: flex;
  flex-direction: column;
}

.subscribe-papers {
  margin: 0 0 1rem;
  padding: 0;
  border: none;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.subscribe-papers-picker {
  position: relative;
}

.subscribe-papers-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  min-height: 2.65rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.subscribe-papers-trigger:hover,
.subscribe-papers-picker.is-open .subscribe-papers-trigger {
  border-color: rgba(var(--brand-glow-rgb), 0.65);
  background: var(--glass-bg-strong);
}

.subscribe-papers-picker.is-empty .subscribe-papers-trigger-text {
  color: var(--text-muted);
}

.subscribe-papers-trigger-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.subscribe-papers-trigger-icon {
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg) translateY(-1px);
  transition: transform var(--transition), border-color var(--transition);
}

.subscribe-papers-picker.is-open .subscribe-papers-trigger-icon {
  transform: rotate(-135deg) translateY(1px);
  border-color: var(--text-primary);
}

.subscribe-papers-panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--glass-bg-strong);
  box-shadow: var(--shadow-elevated);
}

.subscribe-papers-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-height: 11.5rem;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
}

.subscribe-paper-option {
  position: relative;
  cursor: pointer;
  min-width: 0;
}

.subscribe-paper-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.subscribe-paper-option-body {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.1rem;
  padding: 0.4rem 0.55rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), background var(--transition);
}

.subscribe-paper-name {
  flex: 1;
  min-width: 0;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-primary);
}

.subscribe-paper-check {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: 0.2rem;
  background: var(--glass-bg);
  transition: border-color var(--transition), background var(--transition);
}

.subscribe-paper-check::after {
  content: '';
  display: block;
  width: 0.35rem;
  height: 0.6rem;
  margin: 0.1rem auto 0;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.15s ease;
}

.subscribe-paper-input:checked + .subscribe-paper-option-body {
  border-color: rgba(var(--brand-glow-rgb), 0.55);
  background: color-mix(in srgb, rgb(var(--brand-glow-rgb)) 12%, var(--glass-bg));
}

.subscribe-paper-input:checked + .subscribe-paper-option-body .subscribe-paper-check {
  border-color: rgb(var(--brand-glow-rgb));
  background: rgb(var(--brand-glow-rgb));
}

.subscribe-paper-input:checked + .subscribe-paper-option-body .subscribe-paper-check::after {
  border-color: #2c2618;
  transform: rotate(45deg) scale(1);
}

.subscribe-paper-input:focus-visible + .subscribe-paper-option-body {
  outline: 2px solid rgba(var(--brand-glow-rgb), 0.65);
  outline-offset: 1px;
}

.subscribe-papers-panel-footer {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding-top: 0.15rem;
  border-top: 1px solid var(--border-subtle);
}

.subscribe-papers-action {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.65rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.subscribe-papers-action:hover {
  background: var(--glass-bg-strong);
  color: var(--text-primary);
}

.subscribe-papers-ok {
  margin-left: auto;
  border: none;
  border-radius: var(--radius-sm);
  background: rgb(var(--brand-glow-rgb));
  color: #2c2618;
  font-size: 0.8rem;
  font-weight: 650;
  padding: 0.45rem 1.1rem;
  cursor: pointer;
  transition: transform var(--transition), filter var(--transition);
}

html:not([data-theme="dark"]) .subscribe-papers-ok {
  background: #d2c1a5;
  color: #2a2418;
}

.subscribe-papers-ok:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.subscribe-papers-hint {
  margin: 0.15rem 0 0;
  font-size: 0.78rem;
  color: #dc2626;
}

.subscribe-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.subscribe-field-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.subscribe-optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.subscribe-field input {
  width: 100%;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  color: var(--text-primary);
  font-size: 0.9rem;
  padding: 0.65rem 0.85rem;
  transition: border-color var(--transition);
}

.subscribe-field input:focus {
  outline: none;
  border-color: rgba(var(--brand-glow-rgb), 0.65);
}

.subscribe-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.15rem 0 1rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
  cursor: pointer;
}

.subscribe-consent input {
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: rgb(var(--brand-glow-rgb));
}

.subscribe-modal-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: #2c2618;
  background: rgb(var(--brand-glow-rgb));
  cursor: pointer;
  transition: transform var(--transition), filter var(--transition);
}

.subscribe-modal-submit:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

html:not([data-theme="dark"]) .subscribe-modal-submit {
  background: #d2c1a5;
  color: #2a2418;
}

.subscribe-modal-note {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
}

.subscribe-modal-note--success {
  color: rgb(var(--brand-glow-rgb));
}

body.print-viewer-open {
  overflow: hidden;
}

.print-viewer-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.print-viewer-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.print-viewer-drag-shield {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2;
  touch-action: none;
  cursor: var(--resize-cursor, default);
}

.print-viewer-modal.is-resizing .print-viewer-drag-shield {
  display: block;
}

.print-viewer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.print-viewer-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(96vw, 1120px);
  height: min(92vh, 920px);
  min-width: 480px;
  min-height: 360px;
  max-width: calc(100vw - 2rem);
  max-height: calc(100vh - 2rem);
  border-radius: var(--radius-lg);
  padding: 1rem 1rem 1.15rem;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.print-viewer-dialog.is-resizing {
  transition: none;
  transform: none;
  user-select: none;
}

.print-viewer-dialog.is-resizing .print-viewer-frame {
  pointer-events: none;
}

.print-viewer-modal.is-open .print-viewer-dialog {
  transform: translateY(0) scale(1);
}

.print-viewer-resizers {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.print-viewer-resize-edge {
  position: absolute;
  pointer-events: auto;
}

.print-viewer-resize-edge[data-resize="n"] {
  top: 0;
  left: 0.75rem;
  right: 0.75rem;
  height: 0.45rem;
  cursor: ns-resize;
}

.print-viewer-resize-edge[data-resize="s"] {
  bottom: 0;
  left: 0.75rem;
  right: 0.75rem;
  height: 0.45rem;
  cursor: ns-resize;
}

.print-viewer-resize-edge[data-resize="e"] {
  top: 0.75rem;
  right: 0;
  bottom: 0.75rem;
  width: 0.45rem;
  cursor: ew-resize;
}

.print-viewer-resize-edge[data-resize="w"] {
  top: 0.75rem;
  left: 0;
  bottom: 0.75rem;
  width: 0.45rem;
  cursor: ew-resize;
}

.print-viewer-resize-edge[data-resize="nw"] {
  top: 0;
  left: 0;
  width: 0.85rem;
  height: 0.85rem;
  cursor: nwse-resize;
}

.print-viewer-resize-edge[data-resize="ne"] {
  top: 0;
  right: 0;
  width: 0.85rem;
  height: 0.85rem;
  cursor: nesw-resize;
}

.print-viewer-resize-edge[data-resize="sw"] {
  bottom: 0;
  left: 0;
  width: 0.85rem;
  height: 0.85rem;
  cursor: nesw-resize;
}

.print-viewer-resize-edge[data-resize="se"] {
  bottom: 0;
  right: 0;
  width: 0.85rem;
  height: 0.85rem;
  cursor: nwse-resize;
}

.print-viewer-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 5;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: var(--hover-bg);
  color: var(--text-secondary);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.print-viewer-close:hover {
  color: var(--text-primary);
  background: var(--tag-bg);
}

.print-viewer-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding-right: 2.25rem;
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}

.print-viewer-heading {
  flex: 1 1 12rem;
  min-width: 0;
}

.print-viewer-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.print-viewer-issue-field {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.print-viewer-issue-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

.print-viewer-issue-select {
  height: 2.25rem;
  min-width: 4.5rem;
  padding: 0 0.65rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}

.print-viewer-issue-select:focus {
  outline: none;
  border-color: var(--accent);
}

.print-viewer-download,
.print-viewer-external {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--navbar-control-height);
  padding: 0 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}

.print-viewer-download:hover,
.print-viewer-external:hover {
  background: var(--glass-bg-strong);
  border-color: var(--border-subtle);
  color: var(--text-primary);
  transform: scale(1.02);
}

.print-viewer-label {
  margin: 0 0 0.2rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.print-viewer-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.print-viewer-body {
  flex: 1;
  min-height: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border-subtle);
}

.print-viewer-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  background: #fff;
}

.print-viewer-back {
  height: 2.4rem;
  padding: 0 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--glass-bg);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.print-viewer-back:hover {
  background: var(--glass-bg-strong);
  transform: translateY(-1px);
}

.print-viewer-dialog--archive {
  width: min(1180px, calc(100vw - 2rem));
  height: min(780px, calc(100vh - 2rem));
}

.print-archive {
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) minmax(300px, 1.7fr) minmax(220px, 0.95fr);
  gap: 1rem;
  height: 100%;
  min-height: 0;
  padding: 1rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--brand-glow-rgb), 0.16), transparent 34%),
    var(--bg-secondary);
}

.print-archive-nav,
.print-archive-side,
.print-archive-main {
  min-height: 0;
  border: 1px solid var(--border-subtle);
  background: var(--glass-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.print-archive-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.print-archive-panel-head strong {
  color: var(--text-primary);
  font-size: 0.78rem;
  text-transform: none;
  letter-spacing: 0;
}

.print-archive-nav {
  display: flex;
  flex-direction: column;
}

.print-archive-nav-list,
.print-archive-latest-list {
  overflow: auto;
  min-height: 0;
  padding: 0.65rem;
}

.print-archive-nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-primary);
  font-weight: 650;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.print-archive-nav-item + .print-archive-nav-item {
  margin-top: 0.35rem;
}

.print-archive-nav-item small {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.print-archive-nav-item:hover,
.print-archive-nav-item.is-active {
  background: rgba(var(--brand-glow-rgb), 0.12);
  border-color: rgba(var(--brand-glow-rgb), 0.28);
  transform: translateX(2px);
}

.print-archive-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.1rem;
  text-align: center;
}

.print-archive-main-kicker {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.print-archive-cover-button {
  width: min(360px, 100%);
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.print-archive-cover-frame {
  display: block;
  aspect-ratio: 3 / 4;
  padding: 0.8rem;
  border-radius: calc(var(--radius-md) + 0.35rem);
  background: linear-gradient(145deg, rgba(255,255,255,0.88), rgba(255,255,255,0.54));
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(var(--brand-glow-rgb), 0.22);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.print-archive-cover-button:hover .print-archive-cover-frame {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-strong);
  border-color: rgba(var(--brand-glow-rgb), 0.45);
}

.print-archive-cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
  border-radius: var(--radius-sm);
}

.print-archive-main-footer {
  width: min(520px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--glass-bg-strong);
  text-align: left;
}

.print-archive-main-footer h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.print-archive-main-footer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.print-archive-download {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.45rem;
  min-width: 3.2rem;
  border-radius: var(--radius-sm);
  color: #fff;
  background: rgb(var(--brand-glow-rgb));
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.print-archive-side {
  display: flex;
  flex-direction: column;
}

.print-archive-latest-card {
  width: 100%;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.print-archive-latest-card + .print-archive-latest-card {
  margin-top: 0.45rem;
}

.print-archive-latest-card:hover,
.print-archive-latest-card.is-active {
  background: rgba(var(--brand-glow-rgb), 0.1);
  border-color: rgba(var(--brand-glow-rgb), 0.26);
  transform: translateY(-1px);
}

.print-archive-latest-cover {
  aspect-ratio: 3 / 4;
  display: block;
  overflow: hidden;
  border-radius: 0.35rem;
  background: #fff;
  border: 1px solid var(--border-subtle);
}

.print-archive-latest-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.print-archive-latest-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.print-archive-latest-body strong {
  font-size: 0.9rem;
  color: var(--text-primary);
}

.print-archive-latest-body small {
  color: var(--text-muted);
  font-size: 0.76rem;
}

@media (max-width: 900px) {
  .print-viewer-dialog--archive {
    width: calc(100vw - 1rem);
    height: calc(100vh - 1rem);
  }

  .print-archive {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(360px, 1fr) auto;
    padding: 0.75rem;
  }

  .print-archive-nav-list {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    padding: 0.65rem;
  }

  .print-archive-nav-item {
    width: auto;
    min-width: 116px;
    flex: 0 0 auto;
  }

  .print-archive-nav-item + .print-archive-nav-item {
    margin-top: 0;
  }

  .print-archive-latest-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    max-height: 190px;
  }

  .print-archive-latest-card + .print-archive-latest-card {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .print-viewer-header {
    align-items: flex-start;
  }

  .print-archive {
    gap: 0.7rem;
    padding: 0.55rem;
  }

  .print-archive-main {
    padding: 0.75rem;
  }

  .print-archive-main-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .print-archive-download {
    width: 100%;
  }

  .print-archive-latest-list {
    grid-template-columns: 1fr;
  }
}

.print-edition-link--has-pdf {
  cursor: pointer;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  height: var(--navbar-control-height);
  padding: 0 0.85rem;
  box-sizing: border-box;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  width: clamp(120px, 28vw, 260px);
  transition: border-color var(--transition);
}

.header-search:focus-within {
  border-color: rgba(var(--brand-glow-rgb), 0.75);
}

.header-search:focus-within .header-search-icon {
  fill: rgb(var(--brand-glow-rgb));
}

.header-search-icon {
  width: 1rem;
  height: 1rem;
  fill: var(--text-muted);
  flex-shrink: 0;
  transition: fill var(--transition);
}

.header-search-input {
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 0.875rem;
  line-height: 1;
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0;
  outline: none;
}

.header-search-input::placeholder {
  color: var(--text-muted);
}

.header-search-input::-webkit-search-cancel-button {
  cursor: pointer;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--navbar-control-height);
  height: var(--navbar-control-height);
  padding: 0;
  box-sizing: border-box;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  color: var(--text-primary);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.theme-toggle:hover {
  background: var(--hover-bg);
  /* scale при наведении убран: кнопка «дёргалась», создавая
     ощущение смещённой иконки, которая «встаёт на место» */
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.theme-toggle svg,
.theme-lottie-icon {
  width: 1.65rem;
  height: 1.65rem;
}

.theme-lottie-icon {
  display: block;
  line-height: 0;
  pointer-events: none;
}

.theme-lottie-icon svg {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.theme-toggle > svg {
  fill: currentColor;
}

.theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
  filter: brightness(0) invert(1) brightness(1.18);
}

.hero-section {
  padding: 3rem 0 2rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
}

.hero-brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-right: clamp(1.75rem, 4vw, 3rem);
  border-right: 1px solid rgba(var(--brand-glow-rgb), 0.22);
}

.hero-brand-logo {
  height: clamp(5.5rem, 11vw, 8.5rem);
  width: auto;
  object-fit: contain;
}

.hero-content {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: clamp(1.75rem, 4vw, 3rem);
}

.hero-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(var(--brand-glow-rgb), 0.85);
}

.hero-title {
  margin: 0 0 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  width: 100%;
}

.hero-title-line {
  display: block;
  font-size: clamp(1.5rem, 3.8vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text-primary);
}

.hero-title-line--soft {
  font-size: clamp(1.25rem, 3.2vw, 2.35rem);
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.02em;
}

@media (min-width: 992px) {
  .hero-title {
    flex-flow: row wrap;
    align-items: baseline;
    gap: 0.35rem 0.65rem;
  }

  .hero-title-line,
  .hero-title-line--soft {
    display: inline;
    white-space: nowrap;
  }
}

.hero-title-num {
  color: rgb(var(--brand-glow-rgb));
}

.hero-brand-logo--light {
  display: none;
}

html:not([data-theme="dark"]) .hero-brand-logo--dark {
  display: none;
}

html:not([data-theme="dark"]) .hero-brand-logo--light {
  display: block;
}

.hero-subtitle {
  margin: 0;
  font-size: clamp(0.95rem, 1.35vw, 1.125rem);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: none;
  width: 100%;
}

.hero-search-slot {
  display: none;
}

.hero-search-slot .header-search {
  background: var(--glass-bg);
  border-color: var(--glass-border);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.platform-news-title {
  font-size: 1.75rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.platform-news-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 122px;
  gap: 0.75rem;
}

.platform-card {
  --source-accent: rgb(var(--brand-glow-rgb));
  position: relative;
  display: flex;
  gap: 0.75rem;
  padding: 0.65rem;
  height: 100%;
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 0;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow var(--transition), background var(--transition);
}

.author-card.glass,
.platform-card.glass,
.about-stats-wrap.glass,
.about-team-card.glass,
.about-mission.glass,
.contacts-info.glass,
.contacts-form-panel.glass,
.contacts-map.glass {
  background: var(--matte-glass-bg);
  backdrop-filter: var(--matte-glass-blur);
  -webkit-backdrop-filter: var(--matte-glass-blur);
  border-color: var(--matte-glass-border);
  box-shadow: var(--matte-glass-shadow);
}

.platform-card:hover {
  transform: translateY(-2px) scale(1.015);
  color: inherit;
  box-shadow: var(--shadow-card);
}

html:not([data-theme="dark"]) .author-card.glass:hover,
html:not([data-theme="dark"]) .platform-card.glass:hover,
html:not([data-theme="dark"]) .about-team-card.glass:hover {
  background: rgba(255, 255, 255, 0.68);
}

[data-theme="dark"] .author-card.glass:hover,
[data-theme="dark"] .platform-card.glass:hover,
[data-theme="dark"] .about-team-card.glass:hover {
  background: rgba(40, 40, 44, 0.72);
}

.platform-card-thumb {
  width: 168px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  align-self: stretch;
}

.platform-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.platform-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  padding-right: 0.15rem;
}

.platform-card-source {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: min(58%, calc(100% - 1rem));
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--source-accent);
  background: color-mix(in srgb, var(--source-accent) 14%, var(--matte-glass-bg));
  border: 1px solid color-mix(in srgb, var(--source-accent) 32%, transparent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.platform-card-source--favicon {
  width: 2.375rem;
  height: 2.375rem;
  padding: 0;
  max-width: none;
  background: transparent;
  border: none;
  border-radius: 25%;
  overflow: hidden;
}

.platform-card-source--favicon.platform-card-source--vatan {
  background: #000;
}

.platform-card-source--favicon.platform-card-source--lezgigazet .platform-card-source__icon,
.platform-card-source--favicon.platform-card-source--niiso .platform-card-source__icon,
.platform-card-source--favicon.platform-card-source--derbend .platform-card-source__icon,
.platform-card-source--favicon.platform-card-source--vesti-agula .platform-card-source__icon {
  object-fit: contain;
}

.platform-card-source--favicon::before {
  display: none;
}

.platform-card-source__icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  border-radius: 25%;
}

.platform-card-source__fallback {
  display: none;
  overflow: hidden;
  text-overflow: ellipsis;
}

.platform-card-source--favicon.is-fallback {
  width: auto;
  height: auto;
  max-width: min(58%, calc(100% - 1rem));
  padding: 0.2rem 0.55rem;
  background: color-mix(in srgb, var(--source-accent) 14%, var(--matte-glass-bg));
  border: 1px solid color-mix(in srgb, var(--source-accent) 32%, transparent);
  border-radius: 999px;
  overflow: hidden;
}

.platform-card-source--favicon.is-fallback .platform-card-source__icon {
  display: none;
}

.platform-card-source--favicon.is-fallback .platform-card-source__fallback {
  display: inline;
}

.platform-card-source--favicon.is-fallback::before {
  display: block;
}

.platform-card-source::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--source-accent);
}

.platform-card-body h3 {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.platform-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  margin-top: 0.1rem;
}

.platform-card-section {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
}

html:not([data-theme="dark"]) .platform-card-section,
html:not([data-theme="dark"]) .platform-card-footer .news-card-meta {
  color: #5a5a5f;
}

.platform-card-section::after {
  content: '·';
  margin-left: 0.65rem;
  color: var(--text-muted);
}

.platform-card-footer .news-card-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.platform-news-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.platform-news-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 0.7rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-primary);
  border: 1px solid rgba(var(--brand-glow-rgb), 0.45);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.platform-news-more:hover {
  color: inherit;
  transform: translateY(-1px);
  border-color: rgba(var(--brand-glow-rgb), 0.7);
  background: color-mix(in srgb, rgb(var(--brand-glow-rgb)) 12%, transparent);
}

.platform-news-more[hidden] {
  display: none;
}

.authors-section {
  padding-top: 0.5rem;
}

.authors-section-title {
  font-size: 1.75rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

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

.author-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.35rem 1rem 1.15rem;
  border-radius: var(--radius-lg);
  color: inherit;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow var(--transition), background var(--transition);
}

.author-card:hover {
  transform: translateY(-2px) scale(1.02);
  color: inherit;
  box-shadow: var(--shadow-card);
}

.author-card-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 0.95rem;
  border: 2px solid rgba(var(--brand-glow-rgb), 0.55);
  flex-shrink: 0;
}

.author-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-card-name {
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0 0 0.25rem;
  color: var(--text-primary);
}

.author-card-role {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 991.98px) {
  .authors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .platform-news-cards {
    grid-template-columns: 1fr;
    grid-auto-rows: 122px;
  }

  .platform-card {
    height: 100%;
    min-height: 0;
    max-height: 122px;
    overflow: hidden;
  }

  .platform-card-thumb {
    width: 132px;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    align-self: stretch;
  }

  .platform-card-thumb img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
  }

  .platform-card-body {
    min-height: 0;
    overflow: hidden;
  }

  .authors-grid,
  .edition-authors-grid,
  #newspaperPage .edition-authors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: 0.65rem;
  }

  .author-card,
  .edition-authors .author-card {
    padding: 1rem 0.5rem 0.85rem;
  }

  .author-card-avatar,
  .edition-authors .author-card-avatar {
    width: 4.5rem;
    height: 4.5rem;
    margin-bottom: 0.6rem;
  }

  .author-card-name,
  .edition-authors .author-card-name {
    font-size: 0.82rem;
  }

  .author-card-role,
  .edition-authors .author-card-role {
    font-size: 0.68rem;
    line-height: 1.35;
  }
}

.newspaper-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.newspaper-card {
  --card-accent: rgb(var(--brand-glow-rgb));
  --card-accent-light: var(--card-accent);
  border-radius: var(--radius-lg);
  padding: 1rem 1.1rem;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.newspaper-card:hover {
  transform: translateY(-2px) scale(1.015);
}

html:not([data-theme="dark"]) .newspaper-card {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow var(--transition);
}

html:not([data-theme="dark"]) .newspaper-card:hover {
  box-shadow: var(--shadow-elevated);
}

@keyframes newspaper-neon-pulse {
  0%, 100% {
    opacity: 0.45;
  }

  50% {
    opacity: 0.72;
  }
}

@keyframes newspaper-neon-halo {
  0%, 100% {
    box-shadow:
      0 4px 20px rgba(0, 0, 0, 0.35),
      0 0 5px rgba(var(--brand-glow-rgb), 0.1);
  }

  50% {
    box-shadow:
      0 4px 20px rgba(0, 0, 0, 0.35),
      0 0 8px rgba(var(--brand-glow-rgb), 0.14);
  }
}

[data-theme="dark"] .newspaper-card {
  overflow: visible;
  isolation: isolate;
  border-color: transparent;
  background: var(--bg-secondary);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  animation: newspaper-neon-halo 5s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

[data-theme="dark"] .newspaper-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  pointer-events: none;
  box-shadow: none;
  filter: none;
  opacity: 0.45;
  animation: newspaper-neon-pulse 5s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}

html:not([data-theme="dark"]) .newspaper-card:hover {
  border-color: color-mix(in srgb, var(--card-accent) 28%, var(--glass-border));
}

[data-theme="dark"] .newspaper-card > * {
  position: relative;
  z-index: 2;
}

[data-theme="dark"] .newspaper-card:hover {
  animation-play-state: paused;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.35),
    0 0 8px rgba(var(--brand-glow-rgb), 0.15);
}

[data-theme="dark"] .newspaper-card:hover::before {
  animation-play-state: paused;
  opacity: 0.85;
}

@media (prefers-reduced-motion: reduce) {
  .newspaper-card:hover {
    transform: none;
  }

  [data-theme="dark"] .newspaper-card {
    animation: none;
    box-shadow:
      0 4px 20px rgba(0, 0, 0, 0.35),
      0 0 7px rgba(var(--brand-glow-rgb), 0.16);
  }

  [data-theme="dark"] .newspaper-card::before {
    animation: none;
    opacity: 0.65;
  }
}

.newspaper-logo {
  width: 100%;
  height: calc(42px + 0.8rem);
  min-height: calc(42px + 0.8rem);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0.65rem;
  padding: 0;
  background: transparent;
  box-sizing: border-box;
}

.newspaper-logo--pad {
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  justify-content: center;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

[data-theme="dark"] .newspaper-logo--pad {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
}

.newspaper-card-logo {
  max-height: 42px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.newspaper-card h3 {
  font-size: 1.05rem;
  font-weight: 650;
  margin-bottom: 0.2rem;
  letter-spacing: -0.02em;
}

.newspaper-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.4;
}

body:not(.newspaper-edition-holding) {
  --newspaper-edge-gap: 1.125rem;
}

body:not(.newspaper-edition-holding) .site-header {
  padding-top: 0.75rem;
  padding-bottom: 0;
}

.newspaper-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2rem);
  padding-block: var(--newspaper-edge-gap, 1.125rem);
  margin-bottom: 0;
}

body.newspaper-zamana,
body.newspaper-lezgigazet,
body.newspaper-ilchi,
body.newspaper-hakikat,
body.newspaper-yoldash {
  position: relative;
}

.newspaper-ornament-band {
  --ornament-crop: 0px;
  position: absolute;
  top: calc(-1 * var(--ornament-crop));
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background-repeat: repeat-x;
  background-size: auto calc(100% + var(--ornament-crop));
  background-position: left calc(-1 * var(--ornament-crop)) top;
  opacity: 0;
  visibility: hidden;
}

.newspaper-zamana .newspaper-ornament-band {
  --ornament-crop: 24px;
  --ornament-tile-width: clamp(680px, 76vw, 1024px);
  background-image: url('../patterns/zamana-ornament.png');
  background-size: var(--ornament-tile-width) calc(100% + var(--ornament-crop));
  background-position: left calc(-1 * var(--ornament-crop)) top;
}

.newspaper-lezgigazet .newspaper-ornament-band {
  --ornament-tile-width: clamp(680px, 76vw, 1024px);
  right: auto;
  overflow: hidden;
  clip-path: inset(0);
  background-clip: padding-box;
  background-image: url('../patterns/lezgigazet-ornament.png');
  background-size: var(--ornament-tile-width) calc(100% + var(--ornament-crop));
  background-position: left top;
}

.newspaper-ilchi .newspaper-ornament-band,
.newspaper-hakikat .newspaper-ornament-band,
.newspaper-yoldash .newspaper-ornament-band {
  top: 0;
  background-repeat: repeat;
  background-position: top left;
}

.newspaper-ilchi .newspaper-ornament-band {
  background-image: url('../patterns/ilchi-ornament.png');
  background-size: clamp(300px, 34vw, 440px) auto;
}

.newspaper-yoldash .newspaper-ornament-band {
  background-image: url('../patterns/ilchi-ornament.png');
  background-size: clamp(300px, 34vw, 440px) auto;
}

.newspaper-hakikat .newspaper-ornament-band {
  background-image: url('../patterns/hakikat-ornament.png');
  background-size: clamp(240px, 28vw, 360px) auto;
}

.newspaper-ornament-band.is-ready {
  visibility: visible;
}

.newspaper-zamana .newspaper-ornament-band.is-ready {
  opacity: 0.16;
}

[data-theme="dark"] .newspaper-zamana .newspaper-ornament-band.is-ready {
  filter: invert(1);
  opacity: 0.11;
}

html:not([data-theme="dark"]) .newspaper-zamana .newspaper-ornament-band.is-ready {
  opacity: 0.2;
}

.newspaper-lezgigazet .newspaper-ornament-band.is-ready {
  mix-blend-mode: multiply;
  opacity: 0.38;
}

html:not([data-theme="dark"]) .newspaper-lezgigazet .newspaper-ornament-band.is-ready {
  opacity: 0.42;
}

[data-theme="dark"] .newspaper-lezgigazet .newspaper-ornament-band.is-ready {
  mix-blend-mode: normal;
  filter: invert(1);
  opacity: 0.11;
}

.newspaper-ilchi .newspaper-ornament-band.is-ready {
  mix-blend-mode: multiply;
  opacity: 0.5;
}

.newspaper-yoldash .newspaper-ornament-band.is-ready {
  mix-blend-mode: multiply;
  opacity: 0.5;
}

html:not([data-theme="dark"]) .newspaper-ilchi .newspaper-ornament-band.is-ready {
  opacity: 0.48;
  filter: grayscale(1) brightness(0.9) contrast(1.12);
}

html:not([data-theme="dark"]) .newspaper-yoldash .newspaper-ornament-band.is-ready {
  opacity: 0.3;
  filter: grayscale(1) brightness(1.05) contrast(1.02);
}

[data-theme="dark"] .newspaper-ilchi .newspaper-ornament-band.is-ready {
  mix-blend-mode: soft-light;
  opacity: 0.28;
  filter: none;
}

[data-theme="dark"] .newspaper-yoldash .newspaper-ornament-band.is-ready {
  mix-blend-mode: soft-light;
  opacity: 0.28;
  filter: none;
}

@media (max-width: 991.98px) {
  .newspaper-yoldash .newspaper-ornament-band {
    display: none !important;
  }
}

.newspaper-hakikat .newspaper-ornament-band.is-ready {
  mix-blend-mode: multiply;
  opacity: 0.5;
}

html:not([data-theme="dark"]) .newspaper-hakikat .newspaper-ornament-band.is-ready {
  opacity: 0.48;
  filter: grayscale(1) brightness(0.9) contrast(1.12);
}

[data-theme="dark"] .newspaper-hakikat .newspaper-ornament-band.is-ready {
  mix-blend-mode: soft-light;
  filter: none;
  opacity: 0.28;
}

.newspaper-zamana main,
.newspaper-zamana .site-footer,
.newspaper-lezgigazet main,
.newspaper-lezgigazet .site-footer,
.newspaper-ilchi main,
.newspaper-ilchi .site-footer,
.newspaper-hakikat main,
.newspaper-hakikat .site-footer,
.newspaper-yoldash main,
.newspaper-yoldash .site-footer {
  position: relative;
  z-index: 1;
}

.newspaper-zamana .section-nav,
.newspaper-lezgigazet .section-nav,
.newspaper-ilchi .section-nav,
.newspaper-hakikat .section-nav,
.newspaper-yoldash .section-nav {
  position: relative;
  z-index: 2;
}

.newspaper-zamana .section-nav .nav-link,
.newspaper-lezgigazet .section-nav .nav-link,
.newspaper-ilchi .section-nav .nav-link,
.newspaper-hakikat .section-nav .nav-link,
.newspaper-yoldash .section-nav .nav-link {
  color: var(--text-primary);
  font-weight: 500;
}

html:not([data-theme="dark"]) .newspaper-zamana .section-nav .nav-link,
html:not([data-theme="dark"]) .newspaper-lezgigazet .section-nav .nav-link,
html:not([data-theme="dark"]) .newspaper-ilchi .section-nav .nav-link,
html:not([data-theme="dark"]) .newspaper-hakikat .section-nav .nav-link,
html:not([data-theme="dark"]) .newspaper-yoldash .section-nav .nav-link {
  color: #2c2c30;
}

.newspaper-zamana .section-nav .nav-link:hover,
.newspaper-lezgigazet .section-nav .nav-link:hover,
.newspaper-ilchi .section-nav .nav-link:hover,
.newspaper-hakikat .section-nav .nav-link:hover,
.newspaper-yoldash .section-nav .nav-link:hover,
.newspaper-zamana .section-nav .nav-link:focus-visible,
.newspaper-lezgigazet .section-nav .nav-link:focus-visible,
.newspaper-ilchi .section-nav .nav-link:focus-visible,
.newspaper-hakikat .section-nav .nav-link:focus-visible,
.newspaper-yoldash .section-nav .nav-link:focus-visible {
  color: var(--accent);
}

.newspaper-ilchi .site-footer,
.newspaper-hakikat .site-footer,
.newspaper-yoldash .site-footer {
  z-index: 2;
  background: var(--bg-primary);
}

.newspaper-zamana .newspaper-description {
  color: var(--text-primary);
}

html:not([data-theme="dark"]) .newspaper-zamana .newspaper-description {
  color: #2c2c30;
}

.newspaper-lezgigazet .newspaper-intro .tagline {
  color: #047857;
}

html:not([data-theme="dark"]) .newspaper-lezgigazet .newspaper-description {
  color: #1a1a1f;
}

[data-theme="dark"] .newspaper-lezgigazet .newspaper-intro .tagline {
  color: #6ee7b7;
}

[data-theme="dark"] .newspaper-lezgigazet .newspaper-description {
  color: #ececf0;
}

.newspaper-ilchi .newspaper-description,
.newspaper-hakikat .newspaper-description {
  color: var(--text-primary);
}

html:not([data-theme="dark"]) .newspaper-ilchi .newspaper-description,
html:not([data-theme="dark"]) .newspaper-hakikat .newspaper-description {
  color: #2c2c30;
}

.newspaper-brand {
  display: flex;
  align-items: center;
  align-self: stretch;
  flex-shrink: 0;
}

.newspaper-brand .logo-placeholder {
  min-height: 64px;
  margin-block: 0;
  padding: 0.35rem 0;
  box-sizing: border-box;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}

.newspaper-logo-img,
.footer-logo-img {
  height: 64px;
  max-height: 64px;
  max-width: min(280px, 70vw);
  width: auto;
  object-fit: contain;
}

.newspaper-brand .logo-placeholder.newspaper-logo--pad {
  padding: 0.45rem 0.75rem;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(18, 22, 32, 0.08);
  overflow: hidden;
}

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

.native-feed-issue {
  display: grid;
  gap: 6px;
  color: inherit;
  font-size: 12px;
  line-height: 1.25;
  text-decoration: none;
}

.native-feed-issue img {
  width: 100%;
  height: 118px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.7);
}

.native-feed-issue span {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

[data-theme="dark"] .newspaper-brand .logo-placeholder.newspaper-logo--pad {
  background: rgba(18, 18, 22, 0.94);
  border-color: rgba(210, 193, 165, 0.28);
}

.newspaper-intro {
  margin-block: 0;
  min-width: 0;
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--bg-primary) 90%, transparent);
  border: 1px solid var(--matte-glass-border);
  backdrop-filter: blur(40px) saturate(1.25);
  -webkit-backdrop-filter: blur(40px) saturate(1.25);
  box-shadow: var(--matte-glass-shadow);
  isolation: isolate;
}

.newspaper-intro__content {
  min-width: 0;
}

.newspaper-intro__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.newspaper-intro .tagline {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

[data-theme="dark"] .newspaper-intro {
  background: color-mix(in srgb, var(--bg-secondary) 88%, transparent);
}

.newspaper-description {
  margin: 0;
  font-size: clamp(0.88rem, 1.2vw, 0.95rem);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: none;
}

.newspaper-social {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border: none;
}

.newspaper-social__links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.35rem;
}

.newspaper-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.85rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--matte-glass-border);
  background: color-mix(in srgb, var(--bg-primary) 82%, transparent);
  color: var(--text-secondary);
  text-decoration: none;
  line-height: 1;
  transition:
    color var(--transition),
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.newspaper-social__link:hover {
  color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--matte-glass-border));
  background: color-mix(in srgb, var(--accent) 8%, var(--bg-primary));
  transform: translateY(-1px);
}

.newspaper-social__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.newspaper-social__icon {
  width: 0.92rem;
  height: 0.92rem;
  flex-shrink: 0;
  display: block;
}

.newspaper-social__max-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
}

.newspaper-social__link--vk:hover {
  color: #0077ff;
  border-color: color-mix(in srgb, #0077ff 35%, var(--matte-glass-border));
  background: color-mix(in srgb, #0077ff 10%, var(--bg-primary));
}

.newspaper-social__link--ok:hover {
  color: #ee8208;
  border-color: color-mix(in srgb, #ee8208 35%, var(--matte-glass-border));
  background: color-mix(in srgb, #ee8208 10%, var(--bg-primary));
}

.newspaper-social__link--max:hover {
  color: #5b4cff;
  border-color: color-mix(in srgb, #5b4cff 35%, var(--matte-glass-border));
  background: color-mix(in srgb, #5b4cff 10%, var(--bg-primary));
}

@media (max-width: 767.98px) {
  .newspaper-intro__head {
    flex-wrap: wrap;
    gap: 0.45rem 0.65rem;
  }

  .newspaper-social {
    margin-left: auto;
  }
}

.footer-logo-img {
  max-height: 48px;
  max-width: 220px;
}

.newspaper-brand h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

.newspaper-brand .tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
}

.newspaper-chrome {
  --page-feed-cols: 4;
  --page-feed-gap: 1rem;
  --newspaper-block-gap: 1.125rem;
}

.section-nav {
  position: relative;
  z-index: 200;
  isolation: isolate;
  overflow: visible;
  padding: 0.65rem 0;
  border-radius: var(--radius-md);
}

.newspaper-chrome .section-nav,
#newspaperPage .section-nav,
#categoryPage .section-nav,
#articlePage .section-nav {
  margin-top: 0;
  margin-bottom: var(--newspaper-edge-gap, 1.125rem);
  padding: 0.65rem 0.85rem;
  background: var(--header-glass-bg);
  backdrop-filter: var(--header-glass-blur);
  -webkit-backdrop-filter: var(--header-glass-blur);
  border: 1px solid var(--header-glass-border);
  box-shadow: var(--header-glass-shadow);
}

.section-nav-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 1.25rem;
  align-items: center;
}

#newspaperPage > .container,
#categoryPage > .container,
#articlePage > .container {
  --page-feed-cols: 4;
  --page-feed-gap: 1rem;
  --newspaper-block-gap: 1.125rem;
  padding-top: 0;
}

.newspaper-chrome .section-nav-inner,
#newspaperPage .section-nav-inner {
  grid-template-columns: repeat(var(--page-feed-cols), minmax(0, 1fr));
  gap: var(--page-feed-gap);
}

.section-nav::-webkit-scrollbar {
  display: none;
}

.section-nav .nav {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  gap: 0.35rem;
  margin-bottom: 0;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.section-nav .nav::-webkit-scrollbar {
  display: none;
}

.section-nav .nav-item {
  flex: 0 0 auto;
}

.newspaper-chrome .section-nav .nav,
#newspaperPage .section-nav .nav {
  grid-column: 1 / -2;
}

#categoryPage .section-nav-inner,
#articlePage .section-nav-inner {
  grid-template-columns: repeat(var(--page-feed-cols), minmax(0, 1fr));
  gap: var(--page-feed-gap);
}

#categoryPage .section-nav .nav,
#articlePage .section-nav .nav {
  grid-column: 1 / -2;
}

#categoryPage .section-search,
#articlePage .section-search {
  grid-column: -2 / -1;
}

.newspaper-chrome .section-search,
#newspaperPage .section-search {
  grid-column: -2 / -1;
}

.newspaper-chrome .section-search,
#newspaperPage .section-search,
#categoryPage .section-search,
#articlePage .section-search {
  background: var(--header-control-bg);
  border-color: var(--header-glass-border);
}

.section-search {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  min-width: 0;
  height: 36px;
  padding: 0 0.85rem;
  box-sizing: border-box;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--glass-bg);
  transition: border-color var(--transition);
}

.section-search:focus-within {
  border-color: var(--accent);
}

.section-search-icon {
  width: 1rem;
  height: 1rem;
  fill: var(--text-muted);
  flex-shrink: 0;
  transition: fill var(--transition);
}

.section-search:focus-within .section-search-icon {
  fill: var(--accent);
}

.section-search-input {
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 0.85rem;
  line-height: 1;
  width: 100%;
  min-width: 0;
  padding: 0;
  outline: none;
}

.section-search-input::placeholder {
  color: var(--text-muted);
}

@media (max-width: 767.98px) {
  .section-nav-inner {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

.section-nav .nav-link {
  white-space: nowrap;
  font-size: 0.82rem;
  border: 1px solid transparent;
  padding: 0.4rem 0.68rem !important;
}

.section-nav .nav-link.active {
  background: var(--accent);
  color: #fff !important;
  border-color: var(--accent);
}

.section-nav .nav-link--special {
  border-width: 0.5px;
  border-color: #c62828;
}

.section-nav .nav-link--special.active {
  border-color: #ef9a9a;
}

[data-theme="dark"] .section-nav .nav-link--special {
  border-color: #ef5350;
}

[data-theme="dark"] .section-nav .nav-link--special.active {
  border-color: #ff8a80;
}

.nav-item-dropdown {
  position: relative;
  z-index: 201;
}

.special-dropdown-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 340px;
  width: max-content;
  max-width: min(420px, calc(100vw - 2rem));
  border-radius: var(--radius-md);
  padding: 0.35rem 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  z-index: 202;
}

.special-dropdown-panel.is-open {
  visibility: visible;
  pointer-events: auto;
}

.special-dropdown-item {
  display: block;
  padding: 0.85rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition), color var(--transition);
}

.special-dropdown-item:last-child {
  border-bottom: none;
}

.special-dropdown-item:hover,
.special-dropdown-item.active {
  background: var(--hover-bg);
  color: var(--text-primary);
}

.special-dropdown-item.active {
  font-weight: 500;
}

.special-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.85rem;
}

.special-overview-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: transform var(--transition), box-shadow var(--transition);
}

.special-overview-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-dropdown);
}

.special-overview-arrow {
  color: var(--accent);
  font-size: 1rem;
}

.category-hero-plain {
  background: var(--hero-plain-bg);
  color: var(--text-primary);
}

.category-hero-plain .banner-section {
  background: var(--hero-plain-badge);
  color: var(--text-secondary);
}

.category-hero-plain h2 {
  color: var(--text-primary);
}

.category-hero-plain p {
  color: var(--text-secondary);
  opacity: 1;
}

.hero-row {
  --hero-row-base-height: clamp(811px, 90.5vw, 1030px);
  --hero-row-height: var(--hero-row-base-height);
  --hero-card-row-height: 159px;
  --hero-cards-height: calc(var(--hero-card-row-height) * 2 + 0.75rem);
  --hero-base-banner-height: calc(var(--hero-row-base-height) - var(--hero-cards-height) - 0.75rem);
  --hero-banner-height: var(--hero-base-banner-height);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: stretch;
}

.hero-row--short-banner {
  --hero-banner-height: calc(var(--hero-base-banner-height) * 0.8);
  --hero-row-height: calc(var(--hero-row-base-height) - var(--hero-base-banner-height) * 0.2);
}

.hero-row--extended-cards {
  --hero-cards-height: calc(var(--hero-card-row-height) * 3 + 0.75rem * 2);
  --hero-banner-height: var(--hero-base-banner-height);
  --hero-row-height: calc(var(--hero-banner-height) + var(--hero-cards-height) + 0.75rem);
  --hero-native-feed-height: var(--hero-banner-height);
  --hero-print-height: var(--hero-cards-height);
}

.hero-row--extended-cards .hero-cards {
  grid-template-rows: repeat(3, var(--hero-card-row-height));
}

.hero-row--extended-cards .hero-row__banner.banner-carousel {
  flex: 0 0 var(--hero-banner-height);
  max-height: var(--hero-banner-height);
}

.hero-row--extended-cards .hero-row__feed.native-feed {
  flex: 0 0 var(--hero-native-feed-height);
  height: var(--hero-native-feed-height);
  max-height: var(--hero-native-feed-height);
}

.hero-row--extended-cards .hero-row__side-slot {
  flex: 0 0 var(--hero-print-height);
  height: var(--hero-print-height);
  max-height: var(--hero-print-height);
  margin-top: 0;
}

#newspaperPage .hero-row {
  grid-template-columns: repeat(var(--page-feed-cols), minmax(0, 1fr));
  gap: var(--page-feed-gap);
}

.hero-row__main {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: var(--hero-row-height);
  min-width: 0;
  min-height: 0;
}

#newspaperPage .hero-row__main {
  grid-column: 1 / -2;
}

.hero-row__side {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  height: var(--hero-row-height);
  min-width: 0;
  min-height: 0;
}

#newspaperPage .hero-row__side {
  grid-column: -2 / -1;
}

#newspaperPage .hero-row--feed-first {
  grid-template-columns: repeat(var(--page-feed-cols), minmax(0, 1fr));
  grid-template-rows: var(--hero-banner-height) var(--hero-cards-height);
  grid-template-areas:
    "feed banner banner banner"
    "print cards cards cards";
}

#newspaperPage .hero-row--feed-first .hero-row__main,
#newspaperPage .hero-row--feed-first .hero-row__side {
  display: contents;
}

#newspaperPage .hero-row--feed-first #nativeFeedSection {
  grid-area: feed;
  min-height: 0;
}

#newspaperPage .hero-row--feed-first #bannerSection {
  grid-area: banner;
  height: 100% !important;
  min-height: 0;
  margin-bottom: 0;
}

#newspaperPage .hero-row--feed-first #heroCards {
  grid-area: cards;
}

#newspaperPage .hero-row--feed-first #heroSideSlot {
  grid-area: print;
  min-height: 0;
  height: 100%;
}

.hero-row__feed.native-feed {
  flex: 0 0 var(--hero-banner-height);
  height: var(--hero-banner-height);
  max-height: var(--hero-banner-height);
  min-width: 0;
}

.hero-row__side-slot {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.print-edition {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  height: 100%;
  min-height: 0;
  padding: 0.65rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.print-edition-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0;
  flex-shrink: 0;
}

.print-edition-link {
  flex: 1;
  min-height: 0;
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.print-edition-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.print-edition-cover {
  height: 100%;
  background: #fff;
}

.print-edition-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.print-page {
  padding: 2rem 0 4rem;
}

.print-page-head {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  grid-template-areas:
    "topbar heading";
  align-items: end;
  gap: 1rem;
  margin: 0 0 1.4rem;
}

.print-page-heading {
  grid-area: heading;
  min-width: 0;
  padding-left: clamp(0.4rem, 1.2vw, 1rem);
}

.print-page-back {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.35rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.print-page-back:hover {
  color: var(--text-primary);
}

.print-page-head h1 {
  margin: 0 0 0.65rem;
  color: var(--text-primary);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 760;
  letter-spacing: -0.02em;
}

.print-page-head p:not(.section-label) {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.55;
}

.print-page-topbar {
  grid-area: topbar;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
  min-width: 0;
}

.print-page-filter-row {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: end;
  gap: 0.75rem;
}

.print-page-count {
  flex: 0 0 auto;
  min-height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.85rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--glass-bg-strong);
  color: var(--text-primary);
  font-size: 0.84rem;
  font-weight: 800;
}

.print-page-shell {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 1rem;
  min-height: 820px;
  padding: 1rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.print-page-nav,
.print-page-main {
  min-height: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  overflow: hidden;
}

.print-page-nav {
  display: flex;
  flex-direction: column;
}

.print-page-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.print-page-panel-head strong {
  color: var(--text-primary);
  font-size: 0.84rem;
}

.print-page-year-filter {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 0.25rem;
  flex: 1 1 auto;
}

.print-page-year-filter span {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.print-page-year-filter select {
  width: 100%;
  min-height: 2.2rem;
  padding: 0 2rem 0 0.75rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--glass-bg-strong);
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 700;
}

.print-page-nav-list {
  min-height: 0;
  overflow: auto;
  padding: 0.7rem;
  flex: 1 1 auto;
}

.print-page-nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 2.6rem;
  padding: 0.42rem 0.72rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-primary);
  font-weight: 650;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.print-page-nav-item span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.print-page-nav-item + .print-page-nav-item {
  margin-top: 0.24rem;
}

.print-page-nav-item small {
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.print-page-empty {
  padding: 0.8rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.print-page-nav-item:hover,
.print-page-nav-item.is-active {
  background: rgba(var(--brand-glow-rgb), 0.12);
  border-color: rgba(var(--brand-glow-rgb), 0.28);
  transform: translateX(2px);
}

.print-page-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  padding: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.print-page-pagination:empty {
  display: none;
}

.print-page-page-button {
  min-width: 2.1rem;
  height: 2.1rem;
  padding: 0 0.55rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.72);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.print-page-page-ellipsis {
  min-width: 1.6rem;
  height: 2.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.print-page-page-button:hover,
.print-page-page-button.is-active {
  background: rgb(var(--brand-glow-rgb));
  border-color: rgb(var(--brand-glow-rgb));
  color: #fff;
}

.print-page-page-button:disabled {
  cursor: default;
  opacity: 0.42;
}

.print-page-page-button:disabled:hover {
  background: rgba(255,255,255,0.72);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

[data-theme="dark"] .print-page-page-button {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
}

[data-theme="dark"] .print-page-page-button:hover,
[data-theme="dark"] .print-page-page-button.is-active {
  background: rgb(var(--brand-glow-rgb));
  border-color: rgb(var(--brand-glow-rgb));
  color: #fff;
}

[data-theme="dark"] .print-page-page-button:disabled {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  opacity: 0.55;
}

[data-theme="dark"] .print-page-page-button:disabled:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.print-page-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 2.4vw, 1.8rem);
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--brand-glow-rgb), 0.18), transparent 34%),
    var(--bg-secondary);
}

.print-page-current {
  width: min(760px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.print-page-current-kicker {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.print-page-cover-button {
  width: min(620px, 100%);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.print-page-cover-frame {
  display: block;
  aspect-ratio: 3 / 4;
  padding: 0.85rem;
  border-radius: calc(var(--radius-md) + 0.35rem);
  background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(255,255,255,0.56));
  border: 1px solid rgba(var(--brand-glow-rgb), 0.24);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.print-page-cover-button:hover .print-page-cover-frame {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-strong);
  border-color: rgba(var(--brand-glow-rgb), 0.48);
}

.print-page-cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
  border-radius: var(--radius-sm);
}

.print-page-current-meta {
  width: min(760px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--glass-bg-strong);
  text-align: left;
}

.print-page-current-meta h2 {
  margin: 0 0 0.2rem;
  color: var(--text-primary);
  font-size: 1.15rem;
  font-weight: 720;
}

.print-page-current-meta p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.print-page-pdf-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0 1rem;
  border-radius: var(--radius-sm);
  background: rgb(var(--brand-glow-rgb));
  color: #fff;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
}

.print-page-language-links {
  width: min(760px, 100%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: -0.25rem;
}

.print-page-language-links[hidden] {
  display: none;
}

.print-page-language-links a {
  display: inline-flex;
  align-items: center;
  min-height: 1.95rem;
  padding: 0 0.65rem;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  color: var(--text-primary);
  background: var(--glass-bg);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 650;
}

@media (max-width: 820px) {
  .print-page-head {
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "topbar";
  }

  .print-page-heading {
    padding-left: 0;
  }

  .print-page-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .print-page-nav-list {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
  }

  .print-page-pagination {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .print-page-nav-item {
    width: auto;
    min-width: 120px;
    flex: 0 0 auto;
  }

  .print-page-nav-item + .print-page-nav-item {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .print-page {
    padding-top: 1.25rem;
  }

  .print-page-topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .print-page-shell {
    padding: 0.65rem;
  }

  .print-page-current-meta {
    flex-direction: column;
    align-items: stretch;
  }

  .print-page-pdf-link {
    width: 100%;
  }
}

.hero-row__banner.banner-carousel {
  flex: 1 1 0;
  min-height: 0;
  height: auto !important;
  margin-bottom: 0;
}

.hero-row__banner .carousel,
.hero-row__banner .carousel-inner,
.hero-row__banner .carousel-item,
.hero-row__banner .banner-slide {
  height: 100%;
}

.hero-cards {
  flex: 0 0 var(--hero-cards-height);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, var(--hero-card-row-height));
  gap: 0.75rem;
  min-height: 0;
}

.hero-row--compact-cards {
  --hero-cards-height: calc(var(--hero-card-row-height) * 3 + 1.5rem);
}

.hero-row--compact-cards .hero-cards {
  grid-template-rows: repeat(3, var(--hero-card-row-height));
}

.hero-row--vertical-cards {
  --hero-cards-height: calc(var(--hero-card-row-height) * 3 + 1.5rem);
}

.hero-cards.hero-cards--vertical {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: var(--page-feed-gap, 1rem);
}

.hero-row--vertical-cards .hero-cards--vertical .photo-report-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.hero-row--vertical-cards .hero-cards--vertical .photo-report-image {
  flex: 0 0 auto;
  aspect-ratio: 5 / 3;
}

.hero-row--vertical-cards .hero-cards--vertical .photo-report-caption {
  flex-shrink: 0;
  padding: 0.5rem 0.65rem;
}

.hero-row--featured-cards {
  --hero-featured-card-height: calc(96px + 1.1rem);
  --hero-cards-height: calc(var(--hero-featured-card-height) * 3 + var(--page-feed-gap, 1rem) * 2);
}

.hero-cards.hero-cards--featured {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  align-content: start;
  gap: var(--page-feed-gap, 1rem);
}

.hero-cards.hero-cards--featured .featured-feed-item {
  height: auto;
  align-self: start;
}

.hero-cards.hero-cards--featured .featured-feed-item h4 {
  -webkit-line-clamp: 4;
}

.hero-cards.hero-cards--featured .featured-feed-meta {
  padding-top: 0.35rem;
}

.hero-row--stack-cards {
  --hero-stack-cols: 3;
  --hero-cards-height: calc(var(--hero-card-row-height) * 2 + 0.75rem);
}

.hero-row--stack-cards .hero-stack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--page-feed-gap, 1rem);
  min-height: 0;
}

.hero-row--no-banner .hero-stack-grid:not(.hero-stack-grid--bottom) {
  flex: 1 1 0;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.hero-stack-grid--bottom {
  flex: 0 0 var(--hero-cards-height);
  grid-template-rows: minmax(0, 1fr);
}

.hero-row--stack-2col.hero-row--feed-first {
  --hero-stack-card-row-height: calc(
    (var(--hero-row-base-height) - var(--page-feed-gap, 1rem) * 3) / 4
  );
  --hero-banner-height: calc(var(--hero-stack-card-row-height) * 3 + var(--page-feed-gap, 1rem) * 2);
  --hero-cards-height: var(--hero-stack-card-row-height);
}

.hero-row--stack-banner.hero-row--stack-2col {
  --hero-stack-card-row-height: calc(
    (var(--hero-base-banner-height) - var(--page-feed-gap, 1rem) * 2) / 3
  );
  --hero-banner-height: var(--hero-base-banner-height);
}

.hero-row--stack-banner .hero-row__banner.hero-stack-grid {
  margin-bottom: 0;
}

.hero-row--hero-banner .hero-row__banner.hero-cards--banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  flex: 0 0 var(--hero-base-banner-height);
  height: var(--hero-base-banner-height);
  max-height: var(--hero-base-banner-height);
  min-height: 0;
  margin-bottom: 0;
}

.hero-row--hero-banner .hero-row__banner.hero-cards--banner .hero-card {
  min-height: 0;
}

.hero-row--stack-2col .hero-stack-grid:not(.hero-stack-grid--bottom) {
  display: grid;
  gap: var(--page-feed-gap, 1rem);
  flex: 0 0 var(--hero-banner-height);
  height: var(--hero-banner-height);
  max-height: var(--hero-banner-height);
  min-height: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, var(--hero-stack-card-row-height));
}

.hero-row--stack-2col .hero-stack-grid--bottom {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: var(--hero-stack-card-row-height);
  flex: 0 0 var(--hero-cards-height);
  height: var(--hero-cards-height);
  max-height: var(--hero-cards-height);
}

.hero-row--stack-2col .hero-stack-grid .photo-report-card {
  display: block;
  position: relative;
  height: 100%;
  overflow: hidden;
}

.hero-row--stack-2col .hero-stack-grid .photo-report-image {
  position: absolute;
  inset: 0;
  flex: none;
  aspect-ratio: unset;
  background-size: cover;
  background-position: center;
}

.hero-row--stack-2col .hero-stack-grid .photo-report-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 65%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.94) 0%,
    rgba(0, 0, 0, 0.78) 38%,
    rgba(0, 0, 0, 0.35) 72%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-row--stack-2col .hero-stack-grid .photo-report-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 2rem 0.6rem 0.55rem;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55) 0%,
    transparent 100%
  );
  flex: none;
}

.hero-row--stack-2col .hero-stack-grid .photo-report-caption h4 {
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.32;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 1px rgba(0, 0, 0, 0.95);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-row--stack-2col .hero-stack-grid .photo-report-caption .news-card-meta {
  margin-top: 0.2rem;
  padding-top: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.68rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
}

.hero-row--stack-cards .hero-stack-grid .photo-report-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.hero-row--stack-cards .hero-stack-grid .photo-report-image {
  flex: 1 1 auto;
  width: 100%;
  min-width: 100%;
  min-height: 0;
  aspect-ratio: unset;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-row--stack-cards .hero-stack-grid .photo-report-card.glass > .photo-report-image:first-child {
  width: calc(100% + 2px);
  min-width: calc(100% + 2px);
  margin: -1px -1px 0;
}

.hero-row--stack-cards .hero-stack-grid .photo-report-caption {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 0.5rem 0.65rem 0.6rem;
}

.hero-row--stack-cards .hero-stack-grid .photo-report-excerpt {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--text-secondary);
  flex: 1 1 auto;
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-row--stack-cards .hero-stack-grid .photo-report-caption .news-card-meta {
  margin-top: auto;
  padding-top: 0.35rem;
  flex-shrink: 0;
}

.hero-card {
  display: flex;
  gap: 0.75rem;
  padding: 0.65rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 0;
  height: 100%;
  color: inherit;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.hero-card-thumb {
  width: 224px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  align-self: stretch;
}

.hero-card-thumb--logo {
  width: 224px;
  flex: 0 0 224px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d1d5db;
}

.hero-card-thumb--logo .media-thumb-bg {
  display: none;
}

.hero-card-thumb.hero-card-thumb--logo .media-thumb-img {
  inset: 25% auto auto 25%;
  width: 50%;
  height: 50%;
  opacity: 0.4;
}

.photo-report-image--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d1d5db;
}

.photo-report-image.photo-report-image--logo .media-thumb-img {
  inset: 25% auto auto 25%;
  width: 50%;
  height: 50%;
  opacity: 0.4;
}

.featured-feed-thumb--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d1d5db;
}

.featured-feed-thumb.featured-feed-thumb--logo .media-thumb-img {
  inset: 25% auto auto 25%;
  width: 50%;
  height: 50%;
  opacity: 0.4;
}

.category-hero-image--logo,
.article-latest-thumb--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d1d5db;
}

.category-hero-image.category-hero-image--logo .media-thumb-img,
.article-latest-thumb.article-latest-thumb--logo .media-thumb-img {
  inset: 25% auto auto 25%;
  width: 50%;
  height: 50%;
  opacity: 0.4;
}

.hero-card-thumb,
.featured-feed-thumb,
.photo-report-image,
.category-hero-image,
.article-latest-thumb {
  position: relative;
  display: block;
  overflow: hidden;
}

.hero-card-thumb .media-thumb-bg,
.featured-feed-thumb .media-thumb-bg,
.photo-report-image .media-thumb-bg,
.category-hero-image .media-thumb-bg,
.article-latest-thumb .media-thumb-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(10px);
  transform: scale(1.12);
}

.hero-card-thumb .media-thumb-img,
.featured-feed-thumb .media-thumb-img,
.photo-report-image .media-thumb-img,
.category-hero-image .media-thumb-img,
.article-latest-thumb .media-thumb-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.hero-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.2rem;
  padding: 0.1rem 0;
  overflow: hidden;
}

.hero-card-section {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  line-height: 1.2;
  flex-shrink: 0;
}

.hero-card-body h4 {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.32;
  margin: 0;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-card-excerpt {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.36;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1 1 auto;
  min-height: 0;
}

html:not([data-theme="dark"]) .hero-card-excerpt {
  color: #5a5a5f;
}

.hero-card-body .news-card-meta {
  font-size: 0.72rem;
  margin-top: auto;
  padding-top: 0.32rem;
  flex-shrink: 0;
  line-height: 1.2;
}

.native-feed {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 0;
}

.native-feed-header {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.native-feed-header h3 {
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text-primary);
}

.native-feed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.native-feed-item {
  border-bottom: 1px solid var(--border-subtle);
}

.native-feed-item:last-child {
  border-bottom: none;
}

.native-feed-link {
  display: block;
  padding: 0.9rem 1.15rem;
  transition: background var(--transition);
}

.native-feed-link:hover {
  background: var(--hover-bg);
}

.native-feed-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.native-feed-meta {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.native-feed-pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  padding: 0.65rem 1.15rem;
  border-top: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.native-feed-pagination__link,
.article-latest-pagination__link {
  display: inline-flex;
  width: 1.8rem;
  height: 1.8rem;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.native-feed-pagination__link:not(.is-disabled):hover,
.article-latest-pagination__link:not(.is-disabled):hover {
  background: var(--hover-bg);
}

.native-feed-pagination__link.is-current,
.article-latest-pagination__link.is-current {
  background: var(--hover-bg);
  color: var(--accent);
}

.native-feed-pagination__ellipsis,
.article-latest-pagination__ellipsis {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.banner-carousel {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
  height: clamp(336px, 54vw, 576px);
  padding: 0;
}

.banner-carousel.hero-row__banner {
  height: clamp(599px, 71.2vw, 862px);
}

.featured-news,
.news-section,
.category-hero {
  position: relative;
  z-index: 1;
}

.banner-carousel .carousel,
.banner-carousel .carousel-inner {
  height: 100%;
}

.banner-carousel .carousel-item,
.banner-carousel .banner-slide {
  height: 100%;
  min-height: 100%;
}

.banner-carousel .carousel-item {
  position: relative;
}

.banner-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.banner-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.banner-slide-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.banner-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  filter: blur(14px);
  transform: scale(1.08);
}

.banner-slide--logo {
  background: #d1d5db;
}

.banner-slide--logo .banner-slide-img {
  inset: 25%;
  width: 50%;
  height: 50%;
  opacity: 0.4;
}

.banner-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.1) 100%);
  pointer-events: none;
}

.banner-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  z-index: 2;
  color: #fff;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.banner-section {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  align-self: flex-start;
  flex: 0 0 auto;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  margin-bottom: 0.75rem;
}

.banner-content h2 {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  max-width: 700px;
}

.banner-meta {
  font-size: 0.85rem;
  opacity: 0.85;
}

.carousel-control-prev,
.carousel-control-next {
  width: 48px;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  opacity: 1;
  margin: 0 1rem;
}

.carousel-indicators {
  margin-bottom: 1rem;
}

.carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--carousel-dot);
}

.carousel-indicators .active {
  background: var(--carousel-dot-active);
}

.news-section {
  margin-bottom: 2.5rem;
}

.news-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.news-section-header h2 {
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0;
}

.news-section-header .view-all {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  transition: opacity var(--transition);
}

.news-section-header .view-all:hover {
  opacity: 0.75;
}

.category-hero-wrap {
  margin-bottom: 2rem;
}

.category-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 384px;
  display: block;
}

.category-hero--linked {
  color: inherit;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.category-hero--linked:hover {
  color: inherit;
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.category-hero-cta {
  display: inline-flex;
  margin-top: 0.85rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}

.category-hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.category-hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0.15) 100%);
}

.category-hero-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem 2rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 384px;
}

.category-hero-content h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  max-width: 720px;
}

.category-hero-content p {
  font-size: 0.95rem;
  opacity: 0.9;
  max-width: 640px;
  margin-bottom: 0.75rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.news-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.news-card-image {
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
}

.news-card-body {
  padding: 1.15rem;
}

.news-card-body h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-body p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.featured-news {
  margin-bottom: 2.5rem;
}

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

#newspaperPage .featured-grid,
#categoryPage .featured-grid {
  grid-template-columns: repeat(var(--page-feed-cols), minmax(0, 1fr));
  gap: var(--page-feed-gap);
}

#featuredSection .featured-feed-item h4 {
  -webkit-line-clamp: 4;
}

#categoryPage .featured-feed-item h4 {
  -webkit-line-clamp: 4;
}

#featuredSection .featured-feed-meta {
  padding-top: 0.35rem;
}

.featured-grid__column {
  display: flex;
  flex-direction: column;
  gap: var(--page-feed-gap, 1rem);
  min-width: 0;
}

.featured-grid--zamana .featured-grid__promos {
  display: flex;
  flex-direction: column;
  gap: var(--page-feed-gap, 1rem);
  align-self: stretch;
}

#newspaperPage .featured-grid--promos-right,
.featured-grid--promos-right {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.featured-grid--zamana .featured-grid__promos .zamana-promo-banner {
  display: flex;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  border-radius: calc(var(--radius-md) / 2);
  position: relative;
  isolation: isolate;
  background: #fff;
  transition: transform var(--transition), box-shadow var(--transition);
}

.zamana-promo-banner--placeholder {
  min-height: 10rem;
  border: 1px dashed rgba(var(--brand-glow-rgb), 0.38);
  background: rgba(var(--brand-glow-rgb), 0.08);
  color: var(--text-muted);
  display: grid !important;
  place-items: center;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
}

.featured-grid--zamana .featured-grid__promos .zamana-promo-banner:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.featured-grid--zamana .featured-grid__promos .zamana-promo-banner img {
  width: 100%;
  height: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: block;
  position: relative;
  z-index: 1;
  object-fit: contain;
  object-position: center;
}

.category-feed {
  margin-bottom: 2.5rem;
}

.category-feed .news-section-header h2 {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0;
}

.category-feed-empty {
  margin: 0;
  font-size: 0.9rem;
}

.category-filter-disclosure {
  margin-bottom: 1.125rem;
  display: none;
}

.category-filter-disclosure summary {
  display: none;
}

.category-filter-tags {
  margin-bottom: 18px;
}

.category-articles-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.category-articles-main {
  min-width: 0;
}

.category-brief-grid {
  display: grid;
  grid-template-columns: repeat(var(--page-feed-cols), minmax(0, 1fr));
  column-gap: 1.25rem;
  row-gap: 0.9rem;
  margin: 0;
  padding: 1rem 0 0;
  list-style: none;
  border-top: 1px solid var(--border-subtle);
}

.category-brief-cell {
  min-width: 0;
  padding: 0;
}

.category-brief-link {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition);
}

.category-brief-link:hover {
  color: inherit;
  opacity: 0.82;
}

.category-brief-title {
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.38;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-brief-meta {
  font-size: 0.72rem;
  line-height: 1.3;
  color: var(--text-muted);
}

.featured-feed-item,
a.featured-feed-item {
  border-radius: var(--radius-md);
  padding: 0.55rem;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.55rem;
  min-height: 0;
  color: inherit;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.featured-feed-item:hover,
a.featured-feed-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  color: inherit;
}

.featured-feed-thumb {
  width: 96px;
  min-height: 96px;
  align-self: stretch;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.featured-feed-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.3rem;
  padding: 0.1rem 0;
}

.featured-feed-item h4 {
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-feed-excerpt {
  flex: 1;
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.42;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-feed-meta {
  margin-top: auto;
  flex-shrink: 0;
}

html:not([data-theme="dark"]) .featured-feed-excerpt {
  color: #5a5a5f;
}

.photo-report {
  margin-bottom: 2.5rem;
}

.photo-report-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: 1rem;
}

#newspaperPage .photo-report-grid {
  grid-template-columns: repeat(var(--page-feed-cols), minmax(0, 1fr));
  gap: var(--page-feed-gap);
}

.photo-report-card {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.photo-report-card.glass > .photo-report-image:first-child {
  width: calc(100% + 2px);
  min-width: calc(100% + 2px);
  margin: -1px -1px 0;
}

.photo-report-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.photo-report-image {
  width: 100%;
  max-width: 100%;
  display: block;
  aspect-ratio: 5 / 3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.photo-report-caption {
  padding: 0.5rem 0.65rem;
}

.photo-report-caption h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  line-height: 1.35;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.subscribe-cta-wrap {
  margin-bottom: 2rem;
}

.zamana-promo-carousel {
  position: relative;
}

.zamana-promo-row {
  display: flex;
  gap: var(--page-feed-gap, 1rem);
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.zamana-promo-row::-webkit-scrollbar {
  display: none;
}

.zamana-promo-row .zamana-promo-banner {
  display: flex;
  flex: 0 0 calc((100% - (var(--page-feed-gap, 1rem) * 3)) / 4);
  aspect-ratio: 9 / 4;
  overflow: hidden;
  border-radius: calc(var(--radius-md) / 2);
  border: 0;
  position: relative;
  isolation: isolate;
  background: #fff;
  transition: transform var(--transition), box-shadow var(--transition);
  min-height: 0;
  align-self: stretch;
  scroll-snap-align: start;
}

.zamana-promo-banner[style*="--promo-image"]::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(--promo-image);
  background-size: cover;
  background-position: center;
  filter: blur(10px) saturate(1.35);
  opacity: 0.92;
  transform: scale(1.08);
}

.zamana-promo-banner[style*="--promo-image"]::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.06);
}

.zamana-promo-row .zamana-promo-banner:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.zamana-promo-row .zamana-promo-banner img {
  width: 100%;
  height: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: block;
  position: relative;
  z-index: 1;
  object-fit: contain;
  object-position: center;
}

.zamana-promo-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  background: var(--glass-bg);
  color: var(--text-primary);
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}

.zamana-promo-nav:hover:not(:disabled) {
  background: var(--hover-bg);
  transform: translateY(-50%) scale(1.04);
}

.zamana-promo-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.zamana-promo-nav[hidden] {
  display: none;
}

.zamana-promo-nav span {
  display: block;
  font-size: 1.65rem;
  line-height: 1;
  margin-top: -0.1rem;
}

.zamana-promo-nav--prev {
  left: -1.125rem;
}

.zamana-promo-nav--next {
  right: -1.125rem;
}

@media (max-width: 991.98px) {
  .zamana-promo-row .zamana-promo-banner {
    flex-basis: calc((100% - var(--page-feed-gap, 1rem)) / 2);
  }
}

@media (max-width: 575.98px) {
  .zamana-promo-row .zamana-promo-banner {
    flex-basis: 100%;
  }
}

.edition-authors {
  margin-bottom: 2.5rem;
}

.edition-authors-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, auto);
  gap: 1rem;
}

#newspaperPage .edition-authors-grid {
  grid-template-columns: repeat(var(--page-feed-cols), minmax(0, 1fr));
  gap: var(--page-feed-gap);
}

.edition-authors .author-card {
  padding: 1rem 0.75rem 0.85rem;
}

.edition-authors .author-card-avatar {
  width: 88px;
  height: 88px;
  margin-bottom: 0.75rem;
}

.edition-authors .author-card-name {
  font-size: 0.9rem;
}

.edition-authors .author-card-role {
  font-size: 0.75rem;
}

.site-footer {
  margin-top: 4rem;
  padding: 2.75rem 0 1.75rem;
  border-top: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--glass-bg) 55%, transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) minmax(180px, 0.85fr) minmax(240px, 1fr);
  gap: 2rem 3rem;
  margin-bottom: 2rem;
  align-items: start;
}

.footer-col--brand {
  max-width: 420px;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 0.85rem;
  line-height: 0;
}

.footer-holding-logo {
  max-width: 200px;
  width: 100%;
  height: auto;
  display: block;
}

.footer-holding-logo--light {
  display: none;
}

html:not([data-theme="dark"]) .footer-holding-logo--dark {
  display: none;
}

html:not([data-theme="dark"]) .footer-holding-logo--light {
  display: block;
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0 0 1rem;
}

.footer-edition-logo {
  display: inline-flex;
  margin-top: 0.25rem;
}

.footer-edition-logo .footer-logo-img {
  max-height: 40px;
}

.footer-heading {
  font-size: 0.72rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 0.85rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: rgb(var(--brand-glow-rgb));
}

.footer-contact {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.footer-contact a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-contact a:hover {
  color: rgb(var(--brand-glow-rgb));
}

.footer-contact li + li {
  margin-top: 0.35rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-extra-text {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: center;
}

.footer-metrika {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-left: auto;
  min-height: 31px;
}

.footer-metrika img {
  display: block;
  max-width: 100%;
  height: auto;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--text-secondary);
}

@media (max-width: 991.98px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .site-footer {
    padding: 2rem 0 1.5rem;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem 0.5rem;
    margin-bottom: 1.5rem;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
    max-width: none;
  }

  .footer-holding-logo {
    max-width: 160px;
  }

  .footer-tagline {
    font-size: 0.78rem;
    margin-bottom: 0.75rem;
  }

  .footer-heading {
    font-size: 0.58rem;
    letter-spacing: 0.06em;
    margin-bottom: 0.45rem;
  }

  .footer-links {
    gap: 0.3rem;
  }

  .footer-links a,
  .footer-contact {
    font-size: 0.68rem;
    line-height: 1.35;
  }

  .footer-contact li + li {
    margin-top: 0.25rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding-top: 1.25rem;
  }

  .footer-legal a {
    font-size: 0.72rem;
  }

  .footer-metrika {
    margin-left: 0;
    justify-content: flex-start;
  }
}

.about-page {
  --about-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  padding: 2.5rem 0 3.5rem;
}

.about-hero {
  margin-bottom: 2rem;
}

.about-hero-title {
  font-family: var(--about-serif);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.65rem;
  color: var(--text-primary);
}

.about-hero-subtitle {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 36rem;
}

.about-mission {
  --mission-line: 28px;
  --mission-lines-inset: 1.25rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: var(--mission-lines-inset) clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 2.5rem;
}

.about-mission::before {
  content: none;
}

.about-mission > * {
  position: relative;
  z-index: 1;
}

.about-mission-title {
  font-family: var(--about-serif);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--text-primary);
}

.about-mission-text {
  width: 100%;
  max-width: none;
  font-size: 1rem;
  line-height: var(--mission-line);
  color: var(--text-secondary);
  text-align: justify;
  hyphens: auto;
}

.about-mission-text p {
  margin: 0 0 var(--mission-line);
}

.about-mission-text p:last-child {
  margin-bottom: 0;
}

.about-stats-wrap {
  width: 100%;
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 4vw, 2.5rem);
  margin-bottom: 3rem;
}

.about-stats {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  width: 100%;
  margin: 0;
}

.about-stat {
  flex: 0 0 auto;
  text-align: left;
}

.about-stat-value {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin: 0 0 0.4rem;
  color: var(--text-primary);
}

.about-stat-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.about-team-section {
  margin-bottom: 0;
}

.about-section-title {
  font-family: var(--about-serif);
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  color: var(--text-primary);
}

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

.about-team-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.15rem 1.1rem;
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.about-team-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.about-team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(var(--brand-glow-rgb), 0.45);
}

.about-team-body {
  min-width: 0;
}

.about-team-name {
  font-family: var(--about-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.3rem;
  color: var(--text-primary);
  line-height: 1.25;
}

.about-team-role {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.3;
}

html:not([data-theme="dark"]) .about-stat-label,
html:not([data-theme="dark"]) .about-team-role {
  color: #5a5a5f;
}

html:not([data-theme="dark"]) .about-team-bio {
  color: #4a4a4f;
}

.about-team-bio {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 991.98px) {
  .about-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 2rem;
  }

  .about-stat {
    flex: 1 1 auto;
  }

  .about-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1rem;
  }

  .about-team-grid {
    grid-template-columns: 1fr;
  }
}

.contacts-page {
  --contacts-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  padding: 3.5rem 0 3.5rem;
}

.contacts-hero {
  margin-bottom: 2.25rem;
}

.contacts-eyebrow {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contacts-hero-title {
  font-family: var(--contacts-serif);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0 0 0.6rem;
}

.contacts-hero-subtitle {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-secondary);
  max-width: 36rem;
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 1.35rem;
  align-items: stretch;
  margin-bottom: 2rem;
}

.contacts-info,
.contacts-form-panel {
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
}

.contacts-panel-title {
  font-family: var(--contacts-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text-primary);
}

.contacts-panel-lead {
  margin: 0 0 1.35rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

html:not([data-theme="dark"]) .contacts-panel-lead,
html:not([data-theme="dark"]) .contacts-item-label,
html:not([data-theme="dark"]) .contacts-field-label,
html:not([data-theme="dark"]) .contacts-hours-text,
html:not([data-theme="dark"]) .contacts-consent {
  color: #5a5a5f;
}

.contacts-list {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contacts-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.contacts-item:last-child {
  border-bottom: none;
}

.contacts-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: rgba(210, 193, 165, 0.18);
  border: 1px solid rgba(210, 193, 165, 0.34);
  color: #d2c1a5;
}

.contacts-item-icon i {
  font-size: 0.98rem;
  line-height: 1;
}

.contacts-item-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.contacts-item-value {
  display: block;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-primary);
}

.contacts-item-link {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition);
}

.contacts-item-link:hover {
  color: rgb(var(--brand-glow-rgb));
}

.contacts-hours {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.contacts-hours-text {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contacts-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contacts-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.contacts-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.contacts-field-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contacts-field input,
.contacts-field select,
.contacts-field textarea {
  width: 100%;
  border: 1px solid var(--matte-glass-border);
  border-radius: var(--radius-sm);
  background: var(--header-control-bg);
  color: var(--text-primary);
  font-size: 0.9rem;
  line-height: 1.4;
  padding: 0.65rem 0.85rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.contacts-field textarea {
  resize: vertical;
  min-height: 120px;
}

.contacts-field input::placeholder,
.contacts-field textarea::placeholder {
  color: var(--text-muted);
}

.contacts-field input:focus,
.contacts-field select:focus,
.contacts-field textarea:focus {
  outline: none;
  border-color: rgba(var(--brand-glow-rgb), 0.65);
  box-shadow: 0 0 0 1px rgba(var(--brand-glow-rgb), 0.2);
}

.contacts-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2386868b' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.25rem;
}

.contacts-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0.25rem 0 1rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
  cursor: pointer;
}

.contacts-consent input {
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: rgb(var(--brand-glow-rgb));
}

.contacts-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.82rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  color: #2c2618;
  background: rgb(var(--brand-glow-rgb));
  cursor: pointer;
  transition: transform var(--transition), filter var(--transition);
}

.contacts-form-submit:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

html:not([data-theme="dark"]) .contacts-form-submit {
  background: #d2c1a5;
  color: #2a2418;
}

.contacts-form-note {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.contacts-form-note--success {
  color: rgb(var(--brand-glow-rgb));
}

.contacts-map-section {
  margin-bottom: 0;
}

.contacts-map-title {
  font-family: var(--contacts-serif);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  margin: 0 0 1rem;
}

.contacts-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21 / 8;
  min-height: 260px;
  background: #d8d8de;
  border: 1px solid var(--matte-glass-border);
}

.contacts-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  transition: filter 0.35s ease;
}

[data-theme="dark"] .contacts-map {
  background: #141416;
}

[data-theme="dark"] .contacts-map iframe {
  filter: invert(94%) hue-rotate(185deg) brightness(0.86) contrast(1.06) saturate(0.82);
}

@media (max-width: 991.98px) {
  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .contacts-form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .contacts-map {
    aspect-ratio: 4 / 3;
  }
}

.info-page {
  padding: 2rem 0 3rem;
}

.info-panel {
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 42rem;
}

.info-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}

.info-text {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.info-text:last-child {
  margin-bottom: 0;
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.info-list li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.info-list-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.info-list a {
  color: var(--accent);
}

.info-list a:hover {
  opacity: 0.8;
}

@media (max-width: 991.98px) {
  .section-nav {
    overflow: hidden;
  }

  .section-nav .nav {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    gap: 0.35rem;
    padding-bottom: 0.15rem;
    margin-bottom: 0;
  }

  .section-nav .nav::-webkit-scrollbar {
    display: none;
  }

  .section-nav .nav-item {
    flex: 0 0 auto;
  }

  #newspaperPage .section-nav .nav {
    grid-column: 1 / -1;
  }

  #newspaperPage .section-search {
    grid-column: 1 / -1;
  }

  .hero-row {
    grid-template-columns: 1fr;
  }

  #newspaperPage .hero-row {
    grid-template-columns: 1fr;
  }

  #newspaperPage .hero-row--feed-first {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-template-areas:
      "feed"
      "print"
      "banner"
      "cards";
  }

  #newspaperPage .hero-row--feed-first .hero-row__main,
  #newspaperPage .hero-row--feed-first .hero-row__side {
    display: contents;
  }

  #newspaperPage .hero-row--feed-first #bannerSection,
  #newspaperPage .hero-row--feed-first #heroSideSlot {
    height: auto;
  }

  #newspaperPage .hero-row__main {
    grid-column: 1;
  }

  .hero-row {
    --hero-row-height: auto;
  }

  .hero-row__main,
  .hero-row__side,
  .hero-row__feed.native-feed {
    height: auto;
    max-height: none;
  }

  #newspaperPage .hero-row__side {
    grid-column: 1;
    width: 100%;
  }

  .hero-row__feed.native-feed {
    flex: none;
    height: auto;
    max-height: clamp(336px, 54vw, 576px);
  }

  .hero-row__banner.banner-carousel {
    flex: none;
    height: clamp(336px, 54vw, 576px) !important;
  }

  .hero-cards {
    flex: none;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .hero-row--stack-cards .hero-stack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    flex: none;
    height: auto;
  }

  .hero-row--stack-banner .hero-row__banner.hero-stack-grid {
    flex: none;
    height: auto;
    max-height: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .hero-row--hero-banner .hero-row__banner.hero-cards--banner {
    flex: none;
    height: auto;
    max-height: none;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .hero-row--hero-banner .hero-row__banner.hero-cards--banner .hero-card {
    height: auto;
    min-height: var(--hero-card-row-height);
  }

  .hero-row--stack-banner .hero-row__banner.hero-stack-grid .photo-report-image {
    aspect-ratio: 16 / 10;
    position: static;
  }

  .hero-row--stack-banner .hero-row__banner.hero-stack-grid .photo-report-card {
    display: flex;
    flex-direction: column;
  }

  .hero-row--stack-banner .hero-row__banner.hero-stack-grid .photo-report-card::after {
    display: none;
  }

  .hero-row--stack-banner .hero-row__banner.hero-stack-grid .photo-report-caption {
    position: static;
    background: none;
    padding: 0.5rem 0.65rem 0.6rem;
  }

  .hero-row--stack-banner .hero-row__banner.hero-stack-grid .photo-report-caption h4 {
    color: var(--text-primary);
    font-weight: 600;
    text-shadow: none;
  }

  .hero-row--stack-banner .hero-row__banner.hero-stack-grid .photo-report-caption .news-card-meta {
    color: var(--text-muted);
    text-shadow: none;
  }

  .hero-cards.hero-cards--vertical {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    flex: none;
    height: auto;
  }

  .hero-cards.hero-cards--featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    flex: none;
    height: auto;
  }

  .hero-row--vertical-cards .hero-cards--vertical .photo-report-image {
    aspect-ratio: 5 / 3;
  }

  .hero-row--stack-cards .hero-stack-grid .photo-report-image {
    flex: 1 1 auto;
    width: 100%;
    min-width: 100%;
    aspect-ratio: unset;
  }

  .native-feed {
    max-height: none;
  }

  #nativeFeedSection,
  .hero-row__feed.native-feed {
    display: none !important;
  }

  .site-header .header-search {
    display: none !important;
  }

  .photo-report-grid,
  #newspaperPage .photo-report-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    gap: var(--page-feed-gap, 1rem);
    padding-bottom: 0.15rem;
  }

  .photo-report-grid::-webkit-scrollbar {
    display: none;
  }

  .photo-report-card {
    flex: 0 0 calc((100% - var(--page-feed-gap, 1rem)) / 1.5);
    min-width: 0;
    scroll-snap-align: start;
  }

  .photo-report-image {
    aspect-ratio: 25 / 12;
  }

  .edition-authors-grid,
  #newspaperPage .edition-authors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }
}

@media (max-width: 767.98px) {
  .banner-carousel,
  .hero-row__banner.banner-carousel {
    height: clamp(235px, 37.8vw, 403px) !important;
  }

  #newspaperPage > .container,
  #categoryPage > .container {
    --page-feed-cols: 2;
  }

  .site-header .navbar {
    border-radius: var(--radius-md);
  }

  .hero-section {
    padding: 2rem 0 1.5rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-brand {
    display: none;
  }

  .hero-content {
    padding-left: 0;
    padding-top: 0;
  }

  .hero-title {
    flex-direction: column;
    gap: 0.2rem;
  }

  .hero-title-line,
  .hero-title-line--soft {
    display: block;
    white-space: normal;
  }

  .hero-brand-logo {
    height: clamp(4.25rem, 14vw, 6rem);
  }

  .hero-search-slot {
    display: block;
    margin-top: 1.25rem;
    width: 100%;
  }

  .hero-search-slot .header-search {
    width: 100%;
    max-width: none;
    height: 2.75rem;
    padding: 0 1rem;
  }

  .banner-content {
    padding: 1.25rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 36px;
    height: 36px;
    margin: 0 0.5rem;
  }
}

@media (max-width: 767.98px) {
  .newspaper-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .newspaper-card {
    padding: 0.55rem 0.35rem 0.5rem;
    border-radius: var(--radius-md);
  }

  .newspaper-logo {
    height: calc(1.65rem + 0.4rem);
    min-height: calc(1.65rem + 0.4rem);
    margin-bottom: 0.35rem;
    justify-content: center;
  }

  .newspaper-logo--pad {
    padding: 0.2rem 0.3rem;
  }

  .newspaper-card-logo {
    max-height: 1.65rem;
    margin: 0 auto;
  }

  .newspaper-card h3 {
    font-size: 0.62rem;
    font-weight: 650;
    margin-bottom: 0;
    line-height: 1.2;
    text-align: center;
    letter-spacing: -0.01em;
  }

  .newspaper-card p {
    display: none;
  }
}

@media (max-width: 575.98px) {
  #newspaperPage > .container,
  #categoryPage > .container {
    --page-feed-cols: 1;
  }

  .edition-authors-grid,
  #newspaperPage .edition-authors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* ——— Article page ——— */

#articlePage {
  padding-bottom: 3rem;
}

.newspaper-header--compact {
  padding-block: var(--newspaper-edge-gap, 1.125rem);
  margin-bottom: 0;
}

.newspaper-header--compact .newspaper-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .newspaper-header {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .newspaper-brand {
    justify-content: center;
    width: 100%;
  }
}

.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  padding: 1.25rem 0 0.5rem;
  font-size: 0.82rem;
}

.article-breadcrumb-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

.article-breadcrumb-link:hover {
  color: var(--accent);
}

.article-breadcrumb-sep {
  color: var(--text-muted);
  opacity: 0.65;
}

.article-breadcrumb-current {
  color: var(--text-primary);
  font-weight: 500;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.article-primary {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.article-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--matte-glass-bg);
  backdrop-filter: var(--matte-glass-blur);
  -webkit-backdrop-filter: var(--matte-glass-blur);
  border: 1px solid var(--matte-glass-border);
  box-shadow: var(--matte-glass-shadow);
}

.article-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  max-height: 420px;
  overflow: hidden;
}

.article-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(12px);
  transform: scale(1.12);
}

.article-hero-image {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.article-content {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.article-section-badge {
  display: inline-flex;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(var(--brand-glow-rgb), 0.14);
  color: var(--accent);
  text-decoration: none;
  transition: opacity var(--transition);
}

.article-section-badge:hover {
  opacity: 0.85;
  color: var(--accent);
}

.article-date,
.article-reading {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.article-title {
  font-size: clamp(1.55rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--text-primary);
}

.article-lead {
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0 0 1.35rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--border-subtle);
}

html:not([data-theme="dark"]) .article-lead {
  color: #4a4a50;
}

.article-info-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.5rem;
  padding: 0.65rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.article-info-strip__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.article-info-strip__views {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  line-height: 1;
}

.article-info-strip__views .bi {
  font-size: 0.95rem;
  line-height: 1;
}

.article-info-strip__date {
  font-size: 0.84rem;
}

.article-info-strip__author {
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.article-info-strip--bottom {
  margin: 0;
  padding: 0;
  border-top: 0;
  border-bottom: 0;
}

.article-info-panel {
  margin: 0;
  position: relative;
  z-index: 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--matte-glass-border);
  border-radius: var(--radius-lg);
  background: var(--matte-glass-bg);
  backdrop-filter: var(--matte-glass-blur);
  -webkit-backdrop-filter: var(--matte-glass-blur);
  box-shadow: var(--matte-glass-shadow);
}

.article-author-inline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.article-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.article-author-name {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.article-author-role {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.article-body {
  display: block;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--text-primary);
}

.article-body p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--text-primary);
}

.article-body a {
  color: var(--accent);
  font-weight: 650;
  text-decoration: none;
}

.article-body a:hover {
  color: rgb(var(--brand-glow-rgb));
  text-decoration: underline;
}

.article-quote {
  margin: 0.25rem 0;
  padding: 1rem 1.15rem 1rem 1.25rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(var(--brand-glow-rgb), 0.08);
  font-size: 1.02rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-primary);
}

.article-highlights {
  margin-top: 1.75rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--matte-glass-bg);
  border: 1px solid var(--matte-glass-border);
}

.article-highlights-title {
  font-size: 0.88rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.75rem;
  color: var(--text-primary);
}

.article-highlights ul {
  margin: 0;
  padding-left: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.article-highlights li {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.article-footer-meta {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.article-footer-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  margin-left: 0.35rem;
}

.article-footer-link:hover {
  opacity: 0.85;
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 5.5rem;
}

.article-author-card,
.article-edition-card {
  padding: 1.15rem;
  border-radius: var(--radius-md);
  background: var(--matte-glass-bg);
  backdrop-filter: var(--matte-glass-blur);
  -webkit-backdrop-filter: var(--matte-glass-blur);
  border: 1px solid var(--matte-glass-border);
  box-shadow: var(--matte-glass-shadow);
}

.article-author-card-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.75rem;
}

.article-author-card-name {
  font-size: 1rem;
  font-weight: 650;
  margin: 0 0 0.2rem;
}

.article-author-card-role {
  font-size: 0.78rem;
  color: var(--accent);
  margin: 0 0 0.65rem;
  font-weight: 500;
}

.article-author-card-bio {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

.article-edition-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 0.35rem;
}

.article-edition-link {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--text-primary);
  text-decoration: none;
}

.article-edition-link:hover {
  color: var(--accent);
}

.article-edition-tagline {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0.35rem 0 1rem;
  line-height: 1.4;
}

.article-subscribe-btn {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  text-align: center;
}

.article-latest-card {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--matte-glass-bg);
  backdrop-filter: var(--matte-glass-blur);
  -webkit-backdrop-filter: var(--matte-glass-blur);
  border: 1px solid var(--matte-glass-border);
  box-shadow: var(--matte-glass-shadow);
}

.article-latest-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.article-latest-kicker {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.article-latest-head h2 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 750;
  line-height: 1.2;
  color: var(--text-primary);
}

.article-latest-list {
  display: flex;
  flex-direction: column;
}

.article-latest-item {
  display: grid;
  grid-template-columns: 2ch 58px minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
  padding: 0.78rem 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  text-decoration: none;
  transition: transform var(--transition), opacity var(--transition);
}

.article-latest-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.article-latest-item:hover {
  color: var(--text-primary);
  transform: translateX(2px);
}

.article-latest-item.is-current {
  background: var(--hover-bg);
}

.article-latest-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.35rem;
  padding-top: 0.85rem;
}

.article-latest-index {
  align-self: start;
  padding-top: 0.1rem;
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
}

.article-latest-thumb {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  background-color: rgba(var(--brand-glow-rgb), 0.08);
  background-position: center;
  background-size: cover;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.article-latest-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
}

.article-latest-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.84rem;
  font-weight: 680;
  line-height: 1.32;
  color: var(--text-primary);
}

.article-latest-item:hover .article-latest-title {
  color: var(--accent);
}

.article-latest-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.69rem;
  font-weight: 560;
  line-height: 1.25;
  color: var(--text-muted);
}

.newspaper-zhenshchina-dagestana .newspaper-brand,
.newspaper-edition-zhenshchina-dagestana .newspaper-brand {
  align-self: stretch;
}

.newspaper-zhenshchina-dagestana .newspaper-logo--pad,
.newspaper-zhenshchina-dagestana .newspaper-brand .logo-placeholder.newspaper-logo--pad,
.newspaper-edition-zhenshchina-dagestana .newspaper-logo--pad,
.newspaper-edition-zhenshchina-dagestana .newspaper-brand .logo-placeholder.newspaper-logo--pad {
  align-self: stretch;
  min-height: 100%;
  height: 100%;
  background: color-mix(in srgb, var(--bg-primary) 90%, transparent);
  border: 1px solid var(--matte-glass-border);
  box-shadow: var(--matte-glass-shadow);
  backdrop-filter: blur(40px) saturate(1.25);
  -webkit-backdrop-filter: blur(40px) saturate(1.25);
}

[data-theme="dark"] .newspaper-zhenshchina-dagestana .newspaper-logo--pad,
[data-theme="dark"] .newspaper-zhenshchina-dagestana .newspaper-brand .logo-placeholder.newspaper-logo--pad,
[data-theme="dark"] .newspaper-edition-zhenshchina-dagestana .newspaper-logo--pad,
[data-theme="dark"] .newspaper-edition-zhenshchina-dagestana .newspaper-brand .logo-placeholder.newspaper-logo--pad {
  background: color-mix(in srgb, var(--bg-secondary) 82%, rgba(255, 255, 255, 0.18));
  border-color: color-mix(in srgb, var(--matte-glass-border) 76%, rgba(255, 255, 255, 0.24));
}

[data-theme="dark"] .newspaper-zhenshchina-dagestana .newspaper-logo-img,
[data-theme="dark"] .newspaper-zhenshchina-dagestana .newspaper-card-logo,
[data-theme="dark"] .newspaper-edition-zhenshchina-dagestana .newspaper-logo-img,
[data-theme="dark"] .newspaper-edition-zhenshchina-dagestana .newspaper-card-logo {
  filter: brightness(0) invert(1);
  opacity: 1;
  mix-blend-mode: normal;
}

[data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana .header-logo-img,
[data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana .newspaper-logo-img,
[data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana .footer-logo-img {
  filter: brightness(0) invert(1) !important;
  opacity: 1;
}

[data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana .header-logo-img--dark,
[data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana .hero-brand-logo--dark {
  display: none;
}

[data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana .header-logo-img--light,
[data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana .hero-brand-logo--light {
  display: block;
}

body.editorial-mobile-layout .mobile-news-feed {
  display: none;
}

@media (max-width: 991.98px) {
  body.editorial-mobile-layout {
    background:
      radial-gradient(circle at 50% -8%, rgba(var(--brand-glow-rgb), 0.16), transparent 34%),
      #f0f0f2;
  }

  body.editorial-mobile-layout .site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1045;
    padding: calc(0.45rem + env(safe-area-inset-top, 0px)) 0.35rem 0;
    pointer-events: none;
  }

  body.editorial-mobile-layout #newspaperPage {
    padding-top: calc(5rem + env(safe-area-inset-top, 0px));
  }

  body.editorial-mobile-layout .site-header > .container {
    max-width: none;
    padding: 0;
  }

  body.editorial-mobile-layout .site-header .navbar {
    min-height: 3.25rem;
    height: 3.25rem;
    width: 100%;
    padding: 0.32rem 0.5rem 0.32rem 0.42rem;
    border-radius: 1.08rem;
    gap: 0.34rem;
    pointer-events: auto;
    background: rgba(241, 241, 243, 0.78);
    border-color: rgba(255, 255, 255, 0.66);
    box-shadow: 0 5px 18px rgba(20, 20, 24, 0.11);
    backdrop-filter: blur(24px) saturate(1.18);
    -webkit-backdrop-filter: blur(24px) saturate(1.18);
  }

  body.editorial-mobile-layout .site-header .navbar-tools {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    order: 1;
    gap: 0.26rem;
    margin-left: auto;
    flex: 0 0 auto;
  }

  body.editorial-mobile-layout .header-logo {
    height: 2.45rem;
    min-width: 7.05rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.editorial-mobile-layout .header-logo-img {
    height: 2.38rem;
    max-width: 7.05rem;
    object-position: left center;
  }

  body.editorial-mobile-layout .site-header .theme-toggle,
  body.editorial-mobile-layout .site-header .navbar-toggler {
    width: 2.15rem;
    height: 2.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 0.68rem;
    background: transparent;
    color: #25252a;
  }

  body.editorial-mobile-layout .site-header .theme-toggle {
    order: 1;
  }

  body.editorial-mobile-layout .site-header .header-age-rating {
    order: 2;
  }

  body.editorial-mobile-layout .site-header .navbar-toggler {
    order: 3;
    margin: 0;
    flex: 0 0 auto;
  }

  body.editorial-mobile-layout .site-header .theme-toggle svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  body.editorial-mobile-layout .header-age-rating {
    width: 2.08rem;
    height: 2.08rem;
    border: 0;
    background: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    font-weight: 800;
    color: #25252a;
  }

  body.editorial-mobile-layout .navbar-toggler-icon {
    width: 1.92rem;
    height: 1.92rem;
    background-size: 1.92rem 1.92rem;
  }

  body.editorial-mobile-layout .newspaper-chrome {
    display: none;
  }

  body.editorial-mobile-layout .mobile-nav-backdrop {
    background: rgba(20, 20, 24, 0.42);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }

  body.editorial-mobile-layout .mobile-nav-drawer {
    top: calc(0.5rem + env(safe-area-inset-top, 0px));
    right: 0.5rem;
    bottom: 0.5rem;
    left: auto;
    width: clamp(12.8rem, 54vw, 16rem);
    max-width: calc(100vw - 1rem);
    min-height: auto;
    min-height: 0;
    height: auto;
    border-radius: 1.05rem;
    background: rgba(244, 244, 246, 0.82);
    border-color: rgba(255, 255, 255, 0.72);
    border-right: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: -18px 0 44px rgba(18, 18, 22, 0.2);
    backdrop-filter: blur(26px) saturate(1.2);
    -webkit-backdrop-filter: blur(26px) saturate(1.2);
  }

  body.editorial-mobile-layout .mobile-nav-drawer__body {
    padding-bottom: 0.45rem;
  }

  body.editorial-mobile-layout .mobile-nav-drawer__head {
    justify-content: space-between;
    padding: 0.95rem 1rem 0.45rem;
  }

  body.editorial-mobile-layout .mobile-nav-drawer__brand {
    margin: 0;
    color: #8a8a92;
    font-size: 0.88rem;
    font-weight: 700;
  }

  body.editorial-mobile-layout .mobile-nav-drawer__close {
    border: 0;
    background: rgba(255, 255, 255, 0.76);
    border-radius: 0.75rem;
    box-shadow: 0 6px 18px rgba(20, 20, 24, 0.08);
  }

  body.editorial-mobile-layout .mobile-nav-drawer .navbar-nav {
    padding: 0.35rem 1rem 0.7rem;
    gap: 0.28rem;
  }

  body.editorial-mobile-layout .mobile-nav-drawer .nav-link,
  body.editorial-mobile-layout .mobile-nav-drawer__category-link {
    padding: 0.52rem 0.62rem !important;
    color: #2f3035 !important;
    font-size: 0.98rem;
    font-weight: 760;
    line-height: 1.25;
    text-decoration: none;
    border-radius: 0.7rem;
  }

  body.editorial-mobile-layout .mobile-nav-drawer__categories {
    padding: 0.15rem 1rem 0.9rem;
  }

  body.editorial-mobile-layout .mobile-nav-drawer__label {
    display: block;
    max-width: 100%;
    margin: 0.25rem 0 0.5rem;
    padding: 0 0.62rem;
    overflow: visible;
    color: #8e9098;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  body.editorial-mobile-layout .mobile-nav-drawer__category-list,
  body.editorial-mobile-layout .mobile-nav-drawer__subcategory-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  body.editorial-mobile-layout .mobile-nav-drawer__category-list {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
  }

  body.editorial-mobile-layout .mobile-nav-drawer__category-link {
    display: block;
  }

  body.editorial-mobile-layout .mobile-nav-drawer__subcategory-list {
    display: grid;
    gap: 0.2rem;
    padding: 0 0 0.35rem 0.65rem;
  }

  body.editorial-mobile-layout .mobile-nav-drawer__subcategory-link {
    display: block;
    padding: 0.42rem 0.55rem;
    color: #666972;
    font-size: 0.84rem;
    font-weight: 650;
    line-height: 1.25;
    text-decoration: none;
    border-radius: 0.6rem;
  }

  body.editorial-mobile-layout .mobile-nav-drawer .nav-link:hover,
  body.editorial-mobile-layout .mobile-nav-drawer__category-link:hover,
  body.editorial-mobile-layout .mobile-nav-drawer__subcategory-link:hover {
    background: rgba(255, 255, 255, 0.55);
  }

  body.editorial-mobile-layout .mobile-nav-drawer__foot {
    display: grid;
    gap: 0.55rem;
    padding: 0.7rem 1rem calc(0.8rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.48);
  }

  body.editorial-mobile-layout .mobile-nav-drawer__foot .navbar-print-edition,
  body.editorial-mobile-layout .mobile-nav-drawer__foot .navbar-subscribe {
    width: 100%;
    min-width: 0;
    height: 2.55rem;
    padding: 0 0.75rem;
    border-radius: 0.65rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 760;
  }
}

@media (max-width: 575.98px) {
  body.editorial-mobile-layout #newspaperPage > .container {
    --page-feed-gap: 0.85rem;
    padding-left: 0.95rem;
    padding-right: 0.95rem;
  }

  body.editorial-mobile-layout .hero-row {
    display: block;
    margin-bottom: 1rem;
  }

  body.editorial-mobile-layout #bannerSection,
  body.editorial-mobile-layout #nativeFeedSection,
  body.editorial-mobile-layout #heroCards,
  body.editorial-mobile-layout #featuredSection,
  body.editorial-mobile-layout #photoReportSection,
  body.editorial-mobile-layout .featured-grid__promos,
  body.editorial-mobile-layout .section-label {
    display: none !important;
  }

  body.editorial-mobile-layout .mobile-news-feed {
    display: grid;
    gap: 0.85rem;
    margin: 0 0 1.35rem;
  }

  body.editorial-mobile-layout .mobile-news-card,
  body.editorial-mobile-layout a.mobile-news-card {
    display: grid;
    grid-template-columns: 5.45rem minmax(0, 1fr);
    align-items: center;
    min-height: 6.9rem;
    padding: 0.65rem;
    border-radius: 0.95rem;
    gap: 0.72rem;
    color: #222328;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.76);
    box-shadow: 0 8px 24px rgba(20, 20, 24, 0.07);
  }

  body.editorial-mobile-layout .mobile-news-card__thumb {
    width: 5.45rem;
    min-width: 5.45rem;
    height: 5.45rem;
    min-height: 5.45rem;
    border-radius: 0.75rem;
  }

  body.editorial-mobile-layout .mobile-news-card__body {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
  }

  body.editorial-mobile-layout .mobile-news-card h4 {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #222328;
    font-size: 0.97rem;
    font-weight: 760;
    line-height: 1.32;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body.editorial-mobile-layout .mobile-news-card__date {
    color: #8a8a92;
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1.2;
  }

  body.editorial-mobile-layout #heroCards,
  body.editorial-mobile-layout .hero-cards,
  body.editorial-mobile-layout .featured-grid,
  body.editorial-mobile-layout #newspaperPage .featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  body.editorial-mobile-layout .featured-grid__column {
    gap: 0.85rem;
  }

  body.editorial-mobile-layout .hero-card,
  body.editorial-mobile-layout .featured-feed-item,
  body.editorial-mobile-layout a.featured-feed-item {
    min-height: 6.9rem;
    padding: 0.65rem;
    border-radius: 0.95rem;
    gap: 0.72rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 8px 24px rgba(20, 20, 24, 0.07);
  }

  body.editorial-mobile-layout .hero-card-thumb,
  body.editorial-mobile-layout .featured-feed-thumb {
    width: 5.45rem;
    min-width: 5.45rem;
    min-height: 5.45rem;
    height: 5.45rem;
    align-self: center;
    border-radius: 0.75rem;
  }

  /* Заглушка-логотип (новость без фото) должна быть таким же квадратом,
     как и обычная миниатюра: гасим десктопный flex-basis 224px. */
  body.editorial-mobile-layout .hero-card-thumb--logo {
    flex: 0 0 5.45rem;
    max-width: 5.45rem;
  }

  body.editorial-mobile-layout .hero-card-body,
  body.editorial-mobile-layout .featured-feed-body {
    justify-content: center;
    gap: 0.45rem;
    padding: 0;
  }

  body.editorial-mobile-layout .hero-card-section,
  body.editorial-mobile-layout .hero-card-excerpt,
  body.editorial-mobile-layout .featured-feed-excerpt {
    display: none !important;
  }

  body.editorial-mobile-layout .hero-card-body h4,
  body.editorial-mobile-layout .featured-feed-item h4 {
    font-size: 0.97rem;
    line-height: 1.32;
    font-weight: 760;
    -webkit-line-clamp: 2;
  }

  body.editorial-mobile-layout .news-card-meta,
  body.editorial-mobile-layout .featured-feed-meta {
    margin-top: 0;
    padding-top: 0;
    font-size: 0.86rem;
    color: #8a8a92;
  }

  body.editorial-mobile-layout .photo-report-grid,
  body.editorial-mobile-layout #newspaperPage .photo-report-grid {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    gap: 0.85rem;
  }

  body.editorial-mobile-layout .photo-report-card {
    display: grid;
    grid-template-columns: 5.45rem minmax(0, 1fr);
    gap: 0.72rem;
    min-height: 6.9rem;
    padding: 0.65rem;
    border-radius: 0.95rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 8px 24px rgba(20, 20, 24, 0.07);
  }

  body.editorial-mobile-layout .photo-report-card.glass > .photo-report-image:first-child,
  body.editorial-mobile-layout .photo-report-image {
    width: 5.45rem;
    min-width: 5.45rem;
    height: 5.45rem;
    margin: 0;
    align-self: center;
    border-radius: 0.75rem;
    aspect-ratio: 1;
  }

  body.editorial-mobile-layout .photo-report-caption {
    padding: 0;
    align-self: center;
  }

  body.editorial-mobile-layout .photo-report-caption h4 {
    font-size: 0.97rem;
    line-height: 1.32;
    font-weight: 760;
  }

  body.editorial-mobile-layout .subscribe-cta-wrap,
  body.editorial-mobile-layout .edition-authors {
    display: none !important;
  }

  body.editorial-mobile-layout #heroCards,
  body.editorial-mobile-layout #featuredSection,
  body.editorial-mobile-layout #photoReportSection,
  body.editorial-mobile-layout .featured-grid__promos {
    display: none !important;
  }

  body.editorial-mobile-layout .mobile-news-feed {
    display: grid !important;
  }
}

@media (max-width: 991.98px) {
  body.editorial-mobile-layout {
    background: #f1f1f3;
  }

  body.editorial-mobile-layout .site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1045;
    padding: calc(0.45rem + env(safe-area-inset-top, 0px)) 0.38rem 0;
    pointer-events: none;
  }

  body.editorial-mobile-layout .site-header > .container {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  body.editorial-mobile-layout .site-header .navbar {
    display: grid;
    grid-template-columns: minmax(7.4rem, 1fr) auto;
    align-items: center;
    width: min(100%, calc(100vw - 0.76rem));
    height: 3.45rem;
    min-height: 3.45rem;
    margin: 0 auto;
    padding: 0.36rem 0.46rem;
    overflow: visible;
    border-radius: 1.15rem;
    background: rgba(246, 246, 248, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow: 0 8px 24px rgba(18, 18, 22, 0.08);
    backdrop-filter: blur(28px) saturate(1.38);
    -webkit-backdrop-filter: blur(28px) saturate(1.38);
    pointer-events: auto;
  }

  body.editorial-mobile-layout .site-header .navbar-collapse {
    display: none !important;
  }

  body.editorial-mobile-layout .header-logo {
    display: flex !important;
    grid-column: 1;
    align-items: center;
    width: min(10.5rem, 48vw);
    min-width: 0;
    height: 2.65rem;
    margin: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
  }

  body.editorial-mobile-layout .header-logo-img {
    width: 100%;
    max-width: 10.5rem;
    height: 2.55rem;
    object-fit: contain;
    object-position: left center;
  }

  body.editorial-mobile-layout .site-header .navbar-tools {
    display: grid !important;
    grid-column: 2;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    align-items: center;
    justify-content: end;
    gap: 0.46rem;
    min-width: 0;
    margin: 0;
  }

  body.editorial-mobile-layout .site-header .navbar-tools > .header-search,
  body.editorial-mobile-layout .site-header .navbar-tools > .navbar-print-edition,
  body.editorial-mobile-layout .site-header .navbar-tools > .navbar-subscribe {
    display: none !important;
  }

  body.editorial-mobile-layout .site-header .theme-toggle,
  body.editorial-mobile-layout .site-header .navbar-toggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    min-width: 2.35rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0.82rem;
    background: transparent;
    box-shadow: none;
    color: #222328;
    cursor: pointer;
  }

  body.editorial-mobile-layout .site-header .theme-toggle {
    order: 1;
  }

  body.editorial-mobile-layout .site-header .theme-toggle svg {
    width: 1.48rem;
    height: 1.48rem;
  }

  body.editorial-mobile-layout .site-header .theme-lottie-icon {
    width: 1.85rem;
    height: 1.85rem;
  }

  body.editorial-mobile-layout .site-header .header-age-rating {
    display: inline-flex !important;
    order: 2;
    align-items: center;
    justify-content: center;
    width: 1.86rem;
    height: 1.86rem;
    min-width: 1.86rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
    color: #222328;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0;
  }

  body.editorial-mobile-layout .site-header .navbar-toggler {
    order: 3;
  }

  body.editorial-mobile-layout .site-header .navbar-toggler-icon {
    width: 2rem;
    height: 2rem;
    background-size: 2rem 2rem;
  }

  body.editorial-mobile-layout #newspaperPage {
    padding-top: 1rem;
  }

  body.editorial-mobile-layout .newspaper-chrome {
    margin-top: calc(5.50rem + env(safe-area-inset-top, 0px)) !important;
  }

  body.editorial-mobile-layout .newspaper-header {
    padding-block: 0;
    margin-bottom: 0.9rem;
  }

  body.editorial-mobile-layout .newspaper-intro {
    padding: 1rem 1.05rem;
  }

  body.editorial-mobile-layout .newspaper-brand {
    display: none !important;
  }

  body.editorial-mobile-layout .newspaper-chrome .section-nav,
  body.editorial-mobile-layout .newspaper-chrome #sectionNav {
    display: none !important;
  }

  body.editorial-mobile-layout .newspaper-chrome {
    display: block;
  }

  body.editorial-mobile-layout .mobile-nav-drawer {
    top: calc(0.55rem + env(safe-area-inset-top, 0px));
    right: 0.55rem;
    bottom: 0.55rem;
    width: clamp(12.8rem, 54vw, 16rem);
    max-width: calc(100vw - 1.1rem);
    height: auto;
    min-height: 0;
    border-radius: 1.1rem;
    background: rgba(244, 244, 246, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.48);
    box-shadow: -18px 0 46px rgba(18, 18, 22, 0.18);
    backdrop-filter: blur(34px) saturate(1.35);
    -webkit-backdrop-filter: blur(34px) saturate(1.35);
    transform: translate3d(calc(100% + 1.25rem), 0, 0);
  }

  body.editorial-mobile-layout .mobile-nav-toggle:checked ~ .mobile-nav-drawer,
  body.editorial-mobile-layout .mobile-nav-drawer.is-open {
    transform: translate3d(0, 0, 0);
  }

  body.editorial-mobile-layout .mobile-nav-drawer__body {
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.editorial-mobile-layout .mobile-nav-drawer .navbar-nav {
    padding: 0.3rem 0.75rem 0.65rem;
    gap: 0.42rem;
  }

  body.editorial-mobile-layout .mobile-nav-drawer .nav-link,
  body.editorial-mobile-layout .mobile-nav-drawer__category-link {
    padding: 0.46rem 0.52rem !important;
    font-size: 0.88rem;
    line-height: 1.18;
    border-radius: 0.58rem;
  }

  body.editorial-mobile-layout .mobile-nav-drawer .nav-link {
    color: #6e7078 !important;
    font-weight: 420;
  }

  body.editorial-mobile-layout .mobile-nav-drawer__categories {
    padding: 0.72rem 0.75rem 1rem;
  }

  body.editorial-mobile-layout .mobile-nav-drawer__label {
    margin: 0.78rem 0 1.15rem;
    padding: 0 0.52rem;
    color: #8e9098;
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    line-height: 1.2;
    text-transform: uppercase;
  }

  body.editorial-mobile-layout .mobile-nav-drawer__category-list {
    display: grid;
    gap: 0.82rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  body.editorial-mobile-layout .mobile-nav-drawer__category-link {
    min-height: 2.8rem;
    padding-top: 0.82rem !important;
    padding-bottom: 0.82rem !important;
    border: 1px solid rgba(255, 255, 255, 0.52);
    background: rgba(255, 255, 255, 0.22);
    color: #2f3035 !important;
    font-weight: 300;
  }

  body.editorial-mobile-layout .mobile-nav-drawer__category-link.active {
    background: rgba(var(--brand-glow-rgb), 0.14);
    border-color: rgba(var(--brand-glow-rgb), 0.24);
    color: var(--accent) !important;
  }

  body.editorial-mobile-layout .mobile-nav-drawer__foot {
    display: grid;
    gap: 0.42rem;
    padding: 0.58rem 0.75rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.18);
  }
}

@media (max-width: 575.98px) {
  body.editorial-mobile-layout #newspaperPage > .container {
    padding-left: 0.95rem;
    padding-right: 0.95rem;
  }

  body.editorial-mobile-layout #bannerSection,
  body.editorial-mobile-layout #heroSideSlot,
  body.editorial-mobile-layout #nativeFeedSection,
  body.editorial-mobile-layout #heroCards,
  body.editorial-mobile-layout #featuredSection,
  body.editorial-mobile-layout #photoReportSection,
  body.editorial-mobile-layout .featured-grid__promos,
  body.editorial-mobile-layout .section-label,
  body.editorial-mobile-layout .subscribe-cta-wrap {
    display: revert !important;
  }

  body.editorial-mobile-layout .hero-row,
  body.editorial-mobile-layout .featured-grid,
  body.editorial-mobile-layout #newspaperPage .featured-grid,
  body.editorial-mobile-layout .photo-report-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.9rem;
  }

  body.editorial-mobile-layout .hero-row__main,
  body.editorial-mobile-layout .hero-row__side,
  body.editorial-mobile-layout #heroCards,
  body.editorial-mobile-layout .hero-cards,
  body.editorial-mobile-layout .featured-grid__column {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.85rem;
  }

  body.editorial-mobile-layout .banner-carousel,
  body.editorial-mobile-layout .native-feed,
  body.editorial-mobile-layout .print-edition,
  body.editorial-mobile-layout .featured-feed-item,
  body.editorial-mobile-layout .photo-report-card {
    border-radius: 0.95rem;
  }

  body.editorial-mobile-layout #bannerSection.banner-carousel .banner-content h2 {
    display: -webkit-box;
    overflow: hidden;
    max-height: calc(1.18em * 3);
    line-height: 1.18;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  body.editorial-mobile-layout #bannerSection.banner-carousel .banner-section {
    padding: 0.18rem 0.48rem;
    font-size: 0.56rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.48rem;
  }

  body.editorial-mobile-layout #bannerSection.banner-carousel .carousel-control-prev,
  body.editorial-mobile-layout #bannerSection.banner-carousel .carousel-control-next {
    width: 25px;
    height: 25px;
    margin: 0;
  }

  body.editorial-mobile-layout #bannerSection.banner-carousel .carousel-control-prev {
    left: -0.35rem;
  }

  body.editorial-mobile-layout #bannerSection.banner-carousel .carousel-control-next {
    right: -0.35rem;
  }

  body.editorial-mobile-layout #heroCards > :nth-child(n+4),
  body.editorial-mobile-layout .featured-grid:not(.featured-grid--with-promos) > .featured-feed-item:nth-of-type(n+9),
  body.editorial-mobile-layout .featured-grid--with-promos .featured-grid__column:not(.featured-grid__promos) > .featured-feed-item:nth-of-type(n+3),
  body.editorial-mobile-layout .photo-report-grid > .photo-report-card:nth-child(n+5),
  body.editorial-mobile-layout .zamana-promo-row > .zamana-promo-banner:nth-of-type(n+5) {
    display: none !important;
  }
}

@media (max-width: 360px) {
  body.editorial-mobile-layout .header-logo {
    width: 8.4rem;
  }

  body.editorial-mobile-layout .site-header .theme-toggle,
  body.editorial-mobile-layout .site-header .navbar-toggler {
    width: 2.1rem;
    min-width: 2.1rem;
  }

  body.editorial-mobile-layout .site-header .header-age-rating {
    width: 1.78rem;
    min-width: 1.78rem;
  }
}

@media (max-width: 991.98px) {
  [data-theme="dark"] body.editorial-mobile-layout {
    background:
      radial-gradient(circle at 50% -8%, rgba(var(--brand-glow-rgb), 0.1), transparent 34%),
      var(--bg-primary);
    color: var(--text-primary);
  }

  [data-theme="dark"] body.editorial-mobile-layout .site-header .navbar {
    background: rgba(22, 22, 24, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(28px) saturate(1.3);
    -webkit-backdrop-filter: blur(28px) saturate(1.3);
  }

  [data-theme="dark"] body.editorial-mobile-layout .site-header .theme-toggle,
  [data-theme="dark"] body.editorial-mobile-layout .site-header .navbar-toggler {
    color: var(--text-primary);
  }

  [data-theme="dark"] body.editorial-mobile-layout .site-header .header-age-rating,
  [data-theme="dark"] body.editorial-mobile-layout .mobile-nav-drawer__close {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
  }

  [data-theme="dark"] body.editorial-mobile-layout .mobile-nav-backdrop {
    background: rgba(0, 0, 0, 0.52);
  }

  [data-theme="dark"] body.editorial-mobile-layout .mobile-nav-drawer {
    background: rgba(18, 18, 20, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: -18px 0 50px rgba(0, 0, 0, 0.42);
  }

  [data-theme="dark"] body.editorial-mobile-layout .mobile-nav-drawer__brand,
  [data-theme="dark"] body.editorial-mobile-layout .mobile-nav-drawer__label {
    color: var(--text-muted);
  }

  [data-theme="dark"] body.editorial-mobile-layout .mobile-nav-drawer .nav-link {
    color: var(--text-secondary) !important;
  }

  [data-theme="dark"] body.editorial-mobile-layout .mobile-nav-drawer .nav-link:hover,
  [data-theme="dark"] body.editorial-mobile-layout .mobile-nav-drawer__category-link:hover,
  [data-theme="dark"] body.editorial-mobile-layout .mobile-nav-drawer__subcategory-link:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  [data-theme="dark"] body.editorial-mobile-layout .mobile-nav-drawer__category-link {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--text-primary) !important;
  }

  [data-theme="dark"] body.editorial-mobile-layout .mobile-nav-drawer__category-link.active {
    background: rgba(var(--brand-glow-rgb), 0.16);
    border-color: rgba(var(--brand-glow-rgb), 0.28);
    color: #f3e4ca !important;
  }

  [data-theme="dark"] body.editorial-mobile-layout .mobile-nav-drawer__foot {
    border-top-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
  }

  [data-theme="dark"] body.editorial-mobile-layout .newspaper-intro,
  [data-theme="dark"] body.editorial-mobile-layout .native-feed,
  [data-theme="dark"] body.editorial-mobile-layout .print-edition,
  [data-theme="dark"] body.editorial-mobile-layout .mobile-news-card,
  [data-theme="dark"] body.editorial-mobile-layout a.mobile-news-card,
  [data-theme="dark"] body.editorial-mobile-layout .hero-card,
  [data-theme="dark"] body.editorial-mobile-layout .featured-feed-item,
  [data-theme="dark"] body.editorial-mobile-layout a.featured-feed-item,
  [data-theme="dark"] body.editorial-mobile-layout .photo-report-card {
    background: var(--matte-glass-bg);
    border-color: var(--matte-glass-border);
    box-shadow: var(--matte-glass-shadow);
  }

  [data-theme="dark"] body.editorial-mobile-layout .mobile-news-card h4,
  [data-theme="dark"] body.editorial-mobile-layout .hero-card-body h4,
  [data-theme="dark"] body.editorial-mobile-layout .featured-feed-item h4,
  [data-theme="dark"] body.editorial-mobile-layout .photo-report-caption h4 {
    color: var(--text-primary);
  }

  [data-theme="dark"] body.editorial-mobile-layout .mobile-news-card__date,
  [data-theme="dark"] body.editorial-mobile-layout .news-card-meta,
  [data-theme="dark"] body.editorial-mobile-layout .featured-feed-meta,
  [data-theme="dark"] body.editorial-mobile-layout .newspaper-description {
    color: var(--text-secondary);
  }
}

@media (max-width: 575.98px) {
  [data-theme="dark"] body.editorial-mobile-layout #photoReportSection .society-home-card {
    background:
      linear-gradient(145deg, rgba(28, 28, 30, 0.86), rgba(18, 18, 20, 0.74)),
      radial-gradient(circle at 20% 0%, rgba(240, 90, 31, 0.18), transparent 36%);
    border-color: rgba(255, 255, 255, 0.11);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  }

  [data-theme="dark"] body.editorial-mobile-layout #photoReportSection .society-home-card .photo-report-caption h4 {
    color: var(--text-primary);
  }

  [data-theme="dark"] body.editorial-mobile-layout #photoReportSection .society-home-card .news-card-meta {
    color: var(--text-secondary);
  }
}

@media (max-width: 575.98px) {
  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society > .container {
    padding-left: 0.95rem;
    padding-right: 0.95rem;
  }

  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .category-feed {
    margin-top: 1rem;
  }

  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .news-section-header {
    align-items: flex-end;
    margin-bottom: 0.8rem;
  }

  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .news-section-header h2 {
    margin: 0;
    color: #f05a1f;
    font-size: 1.18rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .view-all {
    color: #8b8d96;
    font-size: 0.78rem;
    font-weight: 700;
  }

  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .etno-tags {
    display: flex;
    gap: 0.45rem;
    margin: 0 -0.95rem 1rem;
    padding: 0 0.95rem 0.15rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .etno-tags::-webkit-scrollbar {
    display: none;
  }

  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society #categoryArticles .featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.82rem;
  }

  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .society-news-card,
  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society a.society-news-card {
    --society-tilt-x: 0deg;
    --society-tilt-y: 0deg;
    position: relative;
    display: grid;
    min-height: 11.6rem;
    padding: 0;
    overflow: hidden;
    color: #202126;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 1.05rem;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(244, 244, 247, 0.78)),
      radial-gradient(circle at 18% 0%, rgba(240, 90, 31, 0.16), transparent 38%);
    box-shadow: 0 12px 28px rgba(21, 22, 28, 0.1);
    opacity: 1;
    transform: translateY(0) rotateX(var(--society-tilt-x)) rotateY(var(--society-tilt-y));
    transform-style: preserve-3d;
    transition: box-shadow 0.24s ease, transform 0.24s ease;
  }

  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society.society-enhanced .society-news-card {
    opacity: 0;
    transform: translateY(16px) rotateX(var(--society-tilt-x)) rotateY(var(--society-tilt-y));
    transition:
      opacity 0.48s ease var(--society-delay, 0ms),
      transform 0.48s cubic-bezier(0.2, 0.8, 0.2, 1) var(--society-delay, 0ms),
      box-shadow 0.24s ease;
  }

  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society.society-enhanced .society-news-card.is-visible,
  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society.society-enhanced .society-news-card:focus-within {
    opacity: 1;
    transform: translateY(0) rotateX(var(--society-tilt-x)) rotateY(var(--society-tilt-y));
  }

  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .society-news-card:active {
    transform: translateY(1px) scale(0.985);
    box-shadow: 0 8px 20px rgba(21, 22, 28, 0.1);
  }

  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .society-news-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 42%),
      radial-gradient(circle at 100% 0%, rgba(240, 90, 31, 0.12), transparent 32%);
    opacity: 0.8;
  }

  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .society-news-card .featured-feed-thumb {
    width: 100%;
    min-width: 0;
    height: 6.75rem;
    min-height: 6.75rem;
    border-radius: 0;
  }

  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .society-news-card .featured-feed-body {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.45rem;
    padding: 0.78rem 0.82rem 0.85rem;
  }

  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .society-news-card h4 {
    margin: 0;
    color: #222328;
    font-size: 0.9rem;
    font-weight: 820;
    line-height: 1.24;
    -webkit-line-clamp: 3;
  }

  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .society-news-card .featured-feed-meta {
    color: #8d9099;
    font-size: 0.78rem;
    font-weight: 720;
  }

  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .society-news-card:first-child {
    grid-column: 1 / -1;
    min-height: 18.5rem;
    background: #111217;
  }

  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .society-news-card:first-child .featured-feed-thumb {
    position: absolute;
    inset: 0;
    height: 100%;
    min-height: 100%;
    opacity: 0.86;
  }

  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .society-news-card:first-child::after {
    content: "Главное";
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    padding: 0.42rem 0.64rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(240, 90, 31, 0.92);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .society-news-card:first-child .featured-feed-body {
    align-self: end;
    padding: 5rem 1rem 1rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
  }

  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .society-news-card:first-child h4 {
    color: #fff;
    font-size: 1.18rem;
    line-height: 1.18;
    -webkit-line-clamp: 4;
  }

  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .society-news-card:first-child .featured-feed-meta {
    color: rgba(255, 255, 255, 0.78);
  }

  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .society-news-card--1,
  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .society-news-card--4 {
    min-height: 13.4rem;
  }

  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .society-news-card--2 .featured-feed-thumb,
  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .society-news-card--5 .featured-feed-thumb {
    height: 5.4rem;
    min-height: 5.4rem;
  }

  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .society-news-card--3 {
    grid-column: 1 / -1;
    grid-template-columns: 6.2rem minmax(0, 1fr);
    min-height: 7.7rem;
  }

  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .society-news-card--3 .featured-feed-thumb {
    width: 6.2rem;
    height: 100%;
    min-height: 100%;
  }

  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .society-news-card--3 .featured-feed-body {
    align-content: center;
  }
}

@media (max-width: 575.98px) and (prefers-reduced-motion: reduce) {
  body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .society-news-card {
    opacity: 1;
    transform: none !important;
    transition: none;
  }
}

@media (max-width: 575.98px) {
  body.editorial-mobile-layout #photoReportSection .section-label {
    margin: 0 0 0.8rem;
    color: #f05a1f;
    font-size: 1.08rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  body.editorial-mobile-layout #photoReportSection .photo-report-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.82rem;
  }

  body.editorial-mobile-layout #photoReportSection .society-home-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    min-height: 12rem;
    padding: 0;
    overflow: hidden;
    border-radius: 1.05rem;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(244, 244, 247, 0.78)),
      radial-gradient(circle at 20% 0%, rgba(240, 90, 31, 0.15), transparent 36%);
    border: 1px solid rgba(255, 255, 255, 0.74);
    box-shadow: 0 12px 28px rgba(21, 22, 28, 0.1);
    opacity: 1;
    transform: translateY(0);
  }

  body.editorial-mobile-layout #photoReportSection.society-home-enhanced .society-home-card {
    opacity: 0;
    transform: translateY(14px);
    transition:
      opacity 0.45s ease var(--society-delay, 0ms),
      transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) var(--society-delay, 0ms),
      box-shadow 0.24s ease;
  }

  body.editorial-mobile-layout #photoReportSection.society-home-enhanced .society-home-card.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  body.editorial-mobile-layout #photoReportSection .society-home-card:active {
    transform: translateY(1px) scale(0.985);
  }

  body.editorial-mobile-layout #photoReportSection .society-home-card .photo-report-image {
    width: 100%;
    min-width: 0;
    height: 6.7rem;
    min-height: 6.7rem;
    margin: 0;
    border-radius: 0;
  }

  body.editorial-mobile-layout #photoReportSection .society-home-card .photo-report-caption {
    position: relative;
    z-index: 1;
    padding: 0.76rem 0.82rem 0.85rem;
  }

  body.editorial-mobile-layout #photoReportSection .society-home-card .photo-report-caption h4 {
    margin: 0 0 0.48rem;
    color: #222328;
    font-size: 0.92rem;
    font-weight: 820;
    line-height: 1.25;
    -webkit-line-clamp: 3;
  }

  body.editorial-mobile-layout #photoReportSection .society-home-card .news-card-meta {
    color: #8d9099;
    font-size: 0.78rem;
    font-weight: 720;
  }

  body.editorial-mobile-layout #photoReportSection .society-home-card:first-child {
    grid-column: 1 / -1;
    min-height: 18rem;
    background: #111217;
  }

  body.editorial-mobile-layout #photoReportSection .society-home-card:first-child .photo-report-image {
    position: absolute;
    inset: 0;
    height: 100%;
    min-height: 100%;
    opacity: 0.86;
  }

  body.editorial-mobile-layout #photoReportSection .society-home-card:first-child .photo-report-caption {
    align-self: end;
    padding: 5.2rem 1rem 1rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
  }

  body.editorial-mobile-layout #photoReportSection .society-home-card:first-child .photo-report-caption h4 {
    color: #fff;
    font-size: 1.16rem;
    line-height: 1.18;
    -webkit-line-clamp: 4;
  }

  body.editorial-mobile-layout #photoReportSection .society-home-card:first-child .news-card-meta {
    color: rgba(255, 255, 255, 0.78);
  }

  body.editorial-mobile-layout #photoReportSection .society-home-card:first-child::after {
    content: "Общество";
    position: absolute;
    top: 0.82rem;
    left: 0.82rem;
    z-index: 2;
    padding: 0.4rem 0.64rem;
    border-radius: 999px;
    color: #fff;
    background: rgba(240, 90, 31, 0.92);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  body.editorial-mobile-layout #photoReportSection .society-home-card--1 {
    min-height: 13.5rem;
  }

  body.editorial-mobile-layout #photoReportSection .society-home-card--2 .photo-report-image {
    height: 5.3rem;
    min-height: 5.3rem;
  }

  body.editorial-mobile-layout #photoReportSection .society-home-card--3 {
    grid-column: 1 / -1;
    grid-template-columns: 6.2rem minmax(0, 1fr);
    min-height: 7.6rem;
  }

  body.editorial-mobile-layout #photoReportSection .society-home-card--3 .photo-report-image {
    width: 6.2rem;
    height: 100%;
    min-height: 100%;
  }

  body.editorial-mobile-layout #photoReportSection .society-home-card--3 .photo-report-caption {
    align-self: center;
  }
}

.article-related {
  margin-bottom: 2rem;
}

.article-related-header {
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.article-related-header h2 {
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0;
}

@media (max-width: 991.98px) {
  .article-related {
    overflow: hidden;
  }

  .article-related .featured-grid {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    gap: 0.75rem;
    padding-bottom: 0.15rem;
  }

  .article-related .featured-grid::-webkit-scrollbar {
    display: none;
  }

  .article-related .featured-feed-item,
  .article-related a.featured-feed-item {
    flex: 0 0 calc((100% - 0.75rem) / 1.5);
    min-width: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    padding: 0.5rem;
    scroll-snap-align: start;
  }

  .article-related .featured-feed-thumb {
    width: 100%;
    min-height: 0;
    height: auto;
    aspect-ratio: 16 / 10;
    align-self: stretch;
    border-radius: var(--radius-sm);
  }

  .article-related .featured-feed-body {
    flex: 1 1 auto;
    padding: 0;
    gap: 0.25rem;
  }

  .article-related .featured-feed-item h4 {
    font-size: 0.8rem;
    line-height: 1.32;
    -webkit-line-clamp: 3;
  }

  .article-related .featured-feed-meta {
    font-size: 0.68rem;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-latest-card {
    grid-column: 1 / -1;
  }

  .article-latest-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1rem;
  }
}

@media (max-width: 767.98px) {
  #articleBreadcrumb {
    display: none;
  }

  #articlePage {
    padding-bottom: 0.85rem;
  }

  #articlePage + .site-footer {
    margin-top: 1.15rem;
  }

  .article-layout {
    margin-bottom: 0.9rem;
  }

  .article-related {
    margin-bottom: 0.9rem;
  }

  .article-sidebar {
    grid-template-columns: 1fr;
  }

  .article-latest-list {
    display: flex;
  }

  .article-latest-list .article-latest-item:nth-child(n+6) {
    display: none;
  }

  .article-latest-list .article-latest-item:nth-child(5) {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .article-info-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
  }

  .article-info-strip__author {
    text-align: left;
  }

  .article-hero {
    aspect-ratio: 16 / 10;
    max-height: 280px;
  }
}

.content-archive-page > .container,
.content-single-page > .container {
  padding-top: 0;
}

.content-page-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  margin: 0 0 1rem;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  border-radius: var(--radius-lg);
  background: var(--matte-glass-bg);
  border: 1px solid var(--matte-glass-border);
  box-shadow: var(--matte-glass-shadow);
}

.content-page-kicker {
  display: inline-flex;
  margin-bottom: 0.45rem;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.content-page-kicker:hover {
  color: var(--accent);
  opacity: 0.85;
}

.content-page-title {
  margin: 0;
  color: var(--text-primary);
  font-size: clamp(1.65rem, 3.4vw, 2.45rem);
  font-weight: 750;
  line-height: 1.08;
}

.content-page-description {
  max-width: 660px;
  margin: 0.65rem 0 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

.content-page-count {
  justify-self: end;
  white-space: nowrap;
  padding: 0.42rem 0.7rem;
  border-radius: var(--radius-sm);
  background: rgba(var(--brand-glow-rgb), 0.1);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
}

.content-term-nav.section-nav {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  background: var(--header-glass-bg);
  backdrop-filter: var(--header-glass-blur);
  -webkit-backdrop-filter: var(--header-glass-blur);
  border: 1px solid var(--header-glass-border);
  box-shadow: var(--header-glass-shadow);
}

.content-term-nav .section-nav-inner {
  display: block;
}

.content-term-nav .nav {
  width: 100%;
}

.content-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.content-card,
a.content-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.content-card--lead {
  grid-column: span 2;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  grid-template-rows: 1fr;
}

.content-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  color: var(--text-primary);
}

.content-card-media {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: rgba(var(--brand-glow-rgb), 0.08);
}

.content-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.content-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.content-card-image--placeholder {
  object-fit: contain;
  padding: 18%;
  opacity: 0.72;
  background: rgba(var(--brand-glow-rgb), 0.06);
}

.content-card-media--logo {
  background: #d1d5db;
}

.content-card-media--logo .content-card-image--placeholder {
  padding: 25%;
  opacity: 0.4;
  background: transparent;
}

.content-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
  padding: 1rem 1rem 1.1rem;
}

.content-card--lead .content-card-media {
  height: 100%;
  min-height: 280px;
  aspect-ratio: auto;
}

.content-card--lead .content-card-body {
  justify-content: end;
  padding: 1.25rem;
}

.content-card--lead .content-card-title {
  font-size: clamp(1.2rem, 2.1vw, 1.65rem);
  line-height: 1.2;
  -webkit-line-clamp: 5;
}

.content-card--lead .content-card-excerpt {
  -webkit-line-clamp: 4;
}

.content-card-meta,
.content-card-terms {
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.content-card-title {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.content-card-excerpt {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 0.86rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.content-card-arrow {
  position: absolute;
  right: 0.85rem;
  bottom: 0.75rem;
  color: var(--accent);
  font-size: 0.95rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--transition), transform var(--transition);
}

.content-card:hover .content-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.content-empty {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius-md);
}

.content-empty h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 650;
}

.content-empty p {
  margin: 0;
  color: var(--text-secondary);
}

.content-pagination {
  margin: 1.35rem 0 2rem;
}

.content-article-layout {
  margin-bottom: 2.5rem;
}

.content-article-main {
  min-width: 0;
}

.content-article-cover {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  background: rgba(var(--brand-glow-rgb), 0.08);
  border-bottom: 1px solid var(--matte-glass-border);
}

.content-article-cover img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(62vh, 560px);
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.16);
}

.content-body {
  overflow-wrap: anywhere;
  clear: both;
}

.content-body img,
.content-body video,
.content-body iframe {
  max-width: 100%;
}

.content-body img {
  display: block;
  height: auto;
  margin: 1rem auto;
  border-radius: var(--radius-sm);
}

.content-body figure {
  max-width: 100%;
  margin: 1.25rem 0;
}

.content-body figure img {
  margin: 0 auto;
}

.content-body figcaption,
.content-body .wp-caption-text {
  margin-top: 0.45rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
}

/* WordPress editor classes retained in imported article HTML. */
.content-body .alignleft,
.content-body img.alignleft,
.content-body .wp-caption.alignleft {
  float: left;
  margin: 0.35rem 1.35rem 1rem 0;
}

.content-body .alignright,
.content-body img.alignright,
.content-body .wp-caption.alignright {
  float: right;
  margin: 0.35rem 0 1rem 1.35rem;
}

.content-body .aligncenter,
.content-body img.aligncenter,
.content-body .wp-caption.aligncenter {
  clear: both;
  display: block;
  margin: 1.15rem auto;
}

.content-body img.alignleft,
.content-body img.alignright,
.content-body .wp-caption.alignleft,
.content-body .wp-caption.alignright {
  max-width: min(100%, 50%);
}

.content-body .wp-caption {
  box-sizing: border-box;
  max-width: 100%;
  padding: 0.25rem;
  text-align: center;
}

.content-body .wp-caption img {
  margin: 0;
}

.content-body a {
  color: var(--accent);
}

.content-body ul,
.content-body ol {
  margin: 0;
  padding-left: 1.2rem;
}

.content-body li {
  line-height: 1.7;
}

.content-term-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.content-term-list a {
  display: inline-flex;
  max-width: 100%;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(var(--brand-glow-rgb), 0.09);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 550;
  line-height: 1.3;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.content-term-list a:hover {
  opacity: 0.85;
}

@media (max-width: 1199.98px) {
  .content-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-card--lead {
    grid-column: 1 / -1;
  }
}

@media (max-width: 991.98px) {
  .content-page-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .content-page-count {
    justify-self: start;
  }
}

@media (max-width: 767.98px) {
  .content-page-header {
    padding: 1rem;
    border-radius: var(--radius-md);
  }

  .content-term-nav.section-nav {
    overflow: hidden;
    padding: 0.55rem;
  }

  .content-card-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .content-card--lead,
  .content-card,
  a.content-card {
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-rows: auto;
    min-height: 112px;
  }

  .content-card--lead .content-card-media,
  .content-card-media,
  .content-card-image {
    height: 100%;
    min-height: 112px;
    aspect-ratio: auto;
  }

  .content-card--lead .content-card-body,
  .content-card-body {
    padding: 0.75rem 0.85rem;
    justify-content: start;
  }

  .content-card--lead .content-card-title,
  .content-card-title {
    font-size: 0.92rem;
    -webkit-line-clamp: 3;
  }

  .content-card-image--placeholder {
    padding: 20%;
  }

  .content-article-cover {
    padding: 0.6rem;
  }

  .content-article-cover img {
    max-height: 380px;
    border-radius: var(--radius-sm);
  }

  .content-card-excerpt,
  .content-card-terms,
  .content-card-arrow {
    display: none;
  }
}

@media (max-width: 420px) {
  .content-card--lead,
  .content-card,
  a.content-card {
    grid-template-columns: 96px minmax(0, 1fr);
    min-height: 104px;
  }

  .content-card--lead .content-card-media,
  .content-card-media,
  .content-card-image {
    min-height: 104px;
  }
}

/* Раскрывающийся список всех рубрик — встроенный блок (раздвигает контент вниз) */
.all-categories-panel { display: none; width: 100%; margin: 0 0 1rem; }
.all-categories-panel.is-open { display: block; }
.all-categories-panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0 1.25rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.all-categories-panel-grid a {
  display: block;
  padding: 0.6rem 0.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--transition);
}
.all-categories-panel-grid a:hover { color: var(--accent); }

/* Подкатегории в навигации: выпадающий список при наведении на родительскую категорию */
.section-nav .nav-item-has-children { position: relative; }
.section-nav .nav-caret { font-size: 0.7em; opacity: 0.7; }
/* На десктопе снимаем overflow у строки навигации, иначе выпадашка обрезается
   (8 пунктов влезают без горизонтального скролла). На мобильных скролл остаётся. */
@media (min-width: 992px) {
  .section-nav .nav { overflow: visible; }
}
.section-nav .subcategory-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  max-width: min(320px, calc(100vw - 2rem));
  border-radius: var(--radius-md, 10px);
  padding: 0.3rem 0;
  /* Непрозрачный фон (перебиваем .glass-strong) */
  background: var(--bg-secondary, #fff);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid var(--border, rgba(0, 0, 0, 0.12));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 300;
}
.section-nav .nav-item-has-children:hover > .subcategory-dropdown,
.section-nav .nav-item-has-children:focus-within > .subcategory-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.section-nav .subcategory-item {
  display: block;
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
  color: var(--text-secondary, #444);
  white-space: nowrap;
  transition: background var(--transition, 0.2s), color var(--transition, 0.2s);
}
.section-nav .subcategory-item:hover,
.section-nav .subcategory-item.active {
  background: var(--hover-bg, rgba(0, 0, 0, 0.05));
  color: var(--text-primary, #000);
}
/* На мобильных (нет hover) — подкатегории показываем сразу, со сдвигом */
@media (max-width: 991.98px) {
  .section-nav .subcategory-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    margin: 0 0 0 1rem;
    box-shadow: none;
    background: transparent;
  }
}

/* Media stability pass: keeps news and native-language cards visually aligned. */
.hero-card-thumb,
.featured-feed-thumb,
.news-card-image,
.category-hero-image,
.photo-report-image,
.banner-slide-img {
  background-position: center center;
  background-repeat: no-repeat;
}

.article-hero-image {
  object-position: center center;
}

.featured-feed-item,
a.featured-feed-item {
  min-height: 128px;
}

.featured-feed-thumb {
  width: clamp(118px, 16vw, 164px);
  min-height: 112px;
  aspect-ratio: 4 / 3;
  align-self: stretch;
}

#categoryPage .featured-feed-thumb {
  width: clamp(132px, 19vw, 188px);
  min-height: 124px;
}

.hero-card-thumb {
  width: clamp(168px, 24vw, 240px);
  min-height: 118px;
}

.photo-report-card.glass > .photo-report-image:first-child {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.photo-report-image {
  aspect-ratio: 16 / 10;
  min-height: 150px;
}

.hero-row--stack-cards .hero-stack-grid .photo-report-card.glass > .photo-report-image:first-child,
.hero-row--stack-cards .hero-stack-grid .photo-report-image {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.content-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.content-card,
a.content-card {
  min-height: 100%;
}

.content-card-media {
  aspect-ratio: 16 / 9;
  min-height: 205px;
}

.content-card--lead {
  grid-column: span 2;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.9fr);
}

.content-card--lead .content-card-media {
  min-height: 360px;
}

.content-article-cover {
  padding: clamp(1rem, 2.8vw, 1.75rem);
}

.content-article-cover img {
  width: min(100%, 980px);
  max-height: min(72vh, 720px);
}

.article-body {
  overflow-wrap: anywhere;
  clear: both;
}

.article-body img,
.article-body video,
.article-body iframe {
  max-width: 100%;
}

.article-body img {
  display: block;
  height: auto;
  margin: 1rem auto;
  border-radius: var(--radius-sm);
}

.article-body figure {
  max-width: 100%;
  margin: 1.25rem 0;
}

.article-body figure img {
  margin: 0 auto;
}

.article-body figcaption,
.article-body .wp-caption-text {
  margin-top: 0.45rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
}

.article-body .alignleft,
.article-body img.alignleft,
.article-body .wp-caption.alignleft {
  float: left;
  margin: 0.35rem 1.35rem 1rem 0;
}

.article-body .alignright,
.article-body img.alignright,
.article-body .wp-caption.alignright {
  float: right;
  margin: 0.35rem 0 1rem 1.35rem;
}

.article-body .aligncenter,
.article-body img.aligncenter,
.article-body .wp-caption.aligncenter {
  clear: both;
  display: block;
  margin: 1.15rem auto;
}

.article-body img.alignleft,
.article-body img.alignright,
.article-body .wp-caption.alignleft,
.article-body .wp-caption.alignright {
  max-width: min(100%, 50%);
}

.article-body .wp-caption {
  box-sizing: border-box;
  max-width: 100%;
  padding: 0.25rem;
  text-align: center;
}

.article-body .wp-caption img {
  margin: 0;
}

@media (max-width: 640px) {
  .content-body .alignleft,
  .content-body .alignright,
  .content-body img.alignleft,
  .content-body img.alignright,
  .content-body .wp-caption.alignleft,
  .content-body .wp-caption.alignright,
  .article-body .alignleft,
  .article-body .alignright,
  .article-body img.alignleft,
  .article-body img.alignright,
  .article-body .wp-caption.alignleft,
  .article-body .wp-caption.alignright {
    float: none;
    display: block;
    max-width: 100%;
    margin: 1.15rem auto;
  }
}

.privacy-consent {
  position: fixed;
  bottom: 1rem;
  left: 0;
  right: 0;
  z-index: 1080;
  padding: 0 max(1rem, env(safe-area-inset-right)) 0 max(1rem, env(safe-area-inset-left));
  pointer-events: none;
}

[data-theme="dark"] .privacy-consent {
  background: transparent;
}

.privacy-consent__inner {
  width: fit-content;
  max-width: min(100%, 980px);
  margin: 0 auto;
  padding: 0.9rem 0.9rem 0.9rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.85rem, 2vw, 1.35rem);
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.16);
}

[data-theme="dark"] .privacy-consent__inner {
  background: rgba(20, 24, 31, 0.46);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

.privacy-consent__text {
  margin: 0;
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.6;
}

.privacy-consent__text--mobile {
  display: none;
}

.privacy-consent__text a {
  color: color-mix(in srgb, var(--accent) 76%, #2c7dc0);
  font-weight: 700;
  font-style: italic;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.privacy-consent__button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 154px;
  min-height: 64px;
  padding: 0.8rem 1.45rem;
  border: 0;
  /* как кнопка «Главная» в блоке категорий: чистый акцентный цвет */
  border-radius: var(--radius-md);
  background: var(--accent);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 10px 22px rgba(var(--brand-glow-rgb, 30, 116, 190), 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.privacy-consent__button:hover,
.privacy-consent__button:focus-visible {
  background: color-mix(in srgb, var(--accent) 88%, #000);
  box-shadow: 0 12px 26px rgba(var(--brand-glow-rgb, 30, 116, 190), 0.28);
  transform: translateY(-1px);
}

@media (max-width: 991.98px) {
  .featured-feed-item,
  a.featured-feed-item {
    min-height: 118px;
  }

  .featured-feed-thumb,
  #categoryPage .featured-feed-thumb {
    width: clamp(112px, 28vw, 152px);
    min-height: 108px;
  }

  .content-card--lead {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }

  .content-card--lead .content-card-media {
    min-height: 300px;
  }
}

@media (max-width: 767.98px) {
  #categoryPage .category-filter-tags--desktop,
  #categoriesPage .categories-page-nav {
    display: none;
  }

  #categoryPage .category-filter-disclosure--mobile,
  #categoriesPage .category-filter-disclosure--mobile {
    display: block;
  }

  body.editorial-mobile-layout #categoryPage .category-hero-wrap {
    margin-bottom: 1.05rem;
  }

  body.editorial-mobile-layout #categoryPage .category-hero {
    min-height: clamp(19rem, 78vw, 25rem);
    border-radius: 1.15rem;
  }

  body.editorial-mobile-layout #categoryPage .category-hero-image::after {
    background:
      linear-gradient(to top, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.48) 58%, rgba(0, 0, 0, 0.12) 100%);
  }

  body.editorial-mobile-layout #categoryPage .category-hero-content {
    min-height: clamp(19rem, 78vw, 25rem);
    padding: 1rem;
    justify-content: flex-end;
    gap: 0.58rem;
  }

  body.editorial-mobile-layout #categoryPage .category-hero-content h2 {
    margin: 0;
    max-width: none;
    font-size: clamp(1.18rem, 6vw, 1.62rem);
    line-height: 1.14;
    font-weight: 780;
    letter-spacing: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.48);
  }

  body.editorial-mobile-layout #categoryPage .category-hero-content p {
    display: none;
  }

  body.editorial-mobile-layout #categoryPage .category-hero-content .banner-section {
    margin-bottom: 0;
    padding: 0.24rem 0.55rem;
    font-size: 0.62rem;
    line-height: 1.1;
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(14px) saturate(1.18);
    -webkit-backdrop-filter: blur(14px) saturate(1.18);
  }

  body.editorial-mobile-layout #categoryPage .category-hero-content .banner-meta {
    font-size: 0.78rem;
    line-height: 1.2;
    opacity: 0.82;
  }

  body.editorial-mobile-layout #categoryPage .category-hero-cta {
    margin-top: 0.08rem;
    padding: 0.44rem 0.78rem;
    font-size: 0.72rem;
    line-height: 1.1;
  }

  #categoryPage .category-filter-disclosure,
  #categoriesPage .category-filter-disclosure {
    margin: 0 0 1rem;
    border-radius: 1.05rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 28px rgba(20, 20, 24, 0.08);
    overflow: hidden;
    backdrop-filter: blur(22px) saturate(1.2);
    -webkit-backdrop-filter: blur(22px) saturate(1.2);
  }

  #categoryPage .category-filter-disclosure summary,
  #categoriesPage .category-filter-disclosure summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    min-height: 3.15rem;
    padding: 0.78rem 0.95rem;
    color: #24252b;
    cursor: pointer;
    list-style: none;
    font-size: 0.96rem;
    font-weight: 680;
  }

  #categoryPage .category-filter-disclosure summary::-webkit-details-marker,
  #categoriesPage .category-filter-disclosure summary::-webkit-details-marker {
    display: none;
  }

  #categoryPage .category-filter-disclosure summary::after,
  #categoriesPage .category-filter-disclosure summary::after {
    content: '';
    width: 0.56rem;
    height: 0.56rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.18s ease;
  }

  #categoryPage .category-filter-disclosure[open] summary::after,
  #categoriesPage .category-filter-disclosure[open] summary::after {
    transform: rotate(225deg) translate(-0.12rem, -0.12rem);
  }

  #categoryPage .category-filter-disclosure__current,
  #categoriesPage .category-filter-disclosure__current {
    min-width: 0;
    max-width: 9.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    justify-self: end;
    color: #6d6f78;
    font-size: 0.76rem;
    font-weight: 420;
  }

  #categoryPage .category-filter-disclosure .etno-tags,
  #categoriesPage .category-filter-disclosure .etno-tags {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.68rem;
    padding: 0 0.78rem 0.9rem;
  }

  #categoryPage .category-filter-disclosure .etno-tag,
  #categoriesPage .category-filter-disclosure .etno-tag {
    justify-content: center;
    min-height: 2.55rem;
    padding: 0.58rem 0.62rem;
    border-radius: 0.78rem;
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.18;
    font-weight: 420;
    background: rgba(255, 255, 255, 0.52);
    border-color: rgba(82, 84, 96, 0.16);
  }

  [data-theme="dark"] #categoryPage .category-filter-disclosure,
  [data-theme="dark"] #categoriesPage .category-filter-disclosure {
    background: rgba(25, 25, 29, 0.64);
    border-color: rgba(255, 255, 255, 0.11);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
  }

  [data-theme="dark"] #categoryPage .category-filter-disclosure summary,
  [data-theme="dark"] #categoriesPage .category-filter-disclosure summary {
    color: #f0f0f3;
  }

  [data-theme="dark"] #categoryPage .category-filter-disclosure__current,
  [data-theme="dark"] #categoriesPage .category-filter-disclosure__current {
    color: #b4b5bd;
  }

  [data-theme="dark"] #categoryPage .category-filter-disclosure .etno-tag,
  [data-theme="dark"] #categoriesPage .category-filter-disclosure .etno-tag {
    color: #ececf0;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
  }

  [data-theme="dark"] #categoryPage .category-filter-disclosure .etno-tag.active,
  [data-theme="dark"] #categoriesPage .category-filter-disclosure .etno-tag.active {
    color: #fff;
  }

  .featured-feed-item,
  a.featured-feed-item {
    min-height: 112px;
    padding: 0.5rem;
    gap: 0.65rem;
  }

  .featured-feed-thumb,
  #categoryPage .featured-feed-thumb {
    width: 124px;
    min-height: 104px;
  }

  .hero-card-thumb {
    width: 128px;
    min-height: 104px;
  }

  .photo-report-image {
    min-height: 172px;
  }

  .content-card--lead,
  .content-card,
  a.content-card {
    grid-template-columns: minmax(138px, 42%) minmax(0, 1fr);
    min-height: 142px;
  }

  .content-card--lead .content-card-media,
  .content-card-media,
  .content-card-image {
    min-height: 142px;
  }

  .privacy-consent {
    bottom: 0.75rem;
  }

  .privacy-consent__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.38);
  }

  [data-theme="dark"] .privacy-consent__inner {
    background: rgba(20, 24, 31, 0.34);
  }

  .privacy-consent__text {
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .privacy-consent__text--desktop {
    display: none;
  }

  .privacy-consent__text--mobile {
    display: block;
  }

  .privacy-consent .privacy-consent__button {
    min-width: 128px !important;
    min-height: 48px !important;
    height: 48px !important;
    padding: 0 1rem !important;
    font-size: 0.82rem;
    line-height: 1 !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    align-self: stretch;
  }
}

@media (max-width: 420px) {
  .featured-feed-thumb,
  #categoryPage .featured-feed-thumb,
  .hero-card-thumb {
    width: 112px;
    min-height: 96px;
  }

  .content-card--lead,
  .content-card,
  a.content-card {
    grid-template-columns: 124px minmax(0, 1fr);
    min-height: 132px;
  }

  .content-card--lead .content-card-media,
  .content-card-media,
  .content-card-image {
    min-height: 132px;
  }

}

@media (max-width: 991.98px) {
  [data-theme="dark"] body.editorial-mobile-layout {
    background:
      radial-gradient(circle at 50% -8%, rgba(var(--brand-glow-rgb), 0.1), transparent 34%),
      var(--bg-primary);
  }

  [data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana .site-header .navbar,
  [data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana .mobile-nav-drawer,
  [data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana .newspaper-intro,
  [data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana .mobile-news-card,
  [data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana a.mobile-news-card,
  [data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana .hero-card,
  [data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana .featured-feed-item,
  [data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana a.featured-feed-item,
  [data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana .photo-report-card,
  [data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .society-news-card,
  [data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society a.society-news-card,
  [data-theme="dark"] body.editorial-mobile-layout #photoReportSection .society-home-card {
    background: var(--matte-glass-bg);
    border-color: var(--matte-glass-border);
    box-shadow: var(--matte-glass-shadow);
  }

  [data-theme="dark"] body.editorial-mobile-layout .site-header .navbar {
    background: rgba(22, 22, 24, 0.5);
  }

  [data-theme="dark"] body.editorial-mobile-layout .mobile-nav-drawer {
    background: rgba(18, 18, 20, 0.5);
    box-shadow: -18px 0 50px rgba(0, 0, 0, 0.42);
  }

  [data-theme="dark"] body.editorial-mobile-layout .newspaper-chrome {
    margin-top: 0 !important;
    padding-top: calc(5.50rem + env(safe-area-inset-top, 0px));
  }

  [data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana .site-header .theme-toggle,
  [data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana .site-header .navbar-toggler,
  [data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana .mobile-news-card h4,
  [data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana .hero-card-body h4,
  [data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana .featured-feed-item h4,
  [data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana .photo-report-caption h4,
  [data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .society-news-card h4,
  [data-theme="dark"] body.editorial-mobile-layout #photoReportSection .society-home-card .photo-report-caption h4 {
    color: var(--text-primary);
  }

  [data-theme="dark"] body.editorial-mobile-layout .site-header .navbar-toggler {
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23f5f5f7' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }

  [data-theme="dark"] body.editorial-mobile-layout .site-header .navbar-toggler-icon {
    background-image: var(--bs-navbar-toggler-icon-bg) !important;
    filter: none !important;
  }

  [data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana .mobile-news-card__date,
  [data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana .news-card-meta,
  [data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana .featured-feed-meta,
  [data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana .newspaper-description,
  [data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana .mobile-nav-drawer .nav-link,
  [data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana .mobile-nav-drawer__brand,
  [data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana .mobile-nav-drawer__label,
  [data-theme="dark"] body.newspaper-edition-zhenshchina-dagestana #categoryPage.category-page--society .society-news-card .featured-feed-meta,
  [data-theme="dark"] body.editorial-mobile-layout #photoReportSection .society-home-card .news-card-meta {
    color: var(--text-secondary) !important;
  }

  [data-theme="dark"] body.editorial-mobile-layout .site-header .header-age-rating,
  [data-theme="dark"] body.editorial-mobile-layout .mobile-nav-drawer__close {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
  }

  [data-theme="dark"] body.editorial-mobile-layout .mobile-nav-drawer__category-link {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--text-primary) !important;
  }

  [data-theme="dark"] body.editorial-mobile-layout .mobile-nav-drawer__category-link.active {
    background: rgba(var(--brand-glow-rgb), 0.16);
    border-color: rgba(var(--brand-glow-rgb), 0.28);
    color: #f3e4ca !important;
  }

  [data-theme="dark"] body.editorial-mobile-layout .mobile-nav-drawer__foot {
    border-top-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
  }
}

/* Universal mobile layout for all editorial sites.
   Compact mobile feed: base "display: none" is set in the shared
   mobile block above; phones (<576px) switch it to grid there. */

@media (max-width: 991.98px) {
  body.editorial-mobile-layout {
    background: #f1f1f3;
  }

  [data-theme="dark"] body.editorial-mobile-layout {
    background: #111217;
  }

  body.editorial-mobile-layout .site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1045;
    padding: calc(0.45rem + env(safe-area-inset-top, 0px)) 0.38rem 0;
    pointer-events: none;
  }

  body.editorial-mobile-layout .site-header > .container {
    width: 100%;
    max-width: none;
    padding: 0;
  }

  body.editorial-mobile-layout .site-header .navbar {
    display: grid;
    grid-template-columns: minmax(7.4rem, 1fr) auto;
    align-items: center;
    width: min(100%, calc(100vw - 0.76rem));
    height: 3.45rem;
    min-height: 3.45rem;
    margin: 0 auto;
    padding: 0.36rem 0.46rem;
    overflow: visible;
    border-radius: 1.15rem;
    background: rgba(246, 246, 248, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow: 0 8px 24px rgba(18, 18, 22, 0.08);
    backdrop-filter: blur(28px) saturate(1.38);
    -webkit-backdrop-filter: blur(28px) saturate(1.38);
    pointer-events: auto;
  }

  [data-theme="dark"] body.editorial-mobile-layout .site-header .navbar {
    background: rgba(24, 25, 31, 0.72);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  }

  body.editorial-mobile-layout .site-header .navbar-collapse,
  body.editorial-mobile-layout .site-header .navbar-tools > .header-search,
  body.editorial-mobile-layout .site-header .navbar-tools > .navbar-print-edition,
  body.editorial-mobile-layout .site-header .navbar-tools > .navbar-subscribe {
    display: none !important;
  }

  body.editorial-mobile-layout .header-logo {
    display: flex !important;
    align-items: center;
    width: min(10.5rem, 48vw);
    min-width: 0;
    height: 2.65rem;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  body.editorial-mobile-layout .header-logo-img {
    width: 100%;
    max-width: 10.5rem;
    height: 2.55rem;
    object-fit: contain;
    object-position: left center;
  }

  body.editorial-mobile-layout .site-header .navbar-tools {
    display: flex !important;
    align-items: center;
    gap: 0.46rem;
    margin: 0;
  }

  body.editorial-mobile-layout .site-header .theme-toggle,
  body.editorial-mobile-layout .site-header .navbar-toggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    min-width: 2.35rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0.82rem;
    background: transparent;
    box-shadow: none;
  }

  body.editorial-mobile-layout .site-header .header-age-rating {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 1.86rem;
    height: 1.86rem;
    min-width: 1.86rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
    color: #222328;
    font-size: 0.74rem;
    font-weight: 800;
  }

  [data-theme="dark"] body.editorial-mobile-layout .site-header .header-age-rating {
    background: rgba(255, 255, 255, 0.1);
    color: #f1f2f4;
  }

  body.editorial-mobile-layout .newspaper-chrome {
    margin-top: calc(5.5rem + env(safe-area-inset-top, 0px)) !important;
  }

  body.editorial-mobile-layout .newspaper-brand,
  body.editorial-mobile-layout .newspaper-chrome .section-nav {
    display: none !important;
  }

}

@media (max-width: 575.98px) {
  body.editorial-mobile-layout #newspaperPage > .container {
    padding-left: 0.95rem;
    padding-right: 0.95rem;
  }

  body.editorial-mobile-layout .hero-row,
  body.editorial-mobile-layout .featured-grid,
  body.editorial-mobile-layout #newspaperPage .featured-grid,
  body.editorial-mobile-layout .photo-report-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.9rem;
  }

  body.editorial-mobile-layout #photoReportSection .photo-report-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.82rem;
  }

  body.editorial-mobile-layout .edition-authors {
    display: none !important;
  }

  body.editorial-mobile-layout .mobile-news-card,
  body.editorial-mobile-layout a.mobile-news-card {
    display: grid;
    grid-template-columns: 5.45rem minmax(0, 1fr);
    align-items: center;
    min-height: 6.9rem;
    padding: 0.65rem;
    gap: 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 0.95rem;
    color: #222328;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 8px 24px rgba(20, 20, 24, 0.07);
  }

  [data-theme="dark"] body.editorial-mobile-layout .mobile-news-card,
  [data-theme="dark"] body.editorial-mobile-layout a.mobile-news-card {
    color: #f1f2f4;
    background: rgba(29, 30, 36, 0.94);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }

  body.editorial-mobile-layout .mobile-news-card__thumb {
    width: 5.45rem;
    min-width: 5.45rem;
    height: 5.45rem;
    min-height: 5.45rem;
    border-radius: 0.75rem;
  }

  body.editorial-mobile-layout .mobile-news-card__body {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
  }

  body.editorial-mobile-layout .mobile-news-card h4 {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #222328;
    font-size: 0.97rem;
    font-weight: 760;
    line-height: 1.32;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  [data-theme="dark"] body.editorial-mobile-layout .mobile-news-card h4 {
    color: #f1f2f4;
  }

  body.editorial-mobile-layout .mobile-news-card__date {
    color: #8a8a92;
    font-size: 0.86rem;
    font-weight: 650;
  }

  [data-theme="dark"] body.editorial-mobile-layout .mobile-news-card__date {
    color: #aeb3bd;
  }
}

@media (max-width: 991.98px) {
  [data-theme="dark"] body.editorial-mobile-layout .mobile-nav-drawer,
  [data-theme="dark"] body.editorial-mobile-layout .newspaper-intro,
  [data-theme="dark"] body.editorial-mobile-layout .native-feed,
  [data-theme="dark"] body.editorial-mobile-layout .print-edition,
  [data-theme="dark"] body.editorial-mobile-layout .hero-card,
  [data-theme="dark"] body.editorial-mobile-layout .featured-feed-item,
  [data-theme="dark"] body.editorial-mobile-layout .photo-report-card,
  [data-theme="dark"] body.editorial-mobile-layout #categoryPage.category-page--society .society-news-card,
  [data-theme="dark"] body.editorial-mobile-layout #photoReportSection .society-home-card {
    background: var(--matte-glass-bg);
    border-color: var(--matte-glass-border);
    box-shadow: var(--matte-glass-shadow);
  }
}

@media (max-width: 575.98px) {
  body.editorial-mobile-layout #photoReportSection.society-home-enhanced .society-home-card.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  body.editorial-mobile-layout #photoReportSection.society-home-enhanced .society-home-card {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.45s ease var(--society-delay, 0ms), transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) var(--society-delay, 0ms), box-shadow 0.24s ease;
  }

  body.editorial-mobile-layout #photoReportSection .society-home-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    min-height: 12rem;
    padding: 0;
    overflow: hidden;
    border-radius: 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.74);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 28px rgba(21, 22, 28, 0.1);
  }

  body.editorial-mobile-layout #photoReportSection .society-home-card:first-child {
    grid-column: 1 / -1;
    min-height: 18rem;
    background: #111217;
  }

  body.editorial-mobile-layout #photoReportSection .photo-report-card:first-child {
    display: grid;
    grid-column: 1 / -1;
    min-height: 18rem;
    background: #111217;
  }

  body.editorial-mobile-layout #photoReportSection .photo-report-card:first-child .photo-report-caption {
    align-self: end;
    padding: 5.2rem 1rem 1rem;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
  }

  body.editorial-mobile-layout #photoReportSection .photo-report-card:first-child .photo-report-image {
    position: absolute;
    inset: 0;
    height: 100%;
    min-height: 100%;
    opacity: 0.86;
  }

  body.editorial-mobile-layout #photoReportSection .photo-report-card--3 {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 6.2rem minmax(0, 1fr);
    min-height: 7.6rem;
  }

  body.editorial-mobile-layout #heroCards > :nth-child(n + 4),
  body.editorial-mobile-layout .featured-grid:not(.featured-grid--with-promos) > .featured-feed-item:nth-of-type(n + 9),
  body.editorial-mobile-layout .featured-grid--with-promos .featured-grid__column:not(.featured-grid__promos) > .featured-feed-item:nth-of-type(n + 3),
  body.editorial-mobile-layout .photo-report-grid > .photo-report-card:nth-child(n + 5),
  body.editorial-mobile-layout .zamana-promo-row > .zamana-promo-banner:nth-of-type(n + 5) {
    display: none !important;
  }

  body.editorial-mobile-layout #photoReportSection .photo-report-card .photo-report-caption {
    position: relative;
    z-index: 1;
    padding: 0.76rem 0.82rem 0.85rem;
  }

  body.editorial-mobile-layout #photoReportSection .photo-report-card .news-card-meta {
    color: #8d9099;
    font-size: 0.78rem;
    font-weight: 720;
  }

  body.editorial-mobile-layout #photoReportSection .photo-report-card:first-child .photo-report-caption h4 {
    color: #fff;
    font-size: 1.16rem;
    line-height: 1.18;
    -webkit-line-clamp: 4;
  }
}

@media (max-width: 991.98px) {
  [data-theme="dark"] body.editorial-mobile-layout .site-header .theme-toggle,
  [data-theme="dark"] body.editorial-mobile-layout .site-header .navbar-toggler,
  [data-theme="dark"] body.editorial-mobile-layout .mobile-news-card h4,
  [data-theme="dark"] body.editorial-mobile-layout .hero-card-body h4,
  [data-theme="dark"] body.editorial-mobile-layout .featured-feed-item h4,
  [data-theme="dark"] body.editorial-mobile-layout .photo-report-caption h4,
  [data-theme="dark"] body.editorial-mobile-layout #categoryPage.category-page--society .society-news-card h4 {
    color: var(--text-primary);
  }

  [data-theme="dark"] body.editorial-mobile-layout .mobile-news-card__date,
  [data-theme="dark"] body.editorial-mobile-layout .news-card-meta,
  [data-theme="dark"] body.editorial-mobile-layout .featured-feed-meta,
  [data-theme="dark"] body.editorial-mobile-layout .newspaper-description,
  [data-theme="dark"] body.editorial-mobile-layout .mobile-nav-drawer .nav-link,
  [data-theme="dark"] body.editorial-mobile-layout .mobile-nav-drawer__brand,
  [data-theme="dark"] body.editorial-mobile-layout .mobile-nav-drawer__label,
  [data-theme="dark"] body.editorial-mobile-layout #categoryPage.category-page--society .society-news-card .featured-feed-meta {
    color: var(--text-secondary) !important;
  }
}

@media (max-width: 575.98px) {
  [data-theme="dark"] body.editorial-mobile-layout #photoReportSection .photo-report-card:first-child .photo-report-caption h4 {
    color: #fff;
  }
}

@media (max-width: 575.98px) {
  body.editorial-mobile-layout .featured-grid--with-promos .featured-grid__promos {
    display: flex !important;
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 0.85rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 0 0.2rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x;
  }

  body.editorial-mobile-layout .featured-grid--with-promos .featured-grid__promos::-webkit-scrollbar {
    display: none;
  }

  body.editorial-mobile-layout .featured-grid--with-promos .featured-grid__promos .zamana-promo-banner {
    flex: 0 0 calc(100% - 2.25rem);
    min-height: 9rem;
    aspect-ratio: 1;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

/* ===== Ячейки новостей под слайдером (#heroCards) на планшетной полосе (576-991.98px).
   Общий вид для всех сайтов: компактная горизонтальная карточка
   «миниатюра слева — заголовок и дата справа», как в мобильной ленте. ===== */
@media (min-width: 576px) and (max-width: 991.98px) {
  body.editorial-mobile-layout #heroCards {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
    grid-template-rows: none;
    gap: 0.85rem;
    flex: none;
    height: auto;
  }

  body.editorial-mobile-layout #heroCards .hero-card,
  body.editorial-mobile-layout #heroCards a.hero-card,
  body.editorial-mobile-layout #heroCards .photo-report-card,
  body.editorial-mobile-layout #heroCards a.photo-report-card,
  body.editorial-mobile-layout #heroCards .featured-feed-item,
  body.editorial-mobile-layout #heroCards a.featured-feed-item {
    position: relative;
    display: grid;
    grid-template-columns: 6.4rem minmax(0, 1fr);
    align-items: center;
    gap: 0.85rem;
    min-height: 8rem;
    height: auto;
    max-height: none;
    padding: 0.75rem;
    border-radius: 1rem;
    overflow: hidden;
  }

  body.editorial-mobile-layout #heroCards .hero-card-thumb,
  body.editorial-mobile-layout #heroCards .photo-report-image,
  body.editorial-mobile-layout #heroCards .featured-feed-thumb {
    width: 6.4rem !important;
    min-width: 6.4rem;
    max-width: 6.4rem;
    height: 6.4rem !important;
    min-height: 6.4rem !important;
    max-height: 6.4rem;
    flex: none;
    align-self: center;
    border-radius: 0.8rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
  }

  body.editorial-mobile-layout #heroCards .hero-card-body,
  body.editorial-mobile-layout #heroCards .photo-report-caption,
  body.editorial-mobile-layout #heroCards .featured-feed-body {
    position: static;
    display: grid;
    align-content: center;
    gap: 0.35rem;
    min-width: 0;
    padding: 0;
    background: none;
  }

  body.editorial-mobile-layout #heroCards .hero-card-body h4,
  body.editorial-mobile-layout #heroCards .photo-report-caption h4,
  body.editorial-mobile-layout #heroCards .featured-feed-body h4 {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  body.editorial-mobile-layout #heroCards .hero-card-excerpt {
    display: none;
  }

  body.editorial-mobile-layout #heroCards .hero-card-section {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

  body.editorial-mobile-layout #heroCards .news-card-meta {
    font-size: 0.84rem;
  }
}

/* ===== Ячейки новостей под слайдером (#heroCards) на телефонах (<576px).
   Плотная компоновка: высота по содержимому, крупная квадратная
   миниатюра, заголовок в 3 строки, минимум пустого места. ===== */
@media (max-width: 575.98px) {
  body.editorial-mobile-layout #heroCards {
    grid-template-rows: none;
    gap: 0.75rem;
    height: auto;
    flex: none;
  }

  body.editorial-mobile-layout #heroCards .hero-card,
  body.editorial-mobile-layout #heroCards a.hero-card {
    height: auto;
    min-height: 0;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem;
    border-radius: 0.95rem;
  }

  body.editorial-mobile-layout #heroCards .hero-card-thumb,
  body.editorial-mobile-layout #heroCards .hero-card-thumb--logo {
    width: 6.2rem !important;
    min-width: 6.2rem;
    max-width: 6.2rem;
    height: 6.2rem !important;
    min-height: 6.2rem !important;
    max-height: 6.2rem;
    flex: 0 0 6.2rem;
    align-self: center;
    border-radius: 0.8rem;
  }

  body.editorial-mobile-layout #heroCards .hero-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    min-width: 0;
    padding: 0;
  }

  body.editorial-mobile-layout #heroCards .hero-card-section {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    line-height: 1.2;
  }

  body.editorial-mobile-layout #heroCards .hero-card-body h4 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    -webkit-line-clamp: 3;
  }

  body.editorial-mobile-layout #heroCards .hero-card-excerpt {
    display: none;
  }

  body.editorial-mobile-layout #heroCards .news-card-meta {
    font-size: 0.8rem;
  }
}

/* ===== Боковая лента (#nativeFeedSection: «Лента новостей» / «На родном»)
   на телефонах (<576px). Карточка со внутренним скроллом: контейнер
   ограничен по высоте, список прокручивается внутри. ===== */
@media (max-width: 575.98px) {
  /* display с !important: ниже по файлу, поэтому перебивает
     display: revert !important из блока восстановления секций.
     Высота по содержимому: ровно 5 новостей, скролл не нужен. */
  body.editorial-mobile-layout #nativeFeedSection.native-feed {
    display: flex !important;
    flex-direction: column;
    height: auto;
    max-height: none;
    padding: 0;
    overflow: hidden;
    border-radius: 1rem;
  }

  body.editorial-mobile-layout #nativeFeedSection .native-feed-header {
    flex: 0 0 auto;
    margin: 0;
    padding: 0.9rem 1rem 0.55rem;
    border-bottom: 1px solid color-mix(in srgb, var(--border-subtle) 80%, transparent);
  }

  body.editorial-mobile-layout #nativeFeedSection .native-feed-header h3 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.25;
  }

  body.editorial-mobile-layout #nativeFeedSection .native-feed-list {
    flex: none;
    margin: 0;
    padding: 0.25rem 0.55rem 0.6rem;
    overflow: visible;
  }

  body.editorial-mobile-layout #nativeFeedSection .native-feed-item {
    margin: 0;
  }

  /* Показываем только первые 5 новостей — блок помещается целиком без скролла. */
  body.editorial-mobile-layout #nativeFeedSection .native-feed-item:nth-child(n + 6) {
    display: none !important;
  }

  body.editorial-mobile-layout #nativeFeedSection .native-feed-item + .native-feed-item {
    border-top: 1px solid color-mix(in srgb, var(--border-subtle) 70%, transparent);
  }

  body.editorial-mobile-layout #nativeFeedSection .native-feed-link {
    display: grid;
    gap: 0.28rem;
    padding: 0.62rem 0.45rem;
    border-radius: 0.6rem;
    text-decoration: none;
  }

  body.editorial-mobile-layout #nativeFeedSection .native-feed-link:active {
    background: var(--hover-bg);
  }

  body.editorial-mobile-layout #nativeFeedSection .native-feed-title {
    display: -webkit-box;
    overflow: hidden;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  body.editorial-mobile-layout #nativeFeedSection .native-feed-meta {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
  }
}

/* ===== Телефоны: компактная лента (10 новостей) и «Главная лента»
   (#featuredSection, 5 ячеек). Карточки в едином стиле с ячейками
   под слайдером: миниатюра 6.2rem, заголовок 1rem до 3 строк. ===== */
@media (max-width: 575.98px) {
  /* --- Компактная лента: только первые 10 новостей --- */
  body.editorial-mobile-layout .mobile-news-feed .mobile-news-card:nth-child(n + 11) {
    display: none !important;
  }

  body.editorial-mobile-layout .mobile-news-feed .mobile-news-card,
  body.editorial-mobile-layout .mobile-news-feed a.mobile-news-card {
    grid-template-columns: 6.2rem minmax(0, 1fr);
    align-items: center;
    min-height: 0;
    padding: 0.7rem;
    gap: 0.8rem;
    border-radius: 0.95rem;
  }

  body.editorial-mobile-layout .mobile-news-feed .mobile-news-card__thumb {
    width: 6.2rem;
    min-width: 6.2rem;
    max-width: 6.2rem;
    height: 6.2rem;
    min-height: 6.2rem;
    max-height: 6.2rem;
    border-radius: 0.8rem;
  }

  body.editorial-mobile-layout .mobile-news-feed .mobile-news-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    min-width: 0;
  }

  body.editorial-mobile-layout .mobile-news-feed .mobile-news-card h4 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  body.editorial-mobile-layout .mobile-news-feed .mobile-news-card__date {
    font-size: 0.8rem;
  }

  /* --- «Главная лента» (#featuredSection): ровно 5 ячеек ---
     Простая сетка: первые 5 подряд. */
  body.editorial-mobile-layout #featuredSection .featured-grid:not(.featured-grid--with-promos) > .featured-feed-item:nth-of-type(-n + 5) {
    display: grid !important;
  }

  body.editorial-mobile-layout #featuredSection .featured-grid:not(.featured-grid--with-promos) > .featured-feed-item:nth-of-type(n + 6) {
    display: none !important;
  }

  /* Вариант с промо-колонками (новости чередуются по колонкам 0,3,6,9 /
     1,4,7,10 / 2,5,8,11): колонки растворяются (display: contents),
     берём первые 2+2+1 и возвращаем хронологию через order. */
  body.editorial-mobile-layout #featuredSection .featured-grid--with-promos {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.85rem;
  }

  body.editorial-mobile-layout #featuredSection .featured-grid--with-promos .featured-grid__column:not(.featured-grid__promos) {
    display: contents !important;
  }

  body.editorial-mobile-layout #featuredSection .featured-grid--with-promos .featured-grid__column:not(.featured-grid__promos) > .featured-feed-item {
    display: none !important;
  }

  body.editorial-mobile-layout #featuredSection .featured-grid--with-promos .featured-grid__column:nth-child(1) > .featured-feed-item:nth-of-type(-n + 2),
  body.editorial-mobile-layout #featuredSection .featured-grid--with-promos .featured-grid__column:nth-child(2) > .featured-feed-item:nth-of-type(-n + 2),
  body.editorial-mobile-layout #featuredSection .featured-grid--with-promos .featured-grid__column:nth-child(3) > .featured-feed-item:nth-of-type(1) {
    display: grid !important;
  }

  body.editorial-mobile-layout #featuredSection .featured-grid--with-promos .featured-grid__column:nth-child(1) > .featured-feed-item:nth-of-type(1) { order: 0; }
  body.editorial-mobile-layout #featuredSection .featured-grid--with-promos .featured-grid__column:nth-child(2) > .featured-feed-item:nth-of-type(1) { order: 1; }
  body.editorial-mobile-layout #featuredSection .featured-grid--with-promos .featured-grid__column:nth-child(3) > .featured-feed-item:nth-of-type(1) { order: 2; }
  body.editorial-mobile-layout #featuredSection .featured-grid--with-promos .featured-grid__column:nth-child(1) > .featured-feed-item:nth-of-type(2) { order: 3; }
  body.editorial-mobile-layout #featuredSection .featured-grid--with-promos .featured-grid__column:nth-child(2) > .featured-feed-item:nth-of-type(2) { order: 4; }

  body.editorial-mobile-layout #featuredSection .featured-grid--with-promos .featured-grid__promos {
    order: 10;
  }

  body.editorial-mobile-layout #featuredSection .featured-feed-item,
  body.editorial-mobile-layout #featuredSection a.featured-feed-item {
    grid-template-columns: 6.2rem minmax(0, 1fr);
    align-items: center;
    min-height: 0;
    height: auto;
    padding: 0.7rem;
    gap: 0.8rem;
    border-radius: 0.95rem;
  }

  body.editorial-mobile-layout #featuredSection .featured-feed-thumb {
    width: 6.2rem !important;
    min-width: 6.2rem;
    max-width: 6.2rem;
    height: 6.2rem !important;
    min-height: 6.2rem !important;
    max-height: 6.2rem;
    flex: 0 0 6.2rem;
    align-self: center;
    border-radius: 0.8rem;
  }

  body.editorial-mobile-layout #featuredSection .featured-feed-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    min-width: 0;
    padding: 0;
  }

  body.editorial-mobile-layout #featuredSection .featured-feed-body h4 {
    display: -webkit-box;
    overflow: hidden;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  body.editorial-mobile-layout #featuredSection .featured-feed-meta {
    font-size: 0.8rem;
  }
}

/* ===== Миниатюра компактной ленты (.mobile-news-card__thumb):
   контейнер не был в базовых списках contained-thumb, поэтому фото
   не обрезалось по скруглённым углам. Даём ей ту же механику. ===== */
body.editorial-mobile-layout .mobile-news-card__thumb {
  position: relative;
  display: block;
  overflow: hidden;
}

body.editorial-mobile-layout .mobile-news-card__thumb .media-thumb-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-radius: inherit;
}

body.editorial-mobile-layout .mobile-news-card__thumb .media-thumb-img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

/* ===== Кнопка «Версия для слабовидящих» (BVI, иконка-глаз) — самая
   правая в шапке, квадратик в один стиль с .theme-toggle. ===== */
.site-header .header-bvi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--navbar-control-height, 2.25rem);
  height: var(--navbar-control-height, 2.25rem);
  min-width: var(--navbar-control-height, 2.25rem);
  padding: 0;
  border: 1px solid var(--header-glass-border);
  border-radius: var(--radius-sm);
  background: var(--header-control-bg);
  color: var(--text-primary);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.site-header .header-bvi:hover {
  background: var(--hover-bg);
}

.site-header .header-bvi svg {
  width: 1.3rem;
  height: 1.3rem;
}

@media (max-width: 991.98px) {
  body.editorial-mobile-layout .site-header .header-bvi {
    display: inline-flex !important;
    width: 2.15rem;
    height: 2.15rem;
    min-width: 2.15rem;
    border: 0;
    border-radius: 0.82rem;
    background: transparent;
    order: 2; /* перед 12+ (тоже order: 2, порядок по DOM): тема → глаз → 12+ → меню */
  }

  /* 12+ в мобильной шапке — квадратик как у переключателя темы */
  body.editorial-mobile-layout .site-header .header-age-rating {
    border-radius: 0.82rem;
    background: transparent;
    border: 0;
  }
}

@media (max-width: 360px) {
  body.editorial-mobile-layout .site-header .header-bvi {
    width: 2.1rem;
    min-width: 2.1rem;
  }
}
