:root {
  color-scheme: light;
  --paper: #f6f4f2;
  --surface: #dedede;
  --ink: #050505;
  --muted: #777;
  --line: #1f1f1f;
  --block: #626765;
  --footer: #030303;
  --accent: #fb6571;
  --heading: "Bodoni Moda", "Bodoni 72", Didot, serif;
  --heading-mobile: "Bodoni 72", Didot, Georgia, "Times New Roman", serif;
  --body: Inter, Arial, sans-serif;
  --article-title-size: clamp(38px, 3.7vw, 52px);
  --article-title-line: 1.1;
  --feature-title-size: clamp(24px, 2.1vw, 32px);
  --feature-title-line: 1.12;
  --article-card-title-size: clamp(20px, 1.65vw, 24px);
  --article-card-title-line: 1.1;
  --article-copy-size: 14px;
  --article-copy-line: 1.68;
  --article-summary-size: clamp(12px, 1.1vw, 16px);
  --article-summary-line: 1.5;
  --brand-logo-filter: none;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --paper: #393737;
    --surface: #343232;
    --ink: #f2f0ed;
    --muted: #a7a2a0;
    --line: #5d5a58;
    --block: #666a68;
    --footer: #020202;
    --brand-logo-filter: invert(1);
  }
}

:root[data-theme="light"] {
  color-scheme: light;
  --paper: #f6f4f2;
  --surface: #dedede;
  --ink: #050505;
  --muted: #777;
  --line: #1f1f1f;
  --block: #626765;
  --brand-logo-filter: none;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #393737;
  --surface: #343232;
  --ink: #f2f0ed;
  --muted: #a7a2a0;
  --line: #5d5a58;
  --block: #666a68;
  --brand-logo-filter: invert(1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-optical-sizing: auto;
  font-size: 15px;
  letter-spacing: 0;
}

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

.site-header {
  display: grid;
  grid-template-columns: 120px 1fr 120px;
  align-items: center;
  min-height: 420px;
  padding: 72px max(28px, calc((100vw - 1280px) / 2)) 54px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-tools,
.mode-wrap {
  align-self: start;
  display: grid;
  gap: 12px;
  justify-items: center;
  padding-top: 36px;
}

.header-tools {
  position: relative;
}

.icon-button,
.search-button,
.theme-toggle,
.slider-block button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-button {
  display: grid;
  gap: 7px;
  width: 43px;
}

.menu-button span {
  height: 4px;
  background: currentColor;
}

.drawer-menu {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 50;
  display: grid;
  align-content: start;
  gap: 20px;
  width: min(760px, calc(100vw - 42px));
  max-height: min(760px, calc(100dvh - 42px));
  overflow: auto;
  padding: 46px clamp(28px, 5vw, 70px) 42px;
  border: 1px solid color-mix(in srgb, var(--line), transparent 42%);
  background: color-mix(in srgb, var(--paper), #fff 9%);
  box-shadow: 0 34px 110px rgba(0, 0, 0, .28);
  transform: translate(-50%, -50%);
}

.drawer-menu[hidden] {
  display: none;
}

.drawer-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
}

.drawer-head span {
  font-family: var(--body);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.drawer-head::before,
.drawer-head::after {
  content: "";
  height: 1px;
  background: var(--ink);
}

.drawer-close {
  position: absolute;
  top: 18px;
  right: 20px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--line), transparent 45%);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.drawer-static {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  width: 100%;
  text-align: center;
}

.drawer-static a {
  display: inline-flex;
  justify-content: center;
  border: 0;
  color: var(--ink);
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.drawer-list {
  display: grid;
  justify-items: center;
  gap: 2px;
}

.drawer-menu a,
.drawer-category-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.drawer-category {
  display: grid;
  justify-items: center;
  border-bottom: 0;
}

.drawer-category-link,
.drawer-category-toggle {
  display: inline-flex;
  justify-content: center;
  width: auto;
  min-height: 0;
  padding: 8px 0;
  font-family: var(--body);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
}

.drawer-category-toggle::after {
  content: "+";
  display: inline-block;
  width: 18px;
  margin-left: 10px;
  font-family: var(--body);
  font-size: 20px;
  font-weight: 500;
  transform: none;
}

.drawer-category-toggle[aria-expanded="true"]::after {
  content: "-";
  transform: none;
}

.drawer-subcategories {
  display: none;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 2px;
  padding: 0 0 10px;
}

.drawer-subcategories.is-open {
  display: grid;
}

.drawer-subcategories a {
  color: var(--muted);
  padding: 5px 0;
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.drawer-subcategories a:hover,
.drawer-menu a:hover,
.drawer-category-toggle:hover {
  color: var(--ink);
}

.drawer-menu .drawer-static {
  justify-content: center;
  justify-items: center;
}

.drawer-menu .drawer-static a {
  flex: 0 0 auto;
  width: auto;
  text-align: center;
}

.drawer-menu .drawer-category-link,
.drawer-menu .drawer-category-toggle {
  appearance: none;
  width: auto;
  max-width: 100%;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.28;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.drawer-menu .drawer-category-toggle::after {
  font-weight: 500;
}

body.menu-open::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(0, 0, 0, .38);
}

.search-button {
  width: 34px;
  height: 34px;
  border: 4px solid currentColor;
  border-radius: 50%;
  position: relative;
}

.search-button::after {
  content: "";
  position: absolute;
  right: -11px;
  bottom: -8px;
  width: 18px;
  height: 4px;
  background: currentColor;
  transform: rotate(45deg);
}

.search-panel {
  position: absolute;
  z-index: 10;
  top: 124px;
  left: 0;
  display: none;
  width: min(720px, calc(100vw - 120px));
  padding: 20px;
  border: 2px solid #d6d6dc;
  background: #fbfaf3;
  box-shadow: 0 26px 50px rgb(0 0 0 / 14%);
}

.search-panel.is-open {
  display: flex;
}

.search-panel::before {
  content: none;
}

.search-panel input {
  width: 100%;
  min-width: 0;
  height: 78px;
  padding: 0 28px;
  border: 2px solid #e9e9e9;
  border-right: 0;
  border-radius: 0;
  background: #fff;
  color: #111;
  font: 400 26px var(--body);
  outline: 0;
}

.search-panel input::placeholder {
  color: #969696;
  opacity: 1;
}

.search-submit {
  position: relative;
  flex: 0 0 78px;
  width: 78px;
  height: 78px;
  border: 0;
  background: #030303;
  color: #fff;
  cursor: pointer;
}

.search-submit::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 25px;
  width: 19px;
  height: 19px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.search-submit::after {
  content: "";
  position: absolute;
  top: 47px;
  left: 47px;
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.brand {
  justify-self: center;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  align-items: end;
}

.brand-mark {
  grid-row: span 2;
  display: block;
  width: clamp(84px, 13vw, 150px);
  height: auto;
  margin-right: 18px;
  filter: var(--brand-logo-filter, none);
}

.brand-text {
  font-family: var(--heading);
  font-size: clamp(54px, 9vw, 92px);
  font-weight: 800;
  line-height: .78;
}

.tagline {
  color: var(--muted);
  font-weight: 800;
  font-size: clamp(14px, 2.2vw, 22px);
  letter-spacing: .02em;
}

.theme-toggle {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 76px;
  height: 40px;
  padding: 4px;
  border-radius: 999px;
  background: #303033;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 10%);
  color: #a4a4a8;
  font-size: 24px;
}

.theme-toggle::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eeeeef;
  transition: transform .18s ease;
}

.theme-toggle span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  line-height: 1;
  transition: color .18s ease;
}

.theme-toggle .sun {
  color: #09090a;
}

.theme-toggle .moon {
  color: transparent;
}

.theme-toggle .moon::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 7px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 6px -3px 0 0 #9c9ca1;
  transform: rotate(-18deg);
}

.theme-toggle .moon::after {
  content: none;
}

:root[data-theme="dark"] .theme-toggle::before {
  transform: translateX(36px);
}

:root[data-theme="dark"] .theme-toggle .sun {
  color: #d0d0d3;
}

:root[data-theme="dark"] .theme-toggle .moon {
  color: transparent;
}

:root[data-theme="dark"] .theme-toggle .moon::before {
  box-shadow: inset 6px -3px 0 0 #09090a;
}


.main-nav {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: clamp(28px, 6vw, 80px);
  margin-top: 76px;
  color: var(--muted);
  font-weight: 800;
}

.notice {
  padding: 16px 7vw;
  background: var(--accent);
  color: #000;
  font-weight: 800;
}

.home-layout,
.front-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(300px, .9fr);
  border-bottom: 1px solid var(--line);
}

.home-layout {
  align-items: start;
}

.home-main {
  min-width: 0;
}

.home-main .front-layout {
  display: block;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(300px, .9fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.article-content {
  min-width: 0;
}

.article-rails {
  align-self: start;
}

.lead-story {
  position: relative;
  padding: 34px clamp(28px, 6vw, 68px) 36px;
}

.home-cover-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
}

.lead-story:focus-within .home-cover-link,
.slider-item:focus-within .home-cover-link,
.interview-band:focus-within .home-cover-link,
.center-feature:focus-within .home-cover-link,
.dynamic-category-section:focus-within .home-cover-link {
  outline: 2px solid var(--ink);
  outline-offset: -8px;
}

.lead-image,
.slider-art,
.feature-visual,
.hero-image,
.card-image,
.portrait-frame,
.small-image {
  background: var(--block);
  overflow: hidden;
}

.lead-image {
  height: clamp(360px, 35vw, 520px);
  min-height: 0;
  margin-bottom: 14px;
}

.lead-story h1 {
  max-width: 780px;
  margin: 20px 0 16px;
  font-family: var(--heading);
  font-size: var(--feature-title-size);
  line-height: var(--feature-title-line);
}

.lead-story p,
.slider-block p,
.interview-band p,
.center-feature p,
.article-card p {
  color: var(--muted);
  font-size: var(--article-summary-size);
  line-height: var(--article-summary-line);
}

.label {
  display: inline-block;
  border: 1px solid var(--ink);
  padding: 2px 8px;
  font-weight: 900;
  font-size: 12px;
}

.read-more,
.rail-link {
  font-size: 12px;
  font-weight: 900;
}

.news-rails {
  position: sticky;
  top: 24px;
  align-self: start;
  background: var(--paper);
  border-left: 1px solid var(--line);
}

.news-rails section {
  padding: 24px 36px;
  border-bottom: 1px solid var(--line);
}

.news-rails h2,
.interview-band h2 {
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-family: var(--heading);
  font-size: 28px;
}

.popular-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: -6px 0 18px;
}

.popular-filters a {
  display: grid;
  place-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.popular-filters a.is-active {
  background: var(--ink);
  color: var(--paper);
}

.mini-story {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.mini-story span {
  grid-row: span 2;
  height: 70px;
  background: var(--block);
  overflow: hidden;
}

.mini-story span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-story small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.mini-story b {
  font-family: var(--heading);
  font-size: 22px;
  line-height: 1.08;
}

.slider-block {
  position: relative;
  padding: 54px clamp(28px, 7vw, 80px);
}

.slider-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.slider-heading h2 {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}

.slider-track {
  position: relative;
}

.slider-item {
  position: relative;
  display: none;
}

.slider-item.is-active {
  display: block;
}

.slider-art {
  display: block;
  position: relative;
  height: clamp(320px, 31vw, 460px);
  min-height: 0;
  overflow: hidden;
}

.slider-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-art span {
  position: absolute;
  right: 24px;
  bottom: 20px;
  color: #dedede;
  font-size: 28px;
}

.slider-item small {
  display: inline-block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.slider-item h2 {
  max-width: 860px;
  margin: 12px 0 16px;
  font-family: var(--heading);
  font-size: var(--feature-title-size);
  line-height: var(--feature-title-line);
}

.slider-block button {
  position: absolute;
  top: 210px;
  font-size: 90px;
  color: #dedede;
  z-index: 4;
}

.slider-prev {
  left: clamp(28px, 7vw, 80px);
}

.slider-next {
  right: clamp(28px, 7vw, 80px);
}

.interview-band {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(36px, 8vw, 100px);
  padding: 80px clamp(28px, 7vw, 80px);
  background: var(--surface);
}

.portrait-frame {
  display: block;
  aspect-ratio: 4 / 5;
  border: 10px solid color-mix(in srgb, var(--paper) 72%, var(--ink));
  outline: 2px solid var(--line);
}

.portrait-frame img,
.small-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interview-band h3 {
  margin: 40px 0 36px;
  font-family: var(--heading);
  font-style: italic;
  font-size: var(--feature-title-size);
  line-height: var(--feature-title-line);
}

.small-image {
  display: block;
  width: min(100%, 430px);
  aspect-ratio: 1 / 1;
  margin-bottom: 24px;
}

.feature-visual {
  display: block;
  height: clamp(420px, 42vw, 640px);
  min-height: 0;
}

.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.center-feature {
  position: relative;
  text-align: center;
  padding: 76px 24px 190px;
}

.center-feature h2 {
  max-width: 620px;
  margin: 22px auto;
  font-family: var(--heading);
  font-size: var(--feature-title-size);
  line-height: var(--feature-title-line);
}

.center-feature p {
  max-width: 680px;
  margin: 0 auto 28px;
}

.dynamic-category-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
  padding: 78px clamp(28px, 7vw, 80px);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.dynamic-category-section h2 {
  margin: 22px 0 18px;
  font-family: var(--heading);
  font-size: var(--feature-title-size);
  line-height: var(--feature-title-line);
}

.dynamic-category-section p {
  max-width: 620px;
  color: var(--muted);
  font-size: var(--article-summary-size);
  line-height: var(--article-summary-line);
}

.dynamic-category-image {
  display: block;
  height: clamp(320px, 34vw, 460px);
  min-height: 0;
  background: var(--block);
  overflow: hidden;
}

.dynamic-category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-page,
.article-page {
  padding: 34px clamp(28px, 9vw, 110px) 180px;
  background: var(--paper);
}

.static-page {
  min-height: 640px;
  padding: 76px clamp(28px, 12vw, 180px) 180px;
  background: var(--paper);
}

.category-page h1,
.static-page h1 {
  margin: 0 0 82px;
  font-family: var(--heading);
  font-size: clamp(38px, 3.5vw, 44.8px);
  line-height: var(--article-title-line);
}

.article-page h1 {
  margin: 0 0 82px;
  font-family: var(--heading);
  font-size: clamp(38px, 4vw, 51.2px);
  line-height: 1.1;
}

.static-page p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

.static-contact-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
  font-size: 18px;
  font-weight: 900;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 72px clamp(40px, 8vw, 110px);
}

.article-card {
  position: relative;
  display: block;
  cursor: pointer;
}

.card-cover-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 4px;
}

.article-card:focus-within .card-cover-link {
  outline: 2px solid var(--ink);
  outline-offset: 6px;
}

.article-card h2 {
  margin: 18px 0 10px;
  font-family: var(--heading);
  font-size: var(--article-card-title-size);
  line-height: var(--article-card-title-line);
}

.card-image {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
}

.lead-image img,
.card-image img,
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 160px;
  font-family: var(--heading);
  font-size: 34px;
  font-weight: 800;
}

.pagination a,
.pagination strong {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 4px solid var(--ink);
  color: var(--ink);
}

.pagination strong {
  background: var(--accent);
}

.article-page h1 {
  margin-bottom: 72px;
}

.hero-image {
  width: min(100%, 920px);
  height: auto;
  min-height: 0;
  margin: 0 auto 28px;
  border-radius: 4px;
}

.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.article-summary {
  max-width: 700px;
  margin: 0 auto 16px;
  text-align: center;
  font-family: var(--body);
  font-size: var(--article-summary-size);
  font-weight: 800;
  line-height: var(--article-summary-line);
}

.article-meta {
  max-width: 920px;
  margin: 22px auto;
  font-weight: 900;
  text-transform: uppercase;
}

.article-share {
  display: grid;
  grid-template-columns: minmax(64px, 1fr) auto minmax(64px, 1fr);
  align-items: center;
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto 70px;
}

.article-share::before,
.article-share::after {
  content: "";
  height: 1px;
  background: color-mix(in srgb, var(--ink) 28%, transparent);
}

.article-share span {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.article-share a,
.article-share button {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 78%, var(--paper));
  color: var(--paper);
  font-family: var(--body);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.article-share a:nth-of-type(4) {
  font-size: 20px;
}

.article-share svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.article-share button {
  appearance: none;
}

.article-share.is-copied button {
  background: var(--accent);
  color: #000;
}

.article-body {
  max-width: 1120px;
  margin: 0 auto;
  columns: 1;
  font-family: var(--body);
  font-size: var(--article-copy-size);
  line-height: var(--article-copy-line);
  white-space: normal;
}

.article-intro-media {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(300px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  margin: 18px 0 64px;
}

.article-intro-copy {
  background: color-mix(in srgb, var(--paper) 84%, var(--ink));
  padding: clamp(26px, 3.2vw, 42px);
}

.article-intro-copy p {
  margin: 0;
  font-family: var(--body);
  font-size: var(--article-copy-size);
  font-style: italic;
  line-height: var(--article-copy-line);
  text-align: left;
}

.article-intro-image {
  overflow: hidden;
}

.article-intro-image img {
  width: 100%;
  max-width: none;
  max-height: none;
  height: auto;
  margin: 0;
  border-radius: 0;
}

.article-body h2,
.article-body h3 {
  max-width: 920px;
  margin: 36px auto 14px;
  font-family: var(--heading);
  line-height: 1;
  text-align: left;
}

.article-body h2 {
  font-size: 30px;
  line-height: 1.1;
}

.article-body h3 {
  font-size: 20px;
  line-height: 1.1;
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body blockquote,
.article-body figure {
  margin: 0 auto 30px;
}

.article-body > p {
  text-align: left;
}

.article-body > p,
.article-body > ul,
.article-body > ol,
.article-body > blockquote {
  max-width: 920px;
}

.article-body blockquote {
  padding-left: 18px;
  border-left: 4px solid var(--ink);
  color: var(--muted);
  font-style: italic;
}

.article-body strong,
.article-body b {
  font-weight: 800;
}

.article-body > p:has(> strong:only-child) {
  max-width: 920px;
  margin-top: 0;
  margin-bottom: 30px;
  font-family: var(--body);
  font-size: var(--article-copy-size);
  line-height: var(--article-copy-line);
  text-align: left;
}

.article-body em,
.article-body i {
  font-style: italic;
}

.article-body u {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body code {
  padding: 2px 5px;
  background: rgba(0, 0, 0, 0.08);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 0.9em;
}

.article-body img {
  display: block;
  width: min(100%, 920px);
  max-width: 100%;
  max-height: none;
  height: auto;
  margin: 28px auto;
  background: transparent;
  border-radius: 4px;
  object-fit: contain;
}

.article-body img[data-size="25"] {
  width: min(25%, 320px);
}

.article-body img[data-size="50"] {
  width: min(50%, 520px);
}

.article-body img[data-size="75"] {
  width: min(75%, 690px);
}

.article-body img[data-size="100"] {
  width: 100%;
}

.article-body img[style] {
  max-width: 100%;
}

.article-body figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 72px clamp(28px, 7vw, 80px);
  background: var(--footer);
  color: #f5f5f5;
}

.footer-brand {
  display: inline-flex;
  align-items: flex-end;
  gap: 8px;
  font-family: var(--heading);
  font-size: 32px;
  font-weight: 800;
}

.footer-brand img {
  width: 58px;
  height: auto;
  flex: 0 0 auto;
  filter: invert(1);
}

.site-footer p {
  max-width: 410px;
  color: #8f8f8f;
  line-height: 1.6;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  color: #8f8f8f;
  font-size: 12px;
  font-weight: 900;
}

.newsletter {
  align-self: center;
}

.newsletter label {
  display: block;
  margin-bottom: 26px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.newsletter div {
  display: flex;
  border-bottom: 1px solid #888;
}

.newsletter input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 12px 0;
  font: inherit;
}

.newsletter button {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.newsletter small {
  display: block;
  margin-top: 28px;
  color: #777;
  font-size: 11px;
  font-weight: 900;
}

.admin-body {
  background: #f2f2f2;
}

.admin-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 20px;
}

.admin-card,
.admin-form,
.admin-panel {
  background: #fff;
  color: #111;
  border: 1px solid #d0d0d0;
  padding: 28px;
  max-width: 860px;
  margin: 0 auto;
}

.admin-form:has(.rich-editor) {
  max-width: min(1280px, calc(100vw - 56px));
}

.admin-card {
  max-width: 420px;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
  color: #111;
}

.admin-form label,
.admin-card label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  font-weight: 800;
}

.admin-form input,
.admin-form select,
.admin-form textarea,
.admin-card input,
.admin-inline-form input,
.admin-inline-form select {
  width: 100%;
  border: 1px solid #aaa;
  padding: 12px;
  font: inherit;
}

.admin-form small {
  color: #777;
  font-size: 12px;
}

.markdown-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -8px 0 12px;
}

.markdown-toolbar button {
  border: 1px solid #aaa;
  background: #fff;
  color: #111;
  padding: 8px 10px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.markdown-toolbar button:hover,
.markdown-toolbar button:focus {
  border-color: #111;
  background: #111;
  color: #fff;
}

.markdown-editor {
  width: 100%;
  min-height: 420px;
  margin-bottom: 8px;
  padding: 16px;
  border: 1px solid #aaa;
  background: #fff;
  color: #111;
  font: 15px/1.6 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  outline: 0;
  resize: vertical;
}

.markdown-editor:focus {
  border-color: #111;
}

.markdown-help {
  display: block;
  margin: 0 0 18px;
}

.rich-toolbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -8px 0 12px;
  padding: 10px;
  border: 1px solid #d0d0d0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.rich-toolbar button,
.rich-toolbar select {
  border: 1px solid #aaa;
  background: #fff;
  color: #111;
  padding: 8px 10px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.rich-toolbar select {
  width: auto;
  min-width: 0;
}

.rich-image-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: -8px 0 18px;
  padding: 10px;
  border: 1px solid #cfcfcf;
  background: #f7f7f7;
}

.rich-image-controls[hidden] {
  display: none;
}

.rich-image-controls strong {
  margin-right: 6px;
}

.rich-image-controls button {
  border: 1px solid #aaa;
  background: #fff;
  color: #111;
  padding: 7px 10px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.rich-editor {
  min-height: 620px;
  margin-bottom: 18px;
  padding: 34px clamp(28px, 9vw, 110px) 72px;
  border: 1px solid #aaa;
  background: #fff;
  color: #111;
  line-height: 1.5;
  outline: 0;
  overflow: auto;
}

.rich-editor.article-body {
  max-width: none;
  margin-bottom: 18px;
  font-family: var(--body);
  font-size: var(--article-copy-size);
  line-height: var(--article-copy-line);
}

.rich-editor:focus {
  border-color: #111;
}

.rich-editor-source {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

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

.rich-editor figure {
  margin: 18px 0;
  position: relative;
}

.rich-editor p:has(> img) {
  position: relative;
  min-height: 52px;
  text-align: center;
}

.rich-editor.article-body > p:has(> img) {
  max-width: 920px;
}

.rich-editor .article-intro-media {
  display: block;
  margin: 18px 0;
}

.rich-editor .article-intro-copy {
  background: transparent;
  padding: 0;
}

.rich-editor .article-intro-image {
  position: relative;
  overflow: visible;
}

.rich-editor img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 16px auto;
  border-radius: 4px;
}

.rich-editor img[data-size="25"] {
  width: 25%;
}

.rich-editor img[data-size="50"] {
  width: 50%;
}

.rich-editor img[data-size="75"] {
  width: 75%;
}

.rich-editor img[data-size="100"] {
  width: 100%;
}

.rich-editor img.is-selected {
  outline: 3px solid #111;
  outline-offset: 3px;
}

.rich-resize-handle {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 18px;
  height: 52px;
  border: 2px solid #111;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  transform: translateY(-50%);
  cursor: ew-resize;
}

.rich-resize-handle::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 7px;
  border-left: 2px solid #111;
}

.rich-editor figcaption {
  min-height: 22px;
  color: #777;
  font-size: 12px;
}

.admin-error {
  margin: 0 0 18px;
  padding: 12px 14px;
  background: #ffe6e6;
  color: #9d1111;
  font-weight: 800;
}

.admin-image-preview {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  color: #555;
  font-weight: 800;
}

.admin-image-preview img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border: 1px solid #ccc;
}

.admin-form button,
.admin-card button,
.admin-inline-form button,
.admin-row-edit-form button,
.admin-primary {
  display: inline-block;
  border: 0;
  background: #111;
  color: #fff;
  padding: 12px 18px;
  font-weight: 900;
  cursor: pointer;
}

.admin-danger {
  border: 1px solid #b91c1c;
  background: #fff;
  color: #b91c1c;
  padding: 10px 14px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.admin-restore {
  border: 1px solid #166534;
  background: #fff;
  color: #166534;
  padding: 10px 14px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.checkline {
  display: flex !important;
  grid-template-columns: none;
  align-items: center;
  gap: 10px;
}

.checkline input {
  width: auto;
}

.admin-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #ddd;
  padding: 16px 0;
}

.admin-row-actions {
  display: flex;
  align-items: center;
  align-self: end;
  gap: 14px;
}

.admin-row-actions form {
  display: flex;
  align-items: center;
  margin: 0;
}

.admin-row span {
  display: grid;
  gap: 4px;
}

.admin-row-main {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 8px;
}

.admin-row-edit-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 90px auto;
  gap: 8px;
  align-items: center;
}

.admin-row-edit-form-category {
  grid-template-columns: 1fr 1fr 90px 120px auto;
}

.admin-row-edit-form input,
.admin-row-edit-form select {
  width: 100%;
  border: 1px solid #aaa;
  padding: 10px;
  font: inherit;
}

.admin-row small {
  color: #777;
}

.admin-badges {
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
}

.admin-badge {
  display: inline-grid;
  place-items: center;
  min-height: 24px;
  padding: 3px 8px;
  border: 1px solid #bbb;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.admin-badge.is-active,
.admin-badge.is-published {
  border-color: #166534;
  background: #dcfce7;
  color: #166534;
}

.admin-badge.is-passive {
  border-color: #6b7280;
  background: #f3f4f6;
  color: #4b5563;
}

.admin-badge.is-draft {
  border-color: #92400e;
  background: #fef3c7;
  color: #92400e;
}

.admin-inline-form {
  display: grid;
  grid-template-columns: 1fr 1fr 110px 130px auto;
  gap: 10px;
  margin-bottom: 24px;
}

.admin-inline-form-wide {
  grid-template-columns: 1fr 1fr 1fr 110px auto;
}

@media (max-width: 900px) {
  :root {
    --article-title-size: clamp(32px, 5.2vw, 42px);
    --article-title-line: 1.12;
    --feature-title-size: clamp(24px, 2.1vw, 32px);
    --feature-title-line: 1.12;
    --article-card-title-size: clamp(21px, 3.1vw, 24px);
    --article-summary-size: 15px;
  }

  .site-header {
    grid-template-columns: 64px 1fr 64px;
    min-height: 300px;
    padding: 42px 24px 34px;
  }

  .brand-mark {
    width: 82px;
  }

  .brand-text {
    font-size: 42px;
  }

  .tagline {
    font-size: 12px;
  }

  .main-nav {
    gap: 24px;
    margin-top: 46px;
    font-size: 12px;
  }

  .home-layout,
  .front-layout,
  .article-layout,
  .article-intro-media,
  .interview-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .news-rails {
    position: static;
    border-left: 0;
  }

  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 28px;
  }

  .article-intro-copy p {
    text-align: left;
  }

  .hero-image {
    height: auto;
  }
}

@media (max-width: 620px) {
  :root {
    --article-title-size: clamp(26px, 7vw, 27.2px);
    --article-title-line: 1.1;
    --feature-title-size: clamp(24px, 2.1vw, 32px);
    --feature-title-line: 1.12;
    --article-card-title-size: clamp(20px, 5.6vw, 22px);
    --article-card-title-line: 1.1;
    --article-copy-size: 13px;
    --article-copy-line: 1.7;
    --article-summary-size: 14px;
    --article-summary-line: 1.5;
  }

  .site-header {
    grid-template-columns: 44px 1fr 52px;
    min-height: 250px;
    padding: 34px 18px 28px;
  }

  .header-tools,
  .mode-wrap {
    padding-top: 22px;
  }

  .menu-button {
    width: 30px;
    gap: 5px;
  }

  .menu-button span {
    height: 3px;
  }

  .search-button {
    width: 24px;
    height: 24px;
    border-width: 3px;
  }

  .search-button::after {
    right: -9px;
    bottom: -7px;
    width: 14px;
    height: 3px;
  }

  .search-panel {
    top: 58px;
    left: 0;
    width: calc(100vw - 36px);
    padding: 12px;
  }

  .search-panel::before {
    content: none;
  }

  .search-panel input {
    height: 54px;
    padding: 0 16px;
    font-size: 18px;
  }

  .search-submit {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
  }

  .search-submit::before {
    top: 17px;
    left: 16px;
    width: 15px;
    height: 15px;
    border-width: 2px;
  }

  .search-submit::after {
    top: 34px;
    left: 34px;
    width: 13px;
    height: 2px;
  }

  .brand-mark {
    width: 58px;
  }

  .brand-text {
    font-size: 31px;
  }

  .theme-toggle {
    width: 54px;
    height: 30px;
    padding: 4px;
    font-size: 16px;
  }

  .theme-toggle::before {
    width: 22px;
    height: 22px;
  }

  .theme-toggle span {
    width: 23px;
    height: 22px;
  }

  :root[data-theme="dark"] .theme-toggle::before {
    transform: translateX(24px);
  }

  .theme-toggle .moon::before {
    left: 6px;
    top: 5px;
    width: 14px;
    height: 14px;
    box-shadow: inset 4px -2px 0 0 #9c9ca1;
  }

  :root[data-theme="dark"] .theme-toggle .moon::before {
    box-shadow: inset 4px -2px 0 0 #09090a;
  }


  .main-nav {
    overflow-x: auto;
    justify-content: center;
    padding-bottom: 4px;
  }

  .category-page,
  .article-page {
    padding-inline: 12px;
  }

  .lead-story h1,
  .slider-heading h2,
  .slider-item h2,
  .interview-band h3,
  .center-feature h2,
  .dynamic-category-section h2,
  .category-page h1,
  .article-page h1,
  .static-page h1,
  .article-card h2,
  .mini-story b,
  .article-body h2,
  .article-body h3 {
    font-family: var(--heading-mobile);
    font-optical-sizing: auto;
    font-weight: 700;
    font-variation-settings: normal;
  }

  .article-page h1 {
    font-size: 32px;
    line-height: 1.1;
  }

  .lead-image {
    height: 300px;
    min-height: 0;
  }

  .lead-story p,
  .slider-block p,
  .interview-band p,
  .center-feature p,
  .article-card p {
    font-size: var(--article-summary-size);
    line-height: var(--article-summary-line);
  }

  .article-body h2 {
    font-size: 20.8px;
    line-height: 1.1;
  }

  .article-body h3 {
    font-size: 14px;
    line-height: 1.1;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .dynamic-category-section {
    grid-template-columns: 1fr;
  }

  .pagination {
    gap: 10px;
    font-size: 24px;
  }

  .pagination a,
  .pagination strong {
    width: 34px;
    height: 34px;
    border-width: 3px;
  }

  .hero-image {
    height: auto;
  }

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

  .admin-row {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-row-edit-form {
    grid-template-columns: 1fr;
  }
}
