/* ============================================================
   Cabinet Stomatologic Dr. Ionescu Alexandru
   Temă HTMLy — stomatologul
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');

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

:root {
  --blue-deep:   #0B3D6E;
  --blue-mid:    #1565C0;
  --blue-light:  #E8F1FB;
  --blue-accent: #2196F3;
  --off-white:   #F7FAFF;
  --text-dark:   #0D1B2A;
  --text-mid:    #3A5068;
  --text-light:  #7A90A8;
  --border:      #D6E4F5;
  --shadow:      0 4px 24px rgba(11,61,110,0.10);
  --shadow-lg:   0 12px 48px rgba(11,61,110,0.16);
  --radius:      16px;
  --ease:        cubic-bezier(.4,0,.2,1);
  --max-w:       1160px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
}

/* ── ADMIN TOOLBAR OFFSET ──────────────────────────────────── */
#htmly-toolbar + * .site-nav,
body > #htmly-toolbar ~ .site-nav { top: 40px; }

/* ── NAVIGATION ────────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 70px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  transition: box-shadow .3s var(--ease);
}
.site-nav.scrolled { box-shadow: var(--shadow); }

.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand-icon {
  width: 40px; height: 40px; background: var(--blue-mid); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-brand-icon svg { width: 22px; height: 22px; fill: #fff; }
.nav-brand-name { display: block; font-size: .9rem; font-weight: 600; color: var(--blue-deep); line-height: 1.2; }
.nav-brand-tag  { display: block; font-size: .72rem; color: var(--text-light); }

.nav-menu { display: flex; align-items: center; gap: 1.5rem; list-style: none; }
.nav-menu a {
  text-decoration: none; color: var(--text-mid); font-size: .87rem; font-weight: 500;
  position: relative; padding-bottom: 2px;
  transition: color .25s var(--ease);
}
.nav-menu a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px;
  background: var(--blue-mid); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-menu a:hover,
.nav-menu a.active        { color: var(--blue-mid); }
.nav-menu a:hover::after,
.nav-menu a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--blue-mid) !important; color: #fff !important;
  padding: 9px 20px; border-radius: 50px;
  font-weight: 600 !important; font-size: .84rem !important;
  transition: background .25s, transform .25s !important;
}
.nav-cta:hover { background: var(--blue-deep) !important; transform: translateY(-1px) !important; }
.nav-cta::after { display: none !important; }

.nav-tel { color: var(--blue-deep) !important; font-weight: 600 !important; }
.nav-tel::after { display: none !important; }

/* hamburger */
.nav-ham {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-ham span { display: block; width: 24px; height: 2px; background: var(--blue-deep); transition: .3s; }
.nav-ham.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-ham.open span:nth-child(2) { opacity: 0; }
.nav-ham.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile overlay */
.nav-mobile {
  display: none; position: fixed; top: 70px; left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 99; flex-direction: column;
  padding: 1.5rem 2rem; overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  text-decoration: none; color: var(--text-dark); font-size: 1rem; font-weight: 500;
  padding: .95rem 0; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.nav-mobile .mob-cta {
  margin-top: 1.25rem; background: var(--blue-mid); color: #fff !important;
  text-align: center; justify-content: center; border-radius: 50px;
  font-weight: 700 !important; border: none;
}

/* ── PAGE WRAPPER ──────────────────────────────────────────── */
.page-wrap { padding-top: 70px; }

/* ── PAGE HERO ─────────────────────────────────────────────── */
.page-hero {
  padding: 4rem 2rem 3rem;
  background: linear-gradient(135deg, var(--off-white) 0%, #EAF3FF 55%, #DDEEFF 100%);
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(33,150,243,.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--border); border-radius: 50px;
  padding: 5px 15px; font-size: .78rem; color: var(--blue-mid); font-weight: 600;
  margin-bottom: 1rem;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem,4vw,3rem); color: var(--blue-deep);
  line-height: 1.2; margin-bottom: .7rem;
}
.page-hero h1 em { font-style: italic; color: var(--blue-accent); }
.page-hero p {
  font-size: 1rem; color: var(--text-mid);
  max-width: 520px; margin: 0 auto; font-weight: 300; line-height: 1.7;
}

/* ── CONTENT GRID ──────────────────────────────────────────── */
.content-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 300px;
  gap: 2.5rem; padding: 3rem 2rem 4rem; align-items: start;
}
.main-col { min-width: 0; }

/* ── BREADCRUMB ────────────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: .35rem; font-size: .76rem; color: var(--text-light); margin-bottom: 2rem;
}
.breadcrumb a { color: var(--blue-mid); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── POST CARD ─────────────────────────────────────────────── */
.post-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 2rem; position: relative;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.post-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-mid), var(--blue-accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.post-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.post-card:hover::after { transform: scaleX(1); }

.post-thumb {
  width: 100%; height: 220px; object-fit: cover; display: block;
}
.post-thumb-ph {
  width: 100%; height: 200px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  font-size: 3.5rem; opacity: .65;
}
.post-body-wrap { padding: 1.75rem 2rem 1.5rem; }

/* meta row */
.post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; margin-bottom: .65rem; }
.post-date {
  font-size: .74rem; color: var(--text-light); font-weight: 500;
  display: flex; align-items: center; gap: 5px;
}
.post-date svg { width: 13px; height: 13px; fill: var(--text-light); }
.post-cat {
  display: inline-block; background: var(--blue-light); color: var(--blue-mid);
  border-radius: 50px; padding: 3px 11px; font-size: .72rem; font-weight: 700;
  text-decoration: none; transition: background .2s, color .2s;
}
.post-cat:hover { background: var(--blue-mid); color: #fff; }
.post-readtime { font-size: .72rem; color: var(--text-light); }

.post-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; color: var(--blue-deep); line-height: 1.3; margin-bottom: .6rem;
}
.post-title a { text-decoration: none; color: inherit; transition: color .2s; }
.post-title a:hover { color: var(--blue-mid); }

