/* blog-index.css , /blog listing page. Loaded with pg-base.css (shared vars,
   wrap, buttons, scroll reveal already defined there). */

/* ═══════════════════════════════════════════════════════════
   1. HERO
   ═══════════════════════════════════════════════════════════ */
#pg .bl-hero{
  position:relative;min-height:80vh;display:flex;align-items:center;justify-content:center;
  overflow:hidden;background:var(--darker);
}
#pg .bl-hero__bg{
  position:absolute;inset:0;
  background-image:radial-gradient(circle at 30% 20%,rgba(255,165,3,.16),transparent 55%),
             radial-gradient(circle at 80% 80%,rgba(255,165,3,.1),transparent 50%),
             url('/images/hero-blog-bg-1600.jpg');
  background-image:radial-gradient(circle at 30% 20%,rgba(255,165,3,.16),transparent 55%),
             radial-gradient(circle at 80% 80%,rgba(255,165,3,.1),transparent 50%),
             image-set(url('/images/hero-blog-bg-1600.avif') type('image/avif'), url('/images/hero-blog-bg-1600.webp') type('image/webp'), url('/images/hero-blog-bg-1600.jpg') type('image/jpeg'));
  background-size:cover;
  background-position:center 60%;
  transform:scale(1.06);
  filter:brightness(0.32) saturate(0.6);
  transition:transform 8s ease;
}
#pg .bl-hero__bg::after{
  content:'';position:absolute;inset:0;
  background-image:radial-gradient(circle,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:36px 36px;
}
#pg .bl-hero::before{
  content:'';position:absolute;top:0;left:0;width:3px;height:100%;
  background:linear-gradient(to bottom,transparent 0%,var(--orange) 30%,var(--orange) 70%,transparent 100%);
  z-index:2;
}
#pg .bl-hero__inner{position:relative;z-index:2;text-align:center;padding:clamp(96px,12vw,148px) clamp(32px,5vw,88px) clamp(64px,8vw,96px);max-width:900px}
#pg .bl-hero__eyebrow{font-family:var(--font-b);font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--orange);display:block;margin-bottom:20px}
#pg .bl-hero__title{font-family:var(--font-h);font-size:clamp(40px,6vw,72px);font-weight:800;color:#fff;line-height:1.05;letter-spacing:-.02em;margin-bottom:20px}
#pg .bl-hero__sub{font-family:var(--font-b);font-size:clamp(16px,1.6vw,19px);color:rgba(255,255,255,.72);line-height:1.6;max-width:640px;margin:0 auto}

/* Compact variant for /blog/category-* archive heads: same dark treatment, no 80vh. */
#pg .bl-hero--compact{min-height:0}
#pg .bl-hero--compact .bl-hero__inner{padding:clamp(72px,9vw,112px) clamp(32px,5vw,88px) clamp(48px,6vw,72px)}
#pg .bl-hero--compact .bl-hero__title{font-size:clamp(34px,5vw,58px)}
#pg .bl-hero__crumb{display:flex;align-items:center;justify-content:center;gap:8px;font-family:var(--font-b);font-size:13px;color:rgba(255,255,255,.5);flex-wrap:wrap;margin-bottom:24px}
#pg .bl-hero__crumb a{color:rgba(255,255,255,.7);transition:color .2s}
#pg .bl-hero__crumb a:hover{color:var(--orange)}
#pg .bl-hero__crumb span[aria-current]{color:#fff}
#pg .bl-hero__crumb-dot{width:3px;height:3px;border-radius:50%;background:rgba(255,255,255,.35)}

/* ═══════════════════════════════════════════════════════════
   1b. BROWSE BY CATEGORY , chips linking to /blog/category-*
   ═══════════════════════════════════════════════════════════ */
#pg .bl-categories{padding:clamp(40px,5vw,56px) 0 0}
#pg .bl-categories__label{font-family:var(--font-b);font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--orange);display:block;margin-bottom:14px}
#pg .bl-cat-list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:10px}
#pg .bl-cat-chip{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border:1px solid var(--border);border-radius:9999px;font-family:var(--font-b);font-size:13px;font-weight:600;letter-spacing:.02em;color:var(--dark);background:#fff;text-decoration:none;transition:border-color .25s var(--ease),color .25s var(--ease),transform .25s var(--ease)}
#pg .bl-cat-chip:hover{border-color:var(--orange);color:var(--orange);transform:translateY(-2px)}
#pg .bl-cat-count{font-size:11px;color:var(--muted)}

/* ═══════════════════════════════════════════════════════════
   2. FEATURED POST , designed moment: one large asymmetric card
   ═══════════════════════════════════════════════════════════ */
#pg .bl-featured{padding:clamp(72px,9vw,120px) 0 clamp(48px,6vw,72px)}
#pg .bl-featured__label{font-family:var(--font-b);font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--orange);display:block;margin-bottom:24px}
#pg .bl-featured__card{
  display:grid;grid-template-columns:1.1fr 1fr;gap:0;
  border-radius:24px;overflow:hidden;background:#fff;
  box-shadow:0 4px 16px rgba(0,0,0,.06),0 24px 64px rgba(0,0,0,.1);
  transition:transform .35s var(--ease),box-shadow .35s var(--ease);
}
#pg .bl-featured__card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,.1),0 36px 80px rgba(0,0,0,.14)}
#pg .bl-featured__img-wrap{position:relative;min-height:340px}
#pg .bl-featured__img-wrap img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
#pg .bl-featured__body{padding:clamp(32px,4vw,56px);display:flex;flex-direction:column;justify-content:center}
#pg .bl-featured__cat{display:inline-block;font-family:var(--font-b);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--orange);background:rgba(255,165,3,.1);padding:6px 14px;border-radius:9999px;margin-bottom:18px;width:fit-content}
#pg .bl-featured__title{font-family:var(--font-h);font-size:clamp(24px,2.6vw,34px);font-weight:800;color:var(--dark);line-height:1.2;letter-spacing:-.01em;margin-bottom:14px}
#pg .bl-featured__excerpt{font-family:var(--font-b);font-size:15px;color:var(--muted);line-height:1.7;margin-bottom:20px}
#pg .bl-featured__meta{display:flex;align-items:center;gap:10px;font-family:var(--font-b);font-size:13px;color:var(--muted)}
#pg .bl-featured__meta-dot{width:3px;height:3px;border-radius:50%;background:var(--muted)}

/* ═══════════════════════════════════════════════════════════
   3. POST GRID
   ═══════════════════════════════════════════════════════════ */
#pg .bl-grid-section{padding:0 0 clamp(80px,10vw,120px)}
/* Archive pages have no featured post between the hero and the grid, so the grid needs its own
   top padding. MUST sit after the .bl-grid-section shorthand above: same specificity, and the
   shorthand resets padding-top to 0. Found live on the preview 2026-09-03 (gap measured 0px). */
#pg .bl-grid-section--archive{padding-top:clamp(56px,7vw,88px)}
/* .bl-grid and .bl-card* live in blog-cards.css (shared with /post/ pages' related block). */

@media(max-width:900px){
  #pg .bl-featured__card{grid-template-columns:1fr}
  #pg .bl-featured__img-wrap{min-height:220px}
}
