/*
Theme Name: Algarve Home Concierge
Theme URI: https://algarvehomeconcierge.com
Description: Editorial block theme for Algarve Home Concierge. Requires the AHC Core plugin for header, footer, forms and settings.
Version: 1.0.2
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: algarve-home-concierge
*/

/* Foundations -------------------------------------------------------- */
html { scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }
body { font-kerning: normal; overflow-x: clip; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--wp--preset--color--black); outline-offset: 3px; }
a { text-underline-offset: 0.2em; text-decoration-thickness: 1px; transition: color .15s ease; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wp-site-blocks > * + * { margin-block-start: 0; }
main { display: block; }

.ahc-eyebrow {
  font-family: var(--wp--preset--font-family--label); font-weight: 500; font-size: .75rem; line-height: 1.5;
  letter-spacing: .22em; text-transform: uppercase; color: var(--wp--preset--color--gold-dark); margin: 0 0 1rem;
}
.ahc-lead { font-size: var(--wp--preset--font-size--lead); line-height: 1.55; }
.ahc-rule-short::after { content: ""; display: block; width: 4.5rem; border-top: 1px solid var(--wp--preset--color--gold); margin-top: 1.5rem; }
.ahc-fineprint { font-size: .875rem; color: var(--wp--preset--color--grey-2); }

/* Sections ----------------------------------------------------------- */
.ahc-section { padding-block: var(--wp--preset--spacing--60); margin-block: 0 !important; }
.ahc-section.is-tint { background: var(--wp--preset--color--grey-6); }
.ahc-section.is-tint .ahc-eyebrow, .ahc-section.is-tint figcaption { color: var(--wp--preset--color--grey-1); }
.ahc-section > .ahc-inner, .ahc-inner { max-width: var(--wp--style--global--wide-size); margin-inline: auto; width: 100%; }
.ahc-bleed { margin-inline: calc(var(--wp--custom--gutter) * -1) !important; max-width: none !important; width: auto !important; }
.ahc-section.ahc-bleed { padding-inline: var(--wp--custom--gutter); }
.ahc-section + .ahc-section:not(.is-tint) { padding-top: var(--wp--preset--spacing--50); }
.ahc-section-head { max-width: 46rem; margin-bottom: var(--wp--preset--spacing--50); }
.ahc-section-head h2 { margin-top: 0; }

/* Two-column label + prose */
.ahc-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--wp--preset--spacing--50); align-items: start; }
.ahc-split > * { margin-block-start: 0 !important; min-width: 0; }
.ahc-split h2 { margin-top: 0; }
.ahc-prose > :first-child { margin-top: 0; }
.ahc-prose > * + * { margin-top: 1.1em; }
.ahc-prose { max-width: 42rem; }

/* Heroes: brochure cover and service pages ---------------------------- */
.ahc-hero-photo { margin-block: 0 !important; position: relative; background: var(--wp--preset--color--grey-6); }
.ahc-hero-photo img { display: block; width: 100%; height: clamp(18rem, 58vh, 44rem); object-fit: cover; }
.ahc-hero--home .ahc-hero-photo img { height: clamp(20rem, 68vh, 52rem); }
.ahc-hero-photo figcaption { position: absolute; right: var(--wp--custom--gutter); bottom: -1.75rem; margin: 0; }
.ahc-hero-band { padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--60); }
.ahc-hero-band h1 { margin: 0; }
.ahc-hero-band h1 em { color: var(--wp--preset--color--grey-1); }
.ahc-hero-band .wp-block-buttons { margin-top: 1.75rem; }
.ahc-hero--home .ahc-hero-name { font-family: var(--wp--preset--font-family--label); }

