/**
 * PG3 Board of Advisors: page-level spacing only (page 6; `lts-board-page` is the class on templates/page-experts-in-residence.html's <main>).
 * The whole page is post_content (seed 200), so every seam is `.lts-board-page .entry-content > ...`. The patterns own everything inside
 * their sections. Figma L3 145:2466 distances (y values minus the hero top 121), set as rect distances:
 *  - hero bottom 509 -> "curated" title text 620: 111.
 *  - "curated" cards end 962 -> "The experts in residence" title text 1120: 158 (Figma cards are 233 tall; F2 re-measured, gap kept).
 *  - "The experts in residence" title bottom 1170 -> lead 1183: 13; lead bottom -> chips 53.
 *  - last advisor band bottom 6269 -> CTA 6348: 79; CTA bottom 6966 -> FAQ 7035: 69.
 * Desktop only (width > 1024px); below it the parent's section gap (--kd-section-gap) applies (derived: no tablet / mobile frames).
 */

@media (width > 1024px) {
	.lts-board-page .entry-content > .lts-hero-split + .lts-section-header {
		margin-block-start: 6.9375rem;
	}

	.lts-board-page .entry-content > .lts-sidebar-cards + .lts-section-header {
		margin-block-start: 9.875rem;
	}

	/* The section-header partial states its margins with !important (lts-section-header.css), so the page seam must too;
	   one more class in the selector wins. The 53 is lead -> chips, set on the header and on the chips (the header's own
	   `+ *` rule is 0,5,0). */
	.lts-board-page
		.entry-content
		> .lts-sidebar-cards
		+ .kd-section-header.kd-section.lts-section-header {
		margin-block-end: 3.3125rem !important;
	}

	.lts-board-page
		.entry-content
		> .lts-sidebar-cards
		+ .lts-section-header.kd-section-header.kd-section
		+ .lts-term-chips-section {
		margin-block-start: 3.3125rem;
	}

	/* The lead is a centred column: Figma box 365 (2 lines, break after "an"); 362 (358 is the minimum) breaks there at 18.4px. */
	.lts-board-page
		.entry-content
		> .lts-sidebar-cards
		+ .lts-section-header
		.kd-section-header__lead {
		max-width: 22.625rem;
		margin-block-start: 0.8125rem !important;
	}

	.lts-board-page .entry-content > .lts-term-chips-section + .lts-advisors {
		margin-block-start: 0;
	}

	.lts-board-page .entry-content > .lts-advisors + .lts-split-circle--cta {
		margin-block-start: 4.9375rem;
	}

	.lts-board-page .entry-content > .lts-split-circle--cta + .lts-faq-band {
		margin-block-start: 4.3125rem;
	}
}

/* -- Empty state: no published experts yet (inc/board.php) ------------------------ */

.lts-board-empty {
	padding-block: 2rem 3rem;
	text-align: center;
}

.lts-board-empty .lts-board-empty__text {
	margin: 0 auto;
	max-width: 36rem;
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--xx-large);
	font-weight: 500;
	line-height: 1.25;
}
