/**
Theme Name: MOH Hello Elementor Child
Theme URI: https://health.gov.kn/
Description: Child theme of Hello Elementor for the Ministry of Health, St. Kitts and Nevis website. Provides Ministry branding, global style tokens and site-specific behaviour on top of the Hello Elementor parent theme, for use with Elementor Pro.
Author: Ministry of Health, St. Kitts and Nevis
Template: hello-elementor
Version: 1.0.0
Text Domain: moh-astra-child
*/

/* Global design tokens. Color/typography values were originally taken from
   the reference mockup (https://ministry-health-skn.tricsie77.chatgpt.site/),
   then precision-aligned to the Ministry's own MOH_Elementor_Card_Build_
   Specifications document (the exact hex values below are that doc's
   "Recommended colour roles" table, section 2) — the two sources were
   already very close, this is a nudge for spec compliance, not a re-theme. */
:root {
	--moh-navy: #073F52;
	--moh-teal: #159E92;
	--moh-light-aqua: #E8F5F4;
	--moh-gold: #D89A18;
	--moh-urgent-red: #C3261F;
	--moh-amber-advisory: #E7A51B;
	--moh-success-green: #18794E;
	--moh-body-charcoal: #073F52;
	--moh-muted-text: #5E727A;
	--moh-border-grey: #DCE7EA;
	--moh-page-grey: #F2F8F9;
	--moh-white: #FFFFFF;

	--moh-font-body: "Source Sans 3", Arial, Helvetica, sans-serif;
	/* Serif display face for headings only — this sans/serif pairing (plus the
	   tight negative letter-spacing below) is the main source of visual
	   "character" the mockup has that plain all-sans typography doesn't. */
	--moh-font-heading: Georgia, "Times New Roman", serif;
	--moh-content-max-width: 1200px;
	--moh-content-wide-width: 1440px;

	--moh-radius-sm: 8px;
	--moh-radius-md: 12px;
	--moh-radius-lg: 20px;
	--moh-card-radius: 18px;

	--moh-shadow-sm: 0 1px 3px rgba(0, 59, 77, 0.08);
	--moh-shadow-md: 0 8px 24px rgba(0, 59, 77, 0.08);
	--moh-shadow-lg: 0 14px 34px rgba(0, 59, 77, 0.14);

	--moh-ease: 0.2s ease;
}

/* Standard breakpoints used throughout this file (plain CSS custom properties
   can't be referenced inside @media conditions, so these are documented here
   rather than tokenized): 1400px (header nav wrap), 700px (stacked bands),
   640px (table responsive), 600px (small-screen text/spacing). */

body {
	color: var(--moh-body-charcoal);
	font-family: var(--moh-font-body);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--moh-font-heading);
	font-weight: 400;
	letter-spacing: -0.02em;
	color: var(--moh-navy);
}

a {
	color: var(--moh-teal);
}

/* Skip link, hidden until focused */
.moh-skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
	z-index: 100000;
	background: var(--moh-navy);
	color: var(--moh-white);
	padding: 12px 20px;
	border-radius: 0 0 6px 0;
}

.moh-skip-link:focus {
	left: 0;
	top: 0;
	width: auto;
	height: auto;
	overflow: visible;
}

/* Visible keyboard focus, required by WCAG 2.2 AA target */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--moh-gold);
	outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}

/* Screen-reader-only text, standard WordPress pattern (belt-and-braces
   alongside Elementor's own .elementor-screen-only) */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* ========================================================================
   Stage 3 / header redesign: global header, footer, critical alert, 404
   and search results
   (MOH-Homepage-Content-and-Elementor-Specifications.md sections 4-6, 18)
   ======================================================================== */

.moh-external-icon {
	font-size: 0.8em;
}

/* ---- Main site header (single consolidated row, mockup-aligned) ---- */
/* Elementor's own `.e-con { position: var(--position) }` ties this single-class
   selector on specificity and loads after this stylesheet, so it wins ties.
   Repeating the class raises specificity enough to win reliably. */
/* Slim trust-signal + convenience-link strip above the main header (UX spec
   section 4.2) — dark navy, small type, not sticky (only the main header
   below scrolls with the page, keeping the sticky bar itself compact). */
.moh-utility-bar.moh-utility-bar {
	background: var(--moh-navy);
}

.moh-utility-bar .elementor-widget-text-editor {
	max-width: 1680px;
	margin: 0 auto;
	display: flex;
	flex-direction: row !important;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 24px;
	font-size: 13px;
}

.moh-utility-bar__trust {
	color: rgba(255, 255, 255, 0.85);
}

.moh-utility-bar__link,
.moh-utility-bar__link:visited {
	color: var(--moh-white);
	font-weight: 700;
	text-decoration: none;
}

/* Hello Elementor's reset.css ships `a:active, a:hover { color: #333366 }`
   (element + pseudo-class beats our single-class rule above), which turns
   this link dark navy-on-navy — nearly invisible on the utility bar's dark
   background. Restating white here (same specificity as the base rule, but
   the pseudo-class combination outranks reset.css's plain `a:hover`) keeps
   it legible on hover, focus, and tap-and-hold on touch devices. */
.moh-utility-bar__link:hover,
.moh-utility-bar__link:focus-visible,
.moh-utility-bar__link:active {
	color: var(--moh-white);
	text-decoration: underline;
}

@media (max-width: 600px) {
	.moh-utility-bar .elementor-widget-text-editor {
		font-size: 12px;
		padding: 8px 16px;
		justify-content: center;
	}

	.moh-utility-bar__trust {
		display: none;
	}
}

.moh-site-header.moh-site-header {
	background: var(--moh-white);
	border-bottom: 1px solid var(--moh-border-grey);
	box-shadow: 0 2px 8px rgba(0, 59, 77, 0.06);
	position: sticky;
	top: 0;
	z-index: 20;
}

/* Elementor's own `.e-con-boxed.e-flex { flex-direction: column }` is itself a
   2-class (0,2,0) selector and frontend.min.css loads after this stylesheet,
   so repeating our class only ties (and loses) it — `!important` is required
   here, unlike the single-class collisions elsewhere in this file. */
.moh-site-header__inner.moh-site-header__inner {
	/* Header bar is allowed to run wider than the boxed body content
	   width so the nav has room to breathe alongside the brand lockup,
	   search, and CTA buttons on one row. */
	max-width: 1680px;
	margin: 0 auto;
	display: flex;
	flex-direction: row !important;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 24px;
}

/* Every Elementor container defaults `--width: 100%` regardless of its
   Content Width (boxed/full) setting. `flex-basis: auto` falls back to the
   element's `width` property when one is set, so `flex: 0 0 auto` alone
   still resolves to 100%-wide — `width: auto !important` is the part that
   actually makes an element size to its content instead of the row. This
   applies to every header child that should NOT grow to fill space: brand,
   actions, search, and the buttons-wrap widget (nav is the one child that
   SHOULD fill remaining space, so it keeps width unset/auto-via-content). */
