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

/* ── 基础重置 ── */
*, *::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: 'Quicksand', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: #000;
  background: #fff;
  min-height: 100vh;
}

/* ── CSS 自定义属性 ── */
:root {
  --black: #000000;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-400: #999;
  --gray-600: #555;
  --radius: 18px;
  --nav-h: 64px;
  --max-w: 1200px;
  --gap: 2rem;
}

/* ── 页面包装 ── */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-bottom: var(--nav-h);
}

/* ── 底部固定导航 ── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--black);
  border-top: 2px solid var(--gray-200);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}

.bottom-nav ol {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

.bottom-nav ol > li {
  flex-shrink: 0;
}

.bottom-nav .nav-brand a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  text-decoration: none;
}

.brand-icon {
  font-family: 'Caveat', cursive;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
}

.bottom-nav .nav-brand img {
  border-radius: 50%;
  object-fit: cover;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 1rem;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 220ms ease, color 220ms ease;
  font-family: 'Quicksand', sans-serif;
}

.nav-pill:hover,
.nav-pill.active {
  background: var(--white);
  color: var(--black);
}

.nav-search {
  margin-left: auto;
}

.nav-search form {
  display: flex;
  align-items: center;
}

.nav-search input[type="search"] {
  height: 40px;
  padding: 0 1rem;
  border: none;
  border-radius: 20px;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-family: 'Quicksand', sans-serif;
  font-size: 0.85rem;
  outline: none;
  width: 140px;
  transition: background 220ms ease, width 220ms ease;
}

.nav-search input[type="search"]::placeholder { color: rgba(255,255,255,0.5); }
.nav-search input[type="search"]:focus {
  background: rgba(255,255,255,0.25);
  width: 180px;
}

/* ── 面包屑 ── */
.breadcrumb {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem var(--gap) 0;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--gray-400);
}

.breadcrumb ol li + li::before {
  content: '·';
  margin-right: 0.5rem;
}

.breadcrumb a {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb a:hover { text-decoration: underline; }

/* ── hr 装饰 ── */
hr {
  border: none;
  border-top: 2px solid var(--black);
  margin: 1rem 0;
}

h2 + hr, h3 + hr {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

/* ── 通用 aside 样式 ── */
.aside-title {
  display: block;
  font-family: 'Caveat', cursive;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.aside-links {
  list-style: none;
}

.aside-links li {
  border-bottom: 1px solid var(--gray-200);
}

.aside-links li:last-child { border-bottom: none; }

.aside-links a {
  display: block;
  padding: 0.5rem 0;
  color: var(--black);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 200ms ease;
}

.aside-links a:hover { color: var(--gray-600); }

.aside-note {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.aside-cat-link,
.aside-about-link,
.aside-tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: var(--black);
  color: var(--white);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  margin: 0.25rem 0.25rem 0.25rem 0;
  transition: background 200ms ease;
}

.aside-cat-link:hover,
.aside-about-link:hover,
.aside-tag:hover {
  background: var(--gray-600);
}

/* ── 日期 ── */
.page-date {
  display: block;
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: 0.5rem;
}

time { font-size: 0.85rem; color: var(--gray-400); }

/* ── 首页 Hero ── */
.home-main {
  flex: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: 2rem var(--gap);
}

.content-section {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--gap);
  align-items: start;
  margin-bottom: 4rem;
}

.content-figure,
.content-aside {
  min-width: 0;
}

.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
  min-height: 100vh;
  padding: 4rem 0;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-badge {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-family: 'Caveat', cursive;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  width: fit-content;
}

.hero-text h1 {
  font-family: 'Caveat', cursive;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 480px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 1.5rem;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 220ms ease;
}

.btn-primary:hover { background: var(--gray-600); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 1.5rem;
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--black);
  border-radius: var(--radius);
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 220ms ease, color 220ms ease;
}

.btn-secondary:hover { background: var(--black); color: var(--white); }

.hero-figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-100);
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-badge-float {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--white);
  color: var(--black);
  font-family: 'Caveat', cursive;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 20px;
}

/* ── 首页分类 ── */
.cats-section,
.tags-section {
  margin-bottom: 2rem;
}

.cats-section h2,
.tags-section h2 {
  font-family: 'Caveat', cursive;
  font-size: 1.3rem;
  font-weight: 700;
}

.cats-aside,
.tags-cloud {
  display: block;
}

.cats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.cat-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.25rem;
  background: var(--gray-100);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--black);
  transition: background 200ms ease;
}

.cat-card:hover { background: var(--gray-200); }

.cat-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.cat-desc {
  font-size: 0.8rem;
  color: var(--gray-600);
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 1rem;
  background: var(--gray-100);
  color: var(--black);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease;
}

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

/* ── 首页正文区 ── */
.page-content-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  margin-bottom: 3rem;
}

.page-content-figure { min-width: 0; }

