@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Plus Jakarta Sans";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* TOKENS: aliases only; canonical design values live in theme.json. */
:root {
	--hita-canvas: var(--wp--preset--color--canvas);
	--hita-surface: var(--wp--preset--color--surface);
	--hita-surface-cool: var(--wp--preset--color--surface-cool);
	--hita-brand: var(--wp--preset--color--brand);
	--hita-muted: var(--wp--preset--color--text-muted);
	--hita-accent: var(--wp--preset--color--accent);
	--hita-accent-dark: var(--wp--preset--color--accent-dark);
	--hita-text-accent: var(--wp--preset--color--text-accent);
	--hita-border: var(--wp--custom--border--subtle);
	--hita-control-border: var(--wp--custom--border--control);
	--hita-gutter: var(--wp--custom--layout--gutter);
	--hita-compact: var(--wp--preset--spacing--compact);
	--hita-related: var(--wp--preset--spacing--related);
	--hita-group: var(--wp--preset--spacing--group);
	--hita-section: var(--wp--preset--spacing--section);
	--hita-page: var(--wp--preset--spacing--page);
}

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

html {
	scroll-behavior: smooth;
	overflow-wrap: break-word;
}

body {
	margin: 0;
	background: var(--hita-canvas);
	color: var(--hita-brand);
}

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

:where(p, h1, h2, h3, ul, ol, figure) {
	margin-block-start: 0;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
	outline: var(--wp--custom--focus--width) solid var(--wp--custom--focus--color);
	outline-offset: var(--wp--custom--focus--offset);
	box-shadow: 0 0 0 calc(var(--wp--custom--focus--width) + var(--wp--custom--focus--offset)) var(--wp--custom--focus--ring);
}

a {
	text-decoration-thickness: var(--wp--custom--typography--underline-thickness);
	text-underline-offset: var(--wp--custom--typography--underline-offset);
}

a:hover {
	text-decoration-thickness: var(--wp--custom--typography--underline-thickness-hover);
}

/* COMPOSITION */
.wp-site-blocks > :where(.wp-block-template-part, .hita-page) {
	margin-block-start: 0;
}

.c-container {
	width: min(100%, var(--wp--style--global--wide-size));
	margin-inline: auto;
	padding-inline: var(--hita-gutter);
}

.c-section {
	padding-block: var(--hita-section);
}

.c-stack {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--hita-related);
}

.c-stack > * {
	margin-block: 0;
}

.c-cluster {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--hita-related);
}

.c-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--hita-group);
}

.c-split {
	display: grid;
	grid-template-columns: var(--wp--custom--layout--split-primary-columns);
	align-items: center;
	gap: var(--hita-section);
}

/* UTILITIES */
.u-eyebrow {
	margin: 0;
	color: var(--hita-text-accent);
	font-size: var(--wp--preset--font-size--supporting);
	font-weight: var(--wp--custom--typography--weight-eyebrow);
	letter-spacing: var(--wp--custom--typography--eyebrow-spacing);
	line-height: var(--wp--custom--line-height--small);
	text-transform: uppercase;
}

#wp-skip-link {
	position: fixed;
	inset-block-start: var(--hita-related);
	inset-inline-start: var(--hita-related);
	z-index: var(--wp--custom--state--skip-z-index);
	padding: var(--hita-related) var(--hita-group);
	background: var(--hita-brand);
	color: var(--hita-canvas);
	font-weight: var(--wp--custom--typography--weight-bold);
	transform: translateY(-200%);
}

#wp-skip-link:focus {
	transform: translateY(0);
}

/* BLOCKS: shared controls */
.wp-element-button,
.wp-block-button__link,
button,
input[type="button"],
input[type="submit"] {
	min-height: var(--wp--custom--control--height);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: var(--hita-related) var(--hita-group);
	border-radius: var(--wp--custom--radius--control);
	transition: background-color var(--wp--custom--motion--duration) var(--wp--custom--motion--easing), color var(--wp--custom--motion--duration) var(--wp--custom--motion--easing), border-color var(--wp--custom--motion--duration) var(--wp--custom--motion--easing);
}

.wp-block-button__link:hover {
	background: var(--hita-accent-dark);
	border-color: var(--hita-accent-dark);
	color: var(--hita-canvas);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--hita-brand);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--hita-brand);
	color: var(--hita-canvas);
}

/* BLOCKS: header and native navigation */
.hita-site-header {
	background: var(--hita-canvas);
	border-block-end: var(--wp--custom--border--width) solid var(--hita-border);
}