.moh-site-header__brand.moh-site-header__brand {
	flex: 0 0 auto !important;
	width: auto !important;
	display: flex;
	flex-direction: row !important;
	align-items: center;
	gap: 14px;
	text-decoration: none;
}

.moh-site-header__logos.moh-site-header__logos {
	flex: 0 0 auto !important;
	width: auto !important;
	display: flex;
	flex-direction: row !important;
	align-items: center;
	gap: 8px;
}

/* Elementor's own `.e-con.e-flex { --flex-direction: column }` default is
   read directly off the container element itself when it's set to "Full
   Width" (Content Width = full, applied to every header row container via
   moh-header-fullwidth.php) — there is no nested `.e-con-inner` wrapper to
   fight anymore, which is what all the earlier `!important` row overrides
   above were really patching around. Keep the `!important` (still needed
   to beat the `column` default) but there's nothing nested left to target. */

/* Elementor's own `.elementor img { height: auto; max-width: 100% }` rule
   shares specificity with a single-class selector and loads after this
   stylesheet, so it wins ties. Two classes (`.moh-site-header__logos
   .moh-site-header__logo img`) raises specificity enough to win reliably,
   regardless of stylesheet load order. */
.moh-site-header__logos .moh-site-header__logo img,
.moh-site-header__logos .moh-site-header__coa img {
	display: block;
	height: 60px;
	width: auto;
}

.moh-site-header__title-wrap p {
	margin: 0;
}

.moh-site-header__title {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
	white-space: nowrap;
}

.moh-site-header__title strong {
	font-size: 16px;
	font-weight: 700;
	color: var(--moh-navy);
}

.moh-site-header__title small {
	font-size: 11px;
	font-weight: 500;
	color: var(--moh-muted-text);
}

.moh-site-header__nav.moh-site-header__nav {
	flex: 1 1 auto !important;
	display: flex;
	flex-direction: row !important;
	justify-content: center;
}

.moh-primary-nav {
	width: 100%;
}

/* Elementor's own responsive CSS hides `.elementor-nav-menu--main` below its
   "tablet" toggle breakpoint (max-width: 1024px) via a same-specificity
   (0,2,0) selector; since our stylesheet is enqueued after Elementor's, an
   unscoped rule here would win the tie at every width and force the full
   horizontal menu to stay visible (and wrap) on mobile instead of collapsing
   behind the burger toggle. Scoping to the desktop range avoids the fight. */
@media (min-width: 1025px) {
	.moh-primary-nav .elementor-nav-menu--main {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-wrap: wrap;
	}
}

.moh-primary-nav .elementor-nav-menu {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
}

.moh-primary-nav .elementor-item {
	display: inline-block;
	padding: 8px 9px;
	color: var(--moh-navy);
	font-weight: 700;
	font-size: 13px;
	white-space: nowrap;
	text-decoration: none;
	border-radius: 6px;
}

.moh-primary-nav .elementor-item:hover,
.moh-primary-nav .elementor-item:focus-visible {
	background: var(--moh-light-aqua);
	color: var(--moh-teal);
}

.moh-primary-nav .elementor-item-active {
	color: var(--moh-teal);
}

.moh-primary-nav .elementor-menu-toggle {
	color: var(--moh-navy);
	font-size: 26px;
}

.moh-primary-nav .elementor-nav-menu--dropdown {
	background: var(--moh-white);
	border-top: 1px solid var(--moh-border-grey);
}

.moh-primary-nav .elementor-nav-menu--dropdown .elementor-item {
	display: block;
	padding: 12px 20px;
}

/* Desktop mega menu (Health Services). Elementor's classic Nav Menu widget
   gives nested `<ul>` items the SAME class (`.sub-menu.elementor-nav-menu--
   dropdown`) as the mobile hamburger panel, so this is scoped to the
   desktop breakpoint to avoid bleeding into the mobile-dropdown rules
   above. SmartMenus (the JS library Elementor uses for hover/click
   open-close) sets `display`/`position` inline at runtime — this only
   supplies the visual shell and column layout, not visibility. */
@media (min-width: 1025px) {
	.moh-primary-nav .sub-menu.elementor-nav-menu--dropdown {
		width: 900px !important;
		max-width: 90vw;
		border-top: none;
		border-radius: var(--moh-radius-md);
		box-shadow: var(--moh-shadow-lg);
		padding: 24px 28px;
		column-count: 4;
		column-gap: 28px;
	}

	.moh-primary-nav .sub-menu.elementor-nav-menu--dropdown .elementor-item {
		padding: 6px 8px;
	}

	.moh-primary-nav .sub-menu.elementor-nav-menu--dropdown > li {
		break-inside: avoid;
	}

	.moh-primary-nav .sub-menu.elementor-nav-menu--dropdown > li:has(> .moh-mega-heading) {
		break-before: column;
	}

	.moh-primary-nav .sub-menu.elementor-nav-menu--dropdown > li:first-child {
		break-before: avoid;
	}

	.moh-primary-nav .sub-menu.elementor-nav-menu--dropdown .moh-mega-heading {
		display: block;
		margin-top: 4px;
		padding: 6px 8px 8px;
		font-size: 11px;
		font-weight: 700;
		letter-spacing: 0.04em;
		text-transform: uppercase;
		color: var(--moh-muted-text);
		pointer-events: none;
	}

	.moh-primary-nav .sub-menu.elementor-nav-menu--dropdown > li:first-child .moh-mega-heading {
		margin-top: 0;
	}

	.moh-primary-nav .sub-menu.elementor-nav-menu--dropdown .moh-mega-cta {
		margin-top: 4px;
		font-weight: 700;
		color: var(--moh-teal);
	}
}

.moh-site-header__actions.moh-site-header__actions {
	flex: 0 0 auto !important;
	width: auto !important;
	display: flex;
	flex-direction: row !important;
	align-items: center;
	gap: 10px;
}

/* `.moh-site-header__search` is itself an Elementor container wrapping the
   search-form widget — same content-sizing treatment as its siblings above. */
.moh-site-header__search.moh-site-header__search {
	flex: 0 0 auto !important;
	width: auto !important;
	display: flex;
	flex-direction: row !important;
	align-items: center;
	flex-shrink: 0;
}

.moh-site-header__buttons-wrap {
	flex: 0 0 auto !important;
	width: auto !important;
}

