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

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

:root {
  --blue: #3bb1ff;
  --red: #ff5252;
  --black: #000000;
  --white: #ffffff;
  --bg: #f5f5f0;
  --bg-card: #ffffff;
  --text: #111111;
  --text-muted: #555555;
  --border: 3px solid #000000;
  --shadow: 5px 5px 0 #000000;
  --shadow-sm: 3px 3px 0 #000000;
  --shadow-lg: 8px 8px 0 #000000;
  --radius: 0px;
  --radius-card: 0px;
  --font-body: 'Archivo', 'Space Grotesk', system-ui, sans-serif;
  --font-head: 'Space Grotesk', 'Archivo', system-ui, sans-serif;
  --nav-h: 56px;
  --sticky-h: 44px;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--red);
}

ul, ol {
  list-style: none;
}

/* ===== 布局骨架 ===== */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin-left: 0;
  transition: margin-left 0.25s ease;
}

/* ===== 侧边导航（aside） ===== */
.site-aside {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100vh;
  background: var(--black);
  color: var(--white);
  z-index: 200;
  overflow-y: auto;
  transition: left 0.25s ease;
  border-right: var(--border);
  padding: 24px 0;
}

.site-aside.is-open {
  left: 0;
}

.site-aside nav ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.site-aside nav ul li a {
  display: block;
  padding: 14px 24px;
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.15s, color 0.15s;
  min-height: 48px;
  line-height: 1.4;
}

.site-aside nav ul li a:hover,
.site-aside nav ul li a[aria-current="page"] {
  background: var(--blue);
  color: var(--black);
}

.aside-related {
  padding: 20px 24px;
  border-top: 2px solid rgba(255,255,255,0.2);
  margin-top: 12px;
}

.aside-related h2 {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.aside-related p.subtitle {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}

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

.related-list li a {
  display: block;
  padding: 8px 0;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  min-height: 40px;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.related-list li a:hover {
  color: var(--blue);
}

.tag-cloud-aside {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== 遮罩 ===== */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 190;
}

.nav-overlay.is-active {
  display: block;
}

/* ===== 顶部 Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: var(--black);
  border-bottom: var(--border);
  z-index: 150;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  font-size: 1.4rem;
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-name:hover {
  color: var(--blue);
}

.nav-toggle {
  background: none;
  border: 2px solid var(--white);
  color: var(--white);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 8px 12px;
  min-height: 44px;
  min-width: 44px;
  line-height: 1;
  transition: background 0.15s, color 0.15s;
}

.nav-toggle:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--black);
}

/* ===== 粘性二级导航 ===== */
.sticky-nav {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  height: var(--sticky-h);
  background: var(--blue);
  border-bottom: 3px solid var(--black);
  z-index: 140;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.sticky-nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  gap: 0;
  min-width: max-content;
}

.sticky-link {
  display: flex;
  align-items: center;
  padding: 0 14px;
  height: 100%;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  white-space: nowrap;
  border-right: 2px solid rgba(0,0,0,0.2);
  min-height: 44px;
  transition: background 0.15s;
}

.sticky-link:hover {
  background: rgba(0,0,0,0.12);
  color: var(--black);
}

.sticky-link:last-child {
  border-right: none;
}

/* ===== 内容区偏移（固定 header + sticky-nav） ===== */
main, .hero-section, .topic-hero, .tag-hero {
  margin-top: calc(var(--nav-h) + var(--sticky-h));
}

/* ===== 徽章 ===== */
.badge {
  display: inline-block;
  padding: 3px 10px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 2px solid var(--black);
  text-decoration: none;
  line-height: 1.6;
}

.badge-blue {
  background: var(--blue);
  color: var(--black);
}

.badge-red {
  background: var(--red);
  color: var(--white);
}

.badge-outline {
  background: transparent;
  color: var(--black);
}

.badge-outline:hover {
  background: var(--blue);
}

/* ===== Hero（首页） ===== */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 45vh;
  border-bottom: var(--border);
  overflow: hidden;
  max-height: 520px;
}

.hero-media {
  position: relative;
  background: var(--black);
  border-right: var(--border);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
}

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

.hero-img-a {
  grid-column: 1;
  grid-row: 1 / 3;
  transform: translateY(0);
}

.hero-img-b {
  grid-column: 2;
  grid-row: 1;
  transform: translateY(20px);
  border: 3px solid var(--blue);
  box-shadow: var(--shadow);
}

.hero-badge {
  position: absolute;
  bottom: 20px;
  left: 16px;
  z-index: 2;
}

.hero-badge-2 {
  bottom: 52px;
  left: 16px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
  padding: 32px 28px;
  background: var(--bg);
}

.hero-eyebrow {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 10px;
  border-bottom: 2px solid var(--red);
  padding-bottom: 4px;
}

.hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  color: var(--black);
}

