@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Righteous&display=swap');

/* =============================================
   CSS 自定义属性
   ============================================= */
:root {
  --pink: #eb879c;
  --pink-light: #ffb6c1;
  --dark: #26171a;
  --dark-mid: #3d2229;
  --dark-soft: #52303a;
  --pink-dim: #c46a80;
  --pink-pale: #fde8ed;
  --white: #fff8fa;
  --text-main: #26171a;
  --text-muted: #7a4a56;
  --text-on-dark: #fde8ed;
  --radius-card: 4px;
  --radius-btn: 24px;
  --radius-input: 8px;
  --shadow-soft: 0 2px 8px rgba(38,23,26,0.12), 0 1px 3px rgba(235,135,156,0.10);
  --shadow-card: 0 4px 16px rgba(38,23,26,0.14), 0 2px 4px rgba(235,135,156,0.08);
  --shadow-card-hover: 0 8px 28px rgba(38,23,26,0.20), 0 3px 8px rgba(235,135,156,0.14);
  --nav-h: 60px;
  --transition: 200ms ease;
  --transition-slow: 300ms ease;
  --font-head: 'Righteous', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Poppins', 'Segoe UI', system-ui, sans-serif;
}

/* =============================================
   重置 & 基础
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--dark);
  color: var(--text-on-dark);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: var(--nav-h);
}

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

a {
  color: var(--pink);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

a:hover { color: var(--pink-light); }

a:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 3px;
}

ul { list-style: none; }

/* =============================================
   底部固定导航
   ============================================= */
.site-header {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--dark-mid);
  box-shadow: 0 -2px 12px rgba(38,23,26,0.50), 0 -1px 3px rgba(235,135,156,0.15);
}

.bottom-nav {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  padding: 0 12px;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.bottom-nav::-webkit-scrollbar { display: none; }

.nav-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  margin-right: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav-brand:hover {
  transform: scale(1.08);
  box-shadow: 0 0 0 3px rgba(235,135,156,0.35);
}

.nav-logo-img {
  width: 32px;
  height: 32px;
  object-fit: cover;
}

.nav-logo-text {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.nav-link {
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding: 0 12px;
  height: 40px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-on-dark);
  opacity: 0.75;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition), opacity var(--transition);
}

.nav-link:hover,
.nav-link.active {
  background: rgba(235,135,156,0.18);
  color: var(--pink-light);
  opacity: 1;
}

.nav-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  flex-shrink: 0;
  padding: 0 14px;
  height: 40px;
  border-radius: 20px;
  background: var(--pink);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}

.nav-contact:hover {
  background: var(--pink-dim);
  color: var(--white);
  transform: translateY(-1px);
}

/* =============================================
   按钮
   ============================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  background: var(--pink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  min-height: 44px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 3px 10px rgba(235,135,156,0.30);
}

.btn-primary:hover {
  background: var(--pink-dim);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(235,135,156,0.38);
}

.btn-more {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--pink);
  padding: 6px 0;
  transition: gap var(--transition), color var(--transition);
  gap: 4px;
}

.btn-more:hover { color: var(--pink-light); gap: 8px; }

.btn-read {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--pink);
  color: var(--pink);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}

.btn-read:hover {
  background: var(--pink);
  color: var(--white);
}

/* =============================================
   通用排版辅助
   ============================================= */
.eyebrow-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 6px;
}

.section-h2 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1.4rem;
}

/* =============================================
   首页 Hero
   ============================================= */
.page-home .page-main {
  padding-bottom: 0;
}

.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(38,23,26,0.72) 0%,
    rgba(61,34,41,0.60) 50%,
    rgba(38,23,26,0.80) 100%
  );
}

.hero-deco-text {
  position: absolute;
  bottom: -0.1em;
  right: -0.05em;
  z-index: 2;
  font-family: var(--font-head);
  font-size: clamp(8rem, 22vw, 20rem);
  line-height: 1;
  color: rgba(235,135,156,0.06);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 40px 24px 100px;
  max-width: 680px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--pink-light);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 7vw, 4rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(38,23,26,0.50);
}

.hero-sub {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: var(--text-on-dark);
  opacity: 0.85;
  margin-bottom: 28px;
  line-height: 1.7;
}