/* Icon-only search: collapse the input to 0 width until the container is
   focused or hovered, then expand it — keeps the single-row header slim.
   Elementor's own per-template generated CSS (post-68.css) targets this
   exact widget with a 4-class selector (`.elementor-68 .elementor-element
   .elementor-element-df611a0 ...`), which outranks our 2-class selector on
   specificity — `!important` is required on every property it might touch. */
.moh-header-search .elementor-search-form__container {
	display: flex;
	align-items: center;
	border: 1px solid transparent !important;
	border-radius: 24px !important;
	background: transparent !important;
	padding: 0 !important;
	transition: background var(--moh-ease), border-color var(--moh-ease), padding var(--moh-ease);
}

.moh-header-search .elementor-search-form__input {
	min-height: 40px;
	width: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: none !important;
	opacity: 0 !important;
	transition: width var(--moh-ease), opacity var(--moh-ease), padding var(--moh-ease);
}

.moh-header-search .elementor-search-form__container:hover,
.moh-header-search .elementor-search-form__container:focus-within {
	border-color: var(--moh-border-grey) !important;
	background: var(--moh-page-grey) !important;
	padding: 0 4px 0 14px !important;
}

.moh-header-search .elementor-search-form__container:hover .elementor-search-form__input,
.moh-header-search .elementor-search-form__container:focus-within .elementor-search-form__input {
	width: 160px !important;
	opacity: 1 !important;
	padding: 0 8px !important;
}

.moh-header-search .elementor-search-form__submit {
	background: transparent;
	border: none;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.moh-header-search .elementor-search-form__submit svg {
	fill: var(--moh-navy);
}

.moh-site-header__buttons {
	display: flex;
	align-items: center;
	gap: 8px;
}

.moh-btn-header {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	padding: 9px 16px;
	border-radius: 7px;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background var(--moh-ease);
}

.moh-btn-header--soft {
	background: var(--moh-light-aqua);
	color: var(--moh-navy);
}

.moh-btn-header--soft:hover,
.moh-btn-header--soft:focus-visible {
	background: #d7edee;
}

.moh-btn-header--emergency {
	background: var(--moh-urgent-red);
	color: var(--moh-white);
}

.moh-btn-header--emergency:hover,
.moh-btn-header--emergency:focus-visible {
	background: #922017;
}

/* At laptop widths (1024-1400px) there isn't room for 6 nav items plus the
   full brand lockup and action buttons on one shared row — rather than let
   the nav awkwardly wrap mid-row, give it its own full-width row below
   brand/actions, which reads cleanly at any width in this range. */
@media (max-width: 1400px) {
	.moh-site-header__inner {
		flex-wrap: wrap;
	}

	.moh-site-header__nav {
		order: 3;
		flex: 1 1 100% !important;
		justify-content: flex-start;
	}
}

@media (max-width: 600px) {
	.moh-site-header__brand {
		gap: 10px;
	}

	.moh-site-header__logos .moh-site-header__logo img,
	.moh-site-header__logos .moh-site-header__coa img {
		height: 36px;
	}

	.moh-site-header__title strong {
		font-size: 14px;
	}

	.moh-site-header__title small {
		font-size: 10px;
	}

	.moh-btn-header {
		padding: 8px 12px;
		font-size: 12px;
	}

	/* `.moh-site-header__actions` and `__buttons-wrap` are pinned to
	   `width: auto !important` (see the shared header-sizing rule above) so
	   they never grow to fill space on desktop — but that also stops them
	   from ever wrapping, so on phones narrower than the search icon +
	   "MOH Helpdesk" pill + "Emergency guidance" button combined, the row
	   silently overflows past the viewport edge and clips the emergency
	   button. Letting it wrap onto a second line keeps every control
	   reachable regardless of screen width. */
	.moh-site-header__actions.moh-site-header__actions {
		flex-wrap: wrap;
		justify-content: center;
		width: 100% !important;
		row-gap: 8px;
	}

	.moh-site-header__buttons-wrap {
		width: 100% !important;
	}

	.moh-site-header__buttons {
		flex-wrap: wrap;
		justify-content: center;
	}
}

/* ---- Conditional critical health alert band (section 6) ---- */
.moh-critical-alert {
	background: var(--moh-urgent-red);
}

.moh-critical-alert__inner {
	max-width: var(--moh-content-wide-width);
	margin: 0 auto;
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 20px 24px;
}

.moh-critical-alert__icon {
	font-size: 28px;
	line-height: 1;
	flex-shrink: 0;
	color: var(--moh-white);
}

.moh-critical-alert__body {
	flex: 1 1 auto;
}

.moh-critical-alert__label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--moh-white);
	margin-bottom: 4px;
}

.moh-critical-alert__headline {
	margin: 0 0 8px;
	font-size: 22px;
	color: var(--moh-white);
}

.moh-critical-alert__summary {
	margin: 0 0 8px;
	max-width: 70ch;
	color: var(--moh-white);
}

.moh-critical-alert__meta {
	margin: 0;
	font-size: 14px;
	color: var(--moh-white);
	opacity: 0.9;
}

.moh-critical-alert__action {
	flex-shrink: 0;
	display: inline-block;
	align-self: center;
	background: var(--moh-white);
	color: var(--moh-urgent-red);
	font-weight: 700;
	padding: 10px 20px;
	border-radius: 6px;
	text-decoration: none;
	white-space: nowrap;
}

.moh-critical-alert__action:hover,
.moh-critical-alert__action:focus-visible {
	background: var(--moh-page-grey);
	color: var(--moh-urgent-red);
}

@media (max-width: 700px) {
	.moh-critical-alert__inner {
		flex-direction: column;
	}

	.moh-critical-alert__action {
		align-self: flex-start;
	}
}

/* ---- Global footer (section 18) ---- */
.moh-footer-root {
	position: relative;
	background: var(--moh-navy);
}

.moh-footer-root::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--moh-teal), var(--moh-gold));
}

/* Same Elementor default as the header: `.e-con.e-flex` defaults to
   `flex-direction: column` regardless of content_width, so this needs the
   same `!important` row override or the 4 columns stack as one long list. */
.moh-footer__columns.moh-footer__columns {
	max-width: var(--moh-content-wide-width);
	margin: 0 auto;
	display: flex;
	flex-direction: row !important;
	flex-wrap: wrap;
	gap: 32px;
	padding: 56px 24px 40px;
}

.moh-footer__column.moh-footer__column {
	flex: 1 1 220px !important;
	min-width: 200px;
}

.moh-footer__heading {
	margin: 0 0 16px;
	font-size: 17px;
	color: var(--moh-white);
}

.moh-footer__column p {
	color: #C7D3DC;
	margin: 0 0 8px;
}

/* Stands in for the removed "Ministry of Health" heading (redundant once
   the logo above already carries that name) as the column's title line. */
.moh-footer__gov-line {
	font-size: 17px;
	font-weight: 700;
	color: var(--moh-white);
}

