:root {
  --paper: #f7f4ec;
  --sheet: #fffdf8;
  --ink: #151515;
  --muted: #6a665e;
  --line: #d8d1c2;
  --red: #b1121b;
  --deep-red: #7f0d13;
  --blue: #173f6f;
  --green: #2f6d43;
  --soft: #eee8dc;
  --radius: 10px;
  --radius-sm: 7px;
  --shadow-size: 10px;
  --shadow: 0 calc(var(--shadow-size) * 1.8) calc(var(--shadow-size) * 4.6) rgba(31, 24, 17, 0.09);
  --heading-font: Georgia, "Times New Roman", serif;
  --body-font: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(177, 18, 27, 0.08), transparent 26%),
    linear-gradient(135deg, #fffdf8 0%, #f7f4ec 46%, #ffffff 100%);
  background-attachment: fixed;
  font-family: var(--body-font);
  line-height: 1.45;
}

body.bg-clean {
  background: #fff;
}

body.bg-paper {
  background:
    linear-gradient(rgba(21, 21, 21, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 100% 28px;
}

body.bg-soft {
  background:
    radial-gradient(circle at 12% 8%, rgba(177, 18, 27, 0.08), transparent 26%),
    linear-gradient(135deg, #fffdf8 0%, var(--paper) 46%, #ffffff 100%);
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.top-strip,
.masthead,
.main-nav,
main,
.site-footer {
  width: min(1220px, calc(100% - 28px));
  margin-inline: auto;
}

.top-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 12px 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.top-strip a {
  color: var(--red);
  font-weight: 800;
}

.weather-strip {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 5px 10px;
  border: 0;
  border-radius: 3px;
  background: #22272a;
  color: #fff;
  overflow: hidden;
}

.weather-strip strong {
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
}

.weather-strip strong::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 14px;
  margin-left: 9px;
  vertical-align: -2px;
  background: var(--red);
}

.weather-strip div {
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.weather-strip span {
  display: inline-flex;
  gap: 18px;
  white-space: nowrap;
}

.weather-strip.is-ready span {
  animation: weatherMove 95s linear infinite;
}

.weather-strip:hover span,
.weather-strip:focus-within span {
  animation-play-state: paused;
}

.weather-item {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: #fff;
  font-weight: 800;
}

.weather-item small {
  color: color-mix(in srgb, white 72%, var(--red));
  font-size: 12px;
  font-weight: 700;
}

@keyframes weatherMove {
  from { transform: translateX(20%); }
  to { transform: translateX(-100%); }
}

.masthead {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px 0 20px;
  border-top: 4px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.paper-logo {
  display: block;
}

.paper-logo img {
  display: block;
  width: min(260px, 100%);
  height: auto;
}

.partner-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 5vw, 64px);
}

.partner-logos img {
  display: block;
  max-width: 190px;
  max-height: 92px;
  object-fit: contain;
}

.edition-card {
  width: min(250px, 35vw);
  padding: 13px 16px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--sheet);
}

.edition-card small,
.edition-card strong,
.edition-card span {
  display: block;
}

.edition-card small {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.edition-card strong {
  color: var(--red);
  font-family: var(--heading-font);
  font-size: 25px;
  line-height: 1.05;
}

.edition-card span {
  color: var(--muted);
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.25;
}

.menu-button {
  display: none;
  width: min(1220px, calc(100% - 28px));
  margin: 10px auto 0;
  padding: 12px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--sheet);
  color: var(--ink);
  font-weight: 800;
}

.menu-button span {
  display: inline-block;
  width: 18px;
  height: 2px;
  margin: 0 2px 4px 0;
  background: var(--ink);
}

.main-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 2px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-bottom: 4px solid var(--nav-accent, var(--red));
  border-radius: 0 0 var(--radius) var(--radius);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

body.nav-dark .main-nav {
  background: rgba(21, 21, 21, 0.96);
}

body.nav-dark .main-nav a {
  color: #fff;
}

body.nav-red .main-nav {
  border-bottom-color: var(--ink);
  background: var(--red);
}

body.nav-red .main-nav a {
  color: #fff;
}

body.nav-red .main-nav a:hover,
body.nav-red .main-nav a:focus-visible {
  background: linear-gradient(135deg, var(--ink), color-mix(in srgb, var(--red) 78%, white));
}

.main-nav a {
  padding: 15px 16px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, var(--nav-accent, var(--red)) 0%, color-mix(in srgb, var(--nav-accent, var(--red)) 70%, white) 100%);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--nav-accent, var(--red)) 20%, transparent);
  transform: translateY(-1px);
}