/* =============================================
   首页通用包裹
   ============================================= */
.home-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px 40px;
}

.home-intro-section {
  margin-bottom: 60px;
}

.home-intro-article {
  background: var(--dark-mid);
  border-radius: 12px;
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
}

.intro-content {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-on-dark);
  opacity: 0.9;
}

.intro-content p { margin-bottom: 1em; }
.intro-content h2,
.intro-content h3 {
  font-family: var(--font-head);
  color: var(--pink-light);
  margin: 1.4em 0 0.5em;
}

.home-topics-section { margin-bottom: 60px; }
.home-topics-article { }

/* =============================================
   话题卡片网格（首页）
   ============================================= */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.topic-card { }

.topic-card-inner {
  background: var(--dark-mid);
  border-radius: var(--radius-card);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow var(--transition-slow), transform var(--transition-slow);
}

.topic-card-inner:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
}

.topic-card-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  line-height: 1.3;
}

.topic-card-title a {
  color: var(--pink-light);
}

.topic-card-title a:hover { color: var(--white); }

.topic-card-desc {
  font-size: 0.85rem;
  color: var(--text-on-dark);
  opacity: 0.75;
  line-height: 1.6;
  flex: 1;
}

.topic-child-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.child-link {
  font-size: 0.80rem;
  color: var(--text-on-dark);
  opacity: 0.7;
  transition: opacity var(--transition), color var(--transition);
}

.child-link::before {
  content: '· ';
  color: var(--pink);
}

.child-link:hover {
  opacity: 1;
  color: var(--pink-light);
}

/* =============================================
   话题页 Hero
   ============================================= */
.topic-hero {
  position: relative;
  padding: 80px 24px 60px;
  background: linear-gradient(135deg, var(--dark-mid) 0%, var(--dark-soft) 100%);
  overflow: hidden;
}

.topic-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(235,135,156,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.topic-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.topic-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.15;
}

.topic-hero-desc {
  font-size: 1rem;
  color: var(--text-on-dark);
  opacity: 0.82;
  line-height: 1.7;
}

/* =============================================
   话题页内容区
   ============================================= */
.topic-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 20px 40px;
}

.topic-intro-section { margin-bottom: 48px; }

.topic-intro-article {
  background: var(--dark-mid);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
}

.topic-intro-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-on-dark);
  opacity: 0.9;
}

.topic-intro-body p { margin-bottom: 1em; }
.topic-intro-body h2,
.topic-intro-body h3 {
  font-family: var(--font-head);
  color: var(--pink-light);
  margin: 1.4em 0 0.5em;
}

.topic-list-section { margin-bottom: 40px; }
.topic-list-article { }

.empty-tip {
  color: var(--text-on-dark);
  opacity: 0.6;
  font-size: 0.95rem;
  padding: 24px 0;
}

/* =============================================
   子页列表（栏目页）
   ============================================= */
.child-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.child-item { }

.child-article {
  display: flex;
  gap: 20px;
  background: var(--dark-mid);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow var(--transition-slow), transform var(--transition-slow);
}

.child-article:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.child-img-wrap {
  flex-shrink: 0;
  width: 160px;
}

.child-card-img {
  width: 160px;
  height: 100%;
  object-fit: cover;
}

.child-body {
  padding: 20px 20px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.child-num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: rgba(235,135,156,0.25);
  line-height: 1;
  font-weight: 700;
}

.child-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  line-height: 1.3;
}

.child-title a { color: var(--pink-light); }
.child-title a:hover { color: var(--white); }

.child-desc {
  font-size: 0.88rem;
  color: var(--text-on-dark);
  opacity: 0.72;
  line-height: 1.6;
  flex: 1;
}

.card-date {
  font-size: 0.75rem;
  color: var(--text-on-dark);
  opacity: 0.50;
}

/* =============================================
   文章页
   ============================================= */
.article-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}

.article-section { }
.article-main-article { }

.article-hero-wrap {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow-card);
}

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

.article-header {
  margin-bottom: 28px;
}