.post-excerpt { font-size: .9rem; color: var(--text-mid); line-height: 1.7; font-weight: 300; margin-bottom: 1.2rem; }

.post-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; border-top: 1px solid var(--border);
}
.post-author { display: flex; align-items: center; gap: 9px; }
.post-av {
  width: 32px; height: 32px; border-radius: 50%; background: var(--blue-mid);
  color: #fff; font-size: .85rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.post-author-name { font-size: .8rem; font-weight: 600; color: var(--blue-deep); }
.post-author-name a { text-decoration: none; color: inherit; }

.btn-read {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--blue-mid); color: #fff; text-decoration: none;
  padding: 8px 17px; border-radius: 50px; font-size: .79rem; font-weight: 600;
  transition: background .2s, transform .2s;
}
.btn-read:hover { background: var(--blue-deep); transform: translateX(2px); }

/* ── PAGINATION ────────────────────────────────────────────── */
.pager {
  display: flex; justify-content: center; align-items: center;
  gap: .4rem; margin: 1rem 0; flex-wrap: wrap;
}
.pager ul { list-style: none; padding: 0; margin: 0; display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.pager li { display: flex; }
.pager a, .pager span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 10px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: .84rem; font-weight: 600; color: var(--text-mid); text-decoration: none;
  transition: all .2s;
}
.pager a:hover { background: var(--blue-light); border-color: var(--blue-mid); color: var(--blue-mid); }
.pager .active, .pager .current { background: var(--blue-mid); color: #fff; border-color: var(--blue-mid); }

/* ── NO POSTS ──────────────────────────────────────────────── */
.no-posts {
  text-align: center; padding: 4rem 2rem;
}
.no-posts-emoji { font-size: 3rem; margin-bottom: 1rem; }
.no-posts h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--blue-deep); margin-bottom: .65rem; }
.no-posts p { font-size: .9rem; color: var(--text-mid); max-width: 380px; margin: 0 auto 1.5rem; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--blue-mid); color: #fff; text-decoration: none;
  padding: 12px 24px; border-radius: 50px; font-weight: 600; font-size: .9rem;
  transition: background .2s, transform .2s;
}
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-2px); }

