/* ==========================================================================
   WBLL Child Theme — theme.css
   Fonts: Fraunces (headings) · Outfit (body)
   ========================================================================== */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,700;0,9..144,900;1,9..144,300;1,9..144,400;1,9..144,500&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ── CSS CUSTOM PROPERTIES ── */
:root {
  --g:        #55aa39;
  --g-light:  #72c252;
  --g-pale:   #edf7e9;
  --ink:      #111c0d;
  --off:      #f5faf3;
  --white:    #ffffff;
  --muted:    #6b7f63;
  --border:   rgba(85,170,57,0.15);
  --prose:    #243020;
  --warm:     #f9f4ec;
  --radius:   18px;
  --shadow:   0 8px 32px rgba(17,28,13,0.07);
  --trans:    0.25s ease;
}

/* ── BASE ── */
*,
*::before,
*::after { box-sizing: border-box; }

body {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

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

a { color: var(--g); }

/* ==========================================================================
   READING PROGRESS BAR
   ========================================================================== */
#wbll-progress-bar {
  position: fixed;
  top: 0; left: 0;
  z-index: 700;
  height: 3px;
  width: 0%;
  background: linear-gradient(to right, var(--g), var(--g-light));
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ==========================================================================
   SINGLE POST HERO
   ========================================================================== */
.post-hero {
  position: relative;
  height: 520px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17,28,13,0.92) 0%,
    rgba(17,28,13,0.6) 40%,
    rgba(17,28,13,0.2) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 5vw 3rem;
  max-width: 900px;
}

/* Breadcrumb */
.post-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.post-breadcrumb a {
  color: rgba(114,194,82,0.85);
  text-decoration: none;
  transition: color var(--trans);
}
.post-breadcrumb a:hover { color: var(--g-light); }
.post-breadcrumb .sep { opacity: 0.25; }

/* Kicker */
.post-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--g-light);
  font-weight: 600;
  margin-bottom: 0.9rem;
  text-decoration: none;
  transition: color var(--trans);
}
.post-kicker::before {
  content: '';
  width: 18px; height: 2px;
  background: currentColor;
  display: block;
  border-radius: 2px;
}
.post-kicker:hover { color: white; }

/* Title */
.post-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: 1.2rem;
}

/* Meta bar */
.post-meta-bar {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.meta-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-right: 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.12);
  margin-right: 1.5rem;
}
.meta-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--g);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 0.85rem;
  color: white;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.2);
}
.meta-author-name { display: block; font-size: 0.85rem; font-weight: 600; color: white; }
.meta-author-sub  { display: block; font-size: 0.68rem; color: rgba(255,255,255,0.35); margin-top: 0.05rem; }
.meta-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  padding-right: 1.4rem;
  margin-right: 1.4rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.meta-pill:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.meta-pill-icon { font-size: 0.82rem; }
.meta-pill strong { color: rgba(255,255,255,0.75); font-weight: 500; }

/* ==========================================================================
   POST LAYOUT: ARTICLE + SIDEBAR
   ========================================================================== */
.post-container {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 0 3rem;
  padding: 5rem 5vw 0;
  align-items: start;
  max-width: 1440px;
  margin: 0 auto;
}

/* ── ARTICLE ── */
.article-col { min-width: 0; }

.article-category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--g);
  font-weight: 600;
  margin-bottom: 2.5rem;
  text-decoration: none;
  transition: text-decoration var(--trans);
}
.article-category::before {
  content: '';
  width: 16px; height: 2px;
  background: var(--g);
  display: block;
}
.article-category:hover { text-decoration: underline; }

/* Drop cap */
.article-body > p:first-of-type { font-size: 1.15rem; }
.article-body > p:first-of-type::first-letter {
  font-family: 'Fraunces', serif;
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 0.75;
  color: var(--g);
  float: left;
  margin-right: 0.1em;
  margin-top: 0.08em;
  margin-bottom: 0.02em;
}

/* Prose */
.article-body p {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--prose);
  line-height: 1.9;
  margin-bottom: 1.75rem;
  letter-spacing: 0.005em;
}
.article-body p strong { font-weight: 700; color: var(--ink); }

