/* =============================================================
   Idaho Bees — Stylesheet
   Palette: Idaho Gold + Idaho Nature accents
   Fonts:   Playfair Display (h1/h2), Lora (body articles), Inter (UI)
   ============================================================= */

:root {
  --gold: #D4A017;
  --gold-dark: #B8860B;
  --honey: #EB9605;
  --amber: #FFBF00;
  --cream: #FFF8E7;
  --cream-soft: #FFFDF7;
  --dark: #2C1810;
  --warm-gray: #4A3728;
  --warm-gray-light: #7A6957;
  --border: #E8D5B7;

  --sage: #6B9E8A;
  --forest: #4A7C59;
  --sky: #2E86AB;
  --huckleberry: #8B4E8B;
  --barn-red: #C0392B;

  --bg: var(--cream-soft);
  --bg-alt: var(--cream);
  --text: var(--dark);
  --text-muted: var(--warm-gray);
  --accent: var(--gold);
  --accent-dark: var(--gold-dark);
  --link: var(--honey);
  --link-visited: var(--gold-dark);

  --shadow-sm: 0 1px 3px rgba(44,24,16,0.07);
  --shadow: 0 4px 16px rgba(44,24,16,0.10);
  --shadow-lg: 0 12px 36px rgba(44,24,16,0.14);

  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-article: 'Lora', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max-width: 1100px;
  --content-width: 720px;
}

html[data-theme="dark"] {
  --bg: #1a110c;
  --bg-alt: #2C1810;
  --text: #F5E9D5;
  --text-muted: #c5b89d;
  --border: #4a3728;
  --cream: #2C1810;
  --cream-soft: #1a110c;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
  --shadow: 0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg: 0 12px 36px rgba(0,0,0,0.6);
}

/* Respect user prefers-color-scheme by default, unless they explicitly toggled */
@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    --bg: #1a110c;
    --bg-alt: #2C1810;
    --text: #F5E9D5;
    --text-muted: #c5b89d;
    --border: #4a3728;
  }
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── Focus visible (WCAG 2.4.7) ── */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--dark); padding: .75rem 1rem; font-weight: 700; z-index: 1000; text-decoration: none; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ── Typography ── */
h1, h2, h3 { font-family: var(--font-heading); color: var(--text); line-height: 1.2; font-weight: 700; }
h4, h5, h6 { font-family: var(--font-body); color: var(--text); font-weight: 700; line-height: 1.3; }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2rem 0 .75rem; }
h3 { font-size: 1.25rem; margin: 1.5rem 0 .5rem; }
h4 { font-size: 1.05rem; margin: 1rem 0 .4rem; }
p { margin-bottom: 1rem; }
a { color: var(--link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; transition: color .15s; }
a:hover { color: var(--gold-dark); text-decoration-thickness: 2px; }
a:visited { color: var(--link-visited); }
strong { color: var(--text); font-weight: 700; }
em { color: var(--text); }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9em; background: var(--bg-alt); padding: .1rem .3rem; border-radius: 3px; border: 1px solid var(--border); }
pre { background: var(--bg-alt); padding: 1rem; border-radius: var(--radius-sm); overflow-x: auto; border: 1px solid var(--border); margin: 1rem 0; }
blockquote {
  border-left: 4px solid var(--gold);
  padding: .5rem 1rem .5rem 1.25rem;
  margin: 1rem 0;
  font-family: var(--font-article);
  font-style: italic;
  color: var(--text-muted);
  background: var(--bg-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
ul, ol { margin: 0 0 1rem 1.5rem; }
li { margin-bottom: .4rem; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }

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

/* ── Layout helpers ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }
.container-narrow { max-width: var(--content-width); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 3rem 0; }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 2rem; }
.section-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--gold-dark); margin-bottom: .5rem; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* ── Long-form readability: applied inside .container-narrow on content pages ──
   Larger type, Lora serif body, generous leading, headings with clear rhythm.
   Targets <p>, <li>, <h2>, <h3> only, never affects navigation or meta UI. */
.container-narrow > p,
.container-narrow > ul,
.container-narrow > ol,
.container-narrow > blockquote,
.container-narrow .callout p,
.container-narrow figure figcaption {
  font-family: var(--font-article);
  font-size: clamp(1.02rem, 1.3vw, 1.12rem);
  line-height: 1.75;
  color: var(--text);
  max-width: 62ch;
}
.container-narrow > ul,
.container-narrow > ol { padding-left: 0; margin-left: 1.5rem; }
.container-narrow > ul li,
.container-narrow > ol li { margin-bottom: .55rem; line-height: 1.7; }
.container-narrow > h1 {
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
  margin-top: .5rem;
  margin-bottom: 1.25rem;
}
.container-narrow > h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  margin: 2.5rem 0 .85rem;
  letter-spacing: -0.01em;
  color: var(--text);
  border-bottom: 2px solid var(--gold);
  padding-bottom: .4rem;
  display: inline-block;
}
.container-narrow > h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin: 2rem 0 .5rem;
  color: var(--gold-dark);
}
.container-narrow > h4 { font-family: var(--font-body); margin-top: 1.4rem; }
.container-narrow > hr { margin: 2.5rem auto; max-width: 62ch; border-top-color: var(--border); }
.container-narrow > blockquote {
  margin: 1.5rem 0;
  padding: .75rem 1.25rem;
  font-size: 1.08rem;
}
/* Tighten inline lede after h1 */
.container-narrow > h1 + p.lede,
.container-narrow > .section-eyebrow + h1 + p.lede { margin-top: .25rem; margin-bottom: 1.75rem; }