.hita-site-header__inner {
	min-height: var(--wp--custom--layout--header-height);
	align-items: center;
	padding-block: var(--hita-related) var(--hita-group);
}

.hita-brand {
	flex: 0 0 auto;
	width: var(--wp--custom--layout--logo-header-width);
	margin: 0;
}

.hita-brand a,
.hita-brand img {
	display: block;
}

.hita-site-header__actions {
	justify-content: flex-end;
	min-width: 0;
}

.hita-primary-navigation .wp-block-navigation-item__content {
	min-height: var(--wp--custom--control--height);
	display: inline-flex;
	align-items: center;
	padding-inline: var(--hita-related);
	font-size: var(--wp--preset--font-size--body);
	font-weight: var(--wp--custom--typography--weight-navigation);
	text-decoration: none;
}

.hita-primary-navigation .wp-block-navigation-item__content:hover {
	color: var(--hita-accent-dark);
}

.hita-primary-navigation .wp-block-navigation-item__content[aria-current="page"] {
	box-shadow: inset 0 calc(var(--wp--custom--border--width) * -1) 0 var(--hita-accent-dark);
	color: var(--hita-brand);
}

.hita-site-header .wp-block-navigation__responsive-container-open,
.hita-site-header .wp-block-navigation__responsive-container-close {
	min-width: var(--wp--custom--control--height);
	min-height: var(--wp--custom--control--height);
	align-items: center;
	justify-content: center;
	padding: var(--hita-compact);
	border: var(--wp--custom--border--width) solid var(--hita-border);
	border-radius: var(--wp--custom--radius--control);
	background: var(--hita-canvas);
	color: var(--hita-brand);
}

.hita-site-header :where(.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close) svg {
	width: var(--wp--custom--control--icon-size);
	height: var(--wp--custom--control--icon-size);
}

.hita-site-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--hita-canvas);
	color: var(--hita-brand);
	padding: var(--hita-group) var(--hita-gutter);
}

.hita-site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-block-start: var(--hita-section);
}

/* BLOCKS: page introductions */
.hita-home-hero,
.hita-page-hero {
	background: var(--hita-surface);
}

.hita-home-hero {
	padding-block: var(--hita-page);
}

.hita-page-hero {
	padding-block: var(--hita-section);
}

.hita-home-hero__copy {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
	grid-template-rows: auto auto 1fr;
	column-gap: var(--hita-section);
	row-gap: var(--hita-related);
	width: 100%;
}

.hita-home-hero__copy > .u-eyebrow {
	grid-column: 1 / -1;
}

.hita-home-hero__copy > h1 {
	grid-column: 1;
	grid-row: 2 / span 2;
}

.hita-home-hero__copy > .hita-home-hero__support {
	grid-column: 2;
	grid-row: 2;
	align-self: end;
}

.hita-home-hero__copy > .wp-block-buttons {
	grid-column: 2;
	grid-row: 3;
	align-self: start;
}

.hita-home-hero h1 {
	max-width: var(--wp--custom--layout--hero-title-measure);
	margin: 0;
	font-size: var(--wp--preset--font-size--display);
	line-height: var(--wp--custom--line-height--display);
}

.hita-home-hero__support {
	max-width: var(--wp--custom--layout--support-measure);
	color: var(--hita-muted);
	line-height: var(--wp--custom--line-height--body);
}

.hita-page-hero h1 {
	max-width: var(--wp--custom--layout--page-title-measure);
	margin: 0;
}

/* BLOCKS: representative Page content */
.hita-representative-content {
	width: min(100%, var(--wp--style--global--wide-size));
	margin-inline: auto;
}

.hita-page-shell > .hita-page-section {
	padding-block: var(--hita-section);
}

.hita-page-shell > .hita-page-section > p:first-child {
	max-width: var(--wp--custom--layout--readable);
	font-size: var(--wp--preset--font-size--body-large);
}

.hita-page-shell > .hita-page-section > :where(p, ul, ol) + h2,
.hita-page-shell > .hita-page-section > :where(.wp-block-group, .wp-block-buttons) + h2 {
	margin-block-start: var(--hita-group);
}

.hita-page-shell > .hita-page-section > h2 + :where(p, ul, ol) {
	max-width: var(--wp--custom--layout--readable);
}

.hita-membership__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: var(--hita-section) var(--hita-group);
	width: 100%;
	max-width: none;
	margin-block: var(--hita-section) 0;
	margin-inline: 0 !important;
}

