/*
 * SITARU portal theme - shared by every public page of the default theme.
 * Same visual language as the WebGIS (public/assets/webgis/webgis.css), ported from the
 * SiDaTraWa portal: navy/slate base, teal accent, Plus Jakarta Sans, 8-12px radii.
 * Bootstrap 5 stays in place for the existing module views; it is re-skinned through its variables.
 */
:root {
	--navy-950: #070D1C;
	--navy-900: #0B1428;
	--navy-800: #13203D;
	--slate-900: #0F172A;
	--slate-700: #334155;
	--slate-600: #475569;
	--slate-500: #64748B;
	--slate-400: #94A3B8;
	--slate-300: #CBD5E1;
	--slate-200: #E2E8F0;
	--slate-100: #F1F5F9;
	--bg: #F8FAFC;
	--surface: #FFFFFF;
	--accent-700: #115E59;
	--accent-600: #0F766E;
	--accent-500: #14B8A6;
	--accent-100: #CCFBF1;
	--accent-50: #F0FDFA;
	--danger: #DC2626;
	--radius-sm: 8px;
	--radius: 12px;
	--shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
	--shadow: 0 10px 30px -12px rgba(15, 23, 42, .25);
	--shadow-lg: 0 24px 48px -20px rgba(7, 13, 28, .45);
	--focus: 0 0 0 3px rgba(20, 184, 166, .45);
	--font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--header-h: 68px;

	/* Bootstrap 5 re-skin */
	--bs-primary: #0F766E;
	--bs-primary-rgb: 15, 118, 110;
	--bs-dark: #0F172A;
	--bs-dark-rgb: 15, 23, 42;
	--bs-body-font-family: var(--font);
	--bs-body-color: #0F172A;
	--bs-body-bg: #F8FAFC;
	--bs-link-color: #0F766E;
	--bs-link-hover-color: #115E59;
	--bs-border-radius: 8px;
	--bs-border-color: #E2E8F0;
}

html { scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { font-family: var(--font) !important; color: var(--slate-900); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-600); text-decoration: none; }
a:hover { color: var(--accent-700); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font); letter-spacing: -.015em; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--radius-sm); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Content under a sticky (not fixed) header */
#content-wrapper { margin-top: 0 !important; min-height: 60vh; }

/* Bootstrap components in the module views */
.btn { border-radius: var(--radius-sm); font-weight: 600; }
.btn-primary { --bs-btn-bg: #0F766E; --bs-btn-border-color: #0F766E; --bs-btn-hover-bg: #115E59; --bs-btn-hover-border-color: #115E59; --bs-btn-active-bg: #115E59; --bs-btn-active-border-color: #115E59; --bs-btn-disabled-bg: #0F766E; --bs-btn-disabled-border-color: #0F766E; }
.btn-outline-primary { --bs-btn-color: #0F766E; --bs-btn-border-color: #0F766E; --bs-btn-hover-bg: #0F766E; --bs-btn-hover-border-color: #0F766E; --bs-btn-active-bg: #0F766E; --bs-btn-active-border-color: #0F766E; }
.text-primary { color: var(--accent-600) !important; }
.bg-primary { background-color: var(--accent-600) !important; }
.bg-dark { background-color: var(--navy-900) !important; }
.card { border-color: var(--slate-200); border-radius: var(--radius); }
.card.shadow-sm, .shadow-sm { box-shadow: var(--shadow-sm) !important; }
.form-control, .form-select { border-color: var(--slate-300); border-radius: var(--radius-sm); }
.form-control:focus, .form-select:focus { border-color: var(--accent-500); box-shadow: var(--focus); }
.page-link { color: var(--accent-600); }
.page-item.active .page-link { background-color: var(--accent-600); border-color: var(--accent-600); }
.dropdown-menu { border-color: var(--slate-200); border-radius: var(--radius); box-shadow: var(--shadow); font-size: 14px; }
.badge.bg-primary { background-color: var(--accent-600) !important; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--slate-200); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -16px rgba(15, 23, 42, .4); }
.site-header .navbar { padding: 0; min-height: var(--header-h); }
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--slate-900) !important; flex-shrink: 0; }
.brand__logo { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.brand__text small { font-size: 12px; color: var(--slate-500); font-weight: 600; }
.brand--light { color: #fff !important; }
.brand--light .brand__text small { color: var(--slate-400); }
.site-nav { flex: 1; min-width: 0; }
.site-nav .navbar-nav { gap: 2px; }
.site-nav .nav-link { display: flex; align-items: center; gap: 6px; padding: 8px 10px !important; border-radius: var(--radius-sm); color: var(--slate-600) !important; font-size: 14px; font-weight: 600; white-space: nowrap; }
.site-nav .nav-link:hover, .site-nav .nav-link.show { color: var(--slate-900) !important; background: var(--slate-100); }
.site-nav .active > .nav-link { color: var(--accent-600) !important; background: var(--accent-50); }
.site-nav .nav-link .mdi { font-size: 16px; }
/* menu items without an icon carry an empty "mdi-blank" placeholder from the menu manager */
.site-header .mdi-blank { display: none; }
.site-nav .dropdown-menu { min-width: 240px; padding: 6px; margin-top: 8px !important; }
.site-nav .dropdown-menu::before, .site-nav .dropdown-menu::after { display: none !important; }
.site-nav .dropdown-menu .nav-link { color: var(--slate-700) !important; padding: 9px 12px !important; font-weight: 500; white-space: normal; }
.site-nav .dropdown-menu .nav-link:hover { background: var(--accent-50); color: var(--accent-700) !important; }
.site-nav .dropdown-menu .dropdown-menu { position: static; box-shadow: none; border: 0; margin: 0 0 0 12px !important; padding: 0 0 0 6px; border-left: 2px solid var(--slate-200); border-radius: 0; display: block; min-width: 0; }
.site-nav .dropdown-menu .dropdown-toggle::after { display: none; }
.site-header__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.site-header__actions .nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: var(--radius-sm); color: var(--slate-600); font-size: 14px; font-weight: 600; }
.site-header__actions .nav-link:hover { color: var(--slate-900); background: var(--slate-100); }
.site-header__actions .dropdown-menu .nav-link { display: flex; }
.site-header__toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--slate-200); border-radius: var(--radius-sm); background: var(--surface); color: var(--slate-900); font-size: 22px; }
.site-header__toggle:focus { box-shadow: var(--focus); }