/* ── SIDEBAR ───────────────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.widget {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.4rem; overflow: hidden;
}
.widget-title {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--text-light);
  margin-bottom: 1rem; padding-bottom: .65rem; border-bottom: 1px solid var(--border);
}

/* Search widget */
.w-search { display: flex; }
.w-search input {
  flex: 1; padding: 10px 13px;
  border: 1.5px solid var(--border); border-right: none;
  border-radius: 10px 0 0 10px;
  font-family: 'DM Sans', sans-serif; font-size: .87rem;
  color: var(--text-dark); background: #fff; outline: none;
  transition: border-color .2s;
}
.w-search input:focus { border-color: var(--blue-accent); }
.w-search button {
  background: var(--blue-mid); border: none; cursor: pointer;
  padding: 10px 13px; border-radius: 0 10px 10px 0;
  display: flex; align-items: center;
  transition: background .2s;
}
.w-search button:hover { background: var(--blue-deep); }
.w-search button svg { width: 16px; height: 16px; fill: #fff; display: block; }

/* About widget */
.widget-about {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  border: none; color: #fff;
}
.widget-about .widget-title { color: rgba(255,255,255,.45); border-color: rgba(255,255,255,.12); }
.w-about-av {
  width: 56px; height: 56px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: .9rem;
}
.widget-about h3 { font-family: 'Playfair Display', serif; font-size: 1.05rem; margin-bottom: .35rem; }
.widget-about p { font-size: .81rem; opacity: .8; line-height: 1.6; margin-bottom: .9rem; }
.w-about-links a {
  display: flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,.75); font-size: .79rem; text-decoration: none;
  margin-bottom: .4rem; transition: color .2s;
}
.w-about-links a:hover { color: #fff; }

/* CTA widget */
.widget-cta { background: var(--blue-mid); border: none; text-align: center; }
.widget-cta .widget-title { color: rgba(255,255,255,.45); border-color: rgba(255,255,255,.15); }
.widget-cta h3 { font-family: 'Playfair Display', serif; font-size: 1.05rem; color: #fff; margin-bottom: .35rem; }
.widget-cta p { font-size: .81rem; color: rgba(255,255,255,.78); line-height: 1.6; margin-bottom: 1rem; }
.w-cta-btn {
  display: block; background: #fff; color: var(--blue-deep);
  padding: 10px 18px; border-radius: 50px; font-weight: 700; font-size: .84rem;
  text-decoration: none; margin-bottom: .6rem;
  transition: transform .2s, box-shadow .2s;
}
.w-cta-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.w-cta-tel {
  display: block; color: rgba(255,255,255,.75); font-size: .79rem;
  font-weight: 600; text-decoration: none; transition: color .2s;
}
.w-cta-tel:hover { color: #fff; }

/* Recent posts */
.w-recent-list { list-style: none; }
.w-recent-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: .7rem 0; border-bottom: 1px solid var(--border);
}
.w-recent-item:last-child { border-bottom: none; padding-bottom: 0; }
.w-recent-icon {
  width: 32px; height: 32px; border-radius: 8px; background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; flex-shrink: 0;
}
.w-recent-date { font-size: .68rem; color: var(--text-light); font-weight: 600; margin-bottom: 2px; }
.w-recent-title {
  font-size: .82rem; font-weight: 600; color: var(--blue-deep);
  line-height: 1.35; text-decoration: none; transition: color .2s; display: block;
}
.w-recent-title:hover { color: var(--blue-mid); }

/* Categories */
.w-cat-list { list-style: none; padding: 0; margin: 0; }
.w-cat-list li { border-bottom: 1px solid var(--border); }
.w-cat-list li:last-child { border-bottom: none; }
.w-cat-list a {
  display: flex; align-items: center; gap: 7px;
  padding: .55rem 0; font-size: .85rem; font-weight: 500;
  color: var(--text-mid); text-decoration: none; transition: color .2s;
}
.w-cat-list a:hover { color: var(--blue-mid); }
.w-cat-list a::before { content: '🦷'; font-size: .8rem; }

/* Tag cloud */
.w-tag-cloud { display: flex; flex-wrap: wrap; gap: .4rem; }
.w-tag {
  display: inline-block; background: #fff; border: 1px solid var(--border);
  color: var(--text-mid); padding: 3px 11px; border-radius: 50px;
  font-size: .74rem; font-weight: 600; text-decoration: none;
  transition: all .2s;
}
.w-tag:hover { background: var(--blue-mid); color: #fff; border-color: var(--blue-mid); }

/* Schedule widget */
.w-sched-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .5rem 0; border-bottom: 1px solid var(--border);
  font-size: .84rem;
}
.w-sched-row:last-child { border-bottom: none; }
.w-sched-day  { color: var(--text-mid); font-weight: 400; }
.w-sched-time { color: var(--blue-deep); font-weight: 700; }
.w-sched-row.today .w-sched-day { color: var(--blue-mid); font-weight: 700; }
.w-sched-row.closed { opacity: .45; }
.w-sched-note {
  background: var(--blue-light); border-radius: 8px;
  padding: 7px 11px; margin-top: .75rem;
  font-size: .76rem; color: var(--blue-mid); font-weight: 500;
}

/* ── SINGLE POST ───────────────────────────────────────────── */
.post-hero {
  padding: 4.5rem 2rem 3.5rem;
  background: linear-gradient(135deg, var(--off-white) 0%, #EAF3FF 55%, #DDEEFF 100%);
  text-align: center; position: relative; overflow: hidden;
}
.post-hero::before {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(33,150,243,.10) 0%, transparent 70%);
  pointer-events: none;
}
.post-hero .post-meta { justify-content: center; margin-bottom: 1rem; }
.post-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem,4.5vw,3.2rem); color: var(--blue-deep);
  line-height: 1.2; max-width: 800px; margin: 0 auto 1rem;
}
.post-hero-desc {
  font-size: 1rem; color: var(--text-mid);
  max-width: 600px; margin: 0 auto; font-weight: 300; line-height: 1.7;
}

