/* Subpage shell — PAGE_TEMPLATE (frozen). Hero + content section; header, funding block and footer live in header-footer.css. */

.page-hero {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 52px var(--page-pad) 40px;
	background: var(--tint);
	border-bottom: 1px solid var(--border);
}

.page-hero h1 {
	max-width: 26ch;
	font-size: 40px;
	line-height: 1.18;
	font-weight: 700;
	color: var(--navy);
}

.page-hero .lead {
	margin: 0;
	text-align: justify;
	hyphens: auto;
	font-size: 16.5px;
	line-height: 1.65;
	color: var(--muted);
}

.event-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 20px;
}

.page-body {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: 56px var(--page-pad) 64px;
	background: #ffffff;
}

/* Ordinary editorial content (Gutenberg) inside the shell. */
.entry-content {
	max-width: 780px;
	font-size: 16px;
	line-height: 1.7;
}

.entry-content > * + * {
	margin-top: 1.25em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	color: var(--navy);
	font-weight: 700;
	line-height: 1.3;
	margin-top: 1.75em;
}

.entry-content h2 {
	font-size: 23px;
}

.entry-content h3 {
	font-size: 18px;
}

.entry-content h4 {
	font-size: 16px;
}

.entry-content a {
	color: var(--navy);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.4em;
}

.entry-content li + li {
	margin-top: 0.4em;
}

.entry-content li::marker {
	color: var(--amber-deep);
}

.entry-content blockquote {
	margin-left: 0;
	margin-right: 0;
	padding-left: 18px;
	border-left: 3px solid var(--amber-deep);
	color: var(--muted);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
}

.entry-content th,
.entry-content td {
	padding: 10px 12px;
	border: 1px solid var(--border);
	text-align: left;
}

.entry-content th {
	background: var(--tint);
	color: var(--navy);
}

.entry-content figure {
	margin-left: 0;
	margin-right: 0;
}

.entry-content figcaption {
	margin-top: 8px;
	font-size: 13px;
	color: var(--muted);
}

.entry-content img {
	max-width: 100%;
	height: auto;
}

/* Program agenda (PAGE_TEMPLATE / PROGRAM) ------------------------------- */
.session-block-d {
	margin-top: 14px;
}

.session-heading {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-bottom: 16px;
	margin-bottom: 8px;
	border-bottom: 2px solid var(--navy);
}

.session-heading h2 {
	font-size: 23px;
	line-height: normal;
	color: var(--navy);
	font-weight: 700;
}

.session-heading .session-meta {
	font-size: 13.5px;
	color: var(--amber-deep);
	font-weight: 700;
	font-family: var(--font-heading);
	letter-spacing: 0.3px;
}

.agenda-item {
	display: flex;
	gap: 28px;
	padding: 18px 0;
	border-bottom: 1px solid var(--border);
	align-items: flex-start;
}

.agenda-item:last-child {
	border-bottom: none;
}

.agenda-time {
	width: 118px;
	flex: 0 0 118px;
	padding-top: 1px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 15.5px;
	letter-spacing: 0.2px;
	color: var(--amber-deep);
}

.agenda-content {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.agenda-title {
	margin: 0;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 15.5px;
	line-height: normal;
	color: var(--navy);
}

.agenda-people,
.agenda-note {
	font-size: 13.5px;
	color: var(--muted);
}

.agenda-tbc,
.agenda-tbc-note {
	font-style: italic;
	text-decoration: none;
}

.agenda-tbc {
	font-weight: 600;
	color: var(--muted);
}

.agenda-tbc-note {
	font-size: 12.5px;
	color: var(--muted);
}

.agenda-break {
	display: flex;
	gap: 28px;
	padding: 12px 0;
	align-items: center;
}

.agenda-break .agenda-time {
	color: var(--muted);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: normal;
	padding-top: 0;
}

.agenda-break-label {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--muted);
	font-size: 13.5px;
	font-style: italic;
}

