@view-transition {
  navigation: auto;
}

.azt-space-detail {
  --azt-blue: #0a3e75;
  --azt-blue-dark: #123964;
  --azt-panel-bg: #ececec;
  --azt-text: #1f1f1f;
  --azt-cyan: #70b8d4;
  --panel-pad-x: clamp(22px, 2.4vw, 44px);
  --panel-pad-top: clamp(28px, 3vw, 56px);
  --azt-adminbar-h: 0px;
  --media-focus-x: 50%;
  --media-focus-y: 42%;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  color: var(--azt-text);
  width: 100%;
  height: auto;
  min-height: calc(100dvh - var(--azt-adminbar-h));
  display: flex;
  flex-direction: column;
  background: #f5f5f5;
}

body.admin-bar .azt-space-detail {
  --azt-adminbar-h: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .azt-space-detail {
    --azt-adminbar-h: 46px;
  }
}

.elementor-widget-azotea_space_detail {
  width: 100%;
}

.elementor-widget-azotea_space_detail>.elementor-widget-container {
  width: 100%;
}

.azt-space-detail *,
.azt-space-detail *::before,
.azt-space-detail *::after {
  box-sizing: border-box;
}

.azt-space-detail p,
.azt-space-detail h1,
.azt-space-detail h2,
.azt-space-detail h3 {
  margin-bottom: 0;
}

.azt-space-detail a,
.azt-space-detail a:hover,
.azt-space-detail a:focus,
.azt-space-detail a:focus-visible {
  text-decoration: none;
}

.azt-space-detail__top {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr);
  align-items: stretch;
  flex: 1 1 auto;
  min-height: 0;
}

.azt-space-detail__media-wrap {
  position: relative;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: #dedede;
}

.azt-space-detail__media-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.azt-space-detail__media-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 320ms ease;
  will-change: transform;
}

.azt-space-detail__media-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  overflow: hidden;
}

.azt-space-detail__media-img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover !important;
  object-position: var(--media-focus-x) var(--media-focus-y);
  display: block;
}

.azt-space-detail__media-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  justify-content: space-between;
  padding: 0 clamp(10px, 1vw, 20px);
  pointer-events: none;
}

.azt-space-detail__btn--slider {
  width: 48px;
  min-width: 48px;
  height: 48px;
  border-radius: 999px;
  font-size: 34px;
  line-height: 1;
  padding: 0;
  pointer-events: auto;
}

.azt-space-detail__media-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 1.8vw, 26px);
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  gap: 8px;
}

.azt-space-detail__media-dot {
  appearance: none;
  border: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.azt-space-detail__media-dot.is-active {
  background: #fff;
  transform: scale(1.2);
}

.azt-space-detail__media-actions {
  position: absolute;
  right: clamp(16px, 2vw, 30px);
  bottom: clamp(16px, 2vw, 30px);
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 8px;
  z-index: 3;
}

.azt-space-detail__btn {
  appearance: none;
  border: 1px solid #8ed4e9;
  background: rgba(10, 62, 117, 0.86);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  font: 600 15px/1.1 "Montserrat", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.02em;
  transition: background 180ms ease, transform 180ms ease;
}

.azt-space-detail__btn:hover,
.azt-space-detail__btn:focus-visible {
  background: rgba(7, 42, 82, 0.95);
  border-color: #b9e9f5;
  color: #fff;
  transform: translateY(-1px);
}

.azt-space-detail__btn--icon {
  width: 44px;
  min-width: 44px;
  padding: 0;
  border-radius: 7px;
}

.azt-space-detail__panel {
  background: var(--azt-panel-bg);
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.azt-space-detail__title {
  position: relative;
  margin: 0;
  padding: var(--panel-pad-top) var(--panel-pad-x) 12px;
  color: var(--azt-blue);
  font-size: clamp(38px, 3.2vw, 58px);
  line-height: 1;
  font-weight: 500;
}

.azt-space-detail__title::after {
  content: "";
  position: absolute;
  left: var(--panel-pad-x);
  right: var(--panel-pad-x);
  bottom: 0;
  height: 2px;
  background: color-mix(in srgb, var(--azt-blue) 78%, white);
}

.azt-space-detail__area {
  margin-top: clamp(10px, 1.6vw, 22px);
  padding: 0 var(--panel-pad-x);
  color: var(--azt-cyan);
  text-align: right;
  font-size: clamp(56px, 4.2vw, 88px);
  line-height: 0.95;
  font-weight: 500;
}

.azt-space-detail__description {
  margin: clamp(20px, 2vw, 34px) 0 clamp(16px, 1.6vw, 24px);
  padding: 0 var(--panel-pad-x);
  max-width: 38ch;
  color: #191919;
  font: 500 clamp(24px, 1.8vw, 35px)/1.05 "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

.azt-space-detail__capacity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 2px;
  margin-top: auto;
  background: #e6e6e6;
}

.azt-space-detail__capacity-item {
  position: relative;
  min-height: clamp(110px, 13vh, 170px);
  background: #f1f1f1;
  padding: clamp(12px, 1.2vw, 18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.azt-space-detail__capacity-value,
.azt-space-detail__capacity-label {
  margin: 0;
  color: var(--azt-blue);
}

.azt-space-detail__capacity-value {
  font-size: clamp(32px, 2.2vw, 48px);
  line-height: 1;
  font-weight: 500;
}

.azt-space-detail__capacity-label {
  margin-top: 6px;
  font: 500 clamp(22px, 1.3vw, 26px)/1 "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

.azt-space-detail__bottom {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: var(--azt-blue-dark);
  color: #fff;
}

.azt-space-detail__bottom-item {
  padding: clamp(16px, 1.5vw, 26px) clamp(12px, 1.2vw, 20px);
  min-height: clamp(120px, 12vh, 180px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.azt-space-detail__bottom-item:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 80%;
  background: #72c8dd;
}

.azt-space-detail__bottom-title {
  margin: 0 0 0.25rem;
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 1.9vw, 38px);
  line-height: 0.95;
  font-weight: 500;
}

.azt-space-detail__bottom-description {
  margin: 0;
  color: #fff;
  font: 500 clamp(14px, 0.95vw, 20px)/1.18 "Montserrat", "Helvetica Neue", Arial, sans-serif;
}

.azt-space-detail__bottom-description > :first-child {
  margin-top: 0;
}

.azt-space-detail__bottom-description > :last-child {
  margin-bottom: 0;
}

@media (max-width: 1180px) {
  .azt-space-detail {
    height: auto;
    min-height: auto;
  }

  .azt-space-detail__top {
    grid-template-columns: 1fr;
    flex: initial;
    min-height: auto;
  }

  .azt-space-detail__media-wrap {
    min-height: 48vh;
  }

  .azt-space-detail__description {
    max-width: none;
  }

  .azt-space-detail__bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .azt-space-detail__bottom-item:nth-child(odd) {
    border-left: 0;
  }
}

@media (max-width: 680px) {
  .azt-space-detail__capacity-grid {
    grid-template-columns: 1fr;
  }

  .azt-space-detail__bottom {
    grid-template-columns: 1fr;
  }

  .azt-space-detail__bottom-item {
    border-top: 1px solid rgba(111, 196, 221, 0.44);
  }

  .azt-space-detail__bottom-item:not(:first-child)::before {
    content: none;
  }

  .azt-space-detail__bottom-item:first-child {
    border-top: 0;
  }
}
