/*
Theme Name: SSC Result Editorial 2026
Theme URI: https://10thresult2026.in
Author: SSC Result Official
Author URI: https://10thresult2026.in
Description: An information portal for the Maharashtra SSC result, laid out like the Maharashtra State Board portal (mahahsscboard.in): teal utility bar, board masthead, dark-teal nav, notice ticker, banner band, divisional board tiles, notice board and titled portal boxes with bordered tables. All sections are fed by the site's own posts, updates, official links, statistics and FAQs. This is an independent portal — not the official MSBSHSE website.
Version: 1.3.8
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ssc-result-editorial
*/

/* ------------------------------------------------------------------ */
/* Tokens — the Board portal's palette, from mahahsscboard.in's own   */
/* compiled CSS: the Tailwind "primary" family is a teal.             */
/* ------------------------------------------------------------------ */

:root {
	--paper: #ffffff;
	--teal: #377783;         /* Board Teal — primary-600: bands, buttons */
	--teal-light: #51a8b1;   /* Board Teal — primary-400: utility bar */
	--teal-mid: #3f919b;     /* Board Teal — primary-500 */
	--teal-deep: #32616c;    /* Board Teal — primary-700: band depth */
	--teal-800: #30525a;     /* Board Teal — primary-800: nav bottom edge */
	--teal-ink: #234143;     /* Board dark teal — masthead name, footer */
	--teal-dark: #1a3737;    /* Board dark teal — footer depth, nav */
	--teal-pale: #eef7f8;    /* pale teal fill — tiles, chips */
	--teal-line: #bfe0e4;    /* pale teal borders */
	--blue: #1c64f2;         /* Board Blue — links (most-used content hex) */
	--blue-deep: #2548be;
	--navy: #1e3494;         /* Board Navy — kept for deep headings */
	--ink: #1f2937;          /* body text */
	--ink-soft: #6b7280;     /* secondary text (portal slate) */
	--line: #e5e7eb;         /* hairlines (portal grey) */
	--line-blue: #bfdbfe;    /* box borders (portal blue-200) */
	--pale: #eff6ff;         /* pale blue fill (portal blue-50) */
	--pale-2: #dbeafe;       /* pale blue fill, stronger (portal blue-100) */
	--page: #f3f4f6;         /* portal page grey (gray-100) */
	--stamp: #a62b25;        /* Stamp Red — the seal only */
	--pass: #1e7a46;         /* Pass Green — declared state only */
	--amber: #f59e0b;
	--amber-dark: #92400e;
	--amber-pale: #fef3c7;
	--focus: #b45309;
	--font-display: "Poppins", "Noto Sans Devanagari", system-ui, sans-serif;
	--font-body: "Poppins", "Noto Sans Devanagari", system-ui, sans-serif;
	--measure: 54rem;
	--wide: 84rem;
}

/* ------------------------------------------------------------------ */
/* Base                                                                */
/* ------------------------------------------------------------------ */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	overflow-x: clip;
}

body {
	margin: 0;
	background: var(--page);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
	overflow-x: clip;
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	color: var(--teal-ink);
	line-height: 1.2;
	margin: 0 0 0.5em;
}

h1 { font-size: 2.1rem; font-weight: 800; }
h2 { font-size: 1.45rem; font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 700; color: var(--teal-deep); }

p { margin: 0 0 1em; }

a {
	color: var(--blue);
	text-decoration: underline;
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}

a:hover { color: #1e40af; }

:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 2px;
}

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

.sre-wrap {
	width: min(var(--wide), 100% - 2.5rem);
	margin-inline: auto;
}

.sre-prose {
	max-width: var(--measure);
}

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

.skip-link:focus {
	position: static;
	width: auto; height: auto;
	clip: auto;
	display: inline-block;
	padding: 0.5rem 1rem;
	font-family: var(--font-display);
	font-weight: 700;
}

/* ------------------------------------------------------------------ */
/* Tricolour gov strip                                                 */
/* ------------------------------------------------------------------ */

.sre-govstrip {
	height: 5px;
	background: linear-gradient(90deg, #ff9933 0%, #ff9933 33%, #f8f9fa 33%, #f8f9fa 66%, #138808 66%, #138808 100%);
}

/* ------------------------------------------------------------------ */
/* Utility bar — the Board portal's slim teal bar                      */
/* ------------------------------------------------------------------ */

.sre-utility {
	background: var(--teal-light);
	color: #ffffff;
	font-family: var(--font-display);
	font-size: 0.82rem;
}

.sre-utility-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 0.32rem;
	padding-bottom: 0.32rem;
}

.sre-utility-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.2rem;
}

.sre-utility a {
	color: #ffffff;
	font-weight: 600;
	text-decoration: none;
}

