/* Stono Events: uses Stono's own palette (charcoal + gold), Playfair Display headings, Lato text. */
.sev {
	--sev-bg: #0f0f0f;
	--sev-panel: #181818;
	--sev-panel-2: #1f1f1f;
	--sev-gold: var(--e-global-color-a57afc3, #d3a500);
	--sev-text: #f2efe8;
	--sev-muted: #a9a59b;
	--sev-line: rgba(186, 182, 171, 0.22);
	--sev-serif: var(--e-global-typography-primary-font-family, "Playfair Display"), Georgia, serif;
	--sev-sans: var(--e-global-typography-secondary-font-family, "Lato"), system-ui, sans-serif;
	--sev-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	width: 100%;
	max-width: 1140px;
	margin: 0 auto;
	padding: 0;
	box-sizing: border-box;
	color: var(--sev-text);
	font-family: var(--sev-sans);
}
.sev *, .sev *::before, .sev *::after { box-sizing: border-box; }
.sev a { color: inherit; text-decoration: none; }
.sev ul, .sev ol { list-style: none; margin: 0; padding: 0; }
.sev :focus-visible { outline: 2px solid var(--sev-gold); outline-offset: 3px; }

/* ---------- eyebrow / headings ---------- */
.sev-eyebrow {
	margin: 0 0 14px;
	font: 700 12px/1.4 var(--sev-sans);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--sev-gold);
}
.sev-eyebrow em, .sev-row__eyebrow em {
	font-style: normal;
	color: var(--sev-text);
	margin-left: 12px;
	letter-spacing: 0.16em;
}
.sev-eyebrow em::before, .sev-row__eyebrow em::before { content: "\00b7"; margin-right: 12px; color: var(--sev-muted); }
.sev-head { margin: 0 0 28px; }
.sev-head h2 {
	margin: 0;
	font: 500 clamp(30px, 4vw, 44px)/1.1 var(--sev-serif);
	color: var(--sev-text);
}
.sev-block { margin: 0 0 88px; }
.sev-subhead { margin: 56px 0 24px; font: 500 28px/1.2 var(--sev-serif); color: var(--sev-text); }

