.footer-inner-columns {
    padding-bottom: 0;
}

.footer-socials svg {
    width: 2rem;
}

.footer-socials {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    margin-top: 0;
}

.demo-footer {
    padding-right: var(--wp--style--root--padding-right);
    padding-left: var(--wp--style--root--padding-left);
    padding-top: var(--wp--preset--spacing--70);
    padding-bottom: var(--wp--preset--spacing--70);
}

.demo-footer a {
    text-decoration: none;
}

.demo-footer a:hover {
    text-decoration: underline;
}

footer.wp-block-template-part {
    margin-top: 0;
}
.footer-inner.alignwide {
    width: 100%;
}

.footer-menu-disclaimer ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1rem;
}

img.footer-logo {
    width: 100%;
    margin: 1rem 0;
}

ul.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

p.footer-column-title {
    font-weight: bold;
}

.demo-main {
  overflow: clip;
}

.demo-eyebrow {
  opacity: .5;
  margin-bottom: 0;
  font-size: 1.3125em;
  font-weight: 600;
}

.demo-p {
  max-width: 19em;
  margin-bottom: 0;
  font-size: 1.3125em;
  font-weight: 600;
}

.demo-header {
  grid-column-gap: 7.5em;
  grid-row-gap: 7.5em;
  letter-spacing: -.02em;
  border-bottom: 1px solid #201d1d26;
  flex-flow: column;
  justify-content: space-between;
  width: 100%;
  min-height: 100svh;
  padding: 2.5em;
  font-weight: 600;
  display: flex;
  position: relative;
}

.demo-header__nav-row {
  justify-content: space-between;
  align-items: flex-start;
  display: flex;
}

.demo-header__title-row {
  grid-column-gap: 2.5em;
  grid-row-gap: 2.5em;
  padding-left: calc(33.3333% + .833333em);
  display: flex;
}

.demo-header__info-row {
  grid-column-gap: 2.5em;
  grid-row-gap: 2.5em;
  display: flex;
}

.demo-header__col {
  grid-column-gap: 3em;
  grid-row-gap: 3em;
  flex-flow: column;
  justify-content: space-between;
  width: calc(33.3333% - 1.66667em);
  display: flex;
}

.demo-header__h1 {
  letter-spacing: -.03em;
  max-width: 11em;
  font-size: 4em;
  font-weight: 600;
  line-height: .95;
}

.demo-header__img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}

.demo-header__logo {
  width: 15em;
}

.demo-header__nav-a {
  margin-bottom: 0;
  font-size: 1.3125em;
  font-weight: 600;
}

.footer-wrap {
  position: relative;
  overflow: hidden;
}

.demo-footer {
  
  display: flex;
	flex-direction: column;
	align-items: center;
  position: relative;
}

.demo-footer__links-row {
  grid-column-gap: 2.5em;
  grid-row-gap: 2.5em;
  display: flex;
}

.demo-footer__logo-row {
  grid-column-gap: 1em;
  grid-row-gap: 1em;
  flex-flow: column;
  display: flex;
}

.demo-footer__col {
  grid-column-gap: 3em;
  grid-row-gap: 3em;
  flex-flow: column;
  width: calc(33.3333% - 1.66667em);
  display: flex;
}

.demo-footer__links {
  grid-column-gap: .25em;
  grid-row-gap: .25em;
  flex-flow: column;
  align-items: flex-start;
  display: flex;
}

.demo-footer__a {
  color: inherit;
  font-size: 2.75em;
  line-height: 1;
  text-decoration: none;
}

