:root {
  --ink: #351326;
  --ink-soft: #6f3452;
  --muted: #8b6678;
  --rose-900: #9c174f;
  --rose-700: #d82773;
  --rose-500: #ff5e9f;
  --rose-100: #ffe3ef;
  --rose-50: #fff7fb;
  --mint: #c7efe3;
  --gold: #ffd36e;
  --line: rgba(156, 23, 79, 0.16);
  --shadow: 0 18px 44px rgba(156, 23, 79, 0.16);
  --radius: 8px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(255, 227, 239, 0.68), rgba(255, 247, 251, 0.88) 34%, #fff 72%), var(--rose-50);
  font-family: var(--font);
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--rose-900);
  color: #fff;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 250, 253, 0.94);
  box-shadow: 0 12px 34px rgba(156, 23, 79, 0.1);
  backdrop-filter: blur(18px);
}

.nav-inner {
  width: min(100% - 32px, 1180px);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 900;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(216, 39, 115, 0.22);
}

.brand span {
  color: var(--rose-900);
  font-size: 1.12rem;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links li {
  margin: 0;
  padding: 0;
}

.nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border-radius: 6px;
  color: rgba(53, 19, 38, 0.72);
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links .current > a {
  color: var(--rose-900);
  background: rgba(255, 94, 159, 0.12);
}

.nav-search {
  width: 250px;
  min-height: 42px;
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
}

.nav-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  padding: 9px 12px;
  color: var(--ink);
  background: transparent;
  outline: 0;
}

.nav-search button,
.primary-button,
.secondary-button,
.submit-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  padding: 10px 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose-700), var(--rose-500));
  box-shadow: 0 12px 28px rgba(216, 39, 115, 0.22);
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-search button {
  min-height: 40px;
  border-radius: 0;
  box-shadow: none;
}

.primary-button:hover,
.secondary-button:hover,
.submit-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(216, 39, 115, 0.28);
}

.secondary-button {
  color: var(--rose-900);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(156, 23, 79, 0.16);
  box-shadow: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
  place-items: center;
  padding: 10px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  display: block;
  margin: 3px 0;
  border-radius: 999px;
  background: var(--rose-900);
}

.hero {
  position: relative;
  min-height: 720px;
  height: 92svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #f8d9e6;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 247, 251, 0.94), rgba(255, 247, 251, 0.74) 42%, rgba(255, 227, 239, 0.18) 74%), linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 247, 251, 0.92));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  padding: 116px 0 62px;
}

.hero-content,
.copy-block {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--rose-900);
  font-size: 0.88rem;
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: var(--rose-500);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 span,
.section-title span,
.copy-block h2 span {
  color: var(--rose-700);
}

.hero p,
.page-hero p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 580px;
  margin-top: 36px;
}

.stat-card {
  min-height: 94px;
  padding: 18px;
  border: 1px solid rgba(156, 23, 79, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
}

.stat-card strong {
  display: block;
  color: var(--rose-900);
  font-size: 1.65rem;
  line-height: 1.1;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
}

.section {
  padding: 86px 0;
}

.section.tinted {
  background: linear-gradient(180deg, rgba(255, 227, 239, 0.52), rgba(255, 250, 253, 0.88));
}

.page-hero {
  padding: 150px 0 84px;
  background: linear-gradient(135deg, rgba(255, 227, 239, 0.92), rgba(255, 250, 253, 0.76) 55%, rgba(199, 239, 227, 0.5)), var(--rose-50);
}

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

.section-head.compact {
  margin-bottom: 22px;
}

.section-title,
.copy-block h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.18;
  font-weight: 900;
}

.section-head p,
.copy-block p {
  max-width: 650px;
  margin: 10px 0 0;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 46px;
  align-items: center;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.feature-pill {
  min-height: 72px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
}

.feature-pill b {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
}

.feature-pill span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.art-mosaic {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 14px;
}

.art-mosaic figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(156, 23, 79, 0.12);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.art-mosaic figure:first-child {
  grid-row: span 2;
}

.art-mosaic img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.art-mosaic figure:first-child img {
  min-height: 500px;
}

.art-mosaic figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--rose-900);
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  font-weight: 800;
}

.news-board {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 22px;
  align-items: stretch;
}

.lead-story,
.mini-story,
.topic-box,
.empty-dynamic {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(156, 23, 79, 0.08);
}

.lead-story {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  overflow: hidden;
  min-height: 420px;
}

.lead-media {
  position: relative;
  min-height: 320px;
  background: var(--rose-100);
}

