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

/* =====================
   CSS 变量 & 重置
   ===================== */
:root {
  --black: #000000;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-400: #999999;
  --gray-600: #555555;
  --accent: #1a1a1a;
  --font-serif: 'Noto Serif TC', 'Georgia', serif;
  --font-sans: 'Noto Sans TC', 'Helvetica Neue', Arial, sans-serif;
  --header-h: 64px;
  --anchor-h: 44px;
  --max-w: 1200px;
  --gap: 2rem;
  --radius: 4px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--black);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }

/* =====================
   汉堡全屏遮罩导航（aside）
   ===================== */
.site-aside {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: var(--black);
  color: var(--white);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-100%);
  transition: transform var(--transition);
  overflow-y: auto;
}

.site-aside.is-open {
  transform: translateX(0);
}

.aside-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.aside-nav ul li a {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
  padding: 0.75rem 2rem;
  display: block;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color var(--transition);
  min-height: 40px;
}

.aside-nav ul li a:hover {
  color: var(--gray-200);
  text-decoration: none;
}

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 150;
}

.overlay.is-visible { display: block; }

/* =====================
   顶部 Header
   ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--black);
  height: var(--header-h);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 40px;
  justify-content: center;
  justify-self: start;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.brand { text-align: center; }

.brand-link {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--black);
}

.header-cta {
  justify-self: end;
  background: var(--black);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  letter-spacing: 0.04em;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  transition: background var(--transition);
}

.header-cta:hover { background: var(--gray-600); text-decoration: none; }

/* =====================
   粘性锚点条
   ===================== */
.sticky-anchor {
  position: sticky;
  top: var(--header-h);
  z-index: 90;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}

.anchor-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--anchor-h);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
}

.anchor-label {
  font-weight: 700;
  font-family: var(--font-serif);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.anchor-inner a {
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-400);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

/* =====================
   主内容区 / Wrap
   ===================== */
.site-main { min-height: 60vh; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =====================
   Hero（首页）
   ===================== */
.hero-section {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--gray-200);
}

.hero-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
  min-height: calc(70vh - var(--header-h));
}

.hero-text { padding-right: 2rem; }

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.hero-section hr {
  border: none;
  border-top: 3px solid var(--black);
  width: 60px;
  margin: 1.2rem 0;
}

.hero-sub {
  font-size: 1rem;
  color: var(--gray-600);
  max-width: 420px;
  margin-bottom: 2rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  background: var(--black);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius);
  min-height: 48px;
  letter-spacing: 0.04em;
  transition: background var(--transition);
}

.hero-btn:hover { background: var(--gray-600); text-decoration: none; }

.hero-media { position: relative; }

.hero-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
  height: 55vh;
  min-height: 300px;
}

.hero-collage-a {
  grid-column: 1;
  grid-row: 1 / 3;
  overflow: hidden;
  border-radius: var(--radius);
}

.hero-collage-b {
  grid-column: 2;
  grid-row: 1;
  margin-top: 2.5rem;
  overflow: hidden;
  border-radius: var(--radius);
}

.hero-collage-a img,
.hero-collage-b img { width: 100%; height: 100%; object-fit: cover; }

.hero-placeholder-a,
.hero-placeholder-b {
  background: var(--gray-200);
  border-radius: var(--radius);
}

/* =====================
   Section 通用
   ===================== */
.section-header { margin: 3rem 0 1.5rem; }

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-header hr,
h2 + hr,
h3 + hr {
  border: none;
  border-top: 2px solid var(--black);
  width: 40px;
  margin: 0.6rem 0 0;
}

/* =====================
   首页内容区
   ===================== */
.content-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.prose-article { max-width: 720px; }

/* =====================
   首页分类卡片
   ===================== */
.cats-section { padding: 2rem 0 3rem; }

.cat-card {
  border-bottom: 3px solid var(--black);
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--white);
  margin-bottom: 1.5rem;
  break-inside: avoid;
}

.cats-section .cat-card {
  display: inline-block;
  width: calc(50% - 1rem);
  margin-right: 1.5rem;
  vertical-align: top;
}

.cats-section {
  display: block;
}

@media (min-width: 768px) {
  .cats-section .section-header { margin-bottom: 1.5rem; }
  .cats-section-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.cat-card-inner {
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
}

.cat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gray-400);
  display: block;
  margin-bottom: 0.5rem;
}

.cat-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cat-card h3 a { color: var(--black); }
.cat-card h3 a:hover { text-decoration: underline; }

.cat-card hr {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 0.6rem 0;
}

.cat-desc { font-size: 0.9rem; color: var(--gray-600); margin-bottom: 0.75rem; }

.cat-meta {
  font-size: 0.78rem;
  color: var(--gray-400);
  margin-bottom: 1rem;
}

.cat-cta {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--black);
  border-bottom: 1px solid var(--black);
  padding-bottom: 1px;
  display: inline-block;
  min-height: 40px;
  line-height: 40px;
}

