/*
Theme Name: Porta Huasteca
Theme URI: https://portahuasteca.com
Author: chavacervantes.dev
Author URI: https://chavacervantes.dev/portafolio
Description: Tema de bloques editable para Porta Huasteca.
Version: 0.24.5
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: porta-huasteca
*/

.porta-not-found {
  box-sizing: border-box;
  width: calc(100% - 40px);
  max-width: var(--porta-content, 1400px);
  margin-inline: auto;
  padding-block: 64px;
}

.porta-not-found__copy {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.porta-not-found__code {
  margin: 0;
  color: var(--porta-muted);
  font: 600 96px/1 "Fraunces 72", serif;
  font-style: italic;
  letter-spacing: 0;
}

.porta-not-found__heading {
  color: var(--porta-ink);
  font: 600 40px/1.15 Inter, sans-serif;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.porta-not-found__description {
  color: var(--porta-muted);
  font: 400 20px/1.5 Inter, sans-serif;
  letter-spacing: 0;
}

.porta-not-found__actions.wp-block-buttons {
  gap: 16px;
  padding-top: 8px;
}

.porta-not-found__actions .wp-block-button__link {
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 28px;
  font: 600 18px/1.3 Inter, sans-serif;
  letter-spacing: 0;
  border: 2px solid transparent;
}

.porta-not-found__actions .is-style-outline .wp-block-button__link {
  border-color: var(--porta-ink);
  background: transparent;
  color: var(--porta-ink);
}

.porta-not-found__actions .wp-block-button__link:hover {
  background: var(--porta-ink);
  color: var(--porta-paper);
}

.porta-not-found__actions .wp-block-button__link:focus-visible {
  outline: 2px solid var(--porta-ink);
  outline-offset: 4px;
}

.porta-not-found__image.wp-block-image {
  margin: 48px 0 0;
}

.porta-not-found__image img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 980px) {
  .porta-not-found { width: calc(100% - 48px); }
}

@media (max-width: 560px) {
  .porta-not-found { width: calc(100% - 34px); padding-block: 40px; }
  .porta-not-found__code { font-size: 72px; }
  .porta-not-found__heading { font-size: 30px; }
  .porta-not-found__description { font-size: 17px; }
  .porta-not-found__image.wp-block-image { margin-top: 32px; }
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
	font-family: "Fraunces";
	src: url("assets/fonts/fraunces-variable.ttf") format("truetype");
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
}

@font-face {
  font-family: "Fraunces 72";
  src: url("assets/fonts/fraunces-72-semibold-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces Italic Variable";
  src: url("assets/fonts/fraunces-italic-variable.ttf") format("truetype");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --porta-ink: #253940;
  --porta-paper: #dbd6d2;
  --porta-mint: #64ead1;
  --porta-muted: #485d5a;
  --porta-footer: #26302f;
  --porta-content: 1400px;
  --porta-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --porta-heading-tracking: clamp(-2.5px, -0.17vw, -0.75px);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--porta-paper);
  color: var(--porta-ink);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body.porta-menu-open {
  overflow: hidden;
}

body.porta-preloader-active {
  overflow: hidden;
}

.porta-preloader {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  overflow: hidden;
  background: var(--porta-paper);
  color: var(--porta-ink);
  place-items: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 620ms var(--porta-ease), visibility 620ms step-end;
}

.porta-preloader::before,
.porta-preloader::after {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(37, 57, 64, 0.14);
  content: "";
  transform: scaleX(0);
}

.porta-preloader::before {
  top: 0;
  transform-origin: left;
  animation: porta-preloader-rule 1200ms var(--porta-ease) both;
}

.porta-preloader::after {
  bottom: 0;
  transform-origin: right;
  animation: porta-preloader-rule 1200ms var(--porta-ease) 100ms both;
}

.porta-preloader__stage {
  position: relative;
  display: grid;
  width: 112px;
  height: 148px;
  place-items: center;
}

.porta-preloader__mark {
  display: block;
  width: 82px;
  height: auto;
  clip-path: inset(100% 0 0);
  transform: translate3d(0, 12px, 0) scale(0.96);
  animation: porta-preloader-mark 900ms var(--porta-ease) 80ms forwards, porta-preloader-breathe 1500ms ease-in-out 980ms infinite alternate;
}

.porta-preloader__progress {
  position: absolute;
  right: 8px;
  bottom: 0;
  left: 8px;
  height: 2px;
  overflow: hidden;
  background: rgba(37, 57, 64, 0.12);
}

.porta-preloader__progress::after {
  position: absolute;
  inset: 0;
  background: var(--porta-mint);
  content: "";
  transform: translate3d(-100%, 0, 0);
  animation: porta-preloader-progress 1100ms var(--porta-ease) 120ms infinite;
}

.porta-preloader.is-leaving {
  opacity: 0;
  visibility: hidden;
}

.porta-preloader.is-leaving .porta-preloader__stage {
  opacity: 0;
  transform: translate3d(0, -10px, 0) scale(0.98);
  transition: opacity 360ms ease, transform 520ms var(--porta-ease);
}

@keyframes porta-preloader-mark {
  to {
    clip-path: inset(0);
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes porta-preloader-breathe {
  to {
    transform: translate3d(0, -3px, 0) scale(1.018);
  }
}

@keyframes porta-preloader-progress {
  0% { transform: translate3d(-100%, 0, 0); }
  55%, 100% { transform: translate3d(100%, 0, 0); }
}

@keyframes porta-preloader-rule {
  to { transform: scaleX(1); }
}

.wp-site-blocks {
  padding: 0;
}

.wp-site-blocks > header,
.wp-site-blocks > main,
.wp-site-blocks > footer {
  margin-block-start: 0;
}

.wp-site-blocks > header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 40;
  margin: 0;
}

.porta-site-header {
  position: relative;
  z-index: 1;
  min-height: 80px;
  background: rgba(219, 214, 210, 1);
  -webkit-backdrop-filter: blur(0) saturate(100%);
  backdrop-filter: blur(0) saturate(100%);
  transition: background-color 280ms ease, box-shadow 280ms ease, -webkit-backdrop-filter 280ms ease, backdrop-filter 280ms ease;
}

.porta-site-header.is-scrolled {
  background: rgba(219, 214, 210, 0.78);
  box-shadow: 0 1px 0 rgba(37, 57, 64, 0.09), 0 8px 24px rgba(37, 57, 64, 0.06);
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  backdrop-filter: blur(16px) saturate(125%);
}

.porta-site-header__inner {
  box-sizing: border-box;
  width: calc(100% - 40px);
  max-width: var(--porta-content);
  min-height: 80px;
  margin: 0 auto;
  padding: 0;
}

.porta-site-logo {
  flex: 0 0 286px;
  width: 286px;
  margin: 0;
}

.porta-site-logo .custom-logo-link,
.porta-site-logo img {
  display: block;
  width: 286px;
  height: 36px;
  object-fit: contain;
  object-position: left center;
}

.porta-navigation {
  flex: 1 1 auto;
  min-width: 0;
}

.porta-menu__desktop > ul,
.porta-menu__drawer-nav > ul,
.porta-menu__social > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.porta-menu__desktop > ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(26px, 3.4vw, 67px);
}

.porta-menu a {
  color: var(--porta-muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 19px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, transform 220ms var(--porta-ease);
}

.porta-menu a:hover {
  color: var(--porta-ink);
}

.porta-menu__desktop > ul > li:not(:last-child) > a,
.porta-menu__drawer-nav > ul > li:not(:last-child) > a {
  position: relative;
}

.porta-menu__desktop > ul > li:not(:last-child) > a::after,
.porta-menu__drawer-nav > ul > li:not(:last-child) > a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--porta-mint);
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 320ms var(--porta-ease);
}

.porta-menu__desktop > ul > li:not(:last-child) > a:is(:hover, :focus-visible)::after,
.porta-menu__drawer-nav > ul > li:not(:last-child) > a:is(:hover, :focus-visible)::after,
.porta-menu__desktop > ul > li:is(.current-menu-item, .current_page_item, .is-scroll-current):not(:last-child) > a::after,
.porta-menu__drawer-nav > ul > li:is(.current-menu-item, .current_page_item, .is-scroll-current):not(:last-child) > a::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.porta-menu__desktop > ul > li:is(.current-menu-item, .current_page_item, .is-scroll-current):not(:last-child) > a {
  color: var(--porta-ink);
  font-weight: 600;
}

.porta-menu__desktop > ul > li:last-child > a,
.porta-menu__drawer-nav > ul > li:last-child > a {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 180px;
  min-height: 30px;
  padding: 0 18px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--porta-ink);
  color: var(--porta-paper);
  letter-spacing: -0.0469em;
}

.porta-menu__desktop > ul > li:last-child > a::before,
.porta-menu__drawer-nav > ul > li:last-child > a::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.16);
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.porta-menu__desktop > ul > li:last-child > a:hover {
  color: var(--porta-paper);
  transform: translate3d(0, -2px, 0);
}

.porta-menu__desktop > ul > li:last-child > a:hover::before,
.porta-menu__drawer-nav > ul > li:last-child > a:hover::before {
  transform: scaleX(1);
  transform-origin: left center;
}

.porta-menu__desktop > ul > li:last-child > a:active {
  transform: translate3d(0, 0, 0) scale(0.985);
}

.porta-menu__toggle,
.porta-menu__drawer,
.porta-menu__scrim {
  display: none;
}

.porta-menu__toggle,
.porta-menu__close {
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.porta-menu__toggle {
  width: 44px;
  height: 44px;
  padding: 7px 4px;
}

.porta-menu__toggle > span:not(.screen-reader-text) {
  display: block;
  width: 28px;
  height: 2px;
  margin: 8px auto;
  background: var(--porta-ink);
}

.porta-menu__toggle:focus-visible,
.porta-menu__close:focus-visible,
.porta-menu a:focus-visible {
  outline: 2px solid var(--porta-mint);
  outline-offset: 3px;
}

.porta-menu-editor-placeholder {
  padding: 18px;
  border: 1px dashed var(--porta-mint);
  background: var(--porta-footer);
  color: var(--porta-paper);
}

.porta-hero {
  position: relative;
  min-height: 720px !important;
  padding: 0 !important;
  overflow: hidden;
  background: var(--porta-ink);
  isolation: isolate;
}

.porta-hero > .wp-block-cover__image-background,
.porta-hero > .wp-block-cover__video-background {
  position: absolute;
  inset: -4% 0;
  width: 100%;
  height: 108%;
  object-fit: cover;
  transform: translate3d(0, var(--porta-hero-media-y, 0), 0) scale(1.025);
  transform-origin: center center;
  will-change: transform;
}

.porta-hero .wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 720px;
  place-items: center;
}

.porta-hero__title {
  margin: 0;
  color: var(--porta-paper);
  font-family: "Fraunces 72", Fraunces, serif;
  font-size: clamp(54px, 6vw, 94px);
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  max-width: calc(100% - 40px);
  overflow-wrap: break-word;
  text-wrap: balance;
  white-space: normal;
  transform: translate3d(0, var(--porta-hero-title-y, 0), 0);
  transition: opacity 620ms var(--porta-ease), filter 620ms var(--porta-ease);
  will-change: transform, opacity, filter;
}

.porta-hero.is-title-hidden .porta-hero__title {
  filter: blur(8px);
  opacity: 0;
}

.porta-intro {
  box-sizing: border-box;
  width: 100%;
  overflow: clip;
  padding: clamp(72px, 6.67vw, 96px) 0;
  background: var(--porta-paper);
}

.porta-intro__grid.wp-block-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(44px, 5.42vw, 78px);
  width: calc(100% - 40px);
  max-width: var(--porta-content);
  margin: 0 auto;
}

.porta-intro__copy.wp-block-column,
.porta-intro__visual.wp-block-column {
  min-width: 0;
}