.lead-media img,
.mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lead-media span {
  position: absolute;
  left: 18px;
  top: 18px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 6px;
  color: #fff;
  background: rgba(156, 23, 79, 0.86);
  font-size: 0.8rem;
  font-weight: 900;
}

.lead-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}

.story-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--rose-900);
  font-size: 0.84rem;
  font-weight: 800;
}

.lead-body h3,
.mini-story h3,
.topic-box h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  line-height: 1.35;
}

.lead-body h3 {
  margin-top: 14px;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
}

.lead-body p,
.mini-story p,
.empty-copy,
.empty-dynamic p {
  margin: 12px 0 0;
  color: var(--muted);
}

.inline-link {
  width: fit-content;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  color: var(--rose-900);
  font-weight: 900;
}

.news-side-list {
  display: grid;
  gap: 14px;
}

.mini-story {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
}

.mini-thumb {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  background: var(--rose-100);
}

.mini-story span,
.rank-item em {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
}

.mini-story h3 {
  margin-top: 5px;
  font-size: 1rem;
}

.empty-dynamic {
  display: grid;
  align-content: center;
  min-height: 260px;
  padding: 28px;
}

.empty-dynamic h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.5rem;
}

.dynamic-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}

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

.topic-column {
  display: grid;
  gap: 16px;
}

.topic-box {
  padding: 20px;
}

.topic-box h3 {
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.topic-list {
  display: grid;
  gap: 10px;
}

.topic-pill,
.rank-item {
  border: 1px solid rgba(156, 23, 79, 0.14);
  border-radius: 6px;
  background: rgba(255, 247, 251, 0.78);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.topic-pill {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
}

.topic-pill strong {
  min-width: 0;
  color: var(--ink);
  font-size: 0.96rem;
}

.topic-pill span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.8rem;
}

.topic-pill:hover,
.rank-item:hover {
  transform: translateY(-1px);
  border-color: rgba(216, 39, 115, 0.32);
  background: #fff;
}

.rank-list {
  counter-reset: rank;
  display: grid;
  gap: 10px;
}

.rank-item {
  counter-increment: rank;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px 10px;
  align-items: center;
  min-height: 64px;
  padding: 10px 12px;
}

.rank-index {
  grid-row: span 2;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: var(--rose-700);
  font-weight: 900;
}

.rank-index::before {
  content: counter(rank);
}

.rank-item strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grid,
.post-grid {
  display: grid;
  gap: 20px;
}

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

.comic-card,
.sidebox,
.single-article,
.comments,
.comment-form {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(156, 23, 79, 0.08);
}

.comic-card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.comic-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 39, 115, 0.32);
  box-shadow: 0 18px 42px rgba(156, 23, 79, 0.14);
}

.comic-card.is-top {
  border-color: rgba(255, 211, 110, 0.82);
}

.cover {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  background: var(--rose-100);
}

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

.tagline,
.rating {
  position: absolute;
  top: 12px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 800;
}

.tagline {
  left: 12px;
  color: #fff;
  background: rgba(156, 23, 79, 0.84);
}

.rating {
  right: 12px;
  color: var(--ink);
  background: rgba(255, 250, 243, 0.9);
}

.card-body {
  padding: 18px;
}

.card-body h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.35;
  font-weight: 900;
}

.card-body p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.meta a {
  color: var(--rose-900);
  font-weight: 900;
}

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

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

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

.sidebox {
  padding: 20px;
}

.sidebox h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1rem;
}

.sidebox ul {
  margin: 0;
  padding-left: 18px;
}

.sidebox li {
  margin: 8px 0;
  color: var(--ink-soft);
}

.sidebox a:hover {
  color: var(--rose-900);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--rose-900);
  font-size: 0.9rem;
  font-weight: 800;
}

.single-wrap {
  padding-top: 132px;
}

.single-article {
  padding: 34px;
}

.article-head h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.16;
  font-weight: 900;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.article-cover {
  overflow: hidden;
  margin-top: 28px;
  border-radius: var(--radius);
  background: var(--rose-100);
}

.article-cover img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.article-content {
  margin-top: 30px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.article-content h2,
.article-content h3 {
  color: var(--ink);
  line-height: 1.35;
}

.article-content img {
  height: auto;
  border-radius: var(--radius);
}

.article-content a {
  color: var(--rose-900);
  font-weight: 800;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  align-items: center;
}

.tags strong,
.tags a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 6px;
  color: var(--rose-900);
  background: rgba(255, 227, 239, 0.82);
  font-size: 0.85rem;
  font-weight: 800;
}