.ahc-hero-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: stretch; margin-block: 0 !important; }
.ahc-hero-split > * { margin-block-start: 0 !important; min-width: 0; }
.ahc-hero-split__text { padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50) var(--wp--preset--spacing--60) 0; align-self: center; max-width: 44rem; margin-left: auto; width: 100%; }
.ahc-hero-split__text h1 { margin: 0; }
.ahc-hero-split__image { margin: 0 calc(var(--wp--custom--gutter) * -1) 0 0 !important; display: flex; flex-direction: column; }
.ahc-hero-split__image img { display: block; width: 100%; flex: 1; min-height: 28rem; max-height: 82vh; object-fit: cover; object-position: 40% 15%; }
.ahc-hero-split__image figcaption { padding: .5rem var(--wp--custom--gutter) 0 0; text-align: right; margin: 0; }

.ahc-hero-plain { padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50); }
.ahc-hero-plain h1 { margin: 0; max-width: 18em; }
.ahc-hero-plain .ahc-lead { max-width: 40rem; margin-top: 1.25rem; }

/* Image + text */
.ahc-image-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--wp--preset--spacing--60); align-items: center; }
.ahc-image-text > * { margin-block-start: 0 !important; min-width: 0; }
.ahc-image-text.is-reversed > figure { order: 2; }
.ahc-image-text figure { margin: 0; }
.ahc-image-text img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; }
.ahc-image-text.is-landscape img { aspect-ratio: 3 / 2; }
.ahc-image-text h2 { margin-top: 0; }

/* Numbered services (brochure pages 2-3) */
.ahc-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--wp--preset--spacing--50) var(--wp--preset--spacing--60); }
.ahc-services > * { margin-block-start: 0 !important; min-width: 0; }
.ahc-service { border-top: 1px solid var(--wp--preset--color--gold); padding-top: 1.25rem; }
.ahc-service__num { font-family: var(--wp--preset--font-family--display); font-size: 1.75rem; line-height: 1; color: var(--wp--preset--color--gold-dark); margin: 0 0 .75rem; font-feature-settings: "lnum"; }
.ahc-service h3 { margin: 0 0 .6rem; }
.ahc-service h3 a { text-decoration: none; color: inherit; }
.ahc-service h3 a:hover { color: var(--wp--preset--color--gold-dark); }
.ahc-service p { margin: 0 0 .75rem; }
.ahc-link-arrow { font-family: var(--wp--preset--font-family--label); font-size: .78rem; font-weight: 500; letter-spacing: .04em; margin-top: .75rem !important; }
.ahc-link-arrow a::after { content: " \2192"; }

/* Three cards under hairlines */
.ahc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--wp--preset--spacing--50); }
.ahc-cards.is-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ahc-cards > * { margin-block-start: 0 !important; min-width: 0; border-top: 1px solid var(--wp--preset--color--gold); padding-top: 1.25rem; }
.ahc-cards h3 { margin: 0 0 .6rem; }
.ahc-cards p { margin: 0 0 .75rem; }
.ahc-cards ul { margin: .5rem 0 0; }

/* Lists */
.ahc-section ul.wp-block-list { padding-left: 1.1rem; }
.ahc-section ul.wp-block-list li { margin-bottom: .4rem; }
.ahc-section ul.wp-block-list li::marker { color: var(--wp--preset--color--gold-dark); }

/* Steps */
.ahc-steps { display: grid; gap: 0; counter-reset: step; }
.ahc-step { display: grid; grid-template-columns: 5rem minmax(0, 18rem) minmax(0, 1fr); gap: var(--wp--preset--spacing--40); border-top: 1px solid var(--wp--preset--color--grey-5); padding-block: var(--wp--preset--spacing--40); margin-block: 0 !important; }
.ahc-step > * { margin-block-start: 0 !important; margin-bottom: 0; }
.ahc-step__num { font-family: var(--wp--preset--font-family--display); font-size: 1.75rem; line-height: 1.1; color: var(--wp--preset--color--gold-dark); font-feature-settings: "lnum"; }
.ahc-step h3 { margin-top: 0; }

