:root {
  --paper: #f7f8f5;
  --paper-warm: #f0ede4;
  --surface: #ffffff;
  --ink: #17251f;
  --muted: #68746e;
  --green: #355f50;
  --green-soft: #e9eee9;
  --red: #8e5142;
  --line: #dfe5e0;
  --line-warm: #d7d0c2;
  --shadow: 0 20px 50px rgba(35, 58, 48, 0.08);
  --sans: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", -apple-system,
    BlinkMacSystemFont, sans-serif;
  --serif: "Songti SC", STSong, SimSun, serif;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.menu-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button,
input {
  font: inherit;
}
.shell {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}
.shell-narrow {
  width: min(820px, calc(100% - 48px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 12px 18px;
  color: #fff;
  background: var(--ink);
}
.skip-link:focus {
  top: 16px;
}
.eyebrow {
  display: inline-block;
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow.red {
  color: var(--red);
}
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button-dark {
  color: #fff;
  background: var(--ink);
}
.button-dark:hover {
  background: var(--green);
}
.text-link {
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 1px solid #8d9993;
  font-size: 14px;
  font-weight: 600;
}
.text-link:hover {
  color: var(--green);
  border-color: var(--green);
}

/* Header */
.site-header {
  position: relative;
  z-index: 100;
  background: var(--paper);
}
.nav-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex: 0 0 auto;
}
.brand > span {
  font-size: 21px;
  font-weight: 750;
  letter-spacing: 0.06em;
}
.brand > img {
  width: auto;
  max-width: 160px;
  height: 48px;
  object-fit: contain;
}
.brand small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
}
.primary-menu {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.primary-menu > ul {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-menu li {
  position: relative;
}
.primary-menu > ul > li {
  flex: 0 0 auto;
}
.submenu-parent {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}
.submenu-parent-link,
.search-button {
  flex: 0 0 auto;
}
.primary-menu a,
.submenu-toggle,
.search-button {
  padding: 12px 0;
  border: 0;
  color: #4d5b54;
  background: transparent;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
}
.submenu-toggle {
  flex: 0 0 24px;
  width: 24px;
  padding-left: 7px;
  font-size: 15px;
  line-height: 1;
}
.submenu-toggle span {
  display: inline-block;
  transition: transform 0.2s ease;
}
.has-children.is-open > .submenu-parent .submenu-toggle span {
  transform: rotate(180deg);
}
.primary-menu a:hover,
.submenu-toggle:hover,
.search-button:hover {
  color: var(--green);
}
.search-button {
  margin-left: 4px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  min-width: 180px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease;
}
.submenu a {
  display: block;
  padding: 10px 12px;
  white-space: nowrap;
}
.has-children:hover > .submenu,
.has-children:focus-within > .submenu,
.has-children.is-open > .submenu {
  opacity: 1;
  visibility: visible;
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 0;
  background: transparent;
}
.menu-toggle > span:not(.sr-only) {
  display: block;
  height: 1px;
  margin: 7px 0;
  background: var(--ink);
}

/* Home */
.home-hero {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 62px;
  min-height: 620px;
  align-items: center;
  padding-block: 54px 72px;
}
.hero-copy h1 {
  max-width: 560px;
  margin: 22px 0;
  font-family: var(--serif);
  font-size: clamp(48px, 5.7vw, 80px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.13;
}
.hero-copy > p {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 2;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}
.hero-figure {
  position: relative;
  height: 560px;
  margin: 0;
}
.hero-figure > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.16em;
}
.culture-seal {
  position: absolute;
  right: 22px;
  top: 22px;
  padding: 9px 7px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  color: #fff;
  background: rgba(91, 53, 42, 0.18);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.35;
  text-align: center;
  backdrop-filter: blur(3px);
}
.quick-categories {
  border-block: 1px solid var(--line);
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.quick-grid a {
  min-width: 0;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
}
.quick-grid a:first-child {
  border-left: 1px solid var(--line);
}
.quick-grid b {
  display: block;
  overflow: hidden;
  margin-bottom: 7px;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.quick-grid span {
  color: var(--muted);
  font-size: 12px;
}
.quick-grid a:hover {
  background: var(--green-soft);
}
.section {
  padding-block: 100px;
}
.compact-top {
  padding-top: 28px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 38px;
}
.section-heading h2 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.section-heading > a,
.section-count {
  color: var(--muted);
  font-size: 13px;
}
.section-heading.simple {
  margin-bottom: 24px;
}
.section-heading.simple h2 {
  font-size: 30px;
}
.featured-story {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
}
.featured-media {
  display: block;
  height: 460px;
  overflow: hidden;
}
.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.featured-media:hover img {
  transform: scale(1.025);
}
.featured-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-label,
.post-card-category {
  color: var(--red);
  font-size: 11px;
  letter-spacing: 0.16em;
}
.featured-copy h2 {
  margin: 18px 0;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.5;
}
.featured-copy p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}
.story-meta {
  margin-top: 22px;
  color: #87918c;
  font-size: 12px;
}
.paper-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: rgba(53, 95, 80, 0.55);
  background-color: #e9eee9;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.35) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 28px 28px;
  font-family: var(--serif);
  font-size: 52px;
}
.paper-placeholder.large {
  font-size: 78px;
}
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px 22px;
}
.empty-state {
  padding: 64px 24px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: var(--surface);
  text-align: center;
}
.empty-state p {
  margin: 0 0 18px;
}
.empty-state a {
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
}
.post-card-media {
  display: block;
  height: 245px;
  overflow: hidden;
  background: var(--green-soft);
}
.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.post-card:hover .post-card-media img {
  transform: scale(1.035);
}
.post-card-copy {
  padding-top: 18px;
}
.post-card h3 {
  margin: 9px 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.55;
}
.post-card h3 a:hover {
  color: var(--green);
}
.post-card p {
  display: -webkit-box;
  overflow: hidden;
  min-height: 3.4em;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.post-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
  color: #87918c;
  font-size: 11px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  margin-top: 54px;
  color: var(--muted);
  font-size: 13px;
}
.pagination a {
  color: var(--ink);
  font-weight: 600;
}
.culture-band {
  padding-block: 90px;
  background: var(--paper-warm);
  border-block: 1px solid var(--line-warm);
}
.culture-inner {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 70px;
  align-items: center;
}
.culture-copy h2 {
  margin: 18px 0;
  font-family: var(--serif);
  font-size: 43px;
  font-weight: 400;
  line-height: 1.45;
}
.culture-copy p {
  margin: 0 0 28px;
  color: #736f67;
  font-size: 14px;
  line-height: 2;
}
.culture-media {
  position: relative;
  height: 430px;
}
.culture-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vertical-note {
  position: absolute;
  right: 22px;
  top: 22px;
  padding: 13px 9px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: #fff;
  background: rgba(55, 44, 37, 0.18);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
}

/* Taxonomies and archives */
.archive-hero {
  position: relative;
  padding-block: 110px 74px;
  border-bottom: 1px solid var(--line);
}
.archive-hero h1 {
  margin: 16px 0;
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 76px);
  font-weight: 400;
  line-height: 1.15;
}
.archive-hero p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}
.archive-total {
  position: absolute;
  right: 0;
  bottom: 78px;
  color: var(--muted);
  font-size: 12px;
}
.taxonomy-panel,
.tag-cloud {
  padding-block: 70px 110px;
}
.category-tree {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.category-tree > li {
  padding: 0;
}
.category-tree a,
.tag-cloud a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.category-tree a:hover,
.tag-cloud a:hover {
  background: var(--green-soft);
  border-color: #cbd7d0;
}
.category-tree small,
.tag-cloud small {
  color: var(--muted);
  font-size: 11px;
}
.category-tree .category-tree {
  display: block;
  margin-top: 10px;
}
.category-tree .category-tree a {
  min-height: 52px;
  margin-top: 6px;
  padding: 12px 16px;
  font-size: 13px;
}
.tag-cloud {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.archive-list {
  padding-block: 70px 100px;
}
.archive-year {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 50px;
  margin-bottom: 70px;
}
.archive-year > h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 400;
}
.archive-month {
  display: grid;
  grid-template-columns: 80px 1fr;
  border-top: 1px solid var(--line);
}
.archive-month + .archive-month {
  margin-top: 30px;
}
.archive-month h3 {
  grid-row: 1 / 100;
  margin: 20px 0;
  color: var(--red);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
}
.archive-month a {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.archive-month time {
  color: var(--muted);
  font-size: 12px;
}
.archive-month a:hover span {
  color: var(--green);
}

/* Post and page */
.post-header {
  padding-block: 100px 64px;
  text-align: center;
}
.post-kicker {
  display: flex;
  justify-content: center;
  gap: 12px;
  color: var(--red);
  font-size: 11px;
  letter-spacing: 0.16em;
}
.pinned {
  padding-right: 12px;
  border-right: 1px solid var(--line-warm);
}
.post-header h1 {
  margin: 20px auto;
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
.post-excerpt {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
  color: #87918c;
  font-size: 12px;
}
.post-cover {
  height: min(62vw, 660px);
  margin-bottom: 78px;
}
.post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) 190px;
  gap: 70px;
  align-items: start;
  justify-content: center;
}
.article-content {
  min-width: 0;
  color: #27322e;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 2;
}
.page-content {
  padding-bottom: 90px;
}
.article-content > *:first-child {
  margin-top: 0;
}
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  scroll-margin-top: 30px;
}
.article-content h2 {
  margin: 2.4em 0 0.9em;
  padding-bottom: 0.5em;
  border-bottom: 1px solid var(--line);
  font-size: 28px;
}
.article-content h3 {
  margin: 2em 0 0.8em;
  font-size: 22px;
}
.article-content p {
  margin: 1.25em 0;
}
.article-content a {
  color: var(--green);
  border-bottom: 1px solid rgba(53, 95, 80, 0.35);
}
.article-content img {
  height: auto;
  margin: 2em auto;
}
.article-content figure {
  margin: 2em 0;
}
.article-content figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.article-content blockquote {
  margin: 2em 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--red);
  color: #6b645d;
}
.article-content ul,
.article-content ol {
  padding-left: 1.4em;
}
.article-content li {
  margin: 0.55em 0;
}
.article-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 14px;
}
.article-content th,
.article-content td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
}
.article-content th {
  background: var(--green-soft);
}
.article-content pre {
  overflow-x: auto;
  padding: 20px;
  color: #e8eee9;
  background: #1d2a25;
  font-family: Consolas, monospace;
  font-size: 14px;
  line-height: 1.7;
}
.article-content code {
  font-family: Consolas, monospace;
  font-size: 0.9em;
}
.post-toc {
  position: sticky;
  top: 30px;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.post-toc > span {
  font-size: 12px;
  font-weight: 700;
}
.post-toc nav {
  margin-top: 14px;
}
.post-toc a {
  display: block;
  margin: 9px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.post-toc a.level-3 {
  padding-left: 12px;
  font-size: 11px;
}
.post-toc a:hover {
  color: var(--green);
}
.post-footer {
  padding-block: 70px 40px;
}
.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.post-tags > span {
  margin-right: 6px;
  color: var(--muted);
  font-size: 12px;
}
.post-tags a {
  padding: 7px 12px;
  border: 1px solid var(--line);
  font-size: 12px;
}
.post-tags a:hover {
  background: var(--green-soft);
}
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 40px;
  background: var(--line);
  border: 1px solid var(--line);
}
.post-navigation a {
  display: flex;
  min-height: 130px;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  background: var(--surface);
}
.post-navigation a:last-child {
  text-align: right;
}
.post-navigation small {
  margin-bottom: 10px;
  color: var(--red);
  font-size: 10px;
  letter-spacing: 0.14em;
}
.post-navigation span {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
}
.post-navigation a:hover {
  background: var(--green-soft);
}
.comments {
  padding-block: 50px 90px;
}

/* Footer and error */
.site-footer {
  padding-top: 60px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 50px;
  padding-bottom: 46px;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 25px;
}
.footer-main p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
}
.footer-links a:hover {
  color: var(--green);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px 36px;
  border-top: 1px solid var(--line);
  color: #87918c;
  font-size: 11px;
}
.records {
  display: flex;
  gap: 18px;
}
.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
}
.error-page main {
  width: min(680px, calc(100% - 40px));
  text-align: center;
}
.error-page strong {
  display: block;
  margin: 20px 0;
  font-family: var(--serif);
  font-size: clamp(100px, 20vw, 190px);
  font-weight: 400;
  line-height: 1;
}
.error-page h1 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
}
.error-page p {
  margin-bottom: 30px;
  color: var(--muted);
}

