/**
 * Long Beach Pride — Our Story and Leadership refinements
 * (c) HAUS XXIV, LLC · Licensed to Long Beach Pride
 *
 * Loads after story.generated.css. Hand-tuned rules on top of the
 * extracted page styles; edit here, never in the generated file.
 */

/* Founder folds read as plain headings on larger screens ------------------ */
.fdr-fold > summary { list-style: none; }
.fdr-fold > summary::-webkit-details-marker { display: none; }
.fdr-fold > summary svg { display: none; }
@media (min-width: 701px) { .fdr-fold > summary { pointer-events: none; } }

.hx-pager { display: none; }
.text-split .stack { gap: 18px; }

/* Board: room between a level eyebrow ("The Board of Directors") and its grid */
.leaders-board .ro-h { display: flex; margin-bottom: clamp(28px, 3vw, 44px) !important; }

/* =========================================================================
   Phones
   ========================================================================= */

@media (max-width: 700px) {

	/* Mission: the statement leads, facts sit in a tidy 2 × 2 ------------- */
	.story-mission .facts { gap: 28px 18px; }
	.story-mission .facts .num { font-size: clamp(34px, 10vw, 44px); }

	/* Founders: portrait banner, then the story; history and honors fold - */
	.fdr { gap: 18px; }
	.fdr-card { padding: 0 !important; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 18px 40px -26px rgba(12, 12, 14, .4); }
	.fdr-card .fdr-ph { max-width: none !important; aspect-ratio: 4 / 3; margin: 0; border-radius: 0; }
	.fdr-card .fdr-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
	.fdr-card .fdr-body { padding: 20px 20px 8px; }
	.fdr-fold { border-top: 1px solid rgba(12, 12, 14, .1); }
	.fdr-fold > summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; margin: 0 !important; cursor: pointer; }
	.fdr-fold > summary svg { display: block; width: 18px; height: 18px; transition: transform .35s var(--ease, ease); }
	.fdr-fold[open] > summary svg { transform: rotate(45deg); }
	.fdr-fold > ul { padding-bottom: 14px; }
	.fdr-tribute blockquote p { font-size: 22px; line-height: 1.3; }

	/* Compact founders strip: three tidy rows ----------------------------- */
	.fdr-mini { grid-template-columns: 72px minmax(0, 1fr) !important; gap: 14px !important; align-items: center; }
	.fdr-mini .fdr-ph { width: 72px; height: 72px; border-radius: 18px; overflow: hidden; }
	.fdr-quote p { font-size: 22px !important; line-height: 1.3; }

	/* Letter: a comfortable reading column -------------------------------- */
	.letter .body p { font-size: 19px; line-height: 1.55; }

	/* Portraits: a swipeable row instead of a tall stack ------------------ */
	.story-voices .cols {
		display: flex !important;
		gap: 12px;
		margin-inline: calc(var(--gut) * -1);
		padding: 0 var(--gut) 6px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}
	.story-voices .cols::-webkit-scrollbar { display: none; }
	.story-voices .cols > .ph { flex: 0 0 64%; scroll-snap-align: start; border-radius: 22px; }

	/* Timelines: snap to each card, a progress bar instead of buttons ----- */
	.hx-track { scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); }
	.hx-card,
	.hx-intro,
	.pc-term { scroll-snap-align: start; }
	.hx-btns { display: none !important; }
	.hx-chips { margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
	.hx-chips a { min-height: 44px; display: inline-flex; flex-direction: column; justify-content: center; }
	.hx-more > summary { min-height: 44px; display: inline-flex; align-items: center; }
	.hx-read { min-height: 44px; display: inline-flex; align-items: center; }
	.hx-pager { display: block; padding-top: 18px; }
	.hx-progress { display: block; position: relative; height: 3px; border-radius: 3px; background: rgba(12, 12, 14, .1); overflow: hidden; }
	.hx-progress i { position: absolute; inset: 0 auto 0 0; width: 20%; border-radius: 3px; background: linear-gradient(90deg, #E40303, #FF8C00, #FFED00, #008026, #004DFF, #750787); }

	/* President: portrait first, a card of highlights --------------------- */
	.gvp-ph { max-width: none !important; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; }
	.gvp-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
	.gvp-name { font-size: clamp(34px, 9.5vw, 44px) !important; }

	/* Board: two across, generous names ----------------------------------- */
	.people.exec { gap: 22px 14px !important; }
	.person b { font-size: 15px; line-height: 1.25; }
	.person span { font-size: 13px; }
	.person.open a { min-height: 44px; }
	.ro-more .names li { font-size: 18px; }

	/* Split text: heading, then copy -------------------------------------- */
	.text-split .split { gap: 18px; }
}

/* Board inboxes under each name and title */
.person:not(.open) > b + span { margin-top: -9px; }
.person .person-mail:not(#_) { display: inline-flex; align-items: flex-start; gap: 6px; margin-top: -4px; font-size: 13px; line-height: 1.35; color: #6D28D9; text-decoration: none; }
.person .person-mail svg { flex: none; width: 15px; height: 15px; margin-top: 1px; }
.person .person-mail span:not(#_) { font-size: inherit; line-height: inherit; color: inherit; overflow-wrap: anywhere; }
.person .person-mail:hover span, .person .person-mail:focus-visible span { text-decoration: underline; text-underline-offset: 3px; }
.gvp-mail { margin: 6px 0 0 !important; font-size: 16px; }
.gvp-mail a { display: inline-flex; align-items: center; gap: 8px; color: inherit; opacity: .85; text-decoration: none; }
.gvp-mail a svg { flex: none; width: 18px; height: 18px; }
.gvp-mail a span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.gvp-mail a:hover { opacity: 1; }

/* Timeline: logos, posters and flyers show whole on a soft gray frame. */
.hx-img.is-fit { background: #F5F5F7; }
.hx.story-timeline .hx-img.is-fit img { box-sizing: border-box; padding: 14px; object-fit: contain !important; object-position: center !important; }
.hx-cr { order: 7; margin: 6px 0 0; font-size: 11.5px; line-height: 1.4; color: #86868B; }