.hita-membership__card {
	display: grid;
	align-content: start;
	row-gap: var(--hita-related);
	min-width: 0;
	padding-block-start: var(--hita-group);
	border-block-start: var(--wp--custom--border--width) solid var(--hita-border);
}

.hita-membership__grid > .hita-membership__card {
	justify-self: stretch;
	width: 100%;
	max-width: none !important;
	margin: 0;
}

.hita-membership__card > :where(h2, ul) {
	box-sizing: border-box;
	width: 100%;
	max-width: none !important;
	margin: 0;
	margin-inline: 0 !important;
	padding-inline-start: var(--hita-group);
}

.hita-membership__card > h2 {
	text-align: left;
	text-wrap: balance;
	font-size: var(--wp--preset--font-size--subheading);
	line-height: var(--wp--custom--line-height--subheading);
}

.hita-membership__closing-action {
	display: flex;
	align-self: stretch;
	width: 100%;
	max-width: none !important;
	padding-block-start: var(--hita-group);
	border-block-start: var(--wp--custom--border--width) solid var(--hita-border);
}

.hita-resources .hita-page-section > h2 {
	max-width: var(--wp--custom--layout--readable);
	padding-block-start: var(--hita-group);
	border-block-start: var(--wp--custom--border--width) solid var(--hita-border);
}

/* The designated Privacy Policy keeps the fallback Page measure but needs
 * explicit legal-copy rhythm instead of the denser core block defaults. */
body.privacy-policy .hita-page--fallback > .wp-block-post-content > :where(p, ul, ol) {
	font-size: var(--wp--preset--font-size--body);
	line-height: var(--wp--custom--line-height--body);
}

body.privacy-policy .hita-page--fallback > .wp-block-post-content > p:first-child {
	color: var(--hita-muted);
}

body.privacy-policy .hita-page--fallback > .wp-block-post-content > h2 {
	margin-block-start: var(--hita-group);
	font-size: var(--wp--preset--font-size--section-heading);
	line-height: var(--wp--custom--line-height--heading);
}

body.privacy-policy .hita-page--fallback > .wp-block-post-content > h3 {
	margin-block-start: var(--hita-group);
	font-size: var(--wp--preset--font-size--subheading);
	line-height: var(--wp--custom--line-height--subheading);
}

body.privacy-policy .hita-page--fallback > .wp-block-post-content > h2 + h3 {
	margin-block-start: var(--hita-related);
}

body.privacy-policy .hita-page--fallback > .wp-block-post-content > ul {
	padding-inline-start: var(--hita-group);
}

body.privacy-policy .hita-page--fallback > .wp-block-post-content > ul > li + li {
	margin-block-start: var(--hita-compact);
}

.hita-home-events {
	margin-block: 0;
	border-block: var(--wp--custom--border--width) solid var(--hita-border);
}

.hita-home-events--upcoming + .hita-home-events--past {
	border-block-start: 0;
}

.hita-home-events .hita-event-grid,
.hita-news-events-page .hita-event-grid,
.hita-news-events-page .hita-news-grid {
	grid-template-columns: minmax(0, 1fr);
}

.hita-home-events .hita-event-card:first-child,
.hita-news-events-page :is(.hita-event-card, .hita-news-card):first-child {
	padding-block-start: 0;
	border-block-start: 0;
}

.hita-home-events__intro {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: var(--hita-group);
}

.hita-home-events__archive-link {
	min-height: var(--wp--custom--control--height);
	display: inline-flex;
	align-items: center;
	font-weight: var(--wp--custom--typography--weight-bold);
}

.hita-section-intro {
	margin-block-end: var(--hita-group);
}

.hita-section-intro h2 {
	margin: 0;
}

.hita-event-grid,
.hita-news-grid {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hita-event-card,
.hita-news-card {
	min-width: 0;
	padding-block: var(--hita-group);
	border-block-start: var(--wp--custom--border--width) solid var(--hita-border);
}

.hita-event-card article,
.hita-news-card article {
	display: grid;
	grid-template-columns: minmax(9rem, 0.35fr) minmax(0, 1fr);
	align-items: start;
	gap: var(--hita-group);
}

.hita-event-card h3,
.hita-event-card p,
.hita-news-card h3,
.hita-news-card p {
	margin-block: 0;
}

.hita-event-card h3,
.hita-news-card h3 {
	margin-block-start: 0;
}

.hita-event-card h3 a,
.hita-news-card h3 a {
	color: inherit;
	text-decoration-color: transparent;
}

.hita-event-card h3 a:hover,
.hita-news-card h3 a:hover {
	color: var(--hita-accent-dark);
	text-decoration-color: currentcolor;
}

.hita-event-card__date,
.hita-news-card__date {
	color: var(--hita-muted);
	font-size: var(--wp--preset--font-size--supporting);
	font-weight: var(--wp--custom--typography--weight-bold);
}

.hita-news-card__excerpt {
	grid-column: 2;
	margin-block-start: var(--hita-compact);
}

/* BLOCKS: standard Post single */
.hita-single-post__date {
	color: var(--hita-muted);
	font-size: var(--wp--preset--font-size--supporting);
	font-weight: var(--wp--custom--typography--weight-bold);
}

.hita-single-post__content {
	gap: var(--hita-group);
}

.hita-single-post__media {
	width: 100%;
	max-width: var(--wp--custom--layout--readable);
	margin: 0;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--panel);
}