/* ---------- featured event ---------- */
.sev-feature {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
	margin: 0 0 72px;
	padding: 8px 0;
}
.sev-feature__poster {
	position: relative;
	display: block;
	background: var(--sev-panel);
	margin: 0 14px 14px 0;
}
.sev-feature__poster::after {          /* offset gold frame */
	content: "";
	position: absolute;
	inset: 14px -14px -14px 14px;
	border: 1px solid var(--sev-gold);
	opacity: 0.55;
	z-index: 0;
	transition: inset 0.5s var(--sev-ease), opacity 0.5s var(--sev-ease);
	pointer-events: none;
}
.sev-feature__poster:hover::after { inset: 8px -8px -8px 8px; opacity: 0.9; }
.sev-feature__poster img, .sev-feature__poster .sev-noposter {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: auto;
	max-height: 640px;
	object-fit: cover;
	object-position: top center;
}
.sev-feature__title {
	margin: 0 0 18px;
	font: 500 clamp(30px, 3.6vw, 46px)/1.12 var(--sev-serif);
	color: var(--sev-text);
}
.sev-feature__title a:hover { color: var(--sev-gold); }
.sev-feature__date {
	margin: 0 0 6px;
	font: 400 20px/1.4 var(--sev-serif);
	color: var(--sev-gold);
}
.sev-meta { margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 4px 22px; color: var(--sev-muted); font-size: 16px; }
.sev-actions { margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- buttons (square, matching the site's gold/outline buttons) ---------- */
.sev .sev-btn, .sev button.sev-btn {
	border-radius: 0;
	display: inline-block;
	padding: 15px 30px;
	font: 700 13px/1 var(--sev-sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	border: 1px solid var(--sev-gold);
	cursor: pointer;
	transition: background 0.3s var(--sev-ease), color 0.3s var(--sev-ease), border-color 0.3s var(--sev-ease);
	background: transparent;
	color: var(--sev-text);
}
.sev .sev-btn--gold { background: var(--sev-gold); color: #0f0f0f; }
.sev .sev-btn--gold:hover { background: transparent; color: var(--sev-gold); }
.sev .sev-btn--line, .sev button.sev-btn--line { border-color: var(--sev-line); background: transparent; color: var(--sev-text); }
.sev .sev-btn--line:hover, .sev button.sev-btn--line:hover, .sev button.sev-btn--line:focus { border-color: var(--sev-gold); color: var(--sev-gold); background: transparent; }

/* ---------- tags ---------- */
.sev-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 4px; }
.sev-tags li {
	padding: 5px 10px;
	border: 1px solid var(--sev-line);
	font: 700 10.5px/1 var(--sev-sans);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sev-muted);
}

/* ---------- filter chips ---------- */
.sev-filter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 56px;
	padding: 0;
}
.sev button.sev-chip {
	border-radius: 0;
	margin: 0;
	padding: 12px 22px;
	font: 700 12px/1 var(--sev-sans);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sev-muted);
	background: transparent;
	border: 1px solid var(--sev-line);
	cursor: pointer;
	transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.sev button.sev-chip:hover, .sev button.sev-chip:focus { color: var(--sev-text); border-color: var(--sev-gold); background: transparent; }
.sev button.sev-chip[aria-pressed="true"], .sev button.sev-chip[aria-pressed="true"]:hover, .sev button.sev-chip[aria-pressed="true"]:focus { background: var(--sev-gold); border-color: var(--sev-gold); color: #0f0f0f; }
.sev-status { margin-left: auto; font-size: 13px; color: var(--sev-muted); letter-spacing: 0.04em; }

/* ---------- agenda rows ---------- */
.sev-list { padding-top: 1px; }
.sev-row { position: relative; border: 1px solid var(--sev-line); margin-top: -1px; transition: border-color 0.35s var(--sev-ease); }
.sev-row:hover, .sev-row:focus-within { z-index: 1; border-color: var(--sev-gold); }
.sev-row__link {
	position: relative;
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr) auto auto;
	gap: 8px 32px;
	align-items: center;
	padding: 26px 28px;
	transition: background 0.45s var(--sev-ease);
}
.sev-row__link:hover, .sev-row__link:focus-visible { background: var(--sev-panel); }
.sev-date { display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.sev-date__mon { font: 700 13px/1 var(--sev-sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--sev-gold); margin-bottom: 8px; }
.sev-date__day { font: 500 54px/1 var(--sev-serif); color: var(--sev-text); }
.sev-row__eyebrow { display: block; margin-bottom: 8px; font: 700 11px/1.4 var(--sev-sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--sev-muted); }
.sev-row__eyebrow em { color: var(--sev-gold); }
.sev-row__title { display: block; font: 500 clamp(21px, 2.3vw, 28px)/1.2 var(--sev-serif); color: var(--sev-text); }
.sev-row .sev-meta { margin: 8px 0 0; font-size: 15px; }
.sev-row .sev-tags { margin: 0; justify-content: flex-end; }
.sev-row__go {
	font: 700 12px/1 var(--sev-sans);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--sev-gold);
	white-space: nowrap;
}
.sev-row__go::after { content: "\2192"; display: inline-block; margin-left: 10px; transition: transform 0.35s var(--sev-ease); }
.sev-row__link:hover .sev-row__go::after { transform: translateX(6px); }

/* ---------- poster cards ---------- */
.sev-year { margin: 0 0 56px; }
.sev-year__label {
	display: flex;
	align-items: center;
	gap: 22px;
	margin: 0 0 28px;
	font: 400 20px/1 var(--sev-serif);
	letter-spacing: 0.08em;
	color: var(--sev-gold);
}
.sev-year__label::after { content: ""; flex: 1; height: 1px; background: var(--sev-line); }
.sev-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 28px; align-items: start; }
.sev--home .sev-cards, .sev--related .sev-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sev-card__link { display: flex; flex-direction: column; }
/* the frame takes the shape of the picture: a flyer stands tall, a photograph sits wide, nothing is cropped or padded out */
.sev-card__frame {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--sev-panel);
	border: 1px solid var(--sev-line);
	margin-bottom: 16px;
	transition: border-color 0.4s var(--sev-ease);
}
.sev-card__link .sev-card__frame img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 400px;
	object-fit: contain;
	transition: transform 0.9s var(--sev-ease), filter 0.5s;
}
.sev-card__link .sev-card__frame .sev-noposter { width: 100%; min-height: 0; aspect-ratio: 4 / 3; }
.sev-card__link:hover .sev-card__frame { border-color: var(--sev-gold); }
.sev-card__link:hover .sev-card__frame img { transform: scale(1.04); }
.sev-card__eyebrow { display: block; margin-bottom: 6px; font: 700 11px/1.4 var(--sev-sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--sev-gold); }
.sev-card__title { display: block; margin-bottom: 10px; font: 500 18px/1.3 var(--sev-serif); color: var(--sev-text); transition: color 0.3s; }
.sev-card__link:hover .sev-card__title { color: var(--sev-gold); }
.sev-card .sev-tags { margin-top: 0; }