.main-nav-grouped {
  justify-content: flex-start;
  align-items: stretch;
  gap: 0;
  padding: 0 10px;
}

.main-nav-grouped .nav-item {
  position: relative;
}

.main-nav-grouped .nav-item > a {
  display: flex;
  align-items: center;
  min-height: 52px;
  white-space: nowrap;
}

.main-nav-grouped .has-submenu > a {
  gap: 8px;
}

.main-nav-grouped .has-submenu > a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.72;
}

.main-nav-grouped .submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  display: grid;
  min-width: 238px;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--line) 82%, white);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 44px rgba(21, 21, 21, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.main-nav-grouped .nav-item:hover .submenu,
.main-nav-grouped .nav-item:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav-grouped .submenu a {
  justify-content: flex-start;
  min-height: 0;
  padding: 12px 13px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.2;
  text-transform: none;
  border-radius: var(--radius-sm);
}

.main-nav-grouped .submenu a:hover,
.main-nav-grouped .submenu a:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, var(--nav-accent, var(--red)), color-mix(in srgb, var(--nav-accent, var(--red)) 62%, white));
  box-shadow: 0 9px 18px color-mix(in srgb, var(--nav-accent, var(--red)) 18%, transparent);
}

body.nav-dark .main-nav-grouped .submenu,
body.nav-red .main-nav-grouped .submenu {
  background: rgba(255, 255, 255, 0.98);
}

body.nav-dark .main-nav-grouped .submenu a,
body.nav-red .main-nav-grouped .submenu a {
  color: var(--ink);
}

body.nav-dark .main-nav-grouped .submenu a:hover,
body.nav-dark .main-nav-grouped .submenu a:focus-visible,
body.nav-red .main-nav-grouped .submenu a:hover,
body.nav-red .main-nav-grouped .submenu a:focus-visible {
  color: #fff;
}

.notice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  margin: 18px 0;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sheet);
}

.notice strong {
  color: var(--red);
  text-transform: uppercase;
}

.notice p {
  margin: 0;
  color: var(--muted);
}

.public-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin: 12px 0 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sheet);
  box-shadow: var(--shadow);
}

.news-ticker {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  margin: 20px 0 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--red) 34%, var(--line));
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--red) 9%, white), #fff 48%, color-mix(in srgb, var(--red) 7%, white));
  color: var(--ink);
  box-shadow: var(--shadow);
}

.news-ticker strong {
  align-self: stretch;
  display: grid;
  place-items: center;
  padding: 11px 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), color-mix(in srgb, var(--red) 72%, white));
  text-transform: uppercase;
  letter-spacing: 0;
}

.news-ticker div {
  overflow: hidden;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
}

.news-ticker span {
  display: inline-flex;
  gap: 42px;
  min-width: 100%;
  animation: tickerMove var(--ticker-speed, 55s) linear infinite;
  will-change: transform;
}

.news-ticker:hover span,
.news-ticker:focus-within span {
  animation-play-state: paused;
}

.news-ticker a {
  position: relative;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.news-ticker a::after {
  content: "";
  position: absolute;
  right: -24px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--red);
  transform: translateY(-50%);
}

.news-ticker a:hover,
.news-ticker a:focus-visible {
  color: var(--red);
}

@keyframes tickerMove {
  from { transform: translateX(100%); }
  to { transform: translateX(-100%); }
}

.public-search input,
.public-search button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.public-search input {
  padding: 0 13px;
}

.public-search button {
  padding: 0 18px;
  color: #fff;
  background: var(--red);
  cursor: pointer;
  font-weight: 900;
}

.front-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(300px, 0.8fr);
  gap: 22px;
  align-items: stretch;
}

.front-section-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin: 24px 0 14px;
}

.front-section-header h2 {
  margin: 0;
  color: var(--red);
  font-family: var(--heading-font);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.95;
}

.front-section-header a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--red);
  font-weight: 900;
}

.front-grid-modern {
  grid-template-columns: minmax(250px, 0.32fr) minmax(0, 1fr);
  align-items: stretch;
}