.sre-utility a:hover {
	color: #ffffff;
	text-decoration: underline;
}

.sre-utility-fonts {
	display: flex;
	gap: 0.3rem;
	flex: none;
}

.sre-utility-fonts button {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.8rem;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 3px;
	padding: 0.1rem 0.5rem;
	cursor: pointer;
}

.sre-utility-fonts button:hover {
	background: rgba(255, 255, 255, 0.34);
}

/* ------------------------------------------------------------------ */
/* Masthead — white letterhead, name in dark teal caps                 */
/* ------------------------------------------------------------------ */

.sre-masthead {
	background: var(--paper);
}

.sre-masthead-row {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.05rem 0 0.95rem;
}

.sre-brand {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	text-decoration: none;
	flex: 1;
}

.sre-brand img {
	width: 56px;
	height: 56px;
}

.sre-brand-text {
	display: block;
}

.sre-brand-name {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.85rem;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--teal-ink);
	line-height: 1.12;
}

.sre-brand-line {
	display: block;
	font-family: var(--font-display);
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--ink-soft);
	margin-top: 0.2rem;
}

.sre-nav-toggle {
	margin-left: auto;
	display: none;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--paper);
	background: var(--teal);
	border: 1.5px solid var(--teal-deep);
	border-radius: 4px;
	padding: 0.45rem 0.9rem;
	cursor: pointer;
}

/* Dark-teal nav bar, full width like the Board portal */
.sre-nav {
	background: linear-gradient(90deg, var(--teal-ink), var(--teal-dark));
	border-bottom: 3px solid var(--teal-800);
}

.sre-nav-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0.3rem 0;
}

.sre-nav-list a {
	display: block;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #ffffff;
	text-decoration: none;
	padding: 0.5rem 0.85rem;
	border-radius: 3px;
}

.sre-nav-list a:hover {
	background: rgba(255, 255, 255, 0.16);
	color: #ffffff;
	text-decoration: none;
}

.sre-nav-list .current-menu-item > a,
.sre-nav-list .current_page_item > a {
	background: rgba(0, 0, 0, 0.25);
	box-shadow: inset 0 -3px 0 #ffffff;
}

/* ------------------------------------------------------------------ */
/* Notice ticker — the Board portal's "latest notices" marquee         */
/* ------------------------------------------------------------------ */

.sre-notice {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 4px;
	padding: 0.55rem 0.9rem;
	margin: 1.3rem 0 0;
	font-family: var(--font-display);
	font-size: 0.96rem;
	overflow: hidden;
}

.sre-notice strong {
	flex: none;
	background: var(--teal);
	color: #ffffff;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.28rem 0.6rem;
	border-radius: 3px;
}

.sre-notice a {
	display: inline-block;
	white-space: nowrap;
	font-weight: 600;
	color: var(--teal-ink);
	text-decoration: none;
	animation: sre-ticker 18s linear infinite;
}

.sre-notice:hover a { animation-play-state: paused; }

.sre-notice a:hover { text-decoration: underline; }

@keyframes sre-ticker {
	from { transform: translateX(55vw); }
	to   { transform: translateX(-110%); }
}

/* ------------------------------------------------------------------ */
/* Homepage banner band — the portal's visual lead                     */
/* ------------------------------------------------------------------ */

.sre-banner {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 1rem 2.5rem;
	align-items: center;
	background: linear-gradient(120deg, var(--teal-deep) 0%, var(--teal) 55%, var(--teal-light) 100%);
	border-radius: 6px;
	padding: 2rem 1.8rem;
	margin-top: 1.4rem;
	color: #ffffff;
}

.sre-banner h1 {
	color: #ffffff;
	margin-bottom: 0.6rem;
}

.sre-banner-text p {
	max-width: 34rem;
	font-size: 1.03rem;
	color: #e8f4f6;
	margin-bottom: 1.3rem;
}

.sre-btn-light {
	background: var(--paper);
	color: var(--teal-ink);
	border-color: var(--paper);
}

.sre-btn-light:hover {
	background: #e8f4f6;
	color: var(--teal-ink);
}

.sre-banner .sre-seal {
	background: rgba(255, 255, 255, 0.94);
	border-radius: 50%;
	padding: 8px;
}

/* The seal — this portal's own status stamp, kept from v1.0.x. */
.sre-seal {
	width: 168px;
	height: 168px;
	transform: rotate(-8deg);
	animation: sre-press 0.45s ease-out 0.25s both;
}

.sre-seal svg {
	display: block;
	width: 100%;
	height: 100%;
}

.sre-seal-ring {
	fill: none;
	stroke: var(--stamp);
	stroke-width: 3;
}

.sre-seal-ring-inner {
	fill: none;
	stroke: var(--stamp);
	stroke-width: 1.4;
}