@media (max-width: 1280px) {
  .brand small {
    display: none;
  }
  .primary-menu,
  .primary-menu > ul {
    gap: 20px;
  }
  .search-button {
    padding-left: 16px;
  }
}

@media (max-width: 1100px) {
  .nav-inner {
    min-height: 72px;
  }
  .brand small {
    display: none;
  }
  .brand > span {
    font-size: 19px;
  }
  .brand > img {
    height: 40px;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
  }
  .primary-menu {
    position: fixed;
    inset: 72px 0 0;
    display: block;
    padding: 22px 20px 50px;
    overflow-y: auto;
    background: var(--paper);
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }
  .primary-menu.is-open {
    transform: translateX(0);
  }
  .primary-menu > ul {
    display: block;
  }
  .primary-menu li {
    border-bottom: 1px solid var(--line);
  }
  .primary-menu a,
  .submenu-toggle {
    display: block;
    width: 100%;
    padding: 17px 0;
    text-align: left;
  }
  .primary-menu .submenu-parent-link {
    flex: 1;
    width: auto;
  }
  .primary-menu .submenu-toggle {
    flex: 0 0 44px;
    width: 44px;
    padding: 17px 0;
    text-align: center;
  }
  .search-button {
    width: 100%;
    margin: 18px 0 0;
    padding: 15px 0;
    border: 1px solid var(--line);
  }
  .submenu {
    position: static;
    min-width: 0;
    padding: 0 0 10px 16px;
    border: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
  }
  .has-children.is-open > .submenu {
    display: block;
  }
  .submenu li {
    border: 0;
  }
  .submenu a {
    padding: 11px 0;
    font-size: 13px;
  }
}

