/* ==========================================================================
   SDPT Modern — Sialkot Dry Port Trust
   Palette taken from the yard: port navy, container steel, concrete apron,
   and the yellow of reach-stacker and lane markings.
   ========================================================================== */

:root {
	--navy: #0D2B4A;
	--navy-deep: #08203A;
	--navy-2: #163F6A;
	--marking: #F5B800;
	--marking-dark: #D9A300;
	--concrete: #EEF1F4;
	--steel: #52606E;
	--ink: #14202C;
	--line: #D6DDE4;
	--white: #FFFFFF;
	--ok: #1E7A4C;

	--font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
	--font-body: "Barlow", "Segoe UI", Arial, sans-serif;

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(56px, 8vw, 104px);
	--radius: 4px;
	--header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--navy-2); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--marking); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.005em; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000;
	top: 8px; left: 8px; padding: 12px 18px; background: var(--marking); color: var(--navy); font-weight: 600;
}

/* ---------- Buttons & links ---------- */
.btn {
	display: inline-flex; align-items: center; gap: .55em;
	font: 600 1.0625rem/1 var(--font-body);
	padding: .95em 1.4em; border-radius: var(--radius);
	text-decoration: none; border: 2px solid transparent; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--marking { background: var(--marking); color: var(--navy); }
.btn--marking:hover { background: var(--white); color: var(--navy); }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-2); color: var(--white); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); color: var(--white); }

.text-link {
	font-weight: 600; color: var(--navy); text-decoration: none;
	border-bottom: 2px solid var(--marking); padding-bottom: 2px;
}
.text-link:hover { border-bottom-color: var(--navy); color: var(--navy); }

/* ---------- Announcement + utility bar ---------- */
.notice-bar { background: var(--navy-deep); color: var(--white); font-size: .9375rem; }
.notice-bar p { margin: 0; padding: .55rem 0; display: flex; align-items: center; gap: .6rem; }
.notice-bar p::before { content: ""; width: .6rem; height: .6rem; background: var(--marking); flex: none; }
.notice-bar a { color: var(--white); }
.notice-bar a:hover { color: var(--marking); }