.porta-intro__copy.wp-block-column {
  display: flex;
  flex-direction: column;
  gap: 92px;
}

.porta-intro__heading {
  margin: 0;
  color: var(--porta-ink);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(45px, 4.17vw, 60px);
  font-weight: 500;
  letter-spacing: -2.5px;
  line-height: 1.2167;
  max-width: 100%;
  overflow-wrap: break-word;
  text-wrap: balance;
  white-space: normal;
}

.porta-intro__heading-first {
  letter-spacing: inherit;
}

.porta-intro__heading em {
  font-family: "Fraunces Italic Variable", "Fraunces 72", Fraunces, serif;
  font-style: italic;
  font-weight: 700;
  font-variation-settings: "opsz" 72, "SOFT" 0, "WONK" 1;
  letter-spacing: -1.2px;
}

.porta-intro__description {
  margin: 0;
  color: var(--porta-muted);
  font-size: clamp(17px, 1.74vw, 25px);
  font-weight: 500;
  letter-spacing: clamp(-0.6406px, -0.0445vw, -0.15px);
  line-height: 33px;
}

.porta-intro__description span {
  display: block;
  max-width: 100%;
  overflow-wrap: break-word;
  white-space: normal;
}

.porta-intro__description .porta-intro__description-first {
  letter-spacing: clamp(-1.001px, -0.0695vw, -0.2px);
  line-height: 31px;
}

.porta-intro__media.wp-block-image {
  align-self: start;
  margin: 0;
  overflow: hidden;
  border-radius: 0 47% 0 0;
}

.porta-intro__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 604 / 635;
  object-fit: cover;
}

.porta-reveal-ready .porta-intro__heading,
.porta-reveal-ready .porta-intro__description {
  filter: blur(10px);
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: filter 800ms var(--porta-ease) var(--porta-reveal-delay, 0ms),
    opacity 800ms var(--porta-ease) var(--porta-reveal-delay, 0ms),
    transform 900ms var(--porta-ease) var(--porta-reveal-delay, 0ms);
}

.porta-reveal-ready .porta-intro__media {
  clip-path: inset(0 0 0 100%);
  transform: translate3d(22px, 0, 0) scale(0.985);
  transition: clip-path 1100ms var(--porta-ease) var(--porta-reveal-delay, 0ms),
    transform 1200ms var(--porta-ease) var(--porta-reveal-delay, 0ms);
}

.porta-reveal-ready .porta-intro__media img {
  transform: scale(1.065);
  transition: transform 1400ms var(--porta-ease) var(--porta-reveal-delay, 0ms);
}

.porta-reveal-ready .porta-intro :is(.porta-intro__heading, .porta-intro__description, .porta-intro__media).is-revealed {
  clip-path: inset(0 0 0 0);
  filter: blur(0);
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.porta-reveal-ready .porta-intro__media.is-revealed img {
  transform: scale(1);
}

.porta-location {
  box-sizing: border-box;
  width: 100%;
  padding: clamp(48px, 4.45vw, 64px) 0 clamp(72px, 6.67vw, 96px);
  background: var(--porta-paper);
}

.porta-location__grid.wp-block-columns {
  display: grid;
  grid-template-columns: 710px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  width: calc(100% - 40px);
  max-width: var(--porta-content);
  margin: 0 auto;
}

.porta-location__map-column.wp-block-column,
.porta-location__copy.wp-block-column {
  min-width: 0;
}

.porta-map-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 710 / 620;
  margin: 0;
  border-radius: 0 80px 0 80px;
  background: #fff;
  isolation: isolate;
}

.porta-map-artwork.wp-block-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
}

.porta-map-artwork img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.porta-map-overlay,
.porta-map-overlay.wp-block-porta-huasteca-map-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.porta-map-overlay-editor {
  min-height: 120px;
  padding: 24px;
  border: 1px dashed var(--porta-mint);
  background: rgba(100, 234, 209, 0.12);
  color: var(--porta-ink);
}

.porta-map-pin {
  position: absolute;
  z-index: 4;
  width: 4.61%;
  height: auto;
  aspect-ratio: 33 / 43;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: 50% 82%;
  transition: opacity 260ms ease, transform 420ms var(--porta-ease);
}

.porta-map-pin img {
  display: block;
  width: 100%;
  height: 100%;
}

.porta-map-pin--cedim { top: 14.8%; left: 68.3%; }
.porta-map-pin--instituto { top: 29%; left: 54.4%; }
.porta-map-pin--american-school { top: 29%; left: 63.8%; }
.porta-map-pin--consulado { top: 40.3%; left: 77.2%; }
.porta-map-pin--super-mode { top: 45%; left: 85.6%; }
.porta-map-pin--soriana { top: 48.2%; left: 89.2%; }
.porta-map-pin--via-cordillera { top: 45.3%; left: 94.2%; }
.porta-map-pin--iglesia { top: 69.7%; left: 45.1%; }
.porta-map-pin--parque { top: 88.5%; left: 50.3%; }

.porta-map-routes {
  position: absolute;
  inset: 0;
  z-index: 3;
  fill: none;
  stroke: var(--porta-mint);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transition: opacity 300ms ease;
}

.porta-map-pin.is-active {
  z-index: 6;
  transform: translate3d(0, -7px, 0) scale(1.17);
}

.porta-map-card.has-active .porta-map-pin:not(.is-active) {
  opacity: 0.72;
}

.porta-map-routes.is-active {
  opacity: 0.9;
}

.porta-location__heading {
  margin: 0 0 38px;
  color: var(--porta-ink);
  font-size: clamp(42px, 4.17vw, 60px);
  font-weight: 700;
  letter-spacing: -0.0508em;
  line-height: 1.2167;
}

.porta-location__copy > .porta-location__heading {
  margin-block-end: 24px;
}

.porta-location__heading span {
  display: block;
  max-width: 100%;
  overflow-wrap: break-word;
  white-space: normal;
}

.porta-location__description span,
.porta-location__accent span {
  display: block;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
}

.porta-location__heading span:first-child {
  letter-spacing: -2.9297px;
  line-height: 73px;
}

.porta-location__heading span:last-child {
  letter-spacing: -0.7813px;
  line-height: 75px;
}

.porta-location__description {
  margin: 0 0 20px;
  color: var(--porta-ink);
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 400;
  letter-spacing: -1.0742px;
  line-height: 25px;
}

.porta-location__copy > .porta-location__description {
  margin-block-end: 14px;
}

.porta-location__accent {
  margin: 0 0 20px;
  color: var(--porta-muted);
  font-family: "Fraunces 72", Fraunces, serif;
  font-size: 35px;
  font-style: italic;
  font-weight: 600;
  letter-spacing: clamp(-1.15px, -0.08vw, -0.2px);
  line-height: 35.01px;
  word-spacing: clamp(0.5px, 0.08vw, 1.2px);
}

.porta-location__copy > .porta-location__accent {
  margin-block-end: 18px;
}

.porta-location__accent span:first-child {
  line-height: 37px;
}

.porta-nearby-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 4px 24px;
  width: min(100%, 464px);
  margin-top: 38px;
}

.porta-location__copy > .porta-nearby-list {
  margin-block-start: 0;
}

.porta-nearby-item {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 43px;
  padding: 0 8px 0 0;
  border-radius: 4px;
  outline: none;
  color: var(--porta-ink);
  cursor: pointer;
}

.porta-nearby-item::before {
  position: absolute;
  top: 50%;
  left: -3px;
  z-index: 0;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(37, 57, 64, 0.08);
  border-radius: 50%;
  background: rgba(100, 234, 209, 0.16);
  content: "";
  opacity: 0;
  transform: translate3d(0, -50%, 0) scale(0.68);
  transition: opacity 220ms ease, transform 360ms var(--porta-ease);
}

.porta-nearby-item::after {
  position: absolute;
  right: 8px;
  bottom: 0;
  left: 47px;
  height: 1px;
  background: linear-gradient(90deg, rgba(100, 234, 209, 0.9), rgba(100, 234, 209, 0));
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 220ms ease, transform 360ms var(--porta-ease);
}

.porta-nearby-item .wp-block-image {
  position: relative;
  z-index: 1;
  flex: 0 0 33px;
  width: 33px;
  height: 43px;
  margin: 0 14px 0 0;
  transition: transform 320ms var(--porta-ease);
}

.porta-nearby-item .wp-block-image img {
  display: block;
  width: 33px;
  height: 43px;
  object-fit: contain;
}

.porta-nearby-item > p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 18.435px;
  transition: transform 320ms var(--porta-ease);
}

.porta-nearby-item:is(:hover, :focus-visible, .is-map-active)::before {
  opacity: 1;
  transform: translate3d(0, -50%, 0) scale(1);
}

.porta-nearby-item:is(:hover, :focus-visible, .is-map-active)::after {
  opacity: 1;
  transform: scaleX(1);
}

.porta-nearby-item:is(:hover, :focus-visible, .is-map-active) .wp-block-image {
  transform: translate3d(0, -3px, 0) rotate(-2deg) scale(1.06);
}

.porta-nearby-item:is(:hover, :focus-visible, .is-map-active) > p {
  transform: translate3d(3px, 0, 0);
}

.porta-nearby-item:focus-visible {
  outline: 2px solid var(--porta-mint);
  outline-offset: 5px;
}

.porta-nearby-item--roads {
  align-items: flex-start;
}

.porta-nearby-item--roads > p > span {
  display: block;
  margin-left: 17px;
  font-family: "Fraunces 72", Fraunces, serif;
  font-style: italic;
  font-weight: 600;
  line-height: 19px;
  overflow-wrap: break-word;
  white-space: normal;
}

.porta-nearby-item--roads > p > span:first-of-type { letter-spacing: -0.293px; }
.porta-nearby-item--roads > p > span:last-of-type { letter-spacing: -0.1758px; }

.porta-location-reveal-ready .porta-location :is(.porta-location__heading, .porta-location__description, .porta-location__accent, .porta-nearby-item) {
  filter: blur(10px);
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: filter 800ms var(--porta-ease) var(--porta-location-delay, 0ms), opacity 800ms var(--porta-ease) var(--porta-location-delay, 0ms), transform 900ms var(--porta-ease) var(--porta-location-delay, 0ms);
}

.porta-location-reveal-ready .porta-map-card {
  clip-path: inset(0 100% 0 0);
  transform: translate3d(-22px, 0, 0) scale(0.985);
  transition: clip-path 1100ms var(--porta-ease), transform 1200ms var(--porta-ease);
}

.porta-location-reveal-ready .porta-location :is(.porta-location__heading, .porta-location__description, .porta-location__accent, .porta-nearby-item, .porta-map-card).is-revealed {
  clip-path: inset(0);
  filter: blur(0);
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.porta-contact {
  box-sizing: border-box;
  width: calc(100% - 40px);
  max-width: var(--porta-content);
  margin: 0 auto;
  padding: clamp(48px, 4.45vw, 64px) 0 64px;
  text-align: center;
}

.porta-contact__heading {
  margin: 0;
  color: var(--porta-ink);
  font-family: "Fraunces 72", Fraunces, serif;
  font-size: 59px;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -1.4648px;
  line-height: 74px;
  max-width: 100%;
  overflow-wrap: break-word;
  text-wrap: balance;
  white-space: normal;
}

.porta-contact > .porta-contact__heading {
  margin-block-end: 47px;
}

.porta-contact__buttons.wp-block-buttons {
  display: flex;
  margin: 0;
}

.porta-contact__buttons.wp-block-buttons.is-content-justification-left {
  justify-content: flex-start;
}

.porta-contact__buttons.wp-block-buttons.is-content-justification-center {
  justify-content: center;
}

.porta-contact__buttons.wp-block-buttons.is-content-justification-right {
  justify-content: flex-end;
}

.porta-contact__buttons.wp-block-buttons.is-content-justification-space-between {
  justify-content: space-between;
}

.porta-contact__button.wp-block-button {
  margin: 0;
}

.porta-contact__button .wp-block-button__link {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: min(392px, 88vw);
  max-width: 100%;
  min-height: 61px;
  padding: 10px 34px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: var(--porta-mint);
  color: var(--porta-ink);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 37px;
  text-decoration: none;
  overflow-wrap: normal;
  white-space: nowrap;
  transition: color 220ms ease, transform 280ms var(--porta-ease);
}

.porta-contact__button .wp-block-button__link::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.24);
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 320ms var(--porta-ease);
}