.footer-wrap__dark {
  opacity: 0;
  pointer-events: none;
  background-color: #201d1d;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

@media screen and (max-width: 991px) {
  .demo-header__title-row {
    padding-left: 0;
  }

  .demo-header__info-row {
    flex-flow: column;
  }

  .demo-header__col {
    width: 100%;
  }

  .demo-header__logo {
    width: 50vw;
  }

  .demo-footer__links-row {
    flex-flow: column;
  }

  .demo-footer__logo-row {
    grid-column-gap: 1.5em;
    grid-row-gap: 1.5em;
  }

  .demo-footer__col {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .demo-eyebrow {
    font-size: 1em;
  }

  .demo-p {
    max-width: 100%;
    font-size: 1.25em;
  }

 

  .demo-eyebrow {
    font-size: 1em;
  }

  .demo-footer__col {
    grid-column-gap: 1em;
    grid-row-gap: 1em;
  }

  .demo-footer__a {
    font-size: 1.75em;
  }

  .demo-header__info-row {
    grid-column-gap: 1em;
    grid-row-gap: 1em;
  }

  .demo-header__h1 {
    font-size: 3em;
  }

  .demo-header__nav-a {
    max-width: 100%;
    font-size: 1em;
  }
}

/* ------------------------- Scaling System by Osmo [https://osmo.supply/] -------------------------  */

/* Desktop */
:root {
  --size-unit: 16; /* body font-size in design - no px */
  --size-container-ideal: 1440; /* screen-size in design - no px */
  --size-container-min: 992px;
  --size-container-max: 1920px;
  --size-container: clamp(var(--size-container-min), 100vw, var(--size-container-max));
  --size-font: calc(var(--size-container) / (var(--size-container-ideal) / var(--size-unit)));
}

/* Tablet */
@media screen and (max-width: 991px) {
  :root {
    --size-container-ideal: 834; /* screen-size in design - no px */
    --size-container-min: 768px;
    --size-container-max: 991px;
  }
}

/* Mobile Landscape */
@media screen and (max-width: 767px) {
  :root {
    --size-container-ideal: 390; /* screen-size in design - no px */
    --size-container-min: 480px;
    --size-container-max: 767px;
  }
}

/* Mobile Portrait */
@media screen and (max-width: 479px) {
  :root {
    --size-container-ideal: 390; /* screen-size in design - no px */
    --size-container-min: 320px;
    --size-container-max: 479px;
  }
}

/* ------------------------- Underline Link [https://osmo.supply/] -------------------------  */

[data-underline-link] {
  text-decoration: none;
  position: relative;
}

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

@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);
  }  
}


.footer-logo-mobile {
    display: none;
}



/* Two halves: newsletter and partner logo on the left; on the right, contact
   and links side by side with the footer logo underneath across both. */
/* minmax(0, 1fr) rather than 1fr: a plain 1fr cannot shrink below its
   longest word, and the contact email would push its column wider than the
   links beside it. */
.block-footer-vrw .footer-inner-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4rem;
}

.block-footer-vrw .footer-column-right {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 4rem;
    align-content: start;
}

/* Long email addresses break rather than overflow their column */
.block-footer-vrw .footer-inner-column {
    overflow-wrap: anywhere;
}

.block-footer-vrw .footer-column-right .footer-logo {
    grid-column: 1 / -1;
    margin: 0;
}






/* Tablet: the newsletter takes the full width, with contact, links and the
   logo underneath in their own two-column grid. */
@media (max-width: 991px) {

    .block-footer-vrw .footer-inner-columns {
        grid-template-columns: minmax(0, 1fr);
        gap: 3rem;
    }

}

/* Phone: one column throughout */
@media (max-width: 599px) {

    .block-footer-vrw .footer-column-right {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    /* The mobile logo replaces the desktop one, but only when one is set */
    .block-footer-vrw .footer-column-right:has(.footer-logo-mobile) .footer-logo-desktop {
        display: none;
    }

    .block-footer-vrw .footer-logo-mobile {
        display: block;
    }

    .footer-logo-mobile img {
        width: 100%;
    }

    .footer-menu-disclaimer ul {
        flex-direction: column;
        gap: 0.25rem;
    }

}



/* --------------------------------------------------------------------------
   Partner logo — under the newsletter, links off-site
   -------------------------------------------------------------------------- */

.footer-partner {
    margin-top: var(--wp--preset--spacing--50);
}

.footer-partner img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 4rem;
}

.demo-footer a img {
    height: 30px;
}



/* --------------------------------------------------------------------------
   Newsletter form (Gravity Forms, form 1)
   -------------------------------------------------------------------------- */

.newsletter-wrapper legend {
    display: none !important;
}

.newsletter-wrapper .gform_wrapper.gravity-theme .gfield_required {
    display: none;
}

.newsletter-wrapper input#input_1_1 {
    width: 100%;
}

.newsletter-wrapper .gform_wrapper.gravity-theme .gfield input,
.newsletter-wrapper .gform_wrapper.gravity-theme .gfield select {
    background: transparent;
    border: 1px solid;
    color: #e9e6d8;
    padding: 1rem;
}

.newsletter-wrapper span.gform-field-label__text {
    font-weight: normal;
}

.newsletter-wrapper .gform_wrapper.gravity-theme .gfield_label {
    margin-bottom: 0;
}

.newsletter-wrapper button#gform_submit_button_1 {
    background-color: var(--wp--preset--color--base);
    border-width: 0;
    color: var(--wp--preset--color--contrast);
    font-family: var(--wp--preset--font-family--geist);
    font-size: var(--wp--preset--font-size--small);
    font-style: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    padding-top: 1rem;
    padding-right: 2.25rem;
    padding-bottom: 1rem;
    padding-left: 2.25rem;
    text-decoration: none;
    text-transform: inherit;
}