.post-feat-img { width: 100%; max-height: 480px; object-fit: cover; display: block; }

.post-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 300px;
  gap: 2.5rem; padding: 3rem 2rem 4rem; align-items: start;
}

/* Post body typography */
.post-article { font-size: 1rem; color: var(--text-dark); line-height: 1.8; }
.post-article h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem; color: var(--blue-deep);
  margin: 2.5rem 0 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--border);
}
.post-article h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; color: var(--blue-deep); margin: 2rem 0 .65rem;
}
.post-article h4 { font-size: 1rem; font-weight: 700; color: var(--blue-deep); margin: 1.5rem 0 .4rem; }
.post-article p { margin-bottom: 1.2rem; }
.post-article a { color: var(--blue-mid); text-underline-offset: 3px; }
.post-article ul, .post-article ol { margin: .75rem 0 1.2rem 1.5rem; }
.post-article li { margin-bottom: .35rem; color: var(--text-mid); }
.post-article img { max-width: 100%; border-radius: 12px; box-shadow: var(--shadow); margin: 1.5rem 0; display: block; }
.post-article blockquote {
  border-left: 4px solid var(--blue-mid); padding: 1.1rem 1.5rem;
  background: var(--blue-light); border-radius: 0 12px 12px 0;
  margin: 1.5rem 0; font-style: italic; color: var(--text-mid);
}
.post-article pre {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: 10px; padding: 1.2rem; overflow-x: auto; margin: 1.25rem 0;
  font-size: .86rem;
}
.post-article code {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: 5px; padding: .15em .45em; font-size: .87em;
}
.post-article pre code { background: none; border: none; padding: 0; }
.post-article hr { border: none; border-top: 2px solid var(--border); margin: 2.5rem 0; }

/* Tags */
.post-tags { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.post-tags-label {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--text-light); margin-bottom: .6rem;
}

/* Author box */
.post-author-box {
  margin-top: 2.5rem; padding: 1.5rem; display: flex; align-items: flex-start; gap: 1.1rem;
  background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius);
}
.post-author-box-av {
  width: 50px; height: 50px; border-radius: 50%; background: var(--blue-mid);
  color: #fff; font-size: 1.3rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.post-author-box-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-light); font-weight: 700; margin-bottom: 2px; }
.post-author-box-name { font-weight: 700; color: var(--blue-deep); font-size: .95rem; display: block; margin-bottom: 2px; }
.post-author-box-name a { text-decoration: none; color: inherit; }
.post-author-box-role { font-size: .8rem; color: var(--text-light); }

/* Prev/next nav */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
.post-nav-card {
  background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.1rem 1.35rem; text-decoration: none; display: block; transition: all .2s;
}
.post-nav-card:hover { background: var(--blue-light); border-color: var(--blue-mid); }
.post-nav-dir { font-size: .67rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-light); font-weight: 700; margin-bottom: .35rem; }
.post-nav-t { font-size: .86rem; font-weight: 600; color: var(--blue-deep); line-height: 1.35; }
.post-nav-card.next { text-align: right; }

/* Related */
.related { margin-top: 2.5rem; }
.related h3 {
  font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--blue-deep);
  margin-bottom: 1rem; padding-bottom: .65rem; border-bottom: 1px solid var(--border);
}
.related-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(190px,1fr)); gap: 1rem; }
.related-card {
  border: 1px solid var(--border); border-radius: 12px; padding: 1rem;
  text-decoration: none; display: block; transition: all .2s;
}
.related-card:hover { background: var(--blue-light); border-color: var(--blue-mid); transform: translateY(-2px); }
.related-date { font-size: .68rem; color: var(--text-light); font-weight: 600; margin-bottom: 3px; }
.related-title { font-size: .85rem; font-weight: 600; color: var(--blue-deep); line-height: 1.35; }