.porta-contact__button .wp-block-button__link:hover {
  color: var(--porta-ink);
  transform: translate3d(0, -2px, 0);
}

.porta-contact__button .wp-block-button__link:hover::before {
  transform: scaleX(1);
  transform-origin: left center;
}

.porta-contact__button .wp-block-button__link:active {
  transform: translate3d(0, 0, 0) scale(0.985);
}

.porta-contact__button .wp-block-button__link:focus-visible {
  outline: 2px solid var(--porta-ink);
  outline-offset: 4px;
}

.porta-contact-reveal-ready .porta-contact__heading,
.porta-contact-reveal-ready .porta-contact__buttons {
  filter: blur(10px);
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: filter 800ms var(--porta-ease) var(--porta-contact-delay, 0ms), opacity 800ms var(--porta-ease) var(--porta-contact-delay, 0ms), transform 900ms var(--porta-ease) var(--porta-contact-delay, 0ms);
}

.porta-contact-reveal-ready .porta-contact__buttons {
  filter: blur(6px);
  transform: translate3d(0, 22px, 0) scale(0.96);
}

.porta-contact-reveal-ready .porta-contact :is(.porta-contact__heading, .porta-contact__buttons).is-revealed {
  filter: blur(0);
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.porta-gallery {
  width: 100%;
  max-width: none;
  padding: 0;
  text-align: center;
}

.porta-gallery__heading {
  box-sizing: border-box;
  width: calc(100% - 40px);
  max-width: var(--porta-content);
  margin: 0 auto;
  color: var(--porta-ink);
  font-size: 60px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 73px;
  font-kerning: normal;
}

.porta-gallery__heading span {
  display: block;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  text-wrap: balance;
  transform: scaleX(0.97);
  transform-origin: center;
}

.porta-gallery:not(.porta-progress) .porta-gallery__heading {
  letter-spacing: var(--porta-heading-tracking);
}

.porta-gallery .gallery {
  --carousel-peek: 100px;
  position: relative;
  width: 100%;
  max-width: none;
  margin: 48px 0 0;
  overflow: hidden;
}

.porta-gallery .gallery-viewport {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  overflow: hidden;
  cursor: grab;
  user-select: none;
}

.porta-gallery .gallery-viewport:active {
  cursor: grabbing;
}

.porta-gallery .gallery.has-originkit-cursor .gallery-viewport,
.porta-gallery .gallery.has-originkit-cursor .gallery-viewport:active {
  cursor: none;
}

.porta-gallery .gallery-track {
  display: flex;
  width: 100%;
  max-width: none;
  height: min(580px, calc((100vw - (var(--carousel-peek) * 2)) * 0.467742));
  margin: 0;
  touch-action: pan-y pinch-zoom;
}

.porta-gallery .gallery-slide.wp-block-image {
  flex: 0 0 calc(100% - (var(--carousel-peek) * 2));
  min-width: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.porta-gallery .gallery-slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}

.porta-carousel-chrome,
.porta-gallery .originkit-usercursor-root {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.porta-carousel-chrome {
  z-index: 3;
}

.porta-gallery .originkit-usercursor-root {
  z-index: 2;
}

.porta-gallery .originkit-usercursor-surface {
  pointer-events: none;
}

.porta-gallery .gallery-arrow {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 100px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  transform: translateY(-50%);
  transition: transform 320ms var(--porta-ease);
  z-index: 4;
}

.porta-gallery .gallery-arrow::before {
  content: none;
}

.porta-gallery .gallery-arrow img {
  width: 34.948px;
  height: 69.896px;
  transition: filter 260ms ease, transform 360ms var(--porta-ease);
}

.porta-gallery .gallery-arrow.prev {
  left: var(--carousel-peek);
}

.porta-gallery .gallery-arrow.next {
  right: var(--carousel-peek);
}

.porta-gallery .gallery-arrow:is(:hover, :focus-visible) {
  background: transparent;
  transform: translateY(-50%);
}

.porta-gallery .gallery-arrow:is(:hover, :focus-visible) img {
  filter: brightness(0) saturate(100%) invert(85%) sepia(42%) saturate(622%) hue-rotate(107deg) brightness(96%) contrast(91%) drop-shadow(1px 0 0 rgba(100, 234, 209, 0.9)) drop-shadow(-1px 0 0 rgba(100, 234, 209, 0.9));
}

.porta-gallery .gallery-arrow.prev:is(:hover, :focus-visible) img {
  transform: translateX(-3px) scale(1.04);
}

.porta-gallery .gallery-arrow.next:is(:hover, :focus-visible) img {
  transform: translateX(3px) scale(1.04);
}

.porta-gallery .gallery-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.porta-gallery .gallery-arrow:focus-visible {
  outline: none;
}

.porta-departments-gallery {
  padding-top: 0;
}

.porta-progress {
  padding: 94px 0 0;
  background: var(--porta-paper);
}

.porta-progress .porta-progress__heading {
  width: calc(100% - 40px);
  max-width: var(--porta-content);
  margin-bottom: 56px;
  text-align: left;
}

.porta-progress .porta-progress__gallery {
  margin-top: 97px;
}

.porta-tour {
  box-sizing: border-box;
  width: 100%;
  padding: 94px 0 100px;
  background: var(--porta-paper);
}

.porta-tour__head.wp-block-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  width: calc(100% - 40px);
  max-width: var(--porta-content);
  min-height: 183px;
  margin: 0 auto;
}

.porta-tour__head > .wp-block-column {
  min-width: 0;
}

.porta-tour__head.porta-tour__head--compact {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  min-height: 0;
}

.porta-tour__icon.wp-block-image {
  width: 112px;
  max-width: 100%;
  margin: 0;
}

.porta-tour__icon.wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
}

.porta-tour__cue {
  margin: 0;
  color: var(--porta-muted);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
}

.porta-tour__heading,
.porta-tour__description {
  margin: 0;
  letter-spacing: 0;
}

.porta-tour__heading {
  color: var(--porta-ink);
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -2.5px;
  line-height: 1.22;
}

.porta-tour__description {
  color: var(--porta-muted);
  font-size: 50px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.2;
}

.porta-tour-embed.wp-block-porta-huasteca-tour-embed {
  position: relative;
  width: calc(100% - 40px);
  max-width: var(--porta-content);
  aspect-ratio: 1272 / 602.428;
  margin: 70px auto 0;
  overflow: hidden;
  background: var(--porta-ink);
  isolation: isolate;
}

.porta-tour-embed__iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--porta-ink);
  pointer-events: none;
}

.porta-tour-embed__activation,
.porta-tour-embed .originkit-usercursor-root {
  position: absolute;
  inset: 0;
}

.porta-tour-embed__activation {
  z-index: 2;
  outline: 0;
  cursor: grab;
}

.porta-tour-embed__activation:active {
  cursor: grabbing;
}

.porta-tour-embed.has-originkit-cursor .porta-tour-embed__activation {
  cursor: none;
}

.porta-tour-embed .originkit-usercursor-root,
.porta-tour-embed .originkit-usercursor-surface {
  pointer-events: none;
}

.porta-tour-embed.is-active .porta-tour-embed__activation {
  display: none;
}

.porta-tour-embed.is-active .porta-tour-embed__iframe {
  pointer-events: auto;
}

.porta-tour-embed-editor {
  box-sizing: border-box;
  min-height: 240px;
  padding: 72px 36px;
  border: 1px solid rgba(37, 57, 64, 0.25);
  background: var(--porta-paper);
  color: var(--porta-ink);
  text-align: center;
}

.porta-tour-embed-editor p,
.porta-tour-embed-editor code {
  display: block;
  margin-top: 12px;
}

.porta-tour-reveal-ready .porta-tour :is(.porta-tour__heading, .porta-tour__description, .porta-tour-embed) {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 760ms var(--porta-ease) var(--porta-tour-delay, 0ms), transform 960ms var(--porta-ease) var(--porta-tour-delay, 0ms), clip-path 1050ms var(--porta-ease) var(--porta-tour-delay, 0ms);
}

.porta-tour-reveal-ready .porta-tour-embed {
  clip-path: inset(0 0 100% 0);
}