.btn-portal { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: var(--radius-sm); font: 600 15px/1.2 var(--font); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn-portal--primary { background: var(--accent-600); color: #fff !important; box-shadow: 0 6px 16px -6px rgba(15, 118, 110, .6); }
.btn-portal--primary:hover { background: var(--accent-700); }
.btn-portal--outline { background: var(--surface); border-color: var(--slate-200); color: var(--slate-900) !important; }
.btn-portal--outline:hover { border-color: var(--accent-500); color: var(--accent-600) !important; }
.btn-portal--ghost-light { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff !important; }
.btn-portal--ghost-light:hover { background: rgba(255, 255, 255, .08); }
.btn-portal--lg { min-height: 52px; padding: 12px 22px; font-size: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--slate-400); padding: 64px 0 0; font-size: 14px; }
.site-footer a { color: var(--slate-300); }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr .9fr 1.1fr; gap: 40px; }
.site-footer__brand p { margin-top: 16px; max-width: 38ch; line-height: 1.65; }
.site-footer__title { margin-bottom: 16px; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.contact-list, .sitemap { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 10px; line-height: 1.5; }
.contact-list .mdi { font-size: 16px; color: var(--slate-500); }
.site-footer__social { display: flex; gap: 8px; margin-top: 16px; }
.site-footer__social a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-sm); border: 1px solid rgba(148, 163, 184, .25); font-size: 18px; }
.site-footer__disclaimer { line-height: 1.65; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding: 20px 0; border-top: 1px solid rgba(148, 163, 184, .15); font-size: 13px; }

/* ---------- Home ---------- */
.portal-home { background: var(--bg); }
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1200px 600px at 85% -10%, rgba(14, 165, 233, .22), transparent 60%), radial-gradient(800px 500px at -10% 110%, rgba(20, 184, 166, .22), transparent 60%), linear-gradient(160deg, var(--navy-900), var(--navy-950)); padding: 72px 0 32px; }
.hero__backdrop { position: absolute; inset: 0; background-image: linear-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .07) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent); mask-image: linear-gradient(180deg, #000 40%, transparent); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--accent-600); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow--light { color: #99F6E4; padding: 6px 12px; border: 1px solid rgba(153, 246, 228, .28); border-radius: 999px; background: rgba(20, 184, 166, .1); text-transform: none; letter-spacing: 0; font-weight: 600; }
.hero__title { color: #fff; font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; max-width: 18ch; margin: 0; }
.hero__lead { margin: 18px 0 0; max-width: 58ch; color: var(--slate-300); font-size: 18px; line-height: 1.6; }

.search-card { margin-top: 32px; background: var(--surface); color: var(--slate-900); border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 640px; }
.search-card__tabs { display: flex; gap: 4px; padding: 6px 6px 0; border-bottom: 1px solid var(--slate-200); }
.search-card__tab { display: inline-flex; align-items: center; gap: 8px; padding: 12px 14px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--slate-500); font: 600 14px var(--font); cursor: pointer; margin-bottom: -1px; }
.search-card__tab:hover { color: var(--slate-900); }
.search-card__tab.is-active { color: var(--accent-600); border-bottom-color: var(--accent-600); }
.search-card__body { display: flex; gap: 12px; padding: 16px; align-items: flex-end; }
.search-card__panel { flex: 1; min-width: 0; }
.search-card__error { margin: -4px 16px 14px; color: var(--danger); font-size: 14px; font-weight: 600; }
.field { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--slate-300); border-radius: var(--radius-sm); background: var(--surface); color: var(--slate-900); font: 500 15px var(--font); }
.field:focus { outline: none; border-color: var(--accent-500); box-shadow: var(--focus); }
.field-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--slate-600); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field--icon { position: relative; }
.field--icon > .mdi { position: absolute; left: 14px; top: 14px; font-size: 20px; color: var(--slate-400); pointer-events: none; }
.field--icon input { padding-left: 44px; }