@media (max-width: 980px) {
  .brand small {
    display: none;
  }
  .primary-menu,
  .primary-menu > ul {
    gap: 18px;
  }
  .home-hero {
    gap: 38px;
  }
  .post-layout {
    grid-template-columns: minmax(0, 760px);
  }
  .post-toc {
    display: none;
  }
}

@media (max-width: 780px) {
  .shell {
    width: min(100% - 32px, 1240px);
  }
  .shell-narrow {
    width: min(100% - 32px, 820px);
  }
  .nav-inner {
    min-height: 72px;
  }
  .brand > span {
    font-size: 19px;
  }
  .brand > img {
    height: 40px;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
  }
  .primary-menu {
    position: fixed;
    inset: 72px 0 0;
    display: block;
    padding: 22px 20px 50px;
    overflow-y: auto;
    background: var(--paper);
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }
  .primary-menu.is-open {
    transform: translateX(0);
  }
  .primary-menu > ul {
    display: block;
  }
  .primary-menu li {
    border-bottom: 1px solid var(--line);
  }
  .primary-menu a,
  .submenu-toggle {
    display: block;
    width: 100%;
    padding: 17px 0;
    text-align: left;
  }
  .primary-menu .submenu-parent-link {
    flex: 1;
    width: auto;
  }
  .primary-menu .submenu-toggle {
    flex: 0 0 44px;
    width: 44px;
    padding: 17px 0;
    text-align: center;
  }
  .search-button {
    width: 100%;
    margin: 18px 0 0;
    padding: 15px 0;
    border: 1px solid var(--line);
  }
  .submenu {
    position: static;
    min-width: 0;
    padding: 0 0 10px 16px;
    border: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
  }
  .has-children.is-open > .submenu {
    display: block;
  }
  .submenu li {
    border: 0;
  }
  .submenu a {
    padding: 11px 0;
    font-size: 13px;
  }
  .home-hero {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: 0;
    padding-block: 48px 62px;
  }
  .hero-copy h1 {
    font-size: 50px;
  }
  .hero-copy > p {
    font-size: 15px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .hero-figure {
    height: 420px;
  }
  .quick-grid {
    grid-template-columns: 1fr 1fr;
  }
  .quick-grid a,
  .quick-grid a:first-child {
    padding: 20px 0;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .quick-grid a:nth-child(odd) {
    padding-right: 14px;
  }
  .quick-grid a:nth-child(even) {
    padding-left: 14px;
    border-left: 1px solid var(--line);
  }
  .section {
    padding-block: 68px;
  }
  .section-heading {
    align-items: flex-start;
  }
  .section-heading h2 {
    font-size: 34px;
  }
  .featured-story,
  .culture-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .featured-media {
    height: 360px;
  }
  .featured-copy h2 {
    font-size: 29px;
  }
  .post-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .post-card {
    display: grid;
    grid-template-columns: 126px 1fr;
    gap: 16px;
  }
  .post-card-media {
    height: 126px;
  }
  .post-card-copy {
    padding-top: 0;
  }
  .post-card h3 {
    margin: 5px 0;
    font-size: 18px;
  }
  .post-card p {
    display: none;
  }
  .post-card-meta span {
    display: none;
  }
  .culture-band {
    padding-block: 70px;
  }
  .culture-copy h2 {
    font-size: 36px;
  }
  .culture-media {
    height: 360px;
  }
  .archive-hero {
    padding-block: 72px 54px;
  }
  .archive-hero h1 {
    font-size: 52px;
  }
  .archive-total {
    position: static;
    display: block;
    margin-top: 20px;
  }
  .category-tree,
  .tag-cloud {
    grid-template-columns: 1fr 1fr;
  }
  .archive-year {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 54px;
  }
  .archive-year > h2 {
    font-size: 42px;
  }
  .post-header {
    padding-block: 70px 46px;
  }
  .post-header h1 {
    font-size: 42px;
  }
  .post-cover {
    width: 100%;
    height: 64vw;
    margin-bottom: 50px;
  }
  .article-content {
    font-size: 17px;
    line-height: 1.9;
  }
  .article-content h2 {
    font-size: 25px;
  }
  .post-navigation {
    grid-template-columns: 1fr;
  }
  .post-navigation a:last-child {
    text-align: left;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-links {
    flex-wrap: wrap;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .records {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .hero-copy h1 {
    font-size: 43px;
  }
  .hero-figure {
    height: 360px;
  }
  .section-heading > a {
    display: none;
  }
  .featured-media {
    height: 300px;
  }
  .category-tree,
  .tag-cloud {
    grid-template-columns: 1fr;
  }
  .taxonomy-panel,
  .tag-cloud {
    padding-block: 44px 70px;
  }
  .archive-month {
    grid-template-columns: 52px 1fr;
  }
  .archive-month a {
    grid-template-columns: 46px 1fr;
    gap: 10px;
  }
  .post-meta {
    gap: 10px;
  }
}