.article-body h2,
.article-body h3,
.article-body h4 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  color: var(--ink);
  margin: 3rem 0 1.2rem;
  line-height: 1.2;
}
.article-body h2 { font-size: 1.75rem; }
.article-body h3 { font-size: 1.35rem; }
.article-body h4 { font-size: 1.1rem; }

.article-body ul,
.article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.75rem;
  color: var(--prose);
  font-size: 1.05rem;
  line-height: 1.8;
}
.article-body li { margin-bottom: 0.4rem; }

.article-body blockquote {
  margin: 3rem 0;
  padding: 2rem 2rem 2rem 2.5rem;
  background: var(--warm);
  border-radius: 0 var(--radius) var(--radius) 0;
  border-left: 4px solid var(--g);
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.5;
}

.article-body figure {
  margin: 3.5rem 0;
}
.article-body figure img {
  width: 100%;
  border-radius: var(--radius);
}
.article-body figcaption {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
  padding: 0.6rem 0.8rem;
  background: var(--off);
  border-radius: 0 0 var(--radius) var(--radius);
}

.article-body a {
  color: var(--g);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--trans);
}
.article-body a:hover { color: var(--g-light); }

/* ── POST FOOTER ── */
.post-footer { padding: 4rem 0 3rem; }

.tag-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding: 2rem 0;
  border-top: 1px solid rgba(85,170,57,0.1);
}
.tag-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.tag {
  padding: 0.3rem 0.9rem;
  background: var(--g-pale);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--g);
  text-decoration: none;
  transition: all var(--trans);
}
.tag:hover { background: var(--g); color: white; border-color: var(--g); }

.share-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.5rem 0 2rem;
  border-bottom: 1px solid rgba(85,170,57,0.1);
  margin-bottom: 3rem;
}
.share-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-right: 0.3rem;
}
.share-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(17,28,13,0.1);
  background: var(--off);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  color: var(--muted);
  transition: all var(--trans);
  font-family: inherit;
}
.share-btn:hover {
  background: var(--g);
  color: white;
  border-color: var(--g);
  transform: translateY(-2px);
}

/* Author Bio */
.author-bio {
  background: var(--off);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  border: 1px solid var(--border);
  margin-bottom: 4rem;
}
.bio-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--g);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: white;
  flex-shrink: 0;
}
.bio-name {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.bio-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 0.8rem;
}
.bio-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--g);
  text-decoration: none;
}
.bio-link:hover { text-decoration: underline; }

/* Comments */
.comments-block { margin-bottom: 6rem; }

/* ── SIDEBAR ── */
.sidebar-col {
  position: sticky;
  top: 96px;
}

.sidebar-widget {
  background: var(--white);
  border: 1px solid rgba(85,170,57,0.09);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.widget-head {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid rgba(85,170,57,0.08);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--g);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.widget-head::before {
  content: '';
  width: 12px; height: 2px;
  background: var(--g);
  border-radius: 2px;
}
.widget-body { padding: 1.4rem 1.5rem; }

/* Related mini posts */
.related-mini {
  display: flex;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(85,170,57,0.06);
  text-decoration: none;
  align-items: flex-start;
}
.related-mini:last-child { border-bottom: none; padding-bottom: 0; }
.related-mini-img {
  width: 60px; height: 60px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.related-mini-title {
  font-family: 'Fraunces', serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 0.2rem;
  transition: color var(--trans);
}
.related-mini:hover .related-mini-title { color: var(--g); }
.related-mini-date { font-size: 0.7rem; color: var(--muted); }

/* Sidebar Donate CTA */
.sidebar-donate {
  background: linear-gradient(135deg, var(--ink) 0%, #1a3012 100%);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(85,170,57,0.1);
  position: relative;
  overflow: hidden;
}
.sidebar-donate::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85,170,57,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.sidebar-donate h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}
.sidebar-donate p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}
.sidebar-donate a {
  display: block;
  background: var(--g);
  color: white;
  padding: 0.7rem;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  transition: background var(--trans);
  position: relative;
  z-index: 1;
}
.sidebar-donate a:hover { background: var(--g-light); }

/* ==========================================================================
   MORE POSTS SECTION (single post page)
   Uses same horizontal margin as post-container — no inner max-width boxing
   ========================================================================== */
.more-section {
  background: var(--off);
  padding: 5rem 5vw;
  margin-top: 4rem;
}

.more-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(85,170,57,0.1);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
.more-head h2 {
  font-family: 'Fraunces', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.1;
}
.more-head h2 em { font-style: italic; font-weight: 300; color: var(--g); }
.more-head a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--g);
  text-decoration: none;
  white-space: nowrap;
}
.more-head a:hover { text-decoration: underline; }