.hita-single-post__media img {
	display: block;
	width: 100%;
	height: auto;
}

.hita-single-post__body,
.hita-single-post__back {
	width: 100%;
	max-width: var(--wp--custom--layout--readable);
}

.hita-news-events {
	gap: var(--hita-section);
}

.hita-news-events__intro {
	max-width: var(--wp--custom--layout--readable);
	color: var(--hita-muted);
	font-size: var(--wp--preset--font-size--body-large);
	line-height: var(--wp--custom--line-height--body);
}

.hita-news-events__intro > * {
	margin-block: 0;
}

.hita-event-group {
	width: 100%;
	min-width: 0;
}

.hita-news-group {
	padding-block-start: var(--hita-group);
	border-block-start: var(--wp--custom--border--width) solid var(--hita-border);
}

.hita-event-group--past {
	padding-block-start: var(--hita-group);
	border-block-start: var(--wp--custom--border--width) solid var(--hita-border);
}

.hita-event-group__empty {
	margin: 0;
	color: var(--hita-muted);
}

.hita-event-pagination {
	margin-block-start: var(--hita-group);
}

.hita-event-pagination__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--hita-compact);
	margin: 0;
	padding: 0;
	list-style: none;
}

.hita-event-pagination__link {
	min-width: var(--wp--custom--control--height);
	min-height: var(--wp--custom--control--height);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding-inline: var(--hita-related);
	font-weight: var(--wp--custom--typography--weight-bold);
	text-decoration: underline;
	text-decoration-color: var(--hita-border);
	text-decoration-thickness: var(--wp--custom--border--width);
	text-underline-offset: var(--wp--custom--focus--offset);
}

.hita-event-pagination__link[aria-current="page"] {
	color: var(--hita-accent-dark);
	text-decoration-color: currentColor;
}

.hita-single-event .wp-block-post-title,
.hita-event-card h3 {
	display: block;
	overflow: visible;
	overflow-wrap: normal;
	word-break: normal;
	white-space: normal;
	text-overflow: clip;
}

.hita-event-hero {
	border-block-end: var(--wp--custom--border--width) solid var(--hita-border);
}

.hita-event-hero__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
	gap: var(--hita-group) var(--hita-section);
}

.hita-event-hero__layout:has(> .hita-event-hero__media img) {
	grid-template-columns: var(--wp--custom--layout--split-primary-columns);
}

.hita-event-header {
	min-width: 0;
}

.hita-event-header .wp-block-post-title {
	max-width: var(--wp--custom--layout--readable);
}

.hita-event-hero__layout:has(> .hita-event-hero__media img) .wp-block-post-title {
	max-width: var(--wp--custom--layout--page-title-measure);
}

.hita-event-hero__media {
	width: 100%;
	margin: 0;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--panel);
}

.hita-event-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hita-event-details__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--hita-related);
	margin: var(--hita-related) 0 0;
}

.hita-event-details__item {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-content: start;
	gap: var(--hita-compact);
	padding-block: var(--hita-related);
	border-block-start: var(--wp--custom--border--width) solid var(--hita-border);
}

.hita-event-details__item dt {
	font-weight: var(--wp--custom--typography--weight-bold);
}

.hita-event-details__item dd {
	margin: 0;
	overflow-wrap: break-word;
}

.hita-event-details__action {
	margin-block: var(--hita-related) 0;
}

.hita-event-content > * {
	width: 100%;
	max-width: var(--wp--custom--layout--readable);
	margin-inline: 0 !important;
}

.hita-event-content {
	padding-block: var(--hita-related) var(--hita-section);
}

.hita-home .hita-page-section {
	display: grid;
	grid-template-columns: var(--wp--custom--layout--split-secondary-columns);
	align-items: start;
	gap: var(--hita-section);
}