/* Elementor's own `.elementor img { height: auto; max-width: 100% }` (1 class
   + type = (0,1,1)) outranks a plain single-class selector here, so the
   logo was stretching to fill the column width instead of sitting at a
   fixed height. Repeating the class raises specificity to (0,2,0), which
   wins regardless of load order — same fix as the documented landmine. */
.moh-footer__logo.moh-footer__logo {
	display: block;
	height: auto;
	width: 220px;
	max-width: 100%;
	object-fit: contain;
	margin-bottom: 12px;
}

.moh-footer__address {
	font-size: 13px;
	max-width: 26ch;
}

.moh-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.moh-footer__list li {
	margin-bottom: 10px;
}

.moh-footer__list a {
	color: #C7D3DC;
	text-decoration: none;
}

.moh-footer__list a:hover,
.moh-footer__list a:focus-visible {
	color: var(--moh-white);
	text-decoration: underline;
}

.moh-footer-base {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.moh-footer-base .elementor-widget-text-editor {
	max-width: var(--moh-content-wide-width);
	margin: 0 auto;
	padding: 20px 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.moh-footer-base__copyright {
	margin: 0;
	font-size: 14px;
	color: #C7D3DC;
}

.moh-footer-base__links {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.moh-footer-base__links a {
	color: #C7D3DC;
	font-size: 14px;
	text-decoration: none;
}

.moh-footer-base__links a:hover,
.moh-footer-base__links a:focus-visible {
	color: var(--moh-white);
	text-decoration: underline;
}

@media (max-width: 700px) {
	.moh-footer-base .elementor-widget-text-editor .elementor-widget-container {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ---- 404 page ---- */
.moh-404 {
	max-width: var(--moh-content-max-width);
	margin: 0 auto;
	padding: 72px 24px;
	text-align: center;
}

.moh-404__heading {
	margin: 0 0 16px;
	color: var(--moh-navy);
}

.moh-404__body {
	margin: 0 auto 32px;
	max-width: 60ch;
	color: var(--moh-muted-text);
}

.moh-404__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-bottom: 32px;
	list-style: none;
	padding: 0;
}

.moh-404__links a {
	display: inline-block;
	padding: 10px 20px;
	border-radius: 6px;
	border: 2px solid var(--moh-navy);
	color: var(--moh-navy);
	text-decoration: none;
	font-weight: 600;
}

.moh-404__links a:hover,
.moh-404__links a:focus-visible {
	background: var(--moh-navy);
	color: var(--moh-white);
}

.moh-404-search {
	max-width: 480px;
	margin: 0 auto;
}

.moh-404-search .elementor-search-form__container {
	display: flex;
	align-items: center;
	border: 1px solid var(--moh-border-grey);
	border-radius: 24px;
	background: var(--moh-page-grey);
	padding: 0 6px 0 16px;
}

.moh-404-search .elementor-search-form__input {
	min-height: 44px;
	background: transparent;
	border: none;
}

.moh-404-search .elementor-search-form__submit {
	background: transparent;
	border: none;
}

.moh-404-search .elementor-search-form__submit svg {
	fill: var(--moh-navy);
}

/* ---- Search results page ---- */
.moh-search-results {
	max-width: var(--moh-content-max-width);
	margin: 0 auto;
	padding: 56px 24px;
}

.moh-search-results__heading {
	margin: 0 0 24px;
	color: var(--moh-navy);
}

.moh-search-results-form {
	max-width: 560px;
	margin: 0 0 40px;
}

.moh-search-results-form .elementor-search-form__container {
	display: flex;
	align-items: center;
	border: 1px solid var(--moh-border-grey);
	border-radius: 24px;
	background: var(--moh-page-grey);
	padding: 0 6px 0 16px;
}

.moh-search-results-form .elementor-search-form__input {
	min-height: 44px;
	background: transparent;
	border: none;
}

.moh-search-results-form .elementor-search-form__submit {
	background: transparent;
	border: none;
}

.moh-search-results-form .elementor-search-form__submit svg {
	fill: var(--moh-navy);
}

/* Elementor's Archive Posts widget falls back to rendering the full
   Elementor-built page as plain text for pages with no manual excerpt
   (which is every page/CPT record here, since content is built with the
   page builder, not the classic editor) — the result is a long run-on wall
   of text per result. A proper fix means auditing per-page content/excerpt
   fields (tracked separately); capping visible height here is the
   pragmatic visual mitigation for this pass. */
.moh-search-results .elementor-post__excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	max-width: 70ch;
}

/* ---- Global button hierarchy (section 4) ---- */
.moh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 10px 24px;
	border-radius: var(--moh-radius-sm);
	font-weight: 600;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background-color var(--moh-ease), border-color var(--moh-ease), box-shadow var(--moh-ease), transform var(--moh-ease);
}

.moh-btn:hover,
.moh-btn:focus-visible {
	text-decoration: none;
	transform: translateY(-1px);
}

.moh-btn:active {
	transform: translateY(0);
}

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

.moh-btn--primary {
	background: var(--moh-navy);
	color: var(--moh-white);
	box-shadow: 0 8px 20px rgba(7, 59, 80, 0.25);
}

/* Elementor's `.elementor a { box-shadow: none }` outranks a single-class
   selector on `<a>` buttons; repeating the class raises specificity to win.
   Each color-matched "glow" shadow (rather than a generic navy tint) is
   part of the mockup-driven refresh — buttons should read as filled,
   elevated actions, not flat boxes. */
.moh-btn--primary.moh-btn--primary {
	box-shadow: 0 8px 20px rgba(7, 59, 80, 0.25);
}

.moh-btn--helpdesk.moh-btn--helpdesk {
	box-shadow: 0 8px 20px rgba(20, 151, 139, 0.25);
}

.moh-btn--urgent.moh-btn--urgent {
	box-shadow: 0 8px 20px rgba(180, 35, 24, 0.25);
}

.moh-btn--primary:hover,
.moh-btn--primary:focus-visible {
	background: #082C46;
	color: var(--moh-white);
	box-shadow: 0 12px 28px rgba(7, 59, 80, 0.32);
}

.moh-btn--secondary {
	background: transparent;
	color: var(--moh-navy);
	border-color: var(--moh-navy);
}

.moh-btn--secondary:hover,
.moh-btn--secondary:focus-visible {
	background: var(--moh-light-aqua);
	color: var(--moh-navy);
	box-shadow: var(--moh-shadow-sm);
}

.moh-btn--helpdesk {
	background: var(--moh-teal);
	color: var(--moh-white);
	box-shadow: 0 8px 20px rgba(20, 151, 139, 0.25);
}

.moh-btn--helpdesk:hover,
.moh-btn--helpdesk:focus-visible {
	background: #00646A;
	color: var(--moh-white);
	box-shadow: 0 12px 28px rgba(20, 151, 139, 0.32);
}

.moh-btn--urgent {
	background: var(--moh-urgent-red);
	color: var(--moh-white);
	box-shadow: 0 8px 20px rgba(180, 35, 24, 0.25);
}

.moh-btn--urgent:hover,
.moh-btn--urgent:focus-visible {
	background: #8F1C13;
	color: var(--moh-white);
	box-shadow: 0 12px 28px rgba(180, 35, 24, 0.32);
}

.moh-btn--text {
	min-height: auto;
	padding: 0;
	background: transparent;
	color: var(--moh-teal);
	border: none;
	font-weight: 600;
}

.moh-btn--text:hover,
.moh-btn--text:focus-visible {
	text-decoration: underline;
}

/* Stage 4: dynamic single/archive templates (Blueprint section 7.2/7.3/7.4) */

.moh-single,
.moh-archive {
	max-width: var(--moh-content-max-width);
	margin: 0 auto;
	padding: 48px 24px 72px;
}

.moh-breadcrumbs {
	max-width: var(--moh-content-max-width);
	margin: 0 auto;
	padding: 16px 24px 0;
}

.moh-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.875rem;
	color: var(--moh-muted-text);
}

.moh-breadcrumbs__item {
	display: flex;
	align-items: center;
}

.moh-breadcrumbs__item:not(:last-child)::after {
	content: "/";
	margin: 0 8px;
	color: var(--moh-border-grey);
}

.moh-breadcrumbs__item a {
	color: var(--moh-teal, #00707a);
	text-decoration: none;
}

.moh-breadcrumbs__item a:hover,
.moh-breadcrumbs__item a:focus-visible {
	text-decoration: underline;
}

.moh-breadcrumbs__item span[aria-current="page"] {
	color: var(--moh-navy);
	font-weight: 600;
}

.moh-single__title,
.moh-archive__title {
	color: var(--moh-navy);
	margin-bottom: 16px;
}

.moh-single h2,
.moh-archive h2,
.moh-home-section h2 {
	position: relative;
	padding-bottom: 14px;
	margin-bottom: 20px;
}

.moh-single h2::after,
.moh-archive h2::after,
.moh-home-section h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 56px;
	height: 4px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--moh-teal), var(--moh-gold));
}