.agenda-summary {
	display: flex;
	gap: 20px;
	align-items: flex-start;
	padding: 24px 28px;
	background: var(--tint);
	border: 1px solid var(--border);
	border-radius: 10px;
}

.agenda-summary h3 {
	margin: 0 0 6px;
	font-size: 15.5px;
	color: var(--navy);
	font-weight: 600;
}

.agenda-summary p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.6;
}

/* Speakers page: editorial hierarchy (SPEAKERS canvas) ------------------- */
.page-body--editorial {
	gap: 48px;
}

.editorial-heading {
	display: flex;
	align-items: baseline;
	gap: 20px;
	padding-bottom: 16px;
	margin-bottom: 12px;
	border-bottom: 2px solid var(--navy);
}

.editorial-num {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 42px;
	line-height: 1;
	color: #D8DBE2;
	flex: 0 0 auto;
}

.editorial-heading-text {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.editorial-heading h2 {
	font-size: 26px;
	line-height: normal;
	color: var(--navy);
	font-weight: 700;
}

.editorial-sub {
	font-size: 13.5px;
	color: var(--amber-deep);
	font-weight: 700;
	font-family: var(--font-heading);
	letter-spacing: 0.3px;
}

.ed-list {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ed-row {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 15px 0;
	border-bottom: 1px solid var(--border);
}

.ed-list .ed-row:last-child {
	border-bottom: none;
}

.ed-avatar {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	overflow: hidden;
	background: linear-gradient(160deg, #E7E9EE, #D8DBE2);
	color: #8891A0;
}

.ed-avatar img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ed-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.ed-badge {
	font-size: 10px;
	font-weight: 600;
	color: var(--amber-deep);
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.ed-name {
	font-weight: 700;
	font-size: 16px;
	color: var(--navy);
}

/* Profile link: looks exactly like the plain name; the underline only appears on hover/focus. */
.ed-name__link {
	color: inherit;
	text-decoration: none;
}

.ed-name__link:hover,
.ed-name__link:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ed-role {
	font-size: 13px;
	color: var(--muted);
}

.ed-ref,
.ed-tbc {
	font-size: 11.5px;
	font-style: italic;
	color: var(--muted);
}

.ed-panel-article {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.ed-panel-title {
	margin: 0;
	padding: 14px 20px;
	font-family: var(--font-heading);
	font-size: 18px;
	line-height: normal;
	font-weight: 700;
	color: var(--navy);
	background: var(--tint);
	border-left: 3px solid var(--amber-deep);
	border-radius: 0 8px 8px 0;
}

.ed-panels-wrap {
	display: flex;
	flex-direction: column;
	gap: 30px;
}

.ed-cols-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 56px;
}

.ed-row--featured {
	padding: 22px 24px;
	gap: 24px;
	background: var(--tint);
	border: 1px solid var(--border);
	border-radius: 12px;
	margin-bottom: 14px;
}

.ed-list .ed-row--featured:last-child {
	margin-bottom: 0;
	border-bottom: none;
}

.ed-avatar--featured {
	flex: 0 0 96px;
	width: 96px;
	height: 96px;
}

.ed-row--featured .ed-badge {
	font-size: 11px;
}

.ed-row--featured .ed-name {
	font-size: 20px;
	margin-top: 2px;
}

.ed-row--featured .ed-role {
	font-size: 14.5px;
	margin-top: 2px;
}

@media (max-width: 960px) {
	.ed-cols-2 {
		grid-template-columns: 1fr;
	}
}

/* VENUE page ----------------------------------------------------------- */
.venue-main {
	display: grid;
	grid-template-columns: 380px 1fr;
	gap: 48px;
}

.venue-main--no-map {
	grid-template-columns: 1fr;
}

.venue-main .venue-map {
	height: 100%;
}

.venue-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 16px;
}

.venue-address {
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.venue-address .venue-name {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 19px;
	color: var(--navy);
}

.venue-address .venue-line {
	font-size: 14.5px;
	color: var(--graphite);
}

.venue-heading {
	font-size: 22px;
	line-height: normal;
	color: var(--navy);
	font-weight: 700;
	padding-bottom: 14px;
	margin-bottom: 4px;
	border-bottom: 2px solid var(--navy);
}

.venue-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 20px;
}

.venue-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px;
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: 12px;
}

.venue-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--amber-tint);
	color: var(--amber-deep);
}

