/* WordPress-only structural normalization. All visual declarations remain in the Astro reference CSS. */

[data-tw-block-instance] {
  display: contents;
}

.wp-site-blocks,
.entry-content {
  display: contents;
}

.tw-home-content > p:empty {
  display: none;
}

.whatsapp-icon {
  flex: none;
}

.review-photo--placeholder {
  display: grid;
  color: rgb(61 104 102 / 48%);
  background: rgb(61 104 102 / 8%);
  place-items: center;
}

.review-photo--placeholder svg {
  width: 2.75rem;
  height: 2.75rem;
}

.wordmark img,
.footer-wordmark img {
  display: block;
  width: auto;
}

.wordmark img {
  height: 1.45rem;
}

.footer-wordmark img {
  height: 2.28rem;
}

.contact-link {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.collection-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2.5rem;
  text-align: center;
}

.collection-cta h3 {
  margin: 0;
  color: var(--block-text);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.collection-cta p {
  margin: 0.75rem 0 1.5rem;
  color: var(--block-muted);
}

.program-day-body {
  display: block;
}

.program-copy {
  display: grid;
  gap: 1.5rem;
}

.activity-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(17rem, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.program-day-body--no-image .activity-row {
  grid-template-columns: minmax(0, 1fr);
}

.activity-row .activity {
  position: relative;
  display: flex;
  gap: 1rem;
}

.activity-number {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  color: var(--forest-950);
  background: var(--sun-300);
  border-radius: 50%;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.activity-row:not(:last-child)::after {
  position: absolute;
  top: 1rem;
  bottom: -2.5rem;
  left: 0.91rem;
  width: 0.18rem;
  background: var(--sun-300);
  content: '';
}

.activity-row > img {
  width: 100%;
  height: clamp(14rem, 25vw, 20rem);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1rem;
}

.cta-block[data-astro-cid-c4vbcd2g] .actions[data-astro-cid-c4vbcd2g] {
  justify-content: center;
}

.gallery .gallery-item,
.gallery-block .gallery-item {
  align-self: start;
}

.gallery-lightbox-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

.gallery-lightbox-trigger img {
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.gallery-lightbox {
  width: min(92rem, calc(100vw - 2rem));
  max-width: none;
  height: min(56rem, calc(100dvh - 2rem));
  max-height: none;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: #001412;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: 1rem;
  box-shadow: 0 1.5rem 5rem rgb(0 0 0 / 45%);
}

.gallery-lightbox::backdrop {
  background: rgb(0 20 18 / 88%);
  backdrop-filter: blur(0.25rem);
}

.gallery-lightbox__stage {
  display: grid;
  width: 100%;
  height: 100%;
  padding: 3.5rem 4.5rem 2.75rem;
  place-items: center;
}

.gallery-lightbox__stage img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 9rem);
  object-fit: contain;
}

.gallery-lightbox__close,
.gallery-lightbox__previous,
.gallery-lightbox__next {
  position: absolute;
  z-index: 1;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  color: #fff;
  background: rgb(0 37 35 / 78%);
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
  font-size: 1.6rem;
  line-height: 1;
}

.gallery-lightbox__close {
  top: 0.75rem;
  right: 0.75rem;
}

.gallery-lightbox__previous,
.gallery-lightbox__next {
  top: 50%;
  transform: translateY(-50%);
}

.gallery-lightbox__previous {
  left: 0.75rem;
}

.gallery-lightbox__next {
  right: 0.75rem;
}

.gallery-lightbox__caption,
.gallery-lightbox__counter {
  position: absolute;
  bottom: 0.75rem;
  margin: 0;
  font-size: 0.85rem;
}

.gallery-lightbox__caption {
  left: 1rem;
  max-width: calc(100% - 8rem);
}

.gallery-lightbox__counter {
  right: 1rem;
  color: rgb(255 255 255 / 75%);
}

.tour-cta.tour-cta--persistent {
  position: fixed;
  z-index: 40;
  top: var(--tour-cta-top);
  left: var(--tour-cta-left);
  width: var(--tour-cta-width);
  margin-top: 0;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.admin-bar .site-header {
  top: 0;
}

@media (max-width: 782px) {
  #wpadminbar {
    position: fixed;
  }
}

@media (max-width: 50rem) {
  .activity-row {
    grid-template-columns: 1fr;
  }

  .activity-row > img {
    width: calc(100% - 3rem);
    margin-left: 3rem;
    height: 14rem;
  }
}

@media (max-width: 38rem) {
  .gallery-lightbox {
    width: calc(100vw - 1rem);
    height: calc(100dvh - 1rem);
  }

  .gallery-lightbox__stage {
    padding: 3.5rem 1rem 3rem;
  }

  .gallery-lightbox__previous,
  .gallery-lightbox__next {
    top: auto;
    bottom: 0.5rem;
    transform: none;
  }

  .gallery-lightbox__previous {
    left: 50%;
    margin-left: -3.25rem;
  }

  .gallery-lightbox__next {
    right: 50%;
    margin-right: -3.25rem;
  }

  .gallery-lightbox__caption {
    display: none;
  }

  .gallery-lightbox__counter {
    right: 1rem;
    bottom: 1.2rem;
  }
}