/* Table inside content reads better with zebra striping */
.container-narrow > table,
.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: .98rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.container-narrow > table th,
.container-narrow > table td,
.post-body table th,
.post-body table td {
  padding: .6rem .8rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.container-narrow > table th,
.post-body table th { background: var(--bg-alt); font-weight: 700; color: var(--gold-dark); }
.container-narrow > table tr:last-child td,
.post-body table tr:last-child td { border-bottom: 0; }

/* Inline images inside long-form content: readable max-width, subtle frame */
.container-narrow img,
.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* ── Header ── */
.site-header { background: var(--bg); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow-sm); }
.site-header-inner { max-width: var(--max-width); margin: 0 auto; padding: .75rem 1.25rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--text); font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; }
.brand:hover { color: var(--gold-dark); }
.brand-icon { font-size: 1.5rem; }
.brand-name strong { color: var(--gold-dark); }
.site-nav { margin-left: auto; }
.nav-menu { display: flex; flex-wrap: wrap; list-style: none; gap: .25rem; margin: 0; }
.nav-menu a { padding: .4rem .7rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--text); font-weight: 500; font-size: .92rem; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { background: var(--bg-alt); color: var(--gold-dark); }
.nav-menu a[aria-current="page"] { background: rgba(212,160,23,.12); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); padding: .4rem .7rem; border-radius: var(--radius-sm); cursor: pointer; font-size: 1.1rem; color: var(--text); }
.header-controls { display: flex; gap: .3rem; }
.icon-btn { background: none; border: 1px solid var(--border); padding: .4rem .6rem; border-radius: var(--radius-sm); cursor: pointer; font-size: 1rem; color: var(--text); transition: all .15s; }
.icon-btn:hover { background: var(--bg-alt); border-color: var(--gold); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-menu { display: none; flex-direction: column; width: 100%; margin-top: .75rem; }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: .6rem .8rem; }
}

