/* ==========================================================================
   ISGSD — design system
   1  Tokens            6  Elementor building blocks (classes set in Elementor)
   2  Base              7  Proceedings archive + cards
   3  Buttons           8  Proceeding detail
   4  Header / nav      9  Forms
   5  Footer            10 Utilities / motion
   ========================================================================== */

/* 1 — Tokens --------------------------------------------------------------- */
:root {
	--gsd-navy: #0b2545;
	--gsd-navy-deep: #06182f;
	--gsd-blue: #1a5d9c;      /* water blue — 6.6:1 on white */
	--gsd-teal: #0b6e70;      /* 5.9:1 on white */
	--gsd-aqua: #8fd3e0;      /* light accent, on dark only */
	--gsd-green: #3f7d3a;     /* environmental accent — 5.2:1 on white */
	--gsd-ink: #0f1d2b;
	--gsd-muted: #475869;     /* 7.3:1 on white */
	--gsd-line: #d8e0e7;
	--gsd-mist: #f1f5f7;
	--gsd-white: #fff;

	--gsd-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--gsd-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

	--gsd-max: 1200px;
	--gsd-gutter: clamp(20px, 4vw, 40px);
	--gsd-section: clamp(64px, 9vw, 120px);
	--gsd-radius: 6px;
	--gsd-shadow: 0 1px 2px rgba(11, 37, 69, .06), 0 8px 24px rgba(11, 37, 69, .08);
	--gsd-ease: cubic-bezier(.2, .7, .2, 1);
	--gsd-header-h: 104px;
}

