/* ════════════════════════════════════════════════════
   BLOOM BLOG — Public Stylesheet
   Premium Pink / Silver / White Design System
   ════════════════════════════════════════════════════ */

/* ── Tokens ──────────────────────────────────────── */
:root {
  --pink:          #D4387A;
  --pink-dark:     #A82860;
  --pink-light:    #E8799C;
  --pink-pale:     #FCE8F0;
  --pink-ghost:    #FFF5F8;
  --pink-glow:     rgba(212, 56, 122, 0.18);

  --silver:        #C0BBCA;
  --silver-light:  #E8E5EE;
  --silver-pale:   #F5F4F7;

  --ink:           #1A1424;
  --ink-muted:     #6B6478;
  --ink-faint:     #9B96A4;

  --white:         #FFFFFF;
  --surface:       #FDFCFE;
  --card-bg:       rgba(255,255,255,0.85);

  --grad-hero:     linear-gradient(135deg, #1A1424 0%, #2D1F3D 50%, #1A1424 100%);
  --grad-pink:     linear-gradient(135deg, #D4387A 0%, #E8799C 100%);
  --grad-soft:     linear-gradient(135deg, #FFF5F8 0%, #F5F4F7 100%);
  --grad-shimmer:  linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);

  --sh-xs:         0 1px 3px rgba(26,20,36,0.06);
  --sh-sm:         0 2px 8px rgba(26,20,36,0.09);
  --sh-md:         0 6px 24px rgba(26,20,36,0.11);
  --sh-lg:         0 16px 48px rgba(26,20,36,0.13);
  --sh-pink:       0 4px 20px rgba(212,56,122,0.25);
  --sh-pink-lg:    0 12px 40px rgba(212,56,122,0.30);

  --r-xs:          4px;
  --r-sm:          8px;
  --r-md:          14px;
  --r-lg:          22px;
  --r-xl:          32px;
  --r-pill:        9999px;

  --font-serif:    'Playfair Display', Georgia, serif;
  --font-sans:     'DM Sans', system-ui, sans-serif;

  --ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h:         68px;
}

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

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

body {
  font-family: var(--font-sans);
  background: var(--surface);
  color: var(--ink);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Typography ──────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--ink-muted); }

/* ── Layout Utilities ────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

/* ── Navigation ──────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(212, 56, 122, 0.1);
  box-shadow: 0 2px 20px rgba(26,20,36,0.06);
  transition: box-shadow 0.3s var(--ease-out);
}

.site-nav.scrolled {
  box-shadow: 0 4px 30px rgba(26,20,36,0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--grad-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  transition: opacity 0.2s;
}
.nav-logo:hover { opacity: 0.85; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-pink);
  border-radius: 2px;
  transition: width 0.25s var(--ease-out);
}

.nav-links a:hover { color: var(--pink); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--pink); }
.nav-links a.active::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-search {
  width: 38px;
  height: 38px;
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  transition: background 0.2s, color 0.2s;
}
.btn-search:hover { background: var(--pink-pale); color: var(--pink); }

.btn-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.btn-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-muted);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.btn-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.btn-hamburger.open span:nth-child(2) { opacity: 0; }
.btn-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search bar slide-down */
.search-bar-wrap {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s var(--ease-out);
  background: var(--white);
  border-bottom: 1px solid var(--silver-light);
}
.search-bar-wrap.open { max-height: 80px; }

.search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  placeholder-color: var(--ink-faint);
}

.search-bar input::placeholder { color: var(--ink-faint); }

.search-bar button {
  padding: 8px 22px;
  background: var(--grad-pink);
  color: #fff;
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--sh-pink);
  transition: opacity 0.2s, transform 0.2s;
}
.search-bar button:hover { opacity: 0.9; transform: translateY(-1px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: var(--nav-h);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: 32px 24px;
  flex-direction: column;
  gap: 8px;
  animation: fadeIn 0.25s var(--ease-out);
}
.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px solid var(--silver-light);
  transition: color 0.2s, padding-left 0.2s;
}
.mobile-menu a:hover { color: var(--pink); padding-left: 8px; }

/* ── Hero ────────────────────────────────────────── */
.hero {
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  padding: 90px 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(212, 56, 122, 0.22) 0%, transparent 70%);
  top: -200px;
  right: -150px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 56, 122, 0.12) 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink-light);
  margin-bottom: 20px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--pink-light);
  opacity: 0.6;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  background: var(--grad-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 36px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat { text-align: center; }
.hero-stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat span { font-size: 0.78rem; color: rgba(255,255,255,0.5); letter-spacing: 0.08em; text-transform: uppercase; }

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  border-radius: var(--r-pill);
  padding: 11px 26px;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-pink);
  color: #fff;
  box-shadow: var(--sh-pink);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--sh-pink-lg); }

