/* WIHW theme — tokens measured from the Phase 00 baseline captures (D07). */
:root {
	--wihw-brand: #0092ce;            /* Brand Primary rgb(0,146,206) */
	--wihw-brand-2: #00a1d8;          /* Brand Secondary rgb(0,161,216) */
	--wihw-link-hover: #4ab3e0;       /* Link Interaction */
	--wihw-text: #0c0c0c;             /* x_body_font_color */
	--wihw-sidebar-bg: #f9f9f9;
	--wihw-rule: #e2e2e2;
	--wihw-focus: #ffbf47;
	--wihw-font-body: Marcellus, "Times New Roman", Times, serif;      /* Marcellus not bundled: remote font exception */
	--wihw-font-head: Lato, Arial, Helvetica, sans-serif;               /* Lato not bundled: remote font exception */
	--wihw-max: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--wihw-text); font-family: var(--wihw-font-body); font-size: 17px; line-height: 1.5; }
img, video, iframe { max-width: 100%; height: auto; }
a { color: var(--wihw-brand); text-decoration: none; }
a:hover { color: var(--wihw-link-hover); }
:focus-visible { outline: 3px solid var(--wihw-focus); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; padding: 10px 14px; background: #fff; color: var(--wihw-text); z-index: 1000; }

/* Header ------------------------------------------------------------- */
.wihw-logobar { display: flex; align-items: center; justify-content: center; gap: 48px; padding: 4px 16px 5px; min-height: 73px; }
.wihw-tagline { margin: 0; color: var(--wihw-brand); font-style: italic; font-size: 13px; line-height: 1.38; text-align: center; }
.wihw-logo { display: block; line-height: 0; }
.wihw-logo img { width: auto; height: 66px; max-width: 460px; object-fit: contain; }

/* Navigation (P15) --------------------------------------------------- */
.wihw-nav { border: 1px solid var(--wihw-brand); background: #fff; position: relative; }
.wihw-nav__menu { list-style: none; margin: 0 auto; padding: 7px 16px; display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 0; max-width: var(--wihw-max); }
.wihw-nav__item { position: relative; display: flex; align-items: center; }
.wihw-nav__item--depth-0 > .wihw-nav__link { color: var(--wihw-text); font-size: 16px; padding: 14px 4px 14px 11px; display: inline-block; }
.wihw-nav__item--depth-0.is-current > .wihw-nav__link, .wihw-nav__item--depth-0 > .wihw-nav__link:hover { color: var(--wihw-brand); }
.wihw-nav__toggle { background: none; border: 0; color: var(--wihw-brand); padding: 6px 7px 6px 1px; cursor: pointer; line-height: 0; }
.wihw-nav__toggle .wihw-icon { width: 13px; height: 13px; transition: transform .15s; }
.wihw-nav__toggle[aria-expanded="true"] .wihw-icon { transform: rotate(180deg); }
.wihw-nav__item--button { background: var(--wihw-brand); margin-left: 2px; }
.wihw-nav__item--button > .wihw-nav__link, .wihw-nav__item--button > .wihw-nav__toggle { color: #fff !important; }
.wihw-nav__item--button > .wihw-nav__link { padding: 14px 6px 14px 13px; }
.wihw-nav__item--button:not(.wihw-nav__item--parent) > .wihw-nav__link { padding-right: 13px; }
.wihw-nav__sub { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border: 1px solid var(--wihw-brand); box-shadow: 0 4px 10px rgba(0,0,0,.12); z-index: 50; }
.wihw-nav__sub .wihw-nav__sub { top: -9px; left: 100%; }
.wihw-nav__sub .wihw-nav__item { justify-content: space-between; }
.wihw-nav__sub .wihw-nav__link { display: block; padding: 7px 16px; color: var(--wihw-text); font-size: 15px; flex: 1; }
.wihw-nav__sub .wihw-nav__link:hover, .wihw-nav__sub .is-current > .wihw-nav__link { color: var(--wihw-brand); }
.wihw-nav__sub .wihw-nav__toggle .wihw-icon { transform: rotate(-90deg); }
.wihw-nav__menu-toggle { display: none; }

/* Hero (P16) ---------------------------------------------------------- */
.wihw-hero { position: relative; background: #000; color: #fff; height: 300px; overflow: hidden; }
.wihw-hero--empty { height: 300px; }
.wihw-hero__track, .wihw-hero__slide { height: 100%; }
.wihw-hero__slide { position: relative; }
.wihw-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.wihw-hero__caption { position: relative; max-width: var(--wihw-max); margin: 0 auto; padding: 70px 24px 0; text-align: center; }
.wihw-hero__title { font-family: var(--wihw-font-head); font-weight: 700; font-size: 30px; margin: 0 0 10px; letter-spacing: -.02em; }
.wihw-hero__title a { color: #fff; }
.wihw-hero__subtitle { margin: 0; font-size: 18px; }
.wihw-hero__controls { position: absolute; right: 16px; bottom: 14px; z-index: 5; display: flex; gap: 6px; }
.wihw-hero__controls button { background: rgba(0,0,0,.55); color: #fff; border: 1px solid rgba(255,255,255,.7); font: inherit; font-size: 14px; min-width: 36px; height: 32px; padding: 0 10px; cursor: pointer; }
.wihw-hero__controls button:hover { background: var(--wihw-brand); }

/* Layout ---------------------------------------------------------------- */
.wihw-layout { display: block; }
.wihw-layout--sidebar { display: grid; grid-template-columns: minmax(0, 68.4%) minmax(0, 31.6%); }
.wihw-main { padding: 40px 4% 60px 12.2%; min-width: 0; }      /* baseline text column 120–945px of 985 at 1440 */
.wihw-entry--converted .wihw-section { padding: 0 6% 0 5.2%; font-size: 15px; }  /* builder gutters (home 170–900px); em headline sizes resolve as in the legacy builder (2em ≈ 30px, re-measured in P27) */
.wihw-entry--converted .wihw-text { font-size: 17px; }
.wihw-entry--converted .wihw-headline:not([style*="font-size"]) { font-size: 26px; }
.wihw-entry__content .wihw-subheadline { margin-top: 0; }
.wihw-main:focus { outline: none; }
.wihw-sidebar { background: var(--wihw-sidebar-bg); padding: 35px 120px 40px 34px; }
.wihw-layout:not(.wihw-layout--sidebar) .wihw-main { max-width: var(--wihw-max); margin: 0 auto; }

/* Content --------------------------------------------------------------- */
.wihw-entry__content > *:first-child { margin-top: 0; }
h1, h2, h3, h4, h5, h6 { color: var(--wihw-brand); font-family: var(--wihw-font-head); font-weight: 700; letter-spacing: -.035em; line-height: 1.2; }
.wihw-entry__content h1, .wihw-entry__title { font-size: 60px; margin: 55px 0 22px; line-height: 1.1; }
.wihw-entry__content h2 { font-size: 44px; margin: 60px 0 20px; }
.wihw-entry__content h3 { font-size: 30px; }
.wihw-entry__content p { margin: 0 0 1.55em; }
.wihw-entry__content .wihw-headline { font-family: var(--wihw-font-body); font-weight: 400; letter-spacing: 0; font-size: 26px; margin: 12px 0 14px; line-height: 1.4; }
.wihw-entry__content h2.wihw-headline { font-size: 26px; margin-top: 30px; }
.wihw-entry__content h3.wihw-headline { font-size: 24px; }
.wihw-section { margin: 0 0 6px; }
.wihw-text { font-size: 17px; }
.wihw-text p:last-child { margin-bottom: 0; }
.has-text-align-center { text-align: center; }
.has-text-align-center .wp-block-buttons, .has-text-align-center .wihw-image { justify-content: center; display: flex; flex-wrap: wrap; }
.has-text-align-right .wp-block-buttons { justify-content: flex-end; display: flex; }
.wp-block-columns.wihw-row { gap: 30px; }
.wihw-image img { display: block; margin: 0 auto; }
.wihw-line { border: 0; border-top: 1px solid var(--wihw-rule); margin: 30px 0; }
.wihw-button, .wp-block-button__link { display: inline-block; background: var(--wihw-brand); color: #fff !important; padding: 8px 18px; border: 0; border-radius: 0; font-size: 16px; text-decoration: none; }
.wihw-button:hover, .wp-block-button__link:hover { background: var(--wihw-link-hover); }
.wihw-entry__date { color: #555; font-size: 15px; }
.wihw-empty { color: #555; font-style: italic; }
.wihw-provider-placeholder { border: 1px dashed #9bbfd0; background: #f3f9fc; color: #33414a; padding: 12px 14px; font-size: 15px; margin: 0 0 1em; }
[dir="rtl"] { text-align: right; }
[dir="rtl"] .has-text-align-center { text-align: center; }

/* Platform components (P13) ------------------------------------------- */
.wihw-filter { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 0 0 16px; font-size: 15px; }
.wihw-filter select, .wihw-filter button { font: inherit; padding: 6px 8px; border: 1px solid #c9d6dc; background: #fff; }
.wihw-filter button { background: var(--wihw-brand); color: #fff; border-color: var(--wihw-brand); cursor: pointer; }
.wihw-count { color: #555; font-size: 15px; }
.wihw-event-list { padding-left: 1.4em; margin: 0 0 20px; }
.wihw-event-card { padding: 12px 0; border-bottom: 1px solid var(--wihw-rule); }
.wihw-event-card__title { font-family: var(--wihw-font-body); font-weight: 400; letter-spacing: 0; font-size: 20px; margin: 0 0 4px; }
.wihw-event-card__meta { margin: 0; color: #444; font-size: 15px; }
.wihw-pager { display: flex; gap: 14px; align-items: center; margin: 18px 0; font-size: 15px; }
.wihw-pager a { border: 1px solid var(--wihw-brand); padding: 4px 12px; }
.wihw-event__title, .wihw-report__title { font-size: 40px; margin: 20px 0 18px; }
.wihw-event__facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 24px; font-size: 16px; }
.wihw-event__facts dt { font-weight: 700; font-family: var(--wihw-font-head); color: #333; }
.wihw-event__facts dd { margin: 0; }
.wihw-report-card { padding: 14px 0; border-bottom: 1px solid var(--wihw-rule); }
.wihw-report-card__title { font-family: var(--wihw-font-body); letter-spacing: 0; font-weight: 400; font-size: 20px; margin: 0 0 6px; }
.wihw-report-card__actions { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.wihw-report__resources { padding-left: 1.2em; }
.wihw-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin: 0 0 1.5em; }
.wihw-gallery__item { margin: 0; }
.wihw-gallery__item img { width: 100%; height: 160px; object-fit: cover; display: block; }
.wihw-gallery__item figcaption { font-size: 14px; margin-top: 4px; }

/* Calendar month view (legacy DP Pro presentation) */
.wihw-calendar { max-width: 1056px; margin: 30px auto 0; }
.wihw-layout:not(.wihw-layout--sidebar) .wihw-calendar .wihw-filter { background: var(--wihw-brand); color: #fff; padding: 10px; margin: 0; }
.wihw-layout:not(.wihw-layout--sidebar) .wihw-calendar .wihw-filter label { color: #fff; }
.wihw-layout:not(.wihw-layout--sidebar) .wihw-calendar .wihw-filter button { background: #fff; color: var(--wihw-text); border-color: #fff; }
.wihw-month { background: #f8f8f8; border: 1px solid #e6e6e6; border-top: 0; padding: 0 10px 14px; }
.wihw-month__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 6px; border-bottom: 1px solid #e3e3e3; }
.wihw-month__title { font-family: var(--wihw-font-body); font-weight: 400; letter-spacing: 0; text-transform: uppercase; font-size: 30px; margin: 0; color: var(--wihw-brand); }
.wihw-month__title span { margin-left: 40px; }
.wihw-month__nav { display: flex; align-items: center; gap: 10px; }
.wihw-month__nav a { font-size: 34px; line-height: 1; padding: 0 6px; }
.wihw-month__nav .wihw-month__list { font-size: 13px; font-family: var(--wihw-font-head); background: #333; color: #fff; border-radius: 12px; padding: 4px 10px; }
.wihw-month__grid { width: 100%; border-collapse: separate; border-spacing: 8px; table-layout: fixed; }
.wihw-month__grid th { font-family: var(--wihw-font-head); font-size: 13px; color: #111; padding: 8px 0 2px; }
.wihw-month__grid td { background: #fff; vertical-align: top; height: 62px; padding: 4px 6px; box-shadow: 0 1px 2px rgba(0,0,0,.12); font-size: 12px; overflow: hidden; }
.wihw-month__grid td.is-outside { background: transparent; box-shadow: none; }
.wihw-month__day { display: block; color: #bbb; font-size: 13px; }
.has-events .wihw-month__day { color: #222; font-weight: 700; }
.wihw-month__event { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--wihw-brand); line-height: 1.5; }
.wihw-month__more { display: block; color: #555; font-style: italic; }
.wihw-view-switch { font-size: 15px; }
@media (max-width: 760px) {
	.wihw-month__grid, .wihw-month__grid tbody, .wihw-month__grid tr, .wihw-month__grid td { display: block; width: 100%; }
	.wihw-month__grid thead, .wihw-month__grid td.is-outside, .wihw-month__grid td.is-empty { display: none; }
	.wihw-month__grid td { height: auto; margin-bottom: 8px; }
	.wihw-month__title { font-size: 22px; }
	.wihw-month__title span { margin-left: 12px; }
}

/* Content grids (rebuilt The Grid) — columns come from each preserved grid definition */
.wihw-grid { margin: 0 0 1.5em; }
.wihw-grid__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(var(--wihw-grid-lg, 3), minmax(0, 1fr)); }
.wihw-grid__card { background: #fff; border: 1px solid var(--wihw-rule); border-top: 3px solid var(--wihw-brand); padding: 14px 16px; height: 100%; }
.wihw-grid__title { font-family: var(--wihw-font-body); font-weight: 400; letter-spacing: 0; font-size: 18px; margin: 0 0 6px; line-height: 1.35; }
.wihw-grid__date { font-size: 14px; color: #555; margin: 0 0 6px; }
.wihw-grid__excerpt, .wihw-grid__more { font-size: 15px; margin: 0; }
.wihw-sidebar .wihw-grid__list { gap: 10px; }
.wihw-sidebar .wihw-grid__card { padding: 10px 12px; }
.wihw-sidebar .wihw-grid__title { font-size: 15px; }
@media (max-width: 1100px) { .wihw-grid__list { grid-template-columns: repeat(var(--wihw-grid-md, 2), minmax(0, 1fr)); } }
@media (max-width: 979px) { .wihw-grid__list { grid-template-columns: repeat(var(--wihw-grid-tablet, 2), minmax(0, 1fr)); } }
@media (max-width: 560px) { .wihw-grid__list { grid-template-columns: repeat(var(--wihw-grid-mobile, 1), minmax(0, 1fr)); } }

/* Share bar (replaces Sassy Social Share; legacy alignment centre) */
.wihw-share { display: flex; justify-content: center; gap: 8px; margin: 24px 0 8px; }
.wihw-share__link { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 3px; }
.wihw-share__link .wihw-icon { width: 22px; height: 22px; fill: #fff; }
.wihw-share__link--facebook { background: #3c589a; }
.wihw-share__link--twitter { background: #55acef; }

/* Sidebar --------------------------------------------------------------- */
.wihw-sidebar .widget { margin: 0 0 40px; }
.wihw-sidebar .widget-title { border: 1px solid var(--wihw-brand); color: var(--wihw-brand); text-align: center; font-family: var(--wihw-font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .2em; font-size: 12px; padding: 10px 8px 9px; margin: 0 0 12px; }
.wihw-sidebar ul { list-style: none; margin: 0; padding: 0; }
.wihw-sidebar .menu li, .wihw-sidebar .widget_nav_menu li { border-top: 1px solid var(--wihw-rule); padding: 10px 0 9px; font-size: 15px; }
.wihw-sidebar .widget_nav_menu li:last-child { border-bottom: 1px solid var(--wihw-rule); }
.wihw-sidebar .widget_nav_menu a { color: var(--wihw-text); text-decoration: underline; }
.wihw-sidebar .widget_nav_menu a::before { content: "\25B7"; font-size: 9px; margin-right: 4px; vertical-align: 1px; text-decoration: none; display: inline-block; }
.wihw-recent-news li { margin: 0 0 18px; }
.wihw-recent-news__title { display: block; font-family: var(--wihw-font-head); font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: -.01em; line-height: 1.35; }
.wihw-recent-news__date { display: block; font-size: 15px; margin-top: 10px; color: var(--wihw-text); }
.wihw-sidebar .wihw-provider-placeholder { font-size: 14px; }

/* Footer ---------------------------------------------------------------- */
.wihw-footer { background: var(--wihw-brand-2); color: #fff; margin-top: 0; }
.wihw-footer a { color: #fff; }
.wihw-footer a:hover { text-decoration: underline; color: #fff; }
.wihw-footer__connect { display: flex; justify-content: center; align-items: center; gap: 22px; padding: 12px 16px; border-top: 1px solid #0c0c0c; border-bottom: 1px solid #0c0c0c; }
.wihw-footer__connect-title { color: #fff; font-family: var(--wihw-font-body); font-weight: 400; letter-spacing: 0; text-transform: uppercase; font-size: 18px; margin: 0; }
.wihw-social { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.wihw-social .wihw-icon { width: 28px; height: 28px; fill: #fff; display: block; }
.wihw-footer__columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1440px; margin: 0 auto; padding: 18px 40px 30px; text-align: center; }
.wihw-footer__title { color: #fff; font-family: var(--wihw-font-body); font-weight: 400; letter-spacing: 0; text-transform: uppercase; font-size: 18px; margin: 0 0 10px; }
.wihw-footer__col { font-size: 15px; line-height: 1.7; }
.wihw-footer__links { list-style: none; margin: 0; padding: 0; }
.wihw-footer__links--spaced li { margin-bottom: 6px; }
.wihw-footer .stat-line { line-height: 1.7; }
.wihw-footer .wihw-provider-placeholder { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); color: #fff; }
.wihw-footer__bottom { background: #000; text-align: center; padding: 14px 16px; font-weight: 700; }

/* Responsive ----------------------------------------------------------- */
@media (max-width: 1100px) {
	.wihw-sidebar { padding-right: 40px; }
	.wihw-nav__item--depth-0 > .wihw-nav__link { font-size: 15px; padding-left: 8px; }
}
@media (max-width: 979px) {
	.wihw-tagline { display: none; }
	.wihw-logobar { justify-content: flex-start; padding: 6px 16px; min-height: 0; }
	.wihw-logo img { height: 42px; }
	.wihw-nav { border-left: 0; border-right: 0; border-width: 2px; }
	.wihw-nav__menu-toggle { display: block; margin: 0 0 0 auto; background: none; border: 0; padding: 10px 16px; cursor: pointer; }
	.wihw-burger { display: inline-flex; flex-direction: column; gap: 5px; }
	.wihw-burger span { display: block; width: 30px; height: 5px; background: var(--wihw-brand); }
	.wihw-nav__menu { display: none; flex-direction: column; align-items: stretch; padding: 0 0 10px; }
	.wihw-nav.is-open .wihw-nav__menu { display: flex; }
	.wihw-nav__item { flex-wrap: wrap; border-top: 1px solid var(--wihw-rule); }
	.wihw-nav__item > .wihw-nav__link { flex: 1; padding: 12px 16px !important; }
	.wihw-nav__item--button { margin: 0; }
	.wihw-nav__toggle { padding: 12px 16px; }
	.wihw-nav__sub, .wihw-nav__sub .wihw-nav__sub { position: static; box-shadow: none; border: 0; border-top: 1px solid var(--wihw-rule); width: 100%; padding: 0 0 0 16px; }
	.wihw-nav__sub .wihw-nav__toggle .wihw-icon { transform: none; }
	.wihw-hero, .wihw-hero--empty { height: 130px; }
	.wihw-hero__caption { padding-top: 22px; }
	.wihw-hero__title { font-size: 20px; }
	.wihw-hero__subtitle { display: none; }
	.wihw-layout--sidebar { display: block; }
	.wihw-main { padding: 40px 6.8% 40px; }
	.wihw-sidebar { padding: 30px 6.8%; }
	.wihw-entry__content h1, .wihw-entry__title { font-size: 38px; }
	.wihw-entry__content h2 { font-size: 32px; }
	.wihw-footer__columns { grid-template-columns: repeat(2, 1fr); padding: 18px 16px 24px; }
}
@media (max-width: 560px) {
	body { font-size: 16px; }
	.wihw-entry--converted .wihw-section { font-size: 9.5px; }        /* legacy mobile builder headlines ≈ 19px */
	.wihw-entry--converted .wihw-headline:not([style*="font-size"]) { font-size: 19px; }
	.wihw-entry--converted .wihw-text { font-size: 16px; }
	.wihw-entry__content .wihw-headline { font-size: 22px; }
	.wihw-footer__columns { grid-template-columns: 1fr; }
	.wihw-footer__connect { flex-wrap: wrap; gap: 12px; }
	.wihw-event__facts { grid-template-columns: 1fr; }
	.wihw-entry__content h1, .wihw-entry__title { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Event list (owner decision 7, replaces the monthly calendar grid) --------------------------- */
.wihw-events { max-width: 1056px; margin: 30px auto 0; }
.wihw-events__filter { background: #f3f8fb; border: 1px solid #d5e5ee; padding: 12px 14px; align-items: flex-end; }
.wihw-filter__field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wihw-filter__field label { font-size: 14px; color: #33414a; font-weight: 600; }
.wihw-filter input[type="date"] { font: inherit; padding: 5px 8px; border: 1px solid #b8c9d2; background: #fff; min-height: 40px; max-width: 100%; }
.wihw-events__filter select { min-height: 40px; max-width: 100%; }
.wihw-events__filter button { min-height: 40px; padding: 6px 18px; background: #00719f; border-color: #00719f; }
.wihw-filter__actions { display: flex; align-items: center; gap: 12px; }
.wihw-filter__reset { font-size: 14px; }
.wihw-cards { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.wihw-layout--sidebar .wihw-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wihw-ecard { margin: 0; min-width: 0; }
.wihw-ecard__inner { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #dfe6ea; }
.wihw-ecard__media { position: relative; display: block; aspect-ratio: 16 / 10; background: #e9f3f8; overflow: hidden; }
.wihw-ecard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wihw-ecard__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(135deg, #00719f 0%, var(--wihw-brand) 55%, var(--wihw-brand-2) 100%); color: #fff; text-align: center; padding: 12px; }
.wihw-ecard__placeholder-mark { font-family: var(--wihw-font-head); font-weight: 700; font-size: 34px; letter-spacing: .12em; line-height: 1; }
.wihw-ecard__placeholder-text { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .95; }
.wihw-ecard__badge { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; display: flex; flex-direction: column; align-items: center; min-width: 54px;
  background: #fff; color: #0c2a38; border-top: 4px solid #00719f; padding: 4px 6px 5px; line-height: 1.05; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.wihw-ecard__day { font-family: var(--wihw-font-head); font-weight: 700; font-size: 24px; }
.wihw-ecard__mon { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.wihw-ecard__year { font-size: 12px; color: #4a5a63; }
.wihw-ecard__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.wihw-ecard__date { margin: 0; font-size: 14px; font-weight: 700; color: #00719f; font-variant-numeric: tabular-nums; }
.wihw-ecard__title { font-family: var(--wihw-font-body); font-weight: 400; letter-spacing: 0; font-size: 20px; line-height: 1.3; margin: 0; overflow-wrap: anywhere; }
.wihw-ecard__title a { color: var(--wihw-text); text-decoration: none; }
.wihw-ecard__title a:hover, .wihw-ecard__title a:focus-visible { color: #00719f; text-decoration: underline; }
.wihw-ecard__place { margin: 0; font-size: 14px; color: #3c4a52; }
.wihw-ecard__desc { margin: 0; font-size: 15px; color: #2b3338; overflow-wrap: anywhere; }
.wihw-ecard__more { margin-top: auto; align-self: flex-start; font-size: 14px; font-weight: 700; color: #00719f; padding-top: 6px; }
.wihw-event__image { margin: 0 0 20px; }
.wihw-event__image img { max-width: 100%; height: auto; display: block; }
.wihw-event__report { margin-top: 32px; border-top: 1px solid var(--wihw-rule); padding-top: 16px; }
@media (max-width: 979px) { .wihw-cards, .wihw-layout--sidebar .wihw-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .wihw-cards, .wihw-layout--sidebar .wihw-cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .wihw-events__filter { flex-direction: column; align-items: stretch; }
  .wihw-filter__field input, .wihw-filter__field select { width: 100%; }
}

/* Contact Form 7 (retained provider, P22): the legacy Pro form appearance measured from the Phase 00 contact baseline —
   bold labels above full-width light-bordered fields, bold consent line, brand "Send" button. */
.wpcf7-form p { margin: 0 0 2.1em; }
.wpcf7-form label { display: block; font-weight: 700; margin: 0; max-width: 730px; }
.wpcf7-form label br { display: none; }
.wpcf7-form .wpcf7-form-control-wrap { display: block; margin-top: .45em; }
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="url"], .wpcf7-form input[type="tel"], .wpcf7-form textarea {
	display: block; width: 100%; padding: 6px 10px; border: 1px solid #e5e5e5; background: #fff; color: var(--wihw-text); font: inherit; font-weight: 400; border-radius: 0;
}
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="url"], .wpcf7-form input[type="tel"] { height: 30px; }
.wpcf7-form textarea { height: 232px; resize: vertical; }
.wpcf7-form .wpcf7-acceptance { font-weight: 700; }
.wpcf7-form .wpcf7-acceptance input { margin-inline-end: 6px; }
.wpcf7-form input[type="submit"] { background: var(--wihw-brand-2); color: #fff; border: 0; border-radius: 0; padding: 7px 18px; font: inherit; font-size: 16px; cursor: pointer; }
.wpcf7-form input[type="submit"]:hover { background: var(--wihw-brand); }
.wpcf7-form input[type="submit"]:disabled { cursor: not-allowed; opacity: .85; }
.wpcf7-form .wpcf7-not-valid-tip { font-weight: 400; color: #b00020; font-size: .9em; margin-top: .3em; }
.wpcf7-form .wpcf7-response-output { margin: 1em 0 0; padding: .6em 1em; border: 2px solid var(--wihw-brand); }

/* P26 opt-in WCAG AA colour mode (Appearance → Customize → Accessibility; OFF by default, legacy colours unchanged).
   Measured legacy ratios: white on #00a1d8 = 2.96:1, #0092ce links = 3.50:1 on white / 3.32:1 on #f9f9f9 (AA needs 4.5:1).
   #00719f (already the event-list accent) gives 5.44:1 on white and 5.16:1 on #f9f9f9. Needs owner approval (D07). */
body.wihw-contrast-aa { --wihw-brand: #00719f; --wihw-brand-2: #00719f; --wihw-link-hover: #005b80;
	--wp--preset--color--brand: #00719f; --wp--preset--color--brand-secondary: #00719f; }
body.wihw-contrast-aa .wihw-tagline { color: #00719f; }

/* P27 fixes: preserved [caption] markup carries fixed pixel widths (e.g. 1600px) and some posts contain long unbroken
   URLs; neither may widen the page (found by the 320–1440 px overflow check). */
.wp-caption { max-width: 100%; }
.wp-caption img { max-width: 100%; height: auto; }
.entry-content, .wihw-entry__content { overflow-wrap: break-word; }
.entry-content a { overflow-wrap: anywhere; }

/* P27 parity: USP report reader (legacy My WIHW Reports page: full 1200px column, h4-sized title, 19px/2 body text,
   "Images for this event" label beside the images) and event detail image across the content column. */
.wihw-layout:not(.wihw-layout--sidebar) .wihw-main:has(> .wihw-report) { max-width: calc(var(--wihw-max) + 32px); padding-left: 16px; padding-right: 16px; }
.wihw-report .wihw-report__title { font-size: 26px; margin: 20px 0 12px; }
.wihw-report__body { font-size: 19px; line-height: 2; }
.wihw-report__rule { border: 0; border-top: 1px solid var(--wihw-rule); margin: 40px 0; }
.wihw-report__images { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0 8px; }
.wihw-report__images-title { font-size: 22px; margin: 0; line-height: 1.45; }
.wihw-report__gallery img { display: block; max-width: 100%; height: auto; margin: 0 0 12px; }
@media (max-width: 767px) { .wihw-report__images { grid-template-columns: minmax(0, 1fr); } .wihw-report__images-title { margin-bottom: 12px; } }
.wihw-event__image img { width: 100%; }

/* P27 parity: Cornerstone sub-headlines (legacy <span> under a headline) — sans-serif, tight under the headline;
   colour/size/spacing come from the converted block (converter 1.6.0). */
.wihw-entry__content .wihw-subheadline { font-family: var(--wihw-font-head); font-weight: 400; line-height: 1.4; margin-top: -.3em; margin-bottom: 1em; }
/* P27: builder headlines whose legacy font was the global "Headings"/inherited font render in the sans heading stack. */
.wihw-entry__content .wihw-headline.wihw-font-head { font-family: var(--wihw-font-head); }
/* P27: builder rules keep their legacy colour/weight/spacing; sub-headlines sit tight under their headline. */
.wihw-line--link { border-top-color: #661a1a; }
.wihw-line--brand { border-top-color: var(--wihw-brand); }
.wihw-line--2 { border-top-width: 2px; }
.wihw-line--tight { margin: 12px 0; }
.wihw-entry__content .wihw-headline.wihw-subheadline { margin-top: .15em; margin-bottom: .9em; }

/* Converter 1.7.6 (11 Nov 2026). A linked Cornerstone headline keeps its explicit text colour (the legacy builder linked
   the whole element without turning it link-blue); hover/focus still show it is a link. */
.wihw-entry__content .wihw-headline--keep-color a,
.wihw-entry__content .wihw-headline--keep-color a:visited { color: inherit; text-decoration: none; }
.wihw-entry__content .wihw-headline--keep-color a:hover,
.wihw-entry__content .wihw-headline--keep-color a:focus-visible { text-decoration: underline; }
/* Cornerstone single-track layout-row → wrapping grid (e.g. Historical Events: 320 px tracks, 2 per line on desktop,
   1 on tablet/mobile). Cell spacing as measured on the legacy page: no heading margins, sub-headline 0.512em below. */
.wihw-entry__content .wihw-row--grid { column-gap: 3rem; row-gap: 55px; } /* the legacy row gaps (theme has no block-gap support) */
.wihw-entry__content .wihw-row--grid > .wihw-cell { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.wihw-entry__content .wihw-row--grid > .wihw-cell > .wihw-headline { margin: 0; line-height: 1.1; }
.wihw-entry__content .wihw-row--grid > .wihw-cell > .wihw-headline.wihw-subheadline { margin: .512em 0 0; line-height: 1.55; }
/* Converted Cornerstone dynamic title (core/post-title): the legacy title had no margins and a 1.2 line height. */
.wihw-entry__content .wp-block-post-title.wihw-headline { margin: 0; line-height: 1.2; }

/* Hero slides with the legacy composition (11 Nov 2026): the slide band is full width (legacy module background black,
   or the slide's own colour); the 900 × 300 legacy stage is centred and scales down with the screen like the legacy
   grid (layers in % of the stage, text in container units). */
.wihw-hero:has(.wihw-hero__slide--stage) { height: auto; min-height: 0; }
.wihw-hero__slide--stage { position: relative; height: auto; background: #000; overflow: hidden; }
.wihw-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wihw-hero__stage { position: relative; width: 100%; margin: 0 auto; container-type: inline-size; pointer-events: none; }
.wihw-hero__layer { position: absolute; display: block; margin: 0; box-sizing: border-box; }
.wihw-hero__layer--text { white-space: nowrap; }
.wihw-hero__layer--image { max-width: none; }
.wihw-hero__link { position: absolute; inset: 0; z-index: 1; }
.wihw-hero__stage { z-index: 2; }
.wihw-hero__layer-link, .wihw-hero__layer--video { pointer-events: auto; }
.wihw-hero__video-link { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6em; color: #fff; text-decoration: none; }
.wihw-hero__video-link:focus-visible { outline: 3px solid var(--wihw-focus, #ffbf47); outline-offset: -3px; }
.wihw-hero__layer--video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.wihw-hero__link:focus-visible, .wihw-hero__layer-link:focus-visible, .wihw-hero__layer--video:focus-visible { outline: 3px solid var(--wihw-focus, #ffbf47); outline-offset: -3px; }
.wihw-hero__layer--video { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6em; background: #0b2533; color: #fff; text-decoration: none; font-size: calc(27 * var(--u, 1px)); }
.wihw-hero__play { width: 0; height: 0; border-style: solid; border-width: .9em 0 .9em 1.5em; border-color: transparent transparent transparent #fff; }
.wihw-hero__video-label { font-family: var(--wihw-font-head); font-weight: 700; }
.wihw-hero__video-link:hover .wihw-hero__video-label { text-decoration: underline; }

/* Carousel controls (12 Nov 2026): below 1240 px the legacy 900 px composition reaches the bottom-right corner, so the
   controls sat on captions and headings (e.g. 2020 Winners on phones). There they move to a strip under the slide. */
@media (max-width: 1239px) {
	.wihw-hero:has(.wihw-hero__slide--stage) { display: flex; flex-direction: column; }
	.wihw-hero:has(.wihw-hero__slide--stage) .wihw-hero__track { order: 1; }
	.wihw-hero:has(.wihw-hero__slide--stage) .wihw-hero__controls { order: 2; position: static; justify-content: flex-end; padding: 6px 16px; background: #000; }
}

/* Converter 1.7.7: legacy "text" buttons (styled links: no fill, brand text, own size) keep their link look. */
.wihw-entry__content .wihw-button.wihw-button--text, .wihw-entry__content .wihw-button--text .wp-block-button__link { background: transparent; color: var(--wihw-brand) !important; padding: 0; border: 0; border-radius: 0; line-height: 1.3; font-weight: inherit; }
.wihw-entry__content .wihw-button--text .wp-block-button__link { font-size: 1em; }
.wihw-entry__content .wihw-button.wihw-button--text:hover, .wihw-entry__content .wihw-button--text .wp-block-button__link:hover, .wihw-entry__content .wihw-button--text .wp-block-button__link:focus-visible { color: var(--wihw-link-hover) !important; text-decoration: underline; background: transparent; }
.wihw-entry__content .wihw-row--cols { column-gap: 1rem; row-gap: 1rem; align-items: start; }
.wihw-entry__content .wihw-row--cols > .wihw-cell { justify-content: flex-start; }
.wihw-entry__content .wihw-row--cols .wihw-image img { width: 100%; height: auto; }

/* Corrective release (theme 0.4.4, 16 Nov 2026) ---------------------------------------------------------------------
   Full-width pages whose content is a card grid (Letters of Support, current event calendars) kept the sidebar layout's
   percentage padding (12.2% / 4% of the viewport) AND the width cap, which left only ~860px of a 1440px screen for the
   cards. Those pages now use the whole content column (same pattern as the report reader above); every other full-width
   page is unchanged. */
.wihw-layout:not(.wihw-layout--sidebar) .wihw-main:has(.wihw-grid__list, .wihw-events) { max-width: calc(var(--wihw-max) + 48px); padding-left: 24px; padding-right: 24px; }
.wihw-layout:not(.wihw-layout--sidebar) .wihw-main:has(.wihw-grid__list, .wihw-events) .wihw-events { max-width: none; }
.wihw-grid__title, .wihw-card__title, .wihw-cards h3 { overflow-wrap: anywhere; }
/* Historical (inline) event lists: title, dates, place, description, organiser link. */
.wihw-event-list--prior .wihw-event-card { padding: 16px 0 18px; }
.wihw-event-card__place { overflow-wrap: anywhere; }
.wihw-event-card__excerpt { margin: 8px 0 0; font-size: 16px; overflow-wrap: anywhere; }
.wihw-event-card__more { margin: 8px 0 0; font-size: 15px; }
.wihw-event-card__more summary { cursor: pointer; color: var(--wihw-brand); }
.wihw-event-card__more summary:focus-visible { outline: 3px solid var(--wihw-focus); outline-offset: 2px; }
.wihw-event-card__body { margin-top: 8px; overflow-wrap: anywhere; }
.wihw-event-card__link { margin: 8px 0 0; font-size: 15px; }
.wihw-layout:not(.wihw-layout--sidebar) .wihw-main:has(.wihw-grid__list, .wihw-events) .wihw-entry--converted .wihw-section { padding-left: 0; padding-right: 0; }

/* Maintenance release (theme 0.4.5, 23 Nov 2026) -- content grids (Video Messages, letters, news) ---------------------------------------------------
   Root cause of the oversized card titles: ".wihw-entry__content h3 { font-size: 30px }" (specificity 0,1,1) beat ".wihw-grid__title" (0,1,0), so every
   grid title inside page content rendered at 30px in the heading font. The rules below use ".wihw-grid .wihw-grid__title" (0,2,0) and give the cards a
   steadier rhythm: equal-height cards, the action link pinned to the bottom with a 44px target, calmer spacing. Content and markup are unchanged. */
.wihw-grid .wihw-grid__list { gap: 32px 36px; align-items: stretch; margin-block: 8px 12px; }
.wihw-grid .wihw-grid__item { min-width: 0; }
.wihw-grid .wihw-grid__card { display: flex; flex-direction: column; padding: 24px 26px 18px; border-radius: 3px; box-shadow: 0 1px 3px rgba(0, 0, 0, .08), 0 6px 16px rgba(0, 61, 92, .05); transition: box-shadow .15s ease; }
.wihw-grid .wihw-grid__card:hover, .wihw-grid .wihw-grid__card:focus-within { box-shadow: 0 4px 14px rgba(0, 0, 0, .12); }
.wihw-grid .wihw-grid__title { font-family: var(--wihw-font-body); font-weight: 700; letter-spacing: 0; font-size: 19px; line-height: 1.38; margin: 0 0 10px; }
.wihw-grid .wihw-grid__title a { text-decoration: none; }
.wihw-grid .wihw-grid__title a:hover { text-decoration: underline; }
.wihw-grid .wihw-grid__date { font-size: 14px; line-height: 1.4; color: #555; margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--wihw-rule); }
.wihw-grid .wihw-grid__excerpt { font-size: 15px; line-height: 1.55; margin: 0 0 14px; }
.wihw-grid .wihw-grid__more { margin: auto 0 0; padding-top: 6px; font-size: 16px; line-height: 1.3; }
.wihw-grid .wihw-grid__more a { display: inline-flex; align-items: center; gap: .55em; min-height: 44px; font-weight: 700; text-decoration: none; color: #00719f; } /* 5.4:1 on white (brand blue is 3.2:1, too light for 16px text) */
.wihw-grid .wihw-grid__more a::before { content: ""; flex: none; width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.wihw-grid .wihw-grid__more a:hover { text-decoration: underline; color: #005a7f; }
.wihw-grid .wihw-grid__title a:focus-visible, .wihw-grid .wihw-grid__more a:focus-visible { outline: 3px solid var(--wihw-focus); outline-offset: 2px; }
.wihw-sidebar .wihw-grid .wihw-grid__list { gap: 10px; }
.wihw-sidebar .wihw-grid .wihw-grid__card { padding: 10px 12px; box-shadow: none; border-radius: 0; }
.wihw-sidebar .wihw-grid .wihw-grid__title { font-size: 15px; font-weight: 400; margin-bottom: 4px; }
.wihw-sidebar .wihw-grid .wihw-grid__date { margin-bottom: 4px; padding-bottom: 0; border-bottom: 0; }
@media (max-width: 979px) { .wihw-grid .wihw-grid__list { gap: 28px 28px; } }
@media (max-width: 560px) {
	.wihw-grid .wihw-grid__list { gap: 22px; }
	.wihw-grid .wihw-grid__card { padding: 20px 20px 14px; }
	.wihw-grid .wihw-grid__title { font-size: 18px; }
	.wihw-grid .wihw-grid__more a { min-height: 48px; }
}

/* Maintenance patch 2 (theme 0.4.5, 23 Nov 2026) -- align the card rows --------------------------------------------------------------------------------
   Cards in one row share the same title / date / body rows (CSS subgrid), so the divider under the date and the action link sit at the same height in
   every card of the row, however many lines a title takes. Nothing is clipped or fixed-height: each shared row is as tall as its tallest content.
   Browsers without subgrid keep the equal-height flex cards above. Main page content only; the compact sidebar teasers are not touched. */
@supports (grid-template-rows: subgrid) {
	.wihw-entry__content .wihw-grid .wihw-grid__list { --wihw-grid-gap-y: 32px; row-gap: 0; margin-bottom: calc(12px - var(--wihw-grid-gap-y)); }
	.wihw-entry__content .wihw-grid .wihw-grid__item { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; margin-bottom: var(--wihw-grid-gap-y); }
	.wihw-entry__content .wihw-grid .wihw-grid__card { display: grid; grid-row: 1 / span 3; grid-template-rows: subgrid; row-gap: 0; }
	.wihw-entry__content .wihw-grid .wihw-grid__more { align-self: end; margin: 0; }
	@media (max-width: 979px) { .wihw-entry__content .wihw-grid .wihw-grid__list { --wihw-grid-gap-y: 28px; } }
	@media (max-width: 560px) { .wihw-entry__content .wihw-grid .wihw-grid__list { --wihw-grid-gap-y: 22px; } }
}

/* Maintenance patch 3 (theme 0.4.6, 24 Nov 2026) -- long unbroken text must wrap inside the card ------------------------------------------------------------
   Root cause: a letter excerpt that is one long URL (e.g. "537 - D. Todd Christofferson") has a very wide minimum content width. The card is a grid (subgrid rows) whose
   single implicit column was "auto", so it grew to that width and pushed the card, its column and the page sideways (horizontal scrolling on Letters of Support page 2 and
   a distorted column). The column is now "minmax(0, 1fr)" (it can shrink to the card) and the text breaks anywhere inside the card, like the title already does. */
.wihw-grid .wihw-grid__item, .wihw-grid .wihw-grid__card { min-width: 0; }
.wihw-grid .wihw-grid__date, .wihw-grid .wihw-grid__excerpt { overflow-wrap: anywhere; }
@supports (grid-template-rows: subgrid) {
	.wihw-entry__content .wihw-grid .wihw-grid__item, .wihw-entry__content .wihw-grid .wihw-grid__card { grid-template-columns: minmax(0, 1fr); }
}
