:root {
  --bg: #f5f5f5;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --ink: #1f231c;
  --muted: #5f6658;
  --line: rgba(31, 35, 28, 0.12);
  --accent: #ff753f;
  --accent-dark: #d95d2c;
  --forest: #205c49;
  --label: #5a6257;
  --link: #7a4d37;
  --shadow: 0 22px 48px rgba(51, 46, 32, 0.11);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --wrap: min(1180px, calc(100vw - 32px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

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

.site-shell {
  min-height: 100vh;
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 20;
}

.site-header__inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0 14px;
}

.site-branding {
  min-width: 0;
}

.site-logo img {
  width: min(var(--site-logo-width, 220px), 100%);
  height: auto;
}

.site-title {
  margin: 6px 0 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 0.94;
}

.site-title a,
.site-title a:visited {
  color: var(--ink);
}

.section-label,
.category-card__kicker,
.site-footer__kicker,
.hero__panel-title,
.story-card__meta,
.mini-story__meta {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--label);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-search {
  min-width: min(360px, 34vw);
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.search-field {
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(31, 35, 28, 0.12);
  background: rgba(255, 255, 255, 0.82);
  padding: 0 16px;
  font: inherit;
  color: var(--ink);
}

.search-field::placeholder {
  color: #6d7369;
}

.search-category {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(31, 35, 28, 0.12);
  background: rgba(255, 255, 255, 0.82);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3.25 5.25L7 9L10.75 5.25' stroke='%231f231c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 14px 14px;
  padding: 0 52px 0 16px;
  font: inherit;
  color: var(--ink);
}

.search-submit {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  padding: 0 16px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--ink);
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  cursor: pointer;
}

.site-navigation {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 0 0 14px;
  overflow: visible;
  backdrop-filter: blur(14px);
  background: rgba(245, 245, 245, 0.92);
  border-bottom: 1px solid var(--line);
}

.site-navigation::-webkit-scrollbar {
  display: none;
}

.menu {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu,
.fallback-menu {
  width: 100%;
  min-width: 0;
  align-items: center;
}

.menu-item {
  flex: 0 0 auto;
}

.menu-item a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(31, 35, 28, 0.08);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.menu-item a:hover,
.menu-item a:focus-visible {
  background: #fff;
  border-color: rgba(255, 117, 63, 0.45);
  transform: translateY(-1px);
}

.menu-item.current-menu-item a,
.menu-item.current-menu-parent a,
.menu-item.current-menu-ancestor a,
.menu-item.current_page_item a {
  background: rgba(255, 117, 63, 0.12);
  border-color: rgba(255, 117, 63, 0.28);
  color: var(--link);
}

.menu-item--more {
  position: relative;
  margin-left: auto;
}

.menu-item--more > button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(31, 35, 28, 0.08);
  background: rgba(255, 255, 255, 0.64);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.menu-item--more > button:hover,
.menu-item--more > button:focus-visible,
.menu-item--more.is-open > button {
  background: #fff;
  border-color: rgba(255, 117, 63, 0.45);
  transform: translateY(-1px);
}

.menu-overflow {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  display: none;
  min-width: 240px;
  padding: 10px;
  margin: 0;
  list-style: none;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(31, 35, 28, 0.08);
  box-shadow: 0 16px 34px rgba(31, 35, 28, 0.12);
}

.menu-item--more.is-open .menu-overflow {
  display: grid;
  gap: 8px;
}

.menu-overflow .menu-item a {
  width: 100%;
}

.site-content {
  padding-bottom: 56px;
}

.latest-banner__story {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  margin-top: 24px;
}

.latest-banner__link {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
}

.latest-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.latest-banner__body {
  padding: clamp(22px, 4vw, 34px);
}

.latest-banner__body h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.95;
}

.latest-banner__body p:last-child {
  margin-bottom: 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
  gap: 24px;
  padding: 24px 0 18px;
}

.hero__content,
.hero__panel,
.category-card,
.story-card,
.stream,
.mini-story,
.article,
.magazine-widget {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.hero__content {
  border-radius: 36px;
  padding: clamp(26px, 4vw, 52px);
}

.hero h1 {
  margin: 12px 0 0;
  max-width: 12ch;
  font-size: clamp(2.2rem, 5.4vw, 4.4rem);
  line-height: 0.94;
}

.hero__lead {
  margin: 22px 0 0;
  max-width: 640px;
  font-size: 1.16rem;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: "Inter", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.button--primary {
  background: var(--accent);
  color: #fff8f2;
}

.button--primary:hover,
.button--primary:focus-visible {
  background: var(--accent-dark);
}

.button--ghost {
  border-color: rgba(31, 35, 28, 0.12);
  background: rgba(255, 255, 255, 0.65);
}

.hero__panel {
  align-self: stretch;
  border-radius: var(--radius-lg);
  padding: 24px;
}

.hero__search {
  margin-top: 4px;
}

.hero__search-label {
  margin: 10px 0 14px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
}

.hero__panel .search-form {
  grid-template-columns: 1fr;
  gap: 10px;
}

.hero__panel .search-category,
.hero__panel .search-field {
  background-color: rgba(255, 255, 255, 0.94);
}

.hero__panel .search-submit {
  justify-self: start;
}

.hero__search-links {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.hero__search-group {
  display: grid;
  gap: 10px;
}

.hero__search-group-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label);
}

.topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(31, 35, 28, 0.05);
  color: #384036;
  font-size: 0.92rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.topic-chip:hover,
.topic-chip:focus-visible {
  background: rgba(203, 90, 45, 0.12);
  color: var(--link);
}

.topic-links {
  display: grid;
  gap: 8px;
}

.topic-links a {
  color: var(--link);
  font-weight: 600;
}

.section {
  padding: 28px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.section-heading h2,
.archive-intro h1,
.article__header h1 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.96;
}

.section-copy {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

.category-grid,
.post-grid,
.stream__grid {
  display: grid;
  gap: 18px;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  border-radius: var(--radius-md);
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: auto -36px -36px auto;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--card-accent);
  opacity: 0.07;
}

.category-card h3,
.story-card h2,
.story-card h3,
.mini-story h4 {
  margin: 0;
}

.category-card p:last-child,
.story-card__body p:last-child,
.mini-story p:last-child,
.article__content > *:last-child {
  margin-bottom: 0;
}

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

.post-grid--featured .story-card:first-child {
  grid-column: span 2;
}

.story-card,
.mini-story,
.stream,
.article,
.magazine-widget {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.story-card__link {
  display: block;
  height: 100%;
}

.story-card__media img,
.article__hero img {
  width: 100%;
  object-fit: cover;
}

.story-card__body {
  padding: 18px 20px 22px;
}

.story-card__body h2,
.story-card__body h3 {
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.05;
}

.stream {
  padding: 22px;
}

.section-stack {
  display: grid;
  gap: 20px;
}

.stream__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.stream__header h3 {
  margin: 8px 0 0;
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
}

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

.mini-story a,
.mini-story > div {
  display: block;
  height: 100%;
  padding: 18px;
}

.mini-story h4 {
  font-size: 1.24rem;
  line-height: 1.1;
}

.text-link {
  font-family: "Inter", Arial, sans-serif;
  font-weight: 700;
  color: var(--link);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.archive-intro__grid {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.archive-intro__copy {
  max-width: 420px;
}

.archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.archive-stack {
  display: grid;
  gap: 20px;
}

.archive-lead,
.archive-tease {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.archive-lead__link {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  min-height: 100%;
}

.archive-lead__media img,
.archive-tease__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-lead__body,
.archive-tease__body {
  padding: 22px;
}

.archive-lead__body h2 {
  margin: 8px 0 0;
  font-size: clamp(2rem, 3.3vw, 3.1rem);
  line-height: 0.95;
}

.archive-lead__excerpt {
  margin: 14px 0 0;
  font-size: 1.04rem;
  color: var(--muted);
}

.archive-rail {
  display: grid;
  gap: 18px;
}

.archive-tease__link {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: stretch;
}

.archive-tease__body h3 {
  margin: 8px 0 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.02;
}

.archive-tease__body p:last-child {
  margin-bottom: 0;
}

.archive-sidebar {
  align-self: start;
}

.archive-sidebar__panel p:last-child {
  margin-bottom: 0;
}

.sidebar {
  display: grid;
  gap: 18px;
}

.magazine-widget {
  padding: 20px;
}

.widget-title {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.breadcrumbs {
  margin-bottom: 18px;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs__item {
  position: relative;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  position: absolute;
  right: -10px;
  color: rgba(31, 35, 28, 0.28);
}

.breadcrumbs__item a {
  color: var(--link);
}

.article-shell {
  padding: 36px 0;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(260px, 320px);
  gap: 24px;
  align-items: start;
}

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

.article {
  padding: clamp(24px, 5vw, 48px);
}

.article__header {
  margin-bottom: 28px;
}

.article__meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

.article__category-list {
  color: var(--muted);
  font-size: 0.95rem;
}

.article__category-list a {
  color: var(--link);
  font-weight: 600;
}

.article__lead {
  max-width: 56ch;
  margin: 16px 0 0;
  font-size: clamp(1.12rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  color: var(--muted);
}

.article__byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(31, 35, 28, 0.1);
}

.article__author {
  display: grid;
  gap: 3px;
}

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

.article__author-name {
  margin: 4px 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.article__reading-time {
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(31, 35, 28, 0.04);
}

.article__meta {
  margin-top: 14px;
  color: var(--muted);
}

.article__hero {
  margin-bottom: 26px;
  border-radius: 22px;
  overflow: hidden;
}

.article__hero img {
  aspect-ratio: 16 / 9;
}

.article__hero-caption {
  margin: 8px 0 0;
  padding: 0 4px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}

.article__content {
  font-size: 1.08rem;
  line-height: 1.75;
  margin-top: 6px;
}

.article__content p,
.article__content ul,
.article__content ol,
.article__content blockquote {
  max-width: 68ch;
}

.article__content h2,
.article__content h3,
.article__content h4 {
  max-width: 26ch;
  margin: 1em 0 0.2em;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.article__content h2 {
  font-size: clamp(1.8rem, 3vw, 2rem);
}

.article__content h3 {
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
}

.article__content a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.article__content ul,
.article__content ol {
  padding-left: 1.2rem;
}

.article__content li + li {
  margin-top: 0.45rem;
}

.article__content blockquote {
  margin: 2rem 0;
  padding: 0 0 0 1.2rem;
  border-left: 3px solid rgba(203, 90, 45, 0.5);
  color: #3d4137;
  font-size: 1.18rem;
}

.article__content :target {
  scroll-margin-top: 120px;
}

.inline-related,
.article-related {
  margin-top: 36px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(31, 35, 28, 0.035);
  border: 1px solid rgba(31, 35, 28, 0.08);
}

.inline-related {
  float: right;
  clear: right;
  width: min(320px, 100%);
  margin-top: 28px;
  margin-left: 26px;
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(31, 35, 28, 0.02);
  border-color: rgba(31, 35, 28, 0.05);
}

.inline-related__title,
.article-related__header h2 {
  margin: 10px 0 0;
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  line-height: 1.02;
}

.inline-related__grid,
.article-related__grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.inline-related__grid {
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}

.article-related__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.article-related__copy {
  max-width: 320px;
  margin: 0;
  color: var(--muted);
}

.article-related__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.related-card {
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.related-card--inline {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.56);
  border-color: rgba(31, 35, 28, 0.05);
}

.related-card__link {
  display: block;
  height: 100%;
}

.related-card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.related-card__body {
  padding: 18px;
}

.related-card__body h3 {
  margin: 8px 0 0;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.08;
}

.related-card--inline .related-card__body {
  padding: 14px;
}

.related-card--inline .related-card__body h3 {
  font-size: 1.02rem;
  line-height: 1.12;
}

.related-card--inline .related-card__body p:last-child {
  font-size: 0.94rem;
  color: var(--muted);
}

.article__content::after {
  content: "";
  display: block;
  clear: both;
}

.related-card__body p:last-child {
  margin-bottom: 0;
}

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

.article-sidebar__inner {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
}

.article-toc,
.article-note {
  padding: 16px 16px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(31, 35, 28, 0.06);
  box-shadow: none;
}

.article-toc h2 {
  margin: 6px 0 0;
  font-size: 1.06rem;
  line-height: 1.08;
}

.article-toc__body {
  margin-top: 10px;
}

.article-toc__list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-toc__list a {
  display: block;
  padding: 6px 8px;
  border-radius: 8px;
  color: #535a50;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.article-toc__list a:hover,
.article-toc__list a:focus-visible,
.article-toc__list a.is-active {
  background: rgba(31, 35, 28, 0.045);
  color: var(--link);
}

.article-toc__list a[data-level="3"] {
  margin-left: 8px;
  font-size: 0.9rem;
}

.article-toc__empty,
.article-note__text {
  margin: 0;
  color: var(--muted);
}

.pagination {
  margin-top: 24px;
}

.site-footer {
  padding: 18px 0 42px;
}

.site-footer__panel {
  display: grid;
  gap: 22px;
  padding: 28px 0 0;
  border-top: 1px solid rgba(31, 35, 28, 0.12);
  color: var(--ink);
}

.site-footer__lead {
  display: grid;
  gap: 8px;
  max-width: 580px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 20px;
}

.site-footer__section {
  padding-top: 14px;
  border-top: 1px solid rgba(31, 35, 28, 0.08);
}

.site-footer__heading {
  margin: 8px 0 0;
  font-size: 1.08rem;
  line-height: 1.08;
}

.footer-menu {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.site-footer .footer-menu .menu-item a {
  justify-content: flex-start;
  width: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 500;
}

.site-footer__text {
  margin: 8px 0 0;
  color: var(--muted);
}

.site-footer__hint,
.site-footer__meta {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: rgba(31, 35, 28, 0.58);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(31, 35, 28, 0.08);
}

@media (max-width: 1080px) {
  .category-grid,
  .post-grid,
  .stream__grid,
  .site-footer__grid,
  .content-layout,
  .archive-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .latest-banner__link {
    grid-template-columns: 1fr;
  }

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

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

  .content-layout {
    align-items: stretch;
  }

  .article-sidebar__inner {
    position: static;
  }

  .sidebar {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .hero,
  .section-heading,
  .stream__header,
  .site-header__inner,
  .archive-intro__grid,
  .site-footer__bottom,
  .article-related__header {
    grid-template-columns: 1fr;
    display: grid;
  }

  .site-header__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .site-search {
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: start;
  }

  .site-navigation {
    display: none;
    padding-top: 4px;
    position: static;
  }

  .site-header.is-open .site-navigation {
    display: block;
  }

  .primary-menu,
  .fallback-menu,
  .menu {
    width: 100%;
    min-width: 0;
    flex-wrap: wrap;
  }

  .menu-item--more {
    margin-left: 0;
  }

  .menu-overflow {
    position: static;
    min-width: 0;
    padding: 8px 0 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .category-grid,
  .post-grid,
  .stream__grid,
  .site-footer__grid,
  .content-layout,
  .archive-layout,
  .archive-lead__link,
  .archive-tease__link,
  .latest-banner__link,
  .inline-related__grid,
  .article-related__grid {
    grid-template-columns: 1fr;
  }

  .inline-related {
    float: none;
    width: 100%;
    margin-left: 0;
    margin-bottom: 0;
  }

  .post-grid--featured .story-card:first-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
