/* K-MUDANG Blog — 한지(韓紙) Theme */
html, body { overflow-x: hidden; max-width: 100%; }
/* Class aliases for index/post HTML */
.blog-header { position: sticky; top: 0; z-index: 100; background: rgba(249,246,240,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(180,150,80,0.25); padding: 0 1.5rem; height: 60px; display: flex; align-items: center; gap: 1rem; }
.blog-header .logo-link { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; color: #2C2C2C; font-weight: 700; font-size: 1.1rem; }
.blog-header .logo-img { width: 28px; height: 28px; }
.blog-header nav { margin-left: auto; }
.blog-header nav a { color: #7a7265; text-decoration: none; font-size: 0.875rem; }
.blog-header nav a:hover { color: #2C2C2C; }
.blog-footer { border-top: 1px solid rgba(180,150,80,0.25); padding: 2rem 1.5rem; text-align: center; color: #7a7265; font-size: 0.82rem; }
.blog-footer a { color: #7a7265; text-decoration: none; }
.blog-hero { text-align: center; padding: 4rem 1rem 2.5rem; }
.blog-hero h1 { font-size: clamp(1.6rem,4vw,2.4rem); font-weight: 800; background: linear-gradient(135deg,#c8382e,#B8902A); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 0.75rem; }
.blog-hero p { color: #7a7265; font-size: 0.95rem; }
.posts-grid, .post-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); gap: 1.25rem; margin: 0 auto 4rem; max-width: 1200px; padding: 0 1.25rem; }
.section-divider { grid-column: 1 / -1; margin: 1.5rem 0 0.5rem; border-bottom: 2px solid rgba(180,150,80,0.3); padding-bottom: 0.5rem; }
.section-title { font-size: 1.15rem; font-weight: 700; color: #B8902A; margin: 0; letter-spacing: 0.03em; }
.post-card { background: #EDEAE2; border: 1px solid rgba(180,150,80,0.2); border-radius: 12px; overflow: hidden; transition: transform 0.2s, border-color 0.2s; }
.post-card a { text-decoration: none; color: #2C2C2C; display: block; }
.post-card:hover { transform: translateY(-3px); border-color: rgba(200,56,46,0.35); }
.card-img-wrap { position: relative; aspect-ratio: 3/4; overflow: hidden; background: #E4DFD4; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cat-badge { position: absolute; bottom: 8px; right: 8px; background: rgba(200,56,46,0.88); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 4px; }
.card-body { padding: 0.9rem 1rem; }
.card-body h2 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.card-sub { font-size: 0.8rem; color: #7a7265; margin-bottom: 0.2rem; }
.card-date { font-size: 0.75rem; color: #9a9285; }
.disclaimer { font-size: 0.75rem; color: #aaa298; margin-top: 0.3rem; }
/* Post page aliases */
.post-main { max-width: 820px; margin: 0 auto; padding: 0 1.25rem 4rem; }
.hero-section { display: flex; gap: 1.75rem; align-items: flex-start; padding: 2rem 0 1.5rem; flex-wrap: wrap; }
.celeb-photo-wrap { position: relative; flex-shrink: 0; }
.celeb-photo { width: 160px; height: 200px; object-fit: cover; object-position: top; border-radius: 12px; border: 2px solid rgba(180,150,80,0.3); background: #E4DFD4; display: block; }
.animal-icon { position: absolute; bottom: -10px; right: -10px; width: 44px; height: 44px; border-radius: 50%; border: 2px solid #F9F6F0; background: #E4DFD4; object-fit: cover; }
.hero-info { flex: 1; min-width: 200px; }
.category-badge { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: #B8902A; margin-bottom: 0.5rem; }
.post-title { font-size: clamp(1.3rem,3.5vw,1.9rem); font-weight: 800; line-height: 1.3; margin-bottom: 0.5rem; color: #2C2C2C; }
.post-title .subtitle { font-size: 0.85rem; font-weight: 400; color: #7a7265; display: block; margin-top: 0.3rem; }
.zodiac-animal { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: #7a7265; }
.saju-section { margin: 1.5rem 0 2rem; }
.saju-section h2 { font-size: 1rem; font-weight: 700; color: #7a7265; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(180,150,80,0.25); }
.saju-table-wrap { overflow-x: auto; }
.pillar-cell { text-align: center; padding: 0.7rem; border: 1px solid rgba(180,150,80,0.2); }
.stem { font-size: 1.6rem; font-weight: 800; color: #2C2C2C; }
.branch { font-size: 1.2rem; font-weight: 600; color: #3C3C3C; }
.elem-tag { font-size: 0.75rem; color: #7a7265; }
.label-cell, .desc-cell { padding: 0.5rem 0.7rem; border: 1px solid rgba(180,150,80,0.2); font-size: 0.8rem; color: #7a7265; text-align: center; background: #EDE9DF; }
.time-note { font-size: 0.82rem; color: #9a9285; margin-top: 0.75rem; }
.strength-section { margin-top: 1rem; }
.strength-section h3 { font-size: 0.9rem; color: #7a7265; margin-bottom: 0.5rem; }
.elem-bars { display: flex; flex-direction: column; gap: 0.4rem; }
.elem-bar { display: flex; align-items: center; gap: 0.75rem; font-size: 0.82rem; }
.elem-bar span:first-child { width: 30px; font-weight: 600; }
.bar { flex: 1; height: 8px; background: #E4DFD4; border-radius: 4px; overflow: hidden; }
.fill { height: 100%; border-radius: 4px; }
.fill.wood { background: #388e3c; } .fill.fire { background: #c62828; } .fill.earth { background: #e65100; } .fill.metal { background: #607d8b; } .fill.water { background: #1565c0; }
.val { width: 24px; font-size: 0.78rem; color: #7a7265; }
.sinsal-section, .interactions-section, .format-section { margin: 1.5rem 0; }
.sinsal-section h2, .interactions-section h2, .format-section h2 { font-size: 1rem; font-weight: 700; color: #7a7265; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(180,150,80,0.25); }
.sinsal-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(180px,1fr)); gap: 0.75rem; }
.sinsal-card { background: #EDE9DF; border: 1px solid rgba(180,150,80,0.2); border-radius: 8px; padding: 0.75rem 1rem; }
.sinsal-card.good { border-color: rgba(56,142,60,0.4); }
.sinsal-card.neutral { border-color: rgba(230,81,0,0.35); }
.sinsal-card.bad { border-color: rgba(198,40,40,0.35); }
.sinsal-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.25rem; color: #2C2C2C; }
.sinsal-desc { font-size: 0.78rem; color: #7a7265; }
.interaction-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.interaction-tag { background: #EDE9DF; border: 1px solid rgba(180,150,80,0.25); border-radius: 6px; padding: 0.4rem 0.8rem; font-size: 0.82rem; color: #2C2C2C; }
.format-box { background: #EDE9DF; border: 1px solid rgba(200,56,46,0.2); border-radius: 10px; padding: 1.25rem 1.5rem; }
.format-name { font-size: 1.1rem; font-weight: 800; color: #c8382e; margin-bottom: 0.5rem; }
.format-desc { font-size: 0.88rem; color: #5a5550; }
.blog-cta-section { background: linear-gradient(135deg,rgba(200,56,46,0.07),rgba(184,144,42,0.06)); border: 1px solid rgba(200,56,46,0.2); border-radius: 12px; padding: 2rem 1.5rem; text-align: center; margin: 2.5rem 0; }
.blog-cta-section h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.5rem; color: #2C2C2C; }
.post-content h2 { font-size: 1.25rem; font-weight: 800; margin: 2rem 0 0.75rem; padding-left: 0.75rem; border-left: 3px solid #c8382e; color: #2C2C2C; }
.post-content h3 { font-size: 1.05rem; font-weight: 700; margin: 1.5rem 0 0.5rem; color: #B8902A; }
.post-content p { margin-bottom: 1rem; line-height: 1.75; color: #2C2C2C; }

:root {
  --bg: #F9F6F0;
  --surface: #EDEAE2;
  --surface2: #E4DFD4;
  --border: rgba(180,150,80,0.2);
  --red: #c8382e;
  --blue: #1565c0;
  --gold: #B8902A;
  --text: #2C2C2C;
  --text-dim: #7a7265;
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

/* ── Header ──────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249,246,240,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(180,150,80,0.25);
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-header .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
}

.site-header .logo img {
  width: 28px;
  height: 28px;
}

.site-header nav {
  margin-left: auto;
  display: flex;
  gap: 1.2rem;
}

.site-header nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.site-header nav a:hover { color: var(--text); }

/* ── Layout ──────────────────────────────── */
.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Index page ──────────────────────────── */
.page-hero {
  text-align: center;
  padding: 4rem 1rem 2.5rem;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--red), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
}

.page-hero p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-tabs button {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 0.4rem 1rem;
  border-radius: 99px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.filter-tabs button.active,
.filter-tabs button:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.post-grid, .posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s, border-color 0.2s;
  display: block;
}

.post-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200,56,46,0.35);
}

.post-card .card-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  background: var(--surface2);
}

.post-card .card-body {
  padding: 0.9rem 1rem;
}

.post-card .card-category {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.3rem;
}

.post-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.3rem;
}

.post-card .card-sub {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ── Post page ───────────────────────────── */
.post-breadcrumb {
  padding: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--text-dim);
}

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

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

.post-hero {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  padding: 2rem 0 1.5rem;
  flex-wrap: wrap;
}

.post-hero .celeb-photo {
  width: 160px;
  height: 200px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  flex-shrink: 0;
  background: var(--surface2);
}

.post-hero .animal-badge {
  position: relative;
}

.post-hero .animal-badge .celeb-photo { display: block; }

.post-hero .animal-icon {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: var(--surface2);
  object-fit: cover;
}

.post-hero .hero-info { flex: 1; min-width: 200px; }

.post-hero .hero-category {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.post-hero h1 {
  font-size: clamp(1.3rem, 3.5vw, 1.9rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.post-hero .hero-meta {
  font-size: 0.85rem;
  color: var(--text-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}

.post-hero .hero-meta span { display: flex; align-items: center; gap: 0.3rem; }

/* ── Saju Table ──────────────────────────── */
.saju-section {
  margin: 1.5rem 0 2rem;
}

.saju-section h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.saju-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.saju-table th, .saju-table td {
  padding: 0.7rem 0.9rem;
  text-align: center;
  border: 1px solid var(--border);
}

.saju-table thead th {
  background: var(--surface2);
  color: var(--text-dim);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.saju-table .pillar-stem {
  font-size: 1.4rem;
  font-weight: 800;
  display: block;
  line-height: 1;
  margin-bottom: 0.2rem;
  color: var(--text);
}

.saju-table .pillar-branch {
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  color: var(--text);
}

.saju-table .pillar-romanized {
  font-size: 0.75rem;
  color: var(--text-dim);
  display: block;
  margin-top: 0.15rem;
}

/* 오행 색상 */
.elem-wood  { color: #2e7d32; }
.elem-fire  { color: #c62828; }
.elem-earth { color: #e65100; }
.elem-metal { color: #455a64; }
.elem-water { color: #1565c0; }

/* 오행 바 */
.ohaeng-bars {
  margin: 1.5rem 0;
}

.ohaeng-bars h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.ohaeng-bar-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

.ohaeng-bar-label {
  width: 40px;
  text-align: right;
  font-weight: 600;
}

.ohaeng-bar-track {
  flex: 1;
  height: 8px;
  background: var(--surface2);
  border-radius: 4px;
  overflow: hidden;
}

.ohaeng-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.6s ease;
}

.bar-wood  { background: #388e3c; }
.bar-fire  { background: #c62828; }
.bar-earth { background: #e65100; }
.bar-metal { background: #607d8b; }
.bar-water { background: #1565c0; }

.ohaeng-bar-count {
  width: 24px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ── Post content ────────────────────────── */
.post-content {
  margin: 2rem 0;
}

.post-content h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 2rem 0 0.75rem;
  padding-left: 0.75rem;
  border-left: 3px solid var(--red);
  color: var(--text);
}

.post-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  color: var(--gold);
}

.post-content p {
  margin-bottom: 1rem;
  color: var(--text);
}

.post-content ul, .post-content ol {
  margin: 0.5rem 0 1rem 1.5rem;
}

.post-content li { margin-bottom: 0.3rem; color: var(--text); }

.saju-tag {
  display: inline-block;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.15rem 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0 0.15rem;
  color: var(--text);
}

/* ── CTA ─────────────────────────────────── */
.cta-box {
  background: linear-gradient(135deg, rgba(200,56,46,0.07), rgba(184,144,42,0.06));
  border: 1px solid rgba(200,56,46,0.2);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  margin: 2.5rem 0;
}

.cta-box h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.cta-box p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.cta-btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
}

.cta-btn:hover {
  background: #a02820;
  transform: translateY(-1px);
}

/* ── Footer ──────────────────────────────── */
.site-footer {
  border-top: 1px solid rgba(180,150,80,0.25);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.82rem;
}

.site-footer a {
  color: var(--text-dim);
  text-decoration: none;
}

.site-footer a:hover { color: var(--text); }

/* ── CTA Logo ────────────────────────────── */
.cta-logo {
  max-width: 160px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1rem;
}

/* ── Zodiac animal icon (post page inline, not overlay) ── */
.zodiac-animal .animal-icon {
  position: static;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* ── YouTube 배너 (blog index) ───────────── */
.yt-banner {
  max-width: 1200px;
  margin: 0 auto 2rem;
  padding: 0 1.25rem;
}
.yt-banner-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #12121a;
  border: 1px solid rgba(255,50,50,0.3);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  flex-wrap: wrap;
}
.yt-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  color: #ff4444;
}
.yt-banner-text { flex: 1; min-width: 160px; }
.yt-banner-text strong { display: block; font-size: 0.95rem; font-weight: 700; margin-bottom: 0.2rem; }
.yt-banner-text p { font-size: 0.8rem; color: #888; margin: 0; }
.yt-btn {
  display: inline-block;
  background: #ff4444;
  color: #fff;
  text-decoration: none;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.yt-btn:hover { background: #cc2222; transform: translateY(-1px); }

/* ── YouTube 링크 (포스트 CTA 내) ─────────── */
.yt-post-link {
  display: block;
  margin-top: 0.85rem;
  color: #ff6666;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.yt-post-link:hover { color: #ff4444; }

/* ── Section dividers (blog index grid) ─── */
.section-divider { grid-column: 1 / -1; margin: 1.5rem 0 0.5rem; border-bottom: 2px solid rgba(180,150,80,0.3); padding-bottom: 0.5rem; }
.section-title { font-size: 1.15rem; font-weight: 700; color: #B8902A; margin: 0; letter-spacing: 0.03em; }

/* ── 부적 (Bujeok) ───────────────────────── */
.hero-bujeok { flex-shrink: 0; text-align: center; }
.hero-bujeok img { width: 160px; height: 200px; object-fit: cover; border-radius: 12px; cursor: pointer; box-shadow: 0 4px 20px rgba(184,144,42,0.35); border: 2px solid rgba(184,144,42,0.45); transition: transform 0.2s, box-shadow 0.2s; display: block; }
.hero-bujeok img:hover { transform: scale(1.04); box-shadow: 0 6px 28px rgba(184,144,42,0.55); }
.bujeok-label { font-size: 0.72rem; color: #888; margin-top: 0.4rem; letter-spacing: 0.03em; }
#bujeok-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.88); z-index: 9999; align-items: center; justify-content: center; cursor: pointer; }
#bujeok-modal.open { display: flex; }
#bujeok-modal img { max-height: 90vh; max-width: 92vw; border-radius: 10px; box-shadow: 0 8px 40px rgba(0,0,0,0.6); }

/* ── 사주박스 / 섹션태그 / 요약바 ─────────── */
.saju-box { background: rgba(184,144,42,0.08); border: 1px solid rgba(184,144,42,0.25); border-radius: 8px; padding: 1rem 1.2rem; margin: 1.2rem 0; font-size: 0.92rem; line-height: 1.9; }
.saju-box p { margin: 0; }
.section-tag { display: inline-block; background: rgba(184,144,42,0.15); color: #B8902A; font-size: 0.78rem; font-weight: 700; padding: 0.15em 0.6em; border-radius: 4px; margin-bottom: 0.4rem; letter-spacing: 0.08em; }
.summary-bar { border-left: 3px solid #B8902A; padding-left: 0.9rem; margin: 1rem 0; font-style: italic; color: #c8a84b; font-size: 0.95rem; }

/* ── Responsive ──────────────────────────── */
@media (max-width: 600px) {
  .post-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .post-hero .hero-meta {
    justify-content: center;
  }

  .post-grid, .posts-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

/* ── Share Buttons ───────────────────────── */
.share-section { text-align: center; padding: 1.8rem 1rem 0.8rem; }
.share-label { font-size: 0.8rem; color: #888; margin-bottom: 0.9rem; letter-spacing: 0.04em; }
.share-buttons { display: flex; gap: 0.65rem; justify-content: center; flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.55rem 1.15rem; border-radius: 22px; font-size: 0.83rem; font-weight: 600; cursor: pointer; border: 1px solid rgba(184,144,42,0.35); background: rgba(184,144,42,0.09); color: #c8a84b; text-decoration: none; transition: all 0.22s; font-family: inherit; }
.share-btn:hover { background: rgba(184,144,42,0.22); color: #D4AF37; transform: translateY(-2px); box-shadow: 0 4px 14px rgba(184,144,42,0.2); }
.share-btn:active { transform: translateY(0); }

/* ── Language Toggle ────────────────────── */
.lang-toggle { display: inline-flex; gap: 0.25rem; margin-left: 0.75rem; vertical-align: middle; }
.lang-btn {
  background: var(--surface2); border: 1px solid var(--border);
  color: var(--text-dim); padding: 0.2rem 0.55rem; border-radius: 4px;
  cursor: pointer; font-size: 0.72rem; font-weight: 700;
  transition: all 0.2s; font-family: inherit; letter-spacing: 0.03em;
  line-height: 1.4; white-space: nowrap;
}
.lang-btn.active { background: var(--gold); border-color: var(--gold); color: #fff; }
.lang-btn:hover:not(.active) { background: var(--surface); border-color: var(--gold); color: var(--gold); }
@media (max-width: 600px) {
  .lang-toggle { margin-left: 0.4rem; gap: 0.2rem; }
  .lang-btn { padding: 0.15rem 0.4rem; font-size: 0.68rem; }
  .blog-header nav { gap: 0.3rem; display: flex; align-items: center; }
  /* 모바일: 언어 토글 위, 목록으로 가기 아래 */
  .blog-header { height: auto; min-height: 60px; padding: 0.4rem 1.5rem; }
  .blog-header .logo-link { white-space: nowrap; flex-shrink: 0; }
  .blog-header nav { flex-wrap: wrap; justify-content: flex-end; gap: 0.15rem 0.5rem; }
  .blog-header nav a { order: 2; }
  .blog-header nav .lang-toggle { order: 1; flex-basis: 100%; justify-content: flex-end; margin-left: 0; }
}
