/* ============================================================
   Blog page · supplementary styles
   ============================================================ */

/* ── Blog hero ── */
.blog-hero {
  background: #000;
  padding: 108px 0 88px;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .48;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.blog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 80% at 90% 50%, rgba(111,224,0,.12), transparent 60%);
}
.blog-hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
}
.blog-hero-copy { max-width: 680px; }
.blog-hero h1 {
  font-family: 'Kardige', sans-serif;
  font-size: clamp(52px, 7.4vw, 108px);
  font-weight: 400;
  letter-spacing: -.028em;
  line-height: .97;
  color: #F8F5EE;
  margin: 0 0 28px;
}
.blog-hero h1 em {
  color: #6FE000;
  font-style: normal;
}
.blog-hero .lead {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(248,245,238,.52);
  max-width: 48ch;
  margin: 0;
  font-weight: 300;
}
.blog-hero-stat {
  flex-shrink: 0;
  text-align: right;
  padding-bottom: 4px;
}
.blog-hero-stat .snum {
  font-family: 'Kardige', sans-serif;
  font-size: 64px;
  color: rgba(255,255,255,.05);
  letter-spacing: -.04em;
  line-height: 1;
  display: block;
}
.blog-hero-stat .slabel {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(248,245,238,.24);
  font-weight: 700;
  display: block;
}

/* ── Main blog section ── */
.blog-main {
  background: #E3E1D8;
  padding: 80px 0 104px;
}

/* ── Section header + filter row ── */
.blog-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.blog-head h2 {
  font-family: 'Kardige', sans-serif;
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 400;
  letter-spacing: -.022em;
  color: #0A0A0A;
  margin: 0;
  line-height: 1.08;
}
.cat-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 17px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
  color: rgba(10,10,10,.46);
  border: 1.5px solid rgba(0,0,0,.15);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 180ms cubic-bezier(.22,.61,.36,1);
  font-family: 'Luxe Uno', sans-serif;
}
.cat-pill:hover {
  color: #0A0A0A;
  border-color: rgba(0,0,0,.34);
}
.cat-pill.is-active {
  background: #0A0A0A;
  color: #F8F5EE;
  border-color: #0A0A0A;
}

