/* ==========================================================================
   Island House theme styles
   Colors, fonts and sizes come from theme.json (Appearance > Editor > Styles).
   This file adds the block style variations and a few layout details.
   ========================================================================== */

:root {
	--ihl-navy: var(--wp--preset--color--navy, #1A2946);
	--ihl-gold: var(--wp--preset--color--gold, #B9923B);
	--ihl-gold-dark: var(--wp--preset--color--gold-dark, #A5822F);
	--ihl-line: var(--wp--preset--color--line, #E3DACB);
	--ihl-muted: var(--wp--preset--color--muted, #6B7385);
	--ihl-card: var(--wp--preset--color--card, #F6F1EA);
	--ihl-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

body { -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
:where(.wp-site-blocks) :focus-visible { outline: 2px solid var(--ihl-gold); outline-offset: 3px; }

/* Full-width sections stack without gaps */
.ihl-page > .alignfull,
.ihl-page > .wp-block-block > .alignfull,
.ihl-page > .wp-block-block { margin-block-start: 0; margin-block-end: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.ihl-main { margin-block: 0; }

/* ---------- Header ---------- */
.ihl-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
	background: var(--wp--preset--color--cream);
	transition: box-shadow .25s;
}
.ihl-header.is-scrolled { box-shadow: 0 1px 0 var(--ihl-line), 0 8px 24px -18px rgba(26, 41, 70, .35); }
.ihl-header__bar { min-height: 78px; }
.ihl-header .wp-block-button__link, .ihl-header .wp-block-navigation-item__content { white-space: nowrap; }
@media (min-width: 600px) and (max-width: 1080px) {
	.ihl-header .ihl-logo { --ihl-mark: 46px !important; --ihl-word: 18px !important; }
	.ihl-header .wp-block-navigation { gap: 16px; font-size: .86rem; }
	.ihl-header__cta .wp-block-button__link { padding: 10px 16px; font-size: .88rem; }
}

.ihl-header .wp-block-navigation { gap: clamp(18px, 2.6vw, 40px); }
.ihl-header .wp-block-navigation .wp-block-navigation-item__content {
	padding: 6px 0;
	border-bottom: 1.5px solid transparent;
	transition: border-color .2s;
}
.ihl-header .wp-block-navigation .wp-block-navigation-item__content:hover,
.ihl-header .wp-block-navigation .wp-block-navigation-item__content[aria-current="page"] { border-bottom-color: var(--ihl-gold); color: var(--ihl-navy); }
.ihl-header .wp-block-navigation__submenu-container {
	border: 1px solid var(--ihl-line) !important;
	background: var(--wp--preset--color--cream) !important;
	box-shadow: 0 18px 40px -24px rgba(26, 41, 70, .45);
	padding: 8px !important;
	min-width: 230px !important;
}
.ihl-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 8px 10px; border: 0; }
.ihl-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--sand); color: var(--ihl-navy); }
.ihl-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--cream) !important;
	padding: 24px clamp(20px, 5vw, 56px) !important;
}
.ihl-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 6px; }
.ihl-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-size: 1.15rem; }
.ihl-header .wp-block-navigation__responsive-container-open svg,
.ihl-header .wp-block-navigation__responsive-container-close svg { width: 28px; height: 28px; }
/* "Start a Project" link only inside the phone menu; the gold button covers larger screens */
.ihl-header .ihl-nav-cta { display: none !important; }
.ihl-header .is-menu-open .ihl-nav-cta { display: block !important; margin-top: 12px; }
.ihl-header .is-menu-open .ihl-nav-cta .wp-block-navigation-item__content { color: var(--ihl-gold); font-weight: 600; }
@media (max-width: 599px) {
	.ihl-header__cta { display: none !important; }
}
/* Medium screens (tablets): menu links only, so everything fits on one line */
@media (min-width: 600px) and (max-width: 900px) {
	.ihl-header__cta { display: none !important; }
	.ihl-header .wp-block-navigation__container { flex-wrap: nowrap; }
}
/* Phone menu: left-aligned, submenu shown as an indented list */
.ihl-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
.ihl-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.ihl-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { align-items: flex-start !important; }
.ihl-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	padding: 4px 0 4px 16px !important;
	min-width: 0 !important;
}
.ihl-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 4px 0; font-size: 1rem; color: var(--ihl-muted); }