/* placeholder when an event has no flyer yet */
.sev-noposter {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 160px;
	background: radial-gradient(circle at 50% 40%, #232323, #141414);
	color: var(--sev-text);
}
.sev-noposter b { font: 500 26px/1 var(--sev-serif); letter-spacing: 0.14em; }
.sev-noposter i { margin-top: 8px; font: 400 11px/1 var(--sev-sans); letter-spacing: 0.34em; text-transform: uppercase; color: var(--sev-gold); font-style: normal; }

/* ---------- misc ---------- */
.sev-empty { margin: 0; padding: 28px 0; color: var(--sev-muted); font-size: 17px; }
.sev-showmore { margin: 24px 0 0; text-align: center; }
.sev-more-link { margin: 40px 0 0; text-align: center; }
[hidden] { display: none !important; }

/* home variant */
.sev--home { padding: 0; }
.sev--home .sev-cards--strip { gap: 32px; }

/* ---------- reveal (only when JS is running) ---------- */
.sev-js .sev-row, .sev-js .sev-card, .sev-js .sev-feature, .sev-js .sev-year__label {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s var(--sev-ease), transform 0.7s var(--sev-ease);
}
.sev-js .sev-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.sev *, .sev *::before, .sev *::after { transition: none !important; animation: none !important; }
	.sev-js .sev-row, .sev-js .sev-card, .sev-js .sev-feature, .sev-js .sev-year__label { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
	.sev-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
	.sev-row__link { grid-template-columns: 84px minmax(0, 1fr) auto; padding: 24px; }
	.sev-row .sev-tags { display: none; }
	.sev-date__day { font-size: 44px; }
}
@media (max-width: 767px) {
	.sev-feature { grid-template-columns: 1fr; gap: 36px; }
	.sev-block { margin-bottom: 64px; }
	.sev-cards, .sev--home .sev-cards, .sev--related .sev-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
	.sev-card__title { font-size: 16px; }
	.sev-row__link { grid-template-columns: 64px minmax(0, 1fr); gap: 4px 18px; padding: 20px 18px; }
	.sev-row__go { display: none; }
	.sev-date__day { font-size: 36px; }
	.sev-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.sev-filter::-webkit-scrollbar { display: none; }
	.sev-chip { white-space: nowrap; flex: none; }
	.sev-status { display: none; }
	.sev-eyebrow em { display: block; margin: 8px 0 0; padding: 0; border: 0; }
}

/* featured event without a flyer: a date panel instead of an empty tile */
.sev-feature__datecard {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	background: radial-gradient(circle at 50% 40%, #232323, #141414);
}
.sev-datecard__mon { position: relative; z-index: 1; font: 700 14px/1 var(--sev-sans); letter-spacing: 0.34em; text-transform: uppercase; color: var(--sev-gold); }
.sev-datecard__day { position: relative; z-index: 1; margin: 14px 0 12px; font: 500 clamp(96px, 12vw, 150px)/0.9 var(--sev-serif); color: var(--sev-text); }
.sev-datecard__yr { position: relative; z-index: 1; font: 400 18px/1 var(--sev-serif); letter-spacing: 0.3em; color: var(--sev-muted); }

/* ---------- event photo gallery (attached caption + action) ---------- */
.sev-gallery { position: relative; width: 100%; background: #0f0f0f; }
.sev-gallery__stage { position: relative; width: 100%; height: clamp(490px, calc(66vh + 50px), 730px); overflow: hidden; }
/* the original wall was darkened heavily; let the photographs be seen */
.sev-gallery .yt-aerial-gallery::after {
	background: linear-gradient(to bottom, rgba(15,15,15,.55) 0%, rgba(15,15,15,0) 22%, rgba(15,15,15,0) 62%, rgba(15,15,15,.9) 100%);
}
.sev-gallery .yt-aerial-gallery::before { background: radial-gradient(ellipse 140% 140% at 50% 50%, transparent 72%, rgba(10,10,10,.7) 100%); }
.sev-gallery .yt-photo-item { cursor: zoom-in; }
.sev-gallery__bar {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	z-index: 6;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 0 36px;
	pointer-events: none;
}
.sev-gallery__bar > * { pointer-events: auto; }
.sev-gallery__title { margin: 0 0 8px; font: 500 clamp(26px, 3vw, 36px)/1.1 var(--e-global-typography-primary-font-family, "Playfair Display"), Georgia, serif; color: #f2efe8; }
.sev-gallery__hint { margin: 0; font: 400 15px/1.5 var(--e-global-typography-secondary-font-family, "Lato"), sans-serif; color: #d6d2c8; }
.sev-gallery button.sev-gallery__btn {
	flex: none;
	padding: 15px 30px;
	border-radius: 0;
	font: 700 13px/1 var(--e-global-typography-secondary-font-family, "Lato"), sans-serif;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #0f0f0f;
	background: var(--e-global-color-a57afc3, #d3a500);
	border: 1px solid var(--e-global-color-a57afc3, #d3a500);
	cursor: pointer;
	transition: background .3s, color .3s;
}
.sev-gallery button.sev-gallery__btn:hover, .sev-gallery button.sev-gallery__btn:focus-visible { background: rgba(15,15,15,.85); color: var(--e-global-color-a57afc3, #d3a500); border-color: var(--e-global-color-a57afc3, #d3a500); }
@media (max-width: 1200px) { .sev-gallery__bar { padding-left: 30px; padding-right: 30px; } }
@media (max-width: 767px) {
	.sev-gallery__stage { height: 470px; }
	.sev-gallery__bar { flex-direction: column; align-items: flex-start; padding: 0 20px 24px; gap: 16px; }
}

/* eyebrow that links to the photographs */
.sev .sev-eyebrow__link { color: var(--sev-gold); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 7px; transition: text-decoration-color .3s; }
.sev .sev-eyebrow__link::after { content: "\2192"; display: inline-block; margin-left: 10px; transition: transform .35s var(--sev-ease); }
.sev .sev-eyebrow__link:hover, .sev .sev-eyebrow__link:focus-visible { text-decoration-color: var(--sev-gold); }
.sev .sev-eyebrow__link:hover::after { transform: translateX(6px); }
.sev-gallery { scroll-margin-top: 90px; }

/* faint, softly blurred Stono mark tiled behind the floating photographs */
.sev-gallery__mark {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	opacity: 0.12;
	filter: blur(1.6px);
	pointer-events: none;
	-webkit-mask-image: radial-gradient(ellipse 90% 85% at 50% 50%, #000 40%, rgba(0,0,0,.45) 100%);
	mask-image: radial-gradient(ellipse 90% 85% at 50% 50%, #000 40%, rgba(0,0,0,.45) 100%);
}

/* =====================================================================
   Single event pages with little written content
   ===================================================================== */
/* a past event does not offer an RSVP */
body.sev-past .sev-hero .elementor-widget-button { display: none; }

/* the flyer moves out of the narrow sidebar card and becomes the centrepiece */
body.sev-sparse .sev-flyer-card { display: none; }
/* description text on pages that lean on the flyer */
body.sev-sparse .sev-about-body h2, body.sev-sparse .sev-about-body h3 {
	margin: 0 0 18px;
	font-family: var(--e-global-typography-primary-font-family, "Playfair Display"), Georgia, serif !important;
	font-weight: 500 !important;
	font-size: clamp(26px, 2.8vw, 36px) !important;
	line-height: 1.2 !important;
	color: #f2efe8 !important;
}
body.sev-sparse .sev-about-body p {
	margin: 0 0 16px;
	max-width: 640px;
	font-size: 19px !important;
	line-height: 1.7 !important;
	color: #cfcbc0 !important;
}
/* a lone short line reads as a tagline */
body.sev-sparse .sev-about-body p:only-child {
	font-family: var(--e-global-typography-primary-font-family, "Playfair Display"), Georgia, serif !important;
	font-weight: 500 !important;
	font-size: clamp(28px, 3.2vw, 42px) !important;
	line-height: 1.22 !important;
	color: #f2efe8 !important;
}

/* a past event shows "registration closed", never "reserve your spot" */
body.sev-past .sev-reserve a { pointer-events: none; opacity: .6; }
body.sev-past .sev-reserve .elementor-button-text { font-size: 0 !important; }
body.sev-past .sev-reserve .elementor-button-text::after { content: "Registration ended"; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
body.sev-past .sev-reserve .elementor-button-icon { display: none; }

.sev-posterbox { max-width: 560px; margin: 24px 0 0; padding: 0; }
.sev-poster { position: relative; display: block; margin: 0 14px 14px 0; background: var(--sev-panel); }
.sev-poster::after {
	content: "";
	position: absolute;
	inset: 14px -14px -14px 14px;
	border: 1px solid var(--sev-gold);
	opacity: .55;
	pointer-events: none;
	transition: inset .5s var(--sev-ease), opacity .5s var(--sev-ease);
}
.sev-poster:hover::after { inset: 8px -8px -8px 8px; opacity: .9; }
.sev-poster img { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.sev-poster--date { display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: radial-gradient(circle at 50% 40%, #232323, #141414); }
.sev-poster--date span { position: relative; z-index: 1; }
.sev-poster__cap { margin: 22px 0 0; font-size: 13px; letter-spacing: .06em; color: var(--sev-muted); }
.sev-cal { margin: 24px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.sev-cal span { color: var(--sev-muted); }
.sev-cal a { color: var(--sev-gold); text-decoration: underline; text-decoration-color: var(--sev-line); text-underline-offset: 6px; }
.sev-cal a:hover { text-decoration-color: var(--sev-gold); }

/* more events + contact panel */
.sev--related { padding: 96px 30px 0; }
.sev-head--row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.sev-head--row .sev-btn { flex: none; }
.sev-contact {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px 48px;
	margin: 0 0 96px;
	padding: 48px;
	background: var(--sev-panel);
	border: 1px solid var(--sev-line);
}
.sev-contact h2 { margin: 0; max-width: 560px; font: 500 clamp(24px, 2.6vw, 34px)/1.2 var(--sev-serif); color: var(--sev-text); }
.sev-contact .sev-actions { margin: 0; flex: none; }
@media (max-width: 1024px) { .sev--related { padding-top: 72px; } }
@media (max-width: 767px) {
	.sev--related { padding: 56px 20px 0; }
	.sev-head--row { flex-direction: column; align-items: flex-start; }
	.sev-contact { flex-direction: column; align-items: flex-start; padding: 32px 24px; margin-bottom: 64px; }
	.sev-posterbox { margin-top: 8px; }
}

/* default look of the event description (matches the old text widget) and hiding an empty About section */
.sev-about-body { max-width: 760px; font-family: var(--e-global-typography-secondary-font-family, "Lato"), sans-serif; font-size: 19px; font-weight: 400; line-height: 1.75; color: #cfcbc0; }
.elementor .sev-about-body p { margin: 0 0 1.1em; }
.elementor .sev-about-body p:last-child { margin-bottom: 0; }
.sev-about-body h2, .sev-about-body h3 { margin: 0 0 14px; font-family: var(--e-global-typography-primary-font-family, "Playfair Display"), Georgia, serif; font-weight: 500; color: #f2efe8; }
body.sev-noabout .sev-about-heading { display: none; }
@media (max-width: 767px) { .sev-about-body { font-size: 17px; } }

/* team member pages: keep paragraph spacing in long biographies */
.parent-pageid-3800 .elementor-widget-text-editor p { margin: 0 0 1.1em; }
.parent-pageid-3800 .elementor-widget-text-editor p:last-child { margin-bottom: 0; }

/* =====================================================================
   Header Events dropdown
   ===================================================================== */
.sev-menu {
	--sev-gold: var(--e-global-color-a57afc3, #d3a500);
	--sev-text: #f2efe8;
	--sev-muted: #a9a59b;
	--sev-line: rgba(186, 182, 171, 0.22);
	--sev-panel: #181818;
	--sev-serif: var(--e-global-typography-primary-font-family, "Playfair Display"), Georgia, serif;
	--sev-sans: var(--e-global-typography-secondary-font-family, "Lato"), system-ui, sans-serif;
	display: grid;
	grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
	gap: 16px;
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	font-family: var(--sev-sans);
	text-align: left;
}
.sev-menu *, .sev-menu *::before, .sev-menu *::after { box-sizing: border-box; }
.sev-menu { color: var(--sev-text); }
.sev-menu a { text-decoration: none; }
.sev-menu :focus-visible { outline: 2px solid var(--sev-gold); outline-offset: 2px; }
.sev-menu__types, .sev-menu__feed { padding: 24px; background: var(--sev-panel); border: 1px solid var(--sev-line); }
.sev-menu__label { margin: 0 0 16px; font: 700 11px/1.4 var(--sev-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--sev-gold); }

/* types */
.sev-menu a.sev-menu__type {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 14px;
	margin: 0 -14px;
	font: 400 16px/1.3 var(--sev-sans);
	letter-spacing: .02em;
	color: var(--sev-text);
	transition: background .25s, color .25s;
}
.sev-menu__type b { font: 700 12px/1 var(--sev-sans); letter-spacing: .08em; color: var(--sev-muted); transition: color .25s; }
.sev-menu a.sev-menu__type:hover, .sev-menu a.sev-menu__type:focus-visible { background: #202020; color: var(--sev-gold); }
.sev-menu__type:hover b, .sev-menu__type:focus-visible b { color: var(--sev-gold); }

/* feed */
.sev-menu__list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 8px; }
.sev-menu a.sev-menu__row {
	display: grid;
	color: var(--sev-text);
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	padding: 12px 16px 12px 12px;
	border: 1px solid transparent;
	transition: border-color .3s, background .3s;
}
.sev-menu__row:hover, .sev-menu__row:focus-visible { border-color: var(--sev-gold); background: #1e1e1e; }
.sev-menu__date { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.sev-menu__date i { font: 700 11px/1 var(--sev-sans); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--sev-gold); margin-bottom: 6px; }
.sev-menu__date b { font: 500 32px/1 var(--sev-serif); color: var(--sev-text); }
.sev-menu__body { display: grid; gap: 4px; min-width: 0; }
.sev-menu__title { font: 500 19px/1.25 var(--sev-serif); color: var(--sev-text); }
.sev-menu__meta { font-size: 13px; letter-spacing: .03em; color: var(--sev-muted); }
.sev-menu a.sev-menu__all {
	display: inline-block;
	font: 700 12px/1 var(--sev-sans);
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--sev-gold);
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 7px;
	transition: text-decoration-color .3s;
}
.sev-menu__all::after { content: "\2192"; display: inline-block; margin-left: 10px; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.sev-menu__all:hover { text-decoration-color: var(--sev-gold); }
.sev-menu__all:hover::after { transform: translateX(6px); }

@media (max-width: 860px) {
	.sev-menu { grid-template-columns: 1fr; gap: 12px; }
	.sev-menu__types, .sev-menu__feed { padding: 18px; }
	.sev-menu__row { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; }
	.sev-menu__title { font-size: 17px; }
}

/* the bottom of the gallery fades completely into the page, with no hard edge under the moving photographs */
.sev-gallery__stage::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 64%;
	z-index: 5;
	pointer-events: none;
	background: linear-gradient(to bottom, rgba(15,15,15,0) 0%, rgba(15,15,15,.5) 36%, rgba(15,15,15,.9) 74%, #0f0f0f 100%);
}
@media (max-width: 767px) { .sev-gallery__stage::after { height: 72%; } }

/* =====================================================================
   Recognition badge (fully outlined)
   ===================================================================== */
.sev-recog {
	--sev-gold: var(--e-global-color-a57afc3, #d3a500);
	display: inline-flex;
	align-items: center;
	gap: 18px;
	margin: 0 0 24px;
	padding: 14px 22px 14px 18px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(211, 165, 0, 0.5);
}
.sev-recog__rank { font: 500 44px/1 var(--e-global-typography-primary-font-family, "Playfair Display"), Georgia, serif; color: var(--sev-gold); }
.sev-recog__text { display: grid; gap: 4px; text-align: left; }
.sev-recog__text b { font: 700 13px/1.35 var(--e-global-typography-secondary-font-family, "Lato"), sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #f2efe8; }
.sev-recog__text i { font: 400 13px/1.35 var(--e-global-typography-secondary-font-family, "Lato"), sans-serif; font-style: normal; letter-spacing: .06em; color: #a9a59b; }
.sev-recog--compact { gap: 12px; margin: 14px 0 0; padding: 8px 14px 8px 12px; }
.sev-recog--compact .sev-recog__rank { font-size: 26px; }
.sev-recog--compact .sev-recog__text b { font-size: 11px; letter-spacing: .1em; }
.sev-recog--compact .sev-recog__text i { font-size: 11px; }
@media (max-width: 767px) { .sev-recog { padding: 12px 16px 12px 14px; gap: 14px; } .sev-recog__rank { font-size: 36px; } }

/* linked badge: whole badge is the link; a gold outline and arrow show it is clickable */
.sev-recog--link { text-decoration: none; cursor: pointer; transition: border-color .3s, background .3s; }
.sev-recog--link::after { content: "\2197"; margin-left: 2px; font-size: 18px; line-height: 1; color: var(--sev-gold); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.sev-recog--compact.sev-recog--link::after { font-size: 14px; }
.sev-recog--link:hover, .sev-recog--link:focus-visible { border-color: var(--sev-gold); background: rgba(211, 165, 0, 0.08); }
.sev-recog--link:hover::after { transform: translate(3px, -3px); }
.sev-recog--link:focus-visible { outline: 2px solid var(--sev-gold); outline-offset: 3px; }
.sev-recog__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* status button: centred, no arrow (it is a status, not an action) */
.sev-closed .elementor-button-icon, body.sev-past .sev-reserve .elementor-button-icon { display: none !important; }
.sev-closed .elementor-button-content-wrapper, body.sev-past .sev-reserve .elementor-button-content-wrapper { justify-content: center; }
.sev-closed .elementor-button-text { padding-left: .16em; }
body.sev-past .sev-reserve .elementor-button-text::after { margin-right: -.16em; }

/* the Annual Legislative Conference series */
.sev-series__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.sev-series__grid li { display: flex; }
.sev-series__cell {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	padding: 24px;
	background: var(--sev-panel);
	border: 1px solid var(--sev-line);
	transition: border-color .3s, background .3s;
}
.sev a.sev-series__cell:hover, .sev a.sev-series__cell:focus-visible { border-color: var(--sev-gold); background: #1e1e1e; }
.sev-series__cell.is-current { border-color: rgba(211, 165, 0, 0.55); }
.sev-series__year { font: 500 44px/1 var(--sev-serif); color: var(--sev-gold); }
.sev-series__title { font: 500 19px/1.3 var(--sev-serif); color: var(--sev-text); }
.sev-series__meta { margin-top: auto; padding-top: 8px; font: 700 11px/1.4 var(--sev-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--sev-muted); }
a.sev-series__cell .sev-series__meta::after { content: "\2192"; margin-left: 8px; color: var(--sev-gold); }
body.sev-past .sev-reserve .elementor-button-text, .sev-closed .elementor-button-text { white-space: nowrap; }
body.sev-past .sev-reserve .elementor-button-content-wrapper { width: 100%; }

/* footer credit: "Web support from" + e75 logo, discreet, bottom right of the black footer area.
   The row takes up no space of its own (the footer keeps its original height); it sits in the footer's bottom padding. */
.elementor .sev-credit-row {
	position: absolute;
	right: calc(max(0px, (100% - 1400px) / 2) + 20px);   /* lines up with the footer content's right edge */
	bottom: 13px;
	width: auto;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	z-index: 2;
}
.sev-credit {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0;
	text-align: right;
	text-decoration: none;
	color: #8d897f;
	font: 400 8px/1 var(--e-global-typography-secondary-font-family, "Lato"), sans-serif;
	letter-spacing: .16em;
	text-transform: uppercase;
}
.elementor a.sev-credit img { display: block; width: auto; height: 33px; max-width: none; margin-top: -3px; opacity: .8; transition: opacity .3s; }
.sev-credit:hover, .sev-credit:focus-visible { color: #f2efe8; }
.elementor a.sev-credit:hover img, .elementor a.sev-credit:focus-visible img { opacity: 1; }
.sev-credit:focus-visible { outline: 2px solid var(--e-global-color-a57afc3, #d3a500); outline-offset: 4px; }

/* =====================================================================
   Long-form legal pages (Privacy Policy)
   ===================================================================== */
.sev-legal {
	--sev-gold: var(--e-global-color-a57afc3, #d3a500);
	display: grid;
	grid-template-columns: 240px minmax(0, 760px);
	gap: 64px;
	justify-content: center;
	max-width: 1140px;
	margin: 0 auto;
	color: #cfcbc0;
	font-family: var(--e-global-typography-secondary-font-family, "Lato"), sans-serif;
}
.sev-legal *, .sev-legal *::before, .sev-legal *::after { box-sizing: border-box; }
.sev-legal__toc { position: sticky; top: 120px; align-self: start; padding: 22px 20px; border: 1px solid rgba(186, 182, 171, 0.22); background: #181818; }
.sev-legal__toc p { margin: 0 0 12px; font: 700 11px/1.4 var(--e-global-typography-secondary-font-family, "Lato"), sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--sev-gold); }
.sev-legal__toc ol { list-style: none; margin: 0; padding: 0; counter-reset: sevl; }
.sev-legal__toc li { counter-increment: sevl; }
.sev-legal__toc a { display: block; padding: 8px 10px; margin: 0 -10px; font-size: 14px; line-height: 1.35; color: #cfcbc0; text-decoration: none; transition: background .25s, color .25s; }
.sev-legal__toc a::before { content: counter(sevl, decimal-leading-zero) "  "; color: #7b786f; font-size: 12px; letter-spacing: .08em; }
.sev-legal__toc a:hover, .sev-legal__toc a:focus-visible { background: #202020; color: var(--sev-gold); }
.sev-legal__body { font-size: 17px; line-height: 1.8; }
.elementor .sev-legal__body h2 { margin: 56px 0 16px; scroll-margin-top: 110px; font: 500 clamp(26px, 3vw, 34px)/1.2 var(--e-global-typography-primary-font-family, "Playfair Display"), Georgia, serif; color: #f2efe8; }
.elementor .sev-legal__body h3 { margin: 32px 0 10px; font: 500 22px/1.3 var(--e-global-typography-primary-font-family, "Playfair Display"), Georgia, serif; color: #f2efe8; }
.elementor .sev-legal__body p { margin: 0 0 1.1em; }
.elementor .sev-legal__body ul { margin: 0 0 1.3em; padding: 0; list-style: none; }
.elementor .sev-legal__body li { position: relative; margin: 0 0 .7em; padding-left: 26px; }
.sev-legal__body li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 7px; height: 7px; background: var(--sev-gold); }
.sev-legal__body strong { color: #f2efe8; font-weight: 700; }
.sev-legal__body a { color: var(--sev-gold); text-decoration: underline; text-decoration-color: rgba(211, 165, 0, 0.45); text-underline-offset: 4px; transition: text-decoration-color .25s; }
.sev-legal__body a:hover, .sev-legal__body a:focus-visible { text-decoration-color: var(--sev-gold); }
.sev-legal__lead { font-size: 19px; color: #e6e2d8; }
@media (max-width: 960px) {
	.sev-legal { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.sev-legal__toc { position: static; }
}

.sev-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 404 ---------- */
.sev-404 { background: var(--sev-bg); color: var(--sev-text); padding: clamp(72px, 12vw, 150px) 20px clamp(72px, 12vw, 140px); }
.sev-404__inner { max-width: 760px; margin: 0 auto; position: relative; }
.sev-404__code { margin: 0 0 8px; font: 500 clamp(88px, 16vw, 168px)/1 var(--sev-serif); color: rgba(211, 165, 0, 0.28); letter-spacing: 0.02em; }
.elementor-kit-6 .sev-404 .sev-404__title { margin: 0; font: 500 clamp(30px, 4.4vw, 50px)/1.15 var(--sev-serif); color: var(--sev-text); }
.sev-404 .sev-404__text { margin: 18px 0 0; max-width: 560px; font: 400 18px/1.6 var(--sev-sans); color: #d6d2c8; }
.sev-404 .sev-actions { margin-top: 32px; }

/* ---------- draggable wall ---------- */
.sev-gallery .yt-aerial-gallery { cursor: grab; touch-action: pan-y; }
.sev-gallery .yt-aerial-gallery.sev-dragging, .sev-gallery .yt-aerial-gallery.sev-dragging .yt-photo-item { cursor: grabbing; }
.sev-gallery .yt-aerial-gallery.sev-dragging .yt-photo-item { filter: none; transition: none; }

/* ---------- collection landing (recurring event type: video banner, facts, explainer) ---------- */
.sev-coll {
	--sev-gold: var(--e-global-color-a57afc3, #d3a500);
	--sev-serif: var(--e-global-typography-primary-font-family, "Playfair Display"), Georgia, serif;
	--sev-sans: var(--e-global-typography-secondary-font-family, "Lato"), system-ui, sans-serif;
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; align-items: center;
	min-height: clamp(400px, 58vh, 560px);
	background: #0f0f0f var(--sev-poster) center / cover no-repeat;
	color: #f2efe8; font-family: var(--sev-sans);
}
.sev-coll::after {            /* keeps the type readable over moving footage, and darkens the burned-in captions at the bottom */
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(90deg, rgba(15,15,15,.88) 0%, rgba(15,15,15,.66) 48%, rgba(15,15,15,.34) 100%),
	            linear-gradient(0deg, rgba(15,15,15,.9) 0%, rgba(15,15,15,0) 38%);
}
.sev-coll__media { position: absolute; inset: 0; z-index: 0; }
.sev-coll__media video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.sev-coll.is-playing .sev-coll__media video { opacity: 1; }
.sev-coll__inner { position: relative; z-index: 2; width: 100%; max-width: 1140px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) 20px clamp(48px, 6vw, 72px); box-sizing: border-box; }
.sev .sev-coll__inner { padding-left: clamp(24px, 4vw, 56px); padding-right: clamp(24px, 4vw, 56px); }
.elementor-kit-6 .sev-coll .sev-coll__title, .sev-coll .sev-coll__title { margin: 0; max-width: 760px; font: 500 clamp(38px, 5.4vw, 64px)/1.05 var(--sev-serif); color: #f2efe8; }
.sev-coll .sev-coll__lede { margin: 20px 0 0; max-width: 620px; font: 400 clamp(17px, 1.7vw, 20px)/1.55 var(--sev-sans); color: #e4e0d6; }
.sev-coll .sev-coll__facts { display: flex; flex-wrap: wrap; gap: 14px 44px; margin: 34px 0 0; padding: 0; list-style: none; }
.sev-coll .sev-coll__facts li { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.sev-coll .sev-coll__facts b { font: 500 clamp(28px, 3.2vw, 38px)/1 var(--sev-serif); color: var(--sev-gold); }
.sev-coll .sev-coll__facts span { font: 700 11px/1.3 var(--sev-sans); letter-spacing: .18em; text-transform: uppercase; color: #bab6ab; }
.sev-coll .sev-actions { margin-top: 36px; }
.sev-coll .sev-btn { display: inline-flex; align-items: center; gap: 10px; }
.sev-coll .sev-btn svg { flex: none; }
.sev-coll .sev-btn--gold, .sev-coll .sev-btn--line, .sev-coll button.sev-btn--line { /* the base rules are scoped to .sev; the archive page banner sits outside it */
	display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border: 1px solid var(--sev-gold); border-radius: 0; cursor: pointer;
	font: 700 12px/1 var(--sev-sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; transition: background .25s, color .25s, border-color .25s;
}
.sev-coll a.sev-btn--gold { background: var(--sev-gold); color: #0f0f0f; }
.sev-coll a.sev-btn--gold:hover { background: transparent; color: var(--sev-gold); }
.sev-coll button.sev-btn--line { background: rgba(15,15,15,.35); border-color: rgba(242,239,232,.4); color: #f2efe8; }
.sev-coll button.sev-btn--line:hover, .sev-coll button.sev-btn--line:focus-visible { border-color: var(--sev-gold); color: var(--sev-gold); background: rgba(15,15,15,.35); }
.sev .sev-coll-wrap { margin: 0 0 72px; }
.sev .sev-coll-wrap .sev-coll { margin-bottom: 64px; }

/* explainer */
.sev-explain { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; margin: 0 0 80px; padding-top: 8px; }
.sev-explain h2 { margin: 0; font: 500 clamp(28px, 3.4vw, 40px)/1.15 var(--sev-serif); color: var(--sev-text); }
.sev-explain__body p { margin: 0 0 14px; font: 400 17px/1.7 var(--sev-sans); color: #cfcabf; }
.sev .sev-explain__body p.sev-explain__lead { font: 500 clamp(21px, 2.2vw, 26px)/1.4 var(--sev-serif); color: var(--sev-text); }
@media (max-width: 767px) { .sev-explain { grid-template-columns: minmax(0, 1fr); gap: 16px; } .sev-coll { min-height: 0; } }

/* the archive page */
.sev-collpage { background: #0f0f0f; }
.sev-collpage > .sev { padding: clamp(56px, 7vw, 88px) 20px clamp(64px, 8vw, 110px); }
.sev-collpage__more { margin-top: 8px; }

/* video player */
.sev-vbox { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 56px 24px 24px; background: rgba(8,8,8,.94); }
.sev-vbox__frame { width: min(1100px, 100%); max-height: 100%; }
.sev-vbox__frame video { display: block; width: 100%; max-height: calc(100vh - 100px); background: #000; }
.sev-vbox .sev-vbox__close { position: absolute; top: 14px; right: 18px; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(242,239,232,.35); border-radius: 0; background: transparent; color: #f2efe8; font: 400 28px/1 sans-serif; cursor: pointer; }
.sev-vbox .sev-vbox__close:hover, .sev-vbox .sev-vbox__close:focus-visible { border-color: #d3a500; color: #d3a500; background: transparent; }
@media (prefers-reduced-motion: reduce) { .sev-coll__media video { transition: none; } }
.sev .sev-explain .sev-explain__body p { margin: 0 0 16px; }
.sev .sev-explain .sev-explain__body p:last-child { margin-bottom: 0; }
/* every event on a collection page is that type already: the repeated tag adds nothing */
.sev-collpage .sev-tags, .sev:has(.sev-coll-wrap:not([hidden])) .sev-tags { display: none; }
@media (max-width: 767px) { .sev-coll::after { background: linear-gradient(0deg, rgba(15,15,15,.92) 0%, rgba(15,15,15,.78) 55%, rgba(15,15,15,.7) 100%); } }