.hita-home .hita-page-section > * {
	max-width: none;
	margin-inline: 0 !important;
}

.hita-home .hita-page-section > p:first-child {
	max-width: var(--wp--custom--layout--support-measure);
	font-size: var(--wp--preset--font-size--body-large);
}

.hita-home-about {
	min-width: 0;
	margin: 0;
	padding: 0;
	background: transparent;
}

.hita-home-about__heading,
.hita-home-about__heading h2 {
	margin: 0;
}

.hita-home-about__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--hita-related);
	margin-block-start: var(--hita-related);
}

.hita-home-about__content > .wp-block-buttons {
	align-self: stretch;
	justify-content: flex-start;
	margin-inline: 0 !important;
	margin-block-start: var(--hita-compact);
}

.hita-home-about__content > * {
	margin-block: 0;
}

/* The preserved About group orders the mission, three peer pillars, and Join
   panel. Positional selectors identify only those first/last structural roles. */
.hita-about .hita-page-section > :is(.hita-about__sections, .hita-leadership) {
	max-width: none;
	margin-inline: 0 !important;
}

.hita-about__sections {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--hita-group);
	margin-block: var(--hita-section);
}

.hita-about__section {
	min-width: 0;
	max-width: none;
	margin-inline: 0 !important;
	padding: var(--hita-group);
	border-block-start: var(--wp--custom--border--width) solid var(--hita-border);
}

.hita-about__section h2 {
	margin: 0;
	font-size: var(--wp--preset--font-size--section-heading);
	line-height: var(--wp--custom--line-height--heading);
}

.hita-about__section + .hita-about__section h2 {
	font-size: var(--wp--preset--font-size--subheading);
	line-height: var(--wp--custom--line-height--subheading);
}

.hita-about__section > p {
	margin-block-end: 0;
}

.hita-about__section:first-child,
.hita-about__section:last-child {
	grid-column: 1 / -1;
}

.hita-about__section:first-child {
	justify-self: center;
	width: min(100%, var(--wp--custom--layout--readable));
	padding-inline: 0;
}

.hita-about__section:last-child {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--hita-related);
	padding: var(--hita-group);
	border: 0;
	border-radius: var(--wp--custom--radius--panel);
	background: var(--hita-surface-cool);
}

.hita-about__section:last-child > * {
	max-width: none;
	margin-block: 0;
	margin-inline: 0 !important;
}

.hita-about__section:last-child > .wp-block-buttons {
	align-self: stretch;
	justify-content: flex-start;
	margin-inline: 0 !important;
	margin-block-start: var(--hita-compact);
}

.hita-about__section:last-child .wp-block-button__link {
	white-space: nowrap;
}

.hita-leadership {
	display: grid;
	grid-template-columns: minmax(0, min(100%, var(--wp--custom--layout--readable))) minmax(0, 1fr);
	padding-block: var(--hita-section);
}

.hita-leadership > :is(h2, p) {
	grid-column: 1;
	width: 100%;
}

.hita-leadership__grid {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch;
	gap: var(--hita-group);
	max-width: none;
	margin-inline: 0 !important;
	margin-block-start: var(--hita-group);
}

.hita-leadership__grid > .hita-leadership__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	max-width: none;
	height: 100%;
	margin-block: 0;
	margin-inline: 0 !important;
	padding-block-start: var(--hita-related);
	border-block-start: var(--wp--custom--border--width) solid var(--hita-border);
}

.hita-leadership__portrait-frame {
	width: 100%;
	aspect-ratio: 4 / 5;
	margin-block-end: var(--hita-group);
	overflow: hidden;
	border-radius: var(--wp--custom--radius--panel);
	background: var(--hita-surface-cool);
}

.hita-leadership__portrait-image,
.hita-leadership__portrait-placeholder {
	display: block;
	width: 100%;
	height: 100%;
}

.hita-leadership__portrait-image {
	object-fit: cover;
	object-position: center 20%;
}

.hita-leadership__card h3 {
	margin-block-end: var(--hita-related);
	overflow-wrap: anywhere;
}

.hita-leadership__card p {
	margin: 0;
	color: var(--hita-muted);
	font-weight: var(--wp--custom--typography--weight-bold);
}

.hita-contact .hita-page-section {
	display: grid;
	grid-template-columns: var(--wp--custom--layout--split-secondary-columns);
	column-gap: var(--hita-section);
	row-gap: 0;
	align-items: start;
}