.moh-single__featured-image img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	margin-bottom: 24px;
}

.moh-single__last-updated,
.moh-last-updated {
	margin-top: 40px;
	padding-top: 16px;
	border-top: 1px solid var(--moh-border-grey);
	color: var(--moh-muted-text);
	font-size: 14px;
}

.moh-placeholder-notice {
	background: var(--moh-light-aqua);
	border: 1px solid var(--moh-teal);
	border-radius: 6px;
	padding: 16px 20px;
	color: var(--moh-body-charcoal);
	margin-bottom: 24px;
}

/* Detail panels: labelled field rows used across every single template */

.moh-detail-panel {
	margin: 24px 0;
	padding: 24px;
	background: var(--moh-page-grey);
	border-radius: 8px;
}

.moh-field-row {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--moh-border-grey);
}

.moh-field-row:last-child {
	border-bottom: none;
}

.moh-field-row__label {
	flex: 0 0 200px;
	font-weight: 600;
	color: var(--moh-navy);
}

.moh-field-row__value {
	flex: 1 1 300px;
	color: var(--moh-body-charcoal);
}

@media (max-width: 600px) {
	.moh-field-row {
		flex-direction: column;
		gap: 2px;
	}

	.moh-field-row__label {
		flex-basis: auto;
	}
}

/* Health topic body: intro, emergency warning, key facts, sourced sections, FAQ */

.moh-topic-intro {
	font-size: 18px;
	color: var(--moh-body-charcoal);
	max-width: 70ch;
}

.moh-topic-emergency-warning {
	background: #FBEAE8;
	border-left: 4px solid var(--moh-urgent-red);
	padding: 16px 20px;
	border-radius: 4px;
	margin: 24px 0;
}

.moh-topic-emergency-warning strong {
	color: var(--moh-urgent-red);
	display: block;
	margin-bottom: 4px;
}

.moh-key-facts {
	list-style: none;
	margin: 24px 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 12px;
}

.moh-key-facts li {
	background: var(--moh-light-aqua);
	border-radius: 6px;
	padding: 14px 16px;
	color: var(--moh-navy);
	font-weight: 600;
}

.moh-topic-section__heading {
	color: var(--moh-navy);
	margin-top: 32px;
	margin-bottom: 8px;
}

.moh-topic-section__body {
	color: var(--moh-body-charcoal);
	max-width: 70ch;
}

.moh-faq-accordion {
	margin: 16px 0;
	border-top: 1px solid var(--moh-border-grey);
}

.moh-faq-accordion__item {
	border-bottom: 1px solid var(--moh-border-grey);
	padding: 14px 0;
}

.moh-faq-accordion__item summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--moh-navy);
	list-style: none;
}

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

.moh-faq-accordion__item summary::before {
	content: "+";
	display: inline-block;
	width: 18px;
	color: var(--moh-teal);
	font-weight: 700;
}

.moh-faq-accordion__item[open] summary::before {
	content: "\2212";
}

.moh-faq-accordion__answer {
	padding: 10px 0 0 18px;
	color: var(--moh-body-charcoal);
	max-width: 70ch;
}

/* Alert status flag (single Alert template) */

.moh-alert-status {
	display: inline-block;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 16px;
}

.moh-alert-status--active {
	background: #FBEAE8;
	color: var(--moh-urgent-red);
}

.moh-alert-status--expired {
	background: var(--moh-page-grey);
	color: var(--moh-muted-text);
}

/* Gallery grid (single Facility template) */

.moh-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
	margin: 20px 0;
}

.moh-gallery img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	border-radius: 6px;
}

/* Related-content panels and card grids, shared by [moh_related] and
   [moh_archive_grid] across every single/archive template */

.moh-related-panel {
	margin: 40px 0;
}

.moh-related-panel__heading {
	color: var(--moh-navy);
	margin-bottom: 16px;
}

.moh-empty-state {
	color: var(--moh-muted-text);
	background: var(--moh-page-grey);
	border-radius: 6px;
	padding: 20px;
}

.moh-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
	margin: 24px 0;
}

/* Card shell defaults to its own padding directly (the original, long-
   standing behaviour — several older pages have `.moh-card` markup with
   `__title`/`__meta` as DIRECT children, no `__body` wrapper, e.g. the
   static service-grid cards on the Health Services archive). Only when a
   card actually contains `.moh-card__media` (the new image-led dynamic
   cards) does padding move to `.moh-card__body` instead, so the image can
   bleed edge-to-edge under the rounded corners. Earlier this session
   `.moh-card` was set to `padding:0` unconditionally to achieve that
   bleed — which silently stripped the padding from every OTHER page's
   pre-existing `.moh-card` usage, since the image case isn't the only
   consumer of this shared class. The `:has()` split below fixes both
   without touching any of that older static content. */