/* ── 最新收录 ── */
.latest-section {
  margin-bottom: 3rem;
}

.latest-section h2 {
  font-family: 'Caveat', cursive;
  font-size: 1.6rem;
  font-weight: 700;
}

.latest-grid {
  display: block;
}

.entry-grid,
.latest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--gap);
  margin-top: 1rem;
}

.entry-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--black);
  transition: transform 220ms ease;
}

.entry-card:hover { transform: translateY(-4px); }

.entry-card img,
.entry-thumb {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  display: block;
}

.entry-card-title {
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0 1rem;
  line-height: 1.4;
}

.entry-card time {
  padding: 0 1rem 1rem;
  display: block;
}

/* ── 分类页 ── */
.category-main {
  flex: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: 1rem var(--gap) 2rem;
}

.cat-hero-section {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--gap);
  align-items: start;
  margin: 2rem 0 3rem;
}

.cat-hero-figure,
.cat-side { min-width: 0; }

.cat-eyebrow {
  display: inline-block;
  font-family: 'Caveat', cursive;
  font-size: 1rem;
  font-weight: 600;
  background: var(--black);
  color: var(--white);
  padding: 0.2rem 0.8rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.cat-hero-figure h1 {
  font-family: 'Caveat', cursive;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
}

.cat-desc {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  max-width: 600px;
}

.cat-side {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
}

/* ── 正文 + 侧边栏布局 ── */
.prose-section,
.about-content-section,
.privacy-content-section,
.entry-content-section,
.tag-content-section {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--gap);
  align-items: start;
  margin-bottom: 3rem;
}

.prose-figure,
.about-content-figure,
.privacy-content-figure,
.entry-content-figure,
.tag-content-figure { min-width: 0; }

.prose-aside,
.about-content-aside,
.privacy-content-aside,
.entry-content-aside,
.tag-content-aside {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: 1rem;
}

/* ── 子页列表（表格） ── */
.child-list-section {
  margin-bottom: 3rem;
}

.child-list-section h2 {
  font-family: 'Caveat', cursive;
  font-size: 1.6rem;
  font-weight: 700;
}

.child-table-wrap {
  overflow-x: auto;
  display: block;
  margin-top: 1rem;
  border-radius: var(--radius);
  background: var(--gray-100);
}

.child-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.child-table th {
  background: var(--black);
  color: var(--white);
  padding: 0.9rem 1.25rem;
  text-align: left;
  font-weight: 600;
  font-family: 'Quicksand', sans-serif;
}

.child-table th:first-child { border-radius: var(--radius) 0 0 0; }
.child-table th:last-child { border-radius: 0 var(--radius) 0 0; }

.child-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: top;
}

.child-table tbody tr:last-child td { border-bottom: none; }
.child-table tbody tr:hover { background: var(--gray-200); }

.child-table a {
  color: var(--black);
  font-weight: 600;
  text-decoration: none;
}

.child-table a:hover { text-decoration: underline; }

/* ── 文章页 ── */
.entry-main {
  flex: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: 1rem var(--gap) 2rem;
}

.entry-hero-section {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--gap);
  align-items: start;
  margin: 2rem 0 3rem;
}

.entry-hero-figure,
.entry-side { min-width: 0; }

.entry-hero-img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  max-height: 480px;
  display: block;
  margin-bottom: 1.5rem;
}

.entry-eyebrow {
  display: inline-block;
  font-family: 'Caveat', cursive;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--gray-100);
  color: var(--black);
  padding: 0.2rem 0.8rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.entry-hero-cap h1 {
  font-family: 'Caveat', cursive;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
}

.entry-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.entry-side {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: 1rem;
}

.entry-content-aside {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
}

/* ── 图集预览 ── */
.gallery-section {
  margin-bottom: 3rem;
}

.gallery-section h2 {
  font-family: 'Caveat', cursive;
  font-size: 1.6rem;
  font-weight: 700;
}

.gallery-figure { display: block; margin-top: 1rem; }

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

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-100);
}

.gallery-thumb {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform 250ms ease;
}

.gallery-thumb:hover { transform: scale(1.04); }

/* ── 标签页 ── */
.tag-main {
  flex: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: 1rem var(--gap) 2rem;
}

.tag-header-section,
.tag-entries-section {
  margin-bottom: 3rem;
}

.tag-header-section {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--gap);
  align-items: start;
  margin: 2rem 0 3rem;
}

.tag-header-figure,
.tag-side { min-width: 0; }

.tag-eyebrow {
  display: inline-block;
  font-family: 'Caveat', cursive;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--gray-100);
  color: var(--black);
  padding: 0.2rem 0.8rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.tag-header-figure h1 {
  font-family: 'Caveat', cursive;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
}

.tag-desc {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.8;
  max-width: 600px;
}

.tag-side {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: 1rem;
}

