/* ============================================================
   DELULU TODAY — MAIN THEME CSS
   ============================================================ */
:root {
  /* ── BRAND PALETTE (from official Delulu Today banner) ── */
  --brand:     #1B2D45;   /* dark navy — primary, nav, CTAs             */
  --brand-dk:  #111e2e;   /* deep navy — hover states                   */
  --brand-lt:  #e0eef8;   /* pale sky tint — soft backgrounds           */
  --accent:    #D4A832;   /* gold — primary accent, buttons, highlights */
  --accent-dk: #b8901f;   /* dark gold — hover on gold elements         */
  --accent2:   #7EC8E3;   /* sky blue — secondary accent, tags, pills   */
  --accent2-lt:#ddf2fb;   /* pale sky — callout backgrounds             */
  --harmony:   #4A7FA5;   /* harmony blue — links, subtle elements      */
  /* ── NEUTRALS ──────────────────────────────────────────── */
  --soft:      #f4f7fa;   /* cool off-white — section backgrounds       */
  --muted:     #4a5f72;   /* dark slate — muted body text               */
  --border:    #d0dce8;   /* cool-toned border                          */
  --ink:       #1B2D45;   /* same as brand — headings on white          */
  --white:     #ffffff;   /* main content background                    */
  --gold:      #D4A832;   /* alias for accent                           */
  --ff-display: 'Libre Baskerville', Georgia, serif;
  --ff-body:    'Inter', system-ui, sans-serif;
  --radius:   12px;
  --shadow:   0 2px 16px rgba(27,45,69,.12);
  --max-w:    1200px;
  --content-w: 760px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--harmony); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.4em; }

/* SKIP LINK */
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 9999;
  background: var(--brand); color: #fff;
  padding: 10px 20px; border-radius: 0 0 8px 8px;
  font-size: 14px; font-weight: 500; transition: top .15s;
}
.skip-link:focus { top: 0; text-decoration: none; }

/* LAYOUT */
.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 5%; }
.container-narrow { max-width: var(--content-w); margin: 0 auto; padding: 0 5%; }