.breadcrumb {
  font-size: 0.78rem;
  color: var(--text-on-dark);
  opacity: 0.55;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.breadcrumb a { color: var(--text-on-dark); opacity: 0.7; }
.breadcrumb a:hover { color: var(--pink); opacity: 1; }
.breadcrumb [aria-current="page"] { color: var(--pink-light); opacity: 1; }

.article-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 12px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pub-date,
.mod-date {
  font-size: 0.78rem;
  color: var(--text-on-dark);
  opacity: 0.52;
}

.article-body {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-on-dark);
  background: var(--dark-mid);
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  margin-bottom: 36px;
}

.article-body p { margin-bottom: 1.1em; }

.article-body h2 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--pink-light);
  margin: 1.8em 0 0.6em;
  line-height: 1.3;
}

.article-body h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--pink);
  margin: 1.5em 0 0.5em;
}

.article-body ul,
.article-body ol {
  padding-left: 1.4em;
  margin-bottom: 1em;
}

.article-body li { margin-bottom: 0.4em; }

.article-body a {
  color: var(--pink-light);
  text-decoration: underline;
  text-decoration-color: rgba(255,182,193,0.4);
}

.article-body a:hover {
  text-decoration-color: var(--pink-light);
}

.article-body strong { color: var(--pink-light); font-weight: 600; }
.article-body em { color: var(--pink); }

.article-body img {
  border-radius: 8px;
  margin: 1em 0;
  box-shadow: var(--shadow-soft);
}

.article-body blockquote {
  border-left: 3px solid var(--pink);
  padding-left: 16px;
  margin: 1.2em 0;
  opacity: 0.85;
  font-style: italic;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2em 0;
  font-size: 0.92rem;
}

.article-body th {
  background: rgba(235,135,156,0.15);
  color: var(--pink-light);
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
}

.article-body td {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(235,135,156,0.10);
}

.article-body tr:hover td {
  background: rgba(235,135,156,0.05);
}

/* 相关推荐 */
.article-related {
  margin-top: 36px;
}

.related-h2 {
  font-size: 1.2rem;
}

.sibling-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.sibling-item { }

.sibling-article {
  background: var(--dark-mid);
  border-radius: var(--radius-card);
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition), transform var(--transition);
}

.sibling-article:hover {
  box-shadow: var(--shadow-card);
  transform: translateX(4px);
}

.sibling-title {
  font-size: 0.95rem;
  font-family: var(--font-head);
  margin-bottom: 6px;
}

.sibling-title a { color: var(--pink-light); }
.sibling-title a:hover { color: var(--white); }

.sibling-desc {
  font-size: 0.82rem;
  color: var(--text-on-dark);
  opacity: 0.65;
  line-height: 1.5;
}

/* =============================================
   关于页
   ============================================= */
.about-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 20px 40px;
}

.about-section { }
.about-article { }

.about-header {
  text-align: center;
  padding: 40px 20px 32px;
}

.about-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}

.about-lead {
  font-size: 1rem;
  color: var(--text-on-dark);
  opacity: 0.78;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

.about-body {
  background: var(--dark-mid);
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-on-dark);
  margin-bottom: 40px;
}

.about-body p { margin-bottom: 1em; }
.about-body h2,
.about-body h3 {
  font-family: var(--font-head);
  color: var(--pink-light);
  margin: 1.4em 0 0.5em;
}

.about-nav-links {
  margin-top: 40px;
}

.about-link-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.about-link-item { }

.about-link-article {
  background: var(--dark-mid);
  border-radius: var(--radius-card);
  padding: 18px 16px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow var(--transition-slow), transform var(--transition-slow);
}

.about-link-article:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.about-link-title {
  font-size: 0.95rem;
  font-family: var(--font-head);
  margin-bottom: 6px;
}

.about-link-title a { color: var(--pink-light); }
.about-link-title a:hover { color: var(--white); }

.about-link-desc {
  font-size: 0.80rem;
  color: var(--text-on-dark);
  opacity: 0.62;
  line-height: 1.5;
}

/* =============================================
   隐私页
   ============================================= */
.privacy-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 40px;
}

.privacy-section { }
.privacy-article { }

.privacy-header {
  text-align: center;
  padding: 32px 20px 28px;
}

.privacy-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--white);
  margin-bottom: 12px;
}