.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================================================
   POST CARD (shared — blog index, archives, search, more section, widget)
   ========================================================================== */
.wbll-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(85,170,57,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.wbll-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 50px rgba(85,170,57,0.1);
  border-color: var(--g);
}

.wbll-card__img-wrap {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.wbll-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.wbll-card:hover .wbll-card__img { transform: scale(1.03); }
.wbll-card__img--placeholder {
  aspect-ratio: 16 / 10;
  background: var(--g-pale);
}

.wbll-card__body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.wbll-card__cat {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--g);
  font-weight: 700;
  margin-bottom: 0.6rem;
  display: block;
  text-decoration: none;
  transition: color var(--trans);
}
.wbll-card__cat:hover { color: var(--g-light); }

.wbll-card__title {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}
.wbll-card__title a {
  color: var(--ink);
  text-decoration: none;
  transition: color var(--trans);
}
.wbll-card:hover .wbll-card__title a { color: var(--g); }

.wbll-card__excerpt {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.3rem;
  flex: 1;
}

.wbll-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(85,170,57,0.07);
}

.wbll-card__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: 0.72rem;
  color: var(--muted);
}
.wbll-card__meta span + span::before {
  content: '·';
  margin-right: 0.6rem;
}

.wbll-card__cta {
  color: var(--g);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--trans);
  white-space: nowrap;
}
.wbll-card:hover .wbll-card__cta { gap: 0.5rem; }

/* ==========================================================================
   ARCHIVE & BLOG INDEX LAYOUT
   ========================================================================== */
.wbll-archive-wrap { padding-bottom: 6rem; }

/* ── Blog index hero (home.php) — dark, full width ── */
.wbll-archive-hero {
  background: var(--ink);
  padding: 5rem 5vw 4rem;
  margin-bottom: 0;
  width: 100%;
  box-sizing: border-box;
}
.wbll-archive-hero__inner {
  max-width: 100%;
}

/* ── Category archive hero (archive.php) — dark, full width ── */
.wbll-archive-header {
  background: var(--ink);
  padding: 5rem 5vw 4rem;
  margin-bottom: 0;
  width: 100%;
  box-sizing: border-box;
}
.wbll-archive-header__inner {
  max-width: 100%;
}

/* Shared label + title styles for both hero types */
.wbll-archive-label {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--g-light);
  font-weight: 700;
  margin-bottom: 0.8rem;
  font-family: 'Outfit', sans-serif;
}
.wbll-archive-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}
.wbll-archive-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  max-width: 600px;
  margin-top: 1rem;
}