/* ── Hero ── */
.hero {
  padding: clamp(3rem, 8vw, 5rem) 1.25rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--honey) 60%, var(--amber) 100%);
  color: var(--dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "🐝 🌻 🌼 🐝 🌸 🌼 🐝";
  position: absolute; inset: 0;
  opacity: .08;
  font-size: 4rem;
  line-height: 2;
  letter-spacing: 2rem;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  text-align: center;
}
.hero-inner { max-width: var(--content-width); margin: 0 auto; position: relative; }
.hero-eyebrow { display: inline-block; padding: .25rem .75rem; background: rgba(44,24,16,.12); border-radius: 20px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--dark); margin-bottom: 1rem; }
.hero p { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--warm-gray); margin-bottom: 1.5rem; max-width: 620px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: .4rem; padding: .65rem 1.2rem; border-radius: var(--radius-sm); text-decoration: none; font-weight: 700; font-family: var(--font-body); font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: all .15s; }
.btn-primary { background: var(--dark); color: var(--cream); }
.btn-primary:hover { background: var(--warm-gray); color: var(--cream); }
.btn-outline { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--cream); }
.btn-gold { background: var(--gold); color: var(--dark); border-color: var(--gold-dark); }
.btn-gold:hover { background: var(--gold-dark); color: var(--cream); }

/* ── Cards (generic) ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.card { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card h3 { margin-top: 0; color: var(--gold-dark); }
.card-badge { display: inline-block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; padding: .2rem .5rem; border-radius: 12px; background: rgba(107,158,138,.18); color: var(--forest); font-weight: 700; margin-bottom: .5rem; }
.card-badge.amber { background: rgba(255,191,0,.2); color: var(--gold-dark); }
.card-badge.sky { background: rgba(46,134,171,.18); color: var(--sky); }

/* ── Blog list ── */
.blog-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.25rem; }
.blog-card { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.blog-card:hover { box-shadow: var(--shadow); }
.blog-card h3 { margin: 0 0 .5rem; font-size: 1.2rem; }
.blog-card h3 a { color: var(--text); text-decoration: none; }
.blog-card h3 a:hover { color: var(--gold-dark); text-decoration: underline; }
.blog-meta { font-size: .82rem; color: var(--text-muted); margin-bottom: .5rem; }
.blog-meta .post-category { color: var(--forest); font-weight: 600; }
.blog-card p { color: var(--text-muted); font-size: .95rem; }
.blog-card .btn-text { color: var(--gold-dark); font-weight: 600; font-size: .9rem; text-decoration: none; }
.blog-card .btn-text:hover { text-decoration: underline; }

/* ── Post page ── */
.post-hero { background: linear-gradient(180deg, var(--cream) 0%, var(--bg) 100%); padding: 2.5rem 0 1.5rem; border-bottom: 1px solid var(--border); }
.post-eyebrow { font-size: .85rem; margin-bottom: .5rem; }
.post-eyebrow a { color: var(--gold-dark); text-decoration: none; }
.post-title { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.post-meta { color: var(--text-muted); font-size: .9rem; margin-bottom: .75rem; }
.post-dek { font-family: var(--font-article); font-size: 1.15rem; font-style: italic; color: var(--warm-gray); max-width: var(--content-width); }
.post-body { max-width: var(--content-width); padding: 2rem 1.25rem; font-family: var(--font-article); font-size: clamp(1.05rem, 1.3vw, 1.15rem); line-height: 1.78; }
.post-body p, .post-body ul, .post-body ol, .post-body blockquote { max-width: 62ch; }
.post-body p { margin-bottom: 1.1rem; }
.post-body h2 { font-family: var(--font-heading); font-size: clamp(1.55rem, 2.5vw, 1.9rem); margin-top: 2.75rem; margin-bottom: .75rem; border-bottom: 2px solid var(--gold); padding-bottom: .4rem; display: inline-block; }
.post-body h3 { font-family: var(--font-heading); font-size: 1.3rem; margin-top: 2rem; margin-bottom: .5rem; color: var(--gold-dark); }
.post-body h4 { font-family: var(--font-body); margin-top: 1.4rem; }
.post-body a { color: var(--honey); font-weight: 500; text-underline-offset: 3px; }
.post-body ul, .post-body ol { padding-left: 0; margin-left: 1.5rem; }
.post-body li { margin-bottom: .55rem; line-height: 1.7; }
.post-body blockquote { margin: 1.5rem 0; padding: .8rem 1.25rem; font-size: 1.08rem; }
.post-footer { max-width: var(--content-width); padding: 2rem 1.25rem 3rem; color: var(--text-muted); border-top: 1px solid var(--border); margin-top: 2rem; }
.post-disclaimer { font-size: .85rem; font-style: italic; }

/* ── FAQ ── */
.faq-list { max-width: var(--content-width); margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
.faq-item h3 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: .5rem; color: var(--gold-dark); }
.faq-answer { color: var(--text-muted); line-height: 1.7; }

/* ── Wildflower grid ── */
.flower-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.flower-card { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; border-left: 4px solid var(--forest); overflow: hidden; }
.flower-card img { width: calc(100% + 2rem); height: 180px; object-fit: cover; margin: -1rem -1rem .75rem -1rem; display: block; border-bottom: 1px solid var(--border); box-shadow: none; border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }
.flower-card h3 { color: var(--forest); font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: .3rem; margin-top: 0; }
.flower-card .bloom { font-size: .8rem; color: var(--gold-dark); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .4rem; }
.flower-card p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* ── Gallery ── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .75rem; margin: 1.5rem 0; }
.gallery-item { aspect-ratio: 4 / 3; background: var(--bg-alt); border-radius: var(--radius-sm); border: 1px solid var(--border); position: relative; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-placeholder { display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: var(--gold); height: 100%; background: linear-gradient(135deg, var(--cream) 0%, var(--amber) 100%); }
.gallery-caption { padding: .5rem .75rem; font-size: .85rem; color: var(--text-muted); background: var(--cream); border-top: 1px solid var(--border); }

/* ── Form ── */
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: .3rem; color: var(--text); }
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%; padding: .7rem .85rem;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--cream-soft); color: var(--text);
  font-family: var(--font-body); font-size: 1rem;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--gold); background: var(--bg); }