/* ---------- Logo block ---------- */
.ihl-logo__link { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.ihl-logo__mark { width: var(--ihl-mark, 54px); height: var(--ihl-mark, 54px); flex: none; display: block; }
.ihl-logo--stacked .ihl-logo__link { flex-direction: column; gap: 14px; }
.ihl-wordmark { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; font-size: var(--ihl-word, 21px); }
.ihl-wordmark b { white-space: nowrap; font-family: "Noto Serif", Georgia, serif; font-weight: 700; font-size: 1em; letter-spacing: .012em; color: #1B2A4A; }
.ihl-wordmark i { display: block; width: 55%; height: max(1.5px, .045em); background: #C9A227; margin: .26em 0 .3em; }
.ihl-wordmark span { font-family: "Noto Sans", Arial, sans-serif; font-weight: 700; font-size: .46em; letter-spacing: 1.04em; margin-right: -1.04em; color: #C9A227; }
.ihl-logo--light .ihl-wordmark b { color: #fff; }
@media (max-width: 420px) { .ihl-header .ihl-logo { --ihl-mark: 44px !important; --ihl-word: 18px !important; } }

/* ---------- Icon block ---------- */
.ihl-icon { line-height: 0; color: var(--ihl-gold); }
.ihl-icon svg { display: inline-block; }
.ihl-icon--center { text-align: center; }
.ihl-icon--right { text-align: right; }
.ihl-icon-picker { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 16px; }
.ihl-icon-picker .components-button { justify-content: center; height: 40px; color: var(--ihl-gold); }

/* ---------- Paragraph styles ---------- */
.is-style-eyebrow {
	font-size: 11.5px !important;
	font-weight: 600;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--ihl-gold);
	line-height: 1.4;
}
:where(.wp-block-group, .wp-block-column) > .is-style-eyebrow + .wp-block-heading { margin-block-start: .9rem; }
.is-style-lede { font-size: var(--wp--preset--font-size--lede); line-height: 1.6; max-width: 34em; }
.is-style-lede:not(.ihl-center):not(.has-text-align-center) { margin-left: 0 !important; margin-right: auto !important; }
.has-text-align-center.is-style-lede { margin-inline: auto; }
.is-style-tagline-rule {
	display: flex;
	align-items: center;
	gap: 22px;
	font-size: 8.5px !important;
	letter-spacing: .24em;
	font-weight: 500;
	text-transform: uppercase;
	color: var(--ihl-muted);
}
.is-style-tagline-rule::before { content: ""; width: 42px; height: 1px; background: var(--ihl-gold); flex: none; }
.is-style-caps-links {
	font-size: 11px !important;
	letter-spacing: .24em;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--ihl-gold);
	word-spacing: 1em;
}
.is-style-caps-links a { text-decoration: none; color: inherit; border-bottom: 1px solid transparent; transition: border-color .2s; word-spacing: normal; }
.is-style-caps-links a:hover { color: inherit; border-bottom-color: currentColor; }
.is-style-step-number {
	flex: none;
	width: 36px;
	height: 36px;
	border: 1.3px solid var(--ihl-gold);
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.1rem !important;
	line-height: 1;
	color: var(--ihl-navy);
	margin: 0;
}

/* ---------- Buttons ---------- */
.wp-block-button .wp-block-button__link { display: inline-flex; align-items: center; gap: 12px; transition: background-color .2s, color .2s, border-color .2s; }
.wp-block-button .wp-block-button__link svg { width: 16px; height: 16px; transition: transform .2s; }
.ihl-main .wp-block-button:not(.is-style-text-link) .wp-block-button__link::after,
.editor-styles-wrapper .wp-block-button:not(.is-style-text-link) .wp-block-button__link::after {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--ihl-arrow) center / contain no-repeat;
	mask: var(--ihl-arrow) center / contain no-repeat;
	transition: transform .2s;
}
.ihl-form__submit .wp-block-button__link::after { display: none !important; }
.wp-block-button .wp-block-button__link:hover::after,
.wp-block-button .wp-block-button__link:hover svg { transform: translateX(3px); }

.wp-block-button.is-style-gold .wp-block-button__link { background: var(--ihl-gold); color: #fff; }
.wp-block-button.is-style-gold .wp-block-button__link:hover,
.wp-block-button.is-style-gold .wp-block-button__link:focus { background: var(--ihl-gold-dark); color: #fff; }

.wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 1px solid var(--ihl-gold);
	color: var(--ihl-gold);
	padding: 10px 24px;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--ihl-gold); color: #fff; }

.wp-block-button.is-style-text-link .wp-block-button__link {
	background: transparent;
	color: var(--ihl-gold);
	padding: 0;
	border: 0;
	font-size: .88rem;
	gap: 8px;
}
.wp-block-button.is-style-text-link .wp-block-button__link::after {
	content: "";
	width: 15px;
	height: 15px;
	background: currentColor;
	-webkit-mask: var(--ihl-arrow) center / contain no-repeat;
	mask: var(--ihl-arrow) center / contain no-repeat;
	transition: transform .2s;
}
.wp-block-button.is-style-text-link .wp-block-button__link:hover { background: transparent; color: var(--ihl-gold-dark); }

/* Navy sections: lighter text, gold accents */
.has-navy-background-color .is-style-text-link .wp-block-button__link,
.has-navy-background-color .wp-block-button.is-style-outline .wp-block-button__link { color: var(--ihl-gold); }

/* ---------- Image styles ---------- */
.wp-block-image.is-style-fade-left img,
.wp-block-image.is-style-bleed img {
	-webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%);
	mask-image: linear-gradient(to right, transparent 0%, #000 30%);
	width: 100%;
	object-fit: cover;
}
@media (min-width: 782px) {
	.wp-block-image.is-style-bleed { margin-right: calc(-1 * var(--wp--style--root--padding-right, 56px)); }
	.wp-block-image.is-style-bleed img { min-height: 100%; }
	.ihl-split { align-items: stretch !important; }
	.ihl-split > .wp-block-column:last-child { display: flex; }
	.ihl-split > .wp-block-column:last-child > .wp-block-image { flex: 1; margin-block: 0; display: flex; }
	.ihl-split > .wp-block-column:last-child > .wp-block-image img { height: 100%; }
	/* Bleed reaches the screen edge on wide screens too */
	.ihl-split .wp-block-image.is-style-bleed { margin-right: calc(-1 * max(var(--wp--style--root--padding-right, 56px), (100vw - 1180px) / 2)); }
}
@media (max-width: 781px) {
	.wp-block-image.is-style-fade-left img,
	.wp-block-image.is-style-bleed img {
		-webkit-mask-image: none;
		mask-image: none;
		max-height: 320px;
	}
	.wp-block-image.is-style-bleed { margin-inline: calc(-1 * var(--wp--style--root--padding-right, 20px)); }
}

/* ---------- Inner page headings ---------- */
.ihl-page-hero h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); max-width: 14em; }
.ihl-page-hero h1 + .is-style-lede { margin-top: 1.25rem; }

/* ---------- Hero ---------- */
.ihl-hero h1 { max-width: 8.4em; }
.ihl-hero .is-style-lede { max-width: 25em; }
.ihl-hero .wp-block-column:first-child { padding-block: clamp(48px, 7vw, 92px) clamp(40px, 5vw, 64px); }
@media (min-width: 782px) {
	.ihl-hero .wp-block-column:first-child { position: relative; z-index: 1; }
	.ihl-hero h1 { margin-right: -12%; }
}
@media (max-width: 781px) {
	.ihl-hero .wp-block-column:first-child { padding-block: 32px 8px; }
}

/* ---------- Group styles ---------- */
.wp-block-group.is-style-card { background: var(--ihl-card); padding: clamp(22px, 3vw, 32px); }
.wp-block-group.is-style-dark-card { background: var(--ihl-navy); color: var(--wp--preset--color--on-navy); padding: clamp(22px, 3vw, 32px); }
.wp-block-group.is-style-dark-card :where(h1, h2, h3, h4) { color: #fff; }
.wp-block-group.is-style-section-head {
	display: grid !important;
	grid-template-columns: 1fr minmax(16em, 21em);
	gap: 16px 48px;
	align-items: end;
}
.wp-block-group.is-style-section-head > * { margin: 0 !important; }
.wp-block-group.is-style-section-head > p { color: var(--ihl-muted); font-size: .95rem; padding-bottom: 8px; }
.has-navy-background-color .wp-block-group.is-style-section-head > p { color: var(--wp--preset--color--on-navy); }
.wp-block-group.is-style-section-head > .wp-block-buttons { justify-content: flex-end; padding-bottom: 10px; }
@media (max-width: 781px) {
	.wp-block-group.is-style-section-head { grid-template-columns: 1fr; }
	.wp-block-group.is-style-section-head > .wp-block-buttons { justify-content: flex-start; }
}

/* Navy sections */
.has-navy-background-color :where(h1, h2, h3, h4) { color: #fff; }
.has-navy-background-color { color: var(--wp--preset--color--on-navy); }

/* Feature band (sand strip with icons) */
.ihl-band .wp-block-group.ihl-band__item { gap: 16px; }
.ihl-band .ihl-band__item p { margin: 0; color: var(--ihl-navy); font-weight: 500; font-size: .9rem; line-height: 1.35; }
@media (min-width: 900px) {
	.ihl-band .ihl-grid > * + * { border-left: 1px solid var(--ihl-line); padding-left: clamp(16px, 3vw, 40px); }
}

/* Pillars on navy */
.ihl-pillars > * { text-align: center; align-items: center !important; }
.ihl-pillars p { font-size: .86rem; line-height: 1.5; max-width: 17em; margin-inline: auto; }
@media (min-width: 1000px) {
	.ihl-pillars > * + * { border-left: 1px solid rgba(201, 162, 79, .35); }
}
.ihl-pillars h3, .ihl-cards h3 { font-size: 1.15rem; }

/* Who we work with cards */
.ihl-cards > .wp-block-group { text-align: center; height: 100%; }
.ihl-cards p { font-size: .84rem; color: var(--ihl-muted); line-height: 1.45; max-width: 14em; margin-inline: auto; }
.ihl-cards h3 { margin-block: 10px 6px; }

/* Process steps */
.ihl-steps .ihl-step { gap: 14px; align-items: flex-start; flex-wrap: nowrap !important; }
.ihl-steps .ihl-step h3 { font-size: 1.15rem; margin: 4px 0 4px; }
.ihl-steps .ihl-step p:not(.is-style-step-number) { font-size: .86rem; color: var(--ihl-muted); line-height: 1.45; margin: 0; }
.ihl-steps .ihl-step > .wp-block-group { margin: 0; }

/* Detailed process (Process page) */
.ihl-process-row { border-top: 1px solid var(--ihl-line); }
.ihl-process-row .is-style-step-number { width: 48px; height: 48px; font-size: 1.4rem !important; }

/* Values */
.ihl-values > * { border-top: 1px solid var(--ihl-gold); padding-top: 20px; }
.ihl-values p { font-size: .95rem; }

/* ---------- Lists ---------- */
ul.is-style-gold-dash { list-style: none; padding-left: 0; }
ul.is-style-gold-dash li { position: relative; padding-left: 26px; margin-bottom: 8px; }
ul.is-style-gold-dash li::before { content: ""; position: absolute; left: 0; top: .8em; width: 14px; height: 1px; background: var(--ihl-gold); }

/* ---------- Media & text: brand card ---------- */
.wp-block-media-text.is-style-brand-card { background: var(--ihl-card); min-height: 200px; border: 1px solid transparent; transition: border-color .2s; }
.wp-block-media-text.is-style-brand-card:hover { border-color: var(--ihl-line); }
.wp-block-media-text.is-style-brand-card .wp-block-media-text__content { padding: 22px 20px; align-self: stretch; display: flex; flex-direction: column; }
.wp-block-media-text.is-style-brand-card .wp-block-media-text__content > .wp-block-buttons { margin-top: auto; padding-top: 12px; }
.wp-block-media-text.is-style-brand-card h3 { font-size: 1.45rem; }
.wp-block-media-text.is-style-brand-card p { font-size: .86rem; color: var(--ihl-muted); line-height: 1.5; }
.wp-block-media-text.is-style-brand-card .wp-block-media-text__media { height: 100%; align-self: stretch; }
.wp-block-media-text.is-style-brand-card .wp-block-media-text__media img { height: 100%; min-height: 220px; object-fit: cover; }
@media (max-width: 600px) {
	.wp-block-media-text.is-style-brand-card.is-stacked-on-mobile { grid-template-columns: 42% 1fr !important; }
	.wp-block-media-text.is-style-brand-card.is-stacked-on-mobile .wp-block-media-text__media { grid-column: 1; grid-row: 1; }
	.wp-block-media-text.is-style-brand-card.is-stacked-on-mobile .wp-block-media-text__content { grid-column: 2; grid-row: 1; padding: 18px 16px; }
}
.wp-block-media-text.ihl-feature .wp-block-media-text__content { padding: clamp(24px, 5vw, 64px); }
.wp-block-media-text.ihl-feature .wp-block-media-text__media { height: 100%; align-self: stretch; }
.wp-block-media-text.ihl-feature .wp-block-media-text__media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
@media (max-width: 600px) { .wp-block-media-text.ihl-feature .wp-block-media-text__media img { min-height: 240px; max-height: 300px; } }

/* ---------- Products ---------- */
.ihl-product { height: 100%; display: flex; flex-direction: column; padding: 0 !important; }
.ihl-product .wp-block-image { background: linear-gradient(180deg, #F1EBE1, #E9E1D3); margin: -1px -1px 0; padding: 18px 0 8px; }
.ihl-product .wp-block-image img { height: 190px; width: 100%; object-fit: contain; }
.ihl-product .is-style-eyebrow { margin-top: 14px; font-size: 10px !important; }
.ihl-product h3 { font-size: 1.2rem; margin-top: 6px; }
.ihl-product p { font-size: .86rem; line-height: 1.5; }
.ihl-product .ihl-meta { font-size: .78rem; color: var(--ihl-muted); border-top: 1px solid var(--ihl-line); padding-top: 10px; margin-top: auto; }
.ihl-product .ihl-meta strong { color: var(--ihl-navy); font-weight: 600; }
.ihl-product-body { padding: 0 20px 20px; display: flex; flex-direction: column; flex: 1; }
.ihl-note { font-size: .8rem; color: var(--ihl-muted); }

/* ---------- Contact ---------- */
.ihl-contact-mail a { color: var(--ihl-gold); font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; }
.ihl-contact-mail a:hover { color: var(--ihl-gold-dark); }
.ihl-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ihl-field { display: flex; flex-direction: column; }
.ihl-field--full { grid-column: 1 / -1; }
.ihl-field label { font-size: .78rem; color: var(--ihl-muted); margin-bottom: 4px; }
.ihl-req { color: var(--ihl-gold); }
.ihl-field input, .ihl-field select, .ihl-field textarea {
	width: 100%;
	background: #fff;
	border: 1px solid var(--ihl-line);
	border-radius: 2px;
	padding: 11px 12px;
	font: inherit;
	font-size: .92rem;
	color: var(--ihl-navy);
	transition: border-color .2s, box-shadow .2s;
	box-sizing: border-box;
}
.ihl-field select {
	appearance: none;
	-webkit-appearance: none;
	padding-right: 36px;
	cursor: pointer;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9923B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
}
.ihl-field textarea { min-height: 110px; resize: vertical; }
.ihl-field input:focus, .ihl-field select:focus, .ihl-field textarea:focus { outline: none; border-color: var(--ihl-gold); box-shadow: 0 0 0 3px rgba(185, 146, 59, .18); }
.ihl-field.is-invalid input, .ihl-field.is-invalid textarea { border-color: #A23B2A; }
.ihl-err { font-size: .76rem; color: #A23B2A; margin-top: 4px; }
.ihl-err:empty { display: none; }
.ihl-form__trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.ihl-form__submit { margin-top: 16px; }
.ihl-form__submit .wp-block-button__link { border: 0; cursor: pointer; font-family: inherit; }
.ihl-form__submit .wp-block-button__link:disabled { opacity: .7; cursor: wait; }
.ihl-form__note { font-size: .78rem; color: var(--ihl-muted); margin-top: 12px; }
.ihl-form__success { background: var(--ihl-card); border-left: 3px solid var(--ihl-gold); padding: 28px; }
.ihl-form__success h3 { margin: 0 0 10px; font-size: 1.6rem; }
.ihl-form__reset { background: none; border: 0; padding: 0; margin-top: 16px; color: var(--ihl-gold); font: inherit; font-size: .88rem; font-weight: 500; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.ihl-form__reset svg { width: 15px; height: 15px; }
@media (max-width: 600px) { .ihl-form__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.ihl-footer a { text-decoration: none; }
.ihl-footer .wp-block-navigation { font-size: .8rem; font-weight: 400; color: var(--wp--preset--color--on-navy); }
.ihl-footer .wp-block-navigation a:hover { color: #fff; }
.ihl-footer .ihl-foot-tag { font-size: 8.5px !important; letter-spacing: .3em; font-weight: 500; text-transform: uppercase; }
.ihl-footer .ihl-foot-tag::after { content: ""; display: block; width: 26px; height: 1px; background: var(--ihl-gold); margin: 10px 0 0 auto; }
.ihl-footer .ihl-foot-bottom { font-size: .72rem; }
.ihl-footer .ihl-foot-bottom a { color: #fff; border-bottom: 1px solid rgba(201, 162, 79, .6); }
.ihl-footer .ihl-foot-bottom a:hover { border-bottom-color: #fff; }
.ihl-footer .is-style-caps-links { color: #fff; font-size: 9.5px !important; }
@media (max-width: 781px) {
	.ihl-footer .wp-block-columns { text-align: center; }
	.ihl-footer .wp-block-navigation { justify-content: center; }
	.ihl-footer .ihl-logo { text-align: center; }
	.ihl-footer .ihl-foot-tag { text-align: center !important; }
	.ihl-footer .ihl-foot-tag::after { margin-inline: auto; }
	.ihl-footer .ihl-foot-bottom { justify-content: center !important; text-align: center; }
	.ihl-footer .ihl-logo--stacked .ihl-logo__link { margin-inline: auto; }
}

/* ---------- Alignment helpers (work in every WordPress version) ---------- */
.ihl-center { text-align: center; }
.ihl-right { text-align: right; }
.ihl-cta .ihl-center { margin-inline: auto; max-width: 40em; }
.ihl-footer .ihl-foot-motto { font-family: var(--wp--preset--font-family--serif); font-size: 1.15rem; margin-block: 26px 22px; }

/* ---------- Generic grid helpers ---------- */
.ihl-grid { align-items: stretch; }

/* ---------- Editor-only niceties ---------- */
.editor-styles-wrapper .ihl-header { position: static; }
.editor-styles-wrapper .ihl-form__success[hidden] { display: none; }