/* Statement */
.ahc-statement { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--wp--preset--spacing--60); align-items: center; }
.ahc-statement > * { margin-block-start: 0 !important; min-width: 0; }
.ahc-statement figure { margin: 0; }
.ahc-statement img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 36% 0; }
.ahc-statement h2 { margin-top: 0; font-style: italic; }
.ahc-sig { font-family: var(--wp--preset--font-family--display); font-style: italic; color: #000; font-size: 1.25rem; }

/* Closing CTA */
.ahc-cta { border-top: 1px solid var(--wp--preset--color--gold); padding-top: var(--wp--preset--spacing--50); }
.ahc-closing { margin-top: var(--wp--preset--spacing--50) !important; font-size: var(--wp--preset--font-size--heading-3); }
.ahc-cta__line { font-family: var(--wp--preset--font-family--display); font-style: italic; font-size: var(--wp--preset--font-size--heading-2); line-height: 1.15; color: #000; margin: 0; font-weight: 400; }
.ahc-cta .wp-block-buttons { margin-top: 1.5rem; }
.ahc-phone-line { font-family: var(--wp--preset--font-family--label); font-weight: 500; letter-spacing: .04em; font-size: 1.125rem; margin-top: 1.25rem; color: #000; }
.ahc-phone-line a { text-decoration: none; color: inherit; }
.ahc-phone-line a:hover { color: var(--wp--preset--color--gold-dark); }

/* Buttons */
.wp-element-button, .wp-block-button__link, .ahc-button { padding: .95rem 1.6rem; display: inline-block; text-decoration: none; line-height: 1.3; cursor: pointer; transition: background-color .15s ease, color .15s ease; border: 1px solid transparent; }
.wp-block-button.is-style-outline > .wp-block-button__link, .ahc-button--ghost { background: transparent; color: #000; border: 1px solid #000; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover, .ahc-button--ghost:hover { background: #000; color: #fff; }
.wp-block-buttons { gap: .75rem; }

/* FAQ */
.ahc-faq-group + .ahc-faq-group { margin-top: var(--wp--preset--spacing--50); }
.ahc-faq-group h2 { font-size: var(--wp--preset--font-size--heading-3); margin: 0 0 1rem; }
.wp-block-details { border-top: 1px solid var(--wp--preset--color--grey-5); padding-block: 1.1rem; margin-block: 0 !important; }
.wp-block-details summary { font-family: var(--wp--preset--font-family--display); color: #000; font-size: 1.1875rem; line-height: 1.3; cursor: pointer; }
.wp-block-details > p { margin: .75rem 0 .25rem; max-width: 44rem; }

/* Legal */
.ahc-legal { max-width: 46rem; }
.ahc-legal h2 { font-size: var(--wp--preset--font-size--heading-3); margin: 2.25rem 0 .6rem; }

/* Journal */
.ahc-journal .wp-block-post-template { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--wp--preset--spacing--50); padding: 0; list-style: none; }
.ahc-journal .wp-block-post { border-top: 1px solid var(--wp--preset--color--gold); padding-top: 1.25rem; margin: 0; }
.ahc-journal .wp-block-post-title { font-size: var(--wp--preset--font-size--heading-3); margin: 0 0 .6rem; }
.ahc-journal .wp-block-post-title a { text-decoration: none; }
.wp-block-post-terms a { font-family: var(--wp--preset--font-family--label); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--wp--preset--color--gold-dark); }
.ahc-article { max-width: 44rem; margin-inline: auto; padding-bottom: var(--wp--preset--spacing--60); }
.ahc-article h2 { font-size: var(--wp--preset--font-size--heading-3); margin-top: 2.25rem; }

/* Breadcrumbs */
.ahc-breadcrumbs { max-width: var(--wp--style--global--wide-size); margin: 0 auto; padding-top: 1rem; font-size: .8125rem; color: var(--wp--preset--color--grey-2); }
.ahc-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .5rem; padding: 0; margin: 0; }
.ahc-breadcrumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--wp--preset--color--grey-3); }
.ahc-breadcrumbs a { color: inherit; }

