/* Visuals: photography and the guides index.
   Loaded after style.css / editorial.css. Rules are scoped to classes added by this work. */

/* ---------- Lead photograph at the top of a guide or analysis article ---------- */
.figure-lead{margin:0 0 34px}
.figure-lead img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:0;background:#E8EDEF}
.figure-lead figcaption{font-family:var(--sans);font-size:.72rem;line-height:1.5;color:#6B7580;margin-top:10px}

/* Guide articles put the same photograph in the header, above the two-column body,
   so it aligns with the headline instead of sitting inside the narrow article column. */
.guide-hero{margin:28px 0 0;max-width:820px}
.guide-hero img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:#E8EDEF}

/* ---------- Wide photograph band (Investor support) ---------- */
.inv-photo-band figure{margin:0}
.inv-photo-band img{display:block;width:100%;height:auto;aspect-ratio:1600/686;object-fit:cover;background:#11263F}

/* ---------- Thumbnail on an initiative row (.numitem) ---------- */
.numlist .numthumb{flex:0 0 132px;width:132px;height:88px;border-radius:12px;overflow:hidden;background:var(--tint-2)}
.numlist .numthumb img{display:block;width:100%;height:100%;object-fit:cover}

/* ---------- Guides index ---------- */
.gd-mast h1{font-family:var(--serif);font-weight:700;font-size:clamp(2.4rem,5.4vw,4rem);line-height:1.02;letter-spacing:-.03em;color:var(--navy);margin:14px 0 18px;max-width:18ch}
.gd-lede{font-family:var(--sans);font-size:1rem;line-height:1.65;color:var(--slate);max-width:64ch;margin:0}
.gd-mast-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:24px 0 0;font-family:var(--mono);font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;color:var(--slate-soft)}
.gd-mast-meta b{color:var(--teal-deep);font-weight:500}

/* featured guide, with a rule above to separate it from the masthead */
.gd-feature{margin-top:40px;padding-top:34px;border-top:1px solid var(--navy)}
.gd-lead{max-width:980px}
.gd-lead .ed-img{margin-bottom:22px}
.gd-lead-title{font-family:var(--serif);font-weight:700;font-size:clamp(1.55rem,3vw,2.25rem);line-height:1.12;letter-spacing:-.02em;margin:12px 0;max-width:24ch}
.gd-lead-title a{color:var(--navy);text-decoration:none}
.gd-lead-title a:hover{color:var(--teal-deep)}
.gd-lead-dek{font-family:var(--sans);font-size:.95rem;line-height:1.62;color:var(--slate);max-width:60ch;margin:0 0 14px}

/* three guides with photographs */
.gd-trio{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px}
.gd-trio .ed-img{margin-bottom:14px}
.gd-trio h3{font-family:var(--serif);font-weight:500;font-size:1.18rem;line-height:1.28;letter-spacing:-.01em;margin:12px 0 10px}
.gd-trio h3 a{color:var(--navy);text-decoration:none}
.gd-trio h3 a:hover{color:var(--teal-deep)}

/* typographic directory, grouped by category */
.gd-dir-head{font-family:var(--serif);font-weight:700;font-size:clamp(1.6rem,3vw,2.1rem);letter-spacing:-.02em;color:var(--navy);margin:0 0 28px}
.gd-cat{border-top:1px solid var(--navy);padding:20px 0 6px}
.gd-cat+.gd-cat{margin-top:30px}
.gd-cat-head{display:flex;justify-content:space-between;align-items:baseline;gap:14px;margin-bottom:10px}
.gd-cat-head h3{font-family:var(--serif);font-weight:600;font-size:1.3rem;margin:0;color:var(--navy)}
.gd-cat-head .n{font-family:var(--mono);font-size:.66rem;letter-spacing:.1em;text-transform:uppercase;color:var(--slate-soft)}
.gd-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 44px}
.gd-entry{display:flex;align-items:baseline;gap:16px;padding:13px 0;border-bottom:1px solid rgba(17,38,63,.10);text-decoration:none}
.gd-entry .t{flex:0 0 74px;font-family:var(--mono);font-size:.64rem;letter-spacing:.05em;text-transform:uppercase;color:var(--slate-soft)}
.gd-entry strong{font-family:var(--serif);font-weight:500;font-size:1.02rem;line-height:1.3;color:var(--navy)}
.gd-entry:hover strong,.gd-entry:hover .t{color:var(--teal-deep)}

@media (max-width:900px){
  .gd-trio{grid-template-columns:minmax(0,1fr);gap:30px}
  .gd-list{grid-template-columns:minmax(0,1fr)}
  .gd-lead{max-width:none}
  .guide-hero{max-width:none}
}
@media (max-width:700px){
  .figure-lead{margin-bottom:24px}
  .guide-hero{margin-top:22px}
}
@media (max-width:760px){
  .numlist .numthumb{display:none}
}
@media (prefers-reduced-motion:reduce){
  .ed-img img,.ed-card:hover .ed-img img{transition:none;transform:none}
}