/* ── Category filter pills ── */
.wbll-cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.8rem 5vw;
  background: white;
  border-bottom: 1px solid rgba(85,170,57,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  box-sizing: border-box;
}
.wbll-cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(85,170,57,0.25);
  background: transparent;
  color: var(--ink);
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  line-height: 1;
}
.wbll-cat-pill:hover {
  border-color: var(--g);
  color: var(--g);
  background: rgba(85,170,57,0.05);
}
.wbll-cat-pill.is-active {
  background: var(--g);
  border-color: var(--g);
  color: white;
}
.wbll-cat-pill.is-loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Author header inside archive */
.wbll-author-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.5rem;
}
.wbll-author-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border);
}
.wbll-author-meta { display: flex; flex-direction: column; gap: 0.2rem; }
.wbll-author-meta strong { font-family: 'Fraunces', serif; font-size: 1.1rem; font-weight: 700; color: white; }
.wbll-author-meta span { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* Posts grid */
.wbll-archive-container {
  width: 100%;
  padding: 3rem 5vw 0;
  box-sizing: border-box;
}

.wbll-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

/* Loop widget grid */
.wbll-loop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* No results */
.wbll-no-results {
  text-align: center;
  padding: 5rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}
.wbll-no-results__icon { font-size: 3rem; margin-bottom: 1.5rem; }
.wbll-no-results__title {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 1rem;
}
.wbll-no-results__text {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Search form inside no-results */
.wbll-search-form-wrap { margin-bottom: 3rem; }
.wbll-fallback-posts__heading {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.5rem;
  text-align: left;
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */
.wbll-pagination {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}
.wbll-pagination__list {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.wbll-pagination__item a,
.wbll-pagination__item span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.8rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: all var(--trans);
  color: var(--muted);
}
.wbll-pagination__item a:hover {
  background: var(--g-pale);
  border-color: var(--border);
  color: var(--g);
}
.wbll-pagination__item .current {
  background: var(--g);
  color: white;
  border-color: var(--g);
}

/* ==========================================================================
   SEARCH PAGE
   ========================================================================== */
.wbll-search-empty { padding: 4rem 2rem; }

/* WordPress default search form styling */
.search-form {
  display: flex;
  gap: 0.5rem;
  max-width: 500px;
  margin: 0 auto;
}
.search-form .search-field {
  flex: 1;
  padding: 0.85rem 1.2rem;
  border: 1.5px solid rgba(17,28,13,0.1);
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.search-form .search-field:focus {
  border-color: var(--g);
  box-shadow: 0 0 0 3px rgba(85,170,57,0.1);
}
.search-form .search-submit {
  padding: 0.85rem 1.6rem;
  background: var(--g);
  color: white;
  border: none;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--trans);
}
.search-form .search-submit:hover { background: var(--g-light); }

/* ==========================================================================
   404 PAGE
   ========================================================================== */
.wbll-404-wrap {
  padding: 8rem 5vw 6rem;
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
}
.wbll-404-eyebrow,
.wbll-404-title,
.wbll-404-text,
.wbll-404-actions {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.wbll-404-eyebrow {
  font-family: 'Fraunces', serif;
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--g-pale);
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}
.wbll-404-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 1.2rem;
}
.wbll-404-text {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 500px;
  margin: 0 auto 2.5rem;
}
.wbll-404-search {
  margin-bottom: 2.5rem;
  display: flex;
  justify-content: center;
}
.wbll-404-search > *,
.wbll-404-search .search-form,
.wbll-404-search form,
.wbll-404-search div[role="search"] {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 500px;
}
.wbll-404-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}
.wbll-404-recent { text-align: left; }
.wbll-404-recent__heading {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.wbll-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.8rem;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--trans);
  cursor: pointer;
  border: 2px solid transparent;
}
.wbll-btn--primary {
  background: var(--g);
  color: white;
  border-color: var(--g);
}
.wbll-btn--primary:hover { background: var(--g-light); border-color: var(--g-light); color: white; }
.wbll-btn--outline {
  background: transparent;
  color: var(--g);
  border-color: var(--g);
}
.wbll-btn--outline:hover { background: var(--g); color: white; }

/* ==========================================================================
   COMMENTS (WordPress default, lightly styled)
   ========================================================================== */
.comments-area { margin-bottom: 4rem; }
.comments-title {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 2rem;
}
.comment-list { list-style: none; padding: 0; margin: 0 0 3rem; }
.comment {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(85,170,57,0.08);
}
.comment-author .fn {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  color: var(--ink);
}
.comment-meta {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}
.comment-content p {
  font-size: 0.95rem;
  color: var(--prose);
  line-height: 1.75;
}

