/*
Theme Name:  AffiBlast Child
Template:    twentytwentyfive
Version:     1.0
Description: AffiBlast child theme – consistent branding across all pages.
*/

/* ── Site layout ── */
.afb-site-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.afb-main-content { flex: 1; }
.afb-page-body { max-width: 780px; margin: 0 auto; padding: 60px 24px 80px; line-height: 1.75; font-size: 16px; }

/* ── AffiBlast full styles (body.afb-page scoped) ── */

/* ============================================================
   AffiBlast Landing — Scoped Styles (.afb-page wrapper)
   Fonts synced with app: Inter (body) + Plus Jakarta Sans (logo/headings)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

.afb-page { all: initial; }
/* Break out of Elementor/theme container — full viewport width */
.afb-page {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
  overflow-x: hidden;
}
.afb-page, .afb-page * {
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.afb-page {
  display: block;
  background: #FAF7F0;
  color: #1A1A1A;
  line-height: 1.6;
  font-size: 16px;
}
.afb-page a { text-decoration: none; color: inherit; }
.afb-page img { max-width: 100%; height: auto; display: block; }
.afb-page button { font: inherit; cursor: pointer; border: 0; }
.afb-page ul { list-style: none; padding: 0; margin: 0; }

.afb-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.afb-nav {
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  background: #FAF7F0;
  position: sticky; top: 0; z-index: 100;
}
.afb-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.afb-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; letter-spacing: -0.02em; }
.afb-logo-icon {
  width: 38px; height: 38px; background: #1A1A1A; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.afb-logo-icon svg { width: 22px; height: 22px; }
.afb-logo .b { color: #1A1A1A; position: relative; }
.afb-logo .b::after { content:""; position:absolute; left:0; right:0; bottom:-3px; height:4px; background:#FFD93D; border-radius:2px; }
.afb-nav-links { display: flex; gap: 32px; align-items: center; }
.afb-nav-links a { font-size: 14px; font-weight: 500; color: #555; }
.afb-nav-links a:hover { color: #1A1A1A; }
.afb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 14px;
  transition: transform .15s, box-shadow .15s;
}
/* Higher specificity (class + class) so .afb-page a {color:inherit} can't override button text */
.afb-btn.afb-btn-primary { background: #FFD93D; color: #1A1A1A; box-shadow: 0 4px 14px rgba(255,217,61,.4); }
.afb-btn.afb-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255,217,61,.55); }
.afb-btn.afb-btn-dark { background: #1A1A1A; color: #fff; }
.afb-btn.afb-btn-dark:hover { background: #000; color: #fff; }
.afb-btn.afb-btn-outline { background: transparent; color: #1A1A1A; border: 2px solid #1A1A1A; }
.afb-btn.afb-btn-outline:hover { background: #1A1A1A; color: #fff; }
.afb-btn-lg { padding: 16px 32px; font-size: 16px; }

/* ---------- Hero ---------- */
.afb-hero { padding: 70px 0 50px; }
.afb-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.afb-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #1A1A1A; color: #FFD93D; padding: 6px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  margin-bottom: 20px;
}
.afb-eyebrow .dot { width: 6px; height: 6px; background: #FFD93D; border-radius: 50%; animation: afb-pulse 1.6s infinite; }
@keyframes afb-pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.afb-h1 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 56px; line-height: 1.05; font-weight: 800; letter-spacing: -1.8px;
  margin: 0 0 22px;
}
.afb-h1 .hl { background: linear-gradient(180deg, transparent 60%, #FFD93D 60%); padding: 0 6px; }
.afb-lede { font-size: 19px; color: #555; margin: 0 0 28px; max-width: 560px; }
.afb-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.afb-trust-row { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13px; color: #666; }
.afb-trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.afb-trust-row .check { color: #16a34a; font-weight: 700; }

/* Hero visual: stack-stat panel showing the platform breadth */
.afb-hero-visual {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.04);
}
.afb-stack-head { display: flex; align-items: center; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid #f0f0f0; margin-bottom: 16px; }
.afb-stack-dot { width: 10px; height: 10px; border-radius: 50%; }
.afb-stack-title { font-size: 13px; font-weight: 700; color: #1A1A1A; margin-left: auto; }
.afb-stack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.afb-stack-card {
  background: #FAF7F0; border-radius: 12px; padding: 14px;
  border: 1px solid rgba(0,0,0,.04);
}
.afb-stack-card.hl { background: #1A1A1A; color: #fff; }
.afb-stack-card.hl .afb-stack-label { color: #FFD93D; }
.afb-stack-card.hl .afb-stack-val { color: #fff; }
.afb-stack-label { font-size: 10px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; color: #999; margin-bottom: 6px; }
.afb-stack-val { font-size: 18px; font-weight: 800; font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -0.5px; color: #1A1A1A; }
.afb-stack-sub { font-size: 11px; color: #888; margin-top: 4px; }
.afb-stack-row { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.afb-chip { display: inline-block; background: #fff; color: #555; font-size: 10px; padding: 4px 8px; border-radius: 6px; font-weight: 600; border: 1px solid rgba(0,0,0,.06); }
.afb-chip.y { background: #FFD93D; color: #1A1A1A; border-color: #FFD93D; }
.afb-chip.g { background: #DCFCE7; color: #166534; border-color: #DCFCE7; }
.afb-flow {
  margin-top: 16px;
  background: #FAF7F0;
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px dashed rgba(0,0,0,.1);
}
.afb-flow-title { font-size: 11px; font-weight: 700; color: #777; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.afb-flow-steps { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #1A1A1A; flex-wrap: wrap; }
.afb-flow-arrow { color: #999; font-weight: 700; }

/* ---------- Logos / replace-the-stack strip ---------- */
.afb-replace {
  background: #fff; border-top: 1px solid rgba(0,0,0,.06); border-bottom: 1px solid rgba(0,0,0,.06);
  padding: 32px 0;
}
.afb-replace-inner { text-align: center; }
.afb-replace-label { font-size: 12px; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; }
.afb-replace-list { display: flex; gap: 20px 36px; justify-content: center; align-items: center; flex-wrap: wrap; font-weight: 700; font-size: 17px; color: #1A1A1A; opacity: .55; }
.afb-replace-list .x { color: #d4d4d4; font-weight: 400; font-size: 14px; }

/* ---------- Problem section ---------- */
.afb-problem { background: #1A1A1A; color: #fff; padding: 90px 0; }
.afb-problem-title { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 38px; font-weight: 800; text-align: center; margin: 0 0 16px; letter-spacing: -1.2px; line-height: 1.15; }
.afb-problem-sub { text-align: center; color: #aaa; font-size: 17px; max-width: 680px; margin: 0 auto 56px; }
.afb-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.afb-stat {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  padding: 32px 28px; border-radius: 16px;
}
.afb-stat-num { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 52px; font-weight: 800; color: #FFD93D; line-height: 1; letter-spacing: -2px; margin-bottom: 12px; }
.afb-stat-label { font-size: 16px; font-weight: 600; color: #fff; margin-bottom: 8px; line-height: 1.4; }
.afb-stat-source { font-size: 12px; color: #888; }

/* ---------- Solution intro ---------- */
.afb-solution { padding: 100px 0 50px; }
.afb-section-eyebrow { font-size: 13px; font-weight: 700; color: #1A1A1A; background: #FFD93D; padding: 4px 12px; border-radius: 999px; display: inline-block; letter-spacing: .5px; text-transform: uppercase; }
.afb-section-eyebrow-wrap { text-align: center; margin-bottom: 14px; }
.afb-h2 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 44px; font-weight: 800; text-align: center; margin: 14px 0 18px; letter-spacing: -1.6px; line-height: 1.1; }
.afb-section-sub { font-size: 18px; color: #555; text-align: center; max-width: 720px; margin: 0 auto 60px; }

/* ---------- Features (pillars) ---------- */
.afb-features { padding: 20px 0 100px; }
.afb-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.afb-feat {
  background: #fff; border-radius: 18px; padding: 30px 26px;
  border: 1px solid rgba(0,0,0,.06); transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.afb-feat:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,.08); }
.afb-feat-icon {
  width: 52px; height: 52px; background: #FFD93D; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.afb-feat-icon svg { width: 26px; height: 26px; color: #1A1A1A; }
.afb-feat h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 19px; font-weight: 700; margin: 0 0 10px; letter-spacing: -.3px; }
.afb-feat p { color: #555; font-size: 15px; margin: 0 0 14px; line-height: 1.55; }
.afb-feat-list { font-size: 13px; color: #666; margin-top: auto; }
.afb-feat-list li { padding: 4px 0; display: flex; gap: 8px; align-items: flex-start; }
.afb-feat-list li::before { content: "→"; color: #FFD93D; font-weight: 800; }

/* ---------- How it works ---------- */
.afb-how { background: #1A1A1A; color: #fff; padding: 100px 0; }
.afb-how .afb-h2 { color: #fff; }
.afb-how .afb-section-sub { color: #aaa; }
.afb-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.afb-step {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 30px 24px 24px; position: relative;
}
.afb-step-num {
  position: absolute; top: -16px; left: 24px;
  width: 36px; height: 36px; background: #FFD93D; color: #1A1A1A;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; font-family: 'Plus Jakarta Sans', sans-serif;
}
.afb-step h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 17px; font-weight: 700; margin: 16px 0 10px; }
.afb-step p { color: #aaa; font-size: 14px; margin: 0; line-height: 1.55; }

/* ---------- Use cases ---------- */
.afb-uc { padding: 100px 0 70px; background: #fff; }
.afb-uc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 50px; }
.afb-uc-card {
  background: #FAF7F0; border-radius: 14px; padding: 24px 22px;
  border: 1px solid rgba(0,0,0,.05);
}
.afb-uc-card h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.afb-uc-card p { color: #666; font-size: 14px; margin: 0; line-height: 1.5; }
.afb-uc-emoji { font-size: 28px; margin-bottom: 10px; display: block; }

/* ---------- Pricing ---------- */
.afb-pricing { padding: 100px 0; }
.afb-billing-toggle {
  display: inline-flex; background: #fff; border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px; padding: 4px; margin: 0 auto 48px;
  position: relative;
}
.afb-billing-toggle-wrap { text-align: center; }
.afb-billing-toggle button {
  padding: 10px 22px; border-radius: 999px; background: transparent;
  font-weight: 600; font-size: 14px; color: #666; transition: all .2s;
}
.afb-billing-toggle button.active { background: #1A1A1A; color: #fff; }
.afb-save-badge { background: #FFD93D; color: #1A1A1A; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 8px; margin-left: 6px; }
.afb-tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.afb-tier {
  background: #fff; border-radius: 18px; padding: 30px 24px;
  border: 1px solid rgba(0,0,0,.06); position: relative;
  display: flex; flex-direction: column;
}
.afb-tier.featured { border: 2px solid #1A1A1A; background: #1A1A1A; color: #fff; transform: scale(1.03); }
.afb-tier.featured .afb-tier-feat { color: #ccc; }
.afb-tier.featured .afb-tier-feat .check { color: #FFD93D; }
.afb-popular-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #FFD93D; color: #1A1A1A; font-size: 11px; font-weight: 800;
  padding: 4px 14px; border-radius: 999px; letter-spacing: .5px; text-transform: uppercase;
}
.afb-tier-name { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; opacity: .7; }
.afb-tier-price { display: flex; align-items: baseline; gap: 4px; margin: 12px 0 4px; }
.afb-tier-price .currency { font-size: 22px; font-weight: 700; opacity: .7; }
.afb-tier-price .amount { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 46px; font-weight: 800; letter-spacing: -2px; line-height: 1; }
.afb-tier-price .period { font-size: 14px; opacity: .6; margin-left: 4px; }
.afb-tier-tagline { font-size: 14px; opacity: .65; margin-bottom: 22px; min-height: 40px; }
.afb-tier-feats { flex: 1; margin-bottom: 24px; }
.afb-tier-feat {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 0; font-size: 14px; color: #555;
}
.afb-tier-feat .check { color: #16a34a; font-weight: 800; flex-shrink: 0; margin-top: 2px; }
.afb-tier-feat .x { color: #ccc; flex-shrink: 0; margin-top: 2px; }
.afb-tier-cta { display: block; text-align: center; padding: 14px; border-radius: 12px; font-weight: 700; font-size: 14px; }
/* Higher specificity (class + class) so .afb-page a {color:inherit} can't override */
.afb-tier-cta.afb-tier-cta-light { background: #1A1A1A; color: #fff; }
.afb-tier-cta.afb-tier-cta-light:hover { background: #000; color: #fff; }
.afb-tier-cta.afb-tier-cta-yellow { background: #FFD93D; color: #1A1A1A; }
.afb-tier-cta.afb-tier-cta-yellow:hover { background: #FFC700; color: #1A1A1A; }
.afb-tier-cta.afb-tier-cta-ghost { background: #f5f5f5; color: #1A1A1A; }
.afb-tier-cta.afb-tier-cta-ghost:hover { background: #e5e5e5; color: #1A1A1A; }

/* ---------- FAQ ---------- */
.afb-faq { padding: 100px 0; background: #FAF7F0; }
.afb-faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.afb-faq-item {
  background: #fff; border-radius: 14px; border: 1px solid rgba(0,0,0,.05);
  padding: 20px 24px; transition: all .2s;
}
.afb-faq-item summary {
  cursor: pointer; list-style: none; font-weight: 600; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}
.afb-faq-item summary::-webkit-details-marker { display: none; }
.afb-faq-item summary::after { content: "+"; font-size: 24px; font-weight: 400; color: #999; transition: transform .2s; flex-shrink: 0; }
.afb-faq-item[open] summary::after { transform: rotate(45deg); }
.afb-faq-item p { color: #555; margin: 14px 0 0; font-size: 15px; line-height: 1.65; }

/* ---------- Final CTA ---------- */
.afb-final-cta { padding: 100px 0; background: linear-gradient(135deg, #FFD93D 0%, #FFE873 100%); position: relative; overflow: hidden; }
.afb-final-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(255,255,255,.5), transparent 50%);
  pointer-events: none;
}
.afb-final-cta-inner { position: relative; text-align: center; max-width: 740px; margin: 0 auto; }
.afb-final-cta h2 { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 48px; font-weight: 800; margin: 0 0 18px; letter-spacing: -1.6px; line-height: 1.1; }
.afb-final-cta p { font-size: 19px; color: #1A1A1A; opacity: .8; margin: 0 0 32px; }
.afb-final-cta .afb-btn-dark { padding: 18px 40px; font-size: 16px; }

/* ---------- Footer ---------- */
.afb-footer { background: #1A1A1A; color: #888; padding: 60px 0 32px; }
.afb-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.afb-footer-grid .afb-logo { color: #fff; margin-bottom: 16px; }
.afb-footer-grid .afb-logo .b { color: #fff; }
/* On dark footer, swap the icon block to yellow so it doesn't blend into the bg */
.afb-footer .afb-logo-icon { background: #FFD93D; }
.afb-footer .afb-logo-icon svg path[fill="#FFD93D"] { fill: #1A1A1A; }
.afb-footer .afb-logo-icon svg circle[fill="#1A1A1A"] { fill: #FFD93D; }
.afb-footer-blurb { font-size: 14px; max-width: 320px; line-height: 1.65; }
.afb-footer-col h5 { font-family: 'Plus Jakarta Sans', sans-serif; color: #fff; font-size: 14px; font-weight: 700; margin: 0 0 16px; letter-spacing: .5px; text-transform: uppercase; }
.afb-footer-col ul li { margin-bottom: 10px; }
.afb-footer-col a { font-size: 14px; color: #888; }
.afb-footer-col a:hover { color: #FFD93D; }
.afb-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; }

/* ---------- Mobile ---------- */

/* ── Mobile Hamburger ── */
.afb-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 101;
}
.afb-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1A1A1A;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.afb-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.afb-hamburger.open span:nth-child(2) { opacity: 0; }
.afb-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.afb-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: #FAF7F0;
  border-top: 1px solid rgba(0,0,0,.08);
  border-bottom: 1px solid rgba(0,0,0,.08);
  flex-direction: column;
  padding: 8px 20px 16px;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.afb-mobile-menu.open { display: flex; }
.afb-mobile-menu a:not(.afb-btn) {
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid rgba(0,0,0,.06);
  color: #1A1A1A;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
}
.afb-mobile-menu .afb-btn {
  margin-top: 14px;
  text-align: center;
  display: block;
}


@media (max-width: 900px) {
  .afb-hero-grid, .afb-stat-grid, .afb-feat-grid, .afb-steps, .afb-tier-grid, .afb-uc-grid, .afb-footer-grid { grid-template-columns: 1fr !important; }
  .afb-h1 { font-size: 38px; }
  .afb-h2, .afb-problem-title, .afb-final-cta h2 { font-size: 30px; }
  .afb-nav-links { display: none; }
  .afb-hamburger { display: flex; }
  .afb-hamburger { display: flex; }
  .afb-tier.featured { transform: scale(1); }
  .afb-stat-num { font-size: 42px; }
  .afb-hero { padding: 50px 0 30px; }
}



/* ================================================================
   BLOG — AffiBlast child theme
   /blog/, /category/, single posts
   ================================================================ */

/* ── Blog page wrapper ── */
.afb-blog-page { background: #F5F0E8; min-height: 100vh; }
.afb-blog-wrap { }

/* ── Blog hero header ── */
.afb-blog-header-section {
    background: #1a1a1a; padding: 72px 24px 64px;
    text-align: center;
}
.afb-blog-header-inner { max-width: 680px; margin: 0 auto; }
.afb-blog-tag {
    display: inline-block; background: #f5c800; color: #1a1a1a;
    font-size: 11px; font-weight: 800; letter-spacing: .1em;
    padding: 4px 12px; border-radius: 100px; margin-bottom: 20px;
}
.afb-blog-h1 {
    font-size: clamp(28px, 5vw, 44px); font-weight: 800;
    color: #fff; margin: 0 0 16px; line-height: 1.15;
}
.afb-blog-lead { font-size: 18px; color: rgba(255,255,255,.7); margin: 0; line-height: 1.55; }

/* ── Blog container ── */
.afb-blog-container { max-width: 1100px; margin: 0 auto; padding: 64px 24px; }

/* ── Post grid ── */
.afb-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

/* ── Blog card ── */
.afb-blog-card {
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    transition: transform .2s ease, box-shadow .2s ease;
    display: flex; flex-direction: column;
}
.afb-blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.1); }
.afb-blog-thumb-link { display: block; overflow: hidden; aspect-ratio: 16/9; }
.afb-blog-thumb { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.afb-blog-card:hover .afb-blog-thumb { transform: scale(1.04); }
.afb-blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.afb-blog-cat-tag {
    display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .07em;
    text-transform: uppercase; color: #1a1a1a; background: #f5c800;
    padding: 3px 10px; border-radius: 100px; margin-bottom: 12px;
}
.afb-blog-card-h2 { font-size: 20px; font-weight: 700; margin: 0 0 10px; line-height: 1.3; }
.afb-blog-card-h2 a { color: #1a1a1a; text-decoration: none; }
.afb-blog-card-h2 a:hover { color: #8a6f00; }
.afb-blog-card-excerpt { font-size: 14px; color: #555; line-height: 1.6; margin: 0 0 16px; flex: 1; }
.afb-blog-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.afb-blog-date { font-size: 12px; color: #999; }
.afb-blog-read-more { font-size: 13px; font-weight: 600; color: #1a1a1a; text-decoration: none; }
.afb-blog-read-more:hover { color: #8a6f00; }

/* ── Empty state ── */
.afb-blog-empty { text-align: center; padding: 80px 0; color: #666; }

/* ── Pagination ── */
.afb-blog-pagination { margin-top: 56px; text-align: center; }
.afb-blog-pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.afb-blog-pagination a, .afb-blog-pagination span {
    padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 600;
    background: #fff; color: #1a1a1a; text-decoration: none; border: 1px solid #e0dbd0;
}
.afb-blog-pagination .current { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.afb-blog-pagination a:hover { background: #f5c800; border-color: #f5c800; }

/* ── Blog CTA section ── */
.afb-blog-cta-section { background: #1a1a1a; padding: 72px 24px; text-align: center; }
.afb-blog-cta-inner { max-width: 560px; margin: 0 auto; }
.afb-blog-cta-h3 { font-size: 32px; font-weight: 800; color: #fff; margin: 0 0 12px; }
.afb-blog-cta-p { font-size: 16px; color: rgba(255,255,255,.7); margin: 0 0 28px; }
.afb-blog-cta-btn {
    display: inline-block; background: #f5c800; color: #1a1a1a;
    font-weight: 700; font-size: 16px; padding: 14px 32px;
    border-radius: 100px; text-decoration: none; transition: opacity .2s;
}
.afb-blog-cta-btn:hover { opacity: .88; }

/* ── Single post ── */
.afb-single-post { background: #F5F0E8; min-height: 100vh; padding: 56px 0 80px; }
.afb-single-post .afb-blog-container { max-width: 760px; }
.afb-post-article { }
.afb-post-header { margin-bottom: 32px; }
.afb-post-title { font-size: clamp(28px,5vw,42px); font-weight: 800; color: #1a1a1a; margin: 12px 0 16px; line-height: 1.15; }
.afb-post-meta { font-size: 13px; color: #888; display: flex; gap: 8px; }
.afb-post-hero-img { border-radius: 16px; overflow: hidden; margin-bottom: 40px; }
.afb-post-hero-img img { width: 100%; height: auto; display: block; }
.afb-post-content { font-size: 17px; line-height: 1.75; color: #2a2a2a; }
.afb-post-content h2 { font-size: 24px; font-weight: 700; margin: 40px 0 16px; }
.afb-post-content h3 { font-size: 20px; font-weight: 700; margin: 32px 0 12px; }
.afb-post-content p { margin: 0 0 20px; }
.afb-post-content ul, .afb-post-content ol { padding-left: 24px; margin: 0 0 20px; }
.afb-post-content li { margin-bottom: 8px; }
.afb-post-content a { color: #8a6f00; text-decoration: underline; }
.afb-post-cta-box {
    margin: 48px 0 0; padding: 28px 32px; background: #fff;
    border: 2px solid #f5c800; border-radius: 16px;
    font-size: 16px; line-height: 1.6;
}
.afb-post-cta-link {
    display: inline-block; margin-top: 12px; background: #f5c800;
    color: #1a1a1a; font-weight: 700; padding: 10px 24px;
    border-radius: 100px; text-decoration: none;
}
.afb-post-cta-link:hover { opacity: .88; }
.afb-post-nav { margin-top: 56px; padding-top: 32px; border-top: 1px solid #e0dbd0; }

/* ── Responsive ── */
@media (max-width: 640px) {
    .afb-blog-grid { grid-template-columns: 1fr; }
    .afb-blog-container { padding: 40px 16px; }
    .afb-blog-header-section { padding: 48px 16px; }
}

/* ================================================================
   BLOG LAYOUT FIXES — reset TT5 wp-site-blocks interference
   ================================================================ */

/* Reset TwentyTwentyFive wrapper interference on blog/single pages */
.afb-blog-page .wp-site-blocks,
.afb-single-post .wp-site-blocks,
.afb-blog-page > .wp-site-blocks,
body.blog .wp-site-blocks,
body.single .wp-site-blocks,
body.category .wp-site-blocks {
    padding-top: 0 !important;
    padding-inline: 0 !important;
    max-width: none !important;
}

/* Ensure containers take full viewport width before centering */
.afb-blog-page,
.afb-single-post,
.afb-category-page {
    width: 100%;
    display: block;
    box-sizing: border-box;
}

.afb-blog-wrap,
.afb-single-post,
.afb-category-page { width: 100%; }

/* Blog container — centered, full-width base */
.afb-blog-container {
    box-sizing: border-box;
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.afb-single-post .afb-blog-container {
    max-width: 780px;
}

/* Blog header: full width */
.afb-blog-header-section {
    width: 100%;
    box-sizing: border-box;
}

/* ================================================================
   FIX: Exit-intent popup — text centering + font consistency
   ================================================================ */

#afb-exit-overlay {
    font-family: inherit;
}

#afb-exit-overlay .afb-popup-inner {
    text-align: center;
}

#afb-exit-overlay .afb-popup-inner h2,
#afb-exit-overlay .afb-popup-inner p,
#afb-exit-overlay .afb-popup-inner a {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
    text-align: center;
}

#afb-exit-overlay .afb-popup-inner h2 {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 10px;
}

#afb-exit-overlay .afb-popup-inner p {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 20px;
}

#afb-exit-overlay .afb-popup-inner a.afb-popup-btn {
    font-size: 15px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 100px;
    display: inline-block;
    background: #f5c800;
    color: #1a1a1a;
    text-decoration: none;
}

#afb-exit-close {
    font-family: inherit;
    font-size: 22px;
    line-height: 1;
}

/* ================================================================
   FIX: Social proof badge — font consistency
   ================================================================ */

#afb-social-badge {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

#afb-social-badge .afb-badge-stars {
    font-size: 14px !important;
    letter-spacing: 1px;
}

#afb-social-badge .afb-badge-count {
    font-size: 13px !important;
    font-weight: 700;
}

#afb-social-badge .afb-badge-text {
    font-size: 11px !important;
    font-weight: 500;
}

/* ================================================================
   FIX: Sticky bar — font consistency
   ================================================================ */

#afb-sticky-bar {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif !important;
}

#afb-sticky-bar .afb-sticky-text {
    font-size: 14px !important;
}

#afb-sticky-bar .afb-sticky-btn {
    font-size: 13px !important;
    font-weight: 700 !important;
}

/* Exit Popup — Clean Modal */
#afb-exit-overlay {
    position: fixed; inset: 0; z-index: 99999;
    background: rgba(0,0,0,0.6);
    display: none; align-items: center; justify-content: center;
    padding: 20px; box-sizing: border-box;
    opacity: 0; transition: opacity 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
}
#afb-exit-overlay.afb-active { display: flex; opacity: 1; }
#afb-exit-modal {
    background: #fff; border-radius: 20px;
    max-width: 460px; width: 100%; padding: 44px 36px 36px;
    text-align: center; position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
#afb-exit-close {
    position: absolute; top: 14px; right: 16px;
    background: none; border: none; font-size: 22px; cursor: pointer;
    color: #ccc; line-height: 1; padding: 0;
}
#afb-exit-close:hover { color: #555; }
.afb-exit-eyebrow {
    display: inline-block; background: #FFF8DC; color: #856404;
    font-size: 12px; font-weight: 600; padding: 4px 12px;
    border-radius: 999px; margin-bottom: 14px;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
}
#afb-exit-modal h2 {
    font-size: 26px; font-weight: 800; color: #111;
    margin: 0 0 12px; line-height: 1.25;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
}
#afb-exit-modal > p {
    font-size: 15px; color: #666; margin: 0 0 24px; line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
}
.afb-exit-btn {
    display: block; background: #F5C800; color: #111 !important;
    font-size: 15px; font-weight: 700; padding: 15px 20px;
    border-radius: 10px; text-decoration: none !important;
    margin-bottom: 12px; transition: background 0.2s;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
}
.afb-exit-btn:hover { background: #e0b600; }
.afb-exit-skip { font-size: 12px; color: #aaa; margin: 0; }
.afb-exit-skip a { color: #aaa !important; text-decoration: underline !important; }