.hero-slider {
  position: relative;
  min-height: clamp(430px, 50vw, min(var(--slider-height, 600px), 560px));
  overflow: hidden;
  border: 0;
  border-radius: max(6px, var(--radius));
  background: var(--sheet);
  box-shadow: 0 18px 48px rgba(21, 21, 21, 0.14);
}

.hero-slide {
  position: absolute;
  inset: 0 32.5% 0 0;
  display: grid;
  align-items: end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 5s ease;
}

.hero-slide.is-active img {
  transform: scale(1.045);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.12) 44%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.1), transparent 45%);
}

.hero-slide-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(20px, 3.2vw, 38px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.38) 72%, rgba(0, 0, 0, 0));
  backdrop-filter: blur(2px);
}

.hero-slide-copy .meta {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 6px 9px;
  color: #fff;
  border-radius: 999px;
  background: color-mix(in srgb, var(--red) 82%, black);
  font-size: 12px;
  line-height: 1;
}

.hero-slide-copy h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--body-font);
  font-size: clamp(27px, 3vw, min(var(--slider-title-size, 62px), 42px));
  line-height: 1.02;
  font-weight: 900;
  text-wrap: balance;
}

.hero-slide-copy > p:not(.meta) {
  max-width: 720px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(15px, 1.55vw, 18px);
}

.read-more-link,
.latest-hover-preview a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  margin-top: 14px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: #fff;
  background: rgba(177, 18, 27, 0.92);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-side-rail {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 32.5%;
  padding-left: 8px;
  background: var(--sheet);
}

.hero-side-card {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 0;
  overflow: hidden;
  padding: 20px;
  color: #fff;
  isolation: isolate;
  border-radius: max(5px, calc(var(--radius) - 3px));
}

.hero-side-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-side-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.22) 44%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 58%);
}

.hero-side-card:hover img,
.hero-side-card:focus-visible img,
.hero-side-card.is-previewing img {
  transform: scale(1.06);
}

.hero-side-card span,
.hero-side-card small {
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-side-card span {
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.36);
}

.hero-side-card strong {
  display: block;
  margin: 9px 0 5px;
  font-size: clamp(19px, 1.85vw, 26px);
  line-height: 1.03;
  font-weight: 900;
  text-wrap: balance;
}

.latest-hover-preview {
  position: absolute;
  z-index: 3;
  right: 22px;
  top: 22px;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  width: min(520px, calc(100% - 44px));
  padding: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  background: rgba(177, 18, 27, 0.96);
  color: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.latest-hover-preview.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.latest-hover-preview img {
  width: 132px;
  height: 92px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-sm);
  background: #fff;
}

.latest-hover-preview span,
.latest-hover-preview strong,
.latest-hover-preview p {
  display: block;
}

.latest-hover-preview span {
  margin-bottom: 5px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.latest-hover-preview strong {
  font-size: 18px;
  line-height: 1.12;
}

.latest-hover-preview p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
}

.latest-hover-preview a {
  min-height: 34px;
  margin-top: 9px;
  padding: 0 13px;
  color: var(--red);
  background: #fff;
}

.slider-dots {
  position: absolute;
  z-index: 2;
  right: calc(32.5% + 22px);
  bottom: 22px;
  display: flex;
  gap: 8px;
}

.slider-controls {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 14px;
  pointer-events: none;
}

.slider-controls button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  backdrop-filter: blur(8px);
  pointer-events: auto;
  transition: background 0.18s ease, transform 0.18s ease;
}

.slider-controls button:hover {
  color: #fff;
  background: var(--red);
  transform: translateY(-1px);
}

.slider-progress {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 32.5%;
  bottom: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.22);
}

.slider-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  background: linear-gradient(90deg, var(--red), color-mix(in srgb, var(--red) 45%, white));
}

@keyframes sliderProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.slider-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.slider-dots .is-active {
  background: #fff;
}

.lead-article,
.latest-box,
.section-grid article,
.opinion-layout,
.culture-row,
.admin-top,
.editor-card,
.publish-panel section,
.admin-table,
.settings-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sheet);
  box-shadow: var(--shadow);
}

.lead-article {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) 1fr;
  min-height: 440px;
}

.lead-image {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.lead-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff;
}