/* ── Posts grid ── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── Featured card (spans full width) ── */
.feat-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-column: 1 / -1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  background: #F3EEE2;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: box-shadow 260ms cubic-bezier(.22,.61,.36,1), transform 260ms cubic-bezier(.22,.61,.36,1);
}
.feat-card:hover {
  box-shadow: 0 24px 56px rgba(0,0,0,.11);
  transform: translateY(-3px);
}
.feat-img { min-height: 420px; }
.feat-body {
  padding: 52px 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feat-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.feat-tag {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #3F8A00;
  background: rgba(63,138,0,.09);
  border: 1px solid rgba(63,138,0,.18);
  padding: 4px 11px;
  border-radius: 999px;
}
.feat-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(0,0,0,.3);
  background: rgba(0,0,0,.055);
  padding: 4px 11px;
  border-radius: 999px;
}
.feat-readtime {
  font-size: 11.5px;
  color: rgba(10,10,10,.28);
  font-weight: 600;
}
.feat-card h2 {
  font-family: 'Kardige', sans-serif;
  font-size: clamp(24px, 2.5vw, 38px);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.08;
  color: #0A0A0A;
  margin: 0 0 16px;
}
.feat-excerpt {
  font-size: 16px;
  line-height: 1.68;
  color: #555550;
  margin: 0 0 10px;
  max-width: 44ch;
}
.feat-date {
  font-size: 11px;
  color: rgba(10,10,10,.28);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 30px;
}
.feat-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #3F8A00;
  letter-spacing: .02em;
  transition: gap 200ms cubic-bezier(.22,.61,.36,1);
  text-decoration: none;
}
.feat-link:hover { gap: 15px; color: #3F8A00; }
.feat-link .fl-arr {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #6FE000;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 200ms cubic-bezier(.22,.61,.36,1);
}
.feat-link:hover .fl-arr { transform: translateX(3px); }

/* ── Regular post card ── */
.post-card {
  background: #F3EEE2;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,.065);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 240ms cubic-bezier(.22,.61,.36,1), box-shadow 240ms cubic-bezier(.22,.61,.36,1);
}
.post-card[hidden] { display: none !important; }
.feat-card[hidden] { display: none !important; }
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 52px rgba(0,0,0,.11);
}
.post-img {
  height: 218px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.post-img .ph {
  position: absolute;
  inset: 0;
  transition: transform 380ms cubic-bezier(.22,.61,.36,1);
}
.post-card:hover .post-img .ph { transform: scale(1.04); }
.post-card-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-cat-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
}
.pc-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #3F8A00;
}
.pc-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(0,0,0,.2);
  flex-shrink: 0;
}
.pc-time {
  font-size: 11px;
  color: #8A8A8A;
  font-weight: 600;
}
.post-card h3 {
  font-family: 'Kardige', sans-serif;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 400;
  letter-spacing: -.018em;
  line-height: 1.17;
  color: #0A0A0A;
  margin: 0 0 10px;
}
.post-excerpt {
  font-size: 13.5px;
  line-height: 1.63;
  color: #555550;
  margin: 0;
  flex: 1;
  padding-bottom: 20px;
}
.post-read-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: #3F8A00;
  letter-spacing: .03em;
  transition: gap 180ms cubic-bezier(.22,.61,.36,1);
  text-decoration: none;
}
.post-read-link:hover { gap: 12px; color: #3F8A00; }
.prl-arr {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #6FE000;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 180ms cubic-bezier(.22,.61,.36,1);
}
.post-read-link:hover .prl-arr { transform: translateX(3px); }

/* ── Search bar ── */
.blog-search-wrap {
  position: relative;
  width: 280px;
  flex-shrink: 0;
}
.blog-search-wrap svg {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: rgba(0,0,0,.3);
}
.blog-search {
  width: 100%;
  font-family: 'Luxe Uno', 'Helvetica Neue', Arial, sans-serif;
  font-size: 13.5px;
  padding: 10px 16px 10px 42px;
  border-radius: 999px;
  background: rgba(0,0,0,.055);
  border: 1.5px solid rgba(0,0,0,.12);
  color: #0A0A0A;
  outline: none;
  transition: border-color 200ms, background 200ms;
}
.blog-search::placeholder { color: rgba(0,0,0,.32); }
.blog-search:focus {
  border-color: rgba(0,0,0,.3);
  background: rgba(0,0,0,.07);
}

/* ── Load more ── */
.load-more-wrap {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 52px;
}
.btn-load {
  font-family: 'Luxe Uno', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 14px 36px;
  border-radius: 999px;
  background: transparent;
  color: #0A0A0A;
  border: 1.5px solid rgba(0,0,0,.22);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 220ms cubic-bezier(.22,.61,.36,1);
}
.btn-load:hover {
  background: #0A0A0A;
  color: #F8F5EE;
  border-color: #0A0A0A;
}
.btn-load.is-loading { opacity: .5; pointer-events: none; }
.btn-load.is-done { display: none; }

/* ── No results ── */
.no-results {
  display: none;
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0 40px;
  font-family: 'Kardige', sans-serif;
  font-size: 28px;
  color: rgba(10,10,10,.26);
  letter-spacing: -.02em;
}
.no-results.is-visible { display: block; }

/* ── Newsletter strip ── */
.nl-strip {
  background: #0A0A0A;
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
.nl-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 55% 90% at 50% 50%, rgba(111,224,0,.09), transparent 65%);
}
.nl-inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}
.nl-inner h2 {
  font-family: 'Kardige', sans-serif;
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 400;
  letter-spacing: -.025em;
  color: #F8F5EE;
  line-height: 1.08;
  margin: 0 0 16px;
}
.nl-inner h2 em {
  color: #6FE000;
  font-style: normal;
}
.nl-inner p {
  font-size: 16px;
  line-height: 1.62;
  color: rgba(248,245,238,.44);
  margin: 0 0 36px;
  font-weight: 300;
}
.nl-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}
.nl-input {
  flex: 1;
  font-family: 'Luxe Uno', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  padding: 14px 22px;
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  border: 1.5px solid rgba(255,255,255,.11);
  color: #F8F5EE;
  outline: none;
  transition: border-color 200ms;
}
.nl-input::placeholder { color: rgba(248,245,238,.28); }
.nl-input:focus { border-color: rgba(111,224,0,.44); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-card { grid-template-columns: 1fr; }
  .feat-img { min-height: 260px; }
  .feat-body { padding: 36px 32px; }
  .blog-hero .wrap { grid-template-columns: 1fr; }
  .blog-hero-stat { display: none; }
}
@media (max-width: 768px) {
  .blog-hero { padding: 80px 0 60px; }
  .blog-main { padding: 56px 0 72px; }
  .blog-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 600px) {
  .posts-grid { grid-template-columns: 1fr; }
  .nl-form { flex-direction: column; }
  .nl-input, .nl-form .btn { width: 100%; justify-content: center; }
  .feat-body { padding: 26px 22px; }
}

/* ── Post meta (author + date inline) ── */
.post-byline {
  font-size: 11.5px;
  color: rgba(0,0,0,.36);
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: .01em;
}