.sre-seal-text {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 12.5px;
	letter-spacing: 2.6px;
	fill: var(--stamp);
}

.sre-seal-word {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: 21px;
	letter-spacing: 0.4px;
	fill: var(--stamp);
	text-anchor: middle;
}

.sre-seal-year {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 3px;
	fill: var(--stamp);
	text-anchor: middle;
}

.sre-seal--declared .sre-seal-ring,
.sre-seal--declared .sre-seal-ring-inner { stroke: var(--pass); }
.sre-seal--declared .sre-seal-text,
.sre-seal--declared .sre-seal-word,
.sre-seal--declared .sre-seal-year { fill: var(--pass); }

@keyframes sre-press {
	from {
		transform: rotate(-16deg) scale(1.35);
		opacity: 0;
	}
	to {
		transform: rotate(-8deg) scale(1);
		opacity: 1;
	}
}

/* ------------------------------------------------------------------ */
/* Divisional boards — the nine named tiles                            */
/* ------------------------------------------------------------------ */

.sre-divisions {
	border: 1px solid var(--teal-line);
	border-radius: 6px;
	background: var(--paper);
	padding: 0 1.3rem 1.3rem;
	margin-top: 1.5rem;
}

.sre-divisions-title {
	background: linear-gradient(90deg, var(--teal), var(--teal-deep));
	color: #ffffff;
	font-size: 1.16rem;
	font-weight: 700;
	margin: 0 -1.3rem 1.05rem;
	padding: 0.6rem 1.3rem;
	border-radius: 5px 5px 0 0;
}

.sre-divisions-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.6rem;
	align-items: stretch;
}

.sre-division-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 3.4rem;
	background: var(--teal-pale);
	border: 1px solid var(--teal-line);
	border-radius: 5px;
	padding: 0.72rem 0.5rem;
	text-align: center;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--teal-ink);
	text-decoration: none;
}

.sre-division-tile:hover {
	background: #dff0f2;
	color: var(--teal-ink);
	text-decoration: none;
}

.sre-division-tile:hover {
	border-color: var(--teal-mid);
}

/* ------------------------------------------------------------------ */
/* Homepage columns — main ledger + sidebar, like the portal grid      */
/* ------------------------------------------------------------------ */

.sre-columns {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 19rem;
	gap: 1.5rem;
	align-items: start;
	margin-top: 1.6rem;
}

.sre-col-main > :first-child,
.sre-col-side > :first-child {
	margin-top: 0;
}

/* The status sheet (inside the main column) */
.sre-sheet {
	background: #f2f8f9;
	border: 1.5px solid var(--teal-line);
	border-radius: 6px;
	padding: 1.6rem 1.5rem 1.6rem;
	margin-top: 1.6rem;
}

.sre-sheet-board {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.9rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--teal-deep);
	margin-bottom: 0.55rem;
}

.sre-sheet h2 { margin-bottom: 0.4rem; }

/* Portal facts table — every cell bordered, header cells filled */
.sre-facts {
	border-collapse: collapse;
	width: 100%;
	margin: 1rem 0 1.3rem;
	font-size: 0.98rem;
	background: var(--paper);
}

.sre-facts th,
.sre-facts td {
	text-align: left;
	padding: 0.5rem 0.8rem;
	border: 1px solid var(--teal-line);
	vertical-align: top;
}

.sre-facts th {
	font-family: var(--font-display);
	font-weight: 600;
	background: var(--teal-pale);
	color: var(--teal-ink);
	width: 9.5rem;
}

.sre-facts td {
	font-weight: 600;
	font-variant-numeric: tabular-nums;
}

.sre-btn {
	display: inline-block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1rem;
	color: var(--paper);
	background: var(--teal);
	border: 1.5px solid var(--teal-deep);
	border-radius: 4px;
	padding: 0.72rem 1.45rem;
	text-decoration: none;
	cursor: pointer;
}

.sre-btn:hover {
	background: var(--teal-deep);
	color: var(--paper);
}

.sre-btn-quiet {
	background: var(--paper);
	color: var(--teal-deep);
}

.sre-btn-quiet:hover {
	background: var(--teal-pale);
	color: var(--teal-deep);
}

/* ------------------------------------------------------------------ */
/* Sidebar — helpline band, quick services, official websites          */
/* ------------------------------------------------------------------ */