.lead-image img[src*="zemya-logo"] {
  object-fit: contain;
  padding: 44px;
}

.lead-image span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 10px;
  color: #fff;
  background: var(--red);
  font-weight: 900;
  text-transform: uppercase;
}

.lead-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 42px);
}

.meta,
.rubric {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.post-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 9px;
  align-items: center;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.post-meta-line b {
  color: var(--red);
  font-weight: 900;
}

.post-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 5px 10px;
  color: #fff;
  border-radius: 4px;
  background: #08783d;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.post-meta-category {
  padding: 4px 8px;
  color: #fff;
  border-radius: 999px;
  background: var(--red);
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
}

.post-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--red) 72%, white);
}

.article-page > .post-meta-line {
  margin-bottom: 16px;
  font-size: 14px;
}

.lead-copy h1 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(36px, 5vw, 62px);
  line-height: 0.98;
}

.lead-copy p:last-child,
.opinion-main p,
.culture-row span,
.section-grid span {
  color: var(--muted);
}

.latest-box {
  padding: 22px;
  border-top: 5px solid var(--red);
}

.latest-box h2 {
  color: var(--red);
}

.latest-box h2,
.section-grid h2,
.culture-row h2,
.admin-table h2 {
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--red);
  font-family: var(--heading-font);
  font-size: 28px;
}

.latest-box a {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
  transition: color 0.18s ease, background 0.18s ease, padding 0.18s ease;
}

.latest-box a:hover,
.latest-box a.is-previewing {
  margin-inline: -12px;
  padding-inline: 12px;
  color: #fff;
  border-radius: var(--radius-sm);
  background: var(--red);
}

.latest-box a:hover span,
.latest-box a.is-previewing span {
  color: #fff;
}

.latest-box span {
  display: inline-block;
  min-width: 50px;
  color: var(--red);
  font-size: 13px;
}

.partner-ticker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 26px 0 44px;
  padding: 12px 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sheet);
  box-shadow: 0 12px 34px rgba(31, 24, 17, 0.08);
}

.partner-ticker > strong {
  color: var(--red);
  font-size: 13px;
  text-transform: uppercase;
}

.partner-ticker div {
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.partner-ticker span {
  display: inline-flex;
  gap: 16px;
  animation: partnerMove 46s linear infinite;
}

.partner-ticker:hover span {
  animation-play-state: paused;
}

.partner-ticker a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  min-height: 54px;
  padding: 8px 16px;
  color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--line) 70%, white);
  border-radius: var(--radius-sm);
  background: #fff;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(31, 24, 17, 0.06);
}

.partner-ticker a b {
  color: var(--red);
}

@keyframes partnerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.issue-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.footer-issue-band {
  margin: 0;
  flex: 1 1 100%;
}

.issue-band a {
  padding: 14px 18px;
  color: var(--blue);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.issue-band a:hover {
  transform: translateY(-2px);
  color: var(--red);
  border-color: var(--red);
}

.focus-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  margin: 22px 0;
}

.focus-title,
.focus-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sheet);
  box-shadow: var(--shadow);
}

.focus-title {
  padding: clamp(22px, 4vw, 34px);
  border-top: 5px solid var(--ink);
}

.focus-title h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
}

.focus-list {
  display: grid;
}

.focus-list a {
  display: grid;
  gap: 7px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.focus-list span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.focus-list strong {
  font-family: var(--heading-font);
  font-size: 22px;
  line-height: 1.12;
}

.archive-strip {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  margin: 22px 0 30px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sheet);
  box-shadow: 0 10px 28px rgba(31, 24, 17, 0.07);
}

.archive-strip h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 24px;
}

.archive-strip p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.archive-strip form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.archive-strip input,
.archive-strip button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
}

.archive-strip input {
  padding: 0 12px;
  background: #fff;
}

.archive-strip button {
  padding: 0 16px;
  color: #fff;
  background: var(--red);
  cursor: pointer;
}

.archive-strip a,
.archive-page aside a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
}

.archive-strip span,
.archive-page aside span {
  color: var(--red);
}

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

.section-grid article {
  padding: 20px;
  min-height: 340px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.section-grid article:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(31, 24, 17, 0.16);
}

.section-grid a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.section-grid a:first-of-type strong {
  font-size: 22px;
}