.hita-contact .hita-page-section > :where(:not(.hita-fluent-form)) {
	grid-column: 1;
	justify-self: stretch;
	max-width: var(--wp--custom--layout--readable);
	margin-block: 0;
	margin-inline: 0 !important;
}

.hita-contact .hita-page-section > :is(p, h3) {
	margin-block-start: var(--hita-related);
}

.hita-contact .hita-page-section > p + h3 {
	margin-block-start: var(--hita-group);
}

.hita-contact .hita-fluent-form {
	grid-column: 2;
	grid-row: 1 / span 7;
	min-width: 0;
	padding-block-start: var(--hita-group);
	border-block-start: var(--wp--custom--border--width) solid var(--hita-border);
}

/* BLOCKS: Fluent Forms presentation. Functional behavior remains plugin-owned. */
.hita-fluent-form,
.hita-fluent-form form,
.hita-fluent-form .ff-el-group,
.hita-fluent-form .ff-el-input--content {
	max-width: 100%;
	min-width: 0;
}

.hita-fluent-form .ff-el-group {
	margin-block-end: var(--hita-group);
}

.hita-fluent-form .hita-form-privacy-notice {
	max-width: var(--wp--custom--layout--readable);
	margin: 0;
	color: var(--hita-muted);
	font-size: var(--wp--preset--font-size--supporting);
	line-height: var(--wp--custom--line-height--small);
}

.hita-fluent-form .ff-el-group:has(> .hita-form-privacy-notice) {
	margin-block-end: var(--hita-related);
}

.hita-fluent-form label {
	display: inline-block;
	margin-block-end: var(--hita-related);
	font-weight: var(--wp--custom--typography--weight-bold);
}

.hita-fluent-form .ff-el-form-check-label {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	column-gap: var(--hita-compact);
	margin: 0;
	font-weight: inherit;
	line-height: var(--wp--custom--line-height--body);
}

.hita-fluent-form .ff-el-form-check-label .ff_tc_checkbox {
	display: flex;
}

.hita-fluent-form .ff-el-form-check-label input[type="checkbox"] {
	margin: 0;
}

.hita-fluent-form .ff-el-group:has(> .ff-el-form-check) {
	margin-block-end: var(--hita-group);
}

.hita-fluent-form .ff-el-group.ff_submit_btn_wrapper {
	margin-block-end: 0;
}

.hita-fluent-form :where(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), textarea, select) {
	width: 100%;
	min-height: var(--wp--custom--control--height);
	padding: var(--hita-related);
	border: var(--wp--custom--border--width) solid var(--hita-control-border);
	border-radius: var(--wp--custom--radius--control);
	background: var(--hita-canvas);
	color: var(--hita-brand);
	font: inherit;
}

.hita-fluent-form textarea {
	min-height: calc(var(--wp--custom--control--height) * 3);
	resize: vertical;
}

.hita-fluent-form :where(input, textarea, select):read-only {
	background: var(--hita-surface);
	border-color: var(--hita-control-border);
}

.hita-fluent-form :where(input, textarea, select):disabled,
.hita-fluent-form button:disabled {
	cursor: not-allowed;
	opacity: var(--wp--custom--state--disabled-opacity);
}

.hita-fluent-form .ff-el-is-error :where(input, textarea, select),
.hita-fluent-form [aria-invalid="true"] {
	border-color: var(--wp--preset--color--error);
	box-shadow: inset 0 0 0 var(--wp--custom--border--width) var(--wp--preset--color--error);
}

.hita-fluent-form :where(.error, .text-danger, .ff-el-is-error .text-danger) {
	color: var(--wp--preset--color--error);
	font-size: var(--wp--preset--font-size--supporting);
	font-weight: var(--wp--custom--typography--weight-bold);
}

.hita-fluent-form :where(.ff-message-success, .ff-el-form-check-label, [role="status"], [role="alert"]) {
	max-width: var(--wp--custom--layout--readable);
}

.hita-fluent-form .ff-message-success {
	padding: var(--hita-related);
	border-inline-start: calc(var(--wp--custom--border--width) * 2) solid var(--wp--preset--color--success);
	background: var(--hita-surface);
	color: var(--hita-brand);
}

.hita-fluent-form .ff-btn-submit {
	border: var(--wp--custom--border--width) solid var(--hita-brand);
	background: var(--hita-brand);
	color: var(--hita-canvas);
	font: inherit;
	font-weight: var(--wp--custom--typography--weight-bold);
}

.hita-fluent-form .ff-btn-submit:hover {
	border-color: var(--hita-accent-dark);
	background: var(--hita-accent-dark);
}