/* Comment form */
.comment-form label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid rgba(17,28,13,0.09);
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color var(--trans), box-shadow var(--trans);
  margin-bottom: 1.1rem;
}
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--g);
  box-shadow: 0 0 0 3px rgba(85,170,57,0.1);
}
.comment-form textarea { min-height: 110px; resize: vertical; }
.comment-form .submit {
  padding: 0.9rem 2.2rem;
  background: var(--g);
  color: white;
  border: none;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--trans), transform var(--trans);
  box-shadow: 0 4px 16px rgba(85,170,57,0.25);
}
.comment-form .submit:hover { background: var(--g-light); transform: translateY(-1px); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .post-container { grid-template-columns: 1fr; gap: 0; }
  .sidebar-col { display: none; }
  .wbll-posts-grid { grid-template-columns: repeat(2, 1fr); }
  .more-grid       { grid-template-columns: repeat(2, 1fr); }
  .wbll-loop-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .post-container  { padding: 3rem 5vw 0; }
  .more-section    { padding: 4rem 5vw; }
  .wbll-posts-grid { grid-template-columns: 1fr; }
  .more-grid       { grid-template-columns: 1fr; }
  .wbll-loop-grid  { grid-template-columns: 1fr; }
  .post-title      { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  .meta-author-wrap { border-right: none; padding-right: 0; margin-right: 0; }
  .meta-pill { display: none; }
  .author-bio { flex-direction: column; gap: 1.2rem; }
  .more-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 480px) {
  .wbll-404-eyebrow { font-size: 5rem; }
}

/* ==========================================================================
   AJAX PAGINATION (numbered)
   ========================================================================== */
.wbll-pagination {
  display: flex;
  justify-content: center;
  padding: 3rem 0 1rem;
}
.wbll-pagination__list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  padding: 0; margin: 0;
  flex-wrap: wrap;
}
.wbll-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  border: 1.5px solid transparent;
  background: transparent;
  color: var(--muted);
  transition: all var(--trans);
  text-decoration: none;
}
.wbll-page-btn:hover {
  background: var(--g-pale);
  border-color: var(--border);
  color: var(--g);
}
.wbll-page-btn.current {
  background: var(--g);
  color: white;
  border-color: var(--g);
  cursor: default;
}
.wbll-pagination__ellipsis span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  color: var(--muted);
  font-size: 0.82rem;
}
.wbll-posts-grid.is-loading {
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.2s;
}

/* ==========================================================================
   CAROUSEL
   ========================================================================== */
.wbll-carousel-wrap {
  position: relative;
  padding-bottom: 2.5rem;
}
.wbll-carousel-wrap .swiper {
  overflow: hidden;
  border-radius: var(--radius);
}
.wbll-carousel-wrap .swiper-slide {
  height: auto;
  display: flex;
}
.wbll-carousel-wrap .swiper-slide .wbll-card {
  width: 100%;
}
.swiper-pagination-bullet {
  background: var(--g-pale);
  opacity: 1;
  width: 8px; height: 8px;
  transition: all var(--trans);
}
.swiper-pagination-bullet-active {
  background: var(--g);
  width: 24px;
  border-radius: 4px;
}
.wbll-swiper-prev,
.wbll-swiper-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border);
  box-shadow: 0 4px 16px rgba(17,28,13,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--ink);
  font-family: inherit;
  transition: all var(--trans);
}
.wbll-swiper-prev { left: -20px; }
.wbll-swiper-next { right: -20px; }
.wbll-swiper-prev:hover,
.wbll-swiper-next:hover {
  background: var(--g);
  color: white;
  border-color: var(--g);
}
@media (max-width: 768px) {
  .wbll-swiper-prev { left: 0; }
  .wbll-swiper-next { right: 0; }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.wbll-marquee-track-wrap {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.wbll-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: wbll-marquee-scroll linear infinite;
  will-change: transform;
  gap: 0;
}
@keyframes wbll-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.wbll-marquee-track:hover { animation-play-state: paused; }
.wbll-marquee-item {
  white-space: nowrap;
  padding: 0 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.wbll-marquee-dot {
  font-size: 0.8em;
  opacity: 0.7;
  flex-shrink: 0;
}

/* ==========================================================================
   MOBILE MENU
   ========================================================================== */

/* Desktop inline nav — hidden by default, shown via inline breakpoint style */
.wbll-mm-desktop { align-items: center; display: none; }
/* Hamburger — shown by default, hidden via inline breakpoint style */
.wbll-mm-hamburger { display: flex; }
.wbll-mm-desktop-list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  padding: 0; margin: 0;
}
.wbll-mm-desktop-list li a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
  transition: all var(--trans);
  font-family: 'Outfit', sans-serif;
}
.wbll-mm-desktop-list li a:hover { color: var(--g); background: var(--g-pale); }
.wbll-mm-desktop-list li.current-menu-item > a { color: var(--g); font-weight: 700; }
/* Desktop submenu */
.wbll-mm-desktop-list .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 0.75rem 0.5rem 0.5rem;
  min-width: 200px;
  list-style: none;
  z-index: 200;
}
.wbll-mm-desktop-list .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  margin-left: 4px;
}
.wbll-mm-desktop-list li { position: relative; }
.wbll-mm-desktop-list li::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 10px;
  display: none;
}
.wbll-mm-desktop-list li:hover::after { display: block; }
.wbll-mm-desktop-list li:hover > .sub-menu { display: block; }