.venue-card h3 {
	margin: 0;
	font-family: var(--font-body);
	font-size: 15.5px;
	line-height: normal;
	font-weight: 700;
	color: var(--navy);
}

.venue-card p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--muted);
}

.venue-card-highlight {
	margin-top: -4px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 12.5px;
	letter-spacing: 0.2px;
	color: var(--amber-deep);
}

.venue-quiet {
	margin-top: 20px;
	padding: 24px 28px;
	background: var(--tint);
	border: 1px solid var(--border);
	border-radius: 10px;
}

.venue-quiet p,
.venue-quiet li {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--muted);
}

.venue-quiet p {
	margin: 0;
}

.venue-quiet ul {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding-left: 18px;
}

.venue-quiet li::marker {
	color: var(--amber-deep);
}

/* ABOUT page ------------------------------------------------------------ */
.page-body--about {
	gap: 52px;
}

.about-intro-wrap {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.about-intro-compact {
	margin: 0;
	text-align: justify;
	hyphens: auto;
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--muted);
}

.about-groups-inline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: var(--muted);
}

.about-groups-inline .pill {
	background: var(--tint);
	border: 1px solid var(--border);
	color: var(--navy);
	padding: 6px 14px;
	font-size: 12.5px;
}

.about-narrative {
	margin: 0;
	text-align: justify;
	hyphens: auto;
	font-size: 15px;
	line-height: 1.75;
	color: var(--graphite);
}

.about-narrative--tight {
	margin-bottom: 8px;
}

.about-mile-flow {
	display: flex;
	flex-direction: column;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.about-mile-row {
	display: flex;
	gap: 24px;
	padding: 16px 0;
	border-bottom: 1px solid var(--border);
	align-items: baseline;
}

.about-mile-flow .about-mile-row:last-child {
	border-bottom: none;
}

.about-mile-period {
	flex: 0 0 140px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 19px;
	color: var(--amber-deep);
}

.about-mile-text {
	flex: 1;
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--graphite);
}

.about-caveat {
	margin: 12px 0 0;
	font-size: 12.5px;
	color: var(--muted);
	font-style: italic;
}

.honoree-list {
	display: flex;
	flex-direction: column;
}

.honoree-entry {
	display: flex;
	gap: 28px;
	padding: 26px 0;
	border-bottom: 1px solid var(--border);
	align-items: flex-start;
}

.honoree-list .honoree-entry:last-child {
	border-bottom: none;
}

.honoree-entry-photo {
	position: relative;
	flex: 0 0 112px;
	width: 112px;
	height: 112px;
	border-radius: 12px;
	overflow: hidden;
}

.honoree-entry-photo img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.honoree-entry-text {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.honoree-entry-name {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 16.5px;
	line-height: normal;
	font-weight: 700;
	color: var(--navy);
}

.honoree-entry-role {
	font-size: 13px;
	color: var(--amber-deep);
	font-weight: 600;
}

.honoree-entry-bio {
	margin: 4px 0 0;
	text-align: justify;
	hyphens: auto;
	font-size: 14px;
	line-height: 1.7;
	color: var(--graphite);
}

.honoree-achievement {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--gray-bg);
	color: var(--muted);
	font-size: 11px;
	font-weight: 600;
}

/* REGISTRATION shell (REGISTRATION canvas); the form itself is styled in forms.css --------- */
.reg-wrap {
	display: flex;
	justify-content: center;
}

.reg-card {
	width: 100%;
	max-width: 820px;
	padding: 48px 56px;
	border: 1px solid var(--border);
}