.section-card-link img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.section-card-link .post-badge {
  margin-bottom: 10px;
}

.section-grid strong,
.section-grid span {
  display: block;
}

.section-grid .post-meta-line {
  margin-top: 9px;
}

.section-grid .post-meta-line span {
  display: inline-flex;
}

.section-grid strong {
  font-family: var(--heading-font);
  font-size: 19px;
  line-height: 1.14;
}

.section-grid span {
  margin-top: 8px;
  font-size: 13px;
}

.listing-page {
  padding: 28px 0 54px;
}

.listing-page h1 {
  margin: 0 0 22px;
  font-family: var(--heading-font);
  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.98;
}

.listing-page article {
  display: grid;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.listing-page article span {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.listing-page h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.05;
}

.listing-page p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
}

.archive-page {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 24px;
  align-items: start;
}

.archive-page aside {
  position: sticky;
  top: 60px;
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sheet);
  box-shadow: var(--shadow);
}

.archive-page aside h2 {
  margin: 0 0 8px;
  font-family: var(--heading-font);
}

.archive-page aside .active {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}

.opinion-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 24px;
  margin: 26px 0;
  padding: clamp(24px, 4vw, 38px);
  border-top: 5px solid var(--ink);
}

.opinion-main h2 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.04;
}

.quote-card {
  padding: 22px;
  color: #fff;
  border-radius: var(--radius);
  background: var(--deep-red);
}

.quote-card span {
  font-weight: 900;
  text-transform: uppercase;
}

.quote-card blockquote {
  margin: 18px 0 0;
  font-family: var(--heading-font);
  font-size: 26px;
  line-height: 1.12;
}

.culture-row {
  margin-bottom: 36px;
  padding: 20px;
}

.culture-row > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.culture-row article {
  min-height: 170px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--soft);
}

.culture-row h3 {
  margin: 22px 0 0;
  font-family: var(--heading-font);
  font-size: 24px;
  line-height: 1.1;
}

.site-footer {
  margin-top: 64px;
  padding: 0 0 42px;
  border-top: 4px solid var(--red);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(250px, 0.9fr) minmax(0, 1.8fr);
  gap: 34px;
  padding: 28px;
  color: #fff;
  border-radius: var(--radius) var(--radius) 0 0;
  background:
    radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--red) 28%, transparent), transparent 28%),
    linear-gradient(135deg, #151515, #27211d);
}

.footer-brand {
  display: grid;
  gap: 8px;
  align-content: start;
}

.site-footer strong {
  color: #fff;
  font-family: var(--heading-font);
  font-size: 42px;
  line-height: 1;
}

.footer-brand span {
  color: color-mix(in srgb, white 82%, var(--red));
  font-weight: 800;
}

.footer-brand p {
  max-width: 420px;
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.footer-links div {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer-links h2 {
  margin: 0 0 5px;
  color: #fff;
  font-family: var(--body-font);
  font-size: 14px;
  text-transform: uppercase;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  padding: 16px 22px;
  border-inline: 1px solid var(--line);
  background: var(--sheet);
}

.footer-bottom span {
  color: var(--muted);
  font-weight: 800;
}

.footer-bottom {
  justify-content: space-between;
  border-radius: 0 0 var(--radius) var(--radius);
}

.cookie-consent {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  width: min(720px, calc(100% - 44px));
  padding: 16px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(21, 21, 21, 0.96);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--body-font);
  font-size: 16px;
}

.cookie-consent p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.cookie-consent > div:last-child {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cookie-consent a {
  color: #fff;
  font-weight: 900;
}

.cookie-consent button {
  min-height: 42px;
  padding: 0 16px;
  color: #fff;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--red);
  cursor: pointer;
  font-weight: 900;
}

.admin-body {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
  background: #f3f0e8;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px;
  color: #fff;
  background: var(--ink);
}

.admin-logo {
  display: block;
  margin-bottom: 28px;
  color: #fff;
  font-family: var(--heading-font);
  font-size: 44px;
  font-weight: 900;
}

.admin-sidebar nav {
  display: grid;
  gap: 6px;
}

.admin-sidebar a:not(.admin-logo) {
  padding: 12px;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
  color: #fff;
  background: var(--red);
}

.admin-main {
  width: min(1240px, calc(100% - 32px));
  padding: 24px 0 44px;
}

.admin-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 20px;
}

.admin-top p {
  margin: 0 0 4px;
  color: var(--muted);
  font-weight: 800;
}

.admin-top h1 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 38px;
}

.admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.admin-search button,
.admin-filter-grid button,
.danger-link {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  font-weight: 900;
}

.admin-search button,
.admin-filter-grid button {
  min-height: 42px;
  padding: 0 12px;
}

.admin-filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.admin-filter-grid select,
.admin-filter-grid input {
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.danger-link {
  color: var(--red);
  padding: 7px 10px;
}

.save-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #1f5c34;
  background: #dcefe3;
  font-weight: 900;
}

.admin-actions button,
.admin-actions a,
.filters button,
.filters a,
.toolbar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  font-weight: 800;
}

.admin-actions .publish,
.filters .active {
  color: #fff;
  border-color: var(--red);
  background: var(--red);
}

.admin-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.admin-kpis a {
  display: grid;
  gap: 4px;
  min-height: 104px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sheet);
  box-shadow: var(--shadow);
}

.admin-kpis strong {
  color: var(--red);
  font-family: var(--heading-font);
  font-size: 25px;
}

.admin-kpis span {
  color: var(--muted);
}

.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
}

.editor-card,
.publish-panel section,
.admin-table,
.settings-card {
  padding: 20px;
}

.editor-workflow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--red) 6%, white);
}

.editor-workflow button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-weight: 900;
}

.editor-workflow button:hover {
  color: #fff;
  border-color: var(--red);
  background: linear-gradient(135deg, var(--red), color-mix(in srgb, var(--red) 70%, white));
}

.editor-workflow span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.panel-help {
  margin: 6px 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.admin-control-table input[type="text"],
.admin-control-table input:not([type]),
.admin-control-table input[type="number"] {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.toggle-line {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 900;
}

.inline-save {
  width: auto;
  min-width: 220px;
  margin-top: 18px;
  padding-inline: 18px;
}

.settings-inner-form {
  display: grid;
  gap: 10px;
}

.admin-builder-main {
  width: min(1500px, calc(100% - 32px));
}

.builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 18px;
  align-items: start;
}

.builder-panel {
  margin-top: 0;
}

.slider-admin-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.slider-admin-item {
  display: grid;
  grid-template-columns: auto 104px minmax(0, 1fr) 86px;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.slider-admin-item img {
  width: 104px;
  height: 72px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.slider-admin-item span {
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.slider-admin-item strong,
.slider-admin-item p {
  display: block;
  margin: 0;
}

.slider-admin-item p {
  color: var(--muted);
  font-size: 13px;
}

.slider-admin-item input[type="number"] {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.builder-preview {
  position: sticky;
  top: 14px;
  min-height: 76vh;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sheet);
  box-shadow: var(--shadow);
}

.builder-preview > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-weight: 900;
}

.builder-preview a {
  color: var(--red);
}

.builder-preview iframe {
  width: 100%;
  height: 76vh;
  border: 0;
  background: #fff;
}

.editor-card label,
.publish-panel label {
  display: block;
  margin: 14px 0 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.editor-card input,
.editor-card textarea,
.settings-card input,
.settings-card textarea,
.settings-card select,
.publish-panel select,
.publish-panel input,
.table-head input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.editor-card input,
.settings-card input,
.settings-card select,
.publish-panel select,
.publish-panel input,
.table-head input {
  min-height: 42px;
  padding: 0 12px;
}

.settings-card textarea,
.editor-card textarea {
  min-height: 78px;
  padding: 12px;
  resize: vertical;
}

.editor-card .title-input {
  min-height: 108px;
  font-family: var(--heading-font);
  font-size: 34px;
  line-height: 1.1;
}

.toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.rich-editor {
  min-height: 300px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.rich-editor h2 {
  font-family: var(--heading-font);
}

.rich-editor blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  border-left: 5px solid var(--red);
  background: var(--soft);
  font-family: var(--heading-font);
  font-size: 22px;
}

.publish-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}

.publish-panel h2 {
  margin: 0 0 10px;
  font-size: 18px;
}

.upload-box {
  display: grid;
  place-items: center;
  min-height: 130px;
  margin-bottom: 10px;
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--soft);
  font-weight: 800;
}

.admin-thumb {
  display: block;
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.admin-save {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--red);
  cursor: pointer;
  font-weight: 900;
}

.secondary-save {
  margin-top: 9px;
  color: var(--red);
  border: 1px solid var(--red);
  background: #fff;
}

.editor-live-preview {
  position: sticky;
  top: 14px;
}

.editor-preview-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.editor-preview-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--soft);
}

