/* Who-we-help niche & hub pages — extends the Gallery system (theme.css tokens). */

/* breadcrumbs */
.crumbs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; font-size: 13px; color: var(--mute); margin-bottom: 22px; }
.crumbs a { color: var(--mute); }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { color: var(--line); }
.crumbs .here { color: var(--ink); font-weight: 500; }

.page-hero.wh-hero { padding-bottom: 44px; }
.page-hero.wh-hero h1 { max-width: 24ch; }

/* image band: .wh-imgband / .wh-img live in styles.css (used by every page) */

/* article + aside */
.wh-cols { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, .85fr); gap: 64px; align-items: start; }
.wh-aside { position: sticky; top: 102px; }
.wh-card { background: var(--tint-2); border-radius: 20px; padding: 32px; }
.wh-card h3 { font-family: "Source Serif 4", Georgia, serif; font-weight: 550; font-size: 22px; color: var(--ink); line-height: 1.25; }
.wh-card p { font-size: 14.5px; margin: 12px 0 20px; }
.wh-card .pill { margin-bottom: 18px; }
.wh-card .arrow-link { display: inline-flex; }
.wh-card .mini { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 16px; font-size: 13px; color: var(--mute); }

/* prose */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(23px, 2.6vw, 31px); margin: 44px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 16px; line-height: 1.72; color: var(--body-c); margin: 0 0 16px; }
.prose ul { margin: 0 0 18px; padding-left: 22px; }
.prose li { font-size: 15.5px; line-height: 1.65; color: var(--body-c); margin-bottom: 9px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--em-ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose .mut { font-size: 13.5px; color: var(--mute); }
.prose .tblwrap { overflow-x: auto; margin: 6px 0 22px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.prose th { text-align: left; padding: 10px 14px 10px 0; border-bottom: 2px solid var(--ink); color: var(--ink); font-weight: 600; }
.prose td { padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--body-c); }

/* FAQ */
.wh-faqband { background: var(--tint-2); }
.wh-faqs { border-top: 1px solid var(--line); max-width: 860px; }
.wh-faq { border-bottom: 1px solid var(--line); }
.wh-faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 16px; padding: 22px 4px; font-family: "Source Serif 4", Georgia, serif; font-weight: 550; font-size: clamp(17px, 2vw, 21px); color: var(--ink); letter-spacing: -.01em; }
.wh-faq summary::-webkit-details-marker { display: none; }
.wh-faq summary .chev { margin-left: auto; flex: none; color: var(--mute); transition: transform .2s; }
.wh-faq[open] summary .chev { transform: rotate(180deg); }
.wh-faq p { padding: 0 4px 24px; font-size: 15.5px; line-height: 1.65; color: var(--body-c); max-width: 68ch; }

/* related trio uses .quote-trio/.qcard from styles.css */

/* hub niche cards */
.wh-hubgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wh-nichecard { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s; }
.wh-nichecard:hover { border-color: var(--ink); }
.wh-nichecard img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; display: block; }
.wh-nichecard .pad { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.wh-nichecard h3 { font-family: "Source Serif 4", Georgia, serif; font-weight: 550; font-size: 20px; color: var(--ink); line-height: 1.25; }
.wh-nichecard .who { font-size: 13.5px; color: var(--mute); margin-top: 6px; }
.wh-chiprow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 4px; }
.wh-chip { display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 600; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; transition: border-color .15s, background .15s; }
.wh-chip:hover { border-color: var(--gold); background: var(--gold-soft); }

/* compact (imageless) cards for the /who-we-help mega hub */
.wh-hubgrid.compact .wh-nichecard .pad { padding: 24px; }

.wh-groupband { padding: 64px 0; }
.wh-groupband.alt { background: var(--tint-2); }
.wh-groupband .group-head { margin-bottom: 10px; }
.wh-groupband .glede { font-size: 15.5px; color: var(--mute); margin-bottom: 28px; }
.wh-groupband .g-foot { margin-top: 26px; }

/* section band fix: .tinted was referenced by the template but never defined */
.tinted { background: var(--tint); }

/* modernization polish */
.wh-nichecard { transition: border-color .18s, box-shadow .18s, transform .18s; }
.wh-nichecard:hover { border-color: var(--line); transform: translateY(-3px); box-shadow: 0 2px 6px -2px rgba(15, 32, 68, .08), 0 26px 48px -30px rgba(15, 32, 68, .3); }
.prose tbody tr:hover td { background: rgba(15, 32, 68, .025); }
.wh-faq summary { transition: color .15s; }
.wh-faq summary:hover { color: var(--em-ink); }
.wh-card { box-shadow: 0 20px 44px -36px rgba(15, 32, 68, .35); }

@media (max-width: 960px) {
  .wh-cols { grid-template-columns: 1fr; gap: 40px; }
  .wh-aside { position: static; }
  .wh-hubgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wh-hubgrid { grid-template-columns: 1fr; }
}

/* business-decisions article chrome */
.byline { margin-top: 18px; font-size: 13px; color: var(--mute); }
.byline strong { color: var(--ink); font-weight: 600; }
.bd-list { list-style: none; columns: 2; column-gap: 48px; }
.bd-list li { padding: 7px 0; border-bottom: 1px solid var(--tint-2); break-inside: avoid; }
.bd-list a { color: var(--ink); font-size: 15px; font-weight: 500; }
.bd-list a:hover { color: var(--em-ink); }
@media (max-width: 720px) { .bd-list { columns: 1; } }