.hero-lead {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  max-width: 320px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-block;
  padding: 10px 20px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 3px solid var(--black);
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
  min-height: 44px;
  line-height: 1.4;
}

.btn-primary {
  background: var(--blue);
  color: var(--black);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
  color: var(--black);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
}

/* ===== main.wrap ===== */
main {
  flex: 1;
  padding: 0 0 48px;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== article > div 正文容器 ===== */
.home-content-section,
.topic-content-section,
.article-section,
.tag-content-section,
.about-section,
.privacy-section,
.default-section {
  padding: 32px 0 0;
}

.home-content-article,
.topic-content-article,
.article-body,
.tag-content-article,
.about-article,
.privacy-article,
.default-article {
  background: var(--bg-card);
  border: var(--border);
  box-shadow: var(--shadow);
  padding: 28px 32px;
  position: relative;
}

/* ===== 文章头部 ===== */
.article-header,
.about-header,
.privacy-header,
.topic-hero-inner {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--black);
}

.article-header h1,
.about-article h1,
.privacy-article h1 {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 8px 0;
}

.article-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.meta-date {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-head);
}

.tag-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

/* ===== 正文内容 ===== */
.content-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}

.content-body h2 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 28px 0 8px;
  padding-left: 12px;
  border-left: 5px solid var(--blue);
  letter-spacing: -0.01em;
}

.content-body h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 20px 0 6px;
  color: var(--black);
}

.content-body p {
  margin-bottom: 14px;
}

.content-body ul, .content-body ol {
  list-style: disc;
  padding-left: 1.5em;
  margin-bottom: 14px;
}

.content-body ol {
  list-style: decimal;
}

.content-body li {
  margin-bottom: 6px;
  line-height: 1.65;
}

.content-body a {
  color: var(--red);
  font-weight: 600;
  text-underline-offset: 2px;
}

.content-body a:hover {
  color: var(--black);
}

.content-body blockquote {
  border-left: 4px solid var(--red);
  background: rgba(255,82,82,0.06);
  padding: 12px 18px;
  margin: 18px 0;
  font-style: italic;
}

.content-body strong {
  font-weight: 700;
  color: var(--black);
}

.content-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 0.92rem;
}

.content-body th {
  background: var(--black);
  color: var(--white);
  padding: 10px 14px;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
}

.content-body td {
  border: 2px solid var(--black);
  padding: 8px 14px;
}

.content-body tr:nth-child(even) td {
  background: rgba(59,177,255,0.08);
}

/* ===== 文章页脚 ===== */
.article-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 3px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.article-footer p {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin: 0;
}

/* ===== 面包屑 ===== */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-family: var(--font-head);
  font-weight: 500;
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--red);
}

/* ===== Topic Hero ===== */
.topic-hero, .tag-hero {
  background: var(--black);
  color: var(--white);
  border-bottom: var(--border);
  padding: 36px 20px;
}

.topic-hero-inner, .tag-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  border-bottom: none;
}

.topic-hero h1, .tag-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 10px 0;
  color: var(--white);
}

.topic-hero p.subtitle, .tag-hero p.subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-top: 6px;
}

.topic-date {
  display: inline-block;
  font-size: 0.82rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--blue);
  margin-top: 10px;
}

/* ===== Topic 子页列表（dl > dt > a + dd） ===== */
.topic-children-section,
.tag-articles-section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 3px solid var(--black);
}

.children-dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.children-dl dt {
  margin: 0;
}

.children-dl dt a {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 2px solid var(--black);
  border-bottom: none;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  transition: background 0.15s;
  min-height: 48px;
  gap: 8px;
}

.children-dl dt a::before {
  content: '→';
  color: var(--red);
  font-weight: 900;
  flex-shrink: 0;
}

.children-dl dt a:hover {
  background: var(--blue);
}

.children-dl dd {
  padding: 10px 16px;
  background: rgba(59,177,255,0.05);
  border: 2px solid var(--black);
  border-top: 1px solid rgba(0,0,0,0.15);
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.children-dl dd time {
  display: inline-block;
  font-size: 0.78rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--red);
  margin-left: 8px;
}

/* ===== h2 + p.subtitle 装饰模式 ===== */
article h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--black);
}

article h2 + p.subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 500;
}

/* ===== 版块卡片（Topic Cards） ===== */
.topics-section {
  margin-top: 36px;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.topic-card {
  border: 3px solid var(--black);
  box-shadow: var(--shadow);
  background: var(--bg-card);
  transition: transform 0.15s, box-shadow 0.15s;
}

.topic-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-lg);
}