.btn-ghost {
  background: transparent;
  color: var(--pink);
  border: 1.5px solid var(--pink-light);
}
.btn-ghost:hover { background: var(--pink-pale); border-color: var(--pink); }

.btn-sm { padding: 7px 18px; font-size: 0.8rem; }

/* ── Section Labels ───────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 12px;
}
.section-label::after {
  content: '';
  display: block;
  width: 40px;
  height: 1.5px;
  background: var(--grad-pink);
  border-radius: 2px;
}

/* ── Post Cards ───────────────────────────────────── */
.posts-section { padding: 72px 0; }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 44px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.post-card {
  background: var(--card-bg);
  border-radius: var(--r-lg);
  border: 1px solid rgba(212, 56, 122, 0.08);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  animation: fadeUp 0.5s var(--ease-out) both;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
}

.post-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--grad-soft);
  position: relative;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.post-card:hover .post-card-image img { transform: scale(1.05); }

.post-card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pink-pale) 0%, var(--silver-pale) 100%);
}

.post-card-image-placeholder svg { opacity: 0.2; }

.post-card-category {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  color: var(--pink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  box-shadow: var(--sh-xs);
}

.post-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-bottom: 12px;
}

.post-card-meta span { display: flex; align-items: center; gap: 4px; }

.post-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.35;
  transition: color 0.2s;
}

.post-card:hover h3 { color: var(--pink); }

.post-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--ink-muted);
  flex: 1;
  margin-bottom: 20px;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--silver-light);
}

.post-card-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar-sm {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--grad-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  overflow: hidden;
}
.avatar-sm img { width: 100%; height: 100%; object-fit: cover; }

.post-card-author-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.read-more {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pink);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.post-card:hover .read-more { gap: 8px; }

/* ── Featured Post ────────────────────────────────── */
.featured-post-section { padding: 0 0 56px; }

.featured-post {
  background: var(--grad-hero);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  box-shadow: var(--sh-lg);
}

.featured-post-image {
  position: relative;
  overflow: hidden;
}

.featured-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.featured-post-body {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink-light);
  margin-bottom: 20px;
}

.featured-post-body h2 {
  color: var(--white);
  margin-bottom: 16px;
  font-size: 1.8rem;
}

.featured-post-body p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.featured-post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
}

/* ── Main Content Layout ─────────────────────────── */
.main-layout { padding: 64px 0 80px; }

/* ── Single Post ─────────────────────────────────── */
.post-header { text-align: center; padding: 56px 0 40px; max-width: 720px; margin: 0 auto; }

.post-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.tag-pill {
  display: inline-flex;
  padding: 4px 14px;
  background: var(--pink-pale);
  color: var(--pink);
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.tag-pill:hover { background: var(--pink); color: white; }

.post-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 20px;
}

.post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--ink-faint);
  font-size: 0.85rem;
}

.post-author-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: white;
  overflow: hidden;
  flex-shrink: 0;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.post-featured-image {
  width: 100%;
  max-width: 860px;
  margin: 0 auto 48px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
}

.post-featured-image img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.post-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--ink-muted);
  max-width: 720px;
  margin: 0 auto;
}

.post-content h2, .post-content h3, .post-content h4 { color: var(--ink); margin: 2rem 0 0.8rem; }
.post-content h2 { font-size: 1.6rem; }
.post-content h3 { font-size: 1.3rem; }
.post-content p { margin-bottom: 1.4rem; }
.post-content ul, .post-content ol { margin-bottom: 1.4rem; padding-left: 1.8rem; }
.post-content ul li { list-style: disc; margin-bottom: 0.4rem; }
.post-content ol li { list-style: decimal; margin-bottom: 0.4rem; }

.post-content blockquote {
  border-left: 4px solid var(--pink);
  margin: 1.8rem 0;
  padding: 16px 24px;
  background: var(--pink-ghost);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: italic;
  color: var(--ink);
}

.post-content a { color: var(--pink); text-decoration: underline; text-decoration-style: dotted; }
.post-content a:hover { text-decoration-style: solid; }

.post-content img {
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  margin: 1.5rem auto;
}

.post-content code {
  font-size: 0.88em;
  background: var(--silver-pale);
  padding: 2px 6px;
  border-radius: var(--r-xs);
  font-family: 'Fira Code', 'Courier New', monospace;
}

.post-content pre {
  background: var(--ink);
  color: #f0ebf8;
  padding: 20px;
  border-radius: var(--r-md);
  overflow-x: auto;
  margin: 1.5rem 0;
}

.post-content pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: 0.9rem;
}

.post-content hr {
  border: none;
  border-top: 2px solid var(--silver-light);
  margin: 2.5rem 0;
}

