/* Experience Serendipity 3.8.2 – Retreats photographic overlap correction.
 * Intentional layering for the two authentic photographs; protected caption area. */
.retreat-theme-host .art-stack {
  min-height: 666px;
  padding-bottom: 108px;
}
.retreat-theme-host .art-stack .photo:nth-child(2) {
  bottom: 103px;
}
.retreat-theme-host .art-stack .retreat-host-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: #496d70;
  font-size: 11px;
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.retreat-theme-host .retreat-host-caption .caption-line:nth-child(2) {
  padding-left: 26px;
}
/* Tablet and phone: prevent staggered photographs from sitting on the caption. */
@media (max-width: 950px) {
  .retreat-theme-host .art-stack {
    width: 100%;
    max-width: 650px;
    min-height: 575px;
    padding-bottom: 110px;
  }
}
@media (max-width: 600px) {
  .retreat-theme-host .art-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    padding: 0;
    overflow: visible;
  }
  .retreat-theme-host .art-stack .photo:first-child {
    width: calc(100% - 25px);
    height: 300px;
    flex: 0 0 auto;
  }
  .retreat-theme-host .art-stack .photo:nth-child(2) {
    position: relative;
    width: 51%;
    height: 168px;
    flex: 0 0 auto;
    align-self: flex-end;
    margin-top: -42px;
    right: auto;
    bottom: auto;
    border: 7px solid var(--paper);
  }
  .retreat-theme-host .art-stack .retreat-host-caption {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin: 13px 0 0;
    padding: 0 1px;
    font-size: clamp(10px, 2.75vw, 12px);
    letter-spacing: .14em;
    white-space: normal;
  }
  .retreat-theme-host .retreat-host-caption .caption-line:nth-child(2) {
    padding-left: 24px;
  }
  /* The much larger animated bamboo is still featured in the hero and intro;
     this tiny decorative copy is omitted beside the photographic caption. */
  .retreat-theme-host .art-stack .retreat-bamboo-photo {
    display: none;
  }
}


/* Launch polish: on phones, position the two-line caption directly beneath
   the villa photograph while the bamboo-bench inset stays offset to the right.
   Keep a dedicated left-side text safe zone and do not block the photo. */
@media (max-width: 600px) {
  .retreat-theme-host .art-stack {
    position: relative;
  }
  .retreat-theme-host .art-stack .retreat-host-caption {
    position: absolute;
    top: 309px; /* villa photo is 300px tall */
    left: 0;
    right: auto;
    bottom: auto;
    z-index: 5;
    display: flex;
    width: 48%;
    margin: 0;
    padding: 0;
    gap: 8px;
    align-items: flex-start;
    font-size: clamp(8px, 2.45vw, 10px);
    line-height: 1.5;
    letter-spacing: .08em;
    white-space: nowrap;
    pointer-events: none;
  }
  .retreat-theme-host .retreat-host-caption .caption-line {
    display: block;
    white-space: nowrap;
  }
  .retreat-theme-host .retreat-host-caption .caption-line:nth-child(2) {
    padding-left: 12px;
  }
}
