/*
Theme Name: Twenty Twenty-Five
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 2.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */

* {
    box-sizing: border-box;
 }
a {
    text-decoration-thickness: 1px !important;
    text-underline-offset: .1em;
}

:where(.wp-site-blocks *:focus) {
    outline: none; /* Remove default focus */
}

:where(.wp-site-blocks *:focus-visible) {
    outline: 2px solid #000; /* Or use your preferred color/style */
}


/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}


:root {
    --color-current-80: color-mix(in srgb, currentColor 80%, transparent);
    --color-current-60: color-mix(in srgb, currentColor 60%, transparent);

    /* One style for every uppercase element (labels, menu, buttons, …) */
    --uppercase-font-weight: 500;
    --uppercase-letter-spacing: 0.04em;

    /* Body text */
    --body-line-height: 1.45;

    /* Page hero titles: between xxx-large (max 56px) and the h1 (max 92px) */
    --hero-title-size: clamp(48px, 6.5vw, 80px);

    /* Arizona Flare tracking — tighter as the size grows */
    --arizona-tracking-xl: -0.04em;  /* display: h1 / xxxx-large */
    --arizona-tracking-l: -0.03em;   /* headings: h2, h3, xx-/xxx-large */
    --arizona-tracking-m: -0.015em;  /* smaller uses: x-large and below */
}

:root p, p, .is-layout-constrained > p {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--color-current-80);
}


:root h1,
:root .wp-block-heading h1,
.is-layout-constrained > h1 {
    margin-top: 2em;
    margin-bottom: 0.75em;
}

:root h2,
:root .wp-block-heading h2,
.is-layout-constrained > h2 {
    margin-top: 1.75em;
    margin-bottom: 0.65em;
}

:root h3,
:root .wp-block-heading h3,
.is-layout-constrained > h3 {
    margin-top: 1.5em;
    margin-bottom: 0.6em;
}

:root h4,
:root .wp-block-heading h4,
.is-layout-constrained > h4 {
    margin-top: 1.25em;
    margin-bottom: 0.5em;
}

:root h5,
:root .wp-block-heading h5,
.is-layout-constrained > h5 {
    margin-top: 1em;
    margin-bottom: 0.5em;
}

:root h6,
:root .wp-block-heading h6,
.is-layout-constrained > h6 {
    margin-top: 1em;
    margin-bottom: 0.5em;
	text-transform: uppercase;
	font-weight: var(--uppercase-font-weight);
	letter-spacing: var(--uppercase-letter-spacing);
}

h3 {
    font-family: var(--wp--preset--font-family--arizona-flare);
    font-size: var(--wp--preset--font-size--x-large);
    letter-spacing: var(--arizona-tracking-m);
}

/* First heading in any container shouldn't have top margin */
div > :is(h1, h2, h3, h4, h5, h6):first-child,
.entry-content > :is(h1, h2, h3, h4, h5, h6):first-child,
.wp-block-post-content > :is(h1, h2, h3, h4, h5, h6):first-child {
    margin-top: 0;
}