/* Header -------------------------------------------------------------- */
.ahc-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--wp--preset--color--grey-5); margin-inline: calc(var(--wp--custom--gutter) * -1); padding-inline: var(--wp--custom--gutter); }
.admin-bar .ahc-header { top: 32px; }
.ahc-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; max-width: var(--wp--style--global--wide-size); margin-inline: auto; min-height: 4.5rem; }
.ahc-brand { text-decoration: none; color: #000; font-family: var(--wp--preset--font-family--display); font-size: 1.3125rem; line-height: 1.1; white-space: nowrap; }
.ahc-nav { display: flex; align-items: center; gap: 1.5rem; }
.ahc-nav ul { list-style: none; margin: 0; padding: 0; }
.ahc-nav__menu { display: flex; align-items: center; gap: 1.35rem; }
.ahc-nav__menu > li { position: relative; display: flex; align-items: center; }
.ahc-nav a { font-family: var(--wp--preset--font-family--label); font-size: .78rem; font-weight: 500; letter-spacing: .04em; text-decoration: none; color: var(--wp--preset--color--grey-1); }
.ahc-nav a:hover, .ahc-nav .current-menu-item > a, .ahc-nav .current-page-ancestor > a { color: var(--wp--preset--color--gold-dark); }
.ahc-nav .sub-menu { position: absolute; top: 100%; left: -1.25rem; min-width: 19rem; background: #fff; border: 1px solid var(--wp--preset--color--grey-5); padding: .75rem 1.25rem; display: none; z-index: 10; }
.ahc-nav .sub-menu li { padding-block: .35rem; }
.ahc-nav .menu-item-has-children:hover > .sub-menu, .ahc-nav .menu-item-has-children:focus-within > .sub-menu, .ahc-nav .menu-item-has-children.is-open > .sub-menu { display: block; }
.ahc-subtoggle { min-width: 24px; min-height: 24px; background: none; border: 0; padding: .25rem; margin-left: .15rem; cursor: pointer; color: inherit; line-height: 1; font-size: .7rem; }
.ahc-lang { display: flex; gap: .5rem; font-family: var(--wp--preset--font-family--label); font-size: .75rem; }
.ahc-lang a[aria-current="true"] { color: #000; font-weight: 600; text-decoration: underline; text-underline-offset: .25em; }
.ahc-menu-toggle { display: none; background: none; border: 1px solid var(--wp--preset--color--grey-1); padding: .55rem .9rem; font-family: var(--wp--preset--font-family--label); font-size: .75rem; color: #000; cursor: pointer; }
.ahc-header .ahc-button { font-family: var(--wp--preset--font-family--label); font-size: .72rem; letter-spacing: .06em; padding: .65rem 1rem; background: #000; color: #fff; font-weight: 500; white-space: nowrap; }
.ahc-header .ahc-button:hover { background: var(--wp--preset--color--gold-dark); color: #fff; }

/* Footer -------------------------------------------------------------- */
.ahc-footer { border-top: 1px solid var(--wp--preset--color--grey-5); padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40); margin-top: 0; font-size: .9375rem; }
.ahc-footer__grid { display: grid; grid-template-columns: 2fr 2fr 1.2fr; gap: var(--wp--preset--spacing--50); max-width: var(--wp--style--global--wide-size); margin-inline: auto; }
.ahc-footer h2 { font-family: var(--wp--preset--font-family--label); font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--wp--preset--color--gold-dark); margin: 0 0 1rem; }
.ahc-footer ul { list-style: none; margin: 0; padding: 0; }
.ahc-footer li { margin-bottom: .4rem; }
.ahc-footer a { text-decoration: none; }
.ahc-footer a:hover { text-decoration: underline; }
.ahc-footer__brand { font-family: var(--wp--preset--font-family--display); color: #000; font-size: 1.5rem; margin: 0 0 .75rem; line-height: 1.15; }
.ahc-footer__base { max-width: var(--wp--style--global--wide-size); margin: var(--wp--preset--spacing--50) auto 0; padding-top: 1.25rem; border-top: 1px solid var(--wp--preset--color--grey-5); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; font-size: .8125rem; color: var(--wp--preset--color--grey-2); }
.ahc-footer__base p { margin: 0; flex: 1 1 auto; }
.ahc-assoc { text-align: right; }
.ahc-assoc img { display: block; width: 10rem; height: auto; margin: .4rem 0 0 auto; }
.ahc-linkbutton { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: none; cursor: pointer; }
.ahc-linkbutton:hover { text-decoration: underline; }

/* Forms --------------------------------------------------------------- */
.ahc-form { max-width: 46rem; }
.ahc-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1.5rem; }
.ahc-field { display: flex; flex-direction: column; min-width: 0; }
.ahc-field--full, .ahc-form fieldset { grid-column: 1 / -1; }
.ahc-form label, .ahc-form legend { font-family: var(--wp--preset--font-family--label); font-size: .78rem; font-weight: 500; letter-spacing: .03em; color: #000; margin-bottom: .4rem; padding: 0; }
.ahc-form .ahc-optional { font-weight: 400; color: var(--wp--preset--color--grey-1); }
.ahc-form input[type=text], .ahc-form input[type=email], .ahc-form input[type=tel], .ahc-form select, .ahc-form textarea {
  box-sizing: border-box; font: inherit; color: #000; background: #fff; width: 100%; padding: .7rem .8rem; border: 1px solid var(--wp--preset--color--grey-2); border-radius: 0;
}
.ahc-form textarea { min-height: 9rem; resize: vertical; }
.ahc-form fieldset { border: 0; padding: 0; margin: 0; }
.ahc-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .35rem 1.5rem; }
.ahc-checks label { font-family: var(--wp--preset--font-family--body); font-size: 1rem; font-weight: 400; letter-spacing: 0; color: var(--wp--preset--color--grey-1); display: flex; gap: .55rem; align-items: flex-start; margin: 0; }
.ahc-checks input { margin-top: .4rem; accent-color: #000; }
.ahc-form__notice { font-size: .875rem; color: var(--wp--preset--color--grey-1); margin: 1.5rem 0; }
.ahc-form__hp { position: absolute !important; left: -9999px; height: 1px; overflow: hidden; }
.ahc-form__errors { border: 1px solid #9b1c1c; padding: 1rem 1.25rem; margin-bottom: 1.5rem; color: #7f1d1d; }
.ahc-form__errors h2, .ahc-form__errors p { font-family: var(--wp--preset--font-family--body); font-size: 1rem; font-weight: 700; color: inherit; margin: 0 0 .4rem; }
.ahc-form__errors ul { margin: 0; padding-left: 1.1rem; }
.ahc-form__errors a { color: inherit; }
.ahc-field__error { color: #7f1d1d; font-size: .875rem; margin-top: .3rem; }
.ahc-field.has-error input, .ahc-field.has-error textarea, .ahc-field.has-error select { border-color: #9b1c1c; border-width: 2px; }

/* Consent ------------------------------------------------------------- */
.ahc-consent { position: fixed; inset: auto 0 0 0; z-index: 300; background: #fff; border-top: 1px solid var(--wp--preset--color--gold); padding: 1.25rem var(--wp--custom--gutter); font-size: .9375rem; box-shadow: 0 -1px 0 var(--wp--preset--color--grey-5); }
.ahc-consent[hidden] { display: none; }
.ahc-consent__inner { max-width: var(--wp--style--global--wide-size); margin-inline: auto; display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.ahc-consent__inner p { margin: 0; flex: 1 1 28rem; }
.ahc-consent__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.ahc-consent button, .ahc-consent-dialog button.ahc-button { font-family: var(--wp--preset--font-family--label); font-size: .75rem; font-weight: 500; letter-spacing: .05em; padding: .7rem 1rem; background: #000; color: #fff; border: 1px solid #000; cursor: pointer; border-radius: 0; }
.ahc-consent button:hover, .ahc-consent-dialog button.ahc-button:hover { background: var(--wp--preset--color--gold-dark); border-color: var(--wp--preset--color--gold-dark); }
.ahc-consent-dialog { border: 1px solid var(--wp--preset--color--grey-5); padding: 2rem; max-width: 36rem; width: calc(100% - 2rem); color: var(--wp--preset--color--grey-1); }
.ahc-consent-dialog::backdrop { background: rgba(0, 0, 0, .45); }
.ahc-consent-dialog h2 { font-size: var(--wp--preset--font-size--heading-3); margin: 0 0 .75rem; }
.ahc-consent-dialog fieldset { border: 0; border-top: 1px solid var(--wp--preset--color--grey-5); margin: 0; padding: .9rem 0; }
.ahc-consent-dialog label { display: flex; gap: .6rem; font-weight: 700; color: #000; }
.ahc-consent-dialog p { margin: .3rem 0 0; font-size: .9375rem; }
.ahc-consent-dialog .ahc-consent__actions { margin-top: 1rem; }

/* Responsive ---------------------------------------------------------- */
@media (max-width: 1180px) {
  .ahc-menu-toggle { display: inline-block; }
  .ahc-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--wp--preset--color--grey-5); padding: 1rem var(--wp--custom--gutter) 1.5rem; flex-direction: column; align-items: flex-start; max-height: calc(100vh - 4.5rem); overflow-y: auto; }
  .ahc-nav.is-open { display: flex; }
  .ahc-nav__menu { flex-direction: column; align-items: flex-start; width: 100%; gap: 0; }
  .ahc-nav__menu > li { flex-wrap: wrap; width: 100%; padding-block: .5rem; border-bottom: 1px solid var(--wp--preset--color--grey-6); }
  .ahc-nav a { font-size: .9375rem; }
  .ahc-nav .sub-menu { position: static; width: 100%; border: 0; padding: .4rem 0 .2rem 1rem; min-width: 0; }
  .ahc-nav .menu-item-has-children:hover > .sub-menu, .ahc-nav .menu-item-has-children:focus-within > .sub-menu { display: none; }
  .ahc-nav .menu-item-has-children.is-open > .sub-menu { display: block; }
  .ahc-subtoggle { margin-left: auto; padding: .5rem .75rem; font-size: .85rem; }
}
@media (max-width: 860px) {
  .ahc-split, .ahc-image-text, .ahc-statement, .ahc-hero-split { grid-template-columns: minmax(0, 1fr); }
  .ahc-image-text.is-reversed > figure { order: 0; }
  .ahc-services, .ahc-cards, .ahc-cards.is-2, .ahc-journal .wp-block-post-template { grid-template-columns: minmax(0, 1fr); }
  .ahc-hero-split__image { order: -1; margin: 0 calc(var(--wp--custom--gutter) * -1) !important; }
  .ahc-hero-split__image img { max-height: 60vh; min-height: 18rem; }
  .ahc-hero-split__text { padding: var(--wp--preset--spacing--50) 0 var(--wp--preset--spacing--50); }
  .ahc-hero-split__image figcaption { padding-right: var(--wp--custom--gutter); }
  .ahc-step { grid-template-columns: 3.5rem minmax(0, 1fr); }
  .ahc-step > p:last-child { grid-column: 2; }
  .ahc-footer__grid { grid-template-columns: minmax(0, 1fr); }
  .ahc-form__grid, .ahc-checks { grid-template-columns: minmax(0, 1fr); }
  .ahc-assoc { text-align: left; }
  .ahc-assoc img { margin-left: 0; }
  .admin-bar .ahc-header { top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .ahc-header, .ahc-consent, .ahc-footer__grid { display: none; }
}