.moh-card {
	display: flex;
	flex-direction: column;
	padding: 22px;
	overflow: hidden;
	background: var(--moh-white);
	border: 1px solid var(--moh-border-grey);
	border-radius: var(--moh-card-radius);
	text-decoration: none;
	box-shadow: var(--moh-shadow-md);
	transition: box-shadow var(--moh-ease), border-color var(--moh-ease), transform var(--moh-ease);
}

.moh-card:has(> .moh-card__media) {
	padding: 0;
}

.moh-card:has(> .moh-card__media) > .moh-card__body {
	padding: 22px;
}

/* Elementor's `.elementor a { box-shadow: none }` (a class + a type) outranks
   a single-class selector, so the resting shadow above is silently dropped on
   `<a class="moh-card">` cards. Repeating the class raises specificity enough
   to win regardless of stylesheet load order. */
.moh-card.moh-card {
	box-shadow: var(--moh-shadow-md);
}

a.moh-card:hover,
a.moh-card:focus-visible {
	border-color: var(--moh-teal);
	box-shadow: var(--moh-shadow-lg);
	transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
	.moh-card { transition: none; }
	a.moh-card:hover { transform: none; }
}

.moh-card__media {
	aspect-ratio: 16 / 10;
	flex-shrink: 0;
}

.moh-card__media img,
.moh-card__media .moh-media-placeholder {
	width: 100%;
	height: 100%;
}

.moh-card__media img {
	display: block;
	object-fit: cover;
}

.moh-card__media .moh-media-placeholder {
	border: none;
	border-bottom: 1px solid var(--moh-border-grey);
	border-radius: 0;
	aspect-ratio: auto;
}

.moh-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px;
	flex: 1;
}

.moh-card__tag {
	display: inline-flex;
	align-self: flex-start;
	padding: 5px 10px;
	border-radius: 999px;
	background: var(--moh-light-aqua);
	color: #006D68;
	font-size: 0.78rem;
	font-weight: 700;
	margin-bottom: 2px;
}

/* Left-border colour by alert level — text label still carries the meaning
   (rendered via .moh-card__tag), colour is reinforcement, not the only cue. */
.moh-card--alert.is-urgent {
	border-left: 6px solid var(--moh-urgent-red);
}

.moh-card--alert.is-advisory {
	border-left: 6px solid var(--moh-amber-advisory);
}

.moh-card--alert.is-notice {
	border-left: 6px solid var(--moh-teal);
}

.moh-card__label {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--moh-teal);
}

.moh-card__title {
	font-size: 18px;
	font-weight: 700;
	color: var(--moh-navy);
}

.moh-card__meta,
.moh-card__excerpt {
	font-size: 14px;
	color: var(--moh-muted-text);
}

/* Archive pagination (WordPress core the_posts_pagination() markup) */

.moh-archive .pagination,
.moh-archive .nav-links {
	display: flex;
	gap: 8px;
	margin-top: 32px;
	list-style: none;
	padding: 0;
}

.moh-archive .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 10px;
	border: 1px solid var(--moh-border-grey);
	border-radius: 6px;
	color: var(--moh-navy);
	text-decoration: none;
	font-weight: 600;
}

.moh-archive .page-numbers.current {
	background: var(--moh-navy);
	color: var(--moh-white);
	border-color: var(--moh-navy);
}

.moh-archive .page-numbers:hover,
.moh-archive .page-numbers:focus-visible {
	background: var(--moh-light-aqua);
	border-color: var(--moh-teal);
}

/* Homepage bands */

.moh-home-section {
	max-width: var(--moh-content-max-width);
	margin: 0 auto;
	padding: 56px 24px;
}

.moh-home-section--wide {
	max-width: var(--moh-content-wide-width);
}

.moh-home-section--shaded {
	max-width: none;
	background: var(--moh-page-grey);
}

.moh-home-section--shaded > .moh-home-section__inner {
	max-width: var(--moh-content-max-width);
	margin: 0 auto;
}

/* Dark navy band (Health Information section) — one deliberately different
   section treatment among several, matching the mockup's mix of card grids,
   icon tiles, and plain dark-band lists rather than repeating the same
   white-card pattern for every section. */
.moh-home-section--dark {
	background: var(--moh-navy) !important;
}

.moh-home-section--dark h2,
.moh-home-section--dark .moh-eyebrow {
	color: var(--moh-white);
}

.moh-home-section--dark .moh-eyebrow {
	color: var(--moh-gold);
}

.moh-home-section--dark .moh-section-head p {
	color: #C7D3DC;
}

.moh-home-section--dark .moh-btn--text {
	color: #6FE0D4;
}

.moh-topics-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px 48px;
}

.moh-topics-list__item a {
	display: flex;
	align-items: baseline;
	gap: 16px;
	padding: 18px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	text-decoration: none;
}

.moh-topics-list__item:nth-last-child(-n+2) a {
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.moh-topics-list__number {
	flex-shrink: 0;
	font-family: var(--moh-font-heading);
	font-size: 20px;
	color: var(--moh-gold);
	width: 32px;
}

.moh-topics-list__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.moh-topics-list__title {
	font-size: 17px;
	font-weight: 700;
	color: var(--moh-white);
}

.moh-topics-list__item a:hover .moh-topics-list__title,
.moh-topics-list__item a:focus-visible .moh-topics-list__title {
	text-decoration: underline;
}

.moh-topics-list__desc {
	font-size: 14px;
	color: #C7D3DC;
}

@media (max-width: 700px) {
	.moh-topics-list {
		grid-template-columns: 1fr;
	}

	.moh-topics-list__item:nth-last-child(-n+2) a {
		border-bottom: none;
	}

	.moh-topics-list__item:last-child a {
		border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	}
}

.moh-quicklink-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 22px;
	background: var(--moh-white);
	border: 1px solid var(--moh-border-grey);
	border-radius: var(--moh-radius-md);
	text-decoration: none;
	box-shadow: var(--moh-shadow-md);
	transition: box-shadow var(--moh-ease), border-color var(--moh-ease), transform var(--moh-ease);
}

/* Same specificity fix as .moh-card.moh-card above: `.elementor a` otherwise
   drops the resting shadow on this anchor-based card. */
.moh-quicklink-card.moh-quicklink-card {
	box-shadow: var(--moh-shadow-md);
}