/* 2 — Base ----------------------------------------------------------------- */
html { scroll-padding-top: calc(var(--gsd-header-h) + 16px); }
body {
	margin: 0;
	background: var(--gsd-white);
	color: var(--gsd-ink);
	font: 400 1.0625rem/1.65 var(--gsd-sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, .elementor-heading-title {
	font-family: var(--gsd-serif);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.01em;
	color: inherit;
	margin: 0 0 .5em;
}
.elementor-widget-heading .elementor-heading-title { margin: 0; }
h1, .elementor-heading-title.elementor-size-xxl { font-size: clamp(2.5rem, 5.4vw, 4.25rem); }
h2 { font-size: clamp(1.875rem, 3.4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }
h4 { font-size: 1.125rem; }
p { margin: 0 0 1em; }
a { color: var(--gsd-blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--gsd-navy); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--gsd-blue); outline-offset: 3px; border-radius: 2px; }
.gsd-on-dark :focus-visible, .gsd-hero :focus-visible, .gsd-footer :focus-visible, .gsd-pagehead :focus-visible { outline-color: #fff; }
::selection { background: #cde6f0; }

.gsd-wrap { width: 100%; max-width: calc(var(--gsd-max) + 2 * var(--gsd-gutter)); margin-inline: auto; padding-inline: var(--gsd-gutter); box-sizing: border-box; }
.gsd-wrap--narrow { max-width: calc(760px + 2 * var(--gsd-gutter)); }
.gsd-section-pad { padding-block: var(--gsd-section); }
.gsd-main { display: block; outline: none; }
.gsd-skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--gsd-navy); color: #fff; padding: 10px 16px; border-radius: var(--gsd-radius); }
.gsd-skip:focus { top: 12px; color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* 3 — Buttons ---------------------------------------------------------------
   Theme templates use .gsd-btn; Elementor Button widgets get the look from the
   widget's CSS class: gsd-b-primary | gsd-b-ghost | gsd-b-light | gsd-b-link   */
.gsd-btn,
.elementor-widget-button[class*="gsd-b-"] .elementor-button {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: 12px 24px; box-sizing: border-box;
	border: 1.5px solid transparent; border-radius: var(--gsd-radius);
	font: 600 .9375rem/1.2 var(--gsd-sans); letter-spacing: .01em;
	text-decoration: none; cursor: pointer; touch-action: manipulation;
	transition: background-color .2s var(--gsd-ease), color .2s var(--gsd-ease), border-color .2s var(--gsd-ease), transform .2s var(--gsd-ease);
}
.gsd-btn:active, .elementor-widget-button[class*="gsd-b-"] .elementor-button:active { transform: translateY(1px); }
.gsd-btn--primary, .elementor-widget-button.gsd-b-primary .elementor-button { background: var(--gsd-navy); color: #fff; }
.gsd-btn--primary:hover, .gsd-btn--primary:focus-visible, .elementor-widget-button.gsd-b-primary .elementor-button:hover { background: var(--gsd-blue); color: #fff; }
.gsd-btn--ghost, .elementor-widget-button.gsd-b-ghost .elementor-button { background: transparent; color: var(--gsd-navy); border-color: var(--gsd-navy); }
.gsd-btn--ghost:hover, .elementor-widget-button.gsd-b-ghost .elementor-button:hover { background: var(--gsd-navy); color: #fff; }
.elementor-widget-button.gsd-b-light .elementor-button { background: #fff; color: var(--gsd-navy); }
.elementor-widget-button.gsd-b-light .elementor-button:hover { background: var(--gsd-aqua); color: var(--gsd-navy-deep); }
.elementor-widget-button.gsd-b-outline-light .elementor-button { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.elementor-widget-button.gsd-b-outline-light .elementor-button:hover { background: #fff; color: var(--gsd-navy); border-color: #fff; }
.elementor-widget-button.gsd-b-link .elementor-button { min-height: 0; padding: 0; background: none; color: var(--gsd-blue); border: 0; border-bottom: 1.5px solid currentColor; border-radius: 0; }
.elementor-widget-button.gsd-b-link .elementor-button:hover { color: var(--gsd-navy); }
.gsd-on-dark .gsd-b-link .elementor-button { color: var(--gsd-aqua); }
.gsd-ext { font-size: .85em; }
.gsd-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 4 — Header / navigation ---------------------------------------------------- */
.gsd-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255,255,255,.97);
	border-bottom: 1px solid var(--gsd-line);
	transition: box-shadow .25s var(--gsd-ease);
}
.admin-bar .gsd-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .gsd-header { top: 0; } }
.gsd-header.is-scrolled { box-shadow: 0 6px 24px rgba(11,37,69,.08); }
.gsd-header__bar { display: flex; align-items: center; gap: 24px; min-height: var(--gsd-header-h); }
.gsd-header__brand { display: block; flex: none; line-height: 0; }
.gsd-logo { width: auto; height: 80px; }
.gsd-nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.gsd-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.gsd-menu > li { position: relative; display: flex; align-items: center; }
.gsd-menu a {
	display: block; padding: 10px 12px; color: var(--gsd-ink);
	font: 500 .9688rem/1.3 var(--gsd-sans); text-decoration: none; border-radius: 4px;
}
.gsd-menu a:hover { color: var(--gsd-blue); }
.gsd-menu > .current-menu-item > a,
.gsd-menu > .current-menu-ancestor > a,
.gsd-menu > .current-menu-parent > a { color: var(--gsd-navy); box-shadow: inset 0 -2px 0 var(--gsd-teal); border-radius: 0; }
.gsd-subtoggle {
	width: 32px; height: 40px; margin-left: -8px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 4px;
	display: inline-flex; align-items: center; justify-content: center;
}
.gsd-subtoggle::before { /* chevron drawn with borders — no icon font */
	content: ""; width: 7px; height: 7px; margin-top: -4px;
	border-right: 1.75px solid var(--gsd-ink); border-bottom: 1.75px solid var(--gsd-ink);
	transform: rotate(45deg); transition: transform .2s var(--gsd-ease);
}
.gsd-subtoggle[aria-expanded="true"]::before { transform: rotate(225deg); margin-top: 4px; }
.gsd-menu .sub-menu {
	list-style: none; margin: 0; padding: 8px;
	position: absolute; top: 100%; left: 0; min-width: 260px;
	background: #fff; border: 1px solid var(--gsd-line); border-radius: var(--gsd-radius); box-shadow: var(--gsd-shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .18s var(--gsd-ease), transform .18s var(--gsd-ease), visibility 0s linear .18s;
}
.gsd-menu .sub-menu a { padding: 12px 14px; }
.gsd-menu .sub-menu a:hover, .gsd-menu .sub-menu .current-menu-item > a { background: var(--gsd-mist); color: var(--gsd-navy); }
.gsd-menu li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) and (min-width: 1024px) {
	.gsd-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
.gsd-nav__cta.gsd-btn { min-height: 44px; padding: 10px 20px; }

.gsd-burger {
	display: none; margin-left: auto; align-items: center; gap: 10px;
	min-height: 44px; padding: 8px 12px; border: 1px solid var(--gsd-line); border-radius: var(--gsd-radius);
	background: #fff; color: var(--gsd-ink); font: 600 .9375rem var(--gsd-sans); cursor: pointer;
}
.gsd-burger__lines, .gsd-burger__lines::before, .gsd-burger__lines::after {
	display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s var(--gsd-ease), opacity .2s;
}
.gsd-burger__lines { position: relative; }
.gsd-burger__lines::before, .gsd-burger__lines::after { content: ""; position: absolute; left: 0; }
.gsd-burger__lines::before { top: -6px; }
.gsd-burger__lines::after { top: 6px; }
.gsd-burger[aria-expanded="true"] .gsd-burger__lines { background: transparent; }
.gsd-burger[aria-expanded="true"] .gsd-burger__lines::before { transform: translateY(6px) rotate(45deg); }
.gsd-burger[aria-expanded="true"] .gsd-burger__lines::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) {
	:root { --gsd-header-h: 84px; }
	.gsd-logo { height: 62px; }
	.gsd-burger { display: inline-flex; }
	.gsd-nav {
		position: fixed; inset: var(--gsd-header-h) 0 0 0; z-index: 99;
		flex-direction: column; align-items: stretch; gap: 24px;
		padding: 16px var(--gsd-gutter) 40px; overflow-y: auto; overscroll-behavior: contain;
		background: #fff; border-top: 1px solid var(--gsd-line);
		visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity .2s var(--gsd-ease), transform .2s var(--gsd-ease), visibility 0s linear .2s;
	}
	.admin-bar .gsd-nav { top: calc(var(--gsd-header-h) + 46px); }
	.gsd-drawer-open .gsd-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
	.gsd-drawer-open, .gsd-drawer-open body { overflow: hidden; }
	.gsd-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.gsd-menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--gsd-line); }
	.gsd-menu > li > a { flex: 1; padding: 16px 4px; font-size: 1.125rem; }
	.gsd-menu > .current-menu-item > a, .gsd-menu > .current-menu-ancestor > a { box-shadow: none; color: var(--gsd-teal); }
	.gsd-subtoggle { width: 48px; height: 48px; margin: 0; }
	.gsd-menu .sub-menu {
		position: static; flex-basis: 100%; min-width: 0; padding: 0 0 12px 12px;
		border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none;
	}
	.gsd-menu li.is-open > .sub-menu { display: block; }
	.gsd-menu .sub-menu a { padding: 12px; font-size: 1rem; color: var(--gsd-muted); }
	.gsd-nav__cta.gsd-btn { width: 100%; min-height: 52px; }
}
@media (max-width: 782px) { .admin-bar .gsd-nav { top: var(--gsd-header-h); } }

/* 5 — Footer ------------------------------------------------------------------ */
.gsd-footer { background: var(--gsd-navy-deep); color: #c9d6e2; font-size: .9688rem; }
.gsd-footer a { color: #fff; text-decoration: none; }
.gsd-footer a:hover { color: var(--gsd-aqua); text-decoration: underline; }
.gsd-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-block: 80px 56px; }
.gsd-logo--footer { height: 60px; display: block; }
.gsd-footer__brand { display: inline-block; margin-bottom: 24px; padding: 12px 16px; background: #fff; border-radius: var(--gsd-radius); line-height: 0; } /* full-colour logo needs a light ground on navy */
.gsd-footer__about p { max-width: 38ch; margin: 0; line-height: 1.7; }
.gsd-footer__title { margin: 0 0 18px; font: 600 .8125rem/1 var(--gsd-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gsd-aqua); }
.gsd-footer__links, .gsd-footer__social, .gsd-footer__legal { list-style: none; margin: 0; padding: 0; }
.gsd-footer__links li { margin-bottom: 10px; }
.gsd-footer__links a { display: inline-block; padding: 2px 0; }
.gsd-footer__address { font-style: normal; margin-top: 14px; line-height: 1.6; }
.gsd-footer__social { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; }
.gsd-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px;
	padding-block: 24px 32px; border-top: 1px solid rgba(255,255,255,.14); font-size: .875rem;
}
.gsd-footer__bottom p { margin: 0; }
.gsd-footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
@media (max-width: 1023px) { .gsd-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; } .gsd-footer__about { grid-column: 1 / -1; } }
@media (max-width: 560px) { .gsd-footer__grid { grid-template-columns: 1fr; padding-block: 56px 40px; } }

/* 6 — Elementor building blocks --------------------------------------------------
   Set on containers/widgets under Advanced → CSS Classes.                         */

/* Section rhythm (Elementor sets its own padding; these only colour/type). */
.gsd-section { color: var(--gsd-ink); }
.gsd-bg-mist { background-color: var(--gsd-mist); }
.gsd-on-dark { color: #dbe6ef; }
.gsd-on-dark .elementor-heading-title, .gsd-on-dark h2, .gsd-on-dark h3 { color: #fff; }
.gsd-on-dark .gsd-card .elementor-heading-title, .gsd-on-dark .gsd-tile .elementor-heading-title { color: var(--gsd-ink); }
.gsd-on-dark a:not(.elementor-button) { color: var(--gsd-aqua); }

/* Eyebrow: small tracked label above a heading. */
.gsd-eyebrow .elementor-heading-title, .gsd-eyebrow-text {
	font: 600 .8125rem/1.3 var(--gsd-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gsd-teal);
}
.gsd-on-dark .gsd-eyebrow .elementor-heading-title, .gsd-hero .gsd-eyebrow .elementor-heading-title, .gsd-pagehead .gsd-eyebrow-text { color: var(--gsd-aqua); }
.gsd-eyebrow .elementor-heading-title::before, .gsd-eyebrow-text::before {
	content: "/"; margin-right: .6em; font-weight: 600;
}
.gsd-lead { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--gsd-muted); }
.gsd-lead p:last-child, .gsd-text p:last-child { margin-bottom: 0; }
.gsd-on-dark .gsd-lead { color: #c9d8e4; }
.gsd-measure { max-width: 720px; }

/* Hero: full-bleed photograph + overlay (set in Elementor), text bottom-left. */
.gsd-hero { color: #fff; }
.gsd-hero .elementor-heading-title { color: #fff; }
.gsd-hero h1.elementor-heading-title { max-width: 16ch; }
.gsd-hero--inner h1.elementor-heading-title { max-width: 20ch; font-size: clamp(2.25rem, 4.6vw, 3.5rem); }
.gsd-hero .gsd-lead { color: rgba(255,255,255,.9); max-width: 60ch; }
.gsd-hero .gsd-crumbs, .gsd-hero .gsd-crumbs a { color: rgba(255,255,255,.85); }

/* Breadcrumbs (Yoast). */
.gsd-crumbs, .gsd-crumbs-widget { font-size: .875rem; color: var(--gsd-muted); }
.gsd-crumbs a, .gsd-crumbs-widget a { color: inherit; text-decoration: none; }
.gsd-crumbs a:hover, .gsd-crumbs-widget a:hover { text-decoration: underline; }
.gsd-crumbs__sep { margin: 0 .6em; opacity: .6; }
.gsd-hero .gsd-crumbs-widget, .gsd-hero .gsd-crumbs-widget a { color: rgba(255,255,255,.85); }
.gsd-crumbs-widget p { margin: 0; }

/* Pillars: numbered text columns with a top rule (no icons). */
.gsd-pillar { border-top: 2px solid var(--gsd-navy); padding-top: 24px !important; }
.gsd-on-dark .gsd-pillar { border-top-color: rgba(255,255,255,.5); }
.gsd-num .elementor-heading-title { font: 600 .875rem/1 var(--gsd-sans); letter-spacing: .12em; color: var(--gsd-teal); }
.gsd-on-dark .gsd-num .elementor-heading-title, .gsd-hero .gsd-num .elementor-heading-title { color: var(--gsd-aqua); }
.gsd-pillar .elementor-widget-text-editor, .gsd-card .elementor-widget-text-editor { color: var(--gsd-muted); }
.gsd-on-dark .gsd-pillar .elementor-widget-text-editor { color: #c9d8e4; }

/* Cards: photograph on top, text below. */
.gsd-card {
	background: #fff; border: 1px solid var(--gsd-line); border-radius: var(--gsd-radius); overflow: hidden;
	transition: box-shadow .25s var(--gsd-ease), transform .25s var(--gsd-ease), border-color .25s;
}
.gsd-card:hover { box-shadow: var(--gsd-shadow); border-color: #c6d2dc; }
.gsd-card .elementor-widget-image { margin: 0 !important; }
.elementor .gsd-card .elementor-widget-image img, .elementor .gsd-media img {
	display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover;
}
.gsd-card__body { padding: 24px 24px 28px !important; }
.gsd-card h3.elementor-heading-title { font-size: 1.375rem; }

/* Text-only card (journal features, audiences). */
.gsd-tile { background: #fff; border: 1px solid var(--gsd-line); border-radius: var(--gsd-radius); padding: 28px !important; }
.gsd-bg-mist .gsd-tile { border-color: transparent; }
.gsd-tile h3.elementor-heading-title { font-size: 1.25rem; }
.gsd-tile .elementor-widget-text-editor { color: var(--gsd-muted); }

/* Image panel beside text. */
.elementor .gsd-media img { aspect-ratio: 4 / 3; border-radius: var(--gsd-radius); }
.elementor .gsd-media--tall img { aspect-ratio: 4 / 5; }

/* Feature card: full-photo publication card with text over a gradient. */
.elementor .e-con.gsd-feature { border-radius: var(--gsd-radius); overflow: hidden; color: #fff; min-height: 460px; }
.gsd-feature .elementor-heading-title { color: #fff; }
.gsd-feature .elementor-widget-text-editor { color: rgba(255,255,255,.9); }
@media (max-width: 767px) { .elementor .e-con.gsd-feature { min-height: 380px; } }

/* Quote / statement band. */
.gsd-statement .elementor-heading-title { font-weight: 400; font-size: clamp(1.625rem, 3vw, 2.375rem); line-height: 1.3; max-width: 30ch; }

/* Key–value list (journal at a glance). */
.gsd-kv dl { margin: 0; }
.gsd-kv dl > div { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--gsd-line); }
.gsd-kv dt { font: 600 .8125rem/1.5 var(--gsd-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gsd-muted); }
.gsd-kv dd { margin: 0; font-weight: 500; }

/* Tag list (journal areas of interest). */
.gsd-tags ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.gsd-tags li { padding: 8px 14px; border: 1px solid var(--gsd-line); border-radius: 999px; background: #fff; font-size: .9375rem; }

/* Check list without icons: a teal rule marks each item. */
.gsd-list ul { list-style: none; margin: 0; padding: 0; }
.gsd-list li { position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--gsd-line); }
.gsd-list li::before { content: ""; position: absolute; left: 0; top: 1.35em; width: 14px; height: 2px; background: var(--gsd-teal); }

/* Stats row in the proceedings hero. */
.gsd-stats { display: flex; flex-wrap: wrap; gap: 16px 48px; margin: 0; }
.gsd-stats dt { font: 600 2.25rem/1 var(--gsd-serif); color: #fff; }
.gsd-stats dd { margin: 6px 0 0; font-size: .875rem; color: rgba(255,255,255,.8); }

/* Page header used by theme templates (proceeding detail, plain pages, 404). */
.gsd-pagehead { background: var(--gsd-navy); color: #fff; padding-block: clamp(48px, 7vw, 88px); }
.gsd-pagehead .gsd-crumbs, .gsd-pagehead .gsd-crumbs a { color: rgba(255,255,255,.8); }
.gsd-pagehead .gsd-crumbs { margin-bottom: 20px; }
.gsd-pagehead__title { color: #fff; font-size: clamp(2rem, 4vw, 3.25rem); max-width: 26ch; margin: 16px 0 12px; }
.gsd-pagehead__sub { margin: 0; color: rgba(255,255,255,.85); font-size: 1.125rem; }

/* 7 — Proceedings archive ------------------------------------------------------- */
.gsd-filters {
	display: grid; grid-template-columns: 2fr repeat(4, 1fr) auto; gap: 16px; align-items: end;
	padding: 24px; background: var(--gsd-mist); border-radius: var(--gsd-radius);
}
.gsd-filters .gsd-field label { display: block; margin-bottom: 6px; font: 600 .8125rem/1.3 var(--gsd-sans); color: var(--gsd-ink); }
.gsd-filters input, .gsd-filters select { width: 100%; }
@media (max-width: 1100px) { .gsd-filters { grid-template-columns: 1fr 1fr 1fr; } .gsd-field--search { grid-column: 1 / -1; } }
@media (max-width: 640px) { .gsd-filters { grid-template-columns: 1fr; padding: 18px; } .gsd-filters__reset { width: 100%; } }
.gsd-archive__count { margin: 28px 0 8px; font-weight: 600; color: var(--gsd-muted); }
.gsd-archive__empty { padding: 48px 24px; text-align: center; border: 1px dashed var(--gsd-line); border-radius: var(--gsd-radius); }

.gsd-proc-list { list-style: none; margin: 0; padding: 0; }
.gsd-proc-list__item { border-top: 1px solid var(--gsd-line); }
.gsd-proc-list__item:last-child { border-bottom: 1px solid var(--gsd-line); }
.gsd-proc { display: grid; grid-template-columns: 200px 1fr; gap: clamp(20px, 4vw, 48px); padding-block: 40px; }
.gsd-proc__cover { display: block; align-self: start; }
.gsd-proc__cover img, .gsd-proc__img {
	display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover;
	border-radius: 3px; box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 14px 28px rgba(11,37,69,.16);
	transition: transform .3s var(--gsd-ease);
}
.gsd-proc:hover .gsd-proc__img { transform: translateY(-3px); }
.gsd-proc__nocover { display: grid; place-items: center; aspect-ratio: 2 / 3; background: var(--gsd-navy); color: #fff; font: 600 1.5rem var(--gsd-serif); border-radius: 3px; }
.gsd-proc__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 12px; font-size: .875rem; color: var(--gsd-muted); }
.gsd-proc__year { font: 600 1.125rem/1 var(--gsd-serif); color: var(--gsd-navy); }
.gsd-proc__kicker--light, .gsd-proc__kicker--light .gsd-proc__year { color: #fff; }
.gsd-badge {
	display: inline-block; padding: 4px 10px; border-radius: 999px;
	background: #e3f1e1; color: #25561f; font: 600 .75rem/1.3 var(--gsd-sans); letter-spacing: .06em; text-transform: uppercase;
}
.gsd-proc__title { margin: 0 0 8px; font-size: clamp(1.375rem, 2.2vw, 1.75rem); }
.gsd-proc__title a { color: var(--gsd-ink); text-decoration: none; }
.gsd-proc__title a:hover { color: var(--gsd-blue); text-decoration: underline; }
.gsd-proc__where { margin: 0 0 12px; font-weight: 500; color: var(--gsd-teal); }
.gsd-proc__editors { margin: 0 0 14px; font-size: .9375rem; }
.gsd-proc__editors span { font-weight: 600; }
.gsd-proc__desc { margin-bottom: 18px; color: var(--gsd-muted); max-width: 72ch; }
.gsd-proc__facts { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 0 0 22px; font-size: .9063rem; }
.gsd-proc__facts dt { font: 600 .75rem/1.4 var(--gsd-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gsd-muted); }
.gsd-proc__facts dd { margin: 2px 0 0; }
.gsd-proc__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 640px) {
	.gsd-proc { grid-template-columns: 1fr; padding-block: 32px; }
	.gsd-proc__cover { width: 44%; max-width: 180px; }
	.gsd-proc__actions .gsd-btn { flex: 1 1 100%; }
}

/* Compact card (related proceedings). */
.gsd-proc--compact { grid-template-columns: 96px 1fr; gap: 20px; padding: 0; }
.gsd-proc--compact .gsd-proc__title { font-size: 1.125rem; }
.gsd-proc--compact .gsd-proc__where { font-size: .875rem; margin: 0; }
@media (max-width: 640px) { .gsd-proc--compact { grid-template-columns: 80px 1fr; } .gsd-proc--compact .gsd-proc__cover { width: auto; } }

/* 8 — Proceeding detail --------------------------------------------------------- */
.gsd-detail { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 6vw, 88px); padding-block: var(--gsd-section); }
.gsd-detail__aside { align-self: start; position: sticky; top: calc(var(--gsd-header-h) + 32px); }
.gsd-detail__cover { margin: 0 0 24px; }
.gsd-detail__cover img { display: block; width: 100%; height: auto; border-radius: 3px; box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 20px 40px rgba(11,37,69,.18); }
.gsd-detail__actions { display: grid; gap: 12px; }
.gsd-detail__block { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--gsd-line); }
.gsd-detail__block:last-child { border-bottom: 0; margin-bottom: 0; }
.gsd-detail__block h2 { font-size: 1.5rem; margin-bottom: 16px; }
.gsd-prose { max-width: 70ch; }
.gsd-prose p { margin-bottom: 1.1em; }
.gsd-prose h2 { margin-top: 1.6em; font-size: 1.625rem; }
.gsd-prose h3 { margin-top: 1.4em; }
.gsd-editors { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.gsd-editors li { padding: 6px 0; break-inside: avoid; }
.gsd-facts { margin: 0; }
.gsd-facts > div { display: grid; grid-template-columns: 11rem 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--gsd-line); }
.gsd-facts > div:first-child { border-top: 1px solid var(--gsd-line); }
.gsd-facts dt { font-weight: 600; color: var(--gsd-muted); font-size: .9375rem; }
.gsd-facts dd { margin: 0; overflow-wrap: anywhere; }
.gsd-note { margin: 16px 0 0; padding: 14px 16px; background: var(--gsd-mist); border-left: 3px solid var(--gsd-teal); font-size: .9375rem; color: var(--gsd-muted); }
.gsd-related { background: var(--gsd-mist); padding-block: clamp(56px, 7vw, 88px); }
.gsd-related__title { margin-bottom: 32px; }
.gsd-related__list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 1023px) { .gsd-related__list { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
	.gsd-detail { grid-template-columns: 1fr; }
	.gsd-detail__aside { position: static; display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: end; }
	.gsd-detail__cover { margin: 0; }
}
@media (max-width: 480px) {
	.gsd-detail__aside { grid-template-columns: 1fr; }
	.gsd-detail__cover { max-width: 200px; }
	.gsd-facts > div { grid-template-columns: 1fr; gap: 2px; }
	.gsd-editors { columns: 1; }
}

/* 9 — Forms --------------------------------------------------------------------- */
.gsd-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.gsd-form .gsd-field--wide, .gsd-form__hint, .gsd-form__privacy, .gsd-form > .gsd-btn { grid-column: 1 / -1; }
.gsd-form > .gsd-btn { justify-self: start; min-width: 180px; }
.gsd-form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .9375rem; }
.gsd-form__hint, .gsd-form__privacy { margin: 0; font-size: .875rem; color: var(--gsd-muted); }
.gsd-archive input[type="search"], .gsd-archive select, .gsd-form input, .gsd-form textarea {
	box-sizing: border-box; width: 100%; min-height: 48px; padding: 10px 14px;
	border: 1.5px solid #b9c6d1; border-radius: var(--gsd-radius); background: #fff; color: var(--gsd-ink);
	font: 400 1rem/1.4 var(--gsd-sans); transition: border-color .15s, box-shadow .15s;
}
.gsd-archive select { appearance: none; padding-right: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230f1d2b' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.gsd-form textarea { min-height: 160px; resize: vertical; }
.gsd-archive input:focus, .gsd-archive select:focus, .gsd-form input:focus, .gsd-form textarea:focus { outline: none; border-color: var(--gsd-blue); box-shadow: 0 0 0 3px rgba(26,93,156,.2); }
.gsd-field.has-error input, .gsd-field.has-error textarea { border-color: #b3261e; }
.gsd-field__error { margin: 6px 0 0; color: #b3261e; font-size: .875rem; font-weight: 500; }
.gsd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gsd-notice { margin-bottom: 24px; padding: 16px 20px; border-radius: var(--gsd-radius); border-left: 4px solid; }
.gsd-notice ul { margin: 8px 0 0; padding-left: 20px; }
.gsd-notice a { color: inherit; }
.gsd-notice--ok { background: #e7f3e5; border-color: var(--gsd-green); color: #1f4a1b; }
.gsd-notice--error { background: #fbeceb; border-color: #b3261e; color: #7a1a15; }
.gsd-form button[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 640px) { .gsd-form { grid-template-columns: 1fr; } .gsd-form > .gsd-btn { width: 100%; } }

/* 10 — Utilities / motion ------------------------------------------------------- */
.gsd-hide { display: none !important; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
	.gsd-header, .gsd-footer, .gsd-filters, .gsd-related { display: none; }
}

/* Hello Elementor's reset.css paints every focused/hovered <button> pink (#c36).
   Restate our own states for the buttons this theme and plugin render. */
.gsd-burger:hover, .gsd-burger:focus { background: #fff; color: var(--gsd-ink); border-color: var(--gsd-navy); }
.gsd-subtoggle:hover, .gsd-subtoggle:focus { background: var(--gsd-mist); color: var(--gsd-ink); }
button.gsd-btn--primary:focus { background: var(--gsd-navy); color: #fff; }
button.gsd-btn--primary:hover { background: var(--gsd-blue); color: #fff; }
button.gsd-btn--ghost:focus { background: transparent; color: var(--gsd-navy); border-color: var(--gsd-navy); }
button.gsd-btn--ghost:hover { background: var(--gsd-navy); color: #fff; }

/* Justified body copy (site-wide preference). Hyphenation keeps word spacing even
   in narrow columns; headings, buttons, menus and short labels stay left-aligned. */
.gsd-main p, .gsd-list li, .gsd-prose li, .gsd-proc__desc, .gsd-footer__about p {
	text-align: justify; -webkit-hyphens: auto; hyphens: auto;
	hyphenate-limit-chars: 8 4 4; -webkit-hyphenate-limit-before: 4; -webkit-hyphenate-limit-after: 4; /* never split short words or acronyms like ISGSD */
}
.gsd-main .gsd-cta p, .gsd-main .gsd-archive__empty p, .gsd-main .gsd-stats, .gsd-main .gsd-proc__kicker,
.gsd-main .gsd-form__hint, .gsd-main .gsd-crumbs-widget p { text-align: inherit; -webkit-hyphens: manual; hyphens: manual; }
.gsd-main .gsd-cta p { text-align: center; }