.autocomplete { position: relative; }
.autocomplete__list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); max-height: 320px; overflow: auto; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--slate-200); border-radius: var(--radius); box-shadow: var(--shadow); }
.autocomplete__item { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: var(--radius-sm); cursor: pointer; color: var(--slate-900); }
.autocomplete__item[aria-selected="true"], .autocomplete__item:hover { background: var(--accent-50); }
.autocomplete__item .mdi { font-size: 18px; color: var(--slate-500); }
.autocomplete__item span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.autocomplete__item strong { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.autocomplete__item small { font-size: 12px; color: var(--slate-500); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.autocomplete__empty { padding: 10px; font-size: 14px; color: var(--slate-500); }

.counters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 36px 0 0; max-width: 640px; }
.counter { padding: 16px; border: 1px solid rgba(148, 163, 184, .2); border-radius: var(--radius); background: rgba(15, 23, 42, .45); }
.counter dt { font-size: 13px; color: var(--slate-300); font-weight: 600; line-height: 1.35; }
.counter dd { margin: 6px 0 0; font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.counter dd.counter__note { margin-top: 4px; font-size: 12px; font-weight: 500; color: var(--slate-400); letter-spacing: 0; }

.hero__visual { position: relative; min-height: 420px; }
.hero__map { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
.hero__map path { fill: rgba(20, 184, 166, .16); stroke: rgba(153, 246, 228, .55); stroke-width: .8; transition: fill .15s; cursor: pointer; }
.hero__map path:hover, .hero__map path:focus { fill: rgba(20, 184, 166, .5); outline: none; }
.hero__map-tip { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--slate-900); font-size: 13px; font-weight: 700; box-shadow: var(--shadow); white-space: nowrap; }

.stat-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin: 48px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid rgba(148, 163, 184, .2); color: var(--slate-300); font-size: 14px; }
.stat-strip li { display: inline-flex; align-items: center; gap: 8px; }
.stat-strip strong { color: #fff; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat-strip .mdi { color: var(--accent-500); font-size: 18px; }

.section { padding: 88px 0; }
.section--tinted { background: var(--surface); border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200); }
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section__title { font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin: 0; }
.section__lead { margin: 12px 0 0; color: var(--slate-600); font-size: 17px; }

.feature-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.feature-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; border: 1px solid var(--slate-200); border-radius: var(--radius); background: var(--surface); color: var(--slate-900) !important; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s, transform .2s; }
.feature-card:hover { border-color: var(--accent-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-sm); background: color-mix(in srgb, var(--tone) 12%, #fff); color: var(--tone); font-size: 24px; }
.feature-card h3 { font-size: 17px; font-weight: 700; margin: 0; }
.feature-card p { color: var(--slate-600); font-size: 14px; flex: 1; margin: 0; }
.feature-card__more { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-600); font-size: 14px; font-weight: 700; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.term-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.term { padding: 20px; border: 1px solid var(--slate-200); border-radius: var(--radius); background: var(--surface); }
.term dt { display: flex; align-items: baseline; gap: 10px; font-size: 22px; font-weight: 800; color: var(--accent-600); }
.term dt small { font-size: 13px; font-weight: 700; color: var(--slate-500); }
.term dd { margin: 8px 0 0; color: var(--slate-600); font-size: 14px; line-height: 1.6; }
.itbx-legend { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.itbx-legend li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--slate-600); }
.itbx-legend b { display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 6px; color: #fff; font-size: 13px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--slate-200); color: var(--slate-900) !important; transition: border-color .15s, background .15s; }
.service-card:hover { border-color: var(--accent-500); background: var(--surface); }
.service-card > .mdi { font-size: 28px; color: var(--accent-600); line-height: 1; }
.service-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 4px; }
.service-card p { color: var(--slate-600); font-size: 14px; margin: 0; }

.reg-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.reg-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--slate-200); border-radius: var(--radius); background: var(--surface); color: var(--slate-900) !important; }
.reg-card:hover { border-color: var(--accent-500); }
.reg-card .mdi { font-size: 24px; color: #B91C1C; }
.reg-card strong { font-size: 15px; }
.reg-card small { color: var(--slate-500); font-size: 13px; }

.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.news-card { display: flex; flex-direction: column; border: 1px solid var(--slate-200); border-radius: var(--radius); overflow: hidden; background: var(--surface); color: var(--slate-900) !important; transition: box-shadow .2s, transform .2s; }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.news-card__img { aspect-ratio: 16 / 9; background: var(--slate-100) center / cover no-repeat; }
.news-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px; flex: 1; }
.news-card__meta { font-size: 12px; font-weight: 700; color: var(--accent-600); text-transform: uppercase; letter-spacing: .04em; }
.news-card h3 { font-size: 17px; font-weight: 700; line-height: 1.35; margin: 0; }
.news-card p { color: var(--slate-600); font-size: 14px; margin: 0; flex: 1; }
.news-card time { color: var(--slate-500); font-size: 13px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.gallery-card { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--slate-100) center / cover no-repeat; }
.gallery-card span { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 14px 12px; background: linear-gradient(transparent, rgba(7, 13, 28, .85)); color: #fff; font-size: 14px; font-weight: 700; }

.engage { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px; }
.panel { padding: 24px; border: 1px solid var(--slate-200); border-radius: var(--radius); background: var(--surface); }
.panel h3 { font-size: 17px; font-weight: 700; margin: 0 0 16px; }
.visit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; }
.visit-grid div { padding: 14px; border-radius: var(--radius-sm); background: var(--bg); border: 1px solid var(--slate-200); }
.visit-grid dt { font-size: 12px; font-weight: 700; color: var(--slate-500); text-transform: uppercase; letter-spacing: .04em; }
.visit-grid dd { margin: 4px 0 0; font-size: 24px; font-weight: 800; font-variant-numeric: tabular-nums; }
.rating { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating button { padding: 0 2px; border: 0; background: none; color: var(--slate-300); font-size: 40px; line-height: 1; cursor: pointer; transition: color .15s, transform .15s; }
.rating button:hover, .rating button:hover ~ button, .rating button.is-on, .rating button.is-on ~ button { color: #F59E0B; }
.rating button:hover { transform: scale(1.12); }
.panel__note { margin-top: 10px; color: var(--slate-500); font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
	.site-header__toggle { display: inline-grid; place-items: center; }
	.site-header__inner { flex-wrap: wrap; }
	.site-nav { flex-basis: 100%; }
	.site-nav .navbar-nav { padding: 8px 0 12px; }
	.site-nav .nav-link { padding: 12px !important; font-size: 15px; }
	.site-nav .dropdown-menu { box-shadow: none; border: 0; margin: 0 0 0 12px !important; padding: 0 0 0 8px; border-left: 2px solid var(--slate-200); border-radius: 0; }
	.site-header__actions { padding: 8px 0 16px; border-top: 1px solid var(--slate-200); flex-wrap: wrap; }
	.site-header__brandrow { display: flex; align-items: center; justify-content: space-between; width: 100%; }
	/* neutralise the old theme's mobile navbar rules (negative gutters, dark dropdown tint) */
	.site-header .navbar .navbar-collapse, .site-header .navbar .navbar-nav, .site-header .navbar .nav-item.dropdown, .site-header .navbar .dropdown-menu.show { margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
	.site-header .navbar .navbar-nav .dropdown-menu.show { background: transparent !important; padding-left: 8px !important; }
	.site-header .navbar-nav .dropdown .dropdown-toggle::after { top: 1.15rem; right: .75rem; }
	.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.reg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
	.site-header__brandrow { display: contents; }
}
@media (min-width: 1200px) and (max-width: 1439.98px) {
	.brand__text small { display: none; }
	.site-nav .nav-link { padding: 8px 8px !important; font-size: 13.5px; }
	.site-header__actions { gap: 4px; }
}
@media (max-width: 1080px) {
	.hero__grid, .split, .engage { grid-template-columns: 1fr; }
	.hero__visual { display: none; }
	.service-grid, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
	.brand__text small { display: none; }
	.hero { padding: 40px 0 24px; }
	.hero__lead { font-size: 16px; }
	.search-card__body { flex-direction: column; align-items: stretch; }
	.search-card__tab { flex: 1; justify-content: center; padding: 12px 8px; font-size: 13px; }
	.counters { grid-template-columns: 1fr; gap: 10px; }
	.counter { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0 12px; padding: 12px 14px; }
	.counter dd { margin: 0; font-size: 22px; grid-row: 1 / 3; grid-column: 2; }
	.counter dd.counter__note { grid-row: 2; grid-column: 1; }
	.stat-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
	.section { padding: 56px 0; }
	.feature-grid, .service-grid, .news-grid, .term-grid { grid-template-columns: 1fr; }
	.reg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.visit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
