/* The exported tile fills its grid cell. Leave room below it for its caption. */
.scroll-slider-item:has(+ .vm-home-work-caption) {
  height: auto;
}

/* Keep the original inline baseline space inside the film tile as the caption takes its own row. */
.scroll-slider-item:has(+ .vm-home-work-caption) > .link-block---custom {
  display: inline-block;
  width: 100%;
}

.vm-home-work-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--vm-space-2) var(--vm-gap-m);
  margin-top: var(--vm-gap-m);
  color: var(--vm-black);
  font: var(--vm-body) / var(--vm-type-lead-lh) var(--vm-font-body);
}

.vm-home-work-caption h3 {
  margin: 0;
  font: 600 var(--vm-type-h4-size) / var(--vm-type-h4-lh) var(--vm-font-display);
  letter-spacing: var(--vm-tracking-tight);
}

.vm-home-work-caption p {
  margin: var(--vm-space-2) 0 0;
  color: var(--vm-ink);
  font: inherit;
}

.vm-home-work-caption a {
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
  white-space: nowrap;
}

.vm-home-work-caption a:is(:hover, :focus-visible) {
  text-decoration-thickness: .125em;
}

.vm-home-work-caption a:focus-visible {
  outline: .125em solid currentColor;
  outline-offset: .1875em;
}

/* At this Webflow breakpoint the Signature rooms use half their desktop inset. */
@media (max-width: 479px) {
  .main > .faq-section.background-bg {
    padding-bottom: calc(var(--vm-section-desktop) / 2);
  }
}