.editor-preview-card span,
.editor-preview-card strong,
.editor-preview-card p {
  display: block;
  margin-inline: 14px;
}

.editor-preview-card span {
  margin-top: 14px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.editor-preview-card strong {
  margin-top: 7px;
  font-family: var(--heading-font);
  font-size: 22px;
  line-height: 1.1;
}

.editor-preview-card p {
  margin-top: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
}

.settings-card {
  display: grid;
  gap: 10px;
  max-width: 720px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sheet);
  box-shadow: var(--shadow);
}

.settings-card h2 {
  margin: 8px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--heading-font);
}

.visual-settings-card {
  max-width: none;
}

.footer-admin-pages {
  max-width: none;
  margin-bottom: 18px;
}

.footer-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.footer-admin-grid a {
  display: grid;
  gap: 5px;
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: 0 8px 20px rgba(31, 24, 17, 0.06);
}

.footer-admin-grid strong {
  color: var(--red);
  font-size: 16px;
}

.footer-admin-grid span {
  color: var(--muted);
  font-size: 13px;
  word-break: break-word;
}

.settings-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.visual-settings-card label {
  display: grid;
  gap: 7px;
}

.visual-preview {
  min-height: 82vh;
}

.visual-preview iframe {
  height: 82vh;
}

.settings-card label {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-table {
  margin-top: 18px;
  overflow-x: auto;
}

.table-head {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 380px);
  gap: 16px;
  align-items: center;
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.admin-category-picker {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin: 16px 0 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--sheet) 82%, white);
}

.admin-category-picker strong {
  margin-right: 6px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.admin-category-picker a {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 36px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 900;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.admin-category-picker a:hover,
.admin-category-picker .active {
  color: #fff;
  border-color: var(--red);
  background: linear-gradient(135deg, var(--red), color-mix(in srgb, var(--red) 72%, white));
}

.admin-category-picker span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  min-height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  color: var(--red);
  background: color-mix(in srgb, var(--red) 9%, white);
  font-size: 12px;
}

.admin-category-picker a:hover span,
.admin-category-picker .active span {
  color: var(--red);
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
}

.table-action {
  color: var(--red);
  font-weight: 900;
}

.article-page {
  width: min(860px, calc(100% - 28px));
  padding: 34px 0 54px;
}

.article-page h1 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: clamp(42px, 7vw, 74px);
  line-height: 0.98;
}

.article-subtitle {
  color: var(--muted);
  font-size: 22px;
}

.article-page figure {
  margin: 28px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.article-page img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  transform-origin: center center;
}

.article-page figure > img,
.article-body img {
  animation: articleImageBreath 18s ease-in-out infinite alternate;
  transition: transform 0.7s ease;
}

.article-page figure:hover > img,
.article-body img:hover {
  animation-play-state: paused;
  transform: scale(1.045);
}

.article-page figcaption {
  margin: 0;
  padding: 9px 13px 12px;
  color: var(--muted);
  font-size: 14px;
}

@keyframes articleImageBreath {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

@media (prefers-reduced-motion: reduce) {
  .article-page figure > img,
  .article-body img {
    animation: none;
    transform: none;
  }
}

.article-page blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 6px solid var(--red);
  background: var(--soft);
  font-family: var(--heading-font);
  font-size: 28px;
  line-height: 1.16;
}

.article-body {
  font-family: var(--heading-font);
  font-size: 20px;
  line-height: 1.7;
}

.article-body h2 {
  margin-top: 34px;
  font-size: 32px;
  line-height: 1.12;
}

.article-body a,
.source-link a {
  color: var(--red);
  border-bottom: 1px solid currentColor;
  font-weight: 800;
}

.article-body {
  font-family: var(--article-font, var(--body-font));
}

.source-link {
  margin-top: 28px;
}

.login-body {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  background: var(--paper);
}

.login-card {
  width: min(460px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--sheet);
  box-shadow: var(--shadow);
}