.privacy-lead {
  font-size: 0.95rem;
  color: var(--text-on-dark);
  opacity: 0.70;
  line-height: 1.7;
}

.privacy-body {
  background: var(--dark-mid);
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  font-size: 0.97rem;
  line-height: 1.85;
  color: var(--text-on-dark);
  margin-bottom: 28px;
}

.privacy-body p { margin-bottom: 1em; }
.privacy-body h2,
.privacy-body h3 {
  font-family: var(--font-head);
  color: var(--pink-light);
  margin: 1.4em 0 0.5em;
}

.privacy-body ul {
  padding-left: 1.4em;
  margin-bottom: 1em;
}

.privacy-body li { margin-bottom: 0.4em; }

.privacy-footer-note {
  font-size: 0.88rem;
  color: var(--text-on-dark);
  opacity: 0.65;
  line-height: 1.7;
  padding: 0 4px;
}

.privacy-footer-note p { margin-bottom: 0.6em; }

.inline-link {
  color: var(--pink);
  text-decoration: underline;
  text-decoration-color: rgba(235,135,156,0.45);
}

.inline-link:hover {
  color: var(--pink-light);
  text-decoration-color: var(--pink-light);
}

/* =============================================
   页脚
   ============================================= */
.site-footer {
  background: var(--dark-soft);
  padding: 0 0 80px;
  margin-top: 60px;
  box-shadow: inset 0 1px 0 rgba(235,135,156,0.12);
}

.footer-cta {
  background: linear-gradient(120deg, var(--pink-dim) 0%, var(--pink) 100%);
  padding: 40px 24px;
  text-align: center;
}

.footer-cta-text {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-cta .btn-primary {
  background: var(--white);
  color: var(--dark);
  box-shadow: 0 4px 14px rgba(38,23,26,0.25);
}

.footer-cta .btn-primary:hover {
  background: var(--pink-pale);
  color: var(--dark);
}

.footer-cols {
  display: flex;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 24px 24px;
  flex-wrap: wrap;
}

.footer-dl {
  flex: 1;
  min-width: 160px;
}

.footer-dt {
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--pink);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(235,135,156,0.20);
}

.footer-dd {
  margin-bottom: 8px;
}

.footer-dd-text {
  font-size: 0.82rem;
  color: var(--text-on-dark);
  opacity: 0.60;
  line-height: 1.6;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--text-on-dark);
  opacity: 0.65;
  display: inline-block;
  min-height: 28px;
  line-height: 28px;
  transition: opacity var(--transition), color var(--transition);
}

.footer-link:hover {
  opacity: 1;
  color: var(--pink-light);
}

.footer-bottom {
  text-align: center;
  padding: 20px 24px;
  border-top: 1px solid rgba(235,135,156,0.10);
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-on-dark);
  opacity: 0.40;
  line-height: 1.6;
}

/* =============================================
   Scroll Reveal 动效
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 280ms ease, transform 280ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * { animation: none !important; transition: none !important; }
}

/* =============================================
   响应式
   ============================================= */
@media (min-width: 640px) {
  .bottom-nav {
    justify-content: center;
    gap: 8px;
  }

  .nav-link {
    font-size: 0.85rem;
    padding: 0 16px;
  }

  .child-img-wrap {
    width: 200px;
  }

  .child-card-img {
    width: 200px;
  }

  .hero-content {
    padding-bottom: 120px;
  }
}

@media (min-width: 900px) {
  .bottom-nav {
    padding: 0 24px;
    gap: 12px;
  }

  .nav-link {
    font-size: 0.90rem;
  }

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

  .footer-cols {
    flex-wrap: nowrap;
  }
}

@media (max-width: 480px) {
  .child-article {
    flex-direction: column;
  }

  .child-img-wrap {
    width: 100%;
  }

  .child-card-img {
    width: 100%;
    height: 180px;
  }

  .child-body {
    padding: 16px;
  }

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

  .footer-cols {
    flex-direction: column;
    gap: 24px;
  }

  .about-link-list {
    grid-template-columns: 1fr;
  }

  .article-body {
    padding: 20px 16px;
  }

  .home-intro-article {
    padding: 24px 16px;
  }
}
