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

/* ==============================
   CSS 自定义属性
   ============================== */
:root {
  --c-primary: #87ff71;
  --c-accent: #ffce5c;
  --c-dark: #192617;
  --c-dark-80: rgba(25, 38, 23, 0.8);
  --c-dark-60: rgba(25, 38, 23, 0.6);
  --c-white: #ffffff;
  --c-light: #f5ffe0;
  --c-mid: #2e4a2a;
  --c-border: #87ff71;

  --ff-head: 'Raleway', system-ui, sans-serif;
  --ff-body: 'Lora', Georgia, serif;

  --fs-base: 17px;
  --lh-base: 1.7;

  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2.5rem;
  --sp-xl: 4rem;

  --nav-h: 64px;
  --max-w: 1100px;
  --prose-w: 760px;
}

/* ==============================
   Reset & Base
   ============================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--fs-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-body);
  background: var(--c-dark);
  color: var(--c-light);
  line-height: var(--lh-base);
  overflow-x: hidden;
}

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--c-accent);
}

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

ul, ol, menu {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-primary);
}

/* ==============================
   导航 — details/summary + menu
   ============================== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--c-dark);
  border-bottom: 3px solid var(--c-primary);
}

.site-nav[open] {
  border-bottom-color: var(--c-accent);
}

.nav-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 0 var(--sp-md);
  height: var(--nav-h);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.nav-bar::-webkit-details-marker {
  display: none;
}

.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-height: 40px;
  flex-shrink: 0;
  color: var(--c-primary);
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.4rem;
  text-decoration: none;
  background: var(--c-mid);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: transform 0.2s;
}

.brand-icon:hover {
  transform: rotate(15deg);
  color: var(--c-accent);
}

.brand-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand-text {
  font-size: 1.2rem;
}

.nav-toggle-label {
  font-family: var(--ff-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--c-light);
  margin-left: auto;
  background: var(--c-mid);
  padding: 0.3rem 1rem;
  border-radius: 99px;
  border: 2px solid var(--c-primary);
  min-height: 40px;
  display: flex;
  align-items: center;
}

.pill-menu {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
  padding: var(--sp-sm) var(--sp-md) var(--sp-md);
  background: var(--c-mid);
  border-top: 2px dashed var(--c-primary);
}

.pill-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.4rem 1.1rem;
  background: var(--c-dark);
  color: var(--c-primary);
  font-family: var(--ff-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 99px;
  border: 2px solid var(--c-primary);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.pill-link:hover {
  background: var(--c-primary);
  color: var(--c-dark);
  border-color: var(--c-primary);
}

/* ==============================
   Hero — 首页
   ============================== */
.hero-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(25,38,23,0.88) 0%, rgba(25,38,23,0.65) 60%, rgba(135,255,113,0.15) 100%);
  z-index: 1;
}

.hero-deco {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: var(--sp-lg) var(--sp-md);
  max-width: 800px;
}

.hero-h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--c-primary);
  text-shadow: 0 0 40px rgba(135,255,113,0.4);
  margin-bottom: var(--sp-md);
  animation: fadeUp 0.8s ease both;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--c-light);
  margin-bottom: var(--sp-lg);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp 0.8s 0.15s ease both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.7rem 2rem;
  background: var(--c-primary);
  color: var(--c-dark);
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  border-radius: 0;
  border: 3px solid var(--c-dark);
  box-shadow: 6px 6px 0 var(--c-accent);
  transition: transform 0.15s, box-shadow 0.15s;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-cta:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--c-accent);
  color: var(--c-dark);
}

/* 背景大字 */
.deco-bg-text {
  position: absolute;
  bottom: -0.1em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-head);
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px rgba(135,255,113,0.12);
  white-space: nowrap;
  letter-spacing: -0.04em;
  pointer-events: none;
}