.login-card h1 {
  margin: 0 0 18px;
  color: var(--red);
  font-family: var(--heading-font);
  font-size: 40px;
}

.login-card label {
  display: block;
  margin: 14px 0 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.login-card input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.login-card button {
  width: 100%;
  min-height: 46px;
  margin-top: 18px;
  border: 0;
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--red);
  cursor: pointer;
  font-weight: 900;
}

.form-error,
.form-success {
  padding: 12px;
  border-radius: var(--radius-sm);
  font-weight: 800;
}

.form-error {
  color: #7f0d13;
  background: #f8d9dc;
}

.form-success {
  color: #1f5c34;
  background: #dcefe3;
}

@media (max-width: 980px) {
  .front-grid,
  .front-grid-modern,
  .lead-article,
  .section-grid,
  .opinion-layout,
  .focus-layout,
  .archive-page,
  .editor-layout,
  .builder-layout {
    grid-template-columns: 1fr;
  }

  .section-grid,
  .admin-kpis,
  .culture-row > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .builder-preview {
    position: static;
  }

  .masthead {
    grid-template-columns: 220px 1fr;
  }

  .edition-card {
    grid-column: 1 / -1;
    width: 100%;
  }

  .admin-body {
    grid-template-columns: 1fr;
  }

  .footer-main,
  .footer-links,
  .cookie-consent,
  .archive-strip {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }
}

@media (max-width: 700px) {
  .masthead {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .top-strip {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .weather-strip {
    grid-column: 1 / -1;
    order: 3;
  }

  .edition-card {
    width: 100%;
  }

  .partner-logos {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .partner-logos img {
    max-width: 46%;
    max-height: 82px;
  }

  .menu-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .main-nav {
    display: none;
    position: static;
    margin-top: 8px;
    background: var(--ink);
    padding: 8px;
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    color: #fff;
  }

  .main-nav-grouped {
    justify-content: stretch;
  }

  .main-nav-grouped .nav-item {
    width: 100%;
  }

  .main-nav-grouped .nav-item > a {
    justify-content: space-between;
    min-height: 46px;
    padding: 12px 13px;
  }

  .main-nav-grouped .submenu {
    position: static;
    min-width: 0;
    margin: -2px 0 8px 12px;
    padding: 6px;
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  body.nav-dark .main-nav-grouped .submenu,
  body.nav-red .main-nav-grouped .submenu {
    background: rgba(255, 255, 255, 0.08);
  }

  .main-nav-grouped .submenu a,
  body.nav-dark .main-nav-grouped .submenu a,
  body.nav-red .main-nav-grouped .submenu a {
    color: #fff;
    font-size: 13px;
    padding: 10px 11px;
  }

  .notice,
  .issue-band,
  .public-search,
  .news-ticker,
  .section-grid,
  .admin-search,
  .admin-filter-grid,
  .admin-kpis,
  .culture-row > div,
  .table-head,
  .slider-admin-item {
    grid-template-columns: 1fr;
  }

  .news-ticker strong {
    min-height: 40px;
  }

  .hero-slide {
    inset: 0;
  }

  .hero-side-rail {
    display: none;
  }

  .slider-dots {
    right: 22px;
  }

  .slider-progress {
    right: 0;
  }

  .footer-main {
    padding: 22px;
  }

  .footer-bottom {
    justify-content: flex-start;
  }

  .cookie-consent {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
  }

  .cookie-consent > div:last-child {
    flex-wrap: wrap;
  }

  .hero-slider {
    min-height: 560px;
  }

  .hero-slide-copy h1 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .latest-hover-preview {
    display: none;
  }

  .hero-slide-copy {
    padding: 22px;
  }

  .slider-admin-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .builder-preview iframe {
    height: 640px;
  }

  .paper-logo img {
    max-width: 240px;
  }

  .lead-copy h1 {
    font-size: 36px;
  }

  .admin-control-table,
  .admin-control-table thead,
  .admin-control-table tbody,
  .admin-control-table tr,
  .admin-control-table th,
  .admin-control-table td {
    display: block;
  }

  .admin-control-table thead {
    display: none;
  }

  .admin-control-table tr {
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }

  .admin-control-table td {
    display: grid;
    gap: 6px;
    padding: 8px 0;
    border: 0;
  }

  .admin-control-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
  }
}