.reg-notice p {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	color: var(--graphite);
}

.reg-notice p + p {
	margin-top: 10px;
	color: var(--muted);
}

/* Highlight bar (shared by the front page and the program page). */
.agenda-highlight {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 22px;
	background: var(--tint);
	border: 1px solid var(--border);
	border-radius: 10px;
}

.agenda-highlight__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: var(--amber-tint);
	color: var(--amber-deep);
}

.agenda-highlight__time {
	flex: 0 0 auto;
	color: var(--navy);
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.3px;
}

.agenda-highlight__divider {
	flex: 0 0 auto;
	align-self: stretch;
	width: 1px;
	background: var(--border);
}

.agenda-highlight__title {
	color: var(--graphite);
	font-size: 13.5px;
	font-weight: 600;
}

/* Editorial note under the agenda (the page's own content). */
.program-note {
	font-size: 12.5px;
	font-style: italic;
	color: var(--muted);
}

/* Experiments table (plain table; badges reuse the pill look of the honoree achievements) ---- */
.exp-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	line-height: 1.6;
}

.exp-table th {
	padding: 10px 14px;
	text-align: left;
	background: var(--tint);
	color: var(--navy);
	font-size: 12.5px;
	font-weight: 700;
	border-bottom: 2px solid var(--navy);
}

.exp-table td {
	padding: 14px;
	vertical-align: top;
	border-bottom: 1px solid var(--border);
	color: var(--graphite);
}

.exp-date {
	width: 16%;
	font-family: var(--font-heading);
	font-weight: 700;
	color: var(--amber-deep);
}

.exp-title {
	width: 22%;
	font-weight: 700;
	color: var(--navy);
}

.exp-desc p {
	margin: 0;
	text-align: justify;
	hyphens: auto;
}

.exp-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.exp-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--gray-bg);
	color: var(--muted);
	font-size: 11px;
	font-weight: 600;
}

/* A source link is the one actionable badge: amber tint and outline, so it stands out from the plain ones.
   Navy text: amber-deep on the tint is only 4.3:1 at this size. */
.exp-badge--link {
	background: var(--amber-tint);
	color: var(--navy);
	box-shadow: inset 0 0 0 1px var(--amber-deep);
}

.exp-badge--link:hover,
.exp-badge--link:focus-visible {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.exp-empty {
	margin: 0;
	color: var(--muted);
}

@media (max-width: 720px) {
	.page-hero,
	.page-body {
		padding-left: 24px;
		padding-right: 24px;
	}

	.exp-table,
	.exp-table tbody,
	.exp-table tr,
	.exp-table td {
		display: block;
		width: auto;
	}

	.exp-table thead {
		display: none;
	}

	.exp-table tr {
		padding: 14px 0;
		border-bottom: 1px solid var(--border);
	}

	.exp-table td {
		padding: 2px 0;
		border-bottom: none;
	}

	.exp-desc p {
		text-align: left;
	}

	/* Justified text makes rivers on a narrow column; keep it ragged-right there. */
	.page-hero .lead,
	.about-intro-compact,
	.about-narrative,
	.honoree-entry-bio {
		text-align: left;
	}

	.agenda-item {
		flex-direction: column;
		gap: 6px;
	}

	/* The desktop 118px flex-basis would become a 118px *height* in the column layout. */
	.agenda-time {
		width: auto;
		flex: 0 0 auto;
	}

	.agenda-break {
		flex-wrap: wrap;
		gap: 10px;
	}

	.ed-row--featured {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}

	.venue-main {
		grid-template-columns: 1fr;
	}

	.venue-cards {
		grid-template-columns: 1fr;
	}

	.reg-card {
		padding: 32px 24px;
	}

	.honoree-entry {
		flex-direction: column;
		gap: 14px;
	}

	.about-mile-row {
		flex-direction: column;
		gap: 6px;
	}

	.about-mile-period {
		flex: 0 0 auto;
	}
}