/* Post tags row */
.post-tags-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 720px;
  margin: 40px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--silver-light);
}
.post-tags-row strong { font-size: 0.82rem; color: var(--ink-muted); margin-right: 4px; }

/* Author Box */
.author-box {
  max-width: 720px;
  margin: 56px auto 0;
  background: var(--pink-ghost);
  border-radius: var(--r-lg);
  padding: 36px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
  border: 1px solid var(--pink-pale);
}

.author-box-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--grad-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: var(--sh-pink);
}
.author-box-avatar img { width: 100%; height: 100%; object-fit: cover; }

.author-box-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.author-box-bio { font-size: 0.92rem; color: var(--ink-muted); }

/* Related Posts */
.related-posts { max-width: 720px; margin: 60px auto 0; }
.related-posts h3 { margin-bottom: 28px; }

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

.related-card {
  background: var(--card-bg);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--silver-light);
  box-shadow: var(--sh-xs);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }

.related-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--grad-soft);
}
.related-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.related-card:hover .related-card-image img { transform: scale(1.05); }

.related-card-body { padding: 16px; }
.related-card-body h4 { font-size: 0.9rem; line-height: 1.4; margin-bottom: 6px; }
.related-card-body h4:hover { color: var(--pink); }
.related-card-date { font-size: 0.75rem; color: var(--ink-faint); }

/* ── Sidebar ──────────────────────────────────────── */
.sidebar { position: sticky; top: calc(var(--nav-h) + 24px); }

.widget {
  background: var(--card-bg);
  border-radius: var(--r-lg);
  padding: 28px;
  margin-bottom: 28px;
  border: 1px solid rgba(212,56,122,0.07);
  box-shadow: var(--sh-sm);
}

.widget-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--pink-pale);
  position: relative;
}
.widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--grad-pink);
  border-radius: 2px;
}

/* About Widget */
.widget-about { text-align: center; }
.widget-about-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--grad-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  margin: 0 auto 16px;
  box-shadow: var(--sh-pink);
  overflow: hidden;
}
.widget-about-avatar img { width: 100%; height: 100%; object-fit: cover; }
.widget-about-name { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 8px; }
.widget-about p { font-size: 0.85rem; color: var(--ink-muted); }

.social-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}
.social-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--silver-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  font-size: 0.85rem;
  transition: all 0.2s;
}
.social-link:hover { border-color: var(--pink); color: var(--pink); background: var(--pink-pale); }

/* Category List */
.cat-list { display: flex; flex-direction: column; gap: 4px; }
.cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  color: var(--ink-muted);
  transition: background 0.2s, color 0.2s;
}
.cat-list a:hover { background: var(--pink-pale); color: var(--pink); }
.cat-list a span {
  background: var(--silver-pale);
  color: var(--ink-faint);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--r-pill);
}

/* Recent Posts Widget */
.recent-post-item {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--silver-light);
}
.recent-post-item:last-child { border-bottom: none; }

.recent-post-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--r-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--grad-soft);
}
.recent-post-thumb img { width: 100%; height: 100%; object-fit: cover; }

.recent-post-info { flex: 1; }
.recent-post-info a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  display: block;
  margin-bottom: 4px;
  transition: color 0.2s;
}
.recent-post-info a:hover { color: var(--pink); }
.recent-post-info span { font-size: 0.72rem; color: var(--ink-faint); }

/* Tag Cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  display: inline-block;
  padding: 5px 13px;
  border: 1.5px solid var(--silver-light);
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  color: var(--ink-muted);
  transition: all 0.2s;
}
.tag-cloud a:hover { border-color: var(--pink); color: var(--pink); background: var(--pink-pale); }

/* ── Page Header ─────────────────────────────────── */
.page-header {
  background: var(--grad-hero);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(212,56,122,0.2) 0%, transparent 70%);
}
.page-header-inner { position: relative; z-index: 1; }
.page-header h1 { color: white; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 10px; }
.page-header-desc { color: rgba(255,255,255,0.6); font-size: 1rem; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: var(--pink-light); }

/* ── About Page ──────────────────────────────────── */
.about-hero {
  padding: 72px 0;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--grad-soft);
  box-shadow: var(--sh-lg);
  position: relative;
}

.about-image::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--grad-pink);
  z-index: -1;
}

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

.about-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pink-pale) 0%, var(--silver-pale) 100%);
  font-size: 5rem;
  font-family: var(--font-serif);
  color: var(--pink-light);
}

.about-eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pink); margin-bottom: 12px; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { margin-bottom: 16px; font-size: 0.97rem; }