@media (min-width: 64rem) {
	body.page-id-126 .hita-page--fallback > .wp-block-post-content > .hita-page-shell {
		width: 100%;
		max-width: var(--wp--style--global--wide-size);
	}

	body.page-id-126 .hita-page-shell .hita-page-section > .fluentform_wrapper_4.hita-fluent-form {
		width: 100%;
		max-width: var(--wp--style--global--wide-size);
		margin-block-start: var(--hita-group);
		padding: var(--hita-group);
		border: var(--wp--custom--border--width) solid var(--hita-border);
		border-radius: var(--wp--custom--radius--panel);
		background: var(--hita-canvas);
		box-shadow: var(--wp--custom--shadow--lifted);
	}

	body.page-id-126 .fluentform_wrapper_4 #fluentform_4 > fieldset {
		display: grid;
		grid-template-columns: repeat(6, minmax(0, 1fr));
		column-gap: var(--hita-group);
	}

	body.page-id-126 .fluentform_wrapper_4 #fluentform_4 > fieldset > :where(legend, .ff-el-group) {
		grid-column: 1 / -1;
	}

	body.page-id-126 .fluentform_wrapper_4 #fluentform_4 > fieldset > .ff-el-group:has(> .ff-el-input--content > :is([name="first_name"], [name="last_name"], [name="phone"], [name="email"], [name="primary_language"], [name="secondary_language"])) {
		grid-column: span 3;
	}

	body.page-id-126 .fluentform_wrapper_4 #fluentform_4 > fieldset > .ff-el-group:has(> .ff-el-input--content > :is([name="city"], [name="state"], [name="postal_code"])) {
		grid-column: span 2;
	}

	body.page-id-126 .fluentform_wrapper_4 :where(.hita-form-privacy-notice, .ff-el-form-check-label) {
		max-width: var(--wp--custom--layout--readable);
	}
}

/* BLOCKS: optional pre-footer and complete footer */
.is-style-hita-navy-panel,
.hita-pre-footer {
	background: var(--hita-brand);
	color: var(--hita-canvas);
}

.hita-pre-footer__inner {
	padding-block: var(--hita-section);
}

.hita-pre-footer h2,
.hita-pre-footer p,
.hita-pre-footer .u-eyebrow {
	color: var(--hita-canvas);
}

.hita-pre-footer__actions {
	justify-content: flex-end;
}

.hita-pre-footer .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	border-color: var(--hita-canvas);
	background: var(--hita-canvas);
	color: var(--hita-brand);
}

.hita-pre-footer .wp-block-button.is-style-outline .wp-block-button__link {
	border-color: var(--hita-canvas);
	color: var(--hita-canvas);
}

.hita-pre-footer :where(a, button):focus-visible {
	outline-color: var(--hita-brand);
	box-shadow: 0 0 0 calc(var(--wp--custom--focus--width) + var(--wp--custom--focus--offset)) var(--hita-canvas);
}

.hita-site-footer {
	padding-block: var(--hita-group);
	background: var(--hita-surface);
}

.hita-site-footer__inner {
	gap: var(--hita-group);
}

.hita-site-footer__top {
	align-items: start;
}

.hita-site-footer__identity {
	max-width: var(--wp--custom--layout--readable);
	gap: var(--hita-compact);
}

.hita-brand--footer {
	width: var(--wp--custom--layout--logo-footer-width);
}

.hita-site-footer .wp-block-site-title {
	font-size: var(--wp--preset--font-size--subheading);
	font-weight: var(--wp--custom--typography--weight-bold);
}

.hita-site-footer__contact {
	justify-self: end;
	gap: var(--hita-compact);
}

.hita-footer-navigation {
	width: 100%;
}

.hita-footer-navigation .wp-block-navigation__container {
	width: 100%;
	justify-content: space-between;
	gap: var(--hita-compact) var(--hita-related);
}

.hita-footer-navigation .wp-block-navigation-item__content {
	min-height: var(--wp--custom--control--height);
	display: inline-flex;
	align-items: center;
	font-weight: var(--wp--custom--typography--weight-navigation);
}

.hita-site-footer__legal {
	align-self: stretch;
	align-items: flex-start;
	justify-content: space-between;
	padding-block-start: var(--hita-related);
	border-block-start: var(--wp--custom--border--width) solid var(--hita-border);
	color: var(--hita-muted);
	font-size: var(--wp--preset--font-size--supporting);
}

.hita-site-footer__legal p {
	margin: 0;
}

