/**
 * Charter - skin (per theme; NOT shared with Quorum / Commons)
 *
 * Loaded after the shared theme.css. Holds only what tokens.css cannot
 * express: Charter's ruled, institutional surface treatment.
 *   - double rules under the header and the interior title band
 *   - short rules before eyebrows
 *   - a left-aligned welcome slide with the seal watermark on the right
 *   - outlined news and event cards, squared chips, a ruled sidebar
 */

/* Double rules */
.site-header { border-bottom: 4px double var(--line); }
.page-band { border-bottom: 4px double var(--line); }

/* Eyebrows: a short rule in front (not the conference and directory slides,
   whose eyebrows already carry the motif icon) */
:is(.section-head > p:has(+ h2), .slide--welcome .slide__body > p:has(+ h1), .paths__list li > p:has(+ h3), .conf-card__body > p:has(+ h3))::before {
	content: "";
	display: inline-block;
	width: 28px;
	height: 2px;
	margin-right: 12px;
	vertical-align: middle;
	background: currentColor;
}

/* Welcome slide: left-aligned, seal on the right */
.slide--welcome .slide__inner {
	max-width: calc(1320px + var(--gutter) * 2);
	text-align: left;
}
.slide--welcome .slide__body { max-width: 780px; }
.slide--welcome .slide__body > p:not(:has(+ h1)) { margin-inline: 0; }
.slide--welcome .slide__body > ul { justify-content: flex-start; }
.slide--welcome .slide__watermark { left: auto; right: -120px; transform: translateY(-50%); opacity: .12; }
.slide--welcome .slide__body > h1 em { color: var(--brand-secondary); font-weight: 500; }

/* Section heads sit on a rule */
.section-head { padding-bottom: 20px; border-bottom: 1px solid var(--line); }

/* News: outlined cards with a 3px colour rule, no float shadow */
.news-list li { border: 1px solid var(--line); border-top: 3px solid var(--c); box-shadow: none; }
.news-list li:hover { box-shadow: 0 10px 24px color-mix(in srgb, var(--brand-primary) 10%, transparent); }

/* Events: hairline outline in the card colour; square arrow button */
:is(.event, .event-static li) { border: 1px solid color-mix(in srgb, var(--c) 22%, transparent); }
:is(.event--featured, .event-static li:first-of-type) { border: 0; }
.event__go { border-radius: var(--radius-btn); }

/* Job chips: small squared caps */
.job-list li > p:has(+ h3) {
	border-radius: 3px;
	font-size: .72rem;
	letter-spacing: .06em;
	text-transform: uppercase;
}

/* Interior sidebar: a ruled list instead of a tinted panel */
.section-nav { padding: 0 0 0 18px; border-left: 1px solid var(--line); border-radius: 0; background: none; }
.section-nav__label { margin-left: 12px; }
.section-nav a:hover { background: var(--primary-tint); }
.section-nav a[aria-current="page"] {
	background: var(--primary-tint);
	color: var(--brand-primary);
	box-shadow: inset 3px 0 0 var(--brand-primary);
}

/* Pull quotes: italic serif between rules */
.main-content blockquote {
	padding: 20px 0;
	border: 0;
	border-block: 1px solid var(--line);
	border-radius: 0;
	background: none;
}