/* ── Contact Page ────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; padding: 72px 0; align-items: start; }

.contact-info h3 { font-size: 1.3rem; margin-bottom: 12px; }
.contact-info p { font-size: 0.92rem; color: var(--ink-muted); margin-bottom: 28px; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--silver-light);
}

.contact-detail:last-child { border-bottom: none; }

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--pink-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink);
  flex-shrink: 0;
}

.contact-detail-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); margin-bottom: 2px; }
.contact-detail-value { font-size: 0.9rem; font-weight: 500; color: var(--ink); }

/* Form */
.form-card {
  background: var(--card-bg);
  border-radius: var(--r-lg);
  padding: 40px;
  border: 1px solid rgba(212,56,122,0.08);
  box-shadow: var(--sh-md);
}

.form-group { margin-bottom: 22px; }

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--silver-light);
  border-radius: var(--r-md);
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-control:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px var(--pink-glow);
}

.form-control::placeholder { color: var(--ink-faint); }

textarea.form-control { min-height: 140px; resize: vertical; }

/* ── Pagination ──────────────────────────────────── */
.pagination { margin: 52px 0 0; }
.pagination-list { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination-list a, .pagination-current, .pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}
.pagination-list a { color: var(--ink-muted); border: 1.5px solid var(--silver-light); }
.pagination-list a:hover { border-color: var(--pink); color: var(--pink); background: var(--pink-pale); }
.pagination-current { background: var(--grad-pink); color: white; box-shadow: var(--sh-pink); }
.pagination-prev, .pagination-next { padding: 0 16px; }
.pagination-ellipsis { color: var(--ink-faint); border: none; }

/* ── Alert ───────────────────────────────────────── */
.alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  margin-bottom: 20px;
  animation: fadeIn 0.3s var(--ease-out);
}
.alert-success { background: #E8F8F0; color: #1E6641; border: 1px solid #A8D5B5; }
.alert-error   { background: #FEE8E8; color: #B91C1C; border: 1px solid #F5AFAF; }
.alert-info    { background: var(--pink-ghost); color: var(--pink-dark); border: 1px solid var(--pink-pale); }

/* ── Search Results ──────────────────────────────── */
.search-hero { background: var(--grad-soft); padding: 56px 0; text-align: center; border-bottom: 1px solid var(--silver-light); }
.search-form { display: flex; max-width: 560px; margin: 24px auto 0; }
.search-form input { flex: 1; padding: 14px 20px; border: 1.5px solid var(--silver-light); border-right: none; border-radius: var(--r-pill) 0 0 var(--r-pill); font: inherit; font-size: 1rem; outline: none; color: var(--ink); }
.search-form input:focus { border-color: var(--pink); }
.search-form button { padding: 14px 28px; background: var(--grad-pink); color: white; border-radius: 0 var(--r-pill) var(--r-pill) 0; font-weight: 600; }
.search-results-count { font-size: 0.9rem; color: var(--ink-faint); margin-top: 12px; }
.search-results-count strong { color: var(--pink); }

/* Empty State */
.empty-state { text-align: center; padding: 72px 24px; }
.empty-state-icon { font-size: 4rem; margin-bottom: 20px; }
.empty-state h3 { margin-bottom: 10px; }
.empty-state p { color: var(--ink-faint); font-size: 0.92rem; margin-bottom: 28px; }

/* ── Footer ──────────────────────────────────────── */
.site-footer {
  background: var(--grad-hero);
  color: rgba(255,255,255,0.65);
  padding: 72px 0 0;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad-pink);
  opacity: 0.4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand-logo {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--grad-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p { font-size: 0.875rem; line-height: 1.7; max-width: 280px; }

.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: all 0.2s;
}
.footer-social a:hover { border-color: var(--pink); color: var(--pink-light); background: rgba(212,56,122,0.12); }

.footer-col h4 {
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--pink-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.footer-bottom a { color: var(--pink-light); }
.footer-bottom a:hover { text-decoration: underline; }

/* Back-to-top */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--grad-pink);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-pink);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
  font-size: 1rem;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); }

/* ── Animations ──────────────────────────────────── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }

.animate-fade { animation: fadeIn 0.5s var(--ease-out); }
.animate-up   { animation: fadeUp 0.6s var(--ease-out) both; }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .btn-hamburger { display: flex; }

  .grid-2col { grid-template-columns: 1fr; }
  .sidebar { position: static; }

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

  .featured-post { grid-template-columns: 1fr; }
  .featured-post-image { height: 240px; }
  .featured-post-body { padding: 36px; }

  .about-hero { grid-template-columns: 1fr; }
  .about-image { max-height: 380px; }

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

@media (max-width: 640px) {
  .posts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 52px; }
  .hero-stats { gap: 24px; }
  .form-card { padding: 24px; }
  .author-box { flex-direction: column; align-items: center; text-align: center; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}

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