.sre-helpline {
	background: linear-gradient(135deg, #b91c1c 0%, #dc2626 30%, #b45309 65%, #92400e 100%);
	border-radius: 6px;
	padding: 1.1rem 1.2rem 1.2rem;
	text-align: center;
	color: #ffffff;
}

.sre-helpline-label {
	font-family: var(--font-display);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	margin: 0 0 0.3rem;
	color: #ffe9c9;
}

.sre-helpline-number {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 1.9rem;
	letter-spacing: 0.04em;
	color: #ffffff;
	text-decoration: none;
	font-variant-numeric: tabular-nums;
}

.sre-helpline-number:hover {
	color: #ffffff;
	text-decoration: underline;
}

.sre-side-box {
	border: 1px solid var(--teal-line);
	border-radius: 6px;
	background: var(--paper);
	padding: 0 1.1rem 1.2rem;
	margin-top: 1.5rem;
}

.sre-side-title {
	background: linear-gradient(90deg, var(--teal), var(--teal-deep));
	color: #ffffff;
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 -1.1rem 1rem;
	padding: 0.55rem 1.1rem;
	border-radius: 5px 5px 0 0;
}

.sre-tiles {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.55rem;
}

.sre-tile {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 3.75rem;
	background: var(--teal-pale);
	border: 1px solid var(--teal-line);
	border-radius: 5px;
	padding: 0.65rem 0.45rem;
	text-align: center;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.9rem;
	line-height: 1.35;
	color: var(--teal-ink);
	text-decoration: none;
}

.sre-tile:hover {
	background: #dff0f2;
	color: var(--teal-ink);
	text-decoration: none;
}

.sre-side-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sre-side-list li {
	border-bottom: 1px solid var(--line);
	padding: 0.5rem 0;
}

.sre-side-list li:last-child { border-bottom: 0; }

.sre-side-list a {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--teal-ink);
	text-decoration: none;
}

.sre-side-list a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ */
/* Portal boxes — bordered panels with teal header bands               */
/* ------------------------------------------------------------------ */

.sre-section {
	border: 1px solid var(--teal-line);
	border-radius: 6px;
	background: var(--paper);
	padding: 0 1.3rem 1.5rem;
	margin-top: 1.6rem;
}

.sre-section-title {
	background: linear-gradient(90deg, var(--teal), var(--teal-deep));
	color: #ffffff;
	font-size: 1.16rem;
	font-weight: 700;
	margin: 0 -1.3rem 1.05rem;
	padding: 0.6rem 1.3rem;
	border-radius: 5px 5px 0 0;
}

.sre-section-intro {
	color: var(--ink-soft);
	max-width: var(--measure);
	margin-bottom: 1.1rem;
}

.sre-more {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.96rem;
	margin-top: 1rem;
}

/* Date-ruled lists (updates, articles, toppers, notifications) */
.sre-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sre-list li {
	border-bottom: 1px solid var(--line);
	padding: 0.7rem 0;
	display: grid;
	grid-template-columns: 8.2rem 1fr;
	gap: 0.4rem 1.1rem;
	align-items: baseline;
}

.sre-list li:last-child { border-bottom: 0; }

.sre-list time {
	font-family: var(--font-display);
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--teal-deep);
	background: var(--teal-pale);
	border-radius: 3px;
	padding: 0.12rem 0.5rem;
	font-variant-numeric: tabular-nums;
	justify-self: start;
}

.sre-list a {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.02rem;
	color: var(--teal-ink);
	text-decoration: none;
}

.sre-list a:hover { text-decoration: underline; text-underline-offset: 0.22em; }

.sre-list .sre-list-note {
	grid-column: 2;
	color: var(--ink-soft);
	font-size: 0.95rem;
}

/* Portal tables — full cell borders, teal header row */
.sre-table {
	border-collapse: collapse;
	width: 100%;
	font-size: 0.98rem;
}

.sre-table caption {
	text-align: left;
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--ink-soft);
	padding-bottom: 0.5rem;
}

.sre-table th,
.sre-table td {
	text-align: left;
	padding: 0.55rem 0.8rem;
	border: 1px solid var(--teal-line);
	vertical-align: top;
}

.sre-table thead th {
	font-family: var(--font-display);
	font-weight: 700;
	background: var(--teal);
	color: #ffffff;
	border-color: var(--teal-deep);
}

.sre-table tbody tr:nth-child(even) { background: var(--teal-pale); }

.sre-table .sre-num {
	font-variant-numeric: tabular-nums;
	font-weight: 600;
}

.sre-table a { font-weight: 600; }

/* Steps — numbered portal circles */
.sre-steps {
	list-style: none;
	counter-reset: sre-step;
	margin: 0;
	padding: 0;
	max-width: var(--measure);
}

.sre-steps li {
	counter-increment: sre-step;
	border-bottom: 1px solid var(--line);
	padding: 0.8rem 0 0.8rem 3.4rem;
	position: relative;
}

.sre-steps li:last-child { border-bottom: 0; }