.porta-tour-reveal-ready .porta-tour :is(.porta-tour__heading, .porta-tour__description, .porta-tour-embed).is-revealed {
  clip-path: inset(0);
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.porta-gallery-reveal-ready .porta-gallery__heading,
.porta-gallery-reveal-ready .porta-gallery .gallery {
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: clip-path 1050ms var(--porta-ease), opacity 760ms var(--porta-ease), transform 1050ms var(--porta-ease);
}

.porta-gallery-reveal-ready .porta-gallery .gallery {
  transition-delay: 120ms;
}

.porta-gallery-reveal-ready :is(.porta-gallery__heading, .porta-gallery .gallery).is-revealed {
  clip-path: inset(0);
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.porta-closing {
  box-sizing: border-box;
  width: 100%;
  padding: 64px 0;
  background: var(--porta-paper);
}

.porta-closing__grid.wp-block-columns {
  display: grid;
  grid-template-columns: 710px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  width: calc(100% - 40px);
  max-width: var(--porta-content);
  margin: 0 auto;
}

.porta-closing__visual.wp-block-column,
.porta-closing__copy.wp-block-column {
  min-width: 0;
}

.porta-closing__media.wp-block-image {
  position: relative;
  aspect-ratio: 710 / 635;
  margin: 0;
  overflow: hidden;
  border-radius: 0 261.4px 0 0;
}

.porta-closing__media img {
  position: absolute;
  top: -27.3354%;
  left: -15.8836%;
  display: block;
  width: 125.888%;
  height: 136.101%;
  max-width: none;
  object-fit: cover;
}

.porta-closing__copy {
  padding-top: 23.336px;
}

.porta-closing__heading {
  margin: 0;
  color: var(--porta-ink);
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -3.0469px;
  line-height: 73px;
}

.porta-closing__heading span {
  display: block;
  max-width: 100%;
  overflow-wrap: break-word;
  white-space: normal;
}

.porta-closing__heading span:not(:first-child) {
  letter-spacing: -0.8125px;
  line-height: 75px;
}

.porta-closing__script {
  margin: 0;
  color: #202f31;
  font-family: "Fraunces 72", Fraunces, serif;
  font-size: 60px;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 75px;
  max-width: 100%;
  overflow-wrap: break-word;
  text-wrap: balance;
  white-space: normal;
}

.porta-closing__copy > .porta-closing__script {
  margin-block-start: 76px;
  margin-block-end: 70px;
}

.porta-closing__contact {
  margin: 0;
  color: var(--porta-ink);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -1.7285px;
  line-height: 37px;
}

.porta-closing__buttons.wp-block-buttons {
  justify-content: flex-start;
  margin: 22px 0 0;
}

.porta-closing--departments .porta-closing__copy {
  padding-top: 16px;
}

.porta-closing--departments .porta-closing__heading {
  font-weight: 700;
}

.porta-closing--departments .porta-closing__media {
  border-radius: 0 180px 0 0;
}

.porta-closing--departments .porta-closing__media img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transform: scaleX(-1);
}

.porta-closing--departments .porta-closing__contact {
  margin: 76px 0 70px;
  max-width: 100%;
  color: #202f31;
  font-family: "Fraunces 72", Fraunces, serif;
  font-size: 60px;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
  overflow-wrap: break-word;
  text-wrap: balance;
  white-space: normal;
}

.porta-closing-reveal-ready .porta-closing :is(.porta-closing__heading, .porta-closing__script, .porta-closing__contact, .porta-closing__buttons) {
  filter: blur(10px);
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: filter 800ms var(--porta-ease) var(--porta-closing-delay, 0ms), opacity 800ms var(--porta-ease) var(--porta-closing-delay, 0ms), transform 900ms var(--porta-ease) var(--porta-closing-delay, 0ms);
}

.porta-closing-reveal-ready .porta-closing__media {
  clip-path: inset(0 100% 0 0);
  transform: translate3d(-22px, 0, 0) scale(0.985);
  transition: clip-path 1100ms var(--porta-ease), transform 1200ms var(--porta-ease);
}

.porta-closing-reveal-ready .porta-closing :is(.porta-closing__heading, .porta-closing__script, .porta-closing__contact, .porta-closing__buttons, .porta-closing__media).is-revealed {
  filter: blur(0);
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.porta-closing-reveal-ready .porta-closing__media.is-revealed {
  clip-path: inset(0);
}

.porta-footer {
  box-sizing: border-box;
  width: 100%;
  min-height: 261px;
  background: var(--porta-footer);
  color: var(--porta-paper);
}

.porta-footer__inner.wp-block-group {
  display: grid;
  grid-template-columns: 271fr 47fr 231fr 64.5fr 180fr 64.5fr 382fr;
  box-sizing: border-box;
  width: 100%;
  max-width: 1440px;
  min-height: 261px;
  margin: 0 auto;
  padding: 20px 100px;
}

.porta-footer :is(p, figure) {
  margin: 0;
}

.porta-footer p {
  color: var(--porta-paper);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: -0.8281px;
  line-height: 20px;
}

.porta-footer strong {
  font-weight: 600;
}

.porta-footer a {
  color: inherit;
  text-decoration: none;
}

.porta-footer a:is(:hover, :focus-visible) {
  color: var(--porta-mint);
}

.porta-footer a:focus-visible {
  outline: 1px solid var(--porta-mint);
  outline-offset: 2px;
}

.porta-footer__contact {
  grid-column: 1;
}

.porta-footer__contact > p:first-child {
  letter-spacing: -0.7764px;
  line-height: 19px;
}

.porta-footer__address {
  grid-column: 3;
}

.porta-footer__contact > p,
.porta-footer__address > p {
  overflow-wrap: break-word;
  white-space: normal;
}

.porta-footer__address > p:first-child {
  letter-spacing: -0.9375px;
  line-height: 19px;
}

.porta-footer__address > p:nth-child(2) {
  letter-spacing: -0.6738px;
  line-height: 19px;
}

.porta-footer__address > p:nth-child(3) {
  letter-spacing: -0.791px;
  line-height: 19px;
}

.porta-footer__address > p:nth-child(4) {
  letter-spacing: -0.8438px;
}

.porta-footer__address > p:nth-child(5) {
  letter-spacing: -0.7031px;
  line-height: 19px;
}

.porta-footer__social-line.wp-block-group {
  display: flex;
  gap: 1.788px;
  align-items: center;
}

.porta-footer__contact > .porta-footer__social-line:nth-child(5) {
  letter-spacing: -0.8203px;
  line-height: 19px;
}

.porta-footer__contact > .porta-footer__social-line:nth-child(6) {
  letter-spacing: -0.875px;
}

.porta-footer__social-icon.wp-block-image,
.porta-footer__social-icon img {
  display: block;
  width: 18.107px;
  height: 18.107px;
  flex: 0 0 18.107px;
}

.porta-footer__logo.wp-block-image {
  grid-column: 5;
  width: 180px;
  height: 156px;
  margin-top: 4px;
}

.porta-footer__logo img {
  display: block;
  width: 180px;
  height: 156px;
  object-fit: contain;
}

.porta-footer__about {
  grid-column: 7;
  letter-spacing: -0.9814px !important;
  line-height: 19px !important;
}

.porta-footer__about span {
  display: block;
  max-width: 100%;
  overflow-wrap: break-word;
  white-space: normal;
}

.porta-footer__about span:not(:first-child) {
  letter-spacing: -1.0469px;
  line-height: 20px;
}

.porta-footer-reveal-ready .porta-footer__inner > :is(.porta-footer__contact, .porta-footer__address, .porta-footer__logo, .porta-footer__about) {
  filter: blur(8px);
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: filter 700ms var(--porta-ease) var(--porta-footer-delay, 0ms), opacity 700ms var(--porta-ease) var(--porta-footer-delay, 0ms), transform 820ms var(--porta-ease) var(--porta-footer-delay, 0ms);
}

.porta-footer-reveal-ready .porta-footer__inner > :is(.porta-footer__contact, .porta-footer__address, .porta-footer__logo, .porta-footer__about).is-revealed {
  filter: blur(0);
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

body.admin-bar .wp-site-blocks > header.wp-block-template-part {
  top: 32px;
}

@media (min-width: 981px) and (max-width: 1100px) {
  .porta-site-logo {
    flex-basis: 250px;
    width: 250px;
  }

  .porta-site-logo .custom-logo-link,
  .porta-site-logo img {
    width: 250px;
  }

  .porta-menu__desktop > ul {
    gap: 18px;
  }

  .porta-menu a {
    font-size: 14px;
  }

  .porta-menu__desktop > ul > li:last-child > a {
    min-width: 160px;
    padding-inline: 14px;
  }
}

@media (max-width: 1100px) {
	.porta-footer {
    min-height: 0;
  }

  .porta-footer__inner.wp-block-group {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px 56px;
    height: auto;
    padding: 40px 24px 44px;
  }

  .porta-footer__contact,
  .porta-footer__address,
  .porta-footer__logo.wp-block-image,
  .porta-footer__about {
    grid-column: auto;
  }

  .porta-footer__contact > p,
  .porta-footer__address > p,
  .porta-footer__about span {
    white-space: normal;
  }

	.porta-closing__grid.wp-block-columns {
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% - 48px);
  }

  .porta-closing__visual,
  .porta-closing__copy {
    width: 100%;
    max-width: 710px;
    margin-inline: auto;
  }

  .porta-closing__copy {
    padding-top: 0;
  }

  .porta-location__grid.wp-block-columns {
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% - 48px);
  }

  .porta-location__copy {
    order: -1;
  }

  .porta-location__map-column {
    width: 100%;
    max-width: 710px;
    margin-inline: auto;
  }

  .porta-location__copy > .porta-location__heading {
    margin-block-end: 28px;
  }

  .porta-location__copy > .porta-location__description {
    margin-block-end: 18px;
  }

  .porta-location__copy > .porta-location__accent {
    margin-block-end: 24px;
  }

  .porta-location__copy > .porta-nearby-list {
    margin-block-start: 8px;
  }

  .porta-nearby-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 12px;
    width: 100%;
  }

  .porta-nearby-item,
  .porta-nearby-item--roads {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    min-height: 0;
    padding: 4px 3px 8px;
    text-align: center;
  }

  .porta-nearby-item::before {
    top: 23px;
    left: 50%;
    transform: translate3d(-50%, -50%, 0) scale(0.68);
  }

  .porta-nearby-item::after {
    right: 12px;
    bottom: 2px;
    left: 12px;
  }

  .porta-nearby-item:is(:hover, :focus-visible, .is-map-active)::before {
    transform: translate3d(-50%, -50%, 0) scale(1);
  }

  .porta-nearby-item .wp-block-image {
    flex: 0 0 43px;
    margin: 0 0 8px;
  }

  .porta-nearby-item > p {
    width: 100%;
    font-size: 13.5px;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .porta-nearby-item:is(:hover, :focus-visible, .is-map-active) > p {
    transform: translate3d(0, 2px, 0);
  }

  .porta-nearby-item--roads > p > span {
    margin-left: 0;
    font-size: 12.5px;
    line-height: 1.2;
    white-space: normal;
  }
}

@media (max-width: 980px) {
	.porta-closing--departments .porta-closing__contact {
    margin: 48px 0;
    font-size: 46px;
    line-height: 1.08;
  }

	.porta-closing__heading {
    font-size: 46px;
    letter-spacing: 0;
    line-height: 1.15;
  }

  .porta-closing__heading span:not(:first-child) {
    letter-spacing: 0;
    line-height: 1.15;
  }

  .porta-closing__script {
    font-size: 46px;
    line-height: 1.2;
  }

  .porta-closing__copy > .porta-closing__script {
    margin-block-start: 48px;
    margin-block-end: 48px;
  }

  .porta-closing__contact {
    font-size: 26px;
    letter-spacing: 0;
    line-height: 1.25;
  }

  .porta-site-header,
  .porta-site-header__inner {
    min-height: 72px;
  }

  .porta-site-logo {
    flex-basis: min(286px, calc(100vw - 104px));
    width: min(286px, calc(100vw - 104px));
  }

  .porta-site-logo .custom-logo-link,
  .porta-site-logo img {
    width: 100%;
    height: auto;
    max-height: 36px;
  }

  .porta-menu__desktop {
    display: none;
  }

  .porta-menu__toggle {
    display: block;
    margin-left: auto;
  }

  .porta-menu__scrim {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: block;
    border: 0;
    background: rgba(31, 48, 49, 0.48);
    opacity: 0;
    visibility: hidden;
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    transition: opacity 260ms ease, visibility 260ms;
  }

  .porta-menu__scrim.is-open {
    opacity: 1;
    visibility: visible;
  }

  .porta-menu__drawer {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 61;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: min(100vw, 430px);
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--porta-footer);
    color: var(--porta-paper);
    transform: translate3d(-100%, 0, 0);
    visibility: hidden;
    transition: transform 320ms var(--porta-ease), visibility 320ms;
  }

  .porta-menu__drawer.is-open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
  }

  .porta-menu__drawer-head {
    display: flex;
    flex: 0 0 72px;
    align-items: center;
    justify-content: space-between;
    padding: 0 22px;
    background: var(--porta-paper);
  }

  .porta-menu__drawer-logo,
  .porta-menu__drawer-logo .custom-logo-link {
    display: flex;
    align-items: center;
    width: min(255px, calc(100% - 48px));
  }

  .porta-menu__drawer-logo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 36px;
    object-fit: contain;
    object-position: left center;
  }

  .porta-menu__close {
    position: relative;
    width: 40px;
    height: 40px;
    transition: color 180ms ease, transform 280ms var(--porta-ease);
  }

  .porta-menu__close::before,
  .porta-menu__close::after {
    position: absolute;
    top: 19px;
    left: 7px;
    width: 26px;
    height: 2px;
    background: var(--porta-ink);
    content: "";
  }

  .porta-menu__close::before {
    transform: rotate(45deg);
  }

  .porta-menu__close::after {
    transform: rotate(-45deg);
  }

  .porta-menu__drawer-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 4px 28px 28px;
  }

  .porta-menu__drawer-nav > ul > li {
    border-bottom: 1px solid rgba(219, 214, 210, 0.2);
  }

  .porta-menu__drawer-nav > ul > li > a {
    display: block;
    padding: 16px 0 17px;
    color: var(--porta-paper);
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.2;
  }

  .porta-menu__drawer-nav > ul > li:not(:last-child) > a::after {
    content: none;
  }

  .porta-menu__drawer-nav > ul > li:is(.current-menu-item, .current_page_item, .is-scroll-current):not(:last-child) > a {
    color: var(--porta-mint);
    font-weight: 600;
  }

  .porta-menu__drawer-nav > ul > li:last-child {
    border-bottom: 0;
    padding-top: 25px;
  }

  .porta-menu__drawer-nav > ul > li:last-child > a {
    display: flex;
    width: 100%;
    min-height: 52px;
    background: var(--porta-mint);
    color: var(--porta-ink);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
  }

  .porta-menu__drawer-nav > ul > li:is(.current-menu-item, .current_page_item, .is-scroll-current):last-child > a {
    background: var(--porta-paper);
    color: var(--porta-ink);
  }

  .porta-menu__drawer-nav > ul > li:last-child > a:active {
    transform: scale(0.985);
  }

  .porta-menu__social {
    margin-top: auto;
    padding-top: 32px;
  }

  .porta-menu__social > ul {
    display: flex;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(219, 214, 210, 0.2);
  }

  .porta-menu__social a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--porta-paper);
    font-size: 14px;
    letter-spacing: 0;
    transition: color 180ms ease, opacity 180ms ease, transform 220ms var(--porta-ease);
  }

  .porta-menu__social a::before {
    display: block;
    width: 19px;
    height: 19px;
    background: center / contain no-repeat;
    content: "";
    transition: opacity 180ms ease, transform 220ms var(--porta-ease);
  }

  .porta-menu__social a[href*="facebook.com"]::before {
    background-image: url("assets/images/icon-facebook.svg");
  }

  .porta-menu__social a[href*="instagram.com"]::before {
    background-image: url("assets/images/icon-instagram.svg");
  }

  .porta-menu__drawer-nav > ul > li:not(:last-child) > a:hover {
    color: var(--porta-mint);
    transform: translate3d(4px, 0, 0);
  }

  .porta-menu__drawer-nav > ul > li:last-child > a:hover {
    background: var(--porta-paper);
    color: var(--porta-ink);
    transform: translate3d(0, -2px, 0);
  }

  .porta-menu__close:hover {
    color: var(--porta-mint);
    transform: rotate(90deg);
  }

  .porta-menu__close:hover::before,
  .porta-menu__close:hover::after {
    background: currentColor;
  }

  .porta-menu__social a:hover {
    color: var(--porta-mint);
    transform: translate3d(0, -2px, 0);
  }

  .porta-menu__social a:hover::before {
    opacity: 0.82;
    transform: scale(1.08);
  }

  .porta-hero,
  .porta-hero .wp-block-cover__inner-container {
    min-height: 720px !important;
  }

  .porta-intro {
    padding-inline: 0;
  }

  .porta-intro__grid.wp-block-columns {
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% - 48px);
  }

  .porta-intro__heading {
    margin-bottom: 0;
  }

  .porta-intro__copy.wp-block-column {
    gap: 48px;
  }

  .porta-contact {
    width: calc(100% - 48px);
  }

  .porta-contact__heading {
    font-size: 46px;
    line-height: 1.15;
    white-space: normal;
  }

  .porta-gallery__heading {
    width: calc(100% - 48px);
    font-size: 46px;
    line-height: 1.15;
  }

  .porta-gallery__heading span {
    white-space: normal;
  }

  .porta-gallery .gallery {
    --carousel-peek: 48px;
  }

  .porta-location__grid.wp-block-columns {
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% - 48px);
  }

  .porta-location__copy {
    order: -1;
  }

  .porta-nearby-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
	.porta-closing--departments .porta-closing__contact {
    margin: 40px 0;
    font-size: 40px;
    line-height: 1.08;
  }

	.porta-closing--departments .porta-closing__media {
    border-radius: 0 36px 0 0;
  }

	.porta-footer__inner.wp-block-group {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 36px 17px 42px;
  }

  .porta-footer p,
  .porta-footer__about,
  .porta-footer__about span:not(:first-child) {
    letter-spacing: 0 !important;
    line-height: 1.42 !important;
  }

  .porta-footer__about span,
  .porta-intro__description span,
  .porta-location__description span,
  .porta-location__accent span {
    display: inline;
  }

  .porta-footer__about span + span::before,
  .porta-intro__description span + span::before,
  .porta-location__description span + span::before,
  .porta-location__accent span + span::before {
    content: " ";
  }

	.porta-closing {
    padding: 48px 0;
  }

  .porta-closing__grid.wp-block-columns {
    gap: 40px;
    width: calc(100% - 34px);
  }

  .porta-closing__media.wp-block-image {
    border-radius: 0 36px 0 0;
  }

  .porta-closing__heading {
    font-size: 40px;
    line-height: 1.225;
  }

  .porta-closing__heading span {
    white-space: normal;
  }

  .porta-closing__heading span:not(:first-child) {
    line-height: 1.25;
  }

  .porta-closing__script {
    font-size: 40px;
    line-height: 1.25;
    white-space: normal;
  }

  .porta-closing__copy > .porta-closing__script {
    margin-block-start: 40px;
    margin-block-end: 40px;
  }

  .porta-closing__contact {
    font-size: 22px;
    line-height: 1.25;
  }

  .porta-closing__buttons.wp-block-buttons,
  .porta-closing__button.wp-block-button {
    width: 100%;
  }

  .porta-hero__title {
    max-width: calc(100vw - 44px);
    font-size: 49px;
    line-height: 1.04;
    white-space: normal;
    text-wrap: balance;
  }

  .porta-intro {
    padding: 48px 0;
  }

  .porta-intro__grid.wp-block-columns {
    gap: 44px;
    width: calc(100% - 34px);
  }

  .porta-intro__heading {
    margin-bottom: 0;
    font-size: clamp(32px, 8.72vw, 34px);
    line-height: 1.12;
    white-space: normal;
    text-wrap: balance;
  }

  .porta-intro__heading-first,
  .porta-intro__heading em {
    white-space: normal;
  }

  .porta-intro__copy.wp-block-column {
    gap: 34px;
  }

  .porta-intro__description {
    font-size: 17px;
    letter-spacing: clamp(-0.6406px, -0.0445vw, -0.15px);
    line-height: 1.35;
  }

  .porta-intro__description span,
  .porta-intro__description .porta-intro__description-first {
    line-height: inherit;
    white-space: normal;
  }

  .porta-location {
    padding: 48px 0;
  }

  .porta-location__grid.wp-block-columns {
    width: calc(100% - 34px);
  }

  .porta-location__heading {
    font-size: 42px;
    line-height: 1.08;
  }

  .porta-location__copy > .porta-location__heading {
    margin-block-end: 32px;
  }

  .porta-location__heading span,
  .porta-location__description span,
  .porta-location__accent span {
    line-height: 1.08;
    white-space: normal;
  }

  .porta-location__heading span:first-child,
  .porta-location__heading span:last-child,
  .porta-location__accent span:first-child {
    line-height: 1.08;
  }

  .porta-location__description {
    letter-spacing: 0;
    line-height: 1.42;
  }

  .porta-location__copy > .porta-location__description {
    margin-block-end: 24px;
  }

  .porta-location__accent {
    font-size: 26px;
    letter-spacing: 0;
    line-height: 1.3;
    word-spacing: 0.5px;
  }

  .porta-location__copy > .porta-location__accent {
    margin-block-end: 36px;
  }

  .porta-location__description span + span,
  .porta-location__accent span + span {
    margin-top: 0;
  }

  .porta-nearby-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 8px;
    margin-top: 0;
  }

  .porta-location__copy > .porta-nearby-list {
    margin-block-start: 8px;
  }

  .porta-nearby-item,
  .porta-nearby-item--roads {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    min-height: 0;
    padding: 4px 2px 7px;
    text-align: center;
  }

  .porta-nearby-item::before {
    top: 23px;
    left: 50%;
    transform: translate3d(-50%, -50%, 0) scale(0.68);
  }

  .porta-nearby-item::after {
    right: 12px;
    bottom: 2px;
    left: 12px;
  }

  .porta-nearby-item:is(:hover, :focus-visible, .is-map-active)::before {
    transform: translate3d(-50%, -50%, 0) scale(1);
  }

  .porta-nearby-item .wp-block-image {
    flex: 0 0 43px;
    margin: 0 0 9px;
  }

  .porta-nearby-item > p {
    width: 100%;
    font-size: 12.5px;
    line-height: 1.18;
    overflow-wrap: anywhere;
  }

  .porta-nearby-item:is(:hover, :focus-visible, .is-map-active) > p {
    transform: translate3d(0, 2px, 0);
  }

  .porta-nearby-item--roads > p > span {
    width: min(100%, 92px);
    margin-inline: auto;
    font-size: 12px;
    line-height: 1.2;
    text-align: left;
    white-space: normal;
  }

  .porta-map-card {
    border-radius: 36px;
  }

  .porta-contact {
    width: calc(100% - 34px);
    padding: 44px 0 52px;
  }

  .porta-contact__heading {
    font-size: 39px;
    letter-spacing: 0;
    line-height: 1.2;
  }

  .porta-contact > .porta-contact__heading {
    margin-block-end: 40px;
  }

  .porta-contact__button .wp-block-button__link {
    width: 100%;
    padding-inline: 24px;
    font-size: 20px;
    line-height: 1.2;
  }

  .porta-contact__button.wp-block-button {
    width: 100%;
  }

  .porta-gallery__heading {
    width: calc(100% - 34px);
    margin-bottom: 0;
    font-size: clamp(30px, 8.2vw, 32px);
    line-height: 1.15;
    text-wrap: balance;
  }

  .porta-gallery .gallery {
    --carousel-peek: 24px;
    margin-top: 32px;
  }

  .porta-gallery .gallery-track {
    height: 320px;
  }

  .porta-gallery .gallery-arrow {
    width: 48px;
    height: 72px;
  }

  .porta-gallery .gallery-arrow img {
    width: 24px;
    height: 48px;
  }
}