/* 首页分类使用CSS网格 */
.cats-section {
  padding: 2rem 0 3rem;
}

.cats-section .section-header + .cat-card,
.cats-section .cat-card {
  display: block;
  width: 100%;
  margin-right: 0;
}

/* =====================
   标签 Pills
   ===================== */
.tags-section { padding: 2rem 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }

.tag-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.5rem; }

.tag-pill {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--black);
  border-radius: var(--radius);
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  min-height: 40px;
  transition: background var(--transition), color var(--transition);
}

.tag-pill:hover { background: var(--black); color: var(--white); text-decoration: none; }

/* =====================
   首页最新收录
   ===================== */
.recent-section { padding: 2rem 0 3rem; }

.recent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.recent-item {
  border-bottom: 3px solid var(--black);
  border-radius: var(--radius) var(--radius) 0 0;
}

.recent-item-inner {
  border: 1px solid var(--gray-200);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 1.2rem;
}

.recent-cat {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gray-400);
  display: block;
  margin-bottom: 0.4rem;
}

.recent-item h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.recent-item h4 a { color: var(--black); }
.recent-item h4 a:hover { text-decoration: underline; }

.recent-item p { font-size: 0.87rem; color: var(--gray-600); margin-bottom: 0.5rem; }

.recent-item time {
  font-size: 0.78rem;
  color: var(--gray-400);
}

/* =====================
   双栏布局（cat / entry / tag / about / privacy）
   ===================== */
.cat-layout,
.entry-body-section,
.tag-body-section,
.about-body-section,
.privacy-body-section,
.default-body-section {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  padding: 2.5rem 0 4rem;
  align-items: start;
}

.cat-main-col,
.entry-content-col,
.tag-main-col,
.about-main-col,
.privacy-main-col,
.default-main-col {
  min-width: 0;
}

.cat-sidebar,
.entry-sidebar,
.tag-sidebar,
.about-sidebar,
.privacy-sidebar,
.default-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}

/* =====================
   侧边栏块
   ===================== */
.sidebar-block {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.sidebar-block:last-child { border-bottom: none; }

.sidebar-block h3 {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.sidebar-block hr {
  border: none;
  border-top: 2px solid var(--black);
  width: 30px;
  margin-bottom: 0.8rem;
}

.sidebar-block ul { display: flex; flex-direction: column; gap: 0.4rem; }

.sidebar-block ul li a {
  font-size: 0.88rem;
  color: var(--gray-600);
  border-bottom: 1px solid transparent;
  display: inline-block;
  min-height: 40px;
  line-height: 40px;
  transition: color var(--transition), border-color var(--transition);
}

.sidebar-block ul li a:hover { color: var(--black); border-bottom-color: var(--black); text-decoration: none; }

.sidebar-block p { font-size: 0.87rem; color: var(--gray-600); line-height: 1.6; }

.sidebar-notice {
  background: var(--gray-100);
  padding: 1rem;
  border-radius: var(--radius);
}

/* =====================
   Page Hero / 内页标题区
   ===================== */
.simple-header-section,
.page-hero-section,
.tag-header-section {
  padding: 3.5rem 0 2rem;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 0;
}

.simple-header-article,
.page-hero-article,
.tag-header-article {
  max-width: 700px;
}

.page-eyebrow,
.tag-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
  display: block;
}

.simple-header-section h1,
.page-hero-section h1,
.tag-header-section h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.simple-header-section hr,
.page-hero-section hr,
.tag-header-section hr {
  border: none;
  border-top: 3px solid var(--black);
  width: 50px;
  margin: 0.8rem 0;
}

.page-lead {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 600px;
  line-height: 1.7;
}

.policy-date {
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-top: 0.8rem;
}

/* =====================
   面包屑
   ===================== */
.breadcrumb {
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-bottom: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}

.breadcrumb a { color: var(--gray-400); border-bottom: 1px solid var(--gray-200); }
.breadcrumb a:hover { color: var(--black); text-decoration: none; }
.breadcrumb span { color: var(--gray-200); }

/* =====================
   Entry 元数据
   ===================== */
.entry-meta-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.entry-cat-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  background: var(--black);
  color: var(--white);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.entry-meta-bar time {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.entry-lead {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 600px;
}

.entry-hero-figure { margin-bottom: 2rem; border-radius: var(--radius); overflow: hidden; }
.entry-hero-img { width: 100%; border-radius: var(--radius); }

.entry-updated {
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

/* =====================
   Entry 卡片（category / tag 页）
   ===================== */
.entry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.entry-card {
  border-bottom: 3px solid var(--black);
  border-radius: var(--radius) var(--radius) 0 0;
}

.entry-card-inner {
  border: 1px solid var(--gray-200);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.entry-card h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
}

.entry-card h3 a { color: var(--black); }
.entry-card h3 a:hover { text-decoration: underline; }

.entry-card hr {
  border: none;
  border-top: 1px solid var(--gray-200);
  margin: 0.3rem 0;
}

.entry-card p { font-size: 0.87rem; color: var(--gray-600); flex: 1; }

.entry-card time {
  font-size: 0.78rem;
  color: var(--gray-400);
}

.entry-link {
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 1px solid var(--black);
  display: inline-block;
  min-height: 40px;
  line-height: 40px;
}

/* =====================
   正文排版（prose）
   ===================== */
.prose-content,
.cat-prose,
.entry-prose,
.tag-prose,
.about-prose,
.privacy-prose,
.default-prose {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--black);
}

.prose-content p,
.cat-prose p,
.entry-prose p,
.tag-prose p,
.about-prose p,
.privacy-prose p,
.default-prose p {
  margin-bottom: 1.3rem;
}

.prose-content h2,
.cat-prose h2,
.entry-prose h2,
.tag-prose h2,
.about-prose h2,
.privacy-prose h2,
.default-prose h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.4rem;
}

.prose-content h3,
.cat-prose h3,
.entry-prose h3,
.tag-prose h3,
.about-prose h3,
.privacy-prose h3,
.default-prose h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.4rem;
}