.sre-steps li::before {
	content: counter(sre-step);
	position: absolute;
	left: 0;
	top: 0.7rem;
	width: 2rem;
	height: 2rem;
	border-radius: 50%;
	background: var(--teal);
	color: #ffffff;
	text-align: center;
	line-height: 2rem;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.02rem;
	font-variant-numeric: tabular-nums;
}

.sre-steps strong {
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--teal-ink);
	display: block;
}

/* FAQ accordion — boxed panels with pale-teal summary bars */
.sre-faq {
	max-width: var(--measure);
}

.sre-faq details {
	border: 1px solid var(--teal-line);
	border-radius: 5px;
	margin-bottom: 0.6rem;
	overflow: hidden;
}

.sre-faq summary {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1rem;
	color: var(--teal-ink);
	background: var(--teal-pale);
	padding: 0.8rem 2rem 0.8rem 1rem;
	cursor: pointer;
	list-style: none;
	position: relative;
}

.sre-faq summary::-webkit-details-marker { display: none; }

.sre-faq summary::after {
	content: "+";
	position: absolute;
	right: 0.7rem;
	top: 0.65rem;
	font-weight: 700;
	font-size: 1.3rem;
	color: var(--teal);
}

.sre-faq details[open ] summary::after { content: "–"; }

.sre-faq .sre-faq-body {
	padding: 0.9rem 1rem 1rem;
	max-width: 42rem;
}

/* ------------------------------------------------------------------ */
/* Articles, pages, archives                                           */
/* ------------------------------------------------------------------ */

.sre-main { padding: 1.6rem 0 2.5rem; }

/* Inner pages sit on a white card over the portal grey, as on the
   Board's own pages. The homepage builds its own boxes instead. */
.sre-main:not(.sre-home) .sre-wrap {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 6px;
	padding: 1.8rem 1.7rem 2.2rem;
	margin-top: 1.4rem;
}

.sre-article-head { max-width: var(--measure); }

.sre-date-line {
	font-family: var(--font-display);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--ink-soft);
	margin-bottom: 0.8rem;
	font-variant-numeric: tabular-nums;
}

.sre-content { max-width: var(--measure); }

.sre-content h2 { margin-top: 1.8em; }
.sre-content h3 { margin-top: 1.5em; }

.sre-content table {
	border-collapse: collapse;
	width: 100%;
	margin: 1.2rem 0;
	font-size: 0.96rem;
}

.sre-content th,
.sre-content td {
	border: 1px solid var(--teal-line);
	padding: 0.5rem 0.8rem;
	text-align: left;
	vertical-align: top;
}

.sre-content thead th {
	font-family: var(--font-display);
	background: var(--teal);
	color: #ffffff;
	border-color: var(--teal-deep);
}

.sre-content blockquote {
	margin: 1.2rem 0;
	padding: 0.2rem 0 0.2rem 1.1rem;
	border-left: 3px solid var(--teal);
	font-style: italic;
}

.sre-content ul,
.sre-content ol { padding-left: 1.4rem; }

.sre-content li { margin-bottom: 0.35em; }

.sre-thumb {
	margin: 0 0 1.4rem;
}

.sre-thumb img {
	border: 1px solid var(--teal-line);
	border-radius: 4px;
}

.sre-pager {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	border-top: 1px solid var(--line);
	margin-top: 2.2rem;
	padding-top: 1rem;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.96rem;
	max-width: var(--measure);
}

.sre-pager a { text-decoration: none; }
.sre-pager a:hover { text-decoration: underline; }

.sre-related {
	border: 1px solid var(--teal-line);
	border-radius: 6px;
	margin-top: 2.2rem;
	padding: 0 1.3rem 1.4rem;
}

.sre-related h2 {
	background: linear-gradient(90deg, var(--teal), var(--teal-deep));
	color: #ffffff;
	font-size: 1.16rem;
	margin: 0 -1.3rem 1.05rem;
	padding: 0.6rem 1.3rem;
	border-radius: 5px 5px 0 0;
}

.sre-archive-head { max-width: var(--measure); margin-bottom: 0.5rem; }

.sre-pagination {
	font-family: var(--font-display);
	font-weight: 600;
	margin-top: 1.6rem;
}

.sre-pagination .page-numbers {
	display: inline-block;
	padding: 0.35rem 0.7rem;
	border: 1px solid var(--teal-line);
	border-radius: 4px;
	text-decoration: none;
	margin-right: 0.3rem;
}

.sre-pagination .page-numbers.current {
	background: var(--teal);
	color: var(--paper);
	border-color: var(--teal-deep);
}

/* Search */
.sre-search-form {
	display: flex;
	gap: 0.6rem;
	max-width: 34rem;
	margin: 1rem 0 1.6rem;
}

.sre-search-form input[type="search"] {
	flex: 1;
	font-family: var(--font-body);
	font-size: 1rem;
	padding: 0.62rem 0.8rem;
	border: 1.5px solid var(--teal);
	border-radius: 4px;
	color: var(--ink);
	background: var(--paper);
}