/* Hamburger button — overrides Elementor global button styles */
.wbll-mm-hamburger,
.wbll-mm-hamburger:hover,
.wbll-mm-hamburger:focus,
.wbll-mm-hamburger:active {
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  width: 32px !important;
  height: 22px !important;
  min-height: unset !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  padding: 0 !important;
  margin: 0;
  gap: 6px;
  color: inherit !important;
}
.wbll-mm-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.wbll-mm-hamburger[aria-expanded="true"] .wbll-mm-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.wbll-mm-hamburger[aria-expanded="true"] .wbll-mm-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.wbll-mm-hamburger[aria-expanded="true"] .wbll-mm-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Slide-out panel */
.wbll-mm-panel {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: auto !important;
  bottom: auto !important;
  height: 100% !important;
  width: min(360px, 90vw) !important;
  background: var(--white) !important;
  z-index: 99999 !important;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  box-shadow: -8px 0 40px rgba(17,28,13,0.15) !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
}
.wbll-mm-panel.is-open {
  transform: translateX(0);
}
.wbll-mm-panel-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 2rem;
}
.wbll-mm-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(85,170,57,0.1);
}
.wbll-mm-logo-link img.wbll-mm-logo { max-height: 48px; width: auto; }
.wbll-mm-logo-text {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--ink);
  text-decoration: none;
}
.wbll-mm-close,
.wbll-mm-close:hover,
.wbll-mm-close:focus,
.wbll-mm-close:active {
  width: 36px !important;
  height: 36px !important;
  min-height: unset !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(17,28,13,0.1) !important;
  background: var(--off) !important;
  background-image: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.3rem !important;
  cursor: pointer;
  color: var(--ink) !important;
  font-family: inherit;
  transition: all var(--trans);
  flex-shrink: 0;
  box-shadow: none !important;
  padding: 0 !important;
  line-height: 1 !important;
}
.wbll-mm-close:hover { background: var(--g) !important; color: white !important; border-color: var(--g) !important; }

/* Panel nav items */
.wbll-mm-panel-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.wbll-mm-panel-list li a {
  display: block;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  transition: all var(--trans);
  border-left: 3px solid transparent;
}
.wbll-mm-panel-list li a:hover {
  background: var(--g-pale);
  color: var(--g);
  border-left-color: var(--g);
  padding-left: 1.4rem;
}
.wbll-mm-panel-list li.current-menu-item > a {
  color: var(--g);
  font-weight: 700;
  background: var(--g-pale);
  border-left-color: var(--g);
}
/* Panel submenu */
.wbll-mm-panel-list .sub-menu {
  display: none !important;
  list-style: none;
  padding: 0.25rem 0 0.25rem 1rem;
  margin: 0;
}
.wbll-mm-panel-list .sub-menu.is-open {
  display: block !important;
}
.wbll-mm-panel-list .sub-menu a {
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
  border-left: none;
  color: var(--muted);
}
.wbll-mm-panel-list .sub-menu a:hover {
  color: var(--g);
}
/* Parent item toggle indicator */
.wbll-mm-has-children > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wbll-mm-has-children > a::after {
  content: "+";
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 0.5rem;
}
.wbll-mm-has-children.is-open > a::after {
  content: "−";
}