/* EXCEPTIONS
 * 1. 64rem is the documented content-failure point where the six-item native
 *    navigation and adjacent Join CTA no longer fit comfortably.
 * 2. 48rem is the content-failure point for paired representative layouts;
 *    28rem is where header controls need compact flow and leadership cards no
 *    longer retain a readable two-column measure.
 * 3. The flat 4:3 leadership placeholder is a temporary, initials-free media
 *    footprint until original approved portraits are available.
 * 4. 0.01ms is the standard near-zero duration used only for reduced motion.
 * 5. The compact header-logo token compensates for the official mark's tall
 *    tagline lockup while keeping all three mobile header controls on one row.
 * 6. The homepage Page-section selector maps the preserved HITA-specific intro
 *    and About groups; it deliberately remains outside the generic primitives.
 *    Its inline-margin overrides release WordPress core's constrained-layout
 *    auto margins so both grid peers and the action share a reading axis.
 * 7. Direct template parts and page mains opt out of WordPress's generated root
 *    block gap so adjacent shared-region backgrounds meet at shell boundaries.
 */
@media (max-width: 64rem) {
	.hita-event-hero__layout:has(> .hita-event-hero__media img) {
		grid-template-columns: minmax(0, 1fr) minmax(16rem, 0.8fr);
	}

	.hita-event-details__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hita-event-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hita-leadership__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hita-primary-navigation .wp-block-navigation__responsive-container-open {
		display: flex !important;
	}

	.hita-primary-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}

	.hita-primary-navigation .wp-block-navigation__responsive-container.is-menu-open {
		display: flex !important;
	}

	.hita-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		align-items: stretch;
		width: 100%;
	}

	.hita-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		width: 100%;
		font-size: var(--wp--preset--font-size--body-large);
	}

	.hita-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .current-menu-item > .wp-block-navigation-item__content,
	.hita-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content[aria-current="page"] {
		position: relative;
		box-shadow: none;
	}

	.hita-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .current-menu-item > .wp-block-navigation-item__content::before,
	.hita-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content[aria-current="page"]::before {
		position: absolute;
		inset-block-start: 50%;
		inset-inline-start: calc(var(--hita-compact) * -1);
		width: 2px;
		height: 1.25em;
		transform: translateY(-50%);
		background: var(--hita-accent);
		content: "";
	}
}

@media (max-width: 48rem) {
	.c-grid,
	.c-split,
	.hita-about__sections,
	.hita-home-hero__copy,
	.hita-membership__grid,
	.hita-home .hita-page-section,
	.hita-contact .hita-page-section {
		grid-template-columns: minmax(0, 1fr);
	}

	.hita-home-hero__copy > :is(.u-eyebrow, h1, .hita-home-hero__support, .wp-block-buttons) {
		grid-column: 1;
		grid-row: auto;
	}

	.hita-home-hero__copy > .hita-home-hero__support {
		margin-block-start: var(--hita-related);
	}

	.hita-event-grid,
	.hita-event-details__list,
	.hita-event-hero__layout:has(> .hita-event-hero__media img) {
		grid-template-columns: minmax(0, 1fr);
	}

	.hita-single-event .wp-block-post-title {
		font-size: var(--wp--preset--font-size--section-heading);
	}

	.hita-contact .hita-page-section > :not(.hita-fluent-form),
	.hita-contact .hita-fluent-form {
		grid-column: 1;
	}

	.hita-contact .hita-fluent-form {
		grid-row: auto;
		margin-block-start: var(--hita-group);
	}

	.hita-event-card article,
	.hita-news-card article {
		grid-template-columns: minmax(7rem, 0.32fr) minmax(0, 1fr);
	}

	.hita-site-footer__contact {
		justify-self: start;
	}

	.hita-footer-navigation .wp-block-navigation__container {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: stretch;
	}

	.hita-home-events__intro {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 28rem) {
	.hita-leadership__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.hita-site-header__inner,
	.hita-site-header__actions {
		gap: var(--wp--preset--spacing--compact);
	}

	.hita-site-header__inner {
		min-height: var(--wp--custom--layout--header-height-compact);
		padding-block: var(--hita-compact) var(--hita-related);
	}

	.hita-site-header .hita-brand {
		width: var(--wp--custom--layout--logo-header-compact-width);
	}

	.hita-site-header__join .wp-block-button__link {
		padding-inline: var(--hita-related);
	}

	.hita-home-hero__inner,
	.hita-pre-footer__inner {
		padding-inline: var(--hita-gutter);
	}

	.hita-event-card article,
	.hita-news-card article {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--hita-compact);
	}

	.hita-news-card__excerpt {
		grid-column: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