/* Memphis 几何装饰 */
.deco-triangle {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

.tri-1 {
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 100px solid var(--c-accent);
  top: 8%;
  right: 5%;
  opacity: 0.4;
  transform: rotate(20deg);
  animation: floatSlow 6s ease-in-out infinite alternate;
}

.tri-2 {
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid var(--c-primary);
  bottom: 15%;
  left: 4%;
  opacity: 0.35;
  transform: rotate(-15deg);
  animation: floatSlow 8s 1s ease-in-out infinite alternate;
}

.tri-3 {
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 55px solid var(--c-accent);
  top: 20%;
  left: 8%;
  opacity: 0.3;
  transform: rotate(10deg);
  animation: floatSlow 7s 2s ease-in-out infinite alternate;
}

.deco-circle {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 8px solid var(--c-accent);
  top: 20%;
  left: 8%;
  opacity: 0.3;
  pointer-events: none;
  animation: spinSlow 20s linear infinite;
}

.deco-circle-sm {
  width: 60px;
  height: 60px;
  border-width: 5px;
}

.deco-squiggle {
  position: absolute;
  right: 10%;
  bottom: 20%;
  width: 80px;
  height: 40px;
  border-bottom: 6px solid var(--c-primary);
  border-radius: 0 0 40px 40px;
  opacity: 0.4;
  pointer-events: none;
  animation: floatSlow 5s 0.5s ease-in-out infinite alternate;
}

.deco-zigzag {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12px;
  background:
    linear-gradient(135deg, var(--c-accent) 25%, transparent 25%) -10px 0,
    linear-gradient(225deg, var(--c-accent) 25%, transparent 25%) -10px 0,
    linear-gradient(315deg, var(--c-accent) 25%, transparent 25%),
    linear-gradient(45deg, var(--c-accent) 25%, transparent 25%);
  background-size: 20px 12px;
  background-color: transparent;
  opacity: 0.5;
  pointer-events: none;
}

.deco-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--c-primary) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: 0.07;
  pointer-events: none;
}

/* ==============================
   首页 aside + 卡片区
   ============================== */
.home-aside {
  background: var(--c-mid);
  border-top: 4px solid var(--c-accent);
  border-bottom: 4px solid var(--c-primary);
  padding: var(--sp-lg) var(--sp-md);
}

.aside-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.aside-inner h2 {
  font-size: 1.3rem;
  margin-bottom: var(--sp-xs);
}

.cat-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sp-sm);
  margin-top: var(--sp-md);
}

.cat-list dt {
  font-family: var(--ff-head);
  font-weight: 700;
}

.cat-list dt a {
  display: block;
  color: var(--c-primary);
  font-size: 1rem;
  padding: var(--sp-xs) 0;
  border-bottom: 2px dashed var(--c-border);
}

.cat-list dt a:hover {
  color: var(--c-accent);
}

.cat-list dd {
  font-size: 0.88rem;
  color: rgba(245,255,224,0.7);
  margin-bottom: var(--sp-sm);
}

/* ==============================
   精选 / 画廊网格
   ============================== */
.featured-section,
.sub-list-section,
.tag-entries-section {
  padding: var(--sp-xl) var(--sp-md);
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-header {
  margin-bottom: var(--sp-lg);
}

.featured-section h2,
.sub-list-section h2,
.tag-entries-section h2 {
  font-size: 1.6rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-md);
}

.gallery-card {
  display: flex;
  flex-direction: column;
  border: 3px solid var(--c-primary);
  background: var(--c-mid);
  color: var(--c-light);
  text-decoration: none;
  transition: transform 0.18s, border-color 0.18s;
  position: relative;
  overflow: hidden;
}

.gallery-card:hover {
  transform: translate(-4px, -4px);
  border-color: var(--c-accent);
}

.card-media {
  position: relative;
  overflow: hidden;
  background: var(--c-dark);
  aspect-ratio: 16/9;
}

.card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}

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

.card-num {
  position: absolute;
  top: var(--sp-xs);
  left: var(--sp-xs);
  font-family: var(--ff-head);
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  background: var(--c-primary);
  color: var(--c-dark);
  padding: 2px 8px;
  line-height: 1.6;
}

.card-body {
  padding: var(--sp-sm);
  flex: 1;
}

.card-body h3 {
  font-size: 1rem;
  font-family: var(--ff-head);
  font-weight: 600;
  color: var(--c-primary);
  margin-bottom: var(--sp-xs);
  line-height: 1.35;
}

.card-body p {
  font-size: 0.875rem;
  color: rgba(245,255,224,0.75);
  line-height: 1.55;
}

.card-date {
  margin-top: var(--sp-xs);
  font-size: 0.8rem;
  color: var(--c-accent);
  font-family: var(--ff-head);
}

/* stagger 动画 */
.stagger-item {
  animation: fadeUp 0.5s calc(var(--i, 0) * 0.08s) both;
}

/* ==============================
   主内容区 (main > div.wrap > article > section)
   ============================== */
main {
  padding: var(--sp-xl) var(--sp-md) var(--sp-lg);
}

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

.page-content {
  font-size: 1rem;
  line-height: var(--lh-base);
  color: var(--c-light);
}

.page-content h2 {
  font-size: 1.4rem;
  margin-top: var(--sp-lg);
  margin-bottom: var(--sp-xs);
  color: var(--c-primary);
}

.page-content h3 {
  font-size: 1.15rem;
  margin-top: var(--sp-md);
  margin-bottom: var(--sp-xs);
  color: var(--c-accent);
}