/* ── STATIC PAGE ───────────────────────────────────────────── */
.static-wrap { max-width: 820px; margin: 3.5rem auto 4rem; padding: 0 2rem; }
.static-header { margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 2px solid var(--border); }
.static-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem,3.5vw,2.5rem); color: var(--blue-deep); margin-bottom: .4rem;
}
.static-meta { font-size: .76rem; color: var(--text-light); display: flex; gap: 1rem; flex-wrap: wrap; }
.static-body { font-size: .98rem; color: var(--text-dark); line-height: 1.8; }
.static-body h2 {
  font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--blue-deep);
  margin: 2.25rem 0 .8rem; padding-bottom: .4rem; border-bottom: 1px solid var(--border);
}
.static-body h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--blue-deep); margin: 1.75rem 0 .6rem; }
.static-body p { margin-bottom: 1.2rem; color: var(--text-mid); }
.static-body a { color: var(--blue-mid); text-underline-offset: 3px; }
.static-body ul, .static-body ol { margin: .75rem 0 1.2rem 1.5rem; }
.static-body li { color: var(--text-mid); margin-bottom: .35rem; }
.static-body img { max-width: 100%; border-radius: 12px; margin: 1.25rem 0; display: block; }
.static-body blockquote {
  border-left: 4px solid var(--blue-mid); padding: 1rem 1.4rem;
  background: var(--blue-light); border-radius: 0 12px 12px 0;
  margin: 1.25rem 0; font-style: italic; color: var(--text-mid);
}

/* ── PROFILE ───────────────────────────────────────────────── */
.profile-banner {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  padding: 4rem 2rem; text-align: center; color: #fff;
}
.profile-av {
  width: 88px; height: 88px; border-radius: 50%;
  border: 4px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.3rem; margin: 0 auto 1rem;
}
.profile-name { font-family: 'Playfair Display', serif; font-size: 2rem; margin-bottom: .35rem; }
.profile-role { font-size: .88rem; opacity: .7; margin-bottom: .75rem; }
.profile-bio { max-width: 480px; margin: 0 auto; font-size: .9rem; opacity: .82; line-height: 1.65; font-weight: 300; }

/* ── 404 ───────────────────────────────────────────────────── */
.page-404 {
  min-height: 65vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 4rem 2rem;
  background: linear-gradient(135deg, var(--off-white), #EAF3FF);
}
.err-code { font-family: 'Playfair Display', serif; font-size: 7rem; color: var(--blue-light); line-height: 1; }
.page-404 h2 { font-family: 'Playfair Display', serif; font-size: 1.7rem; color: var(--blue-deep); margin: .5rem 0 .9rem; }
.page-404 p { color: var(--text-mid); font-size: .95rem; max-width: 380px; margin: 0 auto 2rem; }
.btn-sec {
  display: inline-flex; align-items: center; gap: 6px;
  border: 2px solid var(--blue-mid); color: var(--blue-mid); background: #fff;
  padding: 11px 22px; border-radius: 50px; font-weight: 600; font-size: .9rem;
  text-decoration: none; transition: all .2s;
}
.btn-sec:hover { background: var(--blue-light); }

/* ── FOOTER ────────────────────────────────────────────────── */
.site-footer { background: #071929; color: rgba(255,255,255,.58); padding: 3.5rem 2rem 2rem; }
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: .9rem; }
.footer-logo-icon {
  width: 34px; height: 34px; background: var(--blue-mid);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
}
.footer-logo-icon svg { width: 17px; height: 17px; fill: #fff; }
.footer-brand-name { font-size: .9rem; font-weight: 600; color: #fff; }
.footer-brand p { font-size: .81rem; line-height: 1.7; max-width: 300px; margin-top: .4rem; }

.footer-col h4 {
  color: #fff; font-size: .73rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.1rem;
}
.footer-col a {
  display: block; color: rgba(255,255,255,.48); font-size: .81rem;
  text-decoration: none; margin-bottom: .55rem; transition: color .2s;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  max-width: var(--max-w); margin: 1.75rem auto 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem; font-size: .77rem;
}
.footer-bottom a { color: rgba(255,255,255,.3); text-decoration: none; transition: color .2s; }
.footer-bottom a:hover { color: rgba(255,255,255,.65); }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 960px) {
  .content-grid,
  .post-grid    { grid-template-columns: 1fr; }
  .sidebar      { position: static; }
  .post-nav     { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-ham  { display: flex; }
  .page-hero { padding: 3rem 1.25rem 2.5rem; }
  .content-grid,
  .post-grid { padding: 2.5rem 1.25rem 3rem; }
  .static-wrap { padding: 0 1.25rem; margin-top: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .post-body-wrap { padding: 1.25rem; }
  .err-code       { font-size: 5rem; }
}