.topic-card-inner {
  padding: 20px;
  border-bottom: 4px solid var(--blue);
}

.topic-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 8px 0 6px;
}

.topic-card h3 a {
  text-decoration: none;
  color: var(--black);
}

.topic-card h3 a:hover {
  color: var(--red);
}

.topic-card p.subtitle {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0 0 10px;
  line-height: 1.5;
}

.topic-count {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== 文章卡片 ===== */
.articles-section {
  margin-top: 36px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.article-card {
  border: 3px solid var(--black);
  box-shadow: var(--shadow);
  background: var(--bg-card);
  transition: transform 0.15s, box-shadow 0.15s;
}

.article-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-lg);
}

.article-card-inner {
  padding: 20px;
  border-bottom: 4px solid var(--red);
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
}

.card-date {
  font-size: 0.75rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
}

.article-card h3 {
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
}

.article-card h3 a {
  text-decoration: none;
  color: var(--black);
}

.article-card h3 a:hover {
  color: var(--red);
}

.article-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

.read-more {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  padding: 6px 12px;
  border: 2px solid var(--black);
  background: var(--blue);
  box-shadow: 2px 2px 0 var(--black);
  transition: transform 0.1s, box-shadow 0.1s;
  align-self: flex-start;
  min-height: 40px;
  line-height: 1.4;
}

.read-more:hover {
  transform: translate(-1px, -1px);
  box-shadow: var(--shadow-sm);
  color: var(--black);
}

/* ===== 相关文章 ===== */
.related-section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 3px solid var(--black);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.related-card {
  border: 3px solid var(--black);
  box-shadow: var(--shadow-sm);
  background: var(--bg-card);
  padding: 18px;
  border-bottom: 4px solid var(--blue);
  transition: transform 0.15s, box-shadow 0.15s;
}

.related-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
}

.related-card h3 {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.related-card h3 a {
  text-decoration: none;
  color: var(--black);
}

.related-card h3 a:hover {
  color: var(--red);
}

.related-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.related-card time {
  font-size: 0.75rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--red);
}

/* ===== About 导航网格 ===== */
.about-nav-section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 3px solid var(--black);
}

.about-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.about-nav-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border: 3px solid var(--black);
  box-shadow: var(--shadow-sm);
  background: var(--bg-card);
  text-decoration: none;
  color: var(--black);
  min-height: 80px;
  transition: background 0.15s, transform 0.1s, box-shadow 0.1s;
  border-bottom: 4px solid var(--red);
}

.about-nav-card:hover {
  background: var(--blue);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
  color: var(--black);
}

.about-nav-card strong {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
}

.about-nav-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.about-nav-card:hover span {
  color: rgba(0,0,0,0.7);
}

/* ===== Privacy ===== */
.privacy-footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 3px solid var(--black);
  font-size: 0.9rem;
}

.privacy-footer p {
  margin: 0;
}

/* ===== 页脚（极简：只 p + small） ===== */
.site-footer {
  background: var(--black);
  border-top: var(--border);
  padding: 24px 20px;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-note {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.footer-note a {
  color: var(--blue);
  text-underline-offset: 2px;
}

.footer-note a:hover {
  color: var(--white);
}

/* ===== Scroll Reveal 动效 ===== */
.reveal-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.reveal-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

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

.articles-grid .reveal-item:nth-child(2) { transition-delay: 0.08s; }
.articles-grid .reveal-item:nth-child(3) { transition-delay: 0.16s; }
.articles-grid .reveal-item:nth-child(4) { transition-delay: 0.24s; }
.articles-grid .reveal-item:nth-child(5) { transition-delay: 0.32s; }
.articles-grid .reveal-item:nth-child(6) { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal-section,
  .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== 响应式 ===== */
@media (max-width: 768px) {
  :root {
    --nav-h: 52px;
    --sticky-h: 40px;
  }

  .hero-section {
    grid-template-columns: 1fr;
    max-height: none;
    min-height: auto;
  }

  .hero-media {
    border-right: none;
    border-bottom: var(--border);
    min-height: 200px;
    max-height: 240px;
  }

  .hero-text {
    align-items: flex-start;
    text-align: left;
    padding: 24px 20px;
  }

  .hero-actions {
    justify-content: flex-start;
  }

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

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

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

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

  .article-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-content-article,
  .topic-content-article,
  .article-body,
  .tag-content-article,
  .about-article,
  .privacy-article,
  .default-article {
    padding: 20px 18px;
  }

  .wrap {
    padding: 0 14px;
  }
}

@media (max-width: 480px) {
  .topics-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-h1 {
    font-size: 1.5rem;
  }

  .sticky-link {
    padding: 0 10px;
    font-size: 0.75rem;
  }

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