/* Backdrop */
.wbll-mm-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17,28,13,0.5);
  z-index: 99998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(2px);
}
.wbll-mm-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SEARCH WIDGET
═══════════════════════════════════════════════════════════════════════════ */
.wbll-search-wrap {
  display: flex;
  align-items: stretch;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid rgba(17,28,13,0.15);
  background: #fff;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.wbll-search-wrap:focus-within {
  border-color: var(--g);
  box-shadow: 0 0 0 3px rgba(61,131,68,0.15);
}
.wbll-search-input {
  flex: 1;
  border: none !important;
  outline: none !important;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  background: transparent;
  box-shadow: none !important;
  min-width: 0;
}
.wbll-search-input::placeholder { color: var(--muted); }
.wbll-search-btn,
.wbll-search-btn:hover,
.wbll-search-btn:focus,
.wbll-search-btn:active {
  border: none !important;
  outline: none;
  background-color: var(--g) !important;
  background-image: none !important;
  color: #fff !important;
  padding: 0.75rem 1.25rem !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: background-color var(--trans);
  min-height: unset !important;
}
.wbll-search-btn:hover { background-color: var(--g-dark, #2d6b33) !important; }
.wbll-search-wrap--no-btn .wbll-search-input {
  border-radius: 8px;
}

/* ==========================================================================
   SEARCH POPUP WIDGET
   ========================================================================== */
.wbll-search-trigger {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: color var(--trans);
  line-height: 1;
}
.wbll-search-trigger:hover { color: var(--g); }
.wbll-search-trigger svg {
  width: 22px;
  height: 22px;
  display: block;
  pointer-events: none;
}

/* Backdrop */
.wbll-search-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  background: rgba(17, 28, 13, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 2rem;
  box-sizing: border-box;
}
.wbll-search-popup.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Floating card */
.wbll-search-popup__inner {
  background: #F5FAF3;
  border-radius: 20px;
  width: 90%;
  max-width: 580px;
  margin: auto;
  padding: 2.5rem 2.5rem 2rem;
  position: relative;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.22s ease;
  box-shadow: 0 24px 64px rgba(17, 28, 13, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (max-width: 480px) {
  .wbll-search-popup__inner {
    width: 95%;
    padding: 2rem 1.5rem 1.5rem;
  }
}
.wbll-search-popup.is-open .wbll-search-popup__inner {
  transform: translateY(0) scale(1);
}

/* Header row */
.wbll-search-popup__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wbll-search-popup__label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--g);
  font-family: 'Outfit', sans-serif;
}

/* Close button */
.wbll-search-popup__close {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--trans);
  line-height: 1;
  flex-shrink: 0;
}
.wbll-search-popup__close:hover {
  background: var(--g);
  border-color: var(--g);
  color: white;
}

/* Search form */
.wbll-search-popup__form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  border: 1.5px solid rgba(17, 28, 13, 0.08);
  border-radius: 12px;
  padding: 0.6rem 0.8rem;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.wbll-search-popup__form:focus-within {
  border-color: var(--g);
  box-shadow: 0 0 0 3px rgba(85, 170, 57, 0.1);
}

.wbll-search-popup__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--ink);
  caret-color: var(--g);
  padding: 0.25rem 0;
  min-width: 0;
}
.wbll-search-popup__input::placeholder {
  color: var(--muted);
}

.wbll-search-popup__submit {
  background: var(--g);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.6rem;
  transition: background var(--trans);
  flex-shrink: 0;
}
.wbll-search-popup__submit:hover { background: var(--g-light); }
.wbll-search-popup__submit svg { width: 16px; height: 16px; }

/* Hint */
.wbll-search-popup__hint {
  font-size: 0.72rem;
  color: var(--muted);
  font-family: 'Outfit', sans-serif;
  text-align: center;
}
.wbll-search-trigger,
.wbll-search-trigger:hover,
.wbll-search-trigger:focus,
.wbll-search-trigger:active {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--ink) !important;
  padding: 4px !important;
}
.wbll-search-trigger:hover { color: var(--g) !important; }

.wbll-search-popup__submit,
.wbll-search-popup__submit:hover,
.wbll-search-popup__submit:focus,
.wbll-search-popup__submit:active {
  background: var(--g) !important;
  background-color: var(--g) !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
  color: white !important;
  border-radius: 8px !important;
}
.wbll-search-popup__submit:hover {
  background: var(--g-light) !important;
  background-color: var(--g-light) !important;
}