a.moh-quicklink-card:hover,
a.moh-quicklink-card:focus-visible {
	border-color: var(--moh-teal);
	box-shadow: var(--moh-shadow-lg);
	transform: translateY(-3px);
}

.moh-quicklink-card__title {
	font-size: 17px;
	font-weight: 700;
	color: var(--moh-navy);
}

.moh-quicklink-card__desc {
	font-size: 14px;
	color: var(--moh-muted-text);
}

/* Quick-links row: dense icon-tiles rather than full description cards —
   one of several distinct section treatments on the homepage (contrast
   with the fuller service/topic cards below), matching the mockup's
   compact quick-link row. */
.moh-card-grid--quicklinks {
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

@media (max-width: 900px) {
	.moh-card-grid--quicklinks {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.moh-card-grid--quicklinks {
		grid-template-columns: 1fr;
	}
}

.moh-card-grid--quicklinks .moh-quicklink-card {
	flex-direction: row;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	box-shadow: var(--moh-shadow-sm);
}

.moh-card-grid--quicklinks .moh-quicklink-card.moh-quicklink-card {
	box-shadow: var(--moh-shadow-sm);
}

.moh-card-grid--quicklinks a.moh-quicklink-card:hover,
.moh-card-grid--quicklinks a.moh-quicklink-card:focus-visible {
	box-shadow: var(--moh-shadow-md);
	transform: translateY(-2px);
}

.moh-card-grid--quicklinks .moh-quicklink-card__title {
	font-size: 14px;
}

.moh-card-grid--quicklinks .moh-quicklink-card__desc {
	display: none;
}

.moh-quicklink-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--moh-light-aqua);
	color: var(--moh-teal);
}

.moh-quicklink-card__icon svg {
	width: 18px;
	height: 18px;
}

/* Services overview: plain icon cards, distinct from both the compact
   quick-link tiles above and the fuller shadowed cards elsewhere — a
   lighter resting shadow keeps this section reading as calmer/more
   "informational" than the quick-links or care panels. */
.moh-card-grid--services .moh-quicklink-card,
.moh-card-grid--services .moh-quicklink-card.moh-quicklink-card {
	box-shadow: var(--moh-shadow-sm);
}

.moh-card-grid--services .moh-quicklink-card__icon {
	width: 40px;
	height: 40px;
}

.moh-card-grid--services .moh-quicklink-card__icon svg {
	width: 20px;
	height: 20px;
}

.moh-quicklink-card__external {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: var(--moh-muted-text);
}

.moh-care-panels {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	margin: 24px 0;
}

/* Refined from a solid-tinted "alert box" to a white card with an icon
   badge + thin accent border — keeps the emergency/urgent/routine color
   coding (a genuinely useful at-a-glance signal on a health site) without
   every panel reading as a warning banner. */
.moh-care-panel {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 26px 26px 26px 24px;
	border-radius: var(--moh-radius-lg);
	border: 1px solid var(--moh-border-grey);
	border-left: 3px solid var(--moh-teal);
	background: var(--moh-white);
	box-shadow: var(--moh-shadow-md);
}

.moh-care-panel__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--moh-light-aqua);
	color: var(--moh-teal);
	margin-bottom: 4px;
}

.moh-care-panel__icon svg {
	width: 22px;
	height: 22px;
}

.moh-care-panel--emergency,
.moh-care-panel--red {
	border-left-color: var(--moh-urgent-red);
}

.moh-care-panel--emergency .moh-care-panel__icon,
.moh-care-panel--red .moh-care-panel__icon {
	background: #FDF1EF;
	color: var(--moh-urgent-red);
}

.moh-care-panel--urgent,
.moh-care-panel--amber {
	border-left-color: var(--moh-gold);
}

.moh-care-panel--urgent .moh-care-panel__icon,
.moh-care-panel--amber .moh-care-panel__icon {
	background: #FBF3DF;
	color: #8A5F0D;
}

.moh-care-panel__label {
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--moh-navy);
}

.moh-care-panel--emergency .moh-care-panel__label,
.moh-care-panel--red .moh-care-panel__label {
	color: var(--moh-urgent-red);
}

.moh-care-panel--urgent .moh-care-panel__label,
.moh-care-panel--amber .moh-care-panel__label {
	color: #8A5F0D;
}

.moh-care-panel__examples,
.moh-care-panel__microcopy {
	font-size: 13px;
	color: var(--moh-muted-text);
}

.moh-promo-spotlight {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	padding: 28px;
	background: var(--moh-light-aqua);
	border-radius: 8px;
}

.moh-promo-spotlight__lead {
	flex: 2 1 320px;
}

.moh-promo-spotlight__lead h3 {
	margin-top: 0;
	color: var(--moh-navy);
}

.moh-promo-spotlight__supporting {
	flex: 1 1 220px;
}

.moh-promo-spotlight__supporting-label {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--moh-teal);
	margin-bottom: 8px;
}

.moh-promo-spotlight__supporting ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.moh-promo-spotlight__supporting li {
	margin-bottom: 6px;
}

.moh-partners-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 32px;
	list-style: none;
	margin: 24px 0 8px;
	padding: 0;
	font-weight: 600;
	color: var(--moh-navy);
}

.moh-partners-list--logos {
	align-items: center;
	gap: 32px 48px;
}

.moh-partners-list--logos li {
	display: flex;
	align-items: center;
}

.moh-partners-list--logos a {
	display: flex;
	align-items: center;
	transition: opacity var(--moh-ease);
}

.moh-partners-list--logos a:hover,
.moh-partners-list--logos a:focus-visible {
	opacity: 0.75;
}

.moh-partners-list--logos img {
	display: block;
	height: 48px;
	width: auto;
	max-width: 160px;
	object-fit: contain;
}

.moh-nevis-note {
	font-size: 13px;
	color: var(--moh-muted-text);
	font-style: italic;
}

.moh-eyebrow {
	display: block;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--moh-teal);
	margin-bottom: 8px;
}

.moh-section-head {
	max-width: 760px;
	margin-bottom: 32px;
}

.moh-section-head h2 {
	margin-top: 0;
	margin-bottom: 12px;
}

.moh-section-head p {
	color: var(--moh-muted-text);
	margin: 0;
}

.moh-section-foot {
	margin-top: 32px;
}

.moh-hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(160deg, var(--moh-light-aqua) 0%, #F4FAFB 55%, var(--moh-white) 100%);
	padding: 72px 24px;
	display: flex;
	flex-direction: row !important;
	align-items: center;
	justify-content: center;
	gap: 48px;
}

.moh-hero::before {
	content: "";
	position: absolute;
	top: -120px;
	right: -100px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 124, 131, 0.10) 0%, rgba(0, 124, 131, 0) 70%);
	pointer-events: none;
}