/* ── Call-out blocks ── */
.callout { background: var(--cream); border-left: 4px solid var(--gold); padding: 1rem 1.25rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.5rem 0; }
.callout h3 { margin-top: 0; color: var(--gold-dark); font-size: 1.05rem; }
.callout.warning { border-left-color: var(--barn-red); background: rgba(192,57,43,.05); }
.callout.warning h3 { color: var(--barn-red); }
.callout.tip { border-left-color: var(--forest); background: rgba(74,124,89,.05); }
.callout.tip h3 { color: var(--forest); }
.callout.info { border-left-color: var(--sky); background: rgba(46,134,171,.05); }
.callout.info h3 { color: var(--sky); }

/* ── Footer ── */
.site-footer { background: var(--dark); color: var(--cream); padding: 2.5rem 1.25rem 1.25rem; margin-top: 4rem; }
.site-footer-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.footer-col h3 { color: var(--amber); font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: .75rem; border-bottom: 1px solid var(--warm-gray); padding-bottom: .3rem; }
.footer-col ul { list-style: none; margin: 0; }
.footer-col li { margin-bottom: .35rem; }
.footer-col a { color: var(--cream); text-decoration: none; font-size: .9rem; }
.footer-col a:hover { color: var(--amber); text-decoration: underline; }
.footer-col p { font-size: .9rem; color: #d8c9a7; }
.footer-byline { margin-top: .75rem; font-size: .82rem; color: var(--amber); font-weight: 600; }
.footer-legal { max-width: var(--max-width); margin: 2rem auto 0; padding-top: 1rem; border-top: 1px solid var(--warm-gray); font-size: .8rem; color: #b5a382; text-align: center; }

/* ── Accessibility dialog ── */
.a11y-dialog { position: fixed; inset: 0; background: rgba(44,24,16,.6); z-index: 100; display: none; align-items: center; justify-content: center; padding: 1rem; }
.a11y-dialog.open { display: flex; }
.a11y-panel { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); max-width: 420px; width: 100%; box-shadow: var(--shadow-lg); }
.a11y-header { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
.a11y-header h2 { font-size: 1.2rem; margin: 0; }
.a11y-body { padding: 1rem 1.25rem; }
.a11y-toggle { display: flex; align-items: center; gap: .5rem; padding: .5rem 0; cursor: pointer; }

/* ── A11y preference classes (applied to <html>) ── */
html.a11y-contrast { filter: contrast(1.25); }
html.a11y-large-text { font-size: 18px; }
html.a11y-large-text h1 { font-size: 2.4rem; }
html.a11y-large-text h2 { font-size: 1.9rem; }
html.a11y-reduce-motion *, html.a11y-reduce-motion *::before, html.a11y-reduce-motion *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
html.a11y-link-highlight a { background: rgba(212,160,23,.18); padding: 2px 4px; border-radius: 3px; }
html.a11y-dyslexia-font, html.a11y-dyslexia-font body, html.a11y-dyslexia-font h1, html.a11y-dyslexia-font h2, html.a11y-dyslexia-font h3 { font-family: 'Comic Sans MS', 'Andika', 'OpenDyslexic', sans-serif !important; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* ── Utility ── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.lede { font-family: var(--font-article); font-size: 1.15rem; color: var(--warm-gray); font-style: italic; }

/* ── Blog search ── */
.blog-search { max-width: 620px; margin: 0 auto 2rem; text-align: center; }
.blog-search input[type="search"] {
  width: 100%;
  padding: .75rem 1rem;
  font-size: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--cream-soft);
  color: var(--text);
  font-family: var(--font-body);
  transition: border-color .15s, box-shadow .15s;
}
.blog-search input[type="search"]:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,160,23,.18);
  outline: none;
}
.blog-search-count { font-size: .82rem; color: var(--text-muted); margin-top: .5rem; min-height: 1em; }
.blog-no-results { text-align: center; padding: 2rem; color: var(--text-muted); font-family: var(--font-article); font-style: italic; }

