/* Self-hosted Oswald — kills the 750ms Google Fonts render-block. */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('/fonts/oswald-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   Peaceful Crochet – Design System
   Primary dark  : #1e3a8a     Accent pink: #5eead4
   Navbar bg     : #f0f9ff     Card grad  : #f2f9ff → #f4faff
   Page bg       : #f6fbff     Button     : gold → #5eead4
   Footer bg     : #bf98da     Footer card: #723344
   Font          : Oswald (headings/buttons) + system-ui (body)
============================================================ */

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
.hidden { display: none !important; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f6fbff;
  color: #1e3a8a;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── Animations ─────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-12px) rotate(6deg); }
}
@keyframes spin { to { transform: rotate(360deg); } }


/* ══════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════ */
.navbar {
  background: #f0f9ff;
  padding: 6px 24px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(59,0,27,.1);
}
.logo { display: flex; align-items: center; gap: 8px; }

/* Logo icon — circular avatar framing the Open Peeps character.
   Image is cropped to head/shoulders via object-fit: cover and
   object-position: center 18%, matching the text-block height so
   the mark + text read as one unit. */
.logo-icon {
  width: 42px; height: 42px;
  background: #fff;
  border: 2px solid #1e3a8a;
  border-radius: 50%;
  overflow: hidden;
  display: block;
  padding: 0;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(59,0,27,.15);
}
.logo-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family:'Oswald',sans-serif; font-size:19px; font-weight:700; color:#1e3a8a; line-height:1.1; letter-spacing:-.01em; }
.logo-sub  { font-family:'Oswald',sans-serif; font-size:10.5px; color:#1e3a8a; letter-spacing:.05em; opacity:.85; }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
  font-family:'Oswald',sans-serif; font-size:14px; font-weight:600; color:#1e3a8a;
  padding:8px 18px; border:2px dashed #1e3a8a; border-radius:20px;
  background:rgba(59,0,27,.05); transition:all .3s; white-space:nowrap;
}
.nav-link:hover, .nav-link.active {
  background:#1e3a8a; color:#f4faff; border-style:solid; transform:scale(1.05);
}

.menu-toggle {
  display:none; flex-direction:column; gap:5px;
  padding:8px; border:2px dashed #1e3a8a; border-radius:8px;
}
.menu-toggle span { width:20px; height:2px; background:#1e3a8a; border-radius:2px; display:block; }

.mobile-nav { display:none; background:#f0f9ff; padding:12px 20px 16px; border-top:1px dashed #1e3a8a; }
.mobile-nav.open { display:flex; flex-direction:column; gap:6px; }
.mobile-nav-link {
  font-family:'Oswald',sans-serif; font-size:15px; font-weight:600; color:#1e3a8a;
  padding:10px 16px; border:2px dashed #1e3a8a; border-radius:12px;
  background:rgba(59,0,27,.05); transition:.3s;
}
.mobile-nav-link:hover { background:#1e3a8a; color:#f4faff; }


/* ══════════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(160deg, #2d0015 0%, #4a0020 55%, #1e3a8a 100%);
  min-height: 100vh; display: flex; align-items: center;
  justify-content: center; position: relative; overflow: hidden;
  text-align: center; padding: 100px 20px 70px;
}
.hero-content {
  position: relative; z-index: 2; max-width: 960px; width: 100%;
  display: flex; flex-direction: column; align-items: center;
  min-height: 500px; justify-content: center;
}

.hero-tags { display:flex; gap:12px; flex-wrap:wrap; justify-content:center; margin-bottom:22px; }
.tag {
  font-family:'Oswald',sans-serif; font-size:14px; font-weight:600;
  padding:8px 20px; border-radius:25px; border:2px solid; display:inline-block;
}
.tag-1 { background:rgba(255,215,0,.12); border-color:gold; color:gold; }
.tag-2 { background:rgba(255,107,157,.12); border-color:#5eead4; color:#5eead4; }
.tag-3 { background:rgba(242,186,208,.12); border-color:#f0f9ff; color:#f0f9ff; }

.hero-title {
  font-family:'Oswald',sans-serif;
  font-size:clamp(2.8rem,9vw,8rem); font-weight:900;
  color:#fff; line-height:.9; letter-spacing:-3px;
  text-transform:uppercase; text-shadow:4px 4px 0 rgba(0,0,0,.4);
  margin:8px 0 22px;
}
.title-underline {
  width:100px; height:6px;
  background:linear-gradient(135deg,gold,#5eead4);
  border-radius:3px; margin:0 auto 24px;
}
.hero-box {
  background:rgba(255,255,255,.08); border:2px solid rgba(255,255,255,.15);
  border-radius:20px; padding:18px 32px; margin-bottom:28px;
  backdrop-filter:blur(4px);
}
.hero-subtitle {
  font-family:'Oswald',sans-serif; font-size:clamp(1rem,2.5vw,1.5rem);
  font-weight:500; color:rgba(255,255,255,.85); line-height:1.5;
}
.hero-subtitle .highlight { color:gold; font-weight:700; }

.cta-section { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-bottom:40px; }
.cta-button {
  font-family:'Oswald',sans-serif; font-size:15px; font-weight:700;
  text-transform:uppercase; letter-spacing:1px; padding:16px 32px;
  border-radius:30px; border:3px solid; transition:all .3s; display:inline-block;
}
.cta-button.primary {
  background:linear-gradient(135deg,gold,#5eead4); color:#1e3a8a; border-color:gold;
}
.cta-button.primary:hover { transform:translateY(-3px) scale(1.03); box-shadow:0 12px 30px rgba(255,215,0,.4); color:#1e3a8a; }
.cta-button.secondary {
  background:transparent; color:rgba(255,255,255,.9); border-color:rgba(255,255,255,.4);
}
.cta-button.secondary:hover { background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.8); transform:translateY(-3px); color:#fff; }

.hero-stats { display:flex; gap:48px; justify-content:center; flex-wrap:wrap; }
.stat { display:flex; flex-direction:column; align-items:center; gap:4px; }
.stat-number { font-family:'Oswald',sans-serif; font-size:2.5rem; font-weight:900; color:gold; line-height:1; }
.stat-label  { font-family:'Oswald',sans-serif; font-size:11px; font-weight:600; color:rgba(255,255,255,.6); text-transform:uppercase; letter-spacing:1.5px; }

.floating-elements { position:absolute; inset:0; pointer-events:none; z-index:1; overflow:hidden; }
.float-item { position:absolute; font-size:2.5rem; opacity:.1; animation:float 5s ease-in-out infinite; }
.float-1 { top:12%; left:4%;   animation-delay:0s; }
.float-2 { top:20%; right:6%;  animation-delay:1.2s; }
.float-3 { bottom:30%; left:7%;  animation-delay:2.4s; }
.float-4 { bottom:18%; right:4%; animation-delay:0.6s; }


/* ══════════════════════════════════════════════════════════
   SCALLOPED BORDERS
══════════════════════════════════════════════════════════ */
.scalloped-border,
.scalloped-border-patterns,
.scalloped-border-faq,
.scalloped-border-newsletter {
  display:flex; width:100%; height:50px; overflow:hidden;
}
.scalloped-border .scallop,
.scalloped-border-patterns .scallop,
.scalloped-border-faq .scallop,
.scalloped-border-newsletter .scallop {
  flex:1; height:50px; border-radius:50px 50px 0 0; flex-shrink:0;
  min-width:3%;
}

/* hero → benefits */
.scalloped-border          { background:#1e3a8a; }
.scalloped-border .scallop { background:#f6fbff; }

/* benefits → patterns */
.scalloped-border-patterns          { background:#f6fbff; }
.scalloped-border-patterns .scallop { background:#fff0f7; }

/* patterns → faq */
.scalloped-border-faq          { background:#fff0f7; }
.scalloped-border-faq .scallop { background:#f5f0ff; }

/* faq → newsletter */
.scalloped-border-newsletter          { background:#f5f0ff; }
.scalloped-border-newsletter .scallop { background:#1e3a8a; }


/* ══════════════════════════════════════════════════════════
   BENEFITS / WHY SECTION
══════════════════════════════════════════════════════════ */
.why-best-section { background:#f6fbff; padding:60px 0 80px; }

.section-header, .faq-header { text-align:center; margin-bottom:56px; }
.section-title, .faq-title {
  font-family:'Oswald',sans-serif;
  font-size:clamp(2.5rem,7vw,5.5rem); font-weight:900; color:#1e3a8a;
  line-height:.92; text-transform:uppercase; letter-spacing:-2px;
  text-shadow:3px 3px 0 rgba(242,186,208,.5); margin-bottom:16px;
}
.benefits-badge, .faq-badge {
  display:inline-block; font-family:'Oswald',sans-serif;
  font-size:14px; font-weight:700; padding:10px 24px;
  border-radius:20px; border:2px solid #1e3a8a; margin-top:8px;
}
.benefits-badge { background:#b19cd9; color:#1e3a8a; transform:rotate(2deg); }
.faq-badge      { background:linear-gradient(135deg,gold,#5eead4); color:#1e3a8a; transform:rotate(-2deg); }

/* Legacy pastel-card grid kept for fallback — not used in current layout. */
.benefits-grid {
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:24px; max-width:1100px; margin:0 auto; padding:0 20px;
}

/* ══════════════════════════════════════════════════════════
   EDITORIAL BENEFITS — alternating-row layout (v3)
   Inspired by hookvibes rhythm. Replaces the 6-pastel-card grid
   that the previous version got criticised as "vibe-coded".
══════════════════════════════════════════════════════════ */
.benefits-kicker {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: #5eead4;
  padding: 6px 16px;
  border: 1.5px solid rgba(156,79,127,.35);
  border-radius: 30px;
  background: rgba(156,79,127,.06);
  margin-bottom: 20px;
}
.section-title-v2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.9rem, 4.5vw, 3.3rem);
  font-weight: 700; color: #1e3a8a;
  line-height: 1.08; letter-spacing: -.015em;
  margin-bottom: 18px;
}
.section-title-v2 br { display: inline; }
.benefits-lede {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem; font-weight: 500;
  color: #1e3a8a; max-width: 560px;
  line-height: 1.5; margin: 0 auto;
  opacity: .85;
}

.editorial-benefits {
  max-width: 1000px; margin: 64px auto 0;
  padding: 0 24px;
  display: flex; flex-direction: column;
  gap: 0;
}

/* ── Desktop row — alternating 2-col with a clear visual + body ── */
.ed-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid rgba(59,0,27,.12);
  transition: background .25s ease;
  border-radius: 16px;
}
.ed-row:first-child { border-top: none; padding-top: 0; }
.ed-row:hover { background: rgba(255,255,255,.4); }
.ed-row-reverse { grid-template-columns: 1fr 300px; }
.ed-row-reverse .ed-visual { order: 2; }
.ed-row-reverse .ed-body   { order: 1; }

/* ── Visual block: a big colored pill with the icon + a ghost number
   floating behind. The pill is the star — always visible. The ghost
   number adds an editorial anchor on desktop. ── */
.ed-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 160px;
}
.ed-num {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Oswald', sans-serif;
  font-size: clamp(5rem, 11vw, 8rem);
  font-weight: 800;
  color: rgba(59,0,27,.1);
  letter-spacing: -.04em; line-height: 1;
  pointer-events: none; user-select: none;
  z-index: 0;
}
.ed-mark {
  position: relative; z-index: 1;
  width: 104px; height: 104px; border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 40px rgba(59,0,27,.18);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.ed-mark svg { width: 48px; height: 48px; }
.ed-row:hover .ed-mark { transform: scale(1.07) rotate(-3deg); }

.ed-mark-green { background: #d4f4dd; color: #0f6b3a; border: 2px solid #0f6b3a; }
.ed-mark-pink  { background: #ffd1dc; color: #5eead4; border: 2px solid #5eead4; }
.ed-mark-gold  { background: #fff8c4; color: #8b5d00; border: 2px solid #8b5d00; }
.ed-mark-plum  { background: #e8d5ff; color: #5a2c8a; border: 2px solid #5a2c8a; }

.ed-body { min-width: 0; }
.ed-kicker {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: #5eead4; margin-bottom: 12px;
}
.ed-body h3 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 700; color: #1e3a8a;
  line-height: 1.25; letter-spacing: -.01em;
  margin: 0 0 14px;
}
.ed-body p {
  font-family: 'Oswald', sans-serif;
  font-size: 1.02rem; font-weight: 400;
  color: #555; line-height: 1.65;
  margin: 0;
}
.ed-body a { color: #5eead4; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ed-body a:hover { color: #1e3a8a; }

/* ══════════════════════════════════════════════════════════
   TABLET + MOBILE — single-column, centered, NO ghost numbers.
   The ghost-number trick reads as editorial on wide screens but
   visually fails on phones (cramped, low contrast). We replace
   it with a small numbered badge pinned to the mark instead.
══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .editorial-benefits {
    max-width: 620px;
    margin: 36px auto 0;
    padding: 0 20px;
    gap: 0;
  }
  .ed-row, .ed-row-reverse {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 4px;
    text-align: center;
    justify-items: center;
    border-radius: 0;
  }
  .ed-row-reverse .ed-visual { order: 0; }
  .ed-row-reverse .ed-body   { order: 0; }

  .ed-visual { min-height: auto; }

  /* Ghost number → small numbered badge on the mark corner */
  .ed-num {
    position: absolute;
    top: -8px; right: -8px;
    transform: none;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: #1e3a8a;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: .78rem; font-weight: 700;
    letter-spacing: 0;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 3px 10px rgba(59,0,27,.35);
    z-index: 2;
  }

  .ed-mark {
    width: 88px; height: 88px; border-radius: 20px;
    box-shadow: 0 10px 28px rgba(59,0,27,.18);
  }
  .ed-mark svg { width: 42px; height: 42px; }

  .ed-body { text-align: center; max-width: 520px; }
  .ed-kicker { font-size: .7rem; letter-spacing: .2em; margin-bottom: 8px; margin-top: 4px; }
  .ed-body h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: 10px; }
  .ed-body p  { font-size: .98rem; line-height: 1.6; }
}

/* Narrow phones */
@media (max-width: 480px) {
  .why-best-section { padding: 36px 0 48px; }
  .section-title-v2 { font-size: clamp(1.6rem, 7.5vw, 2.1rem); line-height: 1.12; }
  .section-title-v2 br { display: none; }
  .benefits-kicker { font-size: .68rem; padding: 5px 14px; margin-bottom: 14px; }
  .benefits-lede { font-size: .92rem; padding: 0 4px; }
  .section-header { margin-bottom: 24px; }
  .editorial-benefits { padding: 0 16px; margin-top: 24px; }
  .ed-row { padding: 24px 0; gap: 14px; }
  .ed-mark { width: 76px; height: 76px; border-radius: 18px; }
  .ed-mark svg { width: 36px; height: 36px; }
  .ed-num { width: 28px; height: 28px; font-size: .72rem; top: -6px; right: -6px; }
  .ed-body h3 { font-size: 1.12rem; }
  .ed-body p  { font-size: .94rem; }
}

.benefit-card {
  border-radius:25px; border:3px solid #1e3a8a;
  padding:28px 22px; display:flex; flex-direction:column;
  align-items:center; text-align:center; gap:14px;
  transition:all .3s ease; animation:.6s ease-out fadeInUp both;
}
.benefit-card:hover { transform:translateY(-6px) rotate(1deg); box-shadow:0 14px 35px rgba(59,0,27,.18); }
.card-yellow { background:linear-gradient(135deg,#fff9c4,#fff176); }
.card-green  { background:linear-gradient(135deg,#c8f5d8,#a5e8bc); }
.card-peach  { background:linear-gradient(135deg,#ffd5b8,#ffbf94); }
.card-purple { background:linear-gradient(135deg,#e8d5ff,#d4b5f5); }
.card-blue   { background:linear-gradient(135deg,#b8dcff,#9ac5f0); }
.card-cream  { background:linear-gradient(135deg,#fff8e8,#ffefc0); }

.illustration-icon {
  font-size:2.4rem; width:68px; height:68px;
  background:rgba(255,255,255,.55); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  border:2px solid rgba(59,0,27,.12); flex-shrink:0;
}
.benefit-card .card-title {
  font-family:'Oswald',sans-serif; font-size:1rem; font-weight:700;
  color:#1e3a8a; text-transform:uppercase; letter-spacing:.5px; line-height:1.2;
}
.benefit-card .card-text { font-size:.86rem; color:#555; line-height:1.6; margin:0; }


/* ══════════════════════════════════════════════════════════
   PATTERNS / BLOG SECTION
══════════════════════════════════════════════════════════ */
.blog-section { background:#fff0f7; padding:0 0 100px; min-height:60vh; }

.blog-title-section { text-align:center; max-width:1000px; margin:0 auto 60px; padding:60px 20px 0; }
.blog-badge {
  display:inline-block; background:#b19cd9; color:#1e3a8a;
  font-family:'Oswald',sans-serif; font-size:16px; font-weight:700;
  padding:12px 24px; border-radius:20px; border:2px solid #1e3a8a;
  box-shadow:0 4px 12px rgba(0,0,0,.1); margin-bottom:30px; transform:rotate(-2deg);
}
.blog-main-title {
  font-family:'Oswald',sans-serif;
  font-size:clamp(3rem,8vw,7rem); font-weight:900; color:#1e3a8a;
  line-height:.92; letter-spacing:-3px; text-transform:uppercase;
  margin-bottom:20px; text-shadow:3px 3px 0 rgba(242,186,208,.4);
}
.blog-main-title .highlight { color:#5eead4; }
.blog-subtitle {
  font-family:'Oswald',sans-serif; font-size:clamp(1rem,2vw,1.4rem);
  color:#666; font-weight:600; max-width:700px; margin:0 auto; line-height:1.4;
}

/* Filter controls */
.filter-controls {
  display:flex; justify-content:space-between; align-items:center;
  max-width:1200px; margin:0 auto 50px; padding:0 20px; gap:24px; flex-wrap:wrap;
}
.filter-buttons { display:flex; gap:10px; flex-wrap:wrap; }
.filter-btn {
  font-family:'Oswald',sans-serif; font-size:14px; font-weight:700; color:#1e3a8a;
  background:rgba(255,255,255,.85); border:2px solid #1e3a8a;
  padding:10px 20px; border-radius:25px; letter-spacing:.5px;
  text-transform:uppercase; transition:all .3s;
}
.filter-btn:hover, .filter-btn.active {
  background:#1e3a8a; color:#fff; transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(59,0,27,.3);
}
.search-box { position:relative; min-width:260px; flex: 0 1 320px; }
@media (max-width: 640px) {
  .search-box { min-width: 0; flex: 1 1 100%; width: 100%; }
}
.search-input {
  width:100%; padding:12px 44px 12px 20px; border:2px solid #1e3a8a;
  border-radius:25px; background:rgba(255,255,255,.9); color:#1e3a8a;
  font-family:'Oswald',sans-serif; font-size:14px; outline:none; transition:.3s;
}
.search-input:focus { background:#fff; box-shadow:0 4px 15px rgba(59,0,27,.2); }
.search-input::placeholder { color:#666; opacity:.7; }
.search-icon {
  position:absolute; right:14px; top:50%;
  transform:translateY(-50%); font-size:16px; pointer-events:none;
}
.results-bar { max-width:1200px; margin:0 auto 16px; padding:0 20px; }
.results-count { font-family:'Oswald',sans-serif; font-size:14px; color:#1e3a8a; }
.results-count strong { color:#1e3a8a; }

/* Card grid */
.blog-grid {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:28px; max-width:1200px; margin:0 auto; padding:0 20px;
}
@media (min-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
@media (max-width: 480px) {
  .blog-grid { gap: 18px; padding: 0 14px; }
}
.blog-item { animation:.6s ease-out fadeInUp both; }
.blog-item:nth-child(1){animation-delay:.05s} .blog-item:nth-child(2){animation-delay:.1s}
.blog-item:nth-child(3){animation-delay:.15s} .blog-item:nth-child(4){animation-delay:.2s}
.blog-item:nth-child(5){animation-delay:.25s} .blog-item:nth-child(6){animation-delay:.3s}

.blog-card {
  background:linear-gradient(135deg,#f2f9ff,#f4faff);
  border:3px solid #1e3a8a; border-radius:25px; overflow:hidden;
  display:flex; flex-direction:column; height:100%;
  position:relative; transition:all .3s ease;
}
.blog-card:hover { transform:translateY(-8px); box-shadow:0 15px 40px rgba(59,0,27,.18); }
.blog-card::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(45deg,transparent 30%,rgba(255,255,255,.15) 50%,transparent 70%);
  transform:translateX(-100%); transition:transform .6s; z-index:1; pointer-events:none;
}
.blog-card:hover::before { transform:translateX(100%); }

.blog-category { position:absolute; top:16px; left:16px; z-index:10; }
.category-badge {
  background:rgba(255,255,255,.95); color:#1e3a8a;
  font-family:'Oswald',sans-serif; font-size:11px; font-weight:700;
  padding:5px 11px; border-radius:12px; border:2px solid #1e3a8a;
  text-transform:uppercase; letter-spacing:1px;
}
.blog-image { height:200px; overflow:hidden; position:relative; background:linear-gradient(135deg,#f4faff,#ffb3d1); }
.blog-img { width:100%; height:100%; object-fit:cover; transition:transform .35s ease; display:block; }
.blog-card:hover .blog-img { transform:scale(1.06); }
.blog-img-placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; font-size:3.5rem; }
.blog-content { padding:22px; flex:1; display:flex; flex-direction:column; gap:12px; }
.blog-title {
  font-family:'Oswald',sans-serif; font-size:1.2rem; font-weight:700; color:#1e3a8a;
  line-height:1.25; margin:0;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.blog-title a { color:inherit; }
.blog-title a:hover { color:#1e3a8a; }
.blog-excerpt { font-size:.88rem; color:#555; line-height:1.5; margin:0; flex:1; }
.blog-meta { font-family:'Oswald',sans-serif; font-size:.82rem; color:#888; font-weight:500; }
.blog-read-more {
  display:inline-block; text-align:center;
  background:linear-gradient(135deg,gold,#5eead4); color:#1e3a8a;
  font-family:'Oswald',sans-serif; font-size:.88rem; font-weight:700;
  text-transform:uppercase; letter-spacing:1px;
  padding:12px 22px; border-radius:20px; border:2px solid #1e3a8a; transition:all .3s;
}
.blog-read-more:hover { transform:translateY(-2px); box-shadow:0 8px 20px rgba(255,215,0,.45); color:#1e3a8a; }

/* Empty state */
.empty-state { max-width:1200px; margin:0 auto; padding:60px 20px; text-align:center; }
.empty-icon { font-size:4rem; margin-bottom:16px; }
.empty-state h3 { font-family:'Oswald',sans-serif; font-size:1.6rem; font-weight:700; color:#1e3a8a; margin-bottom:10px; }
.empty-state p { font-size:1rem; color:#666; margin-bottom:24px; }
.btn-reset {
  font-family:'Oswald',sans-serif; font-size:14px; font-weight:700;
  text-transform:uppercase; letter-spacing:1px;
  background:linear-gradient(135deg,gold,#5eead4); color:#1e3a8a;
  border:2px solid #1e3a8a; padding:12px 28px; border-radius:25px; transition:all .3s;
}
.btn-reset:hover { transform:translateY(-2px); box-shadow:0 8px 20px rgba(255,215,0,.4); }

/* Pagination — pill bar with hook + thread emojis */
.pagination-section {
  max-width: 1200px;
  margin: 80px auto 60px;
  text-align: center;
  padding: 0 20px;
  position: relative;
}
.pagination-container {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 25px 30px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 35px;
  border: 3px solid #1e3a8a;
  box-shadow: 0 8px 25px rgba(59, 0, 27, 0.15);
}
.page-btn {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
  padding: 14px 22px;
  border: 3px solid #1e3a8a;
  background: linear-gradient(135deg, #f2f9ff, #f4faff);
  color: #1e3a8a;
  text-decoration: none;
  border-radius: 25px;
  min-width: 55px;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(59, 0, 27, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
}
.page-btn:hover {
  background: linear-gradient(135deg, #f0f9ff, #5eead4);
  color: #1e3a8a;
  transform: translateY(-4px) scale(1.05);
  text-decoration: none;
}
.page-btn.active {
  background: linear-gradient(135deg, #ffd700, #5eead4);
  color: #1e3a8a;
}
.page-btn.disabled,
.page-btn:disabled {
  background: rgba(255, 255, 255, 0.5);
  color: #999;
  border-color: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}
.page-prev::before { content: '🪝 '; margin-right: 8px; }
.page-next::after  { content: ' 🧵'; margin-left: 8px; }
.page-dots {
  color: #1e3a8a;
  font-weight: 700;
  padding: 14px 6px;
  letter-spacing: 2px;
  font-size: 16px;
}

/* Responsive ladder */
@media (max-width: 1024px) {
  .pagination-section { margin: 70px auto 50px; }
  .pagination-container { padding: 20px 25px; gap: 10px; }
  .page-btn { font-size: 15px; padding: 12px 20px; min-width: 50px; }
}
@media (max-width: 768px) {
  .pagination-section { margin: 60px auto 40px; padding: 0 15px; }
  .pagination-container { gap: 8px; padding: 20px 15px; border-radius: 25px; }
  .page-btn { padding: 12px 18px; font-size: 14px; min-width: 45px; letter-spacing: 0.5px; }
  .page-prev, .page-next { padding: 12px 20px; min-width: 80px; }
}
@media (max-width: 480px) {
  .pagination-section { margin: 50px auto 30px; padding: 0 10px; }
  .pagination-container { gap: 6px; padding: 15px 10px; border-radius: 20px; }
  .page-btn { padding: 10px 14px; font-size: 13px; min-width: 40px; letter-spacing: 0; border-radius: 20px; }
  .page-prev, .page-next { padding: 10px 16px; min-width: 70px; }
  .page-prev::before, .page-next::after { font-size: 14px; }
}
@media (max-width: 360px) {
  .pagination-section { margin: 40px auto 25px; padding: 0 5px; }
  .pagination-container { gap: 4px; padding: 12px 8px; border-radius: 15px; }
  .page-btn { padding: 8px 12px; font-size: 12px; min-width: 35px; border-radius: 15px; font-weight: 600; }
  .page-prev, .page-next { padding: 8px 14px; min-width: 60px; }
  .page-prev::before, .page-next::after { font-size: 12px; margin: 0 4px; }
}
@media (max-width: 320px) {
  .pagination-container { gap: 3px; padding: 10px 6px; }
  .page-btn { padding: 6px 10px; font-size: 11px; min-width: 30px; border-width: 2px; }
  .page-prev, .page-next { padding: 6px 12px; min-width: 50px; }
  .page-prev::before, .page-next::after { font-size: 10px; margin: 0 3px; }
}

/* Filter-btn mobile polish — make them tap-friendly without wrapping awkwardly */
@media (max-width: 640px) {
  .filter-controls { gap: 16px; flex-direction: column; align-items: stretch; padding: 0 14px; margin-bottom: 30px; }
  .filter-buttons { justify-content: center; gap: 8px; }
  .filter-btn { font-size: 13px; padding: 8px 14px; letter-spacing: .3px; }
}


/* ══════════════════════════════════════════════════════════
   FAQ SECTION
══════════════════════════════════════════════════════════ */
.faq-section { background:#f5f0ff; padding:60px 0 80px; }

.faq-list {
  max-width:820px; margin:0 auto; padding:0 20px;
  display:flex; flex-direction:column; gap:14px;
}
.faq-item {
  background:rgba(255,255,255,.85); border:3px solid #1e3a8a;
  border-radius:20px; overflow:hidden; transition:background .3s;
}
.faq-item.active { background:linear-gradient(135deg,#f2f9ff,rgba(255,255,255,.95)); }

.faq-question {
  display:flex; justify-content:space-between; align-items:center;
  padding:20px 24px; cursor:pointer; gap:16px; user-select:none;
}
.faq-question h3 {
  font-family:'Oswald',sans-serif; font-size:1.05rem; font-weight:700;
  color:#1e3a8a; text-transform:uppercase; letter-spacing:.5px; margin:0;
}
.faq-icon {
  width:30px; height:30px; background:#1e3a8a; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0; transition:transform .35s ease, background .3s;
}
.faq-icon svg { width:14px; height:14px; fill:#fff; }
.faq-item.active .faq-icon { transform:rotate(180deg); background:linear-gradient(135deg,gold,#5eead4); }
.faq-item.active .faq-icon svg { fill:#1e3a8a; }

.faq-answer { max-height:0; overflow:hidden; transition:max-height .4s ease-out; padding:0 24px; }
.faq-answer p { font-size:15px; color:#555; line-height:1.75; padding-bottom:22px; margin:0; }
.faq-answer a { color:#1e3a8a; text-decoration:underline; }
.faq-item.active .faq-answer { max-height:400px; }


/* ══════════════════════════════════════════════════════════
   NEWSLETTER SECTION
══════════════════════════════════════════════════════════ */
.newsletter-section { background:#1e3a8a; padding:60px 0 80px; }
.newsletter-card {
  max-width:960px; margin:0 auto;
  background:rgba(255,255,255,.06); border:2px solid rgba(255,255,255,.14);
  border-radius:30px; padding:48px;
}
.newsletter-content { display:grid; grid-template-columns:1fr 1.5fr; gap:48px; align-items:start; }
.newsletter-left { display:flex; flex-direction:column; gap:16px; }
.newsletter-illustration { font-size:5rem; }
.newsletter-title { font-family:'Oswald',sans-serif; font-size:clamp(1.8rem,4vw,3rem); font-weight:900; color:gold; text-transform:uppercase; line-height:1.05; }
.newsletter-subtitle { font-family:'Oswald',sans-serif; font-size:1rem; color:#f0f9ff; line-height:1.55; }
.newsletter-form { display:flex; flex-direction:column; gap:18px; }
.form-group { display:flex; flex-direction:column; gap:6px; }
.form-group label { font-family:'Oswald',sans-serif; font-size:12px; font-weight:700; color:gold; text-transform:uppercase; letter-spacing:1px; }
.form-group input, .form-group select, .form-group textarea {
  width:100%; padding:12px 16px; border:2px solid rgba(255,255,255,.2);
  border-radius:14px; background:rgba(255,255,255,.08); color:#fff; font-size:14px; outline:none; transition:.3s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color:rgba(255,255,255,.35); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color:gold; background:rgba(255,255,255,.12); }
.form-group select option { background:#1e3a8a; color:#fff; }
.form-group textarea { resize:vertical; min-height:90px; }
.form-text { font-size:11px; color:rgba(255,255,255,.4); }
.submit-button {
  font-family:'Oswald',sans-serif; font-size:15px; font-weight:700;
  text-transform:uppercase; letter-spacing:1px;
  background:linear-gradient(135deg,gold,#5eead4); color:#1e3a8a;
  border:3px solid gold; border-radius:25px; padding:16px 28px;
  cursor:pointer; transition:all .3s; width:100%;
}
.submit-button:hover { transform:translateY(-3px); box-shadow:0 12px 30px rgba(255,215,0,.4); }
.privacy-note { font-size:12px; color:rgba(255,255,255,.45); text-align:center; line-height:1.5; }
.privacy-note a { color:#f0f9ff; text-decoration:underline; }


/* ══════════════════════════════════════════════════════════
   FOOTER  (4-column with all 15 legal pages)
══════════════════════════════════════════════════════════ */
.footer-section { background:#bf98da; padding:60px 20px 40px; font-family:'Oswald',sans-serif; }
.footer-card {
  background:#723344; border-radius:25px;
  max-width:1200px; margin:0 auto; padding:52px 48px 40px; overflow:hidden;
}

/* 4 columns: brand | patterns | about+contact | legal */
.footer-content {
  display:grid;
  grid-template-columns:1.8fr 1fr 1fr 1fr;
  gap:36px;
  margin-bottom:36px;
  align-items:start;
}
.footer-column { display:flex; flex-direction:column; }
.footer-logo-row { display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.footer-logo-icon {
  width: 40px; height: 40px;
  background: #fff;
  border: 2px solid rgba(255,215,0,.8);
  border-radius: 50%;
  overflow: hidden;
  display: block;
  padding: 0;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.footer-logo-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
.footer-brand-name { font-size:20px; font-weight:700; color:gold; font-family:'Oswald',sans-serif; }
.footer-tagline { font-size:.9rem; color:#f0f9ff; line-height:1.6; max-width:240px; margin-bottom:16px; }
.footer-contact-email { color:gold; font-size:.88rem; font-weight:600; }
.footer-contact-email:hover { text-decoration:underline; }
.footer-heading { color:gold; font-size:.9rem; font-weight:700; text-transform:uppercase; letter-spacing:1px; margin-bottom:14px; border-bottom:1px solid rgba(255,215,0,.25); padding-bottom:8px; }
.footer-links { display:flex; flex-direction:column; gap:7px; }
.footer-link { color:#f0f9ff; font-size:.85rem; font-weight:500; transition:color .2s; line-height:1.4; }
.footer-link:hover { color:gold; }

.footer-bottom {
  border-top:1px solid rgba(255,255,255,.15);
  padding-top:24px;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
}
.footer-copy { font-size:.85rem; color:#f0f9ff; }
.footer-legal { display:flex; gap:16px; flex-wrap:wrap; }
.footer-legal a { font-size:.82rem; color:rgba(242,186,208,.7); transition:color .2s; }
.footer-legal a:hover { color:gold; }


/* ══════════════════════════════════════════════════════════
   ARTICLE PAGE
══════════════════════════════════════════════════════════ */
.article-loading { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:16px; min-height:60vh; color:#1e3a8a; font-family:'Oswald',sans-serif; }
.spinner { width:40px; height:40px; border:3px solid #f4faff; border-top-color:#1e3a8a; border-radius:50%; animation:spin .8s linear infinite; }

.breadcrumb-bar { background:#f0f9ff; padding:12px 0; border-bottom:2px dashed #1e3a8a; }
.breadcrumb { display:flex; align-items:center; gap:8px; font-family:'Oswald',sans-serif; font-size:13px; color:#1e3a8a; }
.breadcrumb a { color:#1e3a8a; }
.breadcrumb a:hover { text-decoration:underline; }

.article-hero {
  background:linear-gradient(160deg,#2d0015 0%,#4a0020 55%,#1e3a8a 100%);
  padding:60px 0 50px; color:#fff;
}
.article-meta-top { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:18px; }
.article-category-badge {
  font-family:'Oswald',sans-serif; font-size:11px; font-weight:700;
  text-transform:uppercase; letter-spacing:1px;
  background:rgba(255,255,255,.15); color:#f0f9ff; padding:6px 14px;
  border-radius:14px; border:2px solid rgba(255,255,255,.3);
}
.article-date, .article-duration { font-family:'Oswald',sans-serif; font-size:13px; color:rgba(255,255,255,.6); font-weight:500; }
.article-title {
  font-family:'Oswald',sans-serif; font-size:clamp(1.8rem,4vw,3.2rem);
  font-weight:900; color:#fff; line-height:1.05;
  letter-spacing:-1px; text-transform:uppercase; margin-bottom:14px;
}
.article-desc { font-size:16px; color:rgba(255,255,255,.75); max-width:720px; line-height:1.7; }
.article-hero-stats { display:flex; gap:32px; flex-wrap:wrap; margin-top:24px; }
.article-hero-stats .stat-number { font-size:1.8rem; }

/* Feature cards */
.feature-cards-wrap { background:#f6fbff; padding:30px 0 10px; }
.feature-cards {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:20px; padding:0 0 10px;
}
.feature-card {
  background:linear-gradient(135deg,#f2f9ff,#f4faff); border:3px solid #1e3a8a;
  border-radius:20px; padding:24px 18px; text-align:center;
  display:flex; flex-direction:column; align-items:center; gap:12px;
  transition:transform .3s, box-shadow .3s;
}
.feature-card:hover { transform:translateY(-4px); box-shadow:0 10px 25px rgba(59,0,27,.15); }
.feature-card-icon { font-size:2rem; }
.feature-card-title { font-family:'Oswald',sans-serif; font-size:.95rem; font-weight:700; color:#1e3a8a; text-transform:uppercase; letter-spacing:.5px; }
.feature-card-body { font-size:.85rem; color:#555; line-height:1.5; }

/* Thumbnail */
.article-thumbnail-wrap { padding:20px 0; }
.article-thumbnail { width:100%; max-height:500px; object-fit:cover; border-radius:20px; border:3px solid #1e3a8a; box-shadow:0 8px 30px rgba(59,0,27,.12); }
.article-thumb-placeholder { width:100%; height:280px; background:linear-gradient(135deg,#f2f9ff,#f4faff); border-radius:20px; border:3px solid #1e3a8a; display:flex; align-items:center; justify-content:center; font-size:5rem; }

/* Body layout */
.article-body { display:grid; grid-template-columns:1fr 280px; gap:40px; padding-bottom:60px; align-items:start; }
.article-main { min-width:0; }
.article-intro { margin-bottom:32px; }
.article-intro p { font-size:16px; color:#444; line-height:1.8; margin-bottom:14px; }

/* Pattern blocks */
.pattern-block { background:linear-gradient(135deg,#f2f9ff,#f4faff); border:3px solid #1e3a8a; border-radius:20px; padding:28px; margin-bottom:28px; }
.pattern-block-title { font-family:'Oswald',sans-serif; font-size:1.1rem; font-weight:700; color:#1e3a8a; text-transform:uppercase; letter-spacing:.5px; margin-bottom:16px; display:flex; align-items:center; gap:10px; }
.pattern-block ul { display:flex; flex-direction:column; gap:8px; }
.pattern-block li { font-size:14px; color:#1e3a8a; line-height:1.55; padding:9px 14px; background:rgba(255,255,255,.65); border-radius:10px; border-left:4px solid #1e3a8a; }

/* Abbreviations */
.abbrev-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:8px; margin-top:12px; }
.abbrev-item { background:rgba(255,255,255,.7); border:2px solid #1e3a8a; border-radius:10px; padding:8px 12px; display:flex; gap:8px; align-items:baseline; font-size:13px; }
.abbrev-key { font-family:'Oswald',sans-serif; font-weight:700; color:#1e3a8a; text-transform:uppercase; flex-shrink:0; }
.abbrev-val { color:#555; }

/* Pattern instructions */
.instructions-section { margin-bottom:32px; }
.instructions-section h3 { font-family:'Oswald',sans-serif; font-size:1.3rem; font-weight:700; color:#1e3a8a; text-transform:uppercase; margin-bottom:16px; letter-spacing:-.5px; padding-bottom:10px; border-bottom:3px solid #1e3a8a; }
.instruction-row { display:grid; grid-template-columns:100px 1fr; gap:12px; align-items:start; padding:10px 0; border-bottom:1px dashed rgba(59,0,27,.2); }
.instruction-row:last-child { border-bottom:none; }
.instruction-label { font-family:'Oswald',sans-serif; font-size:.85rem; font-weight:700; color:#1e3a8a; text-transform:uppercase; letter-spacing:.5px; padding-top:2px; }
.instruction-text { font-size:14px; color:#333; line-height:1.75; }
.instruction-row.kind-info .instruction-label { color:#888; font-style:italic; }
.instruction-row.kind-info .instruction-text { color:#555; font-style:italic; }

/* Article editorial sections */
.article-section { margin-bottom:40px; padding-bottom:40px; border-bottom:2px dashed rgba(59,0,27,.2); }
.article-section:last-child { border-bottom:none; }
.article-section h2 { font-family:'Oswald',sans-serif; font-size:1.5rem; font-weight:700; color:#1e3a8a; text-transform:uppercase; margin-bottom:14px; letter-spacing:-.5px; }
.article-section p { font-size:15px; color:#444; line-height:1.75; margin-bottom:12px; }
.section-tip { background:linear-gradient(135deg,#f2f9ff,#f4faff); border-left:4px solid #1e3a8a; padding:12px 16px; border-radius:0 12px 12px 0; font-size:14px; color:#1e3a8a; margin:14px 0; font-weight:500; }
.section-notes { background:#fff8e1; border-left:4px solid #f59e0b; padding:10px 14px; border-radius:0 10px 10px 0; font-size:.88rem; color:#92400e; margin:0 0 12px; }
.section-img { width:100%; border-radius:16px; border:2px solid #1e3a8a; margin:16px 0; box-shadow:0 4px 15px rgba(59,0,27,.1); }
.section-img-placeholder { width:100%; height:200px; background:linear-gradient(135deg,#f2f9ff,#f4faff); border-radius:16px; border:2px solid #1e3a8a; display:flex; align-items:center; justify-content:center; font-size:3rem; margin:16px 0; }

/* Tips / mistakes */
.tips-list { display:flex; flex-direction:column; gap:10px; margin-top:14px; }
.tip-item { display:flex; gap:12px; align-items:flex-start; padding:12px 16px; background:rgba(255,255,255,.7); border-radius:14px; border:2px solid rgba(59,0,27,.15); font-size:14px; color:#333; line-height:1.6; }
.tip-icon { font-size:1.1rem; flex-shrink:0; margin-top:1px; }

/* Final thoughts */
.final-thoughts { background:linear-gradient(135deg,#f2f9ff,#f4faff); border:3px solid #1e3a8a; border-radius:20px; padding:24px; margin-top:8px; }
.final-thoughts h2 { font-family:'Oswald',sans-serif; font-size:1.2rem; font-weight:700; color:#1e3a8a; text-transform:uppercase; margin-bottom:12px; }
.final-thoughts p { font-size:15px; color:#444; line-height:1.75; }

/* Related posts */
.related-posts { margin-top:30px; }
.related-posts h2 { font-family:'Oswald',sans-serif; font-size:1.1rem; font-weight:700; color:#1e3a8a; text-transform:uppercase; margin-bottom:14px; }
.related-posts ul { display:flex; flex-direction:column; gap:8px; }
.related-posts li a { display:block; padding:10px 16px; background:rgba(255,255,255,.8); border:2px solid #1e3a8a; border-radius:12px; font-family:'Oswald',sans-serif; font-size:13px; font-weight:600; color:#1e3a8a; transition:.2s; }
.related-posts li a:hover { background:#1e3a8a; color:#f4faff; }

/* Sidebar */
.article-sidebar { position:sticky; top:80px; display:flex; flex-direction:column; gap:16px; }
.sidebar-card { background:linear-gradient(135deg,#f2f9ff,#f4faff); border:3px solid #1e3a8a; border-radius:20px; padding:20px; }
.sidebar-heading { font-family:'Oswald',sans-serif; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:#1e3a8a; margin-bottom:14px; }
.pattern-details { display:flex; flex-direction:column; gap:10px; }
.pattern-details li { display:flex; justify-content:space-between; font-size:13px; padding-bottom:10px; border-bottom:1px dashed rgba(59,0,27,.25); }
.pattern-details li:last-child { border-bottom:none; padding-bottom:0; }
.detail-label { color:#1e3a8a; font-weight:500; }
.detail-val { color:#1e3a8a; font-weight:700; font-family:'Oswald',sans-serif; }
.btn-back { display:block; width:100%; text-align:center; background:linear-gradient(135deg,gold,#5eead4); color:#1e3a8a; font-family:'Oswald',sans-serif; font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:1px; padding:12px 16px; border-radius:16px; border:2px solid #1e3a8a; transition:.3s; margin-bottom:8px; }
.btn-back:hover { transform:translateY(-2px); box-shadow:0 6px 16px rgba(255,215,0,.4); }

.not-found { text-align:center; padding:80px 20px; font-family:'Oswald',sans-serif; }
.not-found h2 { font-size:2rem; color:#1e3a8a; margin-bottom:12px; }
.not-found p  { color:#666; margin-bottom:24px; }


/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width:1100px) {
  .navbar { padding:8px 20px; gap:12px; }
  .footer-content { grid-template-columns:1fr 1fr; gap:28px; }
  .footer-content .footer-column:first-child { grid-column:1/-1; }
  .footer-tagline { max-width:100%; }
  .newsletter-content { grid-template-columns:1fr; }
  .newsletter-card { padding:36px; }
  .benefits-grid { grid-template-columns:repeat(2,1fr); }
}

/* Tablet nav — 5 items with "Pattern Categories" is a long label.
   Tighten padding + font + hide the sub-text so the bar stays on one line
   between 769px and 1024px. Below 769px the nav collapses to hamburger. */
@media (min-width:769px) and (max-width:1024px) {
  .navbar { padding: 6px 14px; gap: 8px; }
  .logo-sub { display: none; }
  .logo-icon { width: 38px; height: 38px; }
  .logo-name { font-size: 17px; }
  .nav-links { gap: 4px; }
  .nav-link { font-size: 12.5px; padding: 6px 11px; letter-spacing: 0; }
}

@media (max-width:768px) {
  .navbar { padding: 5px 14px; }
  .logo-icon { width: 38px; height: 38px; }
  .logo-name { font-size: 17px; }
  .logo-sub  { font-size: 10px; }
  .footer-logo-icon { width: 36px; height: 36px; }
  .nav-links { display:none; }
  .menu-toggle { display:flex; }
  /* Tighter hero so patterns appear above fold sooner on phones */
  .hero { padding:56px 16px 32px; min-height:auto; }
  .hero-title { letter-spacing:-1.5px; }
  .hero-box { padding:16px 20px; margin:14px auto; }
  .hero-stats { gap:20px; margin-top:18px; }
  .stat-number { font-size:1.7rem; }
  .stat-label  { font-size:.78rem; }
  /* Softer, friendlier section titles on mobile */
  .section-title, .faq-title, .blog-main-title {
    font-size:clamp(2rem, 8.5vw, 3.2rem);
    letter-spacing:-1px;
    text-shadow:2px 2px 0 rgba(242,186,208,.45);
  }
  .section-header, .faq-header { margin-bottom:36px; }
  .why-best-section { padding:40px 0 56px; }
  /* Benefits stay 2-col on mobile so users don't scroll through 6 full screens */
  .benefits-grid { grid-template-columns:repeat(2,1fr); gap:14px; padding:0 14px; }
  .benefit-card { padding:20px 14px; gap:10px; border-radius:20px; }
  .illustration-icon { width:54px; height:54px; font-size:1.9rem; }
  .benefit-card .card-title { font-size:.88rem; letter-spacing:.3px; }
  .benefit-card .card-text  { font-size:.8rem; line-height:1.5; }
  .blog-grid { grid-template-columns:1fr; }
  .filter-controls { flex-direction:column; align-items:stretch; }
  .search-box { min-width:0; }
  .article-body { grid-template-columns:1fr; }
  .article-sidebar { position:static; }
  .feature-cards { grid-template-columns:1fr 1fr; }
  .instruction-row { grid-template-columns:80px 1fr; }
  .footer-content { grid-template-columns:1fr 1fr; }
  .footer-card { padding:32px 24px; }
  .newsletter-card { padding:28px 20px; }
  .article-hero { padding:40px 0 30px; }
  .abbrev-grid { grid-template-columns:1fr 1fr; }
  /* Shrink scallop height on mobile to save vertical space —
     DO NOT set a fixed width on .scallop, it breaks flex:1 and
     causes horizontal overflow (25 * 24 = 600px > viewport). */
  .scalloped-border, .scalloped-border-patterns, .scalloped-border-faq, .scalloped-border-newsletter { height:24px; }
  .scalloped-border .scallop, .scalloped-border-patterns .scallop,
  .scalloped-border-faq .scallop, .scalloped-border-newsletter .scallop {
    height:24px;
  }
  /* Trust strip — small screens */
  .trust-strip { gap:10px 18px; padding:14px 16px; font-size:.82rem; }
}

@media (max-width:480px) {
  .navbar { padding: 4px 12px; }
  .logo-icon { width: 36px; height: 36px; }
  .filter-buttons { gap:8px; }
  .filter-btn { padding:8px 14px; font-size:13px; }
  .blog-grid { gap:20px; }
  .hero-tags { gap:8px; }
  .tag { padding:6px 14px; font-size:13px; }
  .hero-stats { gap:16px; }
  .cta-section { flex-direction:column; align-items:center; }
  .cta-button { width:100%; max-width:320px; text-align:center; }
  .feature-cards { grid-template-columns:1fr; }
  .instruction-row { grid-template-columns:1fr; }
  .instruction-label { padding-bottom:4px; }
  .abbrev-grid { grid-template-columns:1fr; }
  .hero-box { padding:14px 18px; }
  .faq-question h3 { font-size:.95rem; }
  .footer-content { grid-template-columns:1fr; }
  .trust-strip { flex-direction:column; gap:8px; padding:12px 14px; }
  .trust-strip .trust-item { width:100%; justify-content:center; }
}

/* ══════════════════════════════════════════════════════════
   TRUST STRIP — above-fold social proof
══════════════════════════════════════════════════════════ */
.trust-strip {
  display:flex; flex-wrap:wrap; justify-content:center; align-items:center;
  gap:18px 32px;
  max-width:1000px; margin:-14px auto 0;
  padding:18px 28px;
  background:#fff;
  border-radius:18px;
  border:2px solid #1e3a8a;
  box-shadow:0 6px 20px rgba(59,0,27,.08);
  font-family:'Oswald',sans-serif;
  color:#1e3a8a; font-weight:600;
  position:relative; z-index:3;
}
.trust-strip .trust-item {
  display:inline-flex; align-items:center; gap:8px;
  font-size:.92rem; line-height:1.2;
}
.trust-strip .trust-icon { font-size:1.15rem; line-height:1; }
.trust-strip strong { color:#5eead4; font-weight:800; margin-right:3px; }

/* ── 2026-05-03 — answer-summary (citation-extraction zone) ────────
   Used on news articles + topic hubs + comparison hubs. The TL;DR
   block AI engines pull verbatim. Visually distinct lede. */
.answer-summary {
  margin: 0 0 22px;
  padding: 20px 24px;
  background: linear-gradient(180deg, #fff7f0 0%, #ffffff 100%);
  border: 2px solid #d18faa;
  border-left: 6px solid #c45a7a;
  border-radius: 0 12px 12px 0;
  box-shadow: 4px 4px 0 #c45a7a;
  position: relative;
}
.answer-summary::before {
  content: "TL;DR";
  position: absolute;
  top: -14px; left: 22px;
  background: #c45a7a;
  color: #fff;
  font-family: 'Oswald', 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: .08em;
  padding: 4px 12px;
  border: 2.5px solid #1e3a8a;
  border-radius: 999px;
  transform: rotate(-2deg);
}
.answer-summary p {
  margin: 0 0 10px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #1e3a8a;
}
.answer-summary p:last-child { margin-bottom: 0; }