/* TYPOGRAPHY */
h1,h2,h3,h4,h5,h6 { font-family: var(--ff-display); font-weight: 700; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(32px,5vw,52px); letter-spacing: -.5px; }
h2 { font-size: clamp(26px,4vw,40px); letter-spacing: -.3px; }
h3 { font-size: clamp(20px,3vw,28px); }
h4 { font-size: 20px; font-family: var(--ff-body); font-weight: 600; }
h5 { font-size: 16px; font-family: var(--ff-body); font-weight: 600; }
h6 { font-size: 14px; font-family: var(--ff-body); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
p { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
blockquote {
  border-left: 4px solid var(--brand); margin: 2em 0;
  padding: 1em 1.5em; background: var(--brand-lt);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--ff-display); font-size: 1.15em; font-style: italic; color: var(--brand-dk);
}
hr { border: none; border-top: 1px solid var(--border); margin: 2.5em 0; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 100px;
  font-family: var(--ff-body); font-size: 15px; font-weight: 500;
  cursor: pointer; border: none; transition: all .18s; text-decoration: none; line-height: 1;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 2px 12px rgba(27,45,69,.22); }
.btn-primary:hover { background: var(--brand-dk); transform: translateY(-1px); text-decoration: none; }
.btn-secondary { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-secondary:hover { background: var(--brand); color: #fff; text-decoration: none; }
.btn-accent { background: var(--accent2); color: var(--brand); }
.btn-accent:hover { background: #b8901f; transform: translateY(-1px); text-decoration: none; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--soft); border-bottom: 1px solid var(--border);
}

/* MEGA NAV */
.mnav-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 64px; gap: 32px;
  max-width: var(--max-w); margin: 0 auto;
}
.mnav-logo { font-family: var(--ff-display); font-size: 22px; color: var(--brand); text-decoration: none; letter-spacing: -.5px; flex-shrink: 0; }
.mnav-logo span { color: var(--accent); font-style: italic; }
.mnav-logo:hover { text-decoration: none; }
.mnav-tabs { display: flex; list-style: none; gap: 0; align-items: center; flex: 1; justify-content: center; }
.mnav-tab { display: flex; align-items: center; gap: 5px; padding: 8px 16px; font-size: 14px; color: var(--muted); cursor: pointer; border-radius: 8px; transition: color .15s, background .15s; user-select: none; white-space: nowrap; }
.mnav-tab:hover, .mnav-tab.active { color: var(--brand); background: rgba(27,45,69,.06); }
.mnav-tab.active svg, .mnav-tab svg { transition: transform .2s; flex-shrink: 0; }
.mnav-tab.active svg { transform: rotate(180deg); }
.mnav-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.mnav-cta { background: var(--accent); color: var(--brand); padding: 10px 22px; border-radius: 40px; font-size: 13px; font-weight: 500; text-decoration: none; transition: background .15s; white-space: nowrap; }
.mnav-cta:hover { background: var(--accent-dk); text-decoration: none; }
.mnav-backdrop { display: none; position: fixed; inset: 0; top: 64px; background: rgba(0,0,0,.22); z-index: 199; }
.mnav-backdrop.visible { display: block; }
.mnav-panel { display: none; position: absolute; top: 64px; left: 0; right: 0; z-index: 200; animation: panelIn .17s ease; }
@keyframes panelIn { from { opacity:0; transform: translateY(-6px); } to { opacity:1; transform: translateY(0); } }
.mnav-panel.open { display: block; }
.mnav-panel-inner { display: grid; grid-template-columns: 1fr 300px; max-width: 900px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-top: none; border-radius: 0 0 16px 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.12); }
.mnav-col { padding: 28px 32px; }
.mnav-col-cta { display: flex; flex-direction: column; gap: 12px; padding: 32px 28px; }
.mnav-col-label { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.mnav-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px; border-radius: 10px; text-decoration: none; color: var(--brand); transition: background .15s; margin-bottom: 2px; }
.mnav-item:hover { background: var(--soft); text-decoration: none; }
.mnav-item-icon { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mnav-item-text strong { display: block; font-size: 14px; font-weight: 500; margin-bottom: 2px; color: var(--ink); }
.mnav-item-text span { font-size: 12px; color: var(--muted); line-height: 1.4; }
.mnav-divider { height: 1px; background: var(--border); margin: 16px 0; }
.mnav-topics { display: flex; flex-wrap: wrap; gap: 7px; }
.mnav-topic { font-size: 12px; padding: 5px 12px; border-radius: 20px; border: 1px solid var(--border); color: var(--muted); text-decoration: none; transition: all .15s; }
.mnav-topic:hover { border-color: var(--accent); color: var(--accent); background: #f4f7fa; text-decoration: none; }
.mnav-cta-headline { font-family: var(--ff-display); font-size: 22px; color: #fff; line-height: 1.25; letter-spacing: -.3px; }
.mnav-cta-headline em { font-style: italic; color: #f5c4b3; }
.mnav-cta-sub { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.6; flex: 1; }
.mnav-cta-btn { background: var(--accent); color: #fff; padding: 12px 20px; border-radius: 10px; font-size: 13px; font-weight: 500; text-decoration: none; display: inline-block; text-align: center; }
.mnav-cta-btn:hover { filter: brightness(.9); text-decoration: none; }
.mnav-cta-badge { display: inline-block; background: rgba(255,255,255,.15); color: rgba(255,255,255,.9); font-size: 11px; font-weight: 500; padding: 4px 12px; border-radius: 20px; margin-bottom: 8px; width: fit-content; }
.mnav-stat-row { display: flex; gap: 16px; margin-top: 4px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); }
.mnav-stat-n { font-family: var(--ff-display); font-size: 18px; color: #fff; font-weight: 700; }
.mnav-stat-l { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 1px; }
.mnav-perk-check { width: 16px; height: 16px; border-radius: 50%; background: #e1f5ee; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.mnav-perk-check::after { content: '✓'; font-size: 9px; color: #0f6e56; font-weight: 700; }
.mnav-perk, .mnav-app-feat { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); }
.mnav-perk-list, .mnav-app-features { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.mnav-app-btns { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.mnav-app-btn { display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 10px; text-decoration: none; transition: background .15s; }
.mnav-app-btn:hover { background: #111e2e; text-decoration: none; }
.mnav-app-btn-text { display: flex; flex-direction: column; }
.mnav-app-btn-text span { font-size: 10px; color: rgba(255,255,255,.6); line-height: 1; }
.mnav-app-btn-text strong { font-size: 14px; font-weight: 500; line-height: 1.3; }
.mnav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.mnav-burger span { display: block; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; transition: all .25s; }
.mnav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mnav-burger.open span:nth-child(2) { opacity: 0; }
.mnav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mnav-mobile { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); z-index: 198; box-shadow: 0 8px 32px rgba(0,0,0,.1); }
.mnav-mobile.open { display: block; }
.mnav-mobile-section { padding: 16px 24px; border-bottom: 1px solid var(--border); }
.mnav-mobile-label { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.mnav-mobile-link { display: block; font-size: 15px; color: var(--brand); text-decoration: none; padding: 9px 0; border-bottom: 1px solid rgba(27,45,69,.05); }
.mnav-mobile-link:hover { color: var(--accent); text-decoration: none; }
.mnav-mobile-cta { padding: 20px 24px; }
.mnav-mobile-cta-btn { display: block; background: var(--accent); color: #fff; padding: 15px; border-radius: 12px; font-size: 15px; font-weight: 500; text-decoration: none; text-align: center; }
@media (max-width: 900px) {
  .mnav-bar { padding: 0 20px; }
  .mnav-tabs { display: none; }
  .mnav-cta { display: none; }
  .mnav-burger { display: flex; }
  .mnav-panel { display: none !important; }
  .mnav-backdrop { display: none !important; }
}
@media (min-width: 901px) { .mnav-mobile { display: none !important; } }

/* FOOTER */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); margin-top: auto; }
.footer-top { display: grid; grid-template-columns: 1.3fr 2fr; gap: 64px; padding: 64px 5%; max-width: var(--max-w); margin: 0 auto; }
.footer-brand .logo { font-family: var(--ff-display); font-size: 22px; color: #fff; text-decoration: none; display: block; margin-bottom: 10px; }
.footer-brand .logo span { color: var(--accent); font-style: italic; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.65; margin-bottom: 20px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 { font-family: var(--ff-body); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,.6); text-decoration: none; transition: color .15s; }
.footer-col ul a:hover { color: #fff; text-decoration: none; }
.footer-schema-area { padding: 32px 5%; max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-address { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.8; }
.footer-address strong { color: rgba(255,255,255,.8); display: block; margin-bottom: 6px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.footer-address a { color: rgba(255,255,255,.5); text-decoration: none; }
.footer-address a:hover { color: #fff; }
.footer-map { border-radius: 10px; overflow: hidden; height: 140px; background: rgba(255,255,255,.06); display: flex; align-items: center; justify-content: center; font-size: 13px; color: rgba(255,255,255,.3); }
.footer-map iframe { width: 100%; height: 100%; border: 0; }
.footer-seo-links { padding: 16px 5%; max-width: var(--max-w); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 16px; border-top: 1px solid rgba(255,255,255,.06); }
.footer-seo-links a { font-size: 12px; color: rgba(255,255,255,.35); text-decoration: none; transition: color .15s; }
.footer-seo-links a:hover { color: rgba(255,255,255,.7); }
.footer-bottom { padding: 20px 5%; max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,.06); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,.3); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,.3); text-decoration: none; }
.footer-legal a:hover { color: rgba(255,255,255,.6); }
@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-schema-area { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* BREADCRUMBS */
.breadcrumbs { padding: 12px 5%; font-size: 13px; color: var(--muted); background: var(--soft); border-bottom: 1px solid var(--border); }
.breadcrumbs-inner { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; max-width: var(--max-w); margin: 0 auto; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs .sep { color: var(--border); }
.breadcrumbs .current { color: var(--brand); font-weight: 500; }

/* BLOG ARCHIVE */
.archive-header { padding: 64px 5% 40px; background: var(--soft); border-bottom: 1px solid var(--border); }
.archive-header-inner { max-width: var(--max-w); margin: 0 auto; }
.archive-header h1 { font-size: clamp(28px,4vw,44px); margin-bottom: 8px; }
.archive-header .archive-desc { font-size: 17px; color: var(--muted); max-width: 560px; }
.archive-header .archive-meta { font-size: 13px; color: var(--muted); margin-top: 8px; }
.archive-filter { padding: 20px 5%; background: var(--white); border-bottom: 1px solid var(--border); }
.archive-filter-inner { max-width: var(--max-w); margin: 0 auto; display: flex; gap: 10px; flex-wrap: wrap; }
.filter-pill { padding: 7px 18px; border-radius: 100px; border: 1.5px solid var(--border); font-size: 13px; color: var(--muted); text-decoration: none; transition: all .15s; }
.filter-pill:hover, .filter-pill.active { background: var(--brand); color: #fff; border-color: var(--brand); text-decoration: none; }

/* BLOG GRID */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; padding: 48px 5%; max-width: var(--max-w); margin: 0 auto; }
.post-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(27,45,69,.12); }
.post-card-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--soft); }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card-thumb img { transform: scale(1.04); }
.post-card-thumb-placeholder { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--brand-lt), var(--soft)); display: flex; align-items: center; justify-content: center; font-size: 36px; opacity: .5; }
.post-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.post-card-cats { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.post-card-cat { font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); background: var(--accent2-lt); padding: 3px 10px; border-radius: 100px; text-decoration: none; }
.post-card-title { font-family: var(--ff-display); font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 10px; line-height: 1.3; }
.post-card-title a { color: inherit; text-decoration: none; }
.post-card-title a:hover { color: var(--brand); }
.post-card-excerpt { font-size: 14px; color: var(--muted); line-height: 1.65; flex: 1; margin-bottom: 16px; }
.post-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 12px; margin-top: auto; }
.post-card-read-more { font-size: 13px; font-weight: 500; color: var(--brand); text-decoration: none; }
.post-card-read-more:hover { text-decoration: underline; }

/* SINGLE POST */
.single-layout { display: grid; grid-template-columns: 1fr 320px; gap: 56px; max-width: var(--max-w); margin: 0 auto; padding: 48px 5%; align-items: start; }
.single-main { min-width: 0; }
.single-sidebar { position: sticky; top: 88px; }
.post-header { margin-bottom: 36px; }
.post-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.post-cat { font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); background: var(--brand-lt); padding: 4px 12px; border-radius: 100px; text-decoration: none; }
.post-cat:hover { background: var(--brand); color: #fff; text-decoration: none; }
.post-title { font-size: clamp(28px,4.5vw,48px); line-height: 1.1; margin-bottom: 16px; letter-spacing: -.5px; }
.post-meta { display: flex; align-items: center; gap: 20px; font-size: 13px; color: var(--muted); flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.post-meta .sep { color: var(--border); }
.post-meta a { color: var(--muted); text-decoration: none; }
.post-meta a:hover { color: var(--brand); }
.post-featured-image { width: 100%; border-radius: var(--radius); overflow: hidden; margin-bottom: 36px; }
.post-featured-image img { width: 100%; height: auto; }

/* TOC */
.toc { background: var(--soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 36px; }
.toc-title { font-family: var(--ff-body); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.toc ol { padding-left: 1.2em; }
.toc li { font-size: 14px; margin-bottom: 7px; line-height: 1.5; }
.toc a { color: var(--harmony); text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* POST CONTENT */
.post-content { font-size: 17px; line-height: 1.8; }
.post-content h2 { margin: 2em 0 .6em; padding-top: 1em; border-top: 1px solid var(--border); font-size: clamp(22px,3vw,32px); }
.post-content h3 { margin: 1.6em 0 .5em; font-size: clamp(18px,2.5vw,24px); }
.post-content h4 { margin: 1.4em 0 .4em; }
.post-content p { margin-bottom: 1.2em; }
.post-content ul, .post-content ol { margin-bottom: 1.2em; }
.post-content li { margin-bottom: .4em; }
.post-content img { border-radius: var(--radius); margin: 1.5em 0; }
.post-content a { color: var(--brand); text-decoration: underline; }
.post-content a:hover { color: var(--brand-dk); }
.post-content blockquote { margin: 2em 0; }
.takeaway-box { background: var(--brand-lt); border-left: 4px solid var(--brand); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 2em 0; font-size: 16px; color: var(--brand-dk); }
.takeaway-box strong { display: block; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 8px; color: var(--brand); }

/* FAQ inside posts */
.post-faq { margin: 2.5em 0; }
.post-faq-title { font-size: 28px; margin-bottom: 20px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 8px; overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--ff-body); font-size: 16px; font-weight: 500; color: var(--ink); }
.faq-question .icon { flex-shrink: 0; width: 24px; height: 24px; background: var(--brand-lt); border-radius: 50%; color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: transform .2s, background .2s; }
.faq-item.open .faq-question .icon { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-answer-inner { padding: 0 20px 18px; font-size: 15px; color: var(--muted); line-height: 1.75; }
.faq-item.open .faq-answer { max-height: 600px; }

/* AUTHOR BOX */
.author-box { display: flex; gap: 20px; align-items: flex-start; background: var(--soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin: 48px 0 36px; }
.author-avatar { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--brand-lt); display: flex; align-items: center; justify-content: center; font-family: var(--ff-display); font-size: 24px; font-weight: 700; color: var(--brand); }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-family: var(--ff-display); font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.author-title { font-size: 12px; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.author-bio { font-size: 14px; color: var(--muted); line-height: 1.65; }
.author-links { display: flex; gap: 12px; margin-top: 10px; }
.author-links a { font-size: 13px; color: var(--brand); text-decoration: none; }
.author-links a:hover { text-decoration: underline; }

/* SOCIAL SHARE */
.post-share { display: flex; align-items: center; gap: 12px; padding: 20px 0; border-top: 1px solid var(--border); margin-bottom: 36px; flex-wrap: wrap; }
.share-label { font-size: 13px; font-weight: 500; color: var(--muted); }
.share-btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 100px; font-size: 13px; font-weight: 500; text-decoration: none; transition: all .15s; border: 1.5px solid var(--border); color: var(--ink); background: #fff; }
.share-btn:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }

/* RELATED POSTS */
.related-posts { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--border); }
.related-posts h3 { font-size: 22px; margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }

/* SIDEBAR */
.sidebar-widget { background: var(--soft); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; border: 1px solid var(--border); }
.sidebar-widget-title { font-family: var(--ff-body); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.sidebar-toc li { font-size: 14px; margin-bottom: 8px; }
.sidebar-toc a { color: var(--muted); text-decoration: none; transition: color .15s; }
.sidebar-toc a:hover { color: var(--brand); }
.sidebar-cta { background: var(--brand); color: #fff; border-radius: var(--radius); padding: 24px; margin-bottom: 24px; text-align: center; }
.sidebar-cta h4 { color: #fff; font-size: 16px; margin-bottom: 8px; }
.sidebar-cta p { font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 16px; line-height: 1.55; }
.sidebar-cta .btn { background: var(--accent); color: #fff; width: 100%; justify-content: center; }
.sidebar-recent li { font-size: 14px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--border); list-style: none; }
.sidebar-recent li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sidebar-recent a { color: var(--ink); text-decoration: none; line-height: 1.4; display: block; }
.sidebar-recent a:hover { color: var(--brand); }
.sidebar-recent .post-date { font-size: 12px; color: var(--muted); margin-top: 3px; }
.sidebar-recent { padding-left: 0; }

/* PAGINATION */
.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 48px 5%; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; border: 1.5px solid var(--border); font-size: 14px; color: var(--muted); text-decoration: none; transition: all .15s; }
.pagination a:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }
.pagination .prev, .pagination .next { width: auto; padding: 0 16px; }

/* PAGE LAYOUTS */
.page-content { max-width: var(--content-w); margin: 0 auto; padding: 48px 5%; }
.page-content-wide { max-width: var(--max-w); margin: 0 auto; padding: 48px 5%; }

/* NO HEADER/FOOTER PAGE */
body.page-template-no-header-footer .site-header,
body.page-template-no-header-footer .site-footer,
body.page-template-no-header-footer .breadcrumbs { display: none; }

/* 404 */
.error-404 { text-align: center; padding: 100px 5%; }
.error-404 .error-code { font-family: var(--ff-display); font-size: 120px; line-height: 1; color: var(--brand-lt); font-weight: 700; margin-bottom: -20px; }
.error-404 h1 { font-size: 32px; margin-bottom: 12px; }
.error-404 p { color: var(--muted); font-size: 17px; max-width: 400px; margin: 0 auto 32px; }

/* FORMS */
input[type="text"], input[type="email"], input[type="search"], textarea, select {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 10px;
  font-family: var(--ff-body); font-size: 15px; color: var(--ink); background: #fff;
  outline: none; transition: border-color .15s; -webkit-appearance: none; appearance: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--brand); }
label { font-size: 14px; font-weight: 500; display: block; margin-bottom: 6px; }
.form-group { margin-bottom: 20px; }
.search-form { display: flex; gap: 8px; }
.search-form input { flex: 1; }
.search-form button { padding: 12px 20px; border-radius: 10px; background: var(--brand); color: #fff; border: none; cursor: pointer; font-size: 14px; font-weight: 500; }

/* UTILITY */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.section-pad { padding: 72px 5%; }
.section-pad-sm { padding: 48px 5%; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .single-layout { grid-template-columns: 1fr; }
  .single-sidebar { position: static; }
  .blog-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .author-box { flex-direction: column; }
  .related-grid { grid-template-columns: 1fr; }
}

/* YOAST BREADCRUMB compatibility */
.yoast-breadcrumb { font-size: 13px; color: var(--muted); }
.yoast-breadcrumb a { color: var(--muted); text-decoration: none; }
.yoast-breadcrumb a:hover { color: var(--brand); }
.yoast-breadcrumb .breadcrumb_last { color: var(--brand); font-weight: 500; }