.utility { background: var(--navy); color: rgba(255, 255, 255, .78); font-size: .875rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.utility-contact { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.utility-contact li { display: flex; align-items: center; gap: .4rem; }
.utility-contact a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.utility-contact a:hover { color: var(--white); }
.utility .icon { width: 1rem; height: 1rem; color: var(--marking); }
.utility-right { display: flex; align-items: center; gap: 1.25rem; }
.utility-link { color: inherit; text-decoration: none; }
.utility-link:hover { color: var(--white); }

/* ---------- Social icon lists ---------- */
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: .4rem; }
.social a { display: grid; place-items: center; color: inherit; text-decoration: none; border-radius: 50%; transition: background-color .15s, color .15s; }
.social--small a { width: 28px; height: 28px; }
.social--small .icon { width: 16px; height: 16px; color: rgba(255,255,255,.8); }
.social--small a:hover .icon { color: var(--marking); }
.social--footer a, .social--large a { width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .25); color: var(--white); }
.social--footer a:hover, .social--large a:hover { background: var(--marking); border-color: var(--marking); color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--white); border-bottom: 1px solid var(--line);
	transition: box-shadow .2s;
}
.site-header.is-stuck { box-shadow: 0 6px 20px rgba(13, 43, 74, .08); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand-logo { max-height: 56px; width: auto; }
.brand-mark {
	display: grid; place-items: center; width: 52px; height: 52px; flex: none;
	background: var(--navy); color: var(--white);
	font: 700 1.05rem/1 var(--font-display); letter-spacing: .04em;
	box-shadow: inset 0 -5px 0 var(--marking);
}
.brand-text { display: flex; flex-direction: column; }
.brand-name { font: 700 1.35rem/1.05 var(--font-display); color: var(--navy); }
.brand-sub { font-size: .8125rem; color: var(--steel); }

.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.site-nav .menu > li { position: relative; display: flex; align-items: center; }
.site-nav .menu a {
	display: block; padding: .6rem .75rem; text-decoration: none;
	font-weight: 500; color: var(--ink); border-radius: var(--radius);
}
.site-nav .menu > li > a:hover,
.site-nav .menu > .current-menu-item > a,
.site-nav .menu > .current-menu-ancestor > a,
.site-nav .menu > .current_page_parent > a { color: var(--navy); box-shadow: inset 0 -3px 0 var(--marking); border-radius: 0; }
.sub-toggle { background: none; border: 0; padding: .4rem .2rem; margin-left: -.5rem; color: var(--steel); cursor: pointer; display: grid; place-items: center; }
.sub-toggle svg { width: 12px; height: 12px; transition: transform .15s; }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.site-nav .sub-menu {
	list-style: none; margin: 0; padding: .5rem 0;
	position: absolute; top: 100%; left: 0; min-width: 230px;
	background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--marking);
	box-shadow: 0 16px 32px rgba(13, 43, 74, .12);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu,
.site-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { padding: .55rem 1.1rem; border-radius: 0; }
.site-nav .sub-menu a:hover { background: var(--concrete); }
.header-cta { padding: .75em 1.1em; font-size: 1rem; }
.header-cta:hover { background: var(--navy); color: var(--white); }

.nav-toggle { display: none; background: none; border: 0; padding: .5rem; color: var(--navy); cursor: pointer; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .when-open { display: none; }
.nav-toggle[aria-expanded="true"] .when-open { display: block; }
.nav-toggle[aria-expanded="true"] .when-closed { display: none; }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden;
	background: var(--navy);
	color: var(--white);
	padding: clamp(48px, 6vw, 88px) 0 clamp(96px, 10vw, 128px);
}
.hero::before {
	/* faint quay paving grid */
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image:
		linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
	background-size: 64px 64px;
}
.hero--photo {
	background: linear-gradient(90deg, rgba(8, 32, 58, .94) 0%, rgba(8, 32, 58, .78) 45%, rgba(8, 32, 58, .25) 100%), var(--hero-img) center / cover no-repeat;
}
.hero--photo::before { display: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.hero--photo .hero-inner { grid-template-columns: minmax(0, 720px); }
.hero-status {
	display: inline-flex; align-items: center; gap: .6rem;
	font-size: .9375rem; color: rgba(255,255,255,.85);
	padding: .4rem .85rem .4rem .7rem; border: 1px solid rgba(255,255,255,.2); border-radius: 99px;
	margin-bottom: 1.5rem;
}
.pulse { width: .55rem; height: .55rem; border-radius: 50%; background: #3BD58A; box-shadow: 0 0 0 0 rgba(59, 213, 138, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(59, 213, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 213, 138, 0); } }
.hero-title {
	color: var(--white);
	font-size: clamp(2.6rem, 6vw, 4.75rem);
	font-weight: 700; line-height: .98; letter-spacing: -.012em;
	max-width: 16ch; margin-bottom: .45em;
	text-wrap: balance;
}
.hero-text { font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: rgba(255,255,255,.82); max-width: 54ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero-art svg { width: 100%; height: auto; display: block; }
.box-code { font: 600 9px/1 var(--font-body); letter-spacing: .06em; }
.hero-art .box { animation: drop .7s cubic-bezier(.2, .9, .3, 1.15) both; animation-delay: var(--d); }
@keyframes drop { from { transform: translateY(-60px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Toolkit: the corrugated container strip ---------- */
.toolkit { position: relative; z-index: 2; margin-top: -64px; }
.toolkit-panels {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(5, 1fr);
	background:
		repeating-linear-gradient(90deg, var(--marking) 0 16px, #EBAE00 16px 19px);
	border-top: 8px solid #C79500;
	border-bottom: 8px solid #C79500;
	box-shadow: 0 24px 48px rgba(8, 32, 58, .22);
}
.toolkit-panels li { position: relative; }
.toolkit-panels li + li::before {
	/* container door seam */
	content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px;
	background: rgba(13, 43, 74, .28);
}
.toolkit-panels a {
	display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .8rem;
	align-items: center;
	padding: 1.5rem 1.25rem; height: 100%;
	color: var(--navy); text-decoration: none;
	transition: background-color .15s;
}
.toolkit-panels a:hover { background: rgba(255, 255, 255, .55); }
.toolkit-panels .icon { grid-row: 1 / 3; width: 2rem; height: 2rem; stroke-width: 1.6; }
.toolkit-label { font: 700 1.25rem/1.1 var(--font-display); }
.toolkit-note { font-size: .875rem; font-weight: 500; color: var(--navy); }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-title { font-size: clamp(1.9rem, 3.2vw, 2.75rem); font-weight: 700; max-width: 22ch; text-wrap: balance; }
.section-title--sm { font-size: 1.75rem; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.section-head .section-title { margin: 0; }
.lead { font-size: 1.25rem; line-height: 1.5; color: var(--ink); }
.empty { color: var(--steel); padding: 1.25rem; border: 1px dashed var(--line); }

/* Intro + facts */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro-copy p { max-width: 60ch; }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 2px solid var(--navy); }
.fact { padding: 1.4rem 1.25rem 1.4rem 0; border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { border-right: 1px solid var(--line); }
.fact:nth-child(even) { padding-left: 1.25rem; }
.fact dt { font: 700 clamp(2.4rem, 4vw, 3.25rem)/1 var(--font-display); color: var(--navy); margin-bottom: .35rem; font-variant-numeric: tabular-nums; }
.fact dd { margin: 0; color: var(--steel); font-size: .9688rem; line-height: 1.4; }

/* Route: process as a haulage route */
.route { background: var(--concrete); }
.route .section-title { margin-bottom: 3rem; }
.route-stops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: stop; position: relative; }
.route-stops::before {
	/* lane marking */
	content: ""; position: absolute; top: 31px; left: 33px; right: calc((100% - 6rem) / 4 - 33px); height: 4px;
	background: repeating-linear-gradient(90deg, var(--marking) 0 24px, transparent 24px 40px);
}
.route-stops li { position: relative; counter-increment: stop; }
.route-node {
	position: relative; display: grid; place-items: center;
	width: 66px; height: 66px; border-radius: 50%;
	background: var(--navy); color: var(--white); margin-bottom: 1.25rem;
	box-shadow: 0 0 0 6px var(--concrete);
}
.route-node .icon { width: 28px; height: 28px; }
.route-node::after {
	content: counter(stop); position: absolute; top: -4px; right: -4px;
	width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
	background: var(--marking); color: var(--navy); font: 700 .8125rem/1 var(--font-body);
}
.route-stops h3 { font-size: 1.5rem; margin-bottom: .35em; }
.route-stops p { color: var(--steel); margin: 0; max-width: 32ch; }

/* Services */
.service-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(24px, 4vw, 64px); }
.service { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.service-icon { display: grid; place-items: center; width: 56px; height: 56px; background: var(--concrete); color: var(--navy); border-radius: var(--radius); }
.service-icon .icon { width: 28px; height: 28px; }
.service h3 { font-size: 1.5rem; margin-bottom: .25em; }
.service h3 a { color: var(--navy); text-decoration: none; }
.service h3 a:hover { text-decoration: underline; text-decoration-color: var(--marking); text-decoration-thickness: 3px; }
.service p { margin: 0; color: var(--steel); }
.service-list--full { grid-template-columns: repeat(3, 1fr); column-gap: 32px; row-gap: 16px; }
.service-list--full .service { grid-template-columns: 1fr; border-top: 3px solid var(--navy); padding-top: 1.25rem; }
.service-list--full .service-media { margin: -1.25rem 0 .5rem; }
.service-list--full .service-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* Updates: tenders + news */
.updates { padding-top: 0; }
.updates-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.tender-list { list-style: none; margin: 0; padding: 0; }
.tender { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.tender:last-child { border-bottom: 1px solid var(--line); }
.tender h3 { font-size: 1.375rem; margin: .35rem 0 .2rem; }
.tender h3 a { color: var(--navy); text-decoration: none; }
.tender h3 a:hover { text-decoration: underline; }
.tender-meta { margin: 0; color: var(--steel); font-size: .9375rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.tender-status {
	display: inline-block; font-size: .8125rem; font-weight: 600;
	padding: .2rem .6rem; border-radius: 2px;
	background: var(--marking); color: var(--navy);
}
.tender--closed .tender-status { background: var(--concrete); color: var(--steel); }
.tender-doc {
	flex: none; display: inline-flex; align-items: center; gap: .45rem;
	padding: .65rem .9rem; border: 1px solid var(--line); border-radius: var(--radius);
	color: var(--navy); font-weight: 600; text-decoration: none; font-size: .9375rem;
}
.tender-doc:hover { border-color: var(--navy); background: var(--concrete); }
.tender-list--page .tender { padding: 1.5rem 0; }

.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.news-list li:last-child { border-bottom: 1px solid var(--line); }
.news-list time { font-size: .875rem; color: var(--steel); }
.news-list h3 { font-size: 1.375rem; margin: .25rem 0 .35rem; }
.news-list h3 a { color: var(--navy); text-decoration: none; }
.news-list h3 a:hover { text-decoration: underline; }
.news-list p { margin: 0; color: var(--steel); }

/* Social band */
.social-band { background: var(--navy); color: rgba(255,255,255,.82); }
.social-band .section-title { color: var(--white); }
.social-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: clamp(32px, 6vw, 96px); align-items: start; }
.social-copy p { max-width: 46ch; font-size: 1.125rem; margin-bottom: 1.75rem; }
.social--large { gap: .6rem; }
.social--large .icon { width: 20px; height: 20px; }
.fb-feed { background: var(--white); border-top: 6px solid var(--marking); line-height: 0; }
.fb-feed iframe { width: 100%; display: block; }

/* Offices */
.offices--map { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px; }
.map { min-height: 380px; background: var(--concrete); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(.85); }
.office-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.office { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.office:nth-child(-n+2) { border-top: 3px solid var(--navy); }
.office h3 { font-size: 1.5rem; margin-bottom: .2em; display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.office-role { font: 500 .875rem var(--font-body); color: var(--steel); }
.office-person { font-weight: 600; margin-bottom: .5rem; font-size: .9688rem; }
.office-line { display: flex; gap: .55rem; margin: 0 0 .35rem; font-size: .9375rem; line-height: 1.45; color: var(--ink); }
.office-line .icon { width: 1.05rem; height: 1.05rem; margin-top: .15rem; color: var(--steel); }
.office-line a { color: var(--ink); }

/* CTA band */
.cta-band { background: var(--concrete); padding: clamp(48px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; margin-bottom: .3em; }
.cta-band p { margin: 0; color: var(--steel); max-width: 56ch; }
.cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.cta-band .btn--marking:hover { background: var(--navy); color: var(--white); }
.cta-band .btn--ghost { border-color: var(--navy); color: var(--navy); }
.cta-band .btn--ghost:hover { background: var(--navy); color: var(--white); }

/* ---------- Inner pages ---------- */
.page-header {
	position: relative; overflow: hidden;
	background: var(--navy); color: var(--white);
	padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 5vw, 60px);
}
.page-header::after {
	/* container side, cropped at the right edge */
	content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: min(28vw, 340px);
	background: repeating-linear-gradient(90deg, var(--navy-2) 0 16px, #1A4878 16px 20px);
	border-left: 6px solid var(--marking);
	opacity: .9;
}
.page-header .wrap { position: relative; z-index: 1; }
.page-title { color: var(--white); font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 700; max-width: 20ch; margin: 0; text-wrap: balance; }
.page-lead { margin: 1rem 0 0; font-size: 1.1875rem; color: rgba(255,255,255,.8); max-width: 60ch; }
.page-meta { margin: .75rem 0 0; color: rgba(255,255,255,.75); }
.page-meta a { color: var(--marking); }
.page-meta .sep { opacity: .5; margin: 0 .3rem; }

.crumbs ol { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; font-size: .9rem; color: rgba(255,255,255,.65); }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumbs a:hover { color: var(--marking); }

.page-body { padding-top: clamp(40px, 5vw, 64px); padding-bottom: var(--section); }
.page-body--subnav { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
.page-body--aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.page-body--article .entry { max-width: 760px; }

.subnav ul { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--line); position: sticky; top: calc(var(--header-h) + 24px); }
.subnav a { display: block; padding: .55rem 1rem; color: var(--steel); text-decoration: none; margin-left: -3px; border-left: 3px solid transparent; }
.subnav a:hover { color: var(--navy); }
.subnav a[aria-current] { color: var(--navy); font-weight: 600; border-left-color: var(--marking); }

.entry-media { margin: 0 0 2rem; }
.entry-media img { width: 100%; }

/* Editor content */
.entry-content { max-width: 760px; }
.entry-content--intro { margin-bottom: 2.5rem; font-size: 1.1875rem; }
.entry-content > * + h2 { margin-top: 2.2em; }
.entry-content > * + h3 { margin-top: 1.8em; }
.entry-content h2 { font-size: 2rem; }
.entry-content h3 { font-size: 1.5rem; }
.entry-content ul, .entry-content ol { padding-left: 1.25rem; margin: 0 0 1.25em; }
.entry-content li { margin-bottom: .45em; }
.entry-content ul li::marker { color: var(--marking-dark); }
.entry-content blockquote { margin: 1.5em 0; padding: .25em 0 .25em 1.25em; border-left: 4px solid var(--marking); font-size: 1.1875rem; }
.entry-content img { margin-block: 1.5em; }
.entry-content .is-style-columns { columns: 2 220px; column-gap: 2rem; list-style: none; padding: 0; }
.entry-content .is-style-columns li { break-inside: avoid; padding: .35rem 0; border-bottom: 1px solid var(--line); margin: 0; }

/* Tables — tariff schedules */
.wp-block-table { margin: 1.25em 0 2em; overflow-x: auto; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 1rem; font-variant-numeric: tabular-nums; }
.entry-content .wp-block-table thead { border-bottom: 0; }
.entry-content .wp-block-table th,
.entry-content .wp-block-table td { border: 0; }
.entry-content th { background: var(--navy); color: var(--white); text-align: left; font-weight: 600; padding: .75rem 1rem; }
.entry-content td { padding: .7rem 1rem; border-bottom: 1px solid var(--line) !important; vertical-align: top; }
.entry-content .is-style-tariff th:last-child,
.entry-content .is-style-tariff td:last-child { text-align: right; }
.entry-content tbody tr:nth-child(even) td { background: #F7F9FA; }
.entry-content td:last-child:not(:first-child) { white-space: nowrap; }
.wp-element-caption, .wp-block-table figcaption { font-size: .875rem; color: var(--steel); margin-top: .6rem; }

/* Aside boxes */
.aside { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 24px); }
.aside-box { padding: 1.5rem; border: 1px solid var(--line); }
.aside-box h2 { font-size: 1.375rem; }
.aside-box--dark { background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,.85); border-top: 6px solid var(--marking); }
.aside-box--dark h2 { color: var(--white); }
.aside-box--dark a:not(.btn) { color: var(--white); }
.aside-box--dark .btn { margin-top: .5rem; }
.aside-links { list-style: none; margin: 0; padding: 0; }
.aside-links a { display: flex; align-items: center; gap: .6rem; padding: .55rem 0; border-top: 1px solid var(--line); color: var(--navy); text-decoration: none; font-weight: 500; }
.aside-links li:first-child a { border-top: 0; }
.aside-links a:hover { color: var(--navy-2); }
.aside-links .icon { color: var(--steel); }
.tender-card .tender-status { margin-bottom: 1rem; }
.tender-facts { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; margin: 0 0 1.25rem; }
.tender-facts dt { color: var(--steel); }
.tender-facts dd { margin: 0; font-weight: 600; }

/* Share */
.share { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.share-label { font-weight: 600; color: var(--navy); }
.share ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .5rem; }
.share a, .share button {
	position: relative; display: grid; place-items: center; width: 42px; height: 42px;
	border: 1px solid var(--line); border-radius: 50%; background: var(--white);
	color: var(--navy); cursor: pointer; text-decoration: none;
}
.share a:hover, .share button:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.share .icon { width: 18px; height: 18px; }
.share-copied { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--navy); color: var(--white); font-size: .8125rem; padding: .2rem .5rem; border-radius: 2px; white-space: nowrap; pointer-events: none; }
.share-copied:empty { display: none; }

/* Post navigation */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; margin-top: 3rem; }
.post-nav a { display: block; padding: 1.1rem 1.25rem; border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 600; }
.post-nav a:hover { border-color: var(--navy); }
.post-nav span { display: block; font-size: .875rem; font-weight: 500; color: var(--steel); margin-bottom: .2rem; }
.post-nav-next { grid-column: 2; text-align: right; }

/* Post grid */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.post-card { border-top: 3px solid var(--navy); padding-top: 1rem; }
.post-card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 1rem; }
.post-card time { font-size: .875rem; color: var(--steel); }
.post-card h2 { font-size: 1.5rem; margin: .25rem 0 .5rem; }
.post-card h2 a { color: var(--navy); text-decoration: none; }
.post-card h2 a:hover { text-decoration: underline; }
.post-card p { color: var(--steel); margin: 0; }

.pagination, .nav-links { display: flex; gap: .4rem; margin-top: 3rem; flex-wrap: wrap; }
.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .75rem; border: 1px solid var(--line); text-decoration: none; color: var(--navy); font-weight: 600; }
.page-numbers.current { background: var(--navy); border-color: var(--navy); color: var(--white); }
.page-numbers:hover:not(.current) { border-color: var(--navy); }

/* Search */
.search-form { display: flex; max-width: 560px; border: 2px solid var(--navy); }
.search-form input { flex: 1; min-width: 0; border: 0; padding: .85rem 1rem; font: inherit; }
.search-form input:focus { outline: none; }
.search-form:focus-within { outline: 3px solid var(--marking); outline-offset: 2px; }
.search-form button { border: 0; background: var(--navy); color: var(--white); padding: 0 1.1rem; cursor: pointer; }
.search-again { margin-bottom: 2.5rem; }
.lost-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.lost-links a { display: block; padding: 1rem 1.25rem; border: 1px solid var(--line); border-left: 4px solid var(--marking); font-weight: 600; color: var(--navy); text-decoration: none; }
.lost-links a:hover { border-color: var(--navy); border-left-color: var(--marking); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-direct { display: grid; gap: 24px; }
.direct-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.direct-list li { display: flex; gap: .7rem; padding: .6rem 0; border-top: 1px solid rgba(255,255,255,.12); }
.direct-list li:first-child { border-top: 0; }
.direct-list .icon { color: var(--marking); margin-top: .15rem; }
.contact-grid + .offices-home { padding-top: 0; }

.enquiry { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; color: var(--navy); font-size: .9688rem; }
.field .opt { font-weight: 400; color: var(--steel); }
.field input, .field select, .field textarea {
	font: inherit; padding: .8rem .9rem; border: 1px solid #B9C4CE; border-radius: var(--radius); background: var(--white); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(245, 184, 0, .55); }
.field textarea { resize: vertical; min-height: 140px; }
.hp { position: absolute; left: -9999px; }
.form-msg { grid-column: 1 / -1; padding: 1rem 1.15rem; border-left: 4px solid; margin: 0; }
.form-msg--ok { background: #E8F5EE; border-color: var(--ok); color: #124B2F; }
.form-msg--error { background: #FDF0EE; border-color: #B42318; color: #7A1A12; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); font-size: .9688rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-top: clamp(48px, 6vw, 80px); padding-bottom: 48px; }
.footer-brand { font: 700 1.6rem/1.1 var(--font-display); color: var(--white); margin-bottom: .75rem; }
.footer-about p { max-width: 40ch; }
.footer-about .social { margin-top: 1.25rem; }
.footer-title { font-size: 1.125rem; color: var(--white); margin-bottom: 1rem; padding-bottom: .6rem; border-bottom: 2px solid var(--marking); display: inline-block; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .5rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--marking); }
.footer-contact p { margin-bottom: .75rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); font-size: .875rem; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.25rem; }
.footer-bottom p { margin: 0; }

/* WhatsApp float */
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 60;
	display: inline-flex; align-items: center; gap: .55rem;
	padding: .8rem 1.1rem .8rem .9rem; border-radius: 99px;
	background: #1C8D4E; color: var(--white); font-weight: 600; text-decoration: none;
	box-shadow: 0 10px 28px rgba(0,0,0,.22);
}
.wa-float:hover { background: #157240; color: var(--white); }
.wa-float .icon { width: 24px; height: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.toolkit-panels { grid-template-columns: repeat(3, 1fr); }
	.toolkit-panels li:nth-child(4)::before { display: none; }
	.toolkit-panels li:nth-child(n+4) { border-top: 3px solid rgba(13, 43, 74, .22); }
	.service-list--full { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.utility-hours { display: none !important; }
}

@media (max-width: 1024px) {
	.nav-toggle { display: block; }
	.site-nav {
		position: fixed; inset: calc(var(--header-h)) 0 0 0; z-index: 49;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--white); padding: 1rem var(--gutter) 2rem; overflow-y: auto;
		transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s;
	}
	.site-nav.is-open { transform: none; visibility: visible; }
	.site-header.nav-below-admin .site-nav { top: calc(var(--header-h) + 46px); }
	.site-nav .menu { flex-direction: column; align-items: stretch; }
	.site-nav .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.site-nav .menu > li > a { flex: 1; padding: 1rem 0; font-size: 1.125rem; box-shadow: none !important; }
	.sub-toggle { padding: 1rem; margin: 0; }
	.site-nav .sub-menu { position: static; flex-basis: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 .75rem 1rem; display: none; }
	.site-nav li.is-open > .sub-menu { display: block; }
	.site-nav li:hover > .sub-menu { display: none; }
	.site-nav li.is-open:hover > .sub-menu { display: block; }
	.header-cta { margin-top: 1.5rem; justify-content: center; }
	body.nav-open { overflow: hidden; }

	.hero-inner { grid-template-columns: 1fr; }
	.hero-art { max-width: 520px; }
	.intro-grid, .updates-grid, .social-grid, .contact-grid { grid-template-columns: 1fr; }
	.route-stops { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
	.route-stops::before { display: none; }
	.offices--map { grid-template-columns: 1fr; }
	.page-body--aside, .page-body--subnav { grid-template-columns: 1fr; }
	.aside, .subnav ul { position: static; }
	.post-grid { grid-template-columns: 1fr 1fr; }
	.page-header::after { width: 18vw; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
	.utility-contact li:nth-child(2) { display: none; }
}

@media (max-width: 640px) {
	body { font-size: 1rem; }
	.utility .social { display: none; }
	.brand-sub { display: none; }
	.brand-name { font-size: 1.15rem; }
	.brand-mark { width: 44px; height: 44px; font-size: .9rem; }
	.toolkit { margin-top: -48px; }
	.toolkit-panels { grid-template-columns: 1fr 1fr; }
	.toolkit-panels li::before { display: none; }
	.toolkit-panels li:nth-child(n+3) { border-top: 3px solid rgba(13, 43, 74, .22); }
	.toolkit-panels li:nth-child(even) { border-left: 3px solid rgba(13, 43, 74, .22); }
	.toolkit-panels li:last-child { grid-column: 1 / -1; border-left: 0; }
	.toolkit-panels a { padding: 1.1rem .9rem; grid-template-columns: 1fr; row-gap: .4rem; }
	.toolkit-panels .icon { grid-row: auto; width: 1.6rem; height: 1.6rem; }
	.toolkit-label { font-size: 1.125rem; }
	.facts { grid-template-columns: 1fr 1fr; }
	.route-stops { grid-template-columns: 1fr; }
	.service-list, .service-list--full, .office-list, .post-grid, .enquiry { grid-template-columns: 1fr; }
	.office:nth-child(2) { border-top: 1px solid var(--line); }
	.tender { flex-direction: column; align-items: flex-start; }
	.footer-grid { grid-template-columns: 1fr; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav-next { grid-column: auto; text-align: left; }
	.page-header::after { display: none; }
	.wa-float span { display: none; }
	.wa-float { padding: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
	.notice-bar, .utility, .site-nav, .nav-toggle, .toolkit, .social-band, .cta-band, .site-footer, .wa-float, .share { display: none !important; }
	.site-header { position: static; border: 0; }
	.page-header { background: none; color: var(--ink); padding: 0; }
	.page-header::after { display: none; }
	.page-title { color: var(--ink); }
	.entry-content th { background: #ddd; color: #000; }
}
.enquiry .field--full .btn { align-self: flex-start; }
@media (max-width: 640px) {
	.route-stops { row-gap: 1.75rem; }
	.route-stops li { display: grid; grid-template-columns: 56px 1fr; column-gap: 1rem; }
	.route-node { width: 52px; height: 52px; margin: 0; grid-row: 1 / 3; }
	.route-node .icon { width: 24px; height: 24px; }
	.route-stops h3 { font-size: 1.3rem; margin-top: .6rem; }
}

/* ==========================================================================
   Hover states
   ========================================================================== */
.btn { transition: background-color .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(8, 32, 58, .18); }
.btn:active { transform: none; box-shadow: none; }

/* Main menu: marking line slides in under the link */
.site-nav .menu > li > a { position: relative; }
.site-nav .menu > li > a::after {
	content: ""; position: absolute; left: .75rem; right: .75rem; bottom: 2px; height: 3px;
	background: var(--marking); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.site-nav .menu > li > a:hover,
.site-nav .menu > .current-menu-item > a,
.site-nav .menu > .current-menu-ancestor > a,
.site-nav .menu > .current_page_parent > a { box-shadow: none; }
.site-nav .menu > li > a:hover::after,
.site-nav .menu > .current-menu-item > a::after,
.site-nav .menu > .current-menu-ancestor > a::after,
.site-nav .menu > .current_page_parent > a::after { transform: scaleX(1); }

/* Hero containers: hover lifts a box, like a reach stacker picking it up */
.hero-art .box { cursor: default; transition: translate .35s cubic-bezier(.2, .9, .3, 1.2); }
.hero-art .box:hover { translate: 0 -10px; }

/* Toolkit panels */
.toolkit-panels .icon { transition: transform .2s ease; }
.toolkit-panels a:hover .icon { transform: translateY(-4px); }
.toolkit-panels a:hover .toolkit-label { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }

/* Services: whole row is clickable; icon plate turns marking yellow */
.service { position: relative; }
.service h3 a::after { content: ""; position: absolute; inset: 0; }
.service-icon { transition: background-color .2s, color .2s, transform .2s; }
.service:hover .service-icon { background: var(--marking); transform: rotate(-4deg) scale(1.06); }
.service:hover h3 a { text-decoration: underline; text-decoration-color: var(--marking); text-decoration-thickness: 3px; }
.service-media { overflow: hidden; }
.service-media img, .post-card-media img { transition: transform .5s ease; }
.service:hover .service-media img, .post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-media { display: block; overflow: hidden; margin-bottom: 1rem; }
.post-card-media img { margin-bottom: 0; }

/* Tender and news rows: a marking bar slides in on hover */
.tender, .news-list li { position: relative; transition: background-color .2s, padding-left .2s; }
.tender::before, .news-list li::before {
	content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 4px;
	background: var(--marking); transform: scaleY(0); transition: transform .2s ease;
}
.tender:hover, .news-list li:hover { background: #F7F9FA; padding-left: 1rem; }
.tender:hover::before, .news-list li:hover::before { transform: scaleY(1); }

/* Route nodes */
.route-node { transition: background-color .2s, color .2s, transform .2s; }
.route-stops li:hover .route-node { background: var(--marking); color: var(--navy); transform: scale(1.06); }

/* Offices */
.office { transition: border-color .2s; }
.office:hover { border-top-color: var(--marking); }

/* ==========================================================================
   Scroll animation (only when JS runs and animations are switched on)
   ========================================================================== */
.js .sdpt-motion [data-reveal],
.js .sdpt-motion [data-reveal-group] > * {
	opacity: 0; transform: translateY(22px);
	transition: opacity .6s ease, transform .7s cubic-bezier(.2, .7, .2, 1), background-color .2s, padding-left .2s, border-color .2s;
	transition-delay: calc(var(--i, 0) * 90ms);
}
.js .sdpt-motion [data-reveal].is-in,
.js .sdpt-motion [data-reveal-group].is-in > * { opacity: 1; transform: none; }

/* The lane marking draws itself from stop 1 to stop 4 */
.js .sdpt-motion .route-stops::before { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s cubic-bezier(.5, 0, .2, 1) .2s; }
.js .sdpt-motion .route-stops.is-in::before { clip-path: inset(0 0 0 0); }

/* ==========================================================================
   Hero background video
   ========================================================================== */
.hero--video { background: var(--hero-img, none) center / cover no-repeat, var(--navy-deep); }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity 1.2s ease; }
.hero-video.is-playing { opacity: 1; }
.hero-media::after {
	/* Readability scrim: dark at the bottom (text and tools strip) and on the left, clear in the middle so the footage shows. */
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background:
		linear-gradient(180deg, rgba(8, 32, 58, .45) 0%, rgba(8, 32, 58, 0) 22%, rgba(8, 32, 58, 0) 45%, rgba(8, 32, 58, .7) 80%, rgba(8, 32, 58, .92) 100%),
		linear-gradient(90deg, rgba(8, 32, 58, .7) 0%, rgba(8, 32, 58, .3) 45%, rgba(8, 32, 58, 0) 75%);
}
.hero--video .hero-inner { z-index: 1; }
.hero--video .hero-title, .hero--video .hero-text { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }

/* Full-screen hero: fills the screen below the header, copy sits low like a showreel caption. */
.hero--full {
	display: flex; flex-direction: column; justify-content: flex-end;
	min-height: clamp(560px, calc(100vh - var(--header-h)), 1080px);
	min-height: clamp(560px, calc(100svh - var(--header-h)), 1080px);
}
.hero--full .hero-inner { width: 100%; }
.admin-bar .hero--full { min-height: clamp(560px, calc(100svh - var(--header-h) - 32px), 1080px); }
@media (max-width: 640px) {
	.hero--full { min-height: clamp(520px, calc(100svh - var(--header-h)), 860px); }
	.hero-media::after {
		background: linear-gradient(180deg, rgba(8, 32, 58, .35) 0%, rgba(8, 32, 58, .15) 30%, rgba(8, 32, 58, .75) 70%, rgba(8, 32, 58, .95) 100%);
	}
}
.hero-pause {
	position: absolute; z-index: 2; right: var(--gutter); top: 20px;
	width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
	border: 1px solid rgba(255, 255, 255, .4); background: rgba(8, 32, 58, .5); color: var(--white); cursor: pointer;
}
.hero-pause:hover { background: var(--marking); color: var(--navy); border-color: var(--marking); }
.hero-pause svg { width: 18px; height: 18px; }
.hero-pause .when-paused, .hero-pause[aria-pressed="true"] .when-playing { display: none; }
.hero-pause[aria-pressed="true"] .when-paused { display: block; }

/* ==========================================================================
   The port from above — drone videos
   ========================================================================== */
.aerial { background: var(--navy-deep); color: rgba(255, 255, 255, .8); }
.aerial .section-title { color: var(--white); }
.aerial-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: end; margin-bottom: 2.5rem; }
.aerial-head .section-title { margin: 0; }
.aerial-head p { margin: 0; max-width: 52ch; font-size: 1.125rem; }
.aerial-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.aerial-grid--single { grid-template-columns: minmax(0, 1fr); }
.aerial-stage { margin: 0; }
.aerial-screen { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.aerial-screen video, .aerial-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #000; }
.aerial-play {
	position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer;
	background: var(--poster, linear-gradient(135deg, var(--navy-2), var(--navy))) center / cover no-repeat;
	display: grid; place-items: center;
}
.aerial-play::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 32, 58, .55), rgba(8, 32, 58, .05) 60%); transition: background-color .2s; }
.aerial-play:hover::before { background-color: rgba(8, 32, 58, .15); }
.aerial-play-btn {
	position: relative; width: 84px; height: 84px; border-radius: 50%;
	display: grid; place-items: center; background: var(--marking); color: var(--navy);
	box-shadow: 0 0 0 10px rgba(245, 184, 0, .25); transition: transform .2s ease, box-shadow .2s ease;
}
.aerial-play-btn svg { width: 34px; height: 34px; margin-left: 4px; }
.aerial-play:hover .aerial-play-btn { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(245, 184, 0, .2); }
.aerial-caption { display: grid; gap: .2rem; padding: 1.1rem 0 0; }
.aerial-area { font-size: .875rem; font-weight: 600; color: var(--marking); }
.aerial-area:empty { display: none; }
.aerial-title { font: 600 1.6rem/1.15 var(--font-display); color: var(--white); }
.aerial-text { max-width: 70ch; }

.aerial-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-height: 560px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
.aerial-item {
	width: 100%; display: grid; grid-template-columns: 128px 1fr; gap: .9rem; align-items: center;
	padding: .55rem; border: 0; border-left: 4px solid transparent; background: rgba(255, 255, 255, .04);
	color: inherit; text-align: left; font: inherit; cursor: pointer; transition: background-color .2s, border-color .2s;
}
.aerial-item:hover { background: rgba(255, 255, 255, .1); }
.aerial-item[aria-current="true"] { background: rgba(255, 255, 255, .12); border-left-color: var(--marking); }
.aerial-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--thumb, var(--navy-2)) center / cover no-repeat; overflow: hidden; }
.aerial-dur { position: absolute; right: 4px; bottom: 4px; background: rgba(0, 0, 0, .75); color: var(--white); font-size: .75rem; padding: .05rem .35rem; border-radius: 2px; font-variant-numeric: tabular-nums; }
.aerial-item-text { display: grid; gap: .15rem; }
.aerial-item-area { font-size: .8125rem; color: var(--marking); font-weight: 600; }
.aerial-item-title { font: 600 1.125rem/1.15 var(--font-display); color: var(--white); }

.aerial--empty { background: var(--concrete); padding: 40px 0; }
.aerial-slot { display: flex; gap: 1.5rem; align-items: center; padding: 2rem; border: 2px dashed #9AA8B5; color: var(--steel); }
.aerial-slot > .icon { width: 56px; height: 56px; color: var(--navy); flex: none; }
.aerial-slot h2 { font-size: 1.6rem; margin-bottom: .25em; }
.aerial-slot p { margin-bottom: 1rem; max-width: 70ch; }
.page-body--tight { padding-bottom: 0; }

@media (max-width: 1024px) {
	.aerial-grid, .aerial-head { grid-template-columns: minmax(0, 1fr); }
	.aerial-list { max-height: none; }
}
@media (max-width: 640px) {
	.aerial-item { grid-template-columns: 104px 1fr; }
	.aerial-play-btn { width: 64px; height: 64px; }
	.aerial-slot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	.js .sdpt-motion [data-reveal], .js .sdpt-motion [data-reveal-group] > * { opacity: 1 !important; transform: none !important; }
	.js .sdpt-motion .route-stops::before { clip-path: none !important; }
	.btn:hover { transform: none; }
}

/* ==========================================================================
   Elementor compatibility
   ========================================================================== */
.sdpt-elementor-content { width: 100%; }
.sdpt-elementor-content::after { content: ""; display: table; clear: both; }
/* SDPT section widgets span edge to edge and set their own spacing */
.elementor-widget[class*="elementor-widget-sdpt-"] { margin-block-end: 0 !important; width: 100%; }
.elementor-widget[class*="elementor-widget-sdpt-"] > .elementor-widget-container { padding: 0; margin: 0; }
.elementor-section .elementor-widget-sdpt-toolkit { position: relative; z-index: 2; }
.toolkit--flat { margin-top: 0; padding: clamp(24px, 4vw, 48px) 0; }
.intro-grid--solo { grid-template-columns: minmax(0, 1fr); }
.social--on-light a { border-color: var(--line); color: var(--navy); }
.social--on-light a:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.sdpt-el-form, .sdpt-el-social { max-width: 760px; }
/* Theme typography inside Elementor's own text widgets */
.elementor-widget-text-editor { font-family: var(--font-body); }
/* Inside the Elementor editor everything stays visible (no scroll-in animation) */
.elementor-editor-active [data-reveal],
.elementor-editor-active [data-reveal-group] > * { opacity: 1 !important; transform: none !important; }
.elementor-editor-active .route-stops::before { clip-path: none !important; }
/* Elementor content under the SDPT page banner gets breathing room
   (choose the "Elementor Full Width" template to go edge to edge) */
.page-header + .sdpt-elementor-content { padding-block: clamp(32px, 4vw, 56px); }

/* ==========================================================================
   Guard the theme's look against Elementor "Site Settings" (kit) styles.
   Kit rules look like `.elementor-kit-12 h1` / `.elementor-kit-12 button` / `.elementor-kit-12 a`;
   these `body.sdpt …` rules are more specific, so the SDPT design always wins.
   Elementor's own widgets (headings, buttons) still follow their per-widget settings.
   ========================================================================== */

/* Brand logo */
.brand-logo { max-height: 60px; width: auto; }
.brand-logo--badge { width: 60px; height: 60px; }
.footer-brand { display: flex; align-items: center; gap: .9rem; }
.footer-logo { width: 64px; height: 64px; flex: none; }
@media (max-width: 640px) { .brand-logo, .brand-logo--badge { width: 46px; height: 46px; } }

/* Headings */
body.sdpt :is(h1, h2, h3, h4):not(.elementor-heading-title) {
	font-family: var(--font-display); color: var(--navy); text-transform: none; letter-spacing: -.005em; line-height: 1.08;
}
body.sdpt h1.hero-title { color: var(--white); font-size: clamp(2.6rem, 6vw, 4.75rem); font-weight: 700; line-height: .98; letter-spacing: -.012em; }
body.sdpt h2.hero-title { color: var(--white); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; line-height: 1; }
body.sdpt h1.page-title { color: var(--white); font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 700; }
body.sdpt h2.section-title { font-size: clamp(1.9rem, 3.2vw, 2.75rem); font-weight: 700; }
body.sdpt h2.section-title--sm { font-size: 1.75rem; }
body.sdpt .aerial h2.section-title,
body.sdpt .social-band h2.section-title,
body.sdpt .aside-box--dark h2,
body.sdpt .site-footer h2.footer-title { color: var(--white); }
body.sdpt .cta-band h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
body.sdpt .entry-content h2:not(.elementor-heading-title) { font-size: 2rem; }
body.sdpt .entry-content h3:not(.elementor-heading-title) { font-size: 1.5rem; }

/* Links */
body.sdpt .notice-bar a { color: var(--white); }
body.sdpt .notice-bar a:hover { color: var(--marking); }
body.sdpt .utility-contact a, body.sdpt .utility-link { color: rgba(255, 255, 255, .78); }
body.sdpt .utility-contact a:hover, body.sdpt .utility-link:hover { color: var(--white); }
body.sdpt .social--small a { color: inherit; }
body.sdpt .social--footer a, body.sdpt .social--large a { color: var(--white); }
body.sdpt .social--footer a:hover, body.sdpt .social--large a:hover { color: var(--navy); }
body.sdpt .social--on-light a { color: var(--navy); }
body.sdpt .social--on-light a:hover { color: var(--white); }
body.sdpt a.brand { color: var(--navy); }
body.sdpt .site-nav .menu a { color: var(--ink); }
body.sdpt .toolkit-panels a { color: var(--navy); }
body.sdpt a.text-link { color: var(--navy); }
body.sdpt .crumbs a { color: rgba(255, 255, 255, .85); }
body.sdpt .crumbs a:hover, body.sdpt .page-meta a { color: var(--marking); }
body.sdpt .site-footer a { color: rgba(255, 255, 255, .85); }
body.sdpt .site-footer a:hover { color: var(--marking); }
body.sdpt :is(.service, .tender, .news-list li, .post-card) :is(h2, h3) a { color: var(--navy); }
body.sdpt .office-line a { color: var(--ink); }
body.sdpt .aside-box--dark a:not(.btn) { color: var(--white); }
body.sdpt :is(.aside-links a, .post-nav a, .lost-links a, a.page-numbers, a.tender-doc) { color: var(--navy); }
body.sdpt .entry-content a:not(.btn):not(.elementor-button) { color: var(--navy-2); }
body.sdpt a.wa-float, body.sdpt a.wa-float:hover { color: var(--white); }

/* Theme buttons */
body.sdpt .btn { padding: .95em 1.4em; border-radius: var(--radius); font: 600 1.0625rem/1 var(--font-body); text-transform: none; letter-spacing: normal; border-width: 2px; border-style: solid; }
body.sdpt .btn--marking { background: var(--marking); color: var(--navy); border-color: transparent; }
body.sdpt .btn--marking:hover, body.sdpt .btn--marking:focus { background: var(--white); color: var(--navy); }
body.sdpt .header-cta:hover, body.sdpt .header-cta:focus,
body.sdpt .cta-band .btn--marking:hover { background: var(--navy); color: var(--white); }
body.sdpt .header-cta { padding: .75em 1.1em; font-size: 1rem; }
body.sdpt .btn--primary { background: var(--navy); color: var(--white); border-color: transparent; }
body.sdpt .btn--primary:hover, body.sdpt .btn--primary:focus { background: var(--navy-2); color: var(--white); }
body.sdpt .btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .55); }
body.sdpt .btn--ghost:hover, body.sdpt .btn--ghost:focus { background: rgba(255, 255, 255, .08); color: var(--white); border-color: var(--white); }
body.sdpt .cta-band .btn--ghost { color: var(--navy); border-color: var(--navy); }
body.sdpt .cta-band .btn--ghost:hover { background: var(--navy); color: var(--white); }

/* Icon and control buttons: no box, no padding from Elementor's global button style */
body.sdpt :is(.sub-toggle, .nav-toggle, .hero-pause, .aerial-play, .aerial-item, .share-copy, .search-form button) {
	text-transform: none; letter-spacing: normal; font-family: inherit; box-shadow: none; min-height: 0; line-height: 1;
}
body.sdpt .sub-toggle,
body.sdpt .sub-toggle:hover,
body.sdpt .sub-toggle:focus { background: none; border: 0; border-radius: 0; padding: .4rem .2rem; color: var(--steel); }
body.sdpt .sub-toggle:hover, body.sdpt .sub-toggle:focus { color: var(--navy); }
body.sdpt .nav-toggle,
body.sdpt .nav-toggle:hover,
body.sdpt .nav-toggle:focus { background: none; border: 0; border-radius: 0; padding: .5rem; color: var(--navy); }
body.sdpt .hero-pause { background: rgba(8, 32, 58, .5); border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; padding: 0; color: var(--white); width: 44px; height: 44px; }
body.sdpt .hero-pause:hover, body.sdpt .hero-pause:focus { background: var(--marking); border-color: var(--marking); color: var(--navy); }
body.sdpt .aerial-play,
body.sdpt .aerial-play:hover,
body.sdpt .aerial-play:focus { background: var(--poster, linear-gradient(135deg, var(--navy-2), var(--navy))) center / cover no-repeat; border: 0; border-radius: 0; padding: 0; color: inherit; }
body.sdpt .aerial-item { background: rgba(255, 255, 255, .04); border: 0; border-left: 4px solid transparent; border-radius: 0; padding: .55rem; color: inherit; text-align: left; }
body.sdpt .aerial-item:hover, body.sdpt .aerial-item:focus { background: rgba(255, 255, 255, .1); color: inherit; }
body.sdpt .aerial-item[aria-current="true"] { background: rgba(255, 255, 255, .12); border-left-color: var(--marking); }
body.sdpt .share :is(a, button) { background: var(--white); border: 1px solid var(--line); border-radius: 50%; padding: 0; color: var(--navy); width: 42px; height: 42px; }
body.sdpt .share :is(a, button):hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
body.sdpt .search-form button,
body.sdpt .search-form button:hover { background: var(--navy); color: var(--white); border: 0; border-radius: 0; padding: 0 1.1rem; }

/* Form fields */
body.sdpt .enquiry .field :is(input, select, textarea) {
	font: inherit; padding: .8rem .9rem; border: 1px solid #B9C4CE; border-radius: var(--radius); background: var(--white); color: var(--ink); box-shadow: none;
}
body.sdpt .enquiry .field :is(input, select, textarea):focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(245, 184, 0, .55); outline: none; }
body.sdpt .enquiry .field label { color: var(--navy); font-weight: 600; font-size: .9688rem; }
body.sdpt .search-form input { border: 0; padding: .85rem 1rem; font: inherit; background: var(--white); color: var(--ink); }

/* ==========================================================================
   Board of Trustees
   ========================================================================== */
.board-section .board { margin: 0; }
.board-leaders { list-style: none; margin: 0 0 clamp(48px, 6vw, 80px); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.member { margin: 0; }
.member-photo {
	position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--concrete);
	display: grid; place-items: center;
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .5s ease; }
.member:hover .member-photo img { transform: scale(1.04); }
.member-initials {
	display: grid; place-items: center; width: 56%; aspect-ratio: 1; border-radius: 50%;
	background: var(--navy); color: var(--marking); box-shadow: 0 0 0 6px rgba(13, 43, 74, .08);
	font: 700 clamp(1.4rem, 3vw, 2.2rem)/1 var(--font-display); letter-spacing: .02em;
}
.member-text { padding: .9rem 0 0; }
body.sdpt .member-name { font-size: 1.25rem; margin: 0; line-height: 1.15; }
.member-role { margin: .25rem 0 0; font-size: .9375rem; color: var(--steel); font-weight: 500; }

/* Founder and office bearers: framed like the hero panel */
.member--founder .member-photo, .member--office .member-photo { border-bottom: 5px solid var(--marking); }
.member--founder .member-photo { border-bottom-color: var(--navy); }
.member--founder .member-role, .member--office .member-role {
	display: inline-block; margin-top: .45rem; padding: .2rem .6rem; border-radius: 2px;
	background: var(--marking); color: var(--navy); font-size: .8125rem; font-weight: 600;
}
.member--founder .member-role { background: var(--navy); color: var(--white); }
body.sdpt .member--founder .member-name, body.sdpt .member--office .member-name { font-size: 1.45rem; }

.board-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; padding-top: 2rem; border-top: 2px solid var(--navy); }
.board-head .section-title { margin: 0; }
.board-search input {
	width: min(320px, 100%); font: inherit; padding: .7rem .9rem; border: 1px solid #B9C4CE; border-radius: var(--radius); background: var(--white); color: var(--ink);
}
.board-search input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(245, 184, 0, .55); }
.board-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 20px; }
.member--trustee .member-photo { aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 4px var(--white), 0 0 0 5px var(--line); transition: box-shadow .2s; }
.member--trustee:hover .member-photo { box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--marking); }
.member--trustee .member-initials { width: 100%; height: 100%; box-shadow: none; }
.member--trustee .member-text { text-align: center; }
body.sdpt .member--trustee .member-name { font-size: 1.0625rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.member[hidden] { display: none; }
.board-none { color: var(--steel); padding: 1rem 0; }

@media (max-width: 1024px) { .board-leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
	.board-leaders { gap: 16px; }
	.board-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 12px; }
	body.sdpt .member--trustee .member-name { font-size: .875rem; }
	.member--trustee .member-initials { font-size: 1.35rem; }
	body.sdpt .member--founder .member-name, body.sdpt .member--office .member-name { font-size: 1.2rem; }
}
.board-edit { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 0 0 2rem; padding: 1rem; border: 2px dashed #9AA8B5; color: var(--steel); font-size: .9375rem; }

/* ==========================================================================
   Chairman's message
   ========================================================================== */
.chair-layout { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.chair-card { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.chair-photo { aspect-ratio: 4 / 5; background: var(--concrete); display: grid; place-items: center; overflow: hidden; border-bottom: 6px solid var(--marking); }
.chair-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.chair-photo .chair-video { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; background: var(--navy-deep); }
.chair-card figcaption { padding-top: 1rem; display: grid; gap: .2rem; }
.chair-name { font: 700 1.6rem/1.1 var(--font-display); color: var(--navy); }
.chair-role { color: var(--steel); font-weight: 500; }
.chair-message { position: relative; font-size: 1.1875rem; line-height: 1.7; max-width: 66ch; margin-top: 2.5rem; }
.chair-message::before {
	content: "“"; position: absolute; left: -.08em; top: -.55em;
	font: 700 9rem/1 var(--font-display); color: var(--marking); opacity: .45; pointer-events: none;
}
.chair-message > p:first-child { font-size: 1.375rem; color: var(--navy); font-weight: 500; position: relative; }

/* ==========================================================================
   Management organisation chart — level rows, always fits the page width
   ========================================================================== */
.page-body--orgchart { max-width: 1480px; }
.orgchart { --oc-line: #9FB0C0; --oc-gap: 14px; }
.oc-bar { display: flex; justify-content: space-between; align-items: center; gap: .75rem 1rem; flex-wrap: wrap; margin-bottom: 1rem; padding: .6rem .8rem; background: #FFF8E1; border: 1px solid #F3DC93; }
.oc-hint { margin: 0; font-size: .875rem; color: var(--ink); }
.oc-tools { display: flex; gap: .5rem; flex-wrap: wrap; }
body.sdpt .oc-tools a {
	font: 600 .875rem/1 var(--font-body); padding: .55rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--navy); text-decoration: none;
}
body.sdpt .oc-tools a:hover { border-color: var(--navy); }
body.sdpt .oc-tools .oc-manage { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Department colours (small dot) and level colours (box edge + level label) */
.oc-dept--board { --oc-c: #0D2B4A; }
.oc-dept--operations { --oc-c: #D9A300; }
.oc-dept--transport { --oc-c: #2D6496; }
.oc-dept--warehouse { --oc-c: #6B8E23; }
.oc-dept--finance { --oc-c: #1E7A4C; }
.oc-dept--admin { --oc-c: #8A5A9E; }
.oc-dept--it { --oc-c: #0F8B8D; }
.oc-dept--terminal { --oc-c: #C25E2E; }
.oc-dept--other { --oc-c: #52606E; }
.oc-l1 { --lv: #0D2B4A; }
.oc-l2 { --lv: #B8860B; }
.oc-l3 { --lv: #2D6496; }
.oc-l4 { --lv: #1E7A4C; }
.oc-l5 { --lv: #C25E2E; }
.oc-l6 { --lv: #8A5A9E; }
.oc-l7 { --lv: #0F8B8D; }
.oc-l8, .oc-l9 { --lv: #52606E; }

.oc-levels { position: relative; border: 1px solid var(--line); background: var(--white); }
.oc-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.oc-lines path { fill: none; stroke: var(--oc-line); stroke-width: 2; stroke-linejoin: round; }
.oc-level { display: grid; grid-template-columns: 64px minmax(0, 1fr); border-top: 1px solid var(--line); }
.oc-level:first-of-type { border-top: 0; }
.oc-level:nth-of-type(even) { background: #F7F9FB; }
.oc-level-label {
	margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem;
	background: var(--lv); color: var(--white); text-transform: uppercase; letter-spacing: .08em; font: 600 .6875rem/1 var(--font-body);
}
.oc-level-label b { font: 700 1.6rem/1 var(--font-display); letter-spacing: 0; }
.oc-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 18px 28px; padding: 30px 16px; min-width: 0; }
.oc-cluster { position: relative; min-width: 0; max-width: 100%; display: flex; flex-direction: column; align-items: center; flex: 0 1 auto; }
.oc-cluster-cap { margin: 0 0 .5rem; font-size: .75rem; font-weight: 600; color: var(--steel); text-transform: uppercase; letter-spacing: .06em; text-align: center; }
.oc-js .oc-cluster:not(.is-wrapped) .oc-cluster-cap { display: none; }
.oc-cluster.is-wrapped { padding: .75rem; border: 1px dashed var(--oc-line); background: rgba(255, 255, 255, .7); }
.oc-js .oc-cluster.is-below .oc-cluster-cap { display: block; }
.oc-units { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: var(--oc-gap); max-width: 100%; }
.oc-unit { position: relative; z-index: 2; display: flex; flex-direction: column; width: 186px; flex: 0 1 186px; min-width: 150px; }
.oc-unit.has-side { width: auto; flex-basis: auto; }
.oc-head { display: flex; align-items: flex-start; gap: 34px; }

/* A box */
.oc-card {
	position: relative; z-index: 2; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: .15rem .65rem; align-items: center;
	width: 100%; min-width: 150px; padding: .7rem .75rem; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--lv, var(--steel));
	box-shadow: 0 4px 14px rgba(13, 43, 74, .07); transition: box-shadow .2s, transform .2s; text-align: left;
}
.oc-head > .oc-card { width: 200px; flex: none; }
.oc-unit.has-side > .oc-head { margin-left: 224px; } /* keeps the main box centred under/over its line */
.oc-unit:not(.has-side) .oc-head > .oc-card { width: 100%; }
.oc-card:hover, .oc-card:focus-within { box-shadow: 0 10px 24px rgba(13, 43, 74, .15); transform: translateY(-2px); }
.oc-card.is-post { grid-template-columns: minmax(0, 1fr); text-align: center; padding: .85rem .75rem; }
.oc-l1 .oc-head > .oc-card:not(.is-side) { background: var(--navy); border-color: var(--navy); border-top-color: var(--marking); }
body.sdpt .oc-l1 .oc-head > .oc-card:not(.is-side) :is(.oc-name, .oc-role, .oc-dept) { color: var(--white); }
body.sdpt .oc-l1 .oc-head > .oc-card:not(.is-side) .oc-edit a { color: var(--marking); }
.oc-photo { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--concrete); grid-row: 1 / 3; align-self: start; }
.oc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.oc-photo .member-initials { width: 100%; height: 100%; font-size: .95rem; box-shadow: none; }
.oc-text { min-width: 0; }
.oc-text p { margin: 0; }
.oc-name { font: 700 1.02rem/1.15 var(--font-display); color: var(--navy); overflow-wrap: anywhere; }
.oc-card.is-post .oc-name { font-size: 1.05rem; }
.oc-role { font-size: .8125rem; color: var(--ink); line-height: 1.3; margin-top: .15rem !important; }
.oc-dept { font-size: .75rem; color: var(--steel); margin-top: .25rem !important; display: flex; align-items: center; gap: .35rem; }
.oc-card.is-post .oc-dept { justify-content: center; }
.oc-dept::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--oc-c); flex: none; }
.is-vacant { border-style: dashed; background: #FAFBFC; }
.is-vacant .oc-name { color: var(--steel); font-style: italic; }
.oc-contact { grid-column: 1 / -1; display: flex; gap: .35rem; margin-top: .4rem; padding-top: .4rem; border-top: 1px solid var(--line); }
.oc-card.is-post .oc-contact { justify-content: center; }
.oc-l1 .oc-head > .oc-card .oc-contact { border-top-color: rgba(255, 255, 255, .15); }
body.sdpt .oc-contact a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--concrete); color: var(--navy); }
body.sdpt .oc-contact a:hover { background: var(--marking); color: var(--navy); }
.oc-contact .icon { width: 14px; height: 14px; }
.oc-edit { grid-column: 1 / -1; display: flex; justify-content: center; gap: .75rem; margin-top: .35rem; font-size: .75rem; }
body.sdpt .oc-edit a, body.sdpt .oc-pencil { color: var(--navy-2); }
.oc-pencil { font-size: .6875rem; margin-left: .3rem; }

/* Side box (e.g. Audit Committee beside the Board) */
.oc-sides { display: flex; flex-direction: column; gap: 10px; }
.oc-side { position: relative; width: 190px; }
.oc-side::before { content: ""; position: absolute; top: 26px; left: -34px; width: 34px; border-top: 2px dashed var(--oc-line); }
.oc-card.is-side { --lv: #7A8794; border-top-style: solid; background: #FBFCFD; }
.oc-side > .oc-team { margin-top: 0; }

/* List box (e.g. Executive Council with its committees) */
.oc-grouplist { grid-column: 1 / -1; list-style: none; margin: .5rem 0 0; padding: .45rem 0 0; border-top: 1px solid var(--line); text-align: left; display: grid; gap: .2rem; }
.oc-grouplist > li { position: relative; padding-left: .9rem; font-size: .8125rem; line-height: 1.3; }
.oc-grouplist > li::before { content: ""; position: absolute; left: 0; top: .45em; width: 6px; height: 6px; background: var(--lv, var(--steel)); }
.oc-grouplist .oc-li { display: inline; padding: 0; border: 0; background: none; }
.oc-grouplist .oc-li-text { display: inline; }
.oc-grouplist .oc-li-name { font-weight: 600; color: var(--ink); }
.oc-grouplist .oc-li-role { display: block; color: var(--steel); font-size: .75rem; }

/* Team list under a department head */
.oc-team { list-style: none; margin: 0; padding: 0 0 0 14px; text-align: left; }
.oc-team > li { position: relative; padding: 6px 0 0 10px; }
.oc-team > li::before { content: ""; position: absolute; left: -4px; top: 0; bottom: 0; border-left: 2px solid var(--oc-line); }
.oc-team > li:last-child::before { bottom: auto; height: 25px; }
.oc-team > li::after { content: ""; position: absolute; left: -4px; top: 24px; width: 14px; border-top: 2px solid var(--oc-line); }
.oc-li { position: relative; z-index: 2; display: flex; align-items: center; gap: .5rem; padding: .45rem .55rem; background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--lv, var(--steel)); }
.oc-team .oc-team .oc-li { border-left-color: var(--oc-line); }
.oc-mini { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; flex: none; }
.oc-mini img, .oc-mini .member-initials { width: 100%; height: 100%; object-fit: cover; font-size: .7rem; box-shadow: none; }
.oc-li-text { display: grid; min-width: 0; }
.oc-li-name { font-size: .8125rem; font-weight: 600; color: var(--ink); line-height: 1.25; overflow-wrap: anywhere; }
.oc-li-role { font-size: .71875rem; color: var(--steel); line-height: 1.25; }
.oc-team .oc-team { padding-top: 4px; }
.oc-team .oc-team .oc-li-name { font-weight: 500; }

@media (max-width: 760px) {
	/* Phones: each level is a heading with its boxes stacked below; "Reports to" names the manager */
	.oc-lines { display: none; }
	.oc-level { grid-template-columns: 1fr; }
	.oc-level-label { flex-direction: row; justify-content: flex-start; gap: .4rem; padding: .45rem .9rem; font-size: .75rem; }
	.oc-level-label b { font-size: 1rem; }
	.oc-row { padding: 16px 12px; gap: 16px; }
	.oc-cluster, .oc-units, .oc-unit { width: 100%; max-width: none; }
	.oc-js .oc-cluster .oc-cluster-cap { display: block; align-self: flex-start; }
	.oc-cluster.is-wrapped { padding: 0; border: 0; background: none; }
	.oc-units { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
	.oc-unit { flex: none; min-width: 0; }
	.oc-head { flex-direction: column; gap: 14px; }
	.oc-unit.has-side > .oc-head { margin-left: 0; }
	.oc-head > .oc-card, .oc-side { width: 100%; }
	.oc-side { padding-left: 22px; }
	.oc-side::before { left: 8px; top: -14px; height: 40px; width: 14px; border-top: 0; border-left: 2px dashed var(--oc-line); border-bottom: 2px dashed var(--oc-line); }
}
@media print {
	.oc-bar, .oc-edit, .oc-pencil { display: none !important; }
	.oc-card, .oc-li { box-shadow: none; break-inside: avoid; }
	.oc-level { break-inside: avoid; }
}

/* ==========================================================================
   Memberships & achievements
   ========================================================================== */
.memberships { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 20px; align-items: stretch; }
.membership { display: flex; }
.membership-card { display: flex; flex-direction: column; align-items: center; gap: .75rem; width: 100%; padding: 1.25rem; border: 1px solid var(--line); border-top: 4px solid var(--marking); background: var(--white); text-decoration: none; text-align: center; transition: border-color .2s, box-shadow .2s, transform .2s; }
a.membership-card:hover { border-color: var(--navy); border-top-color: var(--marking); box-shadow: 0 10px 24px rgba(13, 43, 74, .1); transform: translateY(-2px); }
/* Fixed-height logo box: every logo is scaled to fit the same box, whatever its shape, so the cards line up. */
.membership-logo { width: 100%; height: 140px; flex: none; display: flex; align-items: center; justify-content: center; background: #FAFBFC; padding: 1rem; overflow: hidden; }
.membership-logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(.2); transition: filter .2s; }
.membership-logo--empty span { font: 700 2rem/1 var(--font-display); color: var(--navy); opacity: .35; letter-spacing: .04em; }
.membership-card:hover .membership-logo img { filter: none; }
.membership-name { font: 700 1.2rem/1.2 var(--font-display); color: var(--navy); }
.membership-text { color: var(--steel); font-size: .9375rem; }

.achievements { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(32px, 5vw, 64px); counter-reset: none; }
.achievement { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.achievement:nth-child(even) .achievement-media { order: 2; }
.achievement-media { margin: 0; position: relative; }
.achievement-media::after { content: ""; position: absolute; inset: auto -12px -12px auto; width: 40%; height: 40%; background: var(--marking); z-index: -1; }
.achievement:nth-child(even) .achievement-media::after { inset: auto auto -12px -12px; }
.achievement-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.achievement-year { margin: 0 0 .4rem; font-weight: 600; color: var(--steel); }
body.sdpt h2.achievement-title { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; margin-bottom: .6rem; }
.achievement-text { color: var(--ink); max-width: 60ch; }

/* ==========================================================================
   Photo gallery
   ========================================================================== */
.album-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px 24px; }
.album a { display: grid; gap: .35rem; text-decoration: none; color: var(--navy); }
.album-cover { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--concrete); }
.album-cover::before, .album-cover::after { /* stacked-prints edge */
	content: ""; position: absolute; inset: 0; border: 6px solid var(--white); pointer-events: none; z-index: 1;
}
.album-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.album a:hover .album-cover img { transform: scale(1.05); }
.album-count { position: absolute; z-index: 2; left: 14px; bottom: 14px; background: var(--navy); color: var(--white); font-size: .8125rem; font-weight: 600; padding: .25rem .6rem; border-radius: 2px; }
.album-year { font-size: .875rem; color: var(--steel); font-weight: 500; margin-top: .4rem; }
.album-title { font: 700 1.35rem/1.15 var(--font-display); }
.album a:hover .album-title { text-decoration: underline; text-decoration-color: var(--marking); text-decoration-thickness: 3px; }

.photo-grid { list-style: none; margin: 0; padding: 0; columns: 3 260px; column-gap: 12px; }
.photo-grid li { break-inside: avoid; margin: 0 0 12px; }
.photo-grid a { display: block; overflow: hidden; background: var(--concrete); }
.photo-grid img { width: 100%; height: auto; transition: transform .4s ease, opacity .2s; }
.photo-grid a:hover img { transform: scale(1.03); }
.photo-caption { font-size: .875rem; color: var(--steel); margin: .35rem 0 0; }
.back-link { margin-top: 2rem; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(5, 18, 33, .95); display: grid; grid-template-rows: 1fr auto; opacity: 0; transition: opacity .2s; }
.lb.is-open { opacity: 1; }
.lb-stage { display: grid; place-items: center; padding: 56px 72px 12px; min-height: 0; }
.lb-stage img { max-width: min(100%, calc(100vw - 160px)); max-height: calc(100vh - 140px); max-height: calc(100dvh - 140px); width: auto; height: auto; object-fit: contain; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 12px 24px 20px; color: rgba(255, 255, 255, .8); font-size: .9375rem; }
body.sdpt .lb button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06); color: var(--white); cursor: pointer; padding: 0; }
body.sdpt .lb button:hover { background: var(--marking); color: var(--navy); border-color: var(--marking); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb button svg { width: 22px; height: 22px; }
body.lb-open { overflow: hidden; }
@media (max-width: 640px) { .lb-stage { padding: 64px 8px 8px; } .lb-stage img { max-width: calc(100vw - 16px); max-height: calc(100dvh - 160px); } body.sdpt .lb .lb-prev, body.sdpt .lb .lb-next { top: auto; bottom: 14px; transform: none; } .lb-bar { padding-right: 140px; } }

/* ==========================================================================
   Online complaints
   ========================================================================== */
.complaint-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.complaint-aside { display: grid; gap: 24px; }
.cmp-steps { margin: 0; padding-left: 1.3rem; display: grid; gap: .6rem; }
.cmp-steps li::marker { color: var(--marking); font-weight: 700; }
.field-label { font-weight: 600; color: var(--navy); font-size: .9688rem; }
.dropzone {
	position: relative; display: grid; justify-items: center; gap: .3rem; text-align: center;
	padding: 1.5rem 1rem; border: 2px dashed #9AA8B5; border-radius: var(--radius); background: #FAFBFC; cursor: pointer; transition: border-color .2s, background-color .2s;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--navy); background: var(--concrete); }
.dropzone:focus-within { outline: 3px solid var(--marking); outline-offset: 2px; }
.dropzone-icon { width: 32px; height: 32px; color: var(--navy); transform: rotate(180deg); }
.dropzone-main { font-weight: 600; color: var(--navy); }
.dropzone-sub { font-size: .875rem; color: var(--steel); }
.dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-list { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .4rem; }
.file-list li { display: flex; align-items: center; gap: .6rem; padding: .5rem .7rem; border: 1px solid var(--line); background: var(--white); font-size: .9375rem; }
.file-list .f-thumb { width: 36px; height: 36px; object-fit: cover; flex: none; background: var(--concrete); display: grid; place-items: center; font-size: .6875rem; font-weight: 700; color: #B42318; }
.file-list .f-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list .f-size { color: var(--steel); font-size: .8125rem; }
body.sdpt .file-list button { border: 0; background: none; color: #B42318; padding: .2rem .4rem; cursor: pointer; font: inherit; font-size: .875rem; }
.file-error { margin: .5rem 0 0; color: #B42318; font-weight: 500; }
.cmp-submit { display: grid; gap: .6rem; justify-items: start; }
.cmp-privacy { font-size: .875rem; color: var(--steel); margin: 0; }
.cmp-done p { margin: 0 0 .3rem; }
.cmp-tracking { font: 700 2rem/1.1 var(--font-display) !important; letter-spacing: .04em; color: var(--navy); margin: .2rem 0 .5rem !important; }
.track-form { display: grid; gap: 14px; }
.track-form .field { display: flex; flex-direction: column; gap: .4rem; }
body.sdpt .track-form input { font: inherit; padding: .75rem .9rem; border: 1px solid #B9C4CE; border-radius: var(--radius); background: var(--white); color: var(--ink); }
.track-form label { font-weight: 600; color: var(--navy); font-size: .9375rem; }
.track .form-msg { margin-top: 1rem; }
.track-result { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 2px solid var(--navy); }
.track-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.track-no { font: 700 1.4rem/1.1 var(--font-display); color: var(--navy); margin: 0; }
.track-meta { margin: .2rem 0 0; font-size: .875rem; color: var(--steel); }
.cmp-badge { display: inline-block; padding: .25rem .6rem; border-radius: 2px; font-size: .8125rem; font-weight: 600; background: var(--concrete); color: var(--ink); white-space: nowrap; }
.cmp-badge--new { background: var(--marking); color: var(--navy); }
.cmp-badge--in_progress { background: var(--navy-2); color: var(--white); }
.cmp-badge--waiting { background: #F0C33C; color: var(--ink); }
.cmp-badge--resolved { background: var(--ok); color: var(--white); }
.cmp-badge--closed { background: var(--steel); color: var(--white); }
.track-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 1.25rem 0; padding: 0; counter-reset: s; }
.track-steps li { position: relative; padding-top: 26px; font-size: .8125rem; color: var(--steel); text-align: center; counter-increment: s; }
.track-steps li::before { content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--concrete); color: var(--steel); display: grid; place-items: center; font-weight: 700; font-size: .75rem; z-index: 1; }
.track-steps li + li::after { content: ""; position: absolute; top: 10px; right: 50%; width: 100%; height: 2px; background: var(--line); }
.track-steps li.is-done { color: var(--navy); font-weight: 600; }
.track-steps li.is-done::before { background: var(--ok); color: var(--white); content: "✓"; }
.track-steps li.is-done + li.is-done::after { background: var(--ok); }
body.sdpt .track-result h3 { font-size: 1.125rem; margin: 0 0 .5rem; }
.track-log { list-style: none; margin: 0; padding: 0; }
.track-log li { border-left: 3px solid var(--line); padding: .2rem 0 .7rem .8rem; }
.track-log li.track-log--reply { border-left-color: var(--marking); }
.track-log time { font-size: .8125rem; color: var(--steel); }
.track-log p { margin: .15rem 0 0; font-size: .9375rem; }

@media (max-width: 1024px) {
	.chair-layout, .complaint-layout, .achievement { grid-template-columns: minmax(0, 1fr); }
	.chair-card { position: static; max-width: 340px; }
	.achievement:nth-child(even) .achievement-media { order: 0; }
	.achievement-media { margin-right: 12px; }
	.achievement:nth-child(even) .achievement-media { margin: 0 0 0 12px; }
}

/* ==========================================================================
   Press releases
   ========================================================================== */
.press-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 2px solid var(--navy); }
.press-years { display: flex; flex-wrap: wrap; gap: .4rem; }
body.sdpt .press-years a { padding: .5rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; }
body.sdpt .press-years a:hover { border-color: var(--navy); }
body.sdpt .press-years a[aria-current] { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: inset 0 -4px 0 var(--marking); }
.press-updated { margin: 0; color: var(--steel); font-size: .9375rem; }
.press-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; align-items: start; }
.pr-card { border: 1px solid var(--line); border-top: 4px solid var(--navy); background: var(--white); }
.pr-card-head { display: flex; justify-content: space-between; align-items: center; gap: .6rem; padding: 1rem 1.25rem .6rem; }
body.sdpt h3.pr-month { margin: 0; font-size: 1.5rem; }
body.sdpt .pr-month a { color: var(--navy); text-decoration: none; }
body.sdpt .pr-month a:hover { text-decoration: underline; text-decoration-color: var(--marking); text-decoration-thickness: 3px; }
.pr-latest { background: var(--marking); color: var(--navy); font-size: .75rem; font-weight: 700; padding: .2rem .55rem; border-radius: 2px; }
.pr-card-body { padding: 0 1.25rem 1.25rem; }
.pr-docs { list-style: none; margin: 0; padding: 0; }
.pr-docs li + li { border-top: 1px solid var(--line); }
body.sdpt .pr-docs a { display: flex; align-items: center; gap: .65rem; padding: .6rem 0; color: var(--ink); text-decoration: none; }
body.sdpt .pr-docs a:hover { color: var(--navy); }
body.sdpt .pr-docs a:hover span { text-decoration: underline; }
.pr-docs span { flex: 1; }
.pr-docs small { font-size: .75rem; color: var(--steel); text-transform: none; }
.pr-icon { width: 20px; height: 20px; color: var(--navy-2); flex: none; }
.pr-graphs { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
body.sdpt .pr-graphs a { display: block; text-decoration: none; color: var(--steel); font-size: .8125rem; }
.pr-graphs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); background: var(--concrete); transition: border-color .2s; }
.pr-graphs a:hover img { border-color: var(--navy); }
.pr-card--feature { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr); border-top-color: var(--marking); }
.pr-card--feature .pr-card-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
body.sdpt .pr-card--feature h3.pr-month { font-size: 2rem; }
.pr-card--feature .pr-graphs { margin: 0; grid-template-columns: 1fr; }
.pr-card--feature .pr-graphs img { aspect-ratio: auto; max-height: 420px; object-fit: contain; background: var(--white); }
.pr-single .pr-card--feature { margin-bottom: 2rem; }

.pr-tabs { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 1.5rem; scrollbar-width: thin; }
body.sdpt .pr-tabs a { flex: none; padding: .55rem .9rem; border: 1px solid var(--line); border-radius: 99px; font-size: .9375rem; font-weight: 500; color: var(--navy); text-decoration: none; white-space: nowrap; }
body.sdpt .pr-tabs a:hover { border-color: var(--navy); }
body.sdpt .pr-tabs a[aria-current] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pr-tools { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 1rem; }
body.sdpt .pr-tools :is(button, a) { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--navy); font: 600 .9375rem/1 var(--font-body); text-decoration: none; cursor: pointer; text-transform: none; }
body.sdpt .pr-tools :is(button, a):hover { border-color: var(--navy); background: var(--white); color: var(--navy); }
.pr-tools .icon { width: 18px; height: 18px; }

/* The cleaned report: keep Excel's colours and alignment, make it readable and scrollable */
.pr-report { overflow-x: auto; border: 1px solid var(--line); background: var(--white); padding: 1rem; -webkit-overflow-scrolling: touch; }
.pr-report:focus-visible { outline: 3px solid var(--marking); }
.pr-report table { border-collapse: collapse; width: auto; min-width: 100%; margin: 0 auto 1rem; font-size: .9375rem; font-variant-numeric: tabular-nums; }
.pr-report td, .pr-report th { padding: .35rem .6rem; border: 1px solid #DDE3E9; vertical-align: middle; height: auto !important; }
.pr-report tr:nth-child(even) td { background-color: #F8FAFB; }
.pr-report p { margin: 0 0 .5rem; }
.pr-report font { font-family: inherit; }

@media (max-width: 760px) {
	.pr-card--feature .pr-card-body { grid-template-columns: minmax(0, 1fr); }
	.press-grid { grid-template-columns: minmax(0, 1fr); }
	.pr-report { padding: .5rem; font-size: .875rem; }
}
@media print {
	.pr-tabs, .pr-tools, .post-nav, .crumbs, .share { display: none !important; }
	.pr-report { border: 0; padding: 0; overflow: visible; }
	.pr-report table { font-size: 10pt; }
	.pr-report tr:nth-child(even) td { background-color: transparent; }
}