.page-content p {
  margin-bottom: var(--sp-sm);
}

.page-content ul,
.page-content ol {
  margin: var(--sp-sm) 0 var(--sp-sm) var(--sp-md);
  list-style: disc;
}

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

.page-content li {
  margin-bottom: 0.4rem;
}

.page-content a {
  color: var(--c-accent);
  border-bottom: 1px dashed var(--c-accent);
}

.page-content a:hover {
  color: var(--c-primary);
  border-bottom-color: var(--c-primary);
}

.page-content blockquote {
  border-left: 4px solid var(--c-primary);
  margin: var(--sp-md) 0;
  padding: var(--sp-sm) var(--sp-md);
  background: rgba(135,255,113,0.06);
  font-style: italic;
}

.page-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: var(--sp-md) 0;
}

/* ==============================
   subtitle (h2 + p.subtitle)
   ============================== */
.subtitle {
  font-family: var(--ff-head);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--c-accent);
  margin-top: 0.25rem;
  margin-bottom: var(--sp-md);
  text-transform: none;
}

/* ==============================
   栏目页布局
   ============================== */
.cat-hero,
.tag-hero,
.about-hero,
.privacy-hero {
  padding: calc(var(--nav-h) + var(--sp-lg)) var(--sp-md) var(--sp-lg);
  background: var(--c-mid);
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--c-primary);
}

.cat-hero-deco,
.tag-hero-deco,
.about-hero-deco,
.privacy-hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cat-hero-content,
.tag-hero-content,
.about-hero-content,
.privacy-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
}

.cat-hero h1,
.tag-hero h1,
.about-hero h1,
.privacy-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-top: var(--sp-sm);
}

.breadcrumb-link {
  font-family: var(--ff-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-accent);
  letter-spacing: 0.05em;
}

.breadcrumb-link:hover {
  color: var(--c-primary);
}

.pub-date {
  display: inline-block;
  margin-top: var(--sp-xs);
  font-family: var(--ff-head);
  font-size: 0.85rem;
  color: rgba(245,255,224,0.6);
  letter-spacing: 0.04em;
}

/* 栏目/关于/隐私 双栏布局 (aside 在左) */
.cat-layout,
.about-layout,
.privacy-layout,
.tag-layout {
  display: flex;
  align-items: flex-start;
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 0;
}

.cat-aside,
.about-aside,
.privacy-aside,
.tag-aside,
.entry-aside {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: var(--nav-h);
  background: var(--c-mid);
  border-right: 3px solid var(--c-primary);
  min-height: 300px;
}

.cat-aside .aside-inner,
.about-aside .aside-inner,
.privacy-aside .aside-inner,
.tag-aside .aside-inner,
.entry-aside .aside-inner {
  padding: var(--sp-md);
}

.cat-aside h2,
.about-aside h2,
.privacy-aside h2,
.tag-aside h2,
.entry-aside h2 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.aside-nav-list {
  margin-top: var(--sp-sm);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.aside-nav-list li a {
  display: block;
  padding: 0.45rem 0.6rem;
  font-family: var(--ff-head);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-light);
  border-left: 3px solid transparent;
  transition: border-color 0.15s, color 0.15s;
  min-height: 40px;
  line-height: 1.4;
  display: flex;
  align-items: center;
}

.aside-nav-list li a:hover {
  border-left-color: var(--c-primary);
  color: var(--c-primary);
}

.cat-main-area,
.about-main-area,
.privacy-main-area,
.tag-main-area {
  flex: 1;
  min-width: 0;
}

/* ==============================
   条目页布局
   ============================== */
.entry-layout {
  display: flex;
  align-items: flex-start;
  max-width: var(--max-w);
  margin: 0 auto;
}

.entry-main-area {
  flex: 1;
  min-width: 0;
}

.entry-hero-wrap {
  padding-top: var(--nav-h);
  max-height: 420px;
  overflow: hidden;
}

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

.entry-article {
  padding: 0;
}

.entry-header {
  padding: var(--sp-lg) var(--sp-md) var(--sp-md);
  background: var(--c-mid);
  border-bottom: 3px solid var(--c-primary);
}

.entry-breadcrumb {
  font-family: var(--ff-head);
  font-size: 0.82rem;
  color: rgba(245,255,224,0.55);
  margin-bottom: var(--sp-sm);
  display: flex;
  gap: 0.4rem;
  align-items: center;
  flex-wrap: wrap;
}

.entry-breadcrumb a {
  color: var(--c-accent);
}

.entry-header h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  color: var(--c-primary);
  margin-bottom: var(--sp-sm);
}