.article-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.article-nav div {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 247, 251, 0.78);
}

.article-nav span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.article-nav a {
  color: var(--ink);
  font-weight: 800;
}

.article-nav em {
  color: var(--muted);
  font-style: normal;
}

.pagebar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.pagebar a,
.pagebar span {
  min-width: 40px;
  min-height: 40px;
  display: grid;
  place-items: center;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink-soft);
  font-weight: 800;
}

.pagebar .now-page {
  color: #fff;
  border-color: var(--rose-700);
  background: var(--rose-700);
}

.comments,
.comment-form {
  margin-top: 30px;
  padding: 24px;
}

.comments h2,
.comment-form h2 {
  margin: 0 0 18px;
  font-size: 1.25rem;
}

.comment-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.comment-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.comment-body {
  flex: 1;
  min-width: 0;
}

.comment-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.86rem;
}

.comment-head strong {
  color: var(--ink);
}

.comment-content {
  margin-top: 8px;
  color: var(--ink-soft);
}

.reply {
  display: inline-flex;
  margin-top: 8px;
  color: var(--rose-900);
  font-weight: 800;
}

.comment-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

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

.comment-form input,
.comment-form textarea,
.newsletter input {
  width: 100%;
  border: 1px solid rgba(156, 23, 79, 0.18);
  border-radius: 6px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  outline: 0;
}

.comment-form textarea {
  min-height: 148px;
  resize: vertical;
}

.verify {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.verify span {
  grid-column: 1 / -1;
}

.verify img {
  height: 42px;
  border-radius: 6px;
  cursor: pointer;
}

.form-actions #cancel-reply {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--rose-900);
  font-weight: 800;
}

.footer {
  padding: 58px 0 28px;
  color: rgba(255, 255, 255, 0.76);
  background: #351326;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(130px, 0.7fr));
  gap: 34px;
}

.footer .brand span {
  color: #fff;
}

.footer p {
  max-width: 380px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1rem;
}

.footer a:not(.brand),
.footer-grid > div > span {
  display: block;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}

.footer a:hover {
  color: #fff;
}

.newsletter {
  display: flex;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.newsletter input {
  min-width: 0;
  flex: 1;
  border: 0;
  color: #fff;
  background: transparent;
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.newsletter button {
  border: 0;
  padding: 0 14px;
  color: #fff;
  background: var(--rose-700);
  cursor: pointer;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom span {
  margin: 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.86rem;
}

@media (max-width: 1080px) {
  .nav-search {
    display: none;
  }
}

@media (max-width: 980px) {
  .nav-inner {
    min-height: 68px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 76px;
    display: grid;
    gap: 4px;
    max-height: calc(100svh - 92px);
    overflow: auto;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 250, 253, 0.97);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    justify-content: center;
  }

  .hero {
    min-height: 650px;
    height: auto;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(255, 247, 251, 0.9), rgba(255, 247, 251, 0.76) 48%, rgba(255, 247, 251, 0.96)), linear-gradient(90deg, rgba(255, 227, 239, 0.55), rgba(255, 227, 239, 0.2));
  }

  .stats-row,
  .grid.three,
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .news-board,
  .dynamic-panel,
  .layout {
    grid-template-columns: 1fr;
  }

  .lead-story {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .nav-inner,
  .hero-content,
  .container {
    width: min(100% - 24px, 1180px);
  }

  .brand span {
    font-size: 1rem;
  }

  .hero-content {
    padding-top: 108px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.6rem, 16vw, 4.2rem);
  }

  .section {
    padding: 62px 0;
  }

  .page-hero {
    padding: 126px 0 62px;
  }

  .section-head {
    display: grid;
    gap: 12px;
  }

  .stats-row,
  .grid.three,
  .dynamic-grid,
  .post-grid,
  .feature-list,
  .form-grid,
  .article-nav {
    grid-template-columns: 1fr;
  }

  .lead-body {
    padding: 22px;
  }

  .mini-story {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .topic-pill {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .art-mosaic {
    grid-template-columns: 1fr;
  }

  .art-mosaic figure:first-child {
    grid-row: auto;
  }

  .art-mosaic figure:first-child img,
  .art-mosaic img {
    min-height: 280px;
  }

  .hero-actions,
  .form-actions,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-button,
  .secondary-button,
  .submit-button {
    width: 100%;
  }

  .single-article,
  .comments,
  .comment-form {
    padding: 20px;
  }

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