/* Headings that come after lower-level headings should have no top margin */
h6 + h1,
h6 + h2,
h6 + h3,
h6 + h4,
h6 + h5,
h5 + h1,
h5 + h2,
h5 + h3,
h5 + h4,
h4 + h1,
h4 + h2,
h4 + h3,
h3 + h1,
h3 + h2,
h2 + h1 {
    margin-top: 0.65em !important;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


.has-arizona-flare-font-family {
  letter-spacing: var(--arizona-tracking-m);
}
.has-xx-large-font-size.has-arizona-flare-font-family,
.has-xxx-large-font-size.has-arizona-flare-font-family {
  letter-spacing: var(--arizona-tracking-l);
}
.has-xxxx-large-font-size.has-arizona-flare-font-family,
.has-xxxx-large-font-size .has-arizona-flare-font-family {
  letter-spacing: var(--arizona-tracking-xl);
}    

.has-medium-font-size {
  line-height: 1.2;
  letter-spacing: 0;
}
.has-large-font-size {
  line-height: 1.1;
  letter-spacing: 0;
}


.has-medium-font-weight {
  font-weight: 500;
}

h1.wp-block-heading.has-xxxx-large-font-size {
    font-size: clamp(110px, 20vw, 340px) !important;
    line-height: 80%;
    margin-top: calc(120px + 4rem) !important;
    margin-bottom: 4rem !important;
    max-width: unset;
  }

/* Alignment */
.alignwide {
    max-width: var(--wp--style--global--wide-size);
    margin-left: auto;
    margin-right: auto;
}

.alignwidest {
    max-width: 2000px;
    margin-left: auto;
    margin-right: auto;
}

:root :where(.is-layout-constrained) > * {
    margin-block-start: 1rem;
    margin-block-end: 10rem;
}

:root :where(.is-layout-constrained) > *.alignfull {
    margin-block-start: 0;
    margin-block-end: 0;
}

footer.wp-block-template-part {
    margin-top: 0;
}

footer.wp-block-template-part > .wp-block-buttons {
    display: none;
}


/* Uppercase label utility */
.has-uppercase {
    font-size: var(--wp--preset--font-size--small);
    text-transform: uppercase;
    font-weight: var(--uppercase-font-weight);
    letter-spacing: var(--uppercase-letter-spacing);
}

/* Brisa always has no letter-spacing */
.has-brisa-font-family {
    letter-spacing: 0 !important;
}


/* ── GSAP slider: global defaults (shared by all slider blocks) ──────────── */
[data-gsap-slider-init] {
    --slider-status: on; /* Turn slider on/off */
    --slider-spv: 4; /* Slides per view */
    --slider-gap: 1em; /* Slides Gap */
}

@media screen and (max-width: 991px) {
    [data-gsap-slider-init] {
        --slider-status: on;
        --slider-spv: 2.725;
        --slider-gap: 1em;
    }
}

@media screen and (max-width: 767px) {
    [data-gsap-slider-init] {
        --slider-status: on;
        --slider-spv: 2.15;
        --slider-gap: 0.75em;
    }
}

@media screen and (max-width: 500px) {
    [data-gsap-slider-init] {
        --slider-status: on;
        --slider-spv: 1.25;
        --slider-gap: 0.75em;
    }
}



/* Rounded border  */
.has-rounded-border {
  border-radius: 10px;
  overflow: hidden;
}

.has-large-rounded-border {
  border-radius: 40px;
  overflow: hidden;
}

/* Has Brackets */

.has-brackets {
    display: inline-flex;
}

.has-brackets:before {
  content: "〔";
  margin-left: -0.5em;
  white-space: nowrap;
}

.has-brackets:after {
  content: "〕";
  margin-right: -0.5em;
  white-space: nowrap;
}
/* Progressive blur  */
.progressive-blur {
    pointer-events: none;
    position: fixed;
    left: 0;
    width: 100vw;
    max-width: unset;
    height: 200px;
    z-index: 50;
        margin-block-start: 0 !important;
    margin-block-end: 0 !important;
}

.progressive-blur--top { top: 0; margin: 0;}
.progressive-blur--bottom { bottom: 0; margin: 0; }

.progressive-blur::before,
.progressive-blur::after,
.progressive-blur > span:nth-child(1),
.progressive-blur > span:nth-child(2),
.progressive-blur > span:nth-child(3) {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Top: each layer covers a slice, blur increases toward edge */
.progressive-blur--top::before {
    top: 0; height: 20%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    mask-image: linear-gradient(to bottom, #f9f8e8, transparent);
    -webkit-mask-image: linear-gradient(to bottom, #f9f8e8, transparent);
}
.progressive-blur--top::after {
    top: 0; height: 40%;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    mask-image: linear-gradient(to bottom, #f9f8e8 20%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, #f9f8e8 20%, transparent);
}

.progressive-blur--bottom::before {
    bottom: 0; height: 20%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    mask-image: linear-gradient(to top, #f9f8e8, transparent);
    -webkit-mask-image: linear-gradient(to top, #f9f8e8, transparent);
}
.progressive-blur--bottom::after {
    bottom: 0; height: 40%;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    mask-image: linear-gradient(to top, #f9f8e8 20%, transparent);
    -webkit-mask-image: linear-gradient(to top, #f9f8e8 20%, transparent);
}

.progressive-blur--top span:nth-child(1) {
    top: 0; height: 60%;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    mask-image: linear-gradient(to bottom, #f9f8e8 10%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, #f9f8e8 10%, transparent);
}
.progressive-blur--top span:nth-child(2) {
    top: 0; height: 80%;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    mask-image: linear-gradient(to bottom, #f9f8e8 5%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, #f9f8e8 5%, transparent);
}
.progressive-blur--top span:nth-child(3) {
    top: 0; height: 100%;
    backdrop-filter: blur(0.5px);
    -webkit-backdrop-filter: blur(0.5px);
    mask-image: linear-gradient(to bottom, #f9f8e8 2%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, #f9f8e8 2%, transparent);
}

.progressive-blur--bottom span:nth-child(1) {
    bottom: 0; height: 60%;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    mask-image: linear-gradient(to top, #f9f8e8 10%, transparent);
    -webkit-mask-image: linear-gradient(to top, #f9f8e8 10%, transparent);
}
.progressive-blur--bottom span:nth-child(2) {
    bottom: 0; height: 80%;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    mask-image: linear-gradient(to top, #f9f8e8 5%, transparent);
    -webkit-mask-image: linear-gradient(to top, #f9f8e8 5%, transparent);
}
.progressive-blur--bottom span:nth-child(3) {
    bottom: 0; height: 100%;
    backdrop-filter: blur(0.5px);
    -webkit-backdrop-filter: blur(0.5px);
    mask-image: linear-gradient(to top, #f9f8e8 2%, transparent);
    -webkit-mask-image: linear-gradient(to top, #f9f8e8 2%, transparent);
}



/* Toggle Button  */
.btn-group {
  grid-column-gap: 3em;
  grid-row-gap: 3em;
  justify-content: center;
  display: flex;
      margin-bottom: 1rem;
}

.btn-bubble-arrow {
    border-radius: 10em;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    display: flex;
    position: relative;
    background-color: var(--wp--preset--color--accent-2);
    padding: 0.5rem;
    background-image: url(http://localhost:8893/wp-content/uploads/2026/04/background-button.png);
    background-size: 110% 110%;
    background-repeat: no-repeat;
    background-position: -5em 2em;
    transition: 0.735s cubic-bezier(0.625, 0.05, 0, 1);
    font-weight: 500;
}

.page-template-pages-dark .btn-bubble-arrow {
    background-image: url(http://localhost:8893/wp-content/uploads/2026/05/background-button-yellow.png);
}

.btn-bubble-arrow__arrow {
  border-radius: 10em;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  width: 3.75em;
  height: 3.75em;
  display: flex;
  position: relative;
  transition:  0.735s cubic-bezier(0.625, 0.05, 0, 1);
  transform: scale(0) rotate(0.001deg);
  transform-origin: left;
}

.btn-bubble-arrow__arrow.is--duplicate {
  z-index: 2;
  position: absolute;
  right: 0;
  border: 1px solid;
}

.btn-bubble-arrow__arrow-svg {
  width: 40%;
  height: 40%;
  transition: transform 0.735s cubic-bezier(0.625, 0.05, 0, 1);
  transform: rotate(0.001deg);
}
.btn-bubble-arrow__arrow-svg path {
    fill: currentColor;
}

.btn-bubble-arrow__arrow.is--duplicate {
  position: absolute;
  z-index: 2;
  right: 0;
  transform-origin: right;

   transform: scale(1) rotate(0.001deg) translateX(100%);
    right: 0;
    margin-right: calc(100% - 0.5rem);
        backdrop-filter: blur(10px);
}

.btn-bubble-arrow__content {
  justify-content: center;
  align-items: center;
     padding-left: 2rem;
    padding-right: 2rem;
  display: flex;
  position: relative;
  transition: transform 0.735s cubic-bezier(0.625, 0.05, 0, 1);
   transform: translateX(0em) rotate(0.001deg);
}

.btn-bubble-arrow__content-text {
  line-height: 1;
}

/* Hover */
.btn-bubble-arrow:hover {
    background-position: -10px 0;
}

.btn-bubble-arrow:hover .btn-bubble-arrow__content {
  transform: translateX(-3.75em) rotate(0.001deg);
}

.btn-bubble-arrow:hover .btn-bubble-arrow__arrow-svg {
  transform: rotate(-45deg);
}

.btn-bubble-arrow:hover .btn-bubble-arrow__arrow {
  transform: scale(1) rotate(0.001deg);
}

.btn-bubble-arrow:hover .btn-bubble-arrow__arrow.is--duplicate {
     transform: scale(1) rotate(0.001deg);
     margin-right: 0.5rem;
}



/* Links */
[data-underline-link] {
  text-decoration: none;
  position: relative;
      font-weight: 500;
}

[data-underline-link]::before,
[data-underline-link="alt"]::before,
[data-underline-link="alt"]::after,
[data-underline-link="active"]::before,
[data-underline-link="active"]::after {
  content: "";
  position: absolute;
  bottom: -0.0625em;
  left: 0;
  width: 100%;
  height: 0.0625em;
  background-color: currentColor;
  transition: transform 0.735s cubic-bezier(0.625, 0.05, 0, 1);
  transform-origin: right;
  transform: scaleX(0) rotate(0.001deg);
}

/* alt */
[data-underline-link="alt"]::before {
  transform-origin: left;
  transform: scaleX(1) rotate(0.001deg);
  transition-delay: 0.3s;
}

[data-underline-link="alt"]::after {
  transition-delay: 0s;
}

/* active — before starts visible, after starts hidden */
[data-underline-link="active"]::before {
  transform-origin: right;
  transform: scaleX(1) rotate(0.001deg);
  transition-delay: 0s;
}

[data-underline-link="active"]::after {
  transform-origin: left;
  transform: scaleX(0) rotate(0.001deg);
  transition-delay: 0s;
}

/* parent a hover */
a:hover [data-underline-link]::before,
a:hover [data-underline-link] span::before {
  transform-origin: left;
  transform: scaleX(1) rotate(0.001deg);
}

@media (hover: hover) and (pointer: fine) {
  /* default */
  [data-hover]:hover [data-underline-link]::before,
  [data-underline-link]:hover::before {
    transform-origin: left;
    transform: scaleX(1) rotate(0.001deg);
  }

  /* alt */
  [data-hover]:hover [data-underline-link="alt"]::before,
  [data-underline-link="alt"]:hover::before {
    transform-origin: right;
    transform: scaleX(0) rotate(0.001deg);
    transition-delay: 0s;
  }

  [data-hover]:hover [data-underline-link="alt"]::after,
  [data-underline-link="alt"]:hover::after {
    transform-origin: left;
    transform: scaleX(1) rotate(0.001deg);
    transition-delay: 0.3s;
  }

  /* active — before slides out to right, after comes in from left */
  [data-underline-link="active"]:hover::before {
    transform-origin: right;
    transform: scaleX(0) rotate(0.001deg);
    transition-delay: 0s;
  }

  [data-underline-link="active"]:hover::after {
    transform-origin: left;
    transform: scaleX(1) rotate(0.001deg);
    transition-delay: 0.3s;
  }
}



/* Modal */
#sidebar-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  pointer-events: none;
}

#sidebar-modal.is-active {
  visibility: visible;
  pointer-events: all;
}

#sidebar-modal.is-closing {
  visibility: visible;
  pointer-events: none;
}

.sidebar-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.735s cubic-bezier(0.625, 0.05, 0, 1);
  backdrop-filter: blur(20px);
}

#sidebar-modal.is-active .sidebar-modal__backdrop {
  opacity: 1;
}

#sidebar-modal.is-closing .sidebar-modal__backdrop {
  opacity: 0;
}

.sidebar-modal__panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  max-width: var(--wp--style--global--content-size);
  width: 100%;
  background: #fff;
  overflow-y: auto;
  padding: 40px;
  z-index: 10000;
  transform: translateX(100%);
  transition: transform 0.735s cubic-bezier(0.625, 0.05, 0, 1);
}

#sidebar-modal.is-active .sidebar-modal__panel {
  transform: translateX(0);
}

#sidebar-modal.is-closing .sidebar-modal__panel {
  transform: translateX(100%);
}

.sidebar-modal__close {
    background-color: var(--wp--preset--color--accent-2);
    padding: 1rem 1rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    color: inherit;
    font-size: inherit;
    border: none;
    font-family: inherit;
    display: block;
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 100000;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.735s cubic-bezier(0.625, 0.05, 0, 1);
}

#sidebar-modal.is-active .sidebar-modal__close {
    opacity: 1;
}

#sidebar-modal.is-closing .sidebar-modal__close {
    opacity: 0;
}

body.modal-open {
  overflow: hidden;
}


.sidebar-modal__panel h1.wp-block-heading.has-xxxx-large-font-size {
    font-size: clamp(110px, 20vw, 160px) !important;
    margin-top: 4rem ! IMPORTANT;
}


/* Blocks  */
/* Gallery */
.wp-block-gallery {
  gap: 0.75rem !important;
  margin-block-end: 0.75rem;
}

/* Image  */
figure.wp-block-image img {
    border-radius: 0.25em;
}


/* Intake calendar */
.intake-calendar {
    display: flex;
    gap: 1rem;
}

.intake-calendar .month {
    width: 100%;
    border: 1px solid;
    padding: 0.5rem 1rem;
    cursor: default;
    border-radius: 20px;
}

.intake-calendar .month:first-of-type {
    opacity: .5;
}

.intake-calendar p {
    margin: 0;
}
@media ( max-width: 550px ) {
.intake-calendar {
    flex-direction: column;
}
}



/* Fillout Form  */
.fillout-embed-standard .fillout-embed-iframe-container iframe {
    margin-left: -3rem;
}



/* Cursor  */
.cursor {
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    color: var(--wp--preset--color--base);
    background-color: var(--wp--preset--color--accent-4);
    border-radius: 5px;
    padding: 0.3rem 0.5rem;
    line-height: 1;
    transition: opacity .2s;
    position: fixed;
    inset: 0% auto auto 0%;
    font-weight: 500;
}

.cursor-paragraph {
  margin-top: 0;
  margin-bottom: 0;
}

body:has( [data-cursor]:hover ) .cursor{ opacity: 1; }





/* Faq */
.schema-faq {
    position: relative;
}

.wp-block-yoast-faq-block {
    display: flex;
    flex-flow: column;
    gap: .5em;
}

.schema-faq-section {
    background-color: var(--wp--preset--color--accent-2);
    border-radius: .5em;
    list-style: none;
}

.schema-faq-question {
    display: flex;
    gap: 1em;
    cursor: pointer;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    margin: 0 !important;
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 500;
        line-height: 1.1;
}

.schema-faq-question::after {
    content: '';
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 2em;
    height: 2em;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1em;
    transition: transform 0.6s cubic-bezier(0.625, 0.05, 0, 1);
    transform: rotate(180deg);
}

.schema-faq-section.is-active .schema-faq-question::after {
    transform: rotate(0.001deg);
}

.schema-faq-answer {
    overflow: hidden;
    margin: 0 !important;
    font-size: var(--wp--preset--font-size--normal);
}

.schema-faq-answer-inner {
    padding: 0 1rem 1rem;
    line-height: 1.5;
}


/* Image  */
figure.wp-block-image img {
    width: 100%;
}

.is-content-justification-center {
    justify-content: center;
}



@media (max-width: 800px) {

    .footer-bar {
        padding-bottom: 5px;
        font-size: 75%;
    }


    .btn-bubble-arrow__arrow {
        width: 2.75em;
        height: 2.75em;
    }

    .btn-bubble-arrow__content {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .btn-bubble-arrow:hover .btn-bubble-arrow__content {
      transform: translateX(-2.75em) rotate(0.001deg);
    }

    h1.wp-block-heading.has-xxxx-large-font-size {
    margin-top: 6rem !important;
}
.progressive-blur {
  height: 6rem;
}

:root :where(.is-layout-constrained) > * {
    margin-block-start: 1rem;
    margin-block-end: 7rem;
}

}

/* WhatsApp modal: hidden by default, in the head-loaded stylesheet so it never
   flashes on load before the (late-enqueued) footer block CSS applies. The
   [data-whatsapp-modal-status="active"] rules in footer.css have higher
   specificity and reveal it only when triggered. */
.whatsapp-modal__card,
.whatsapp-modal__dark {
    opacity: 0;
    visibility: hidden;
}

/* Mobile: body copy one step smaller (Normal preset is 17px on desktop) */
@media (max-width: 767px) {
    /* html:root beats the :root rule WordPress prints for the presets */
    html:root {
        --wp--preset--font-size--normal: 16px;
    }
}

/* Yoast breadcrumbs (global) — hidden on mobile */
@media (max-width: 767px) {
    p#breadcrumbs {
        display: none;
    }
}

p#breadcrumbs {
    padding: 1rem 0;
    margin: 0;
    position: absolute;
    bottom: 0;
    z-index: 2;
    font-size: var(--wp--preset--font-size--small);
    text-transform: uppercase;
    font-weight: var(--uppercase-font-weight);
    letter-spacing: var(--uppercase-letter-spacing);
    color: currentColor;
}

p#breadcrumbs a {
    text-decoration: none;
}

p#breadcrumbs a:hover {
    text-decoration: underline;
}

p#breadcrumbs:before {
    content: "";
    width: 200vw;
    position: absolute;
    height: 1px;
    background: var(--wp--preset--color--current-10);
    left: -100vw;
    margin-top: -1rem;
}

/* Full-width children inside the post content break out to the full viewport */
.entry-content .has-global-padding > .alignfull {
    margin-right: calc(var(--wp--style--root--padding-right) * -1);
    margin-left: calc(var(--wp--style--root--padding-left) * -1);
    width: 100vw;
}

/* Force a consistent font size + shared easing across all buttons.
   The transition only switches on once main.js has initialised the
   button (.btn-animate-chars), so late-loading styles (e.g. outline) don't
   animate from filled to outline on page load. */
.wp-element-button,
.wp-block-button__link {
    font-size: var(--wp--preset--font-size--small) !important;
    font-weight: var(--uppercase-font-weight);
    letter-spacing: var(--uppercase-letter-spacing);
    /* Every button gets a 1px border (transparent on filled buttons) so filled
       and outline buttons are exactly the same height */
    border: 1px solid transparent;
    transition: none;
}

.wp-element-button.btn-animate-chars,
.wp-block-button__link.btn-animate-chars {
    transition: 0.6s cubic-bezier(0.625, 0.05, 0, 1);
}

.wp-block-buttons .wp-block-button__link {
    width: 100%;
    height: auto;
}

/* Outline-style buttons — transparent fill with a 1px current-color border */
.wp-block-button.is-style-outline .wp-block-button__link {
    /* Transparent from the first paint, so it never starts dark blue */
    background-color: transparent;
    border: 1px solid var(--wp--preset--color--current-25);
    /* Same padding as the filled button (the parent theme's outline style is larger) */
    padding: 0.6rem 1.5rem;
}

/* Outline button fills in on hover */
.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--accent-4);
    border-color: var(--wp--preset--color--accent-4);
    color: var(--wp--preset--color--white) !important;
}

/* Light hero schemes (Linen, Grey, Mist Blue): outline button uses the contrast (dark) colour */
.block-hero-page.has-accent-1-background-color .wp-block-button.is-style-outline .wp-block-button__link,
.block-hero-page.has-accent-2-background-color .wp-block-button.is-style-outline .wp-block-button__link,
.block-hero-page.has-accent-6-background-color .wp-block-button.is-style-outline .wp-block-button__link,
.block-hero-page-large.has-accent-1-background-color .wp-block-button.is-style-outline .wp-block-button__link,
.block-hero-page-large.has-accent-2-background-color .wp-block-button.is-style-outline .wp-block-button__link,
.block-hero-page-large.has-accent-6-background-color .wp-block-button.is-style-outline .wp-block-button__link {
    color: var(--wp--preset--color--contrast) !important;
    border-color: var(--wp--preset--color--contrast);
}

/* …but still fills to white text on hover */
.block-hero-page.has-accent-1-background-color .wp-block-button.is-style-outline .wp-block-button__link:hover,
.block-hero-page.has-accent-2-background-color .wp-block-button.is-style-outline .wp-block-button__link:hover,
.block-hero-page.has-accent-6-background-color .wp-block-button.is-style-outline .wp-block-button__link:hover,
.block-hero-page-large.has-accent-1-background-color .wp-block-button.is-style-outline .wp-block-button__link:hover,
.block-hero-page-large.has-accent-2-background-color .wp-block-button.is-style-outline .wp-block-button__link:hover,
.block-hero-page-large.has-accent-6-background-color .wp-block-button.is-style-outline .wp-block-button__link:hover {
    color: var(--wp--preset--color--white) !important;
    border-color: var(--wp--preset--color--accent-4);
}

/* Button hover (Osmo text swap, no rotation, no icon) — structure injected
   by initButtonCharacterStagger() in main.js */
.wp-block-button__link.btn-animate-chars {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* The fill now comes from the layers below, never from the link itself */
.wp-block-button__link.btn-animate-chars,
.wp-block-button__link.btn-animate-chars:hover {
    background-color: transparent !important;
}

.btn-animate-chars__bg,
.btn-animate-chars__wipe {
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
}

.btn-animate-chars__wipe {
    background-color: var(--wp--preset--color--accent-4);
    transform: translateY(101%) rotate(0.001deg);
}

.btn-animate-chars__mask {
    position: relative;
    z-index: 1;
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    line-height: 1.3;
    vertical-align: top;
}

.btn-animate-chars__text {
    --text-duplicate-distance: 1.5em;
    display: inline-block;
    text-shadow: 0 var(--text-duplicate-distance) currentColor;
}

/* Shared easing/timing for the animated parts */
[data-button-anim-target] {
    transition: transform 0.525s cubic-bezier(0.625, 0.05, 0, 1);
}

@media (hover: hover) and (pointer: fine) {
    .btn-animate-chars:hover .btn-animate-chars__text {
        transform: translateY(calc(-1 * var(--text-duplicate-distance))) rotate(0.001deg);
    }

    .btn-animate-chars:hover .btn-animate-chars__wipe {
        transform: translateY(0) rotate(0.001deg);
    }

    /* Text turns white over the wipe */
    .wp-block-button__link.btn-animate-chars:hover {
        color: var(--wp--preset--color--white) !important;
        border-color: var(--wp--preset--color--accent-4) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    [data-button-anim-target] {
        transition: none;
    }
}

/* Underline link animation (Osmo) — plain draws in on hover; "alt" starts underlined and sweeps out then back in */
[data-underline-link] {
  text-decoration: none;
  position: relative;
}

[data-underline-link]::before,
[data-underline-link="alt"]::before,
[data-underline-link="alt"]::after {
  content: "";
  position: absolute;
  bottom: -0.0625em;
  left: 0;
  width: 100%;
  height: 0.0625em;
  background-color: currentColor;
  transition: transform 0.735s cubic-bezier(0.625, 0.05, 0, 1);
  transform-origin: right;
  transform: scaleX(0) rotate(0.001deg);
}

[data-underline-link="alt"]::before {
  transform-origin: left;
  transform: scaleX(1) rotate(0.001deg);
  transition-delay: 0.3s;
}

[data-underline-link="alt"]::after {
  transform-origin: right;
  transform: scaleX(0) rotate(0.001deg);
  transition-delay: 0s;
}

@media (hover: hover) and (pointer: fine) {
  [data-hover]:hover [data-underline-link]::before,
  [data-underline-link]:hover::before {
    transform-origin: left;
    transform: scaleX(1) rotate(0.001deg);
  }

  [data-hover]:hover [data-underline-link="alt"]::before,
  [data-underline-link="alt"]:hover::before {
    transform-origin: right;
    transform: scaleX(0) rotate(0.001deg);
    transition-delay: 0s;
  }

  [data-hover]:hover [data-underline-link="alt"]::after,
  [data-underline-link="alt"]:hover::after {
    transform-origin: left;
    transform: scaleX(1) rotate(0.001deg);
    transition-delay: 0.3s;
  }
}

/* "alt" already shows a line — animate it in on hover, but snap back on mouse-out (no re-sweep) */
[data-underline-link="alt"]::before,
[data-underline-link="alt"]::after {
  transition-duration: 0s;
  transition-delay: 0s;
}

@media (hover: hover) and (pointer: fine) {
  [data-hover]:hover [data-underline-link="alt"]::before,
  [data-underline-link="alt"]:hover::before,
  [data-hover]:hover [data-underline-link="alt"]::after,
  [data-underline-link="alt"]:hover::after {
    transition-duration: 0.735s;
  }
}


/* Contact form fields — soften the default input chrome */
.textwidget .contact-form input[type=email],
.textwidget .contact-form input[type=number],
.textwidget .contact-form input[type=tel],
.textwidget .contact-form input[type=text],
.textwidget .contact-form input[type=time],
.textwidget .contact-form input[type=url],
.textwidget .contact-form textarea,
.wp-block-column .contact-form input[type=email],
.wp-block-column .contact-form input[type=number],
.wp-block-column .contact-form input[type=tel],
.wp-block-column .contact-form input[type=text],
.wp-block-column .contact-form input[type=time],
.wp-block-column .contact-form input[type=url],
.wp-block-column .contact-form textarea {
  background: #f9f9f8;
  border-color: var(--wp--preset--color--current-10);
}

.contact-form :is(:where(label), :where(legend.grunion-field-label)) {
  font-weight: 500;
}

:where(.wp-site-blocks *:focus-visible) {
  outline: 1px solid currentColor;
}

/* ── 404 page ─────────────────────────────────────────────────────────── */
.error-404 {
    min-height: 80vh;
    min-height: 80svh;
    display: flex;
    align-items: center;
    margin-top: 0 !important;
    padding: 10rem var(--wp--style--root--padding-right) var(--wp--preset--spacing--80) var(--wp--style--root--padding-left);
}

.error-404__inner {
    width: 100%;
    max-width: var(--wp--style--global--wide-size) !important;
}

.error-404__code {
    margin: 0 0 1rem !important;
    font-size: var(--wp--preset--font-size--small);
    font-weight: 500;
    opacity: 0.6;
}

.error-404__title {
    max-width: 14ch;
    margin: 0 0 1.5rem !important;
    font-family: var(--wp--preset--font-family--arizona-flare);
    font-size: var(--wp--preset--font-size--xxx-large);
    letter-spacing: var(--arizona-tracking-l);
    line-height: 1;
}

.error-404__text {
    max-width: 32rem;
    margin: 0 0 2.5rem !important;
    opacity: 0.75;
}

.error-404__buttons {
    gap: 0.75rem;
}

.error-404__buttons .wp-block-button__link {
    width: auto;
}


/* Paragraph line height — all body text, including the medium size */
p,
p.has-medium-font-size,
.has-medium-font-size {
    line-height: var(--body-line-height);
}

/* Marquee bar active: push the heroes down by the bar's height. A transparent
   top border shows the hero's own background, so its padding stays as is. */
body.has-marquee :is(.block-hero-page, .block-hero-page-large, .block-hero-home, .woning-gallery-wrap, .error-404) {
    border-top: 2.2rem solid transparent;
}

/* ── Contact form (Jetpack) ──────────────────────────────────────────────── */
.wp-block-jetpack-contact-form {
    gap: 1.25rem !important;
    max-width: 40rem;
}

.wp-block-jetpack-contact-form > div {
    width: 100%;
}

.wp-block-jetpack-contact-form .grunion-field-label {
    display: block;
    margin: 0 0 0.5rem;
    color: var(--wp--preset--color--contrast);
    font-size: var(--wp--preset--font-size--small);
    font-weight: 500;
    line-height: 1.3;
}

.wp-block-jetpack-contact-form .grunion-label-required {
    color: var(--color-current-60);
    font-weight: 400;
    margin-left: 0.25em;
}

.wp-block-jetpack-contact-form input[type="text"],
.wp-block-jetpack-contact-form input[type="email"],
.wp-block-jetpack-contact-form input[type="tel"],
.wp-block-jetpack-contact-form input[type="url"],
.wp-block-jetpack-contact-form input[type="number"],
.wp-block-jetpack-contact-form select,
.wp-block-jetpack-contact-form textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 2.75rem;
    margin: 0;
    padding: 0.7rem 0.875rem;
    border: 1px solid var(--wp--preset--color--current-15);
    border-radius: 0;
    background-color: var(--wp--preset--color--base);
    color: var(--wp--preset--color--contrast);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.4;
    box-shadow: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wp-block-jetpack-contact-form textarea {
    height: 10rem;
    min-height: 8rem;
    resize: vertical;
}

.wp-block-jetpack-contact-form input:hover,
.wp-block-jetpack-contact-form select:hover,
.wp-block-jetpack-contact-form textarea:hover {
    border-color: var(--wp--preset--color--current-50);
}

.wp-block-jetpack-contact-form input:focus,
.wp-block-jetpack-contact-form select:focus,
.wp-block-jetpack-contact-form textarea:focus {
    outline: none;
    border-color: var(--wp--preset--color--contrast);
    box-shadow: 0 0 0 3px var(--wp--preset--color--current-10);
}

/* Validation messages — only take up space when there actually is an error */
.wp-block-jetpack-contact-form .contact-form__input-error:not(.has-errors),
.wp-block-jetpack-contact-form .contact-form__error:not(.show-errors) {
    display: none;
}

.wp-block-jetpack-contact-form .contact-form__input-error,
.wp-block-jetpack-contact-form .contact-form__error {
    margin-top: 0.4rem;
    color: var(--wp--preset--color--accent-3);
    font-size: var(--wp--preset--font-size--small);
}

.wp-block-jetpack-contact-form [aria-invalid="true"] {
    border-color: var(--wp--preset--color--accent-3);
}

/* Submit — the site's regular (filled) button, auto width */
.wp-block-jetpack-contact-form .wp-block-button {
    margin-top: 0.5rem;
}

.wp-block-jetpack-contact-form .wp-block-button__link {
    width: auto;
    cursor: pointer;
}

/* Current page ("active") underline — stays visible. Higher specificity than
   the duplicate base underline rules earlier in this file, which reset it. */
[data-underline-link][data-underline-link="active"]::before {
    transform-origin: left;
    transform: scaleX(1) rotate(0.001deg);
}