@media (max-width: 782px) {
  body.admin-bar .wp-site-blocks > header.wp-block-template-part {
    top: 46px;
  }
}

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

  .porta-preloader,
  .porta-preloader::before,
  .porta-preloader::after,
  .porta-preloader__mark,
  .porta-preloader__progress::after,
  .porta-preloader.is-leaving .porta-preloader__stage {
    animation: none;
    transition-duration: 80ms;
  }

  .porta-preloader__mark {
    clip-path: none;
    transform: none;
  }

  .porta-site-header,
  .porta-menu a,
  .porta-menu__drawer,
  .porta-menu__scrim,
  .porta-menu__desktop > ul > li:last-child > a::before,
  .porta-menu__drawer-nav > ul > li:last-child > a::before {
    transition: none;
  }

  .porta-menu__desktop > ul > li:not(:last-child) > a::after,
  .porta-menu__drawer-nav > ul > li:not(:last-child) > a::after {
    transition: none;
  }

  .porta-hero > .wp-block-cover__image-background,
  .porta-hero > .wp-block-cover__video-background,
  .porta-hero__title,
  .porta-reveal-ready .porta-intro :is(.porta-intro__heading, .porta-intro__description, .porta-intro__media),
  .porta-reveal-ready .porta-intro__media img,
  .porta-location-reveal-ready .porta-location :is(.porta-location__heading, .porta-location__description, .porta-location__accent, .porta-nearby-item, .porta-map-card),
  .porta-contact-reveal-ready .porta-contact :is(.porta-contact__heading, .porta-contact__buttons) {
    clip-path: none;
    filter: none;
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .porta-gallery-reveal-ready :is(.porta-gallery__heading, .porta-gallery .gallery) {
    clip-path: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .porta-closing-reveal-ready .porta-closing :is(.porta-closing__heading, .porta-closing__script, .porta-closing__contact, .porta-closing__buttons, .porta-closing__media) {
    clip-path: none;
    filter: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .porta-footer-reveal-ready .porta-footer__inner > :is(.porta-footer__contact, .porta-footer__address, .porta-footer__logo, .porta-footer__about) {
    filter: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .porta-gallery .gallery-arrow,
  .porta-gallery .gallery-arrow::before,
  .porta-gallery .gallery-arrow img {
    transition: none;
  }
}

.porta-contact-page {
  box-sizing: border-box;
  width: 100%;
  padding: 86px 0 72px;
  background: var(--porta-paper);
}

.porta-contact-page__inner.wp-block-group {
  width: calc(100% - 40px);
  max-width: var(--porta-content);
  margin-inline: auto;
}

.porta-contact-page__grid.wp-block-columns {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 610px);
  gap: clamp(64px, 7.7vw, 110px);
  align-items: start;
  margin: 0 0 72px;
}

.porta-contact-page__copy,
.porta-contact-page__form {
  min-width: 0;
}

.porta-contact-page__heading {
  margin: 0;
  color: var(--porta-ink);
  font-size: 60px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.24;
}

.porta-contact-page__form {
  padding-top: 17px;
}

.porta-contact-page .wpcf7-form {
  margin: 0;
}

.porta-cf7__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 32px;
}

.porta-cf7__grid > p,
.porta-cf7__actions > p {
  display: contents;
  margin: 0;
}

.porta-cf7 br {
  display: none;
}

.porta-cf7 label {
  display: block;
  margin: 0;
  color: var(--porta-muted);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.25;
}

.porta-cf7__control,
.porta-cf7__control .wpcf7-form-control-wrap {
  display: block;
}

.porta-cf7__control {
  margin-top: 7px;
}

.porta-cf7 input:not([type="submit"]) {
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  padding: 8px 18px;
  border: 0;
  border-radius: 24px;
  outline: 0;
  background: #f1f1f0;
  color: var(--porta-ink);
  font: inherit;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.porta-cf7 input:not([type="submit"]):hover {
  background: #f7f7f6;
}

.porta-cf7 input:not([type="submit"]):focus-visible {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(100, 234, 209, 0.72);
}

.porta-cf7__subject {
  grid-column: 1 / -1;
}

.porta-cf7__actions {
  display: flex;
  align-items: center;
  margin-top: 30px;
}

.porta-cf7 input[type="submit"] {
  width: 180px;
  min-height: 60px;
  padding: 10px 24px;
  border: 0;
  border-radius: 30px;
  background: var(--porta-mint);
  color: var(--porta-ink);
  cursor: pointer;
  font-family: Inter, sans-serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  transition: background-color 220ms ease, color 220ms ease, transform 280ms var(--porta-ease);
}

.porta-cf7 input[type="submit"]:hover,
.porta-cf7 input[type="submit"]:focus-visible {
  background: var(--porta-ink);
  color: var(--porta-mint);
  transform: translateY(-3px);
}

.porta-cf7 input[type="submit"]:active {
  transform: translateY(0) scale(0.985);
}

.porta-cf7 .wpcf7-spinner {
  margin: 0 0 0 14px;
}

.porta-cf7 .wpcf7-not-valid-tip {
  margin: 5px 10px 0;
  color: #8f3030;
  font-size: 13px;
  line-height: 1.25;
}

.porta-contact-page .wpcf7 form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 12px 16px;
  border-width: 1px;
  color: var(--porta-ink);
  font-size: 14px;
}

.porta-contact-page__media.wp-block-image {
  width: 100%;
  aspect-ratio: 1237 / 415;
  margin: 0;
  overflow: hidden;
}

.porta-contact-page__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.porta-contact-page-reveal-ready .porta-contact-page :is(.porta-contact-page__heading, .porta-contact-page__form) {
  filter: blur(8px);
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: filter 720ms var(--porta-ease) var(--porta-contact-page-delay, 0ms), opacity 720ms var(--porta-ease) var(--porta-contact-page-delay, 0ms), transform 900ms var(--porta-ease) var(--porta-contact-page-delay, 0ms);
}

.porta-contact-page-reveal-ready .porta-contact-page__media {
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transform: translate3d(0, 30px, 0) scale(1.012);
  transition: clip-path 1100ms var(--porta-ease) var(--porta-contact-page-delay, 0ms), opacity 760ms var(--porta-ease) var(--porta-contact-page-delay, 0ms), transform 1100ms var(--porta-ease) var(--porta-contact-page-delay, 0ms);
}

.porta-contact-page-reveal-ready .porta-contact-page :is(.porta-contact-page__heading, .porta-contact-page__form, .porta-contact-page__media).is-revealed {
  clip-path: inset(0);
  filter: blur(0);
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

@media (max-width: 1279px) {
  .porta-contact-page {
    padding: 72px 0 60px;
  }

  .porta-contact-page__inner.wp-block-group {
    width: calc(100% - 48px);
  }

  .porta-contact-page__grid.wp-block-columns {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 48px;
    margin-bottom: 64px;
  }

  .porta-contact-page__heading {
    font-size: 52px;
    line-height: 1.18;
  }

  .porta-contact-page__heading br {
    display: none;
  }
}

@media (max-width: 820px) {
  .porta-contact-page__grid.wp-block-columns {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .porta-contact-page__heading {
    max-width: 680px;
  }

  .porta-contact-page__form {
    width: 100%;
    max-width: 680px;
    padding-top: 0;
  }

  .porta-contact-page__media.wp-block-image {
    aspect-ratio: 16 / 7;
  }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .porta-contact-page__heading {
    font-size: 46px;
  }
}

@media (max-width: 560px) {
  .porta-contact-page {
    padding: 48px 0;
  }

  .porta-contact-page__inner.wp-block-group {
    width: calc(100% - 34px);
  }

  .porta-contact-page__grid.wp-block-columns {
    gap: 34px;
    margin-bottom: 48px;
  }

  .porta-contact-page__heading {
    font-size: clamp(32px, 8.72vw, 34px);
    line-height: 1.14;
    text-wrap: balance;
  }

  .porta-cf7__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .porta-cf7__subject {
    grid-column: auto;
  }

  .porta-cf7 label {
    font-size: 17px;
  }

  .porta-cf7 input:not([type="submit"]) {
    height: 48px;
  }

  .porta-cf7__actions {
    margin-top: 24px;
  }

  .porta-cf7 input[type="submit"] {
    width: 100%;
    min-height: 54px;
    font-size: 22px;
  }

  .porta-contact-page__media.wp-block-image {
    aspect-ratio: 4 / 3;
  }

  .porta-contact-page__media img {
    object-position: 52% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .porta-contact-page-reveal-ready .porta-contact-page :is(.porta-contact-page__heading, .porta-contact-page__form, .porta-contact-page__media) {
    clip-path: none;
    filter: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  .porta-tour {
    padding: 72px 0;
  }

  .porta-tour__head.wp-block-columns {
    gap: 32px;
    width: calc(100% - 48px);
    min-height: 0;
  }

  .porta-tour__heading {
    font-size: 46px;
    line-height: 1.15;
  }

  .porta-tour__description {
    font-size: 40px;
    line-height: 1.18;
  }

  .porta-tour__heading,
  .porta-tour__description {
    white-space: normal;
  }

  .porta-tour-embed.wp-block-porta-huasteca-tour-embed {
    width: calc(100% - 48px);
    margin-top: 56px;
  }
}

@media (max-width: 760px) {
  .porta-tour {
    padding: 52px 0;
  }

  .porta-tour__head.wp-block-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    width: calc(100% - 34px);
  }

  .porta-tour__head.porta-tour__head--compact {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .porta-tour__cue {
    font-size: 24px;
  }

  .porta-tour__icon.wp-block-image {
    width: 80px;
  }

  .porta-tour__heading {
    font-size: clamp(32px, 8.72vw, 34px);
    line-height: 1.14;
  }

  .porta-tour__description {
    font-size: clamp(26px, 7.18vw, 28px);
    line-height: 1.2;
  }

  .porta-tour__heading,
  .porta-tour__description {
    text-wrap: balance;
  }

  .porta-tour-embed.wp-block-porta-huasteca-tour-embed {
    width: calc(100% - 34px);
    aspect-ratio: 4 / 3;
    margin-top: 40px;
  }
}

@media (pointer: coarse) {
  .porta-tour-embed .originkit-usercursor-root {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .porta-tour-reveal-ready .porta-tour :is(.porta-tour__heading, .porta-tour__description, .porta-tour-embed) {
    clip-path: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  .porta-progress {
    padding-top: 72px;
  }

  .porta-progress .porta-progress__heading {
    width: calc(100% - 48px);
    margin-bottom: 40px;
  }

  .porta-progress .porta-progress__gallery {
    margin-top: 64px;
  }
}

@media (max-width: 560px) {
  .porta-progress {
    padding-top: 52px;
  }

  .porta-progress .porta-progress__heading {
    width: calc(100% - 34px);
    margin-bottom: 32px;
  }

  .porta-progress .porta-progress__gallery {
    margin-top: 36px;
  }
}

.porta-amenities-hero,
.porta-amenities-list {
  box-sizing: border-box;
  width: 100%;
  background: var(--porta-paper);
}

.porta-amenities-hero {
  padding: 76px 0 70px;
}

.porta-amenities-hero__inner.wp-block-group,
.porta-amenities-list__inner.wp-block-group {
  width: calc(100% - 40px);
  max-width: var(--porta-content);
  margin-inline: auto;
}

.porta-amenities-hero__grid.wp-block-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 710px;
  gap: 30px;
  min-height: 633px;
  margin: 0;
}

.porta-amenities-hero__copy,
.porta-amenities-hero__visual {
  min-width: 0;
}

.porta-amenities-hero__copy {
  padding-top: 0;
}

.porta-amenities-hero__heading {
  margin: -16px 0 0;
  color: var(--porta-ink);
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -2.4609px;
  line-height: 1.24;
}

.porta-amenities-hero__description,
.porta-amenities-hero__lead {
  max-width: 510px;
  margin: 0;
  color: var(--porta-muted);
  font-size: clamp(17px, 1.74vw, 25px);
  line-height: 33px;
  overflow-wrap: break-word;
}

.porta-amenities-hero__description {
  font-weight: 500;
  letter-spacing: -0.6406px;
}

.porta-amenities-hero__lead {
  font-weight: 800;
  letter-spacing: -1px;
}

.porta-amenities-hero .porta-amenities-hero__description {
  margin: 52px 0 0;
}

.porta-amenities-hero .porta-amenities-hero__lead {
  margin: 22px 0 0;
}

.porta-amenities-hero__lead strong {
  font-weight: 800;
}

.porta-amenities-hero__script {
  box-sizing: border-box;
  width: calc(100% - 40px);
  max-width: var(--porta-content);
  margin: 72px auto 28px;
  color: var(--porta-ink);
  font-family: "Fraunces 72", Fraunces, serif;
  font-size: 40px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.18;
  text-align: center;
}

.porta-amenities-hero .porta-amenities-hero__script {
  width: auto;
  margin: 32px 0 0;
  text-align: left;
}

.porta-amenities-closing__script {
  margin-block: 0;
  font-size: 60px;
  line-height: 1.08;
}

.porta-amenities-cta.wp-block-buttons,
.porta-amenities-hero__script + .porta-contact__buttons.wp-block-buttons {
  box-sizing: border-box;
  width: calc(100% - 40px);
  max-width: var(--porta-content);
  margin-inline: auto;
}

.porta-amenities-hero__contact {
  margin: 0;
  color: var(--porta-ink);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -1.7285px;
  line-height: 37px;
  overflow-wrap: break-word;
}

.porta-amenities-hero .porta-amenities-hero__contact {
  margin: 40px 0 0;
}

.porta-amenities-hero__buttons.wp-block-buttons {
  margin-top: 18px;
}

.porta-amenities-hero__button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 392px;
  max-width: 100%;
  min-height: 60px;
  padding: 8px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--porta-mint);
  color: var(--porta-ink);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -1.4648px;
  line-height: 37px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 220ms ease, color 220ms ease, transform 280ms var(--porta-ease);
}

.porta-amenities-hero__button .wp-block-button__link:is(:hover, :focus-visible) {
  background: var(--porta-ink);
  color: var(--porta-paper);
  transform: translate3d(0, -3px, 0);
}

.porta-amenities-hero__button .wp-block-button__link:active {
  transform: translate3d(0, 0, 0) scale(0.985);
}

.porta-amenities-hero__media.wp-block-image {
  width: 710px;
  height: 633px;
  margin: 0;
  overflow: hidden;
  border-radius: 0 317px 0 0;
}

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

.porta-amenities-list {
  padding: 35px 0 39px;
}

.porta-amenities-list__inner.wp-block-group {
  display: grid;
  grid-template-columns: 350px 230px 250px;
  align-items: start;
  gap: 64px;
}

.porta-amenities-list__heading {
  margin: 0;
  color: var(--porta-ink);
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -2.2266px;
  line-height: 73px;
}

.porta-amenities-list__items {
  margin: 12px 0 0;
  padding-left: 17px;
  color: var(--porta-ink);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 29px;
  list-style-position: outside;
}

.porta-amenities-gallery {
  padding-top: 0;
}

.porta-amenities-reveal-ready :is(
  .porta-amenities-hero__heading,
  .porta-amenities-hero__description,
  .porta-amenities-hero__lead,
  .porta-amenities-hero__script,
  .porta-amenities-hero__contact,
  .porta-amenities-hero__buttons,
  .porta-amenities-list__heading,
  .porta-amenities-list__items
) {
  filter: blur(8px);
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: filter 720ms var(--porta-ease) var(--porta-amenities-delay, 0ms), opacity 720ms var(--porta-ease) var(--porta-amenities-delay, 0ms), transform 880ms var(--porta-ease) var(--porta-amenities-delay, 0ms);
}

.porta-amenities-reveal-ready .porta-amenities-hero__media {
  clip-path: inset(0 0 100% 0 round 0 317px 0 0);
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(1.018);
  transition: clip-path 1050ms var(--porta-ease) var(--porta-amenities-delay, 0ms), opacity 760ms var(--porta-ease) var(--porta-amenities-delay, 0ms), transform 1050ms var(--porta-ease) var(--porta-amenities-delay, 0ms);
}

.porta-amenities-reveal-ready :is(
  .porta-amenities-hero__heading,
  .porta-amenities-hero__description,
  .porta-amenities-hero__lead,
  .porta-amenities-hero__script,
  .porta-amenities-hero__contact,
  .porta-amenities-hero__buttons,
  .porta-amenities-hero__media,
  .porta-amenities-list__heading,
  .porta-amenities-list__items
).is-revealed {
  filter: none;
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.porta-amenities-reveal-ready .porta-amenities-hero__media.is-revealed {
  clip-path: inset(0);
}

@media (max-width: 1279px) {
  .porta-amenities-hero {
    padding: 56px 0 64px;
  }

  .porta-amenities-hero__inner.wp-block-group,
  .porta-amenities-list__inner.wp-block-group {
    width: calc(100% - 48px);
  }

  .porta-amenities-hero__grid.wp-block-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
    min-height: 0;
  }

  .porta-amenities-hero__heading {
    margin-top: 0;
    font-size: 52px;
    line-height: 1.15;
  }

  .porta-amenities-hero__description,
  .porta-amenities-hero__lead {
    max-width: 620px;
  }

  .porta-amenities-hero__media.wp-block-image {
    width: 100%;
    height: auto;
    aspect-ratio: 710 / 633;
  }

  .porta-amenities-list {
    padding-top: 16px;
  }

  .porta-amenities-list__inner.wp-block-group {
    grid-template-columns: minmax(260px, 1fr) minmax(205px, 0.65fr) minmax(220px, 0.7fr);
    gap: 36px;
  }

  .porta-amenities-list__heading {
    font-size: 52px;
    line-height: 1.15;
  }

  .porta-amenities-closing__script {
    font-size: 46px;
  }
}

@media (max-width: 900px) {
  .porta-amenities-list__inner.wp-block-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

  .porta-amenities-list__heading {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .porta-amenities-hero {
    padding: 44px 0 52px;
  }

  .porta-amenities-hero__inner.wp-block-group,
  .porta-amenities-list__inner.wp-block-group {
    width: calc(100% - 34px);
  }

  .porta-amenities-hero__grid.wp-block-columns {
    gap: 34px;
  }

  .porta-amenities-hero__heading {
    font-size: 42px;
    letter-spacing: 0;
    line-height: 1.08;
  }

  .porta-amenities-hero__description,
  .porta-amenities-hero__lead {
    font-size: 17px;
    letter-spacing: 0;
    line-height: 1.36;
  }

  .porta-amenities-hero .porta-amenities-hero__description {
    margin-top: 34px;
  }

  .porta-amenities-hero .porta-amenities-hero__lead {
    margin-top: 18px;
  }

  .porta-amenities-hero__script {
    width: calc(100% - 34px);
    font-size: 33px;
    line-height: 1.14;
  }

  .porta-amenities-closing__script {
    font-size: 40px;
    line-height: 1.08;
  }

  .porta-amenities-hero .porta-amenities-hero__script {
    width: auto;
    margin-top: 26px;
  }

  .porta-amenities-cta.wp-block-buttons,
  .porta-amenities-hero__script + .porta-contact__buttons.wp-block-buttons {
    width: calc(100% - 34px);
  }

  .porta-amenities-hero .porta-amenities-hero__contact {
    margin-top: 30px;
    font-size: 23px;
    letter-spacing: 0;
    line-height: 1.25;
  }

  .porta-amenities-hero__buttons.wp-block-buttons {
    margin-top: 16px;
  }

  .porta-amenities-hero__button,
  .porta-amenities-hero__button .wp-block-button__link {
    width: 100%;
  }

  .porta-amenities-hero__button .wp-block-button__link {
    min-height: 54px;
    font-size: 22px;
    letter-spacing: 0;
    line-height: 1.2;
  }

  .porta-amenities-hero__media.wp-block-image {
    border-radius: 0 40% 0 0;
  }

  .porta-amenities-list {
    padding: 8px 0 34px;
  }

  .porta-amenities-list__inner.wp-block-group {
    gap: 14px 20px;
  }

  .porta-amenities-list__heading {
    font-size: 42px;
    letter-spacing: 0;
    line-height: 1.1;
  }

  .porta-amenities-list__items {
    margin-top: 4px;
    padding-left: 15px;
    font-size: 18px;
    line-height: 1.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .porta-amenities-reveal-ready :is(
    .porta-amenities-hero__heading,
    .porta-amenities-hero__description,
    .porta-amenities-hero__lead,
    .porta-amenities-hero__script,
    .porta-amenities-hero__contact,
    .porta-amenities-hero__buttons,
    .porta-amenities-hero__media,
    .porta-amenities-list__heading,
    .porta-amenities-list__items
  ) {
    clip-path: none;
    filter: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (pointer: coarse) {
  .porta-gallery .originkit-usercursor-root {
    display: none;
  }
}

.porta-departments-hero,
.porta-site-plan {
  box-sizing: border-box;
  width: 100%;
  background: var(--porta-paper);
}

.porta-departments-hero {
  padding: 75px 0 120px;
}

.porta-departments-hero__inner.wp-block-group {
  position: relative;
  width: calc(100% - 40px);
  max-width: var(--porta-content);
  height: 635px;
  margin-inline: auto;
}

.porta-departments-hero__grid.wp-block-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 710px;
  gap: 30px;
  width: 100%;
  height: 635px;
  margin: 0;
}

.porta-departments-hero__copy,
.porta-departments-hero__visual {
  min-width: 0;
}

.porta-departments-hero__heading {
  margin: -19px 0 0;
  color: var(--porta-ink);
  font-size: 50px;
  font-weight: 400;
  letter-spacing: -0.6719px;
  line-height: 60px;
}

.porta-departments-hero__measure {
  font-family: Fraunces, serif;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
}

.porta-departments-hero__heading strong {
  display: inline-block;
  margin-top: 1px;
  font-weight: 800;
  letter-spacing: -0.1953px;
}

.porta-departments-hero__media.wp-block-image {
  width: 710px;
  height: 635px;
  margin: 0;
  overflow: hidden;
  border-radius: 0 317px 0 0;
}

.porta-departments-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.porta-departments-facts.wp-block-group {
  position: absolute;
  z-index: 2;
  bottom: 0;
  right: 710px;
  box-sizing: border-box;
  width: 424px;
  height: 233px;
  padding: 14px 8px;
  border-radius: 0 0 0 55px;
  background: #fff;
}

.porta-departments-facts p {
  display: grid;
  grid-template-columns: 73px minmax(0, 1fr);
  align-items: center;
  height: 41px;
  margin: 0;
  border-bottom: 1px solid #b5ada5;
  color: var(--porta-ink);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -1.15px;
  line-height: 1.08;
}

.porta-departments-facts p:last-child {
  border-bottom: 0;
}

.porta-departments-facts strong {
  padding-right: 8px;
  font-family: Fraunces, serif;
  font-size: 27px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  text-align: right;
}

.porta-departments-facts span {
  padding-left: 10px;
}

.porta-site-plan {
  padding: 0 0 120px;
}

.porta-site-plan__inner.wp-block-group {
  width: calc(100% - 40px);
  max-width: var(--porta-content);
  margin-inline: auto;
}

.porta-site-plan__heading {
  margin: 0 0 40px;
  color: var(--porta-ink);
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -2.8125px;
  line-height: 73px;
}

.porta-site-plan__inner > .porta-site-plan__heading {
  margin-block-end: 40px;
}

.porta-site-plan__media.wp-block-image {
  width: 100%;
  margin: 0;
}

.porta-site-plan__canvas.wp-block-group {
  position: relative;
}

.porta-site-plan__swipe-hint {
  display: none;
}

.editor-styles-wrapper .porta-site-plan__swipe-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--porta-ink);
  font-size: 14px;
}

.porta-north-indicator {
  position: absolute;
  z-index: 3;
  top: 4.5%;
  right: 3.3%;
  width: 72px;
  height: 72px;
  pointer-events: none;
}

.porta-north-indicator__arrow,
.porta-north-indicator__label {
  position: absolute;
  display: block;
}

.porta-north-indicator__arrow {
  top: 17px;
  left: 17px;
  width: 38px;
  height: 38px;
  transform: none;
  transform-origin: center;
}

.porta-north-indicator__label {
  right: 0;
  bottom: 0;
  min-width: 30px;
  color: var(--porta-ink);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
}

.porta-north-indicator-editor {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 4px;
  padding: 10px;
  border: 1px dashed var(--porta-ink);
}

.porta-north-indicator-editor small {
  grid-column: 1 / -1;
}

.porta-apartments {
  box-sizing: border-box;
  width: 100%;
  padding: 0 0 92px;
  background: var(--porta-paper);
}

.porta-apartments__inner {
  width: calc(100% - 40px);
  max-width: var(--porta-content);
  margin-inline: auto;
}

.porta-apartment-group {
  width: min(1280px, 100%);
  margin: 0 auto 92px;
}

.porta-apartment-group:last-child {
  margin-bottom: 0;
}

.porta-apartment-group__header {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  align-items: end;
  box-sizing: border-box;
  min-height: 112px;
  padding-right: 72px;
}

.porta-apartment-group__header h2 {
  margin: 0 0 22px;
  color: var(--porta-ink);
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -2.7px;
  line-height: 1;
}

.porta-apartment-tabs {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.porta-apartment-tab {
  display: grid;
  grid-template-rows: auto 38px;
  align-items: end;
  justify-items: center;
  box-sizing: border-box;
  min-width: 180px;
  min-height: 112px;
  padding: 10px 7px 0;
  border: 0;
  border-radius: 20px 20px 0 0;
  background: transparent;
  color: var(--porta-ink);
  cursor: pointer;
  transition: background-color 280ms var(--porta-ease), transform 280ms var(--porta-ease);
}

.porta-apartment-tab:hover {
  transform: translate3d(0, -3px, 0);
}

.porta-apartment-tab.is-active {
  background: #b8afa7;
  transform: none;
}

.porta-apartment-tab > span {
  font-family: "Fraunces 72", Fraunces, serif;
  font-size: 44px;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
}

.porta-apartment-tab small {
  align-self: center;
  padding: 4px 8px;
  border-radius: 0 0 10px 10px;
  background: var(--porta-mint);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  white-space: nowrap;
}

.porta-apartment-panels {
  position: relative;
}

.porta-apartment-panel {
  display: grid;
  grid-template-columns: 560px minmax(0, 1fr);
  align-items: center;
  box-sizing: border-box;
  min-height: 564px;
  padding: 30px 30px 30px 76px;
  overflow: hidden;
  border-radius: 0 55px 55px;
  background: #b8afa7;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 260ms ease, transform 420ms var(--porta-ease);
}

.porta-apartment-panel[hidden] {
  display: none;
}

.porta-apartment-panel.is-leaving {
  opacity: 0;
  transform: translate3d(-18px, 0, 0);
}

.porta-apartment-panel.is-entering {
  opacity: 0;
  transform: translate3d(22px, 0, 0);
}

.porta-apartment-amenities {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 560px;
  min-height: 302px;
  padding: 7px 13px 7px;
  border-radius: 0 0 0 55px;
  background: #fff;
}

.porta-apartment-amenity {
  display: grid;
  grid-template-columns: 38px 68px minmax(0, 1fr);
  align-items: center;
  min-height: 57px;
  border-bottom: 1px solid #b5ada5;
  color: var(--porta-ink);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -1.8px;
  line-height: 1.05;
}

.porta-apartment-amenity:last-child {
  border-bottom: 0;
}

.porta-apartment-amenity__icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
}

.porta-apartment-amenity__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.porta-apartment-amenity strong,
.porta-apartment-amenity__count {
  font-family: Fraunces, serif;
  font-size: 35px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
}

.porta-apartment-panel__media {
  --porta-floorplan-padding-y: 32px;
  position: relative;
  z-index: 1;
  display: grid;
  box-sizing: border-box;
  width: calc(100% + 60px);
  height: 504.132px;
  margin-left: -60px;
  padding: var(--porta-floorplan-padding-y) 30px;
  overflow: hidden;
  border-radius: 0 88px 0 88px;
  background: #dbd6d2;
  place-items: center;
}

.porta-apartment-group:nth-child(2) .porta-apartment-panel__media {
  padding-inline: 22px;
}

.porta-apartment-panel__media .porta-apartment-panel__image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.porta-departments-reveal-ready .porta-site-plan__heading {
  filter: blur(8px);
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: filter 760ms var(--porta-ease) var(--porta-departments-delay, 0ms), opacity 760ms var(--porta-ease) var(--porta-departments-delay, 0ms), transform 900ms var(--porta-ease) var(--porta-departments-delay, 0ms);
}

.porta-departments-reveal-ready .porta-site-plan__canvas {
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transform: translate3d(0, 32px, 0) scale(0.99);
  transition: clip-path 1050ms var(--porta-ease) var(--porta-departments-delay, 0ms), opacity 760ms var(--porta-ease) var(--porta-departments-delay, 0ms), transform 1050ms var(--porta-ease) var(--porta-departments-delay, 0ms);
}

.porta-departments-reveal-ready :is(.porta-site-plan__heading, .porta-site-plan__canvas).is-revealed {
  clip-path: inset(0);
  filter: blur(0);
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.porta-apartments--editor .porta-apartment-group {
  margin-bottom: 0;
}

.porta-editor-segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.porta-editor-amenity {
  padding: 12px 0;
  border-bottom: 1px solid #ddd;
}

.porta-site-plan__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
}

@media (max-width: 1279px) {
  .porta-departments-hero {
    padding: 56px 0 80px;
  }

  .porta-departments-hero__inner.wp-block-group {
    width: calc(100% - 48px);
    max-width: var(--porta-content);
    height: auto;
    margin-inline: auto;
  }

  .porta-departments-hero__grid.wp-block-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    height: auto;
  }

  .porta-departments-hero__heading {
    margin-top: 0;
    font-size: 46px;
    line-height: 1.18;
  }

  .porta-departments-hero__visual {
    width: 100%;
    max-width: none;
  }

  .porta-departments-hero__media.wp-block-image {
    width: 100%;
    height: auto;
    aspect-ratio: 710 / 635;
  }

  .porta-departments-facts.wp-block-group {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    width: min(424px, 100%);
    margin-top: -1px;
  }

  .porta-site-plan {
    padding-bottom: 80px;
  }

  .porta-site-plan__inner.wp-block-group {
    width: calc(100% - 48px);
    max-width: var(--porta-content);
    margin-inline: auto;
  }

  .porta-site-plan__heading {
    font-size: 52px;
    line-height: 1.18;
  }
}

@media (max-width: 560px) {
  .porta-departments-hero {
    padding: 48px 0 64px;
  }

  .porta-departments-hero__inner.wp-block-group,
  .porta-site-plan__inner.wp-block-group {
    width: calc(100% - 34px);
  }

  .porta-departments-hero__grid.wp-block-columns {
    gap: 32px;
  }

  .porta-departments-hero__heading {
    font-size: 36px;
    letter-spacing: 0;
    line-height: 1.16;
  }

  .porta-departments-hero__heading strong {
    margin-top: 5px;
  }

  .porta-departments-hero__media.wp-block-image {
    border-radius: 0 40% 0 0;
  }

  .porta-departments-facts.wp-block-group {
    min-height: 0;
    padding: 14px 8px 12px;
    border-radius: 0 0 0 36px;
  }

  .porta-departments-facts p {
    grid-template-columns: 58px minmax(0, 1fr);
    min-height: 36px;
    font-size: 17px;
    letter-spacing: 0;
  }

  .porta-departments-facts strong {
    font-size: 21px;
  }

  .porta-departments-facts span {
    padding-left: 8px;
  }

  .porta-site-plan {
    padding-bottom: 64px;
  }

  .porta-site-plan__heading {
    margin-bottom: 28px;
    font-size: 42px;
    letter-spacing: 0;
    line-height: 1.12;
  }

  .porta-site-plan__media.wp-block-image {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
  }

  .porta-site-plan__media.wp-block-image::-webkit-scrollbar {
    display: none;
  }

  .porta-site-plan__media img {
    width: 760px;
    max-width: none;
  }

  .porta-site-plan__swipe-hint.is-available {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 14px 0 0;
    color: var(--porta-ink);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.35;
    opacity: 0.78;
    transition: opacity 280ms ease, visibility 280ms ease;
  }

  .porta-site-plan__swipe-hint.is-available::before {
    content: "\2194";
    display: inline-block;
    color: var(--porta-mint);
    font-size: 22px;
    line-height: 1;
    animation: porta-site-plan-swipe 1.6s ease-in-out infinite;
  }

  .porta-site-plan__swipe-hint.is-dismissed {
    visibility: hidden;
    opacity: 0;
  }
}

@keyframes porta-site-plan-swipe {
  0%,
  100% {
    transform: translateX(-3px);
  }

  50% {
    transform: translateX(3px);
  }
}

@media (max-width: 1279px) {
  .porta-apartments__inner {
    width: calc(100% - 48px);
  }

  .porta-apartment-group {
    width: 100%;
  }

  .porta-apartment-group__header h2 {
    font-size: 52px;
  }

  .porta-apartment-tab {
    min-width: 145px;
  }

  .porta-apartment-panel {
    grid-template-columns: minmax(390px, 520px) minmax(0, 1fr);
    padding-inline: 34px 24px;
  }

  .porta-apartment-amenities {
    width: 100%;
  }

}

@media (max-width: 900px) {
  .porta-apartment-group__header {
    display: block;
    min-height: 0;
    padding-right: 0;
  }

  .porta-apartment-group__header h2 {
    margin-bottom: 28px;
  }

  .porta-apartment-tabs {
    box-sizing: border-box;
    width: 100%;
    padding-right: 0;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .porta-apartment-tabs::-webkit-scrollbar {
    display: none;
  }

  .porta-apartment-tab {
    flex: 1 0 150px;
  }

  .porta-apartment-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 28px;
    border-radius: 0 0 44px 44px;
  }

  .porta-apartment-panel__media {
    --porta-floorplan-padding-y: clamp(16px, 4vw, 32px);
    grid-row: 1;
    width: 100%;
    height: auto;
    margin: 0;
    padding: var(--porta-floorplan-padding-y) clamp(12px, 3vw, 30px);
    aspect-ratio: 676.746 / 504.132;
    border-radius: 0 clamp(44px, 11vw, 88px) 0 clamp(44px, 11vw, 88px);
  }

  .porta-apartment-group:nth-child(2) .porta-apartment-panel__media {
    width: 100%;
    margin: 0;
    padding-inline: clamp(12px, 3vw, 22px);
  }

  .porta-apartment-panel__media .porta-apartment-panel__image {
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
  }

  .porta-apartment-amenities {
    grid-row: 2;
  }
}

@media (max-width: 560px) {
  .porta-north-indicator {
    top: 16px;
    right: 16px;
    transform: scale(0.72);
    transform-origin: top right;
  }

  .porta-apartments {
    padding-bottom: 64px;
  }

  .porta-apartments__inner {
    width: calc(100% - 34px);
  }

  .porta-apartment-group {
    margin-bottom: 64px;
  }

  .porta-apartment-group__header h2 {
    margin-bottom: 22px;
    font-size: 42px;
    letter-spacing: 0;
    line-height: 1.08;
  }

  .porta-apartment-tab {
    grid-template-rows: auto 32px;
    flex-basis: 130px;
    min-width: 130px;
    min-height: 94px;
  }

  .porta-apartment-tab > span {
    font-size: 34px;
  }

  .porta-apartment-tab small {
    font-size: 12px;
  }

  .porta-apartment-panel {
    gap: 16px;
    min-height: 0;
    padding: 16px;
    border-radius: 0 0 32px 32px;
  }

  .porta-apartment-amenities {
    min-height: 0;
    padding: 6px 10px;
    border-radius: 0 0 0 28px;
  }

  .porta-apartment-amenity {
    grid-template-columns: 30px 54px minmax(0, 1fr);
    min-height: 48px;
    font-size: 17px;
    letter-spacing: 0;
  }

  .porta-apartment-amenity__icon {
    width: 23px;
    height: 23px;
  }

  .porta-apartment-amenity strong,
  .porta-apartment-amenity__count {
    font-size: 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .porta-site-plan__swipe-hint.is-available::before {
    animation: none;
  }

  .porta-apartment-panel,
  .porta-apartment-tab {
    transition: none;
  }

  .porta-departments-reveal-ready :is(.porta-site-plan__heading, .porta-site-plan__canvas) {
    clip-path: none;
    filter: none;
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Shared display tracking scales down with the viewport to preserve legibility. */
.porta-intro__heading,
.porta-location__heading,
.porta-gallery__heading,
.porta-closing__heading,
.porta-tour__heading,
.porta-amenities-hero__heading,
.porta-amenities-list__heading,
.porta-contact-page__heading,
.porta-site-plan__heading,
.porta-apartment-group__header h2 {
  letter-spacing: var(--porta-heading-tracking);
}

.porta-location__heading span,
.porta-closing__heading span {
  letter-spacing: inherit;
}

/* Keep the location copy rhythm equal between each editable content block. */
.porta-location__copy.wp-block-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.porta-location__copy.wp-block-column > :is(
  .porta-location__heading,
  .porta-location__description,
  .porta-location__accent,
  .porta-nearby-list
) {
  margin-block: 0;
}

@media (max-width: 1100px) {
  .porta-location__copy.wp-block-column {
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .porta-location__copy.wp-block-column {
    gap: 32px;
  }
}