/* ------------------------------------------------------------------ */
/* Footer — dark Board teal, as on the official portal                 */
/* ------------------------------------------------------------------ */

.sre-footer {
	background: linear-gradient(180deg, var(--teal-ink), var(--teal-dark));
	border-top: 4px solid var(--teal-light);
	margin-top: 2rem;
	padding: 1.9rem 0 2.2rem;
	font-size: 0.95rem;
	color: #d7eaec;
}

.sre-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 1.5rem 2.5rem;
}

.sre-footer h3 {
	font-size: 1.02rem;
	margin-bottom: 0.6rem;
	color: #ffffff;
}

.sre-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sre-footer li { margin-bottom: 0.4rem; }

.sre-footer a {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.93rem;
	color: #bfe3e7;
	text-decoration: none;
}

.sre-footer a:hover { text-decoration: underline; color: #ffffff; }

.sre-footer-note {
	color: #c3dde0;
	max-width: 26rem;
}

.sre-footer-base {
	border-top: 1px solid rgba(255, 255, 255, 0.25);
	margin-top: 1.6rem;
	padding-top: 1rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 2rem;
	font-family: var(--font-display);
	font-size: 0.88rem;
	color: #a9cbce;
}

.sre-footer-base a {
	color: #ffffff;
	font-size: 0.88rem;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

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

	.sre-col-side {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 1.5rem;
		align-items: start;
	}

	.sre-col-side > :first-child { margin-top: 0; }
	.sre-col-side .sre-side-box { margin-top: 0; }
	.sre-col-side .sre-side-box:last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
	h1 { font-size: 1.65rem; }
	h2 { font-size: 1.3rem; }

	.sre-utility-row { flex-wrap: wrap; gap: 0.4rem 1rem; }

	.sre-masthead-row { justify-content: space-between; }
	.sre-brand-name { font-size: 1.3rem; }
	.sre-brand img { width: 44px; height: 44px; }

	.sre-nav-toggle { display: inline-block; }

	.sre-nav { display: none; }
	.sre-nav.is-open { display: block; }

	.sre-nav-list {
		flex-direction: column;
		gap: 0;
		padding: 0.4rem 0 0.6rem;
	}

	.sre-nav-list a {
		padding: 0.55rem 0.4rem;
		border-bottom: 1px solid rgba(255, 255, 255, 0.18);
	}

	.sre-banner {
		grid-template-columns: 1fr;
		padding: 1.5rem 1.1rem 1.5rem;
	}

	.sre-banner .sre-seal {
		width: 132px;
		height: 132px;
		order: -1;
	}

	.sre-col-side { grid-template-columns: 1fr; }

	.sre-list li { grid-template-columns: 1fr; gap: 0.25rem; }
	.sre-list .sre-list-note { grid-column: 1; }

	.sre-footer-grid { grid-template-columns: 1fr; }

	.sre-facts th { width: 7.2rem; }

	.sre-main:not(.sre-home) .sre-wrap { padding: 1.3rem 1.05rem 1.8rem; }
}

/* ------------------------------------------------------------------ */
/* Reduced motion & print                                              */
/* ------------------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
	.sre-seal { animation: none; }
	.sre-notice a { animation: none; }
	* { scroll-behavior: auto; }
}

@media print {
	.sre-govstrip,
	.sre-utility,
	.sre-nav,
	.sre-nav-toggle,
	.sre-notice,
	.sre-btn,
	.sre-helpline,
	.sre-tiles,
	.sre-footer { display: none; }
	body { font-size: 11pt; background: #ffffff; }
	.sre-seal { animation: none; }
	.sre-section,
	.sre-related,
	.sre-sheet { border: 0; }
	.sre-section-title,
	.sre-related h2 { background: none; color: var(--teal-ink); margin-inline: 0; padding-inline: 0; }
}

/* --------------------------------------- v1.2.3 — centre the reading column.
 * Owner rule (5 Dec 2026): content sits centred on every page and post,
 * never hugging the left edge with empty space on the other side. The
 * article head, content, FAQ, steps, pager and archive head all had
 * max-width but no auto margins, so they stuck to the card's left edge. */
.sre-article-head,
.sre-content,
.sre-archive-head,
.sre-faq,
.sre-steps,
.sre-pager,
.sre-prose {
	margin-inline: auto;
}

/* --------------------------------------- v1.2.4 — fuller width + live sidebar.
 * Owner rule (5 Dec 2026): no large empty areas on any side. The page wrap
 * widens to 75rem and the reading measure to 54rem (see the tokens above),
 * and the homepage sidebar now sticks while the main column scrolls, so
 * the right side of the homepage is never a long blank strip. */
@media (min-width: 961px) {
	.sre-col-side {
		position: sticky;
		top: 1rem;
	}
}

/* --------------------------------------- v1.2.5 — articles fill the card.
 * Owner's width rule (5 Dec 2026): the post must look big and fill
 * nearly the whole width, with only a little space at the sides —
 * a narrow reading column is a defect even when centred. Article
 * head, content, FAQ, steps and pager therefore span the full card;
 * the wrap widens to 84rem (see the token above). */
.sre-article-head,
.sre-content,
.sre-archive-head,
.sre-faq,
.sre-steps,
.sre-pager,
.sre-prose {
	max-width: none;
}

/* v1.2.7 — styles for the legacy shortcode output (classes carried
 * over from the previous theme; colours mapped to this theme's tokens). */
.ssm-check{color:var(--pass);font-weight:800}
.ssm-checklist{list-style:none;margin:0 0 16px;padding:0}
.ssm-checklist li{padding:7px 2px;border-bottom:1px solid var(--line)}
.ssm-list{list-style:none;margin:0 0 18px;padding:0;border-top:2px solid var(--blue)}
.ssm-list li{border-bottom:1px solid var(--line);padding:9px 2px;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 16px;justify-content:space-between}
.ssm-list a{font-weight:600}
.ssm-list .ssm-date{color:var(--ink-soft);font-size:.92rem}
.ssm-updates li{justify-content:flex-start}
.ssm-update-main{flex:1 1 300px}
.ssm-chip{font-size:.8rem;font-weight:700;border:1px solid var(--line);border-radius:999px;padding:1px 10px;color:var(--ink-soft);white-space:nowrap}
.ssm-chip.is-done{color:var(--pass);border-color:var(--pass)}
.ssm-chip.is-scheduled{color:var(--blue);border-color:var(--blue)}
.ssm-btn{display:inline-block;background:var(--teal);color:#fff;padding:12px 22px;border-radius:10px;font-weight:700;text-decoration:none}
.ssm-btn:hover{background:var(--blue);color:#fff}
.ssm-status-message{border-left:4px solid var(--blue);padding:4px 0 4px 16px}
.ssm-form label{display:block;font-weight:700;margin:0 0 4px}
.ssm-form input[type="text"],.ssm-form input[type="email"],.ssm-form textarea{width:100%;padding:10px 12px;border:1px solid var(--line);border-radius:10px;font:inherit;background:#fff}
.ssm-form p{margin:0 0 14px}
.ssm-form button{background:var(--teal);color:#fff;border:0;padding:12px 22px;border-radius:10px;font:inherit;font-weight:700;cursor:pointer}
.ssm-form button:hover{background:var(--blue)}
.ssm-form .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.ssm-notice{border:1px solid var(--pass);color:var(--pass);padding:10px 14px;border-radius:10px;font-weight:600}
.ssm-notice.is-error{border-color:var(--stamp);color:var(--stamp)}
.ssm-calc input[type="number"]{width:96px;padding:7px 9px;border:1px solid var(--line);border-radius:10px;font:inherit}
.ssm-calc input[type="text"]{width:100%;padding:7px 9px;border:1px solid var(--line);border-radius:10px;font:inherit}
.ssm-calc .calc-out{font-weight:800;font-size:1.08rem}
.ssm-calc .calc-note{color:var(--ink-soft);font-size:.95rem}
.ssm-calc .calc-add,.ssm-calc .calc-remove{background:#fff;border:1px solid var(--line);border-radius:10px;font:inherit;font-weight:600;cursor:pointer;padding:6px 14px}
.ssm-calc .calc-remove{padding:2px 10px}
.ssm-calc .calc-add:hover,.ssm-calc .calc-remove:hover{border-color:var(--blue);color:var(--blue)}

/* Content FAQ accordions — owner order 2026-12-05: questions must be
   recognisable at a glance — coloured bar and a round plus badge,
   on every page, not only inside the .sre-faq component. */
.sre-content details {
	border: 1px solid var(--teal-line);
	border-radius: 8px;
	margin: 0 0 0.65rem;
	overflow: hidden;
	background: var(--paper);
}
.sre-content details summary {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.45;
	color: var(--teal-ink);
	background: var(--teal-pale);
	padding: 0.85rem 3.1rem 0.85rem 1rem;
	cursor: pointer;
	list-style: none;
	position: relative;
}
.sre-content details summary::-webkit-details-marker { display: none; }
.sre-content details summary::after {
	content: "+";
	position: absolute;
	right: 0.85rem;
	top: 50%;
	transform: translateY(-50%);
	width: 1.7rem;
	height: 1.7rem;
	border-radius: 50%;
	background: var(--teal);
	color: #fff;
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.62rem;
	text-align: center;
}
.sre-content details[open ] summary::after { content: "–"; }
.sre-content details > *:not(summary) {
	margin-left: 1rem;
	margin-right: 1rem;
}
.sre-content details > *:not(summary):first-of-type { margin-top: 0.8rem; }
.sre-content details > *:not(summary):last-child { margin-bottom: 0.9rem; }

/* FAQ blocks stored in page content (.faq-block / details.hscr-faq) —
   same accordion treatment: coloured bar + round plus badge
   (owner order 2026-12-05). */
.faq-block details,
details.hscr-faq {
	border: 1px solid var(--teal-line);
	border-radius: 8px;
	margin: 0 0 0.65rem;
	overflow: hidden;
	background: var(--paper);
}
.faq-block details summary,
details.hscr-faq > summary {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.45;
	color: var(--teal-ink);
	background: var(--teal-pale);
	padding: 0.85rem 3.1rem 0.85rem 1rem;
	cursor: pointer;
	list-style: none;
	position: relative;
}
.faq-block details summary::-webkit-details-marker,
details.hscr-faq > summary::-webkit-details-marker { display: none; }
.faq-block details summary::after,
details.hscr-faq > summary::after {
	content: "+";
	position: absolute;
	right: 0.85rem;
	top: 50%;
	transform: translateY(-50%);
	width: 1.7rem;
	height: 1.7rem;
	border-radius: 50%;
	background: var(--teal);
	color: #fff;
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.62rem;
	text-align: center;
}
.faq-block details[open ] summary::after,
details.hscr-faq[open ] > summary::after { content: "–"; }
.faq-block .faq-answer { padding: 0.9rem 1rem 1rem; }

/* Header menu fills the full bar width — owner order 2026-12-05:
   items spread evenly across the whole bar, no empty space left
   after the last item. */
@media (min-width: 1025px) {
	.sre-nav-list { flex-wrap: nowrap; }
	.sre-nav-list > li { flex: 1 1 auto; }
	.sre-nav-list > li > a { text-align: center; white-space: nowrap; }
}

/* Site name + tagline centred in the masthead — owner order 2026-12-05:
   the brand sits in the middle of the header, never to one side. */
.sre-brand { justify-content: center; }
.sre-brand-text { text-align: center; }

/* Breadcrumbs — owner order 2026-12-05 */
.sre-crumbs { margin: 0 0 1.1rem; font-size: 0.85rem; }
.sre-crumbs ol {
	display: inline-flex; max-width: 100%; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.45rem;
	list-style: none; margin: 0; padding: 0.5rem 0.8rem;
	background: var(--teal-pale); border: 1px solid var(--line); border-radius: 6px;
}
.sre-crumbs li { display: inline-flex; align-items: center; gap: 0.45rem; margin: 0; }
.sre-crumbs li + li::before { content: "›"; color: var(--teal-ink); font-weight: 700; }
.sre-crumbs a { color: var(--teal-ink); font-weight: 600; text-decoration: none; }
.sre-crumbs a:hover { text-decoration: underline; }
.sre-crumbs [aria-current] { color: var(--ink-soft); font-weight: 600; }

/* Design elements layer (owner order, 6 Dec 2026) — borrowed shapes, */
/* this site's own teal colours: quick-answer box, steps as cards,    */
/* chunkier buttons, tinted note boxes. No bar/line beside titles.    */
.sre-quick {
	background: var(--teal-pale);
	border: 1px solid var(--teal-line);
	border-radius: 10px;
	padding: 1rem 1.2rem;
	margin: 1.4rem 0 0.4rem;
}
.sre-quick-label {
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--teal-deep);
	margin: 0 0 0.3rem;
}
.sre-quick-text { margin: 0; font-size: 1.02rem; }
.sre-steps { max-width: none; }
.sre-steps li {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 0.9rem 1rem 0.9rem 3.6rem;
	margin: 0 0 0.6rem;
}
.sre-steps li::before { top: 0.85rem; left: 0.9rem; }
.sre-btn { border-radius: 10px; padding: 0.85rem 1.6rem; }
.sre-content .vsd-note {
	border: 1px solid var(--teal-line);
	background: var(--teal-pale);
	border-radius: 10px;
	padding: 0.8rem 1rem;
	margin: 1rem 0;
}
.sre-content .vsd-note--warn { border-color: #f0c6c0; background: #fdecea; }
.sre-content .vsd-note--ok { border-color: #bfe6cf; background: #e7f6ee; }

/* Author stamp (2026-12-06): real author + real updated time + source line */
.sre-byline{margin:.6rem 0 0;padding:.5rem .8rem;background:var(--teal-pale);border:1px solid var(--teal-line);border-radius:8px;font-size:.86rem;color:var(--ink)}