/* ── Share / Export bar ── */
.share-bar { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: .75rem 1.25rem; position: relative; }
.share-bar-inner { max-width: var(--max-width); margin: 0 auto; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.share-bar-label { font-weight: 700; color: var(--text-muted); font-size: .82rem; margin-right: .5rem; text-transform: uppercase; letter-spacing: .06em; }
.share-bar-sep { color: var(--border); margin: 0 .25rem; align-self: center; }
.share-btn {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .4rem .7rem; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--border);
  color: var(--text); font-size: .82rem; font-weight: 600;
  text-decoration: none; cursor: pointer; font-family: var(--font-body);
  transition: all .15s;
}
.share-btn:hover { background: var(--gold); color: var(--dark); border-color: var(--gold-dark); text-decoration: none; }
.share-btn svg { flex-shrink: 0; }
.share-toast {
  position: absolute; left: 50%; bottom: -2.2rem; transform: translateX(-50%);
  background: var(--dark); color: var(--cream); padding: .4rem .9rem;
  border-radius: var(--radius-sm); font-size: .82rem; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transition: opacity .2s;
  z-index: 10;
}
.share-toast.visible { opacity: 1; }

/* ── Print ── */
@media print {
  .site-header, .site-footer, .nav-toggle, .a11y-dialog, .header-controls, .skip-link, .btn, .share-bar, .no-print, .blog-search { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  a { color: #000; text-decoration: underline; }
  .post-hero { padding: 0 0 1rem; border-bottom: 1px solid #000; }
  .post-title { font-size: 20pt; }
  .post-body { max-width: 100%; padding: 1rem 0; }
  .post-body h2 { margin-top: 1.5rem; border-bottom: 1px solid #000; }
  img { max-width: 100%; page-break-inside: avoid; }
  .post-body p, .post-body li { orphans: 3; widows: 3; }
}