.entry-meta {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
  font-family: var(--ff-head);
  font-size: 0.82rem;
  color: rgba(245,255,224,0.55);
}

.entry-meta time {
  color: var(--c-accent);
}

.mod-label {
  margin-right: 0.3em;
}

.entry-content {
  padding: var(--sp-lg) var(--sp-md);
}

.related-section {
  padding: var(--sp-lg) var(--sp-md);
  background: var(--c-mid);
  border-top: 3px dashed var(--c-primary);
}

.related-section h2 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.related-list {
  margin-top: var(--sp-sm);
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}

.related-list li a {
  color: var(--c-primary);
  font-family: var(--ff-head);
  font-size: 0.95rem;
  font-weight: 600;
}

.related-list li span {
  display: block;
  font-size: 0.8rem;
  color: rgba(245,255,224,0.55);
  margin-top: 2px;
}

/* ==============================
   标签页专属
   ============================== */
.tag-badge {
  display: inline-block;
  background: var(--c-accent);
  color: var(--c-dark);
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 0.9em;
  padding: 0 0.4em;
  margin-right: 0.3em;
  vertical-align: baseline;
}

.tag-count {
  margin-top: var(--sp-sm);
  font-family: var(--ff-head);
  font-size: 0.9rem;
  color: rgba(245,255,224,0.65);
}

/* ==============================
   About/Privacy Prose
   ============================== */
.prose-article {
  padding: 0;
}

.prose-article > h2 {
  padding: var(--sp-lg) var(--sp-md) 0;
}

.prose-article > .subtitle {
  padding: 0 var(--sp-md);
}

.prose-article .page-content {
  padding: var(--sp-md);
}

/* ==============================
   页脚 (footer > p + small)
   ============================== */
.site-footer {
  background: var(--c-dark);
  border-top: 4px solid var(--c-accent);
  padding: var(--sp-lg) var(--sp-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

.footer-brand {
  font-family: var(--ff-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-light);
  display: flex;
  gap: var(--sp-md);
  align-items: center;
  flex-wrap: wrap;
}

.footer-brand a {
  color: var(--c-primary);
  font-weight: 500;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.3rem;
}

.footer-brand a:hover {
  color: var(--c-accent);
}

.footer-copy {
  font-family: var(--ff-head);
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(245,255,224,0.45);
  letter-spacing: 0.04em;
}

/* ==============================
   空提示
   ============================== */
.empty-tip {
  color: rgba(245,255,224,0.45);
  font-style: italic;
  padding: var(--sp-md) 0;
}

/* ==============================
   Keyframes 动画
   ============================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatSlow {
  from { transform: translateY(0) rotate(0deg); }
  to   { transform: translateY(-16px) rotate(8deg); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==============================
   Parallax (纯 CSS hint)
   ============================== */
.hero-bg {
  will-change: transform;
}

/* ==============================
   断点 — 平板 768px
   ============================== */
@media (max-width: 900px) {
  .cat-layout,
  .about-layout,
  .privacy-layout,
  .tag-layout,
  .entry-layout {
    flex-direction: column;
  }

  .cat-aside,
  .about-aside,
  .privacy-aside,
  .tag-aside,
  .entry-aside {
    width: 100%;
    position: static;
    border-right: none;
    border-bottom: 3px solid var(--c-primary);
  }

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

/* ==============================
   断点 — 手机 375px
   ============================== */
@media (max-width: 600px) {
  :root {
    --nav-h: 56px;
    --sp-lg: 2rem;
    --sp-xl: 2.5rem;
  }

  .hero-wrap {
    min-height: 100svh;
    padding-top: var(--nav-h);
  }

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

  .hero-desc {
    font-size: 0.95rem;
  }

  .nav-bar {
    height: var(--nav-h);
    padding: 0 var(--sp-sm);
  }

  .pill-menu {
    padding: var(--sp-sm);
  }

  .pill-link {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-sm);
  }

  .card-body h3 {
    font-size: 0.88rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-xs);
  }

  .entry-hero-img {
    height: 220px;
  }

  .entry-hero-wrap {
    max-height: 220px;
  }

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

  .aside-inner {
    padding: var(--sp-sm);
  }

  .entry-header {
    padding: var(--sp-md) var(--sp-sm) var(--sp-sm);
  }

  .entry-content {
    padding: var(--sp-md) var(--sp-sm);
  }

  main {
    padding: var(--sp-lg) var(--sp-sm);
  }

  .featured-section,
  .sub-list-section,
  .tag-entries-section {
    padding: var(--sp-lg) var(--sp-sm);
  }

  .home-aside {
    padding: var(--sp-md) var(--sp-sm);
  }
}