.moh-hero::after {
	content: "";
	position: absolute;
	bottom: -140px;
	left: -80px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(217, 163, 33, 0.10) 0%, rgba(217, 163, 33, 0) 70%);
	pointer-events: none;
}

/* Hero content now sits left of the image (see .moh-hero__media below)
   rather than centered above it — left-aligned text reads better in a
   two-column layout than centered text would. */
.moh-hero__inner {
	position: relative;
	flex: 1 1 50%;
	min-width: 0;
	max-width: 620px;
	text-align: left;
}

.moh-hero__inner h1 {
	margin-top: 0;
	margin-bottom: 16px;
}

.moh-hero__inner > .elementor-widget-text-editor p {
	font-size: 18px;
	color: var(--moh-body-charcoal);
}

.moh-hero__actions {
	display: flex;
	flex-direction: row !important;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
	gap: 16px 22px;
	margin: 32px 0 8px;
}

.moh-hero-search {
	max-width: 560px;
	margin: 32px 0 0;
	text-align: left;
}

.moh-hero-search__label {
	display: block;
	font-weight: 700;
	color: var(--moh-navy);
	margin-bottom: 8px;
}

.moh-hero-search__helper {
	font-size: 14px;
	color: var(--moh-muted-text);
	margin-top: 8px;
}

/* Elementor's own `.elementor.elementor .e-con > .elementor-widget { max-width:
   100% }` reset carries 4 classes' worth of specificity, well above anything
   reasonable to match with descendant selectors here, so !important is the
   pragmatic fix rather than an escalating specificity war. */
.moh-hero__media {
	position: relative;
	flex: 1 1 50%;
	min-width: 0;
	max-width: 640px !important;
	margin: 0 !important;
}

.moh-hero__media-image {
	position: relative;
	aspect-ratio: 4 / 3;
}

/* Gradient blend: rather than overlaying a flat color wash (which never
   quite matches the hero's own diagonal gradient background and reads as
   a visible seam), the image itself fades to transparent via a mask —
   the actual page background shows through underneath, so the left edge
   genuinely dissolves instead of meeting the text column at a hard line.
   Rounding is kept only on the three non-fading sides. */
.moh-hero__media-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0 var(--moh-radius-lg) var(--moh-radius-lg) 0;
	-webkit-mask-image: linear-gradient(to right, transparent 0%, black 40%);
	mask-image: linear-gradient(to right, transparent 0%, black 40%);
}

@media (max-width: 900px) {
	.moh-hero {
		flex-direction: column !important;
	}

	.moh-hero__inner,
	.moh-hero__media {
		max-width: 100%;
		flex: 1 1 auto;
	}

	.moh-hero__inner {
		text-align: center;
	}

	.moh-hero__actions {
		justify-content: center;
	}

	.moh-hero-search {
		margin-left: auto;
		margin-right: auto;
	}

	.moh-hero__media {
		margin-top: 40px !important;
	}

	.moh-hero__media-image img {
		border-radius: var(--moh-radius-lg) var(--moh-radius-lg) 0 0;
		-webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 30%);
		mask-image: linear-gradient(to bottom, transparent 0%, black 30%);
	}
}

.moh-media-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	aspect-ratio: 16 / 7;
	border-radius: var(--moh-radius-lg);
	border: 1px dashed rgba(0, 124, 131, 0.35);
	background: linear-gradient(135deg, rgba(0, 124, 131, 0.07), rgba(217, 163, 33, 0.07));
	padding: 24px;
	text-align: center;
}

.moh-media-placeholder svg {
	width: 40px;
	height: 40px;
	color: var(--moh-teal);
	opacity: 0.55;
}

.moh-media-placeholder span {
	font-size: 13px;
	font-weight: 600;
	color: var(--moh-muted-text);
	letter-spacing: 0.01em;
}

/* Real photo, same footprint as .moh-media-placeholder above (used once a
   flagship page has an actual image to show instead of the "coming soon"
   placeholder). */
.moh-media-photo {
	aspect-ratio: 16 / 7;
	border-radius: var(--moh-radius-lg);
	overflow: hidden;
}

.moh-media-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (max-width: 600px) {
	.moh-media-placeholder {
		aspect-ratio: 4 / 3;
		padding: 16px;
	}
}

.moh-home-about {
	background: var(--moh-light-aqua);
}

.moh-home-about__inner {
	max-width: 760px;
}

.moh-home-about__inner h2 {
	margin-top: 0;
}

.moh-stay-informed {
	text-align: center;
}

.moh-stay-informed__inner {
	max-width: 640px;
	margin: 0 auto;
}

/* ========================================================================
   Accessible data tables (e.g. outpatient clinic schedule)
   ======================================================================== */

.moh-table-wrap {
	overflow-x: auto;
	margin: 24px 0;
	border: 1px solid var(--moh-border-grey);
	border-radius: var(--moh-radius-md);
	box-shadow: var(--moh-shadow-sm);
}

.moh-table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	font-size: 15px;
}

.moh-table caption {
	text-align: left;
	padding: 12px 16px;
	font-weight: 700;
	color: var(--moh-navy);
	background: var(--moh-light-aqua);
}

.moh-table th,
.moh-table td {
	padding: 12px 16px;
	text-align: left;
	border-bottom: 1px solid var(--moh-border-grey);
	vertical-align: top;
}

.moh-table thead th {
	background: var(--moh-page-grey);
	color: var(--moh-navy);
	font-weight: 700;
}

.moh-table tbody tr:last-child td {
	border-bottom: none;
}

.moh-table__session-morning,
.moh-table__session-afternoon {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	padding: 2px 8px;
	border-radius: 999px;
}

.moh-table__session-morning {
	background: var(--moh-light-aqua);
	color: var(--moh-teal);
}

.moh-table__session-afternoon {
	background: #FBF1DC;
	color: var(--moh-gold);
}

.moh-schedule-status {
	font-size: 14px;
	color: var(--moh-muted-text);
	font-style: italic;
	margin: 12px 0;
}

@media (max-width: 640px) {
	.moh-table-wrap {
		border: none;
	}

	.moh-table {
		min-width: 0;
	}

	.moh-table thead {
		display: none;
	}

	.moh-table,
	.moh-table tbody,
	.moh-table tr,
	.moh-table td {
		display: block;
		width: 100%;
	}

	.moh-table tr {
		border: 1px solid var(--moh-border-grey);
		border-radius: 8px;
		margin-bottom: 12px;
		padding: 8px 16px;
	}

	.moh-table td {
		border-bottom: none;
		padding: 6px 0;
	}

	.moh-table td::before {
		content: attr(data-label);
		display: block;
		font-size: 12px;
		font-weight: 700;
		text-transform: uppercase;
		color: var(--moh-muted-text);
		margin-bottom: 2px;
	}
}