.prose-content h2 + hr,
.cat-prose h2 + hr,
.entry-prose h2 + hr,
.tag-prose h2 + hr,
.about-prose h2 + hr,
.privacy-prose h2 + hr,
.default-prose h2 + hr,
.prose-content h3 + hr,
.cat-prose h3 + hr,
.entry-prose h3 + hr {
  border: none;
  border-top: 2px solid var(--black);
  width: 35px;
  margin: 0.4rem 0 1rem;
}

.prose-content ul,
.cat-prose ul,
.entry-prose ul,
.tag-prose ul,
.about-prose ul,
.privacy-prose ul,
.default-prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.3rem;
}

.prose-content ol,
.cat-prose ol,
.entry-prose ol,
.tag-prose ol,
.about-prose ol,
.privacy-prose ol,
.default-prose ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1.3rem;
}

.prose-content li,
.cat-prose li,
.entry-prose li,
.tag-prose li,
.about-prose li,
.privacy-prose li,
.default-prose li {
  margin-bottom: 0.4rem;
}

.prose-content blockquote,
.entry-prose blockquote {
  border-left: 4px solid var(--black);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gray-600);
  font-style: italic;
}

/* Drop Cap */
.drop-cap > p:first-of-type::first-letter {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  float: left;
  line-height: 0.85;
  margin-right: 0.12em;
  margin-top: 0.08em;
}

/* =====================
   About 页特有
   ===================== */
.about-dl dt {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--gray-600);
  margin-top: 0.8rem;
}

.about-dl dd {
  font-size: 0.95rem;
  margin-top: 0.15rem;
}

/* =====================
   分类页 h2
   ===================== */
.cat-main-col > h2,
.tag-main-col > h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.4rem;
}

/* =====================
   页脚
   ===================== */
.site-footer {
  border-top: 3px solid var(--black);
  background: var(--black);
  color: var(--white);
  margin-top: 3rem;
}

.footer-mega {
  text-align: center;
  padding: 3rem 1.5rem 1.5rem;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 8vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  display: block;
  line-height: 1;
}

.footer-bar {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.2rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-address {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  font-style: normal;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
}

.footer-links li a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition);
}

.footer-links li a:hover { color: var(--white); text-decoration: none; }

/* =====================
   Scroll Reveal 动效
   ===================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
  .hero-collage-a { transition: transform 0.08s linear; }
}

/* =====================
   响应式断点
   ===================== */
@media (max-width: 900px) {
  .cat-layout,
  .entry-body-section,
  .tag-body-section,
  .about-body-section,
  .privacy-body-section,
  .default-body-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cat-sidebar,
  .entry-sidebar,
  .tag-sidebar,
  .about-sidebar,
  .privacy-sidebar,
  .default-sidebar {
    position: static;
  }
}

@media (max-width: 767px) {
  :root { --header-h: 56px; }

  html { font-size: 16px; }

  .hero-article {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 2rem;
  }

  .hero-text { padding-right: 0; }

  .hero-media { order: -1; }

  .hero-collage { height: 40vw; min-height: 200px; }

  .header-inner {
    grid-template-columns: 44px 1fr auto;
    gap: 0.5rem;
  }

  .brand-link { font-size: 0.95rem; }

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

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

  .cats-section .cat-card { width: 100%; margin-right: 0; }

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

  .anchor-inner { gap: 1rem; overflow-x: auto; white-space: nowrap; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: 1.8rem; }
  .footer-brand { font-size: 2.2rem; }
  .header-cta { font-size: 0.78rem; padding: 0.5rem 0.8rem; }
}