.tag-entries-section h2 {
  font-family: 'Caveat', cursive;
  font-size: 1.6rem;
  font-weight: 700;
}

.tag-entries-figure { display: block; }

/* ── 关于/隐私页 ── */
.about-main,
.privacy-main {
  flex: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: 1rem var(--gap) 2rem;
}

.about-header-section,
.privacy-header-section {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--gap);
  align-items: start;
  margin: 2rem 0 3rem;
}

.about-header-figure,
.about-side,
.privacy-header-figure,
.privacy-side { min-width: 0; }

.about-eyebrow,
.privacy-eyebrow {
  display: inline-block;
  font-family: 'Caveat', cursive;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--black);
  color: var(--white);
  padding: 0.2rem 0.8rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.about-header-figure h1,
.privacy-header-figure h1 {
  font-family: 'Caveat', cursive;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
}

.about-side,
.privacy-side {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.about-content-aside,
.privacy-content-aside {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: 1rem;
}

/* ── 正文 Prose ── */
.prose {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #111;
  max-width: 720px;
}

.prose h2 {
  font-family: 'Caveat', cursive;
  font-size: 1.6rem;
  font-weight: 700;
  margin: 2rem 0 0.5rem;
}

.prose h3 {
  font-family: 'Caveat', cursive;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
}

.prose p { margin-bottom: 1.2rem; }
.prose ul, .prose ol { margin: 1rem 0 1.2rem 1.5rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--black); font-weight: 600; text-decoration: underline; }
.prose a:hover { text-decoration: none; }
.prose strong { font-weight: 700; }
.prose em { font-style: italic; }
.prose img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  display: block;
}
.prose blockquote {
  border-left: 4px solid var(--black);
  padding-left: 1.25rem;
  color: var(--gray-600);
  margin: 1.5rem 0;
  font-style: italic;
}

/* ── 页脚 ── */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 3rem var(--gap) 0;
  margin-bottom: var(--nav-h);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  max-width: var(--max-w);
  margin: 0 auto;
  padding-bottom: 2rem;
}

.footer-col strong {
  display: block;
  font-family: 'Caveat', cursive;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-col p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col ul li:last-child { border-bottom: none; }

.footer-col ul li a,
.footer-col address ul li a {
  display: block;
  padding: 0.45rem 0;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.875rem;
  min-height: 40px;
  display: flex;
  align-items: center;
  transition: color 200ms ease;
}

.footer-col ul li a:hover,
.footer-col address ul li a:hover {
  color: var(--white);
}

.footer-col address {
  font-style: normal;
}

.footer-bar {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ── 通用标题样式 ── */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
}

h2 {
  font-family: 'Caveat', cursive;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

h3 {
  font-family: 'Caveat', cursive;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* ── 动效：Parallax + Carousel + prefers-reduced-motion ── */
@media (prefers-reduced-motion: no-preference) {
  .hero-figure {
    transition: transform 0.1s linear;
  }

  .entry-card {
    will-change: transform;
  }

  .gallery-thumb {
    will-change: transform;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-figure,
  .entry-card,
  .gallery-thumb,
  .nav-pill,
  .btn-primary,
  .btn-secondary,
  .cat-card,
  .tag-pill {
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }
}

/* 轮播占位（JS驱动） */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.carousel-track {
  display: flex;
  transition: transform 400ms ease;
}

.carousel-item {
  flex: 0 0 100%;
}

/* ── 响应式：平板 ── */
@media (max-width: 900px) {
  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 2rem 0;
  }

  .hero-figure { min-height: 320px; }

  .content-section,
  .cat-hero-section,
  .entry-hero-section,
  .tag-header-section,
  .about-header-section,
  .privacy-header-section {
    grid-template-columns: 1fr;
  }

  .prose-section,
  .about-content-section,
  .privacy-content-section,
  .entry-content-section,
  .tag-content-section {
    grid-template-columns: 1fr;
  }

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

  .prose-aside,
  .about-content-aside,
  .privacy-content-aside,
  .entry-content-aside,
  .tag-content-aside,
  .entry-side,
  .cat-side,
  .tag-side,
  .about-side,
  .privacy-side {
    position: static;
  }
}

/* ── 响应式：移动端 ── */
@media (max-width: 600px) {
  :root {
    --gap: 1rem;
  }

  .home-main,
  .category-main,
  .entry-main,
  .tag-main,
  .about-main,
  .privacy-main {
    padding: 0.75rem 1rem 2rem;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

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

  .entry-grid,
  .latest-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

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

  .nav-pill {
    font-size: 0.78rem;
    padding: 0 0.75rem;
  }

  .child-table { font-size: 0.85rem; }
  .child-table th, .child-table td { padding: 0.65rem 0.85rem; }

  .breadcrumb { padding: 1rem 1rem 0; }
}

@media (max-width: 375px) {
  .hero-section {
    padding: 1.5rem 0;
  }

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

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