.v26-room-portals {
  padding: var(--v26-room-spacing) 0;
  background: var(--v26-room-bg);
}

.v26-room-portals .v26-rooms__heading {
  margin: 0 auto 24px;
  text-align: center;
}

.v26-room-portals .v26-rooms__heading h2 {
  margin: 0;
  color: var(--v26-text, #171715);
  font-size: var(--v26-room-heading-size);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .13em;
}

.v26-room-portals .v26-rooms__heading p {
  margin: 10px 0 0;
  color: var(--v26-muted, #696560);
  font-size: 16px;
  line-height: 1.45;
}

.v26-room-portals .v26-room-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--v26-room-gap);
  overflow: visible;
  padding: 0;
}

.v26-room-portals .v26-room-card {
  position: relative;
  display: flex;
  height: auto;
  min-width: 0;
  flex-direction: column;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  scroll-snap-align: start;
}

.v26-room-portals .v26-room-card::after {
  display: none;
}

.v26-room-portals .v26-room-card__media {
  position: relative;
  inset: auto;
  left: 0 !important;
  bottom: auto !important;
  display: block;
  width: 100%;
  max-width: 100%;
  height: var(--v26-room-media-height);
  overflow: hidden;
  border-radius: var(--v26-room-radius) var(--v26-room-radius) 18px 18px;
  background: #e8e3dc;
  isolation: isolate;
}

.v26-room-portals .v26-room-card__media::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(18, 15, 12, 0) 44%, rgba(18, 15, 12, .08) 63%, rgba(18, 15, 12, .58) 100%);
  content: "";
  pointer-events: none;
}

.v26-room-portals .v26-room-card__media img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  object-position: var(--v26-room-image-position, center center);
  transition: transform .65s cubic-bezier(.2, .7, .2, 1), filter .35s ease;
}

.v26-room-portals .v26-room-card__caption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: var(--v26-room-label-bottom, 16%);
  left: 0;
  display: flex;
  min-height: 0;
  padding: 0 12px;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--v26-room-label-color, #fff);
  pointer-events: none;
  text-align: center;
}

.v26-room-portals .v26-room-card__caption strong {
  font-family: "Snell Roundhand", "Segoe Script", "Brush Script MT", "URW Chancery L", cursive;
  font-size: var(--v26-room-label-size, 46px);
  font-weight: 400;
  line-height: .92;
  letter-spacing: 0;
  text-shadow: 0 2px 14px rgba(18, 15, 12, .6);
}

.v26-room-portals .v26-room-card:hover .v26-room-card__media img {
  transform: scale(1.035);
}

.v26-room-portals .v26-rooms__footer {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.v26-room-portals .v26-rooms__footer a {
  display: inline-flex;
  min-width: 280px;
  min-height: 48px;
  padding: 0 30px;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 1px solid var(--v26-accent, #8d151c);
  background: var(--v26-accent, #8d151c);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .13em;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.v26-room-portals .v26-rooms__footer a:hover {
  background: transparent;
  color: var(--v26-accent, #8d151c);
  transform: translateY(-2px);
}

@media (max-width: 1200px) {
  .v26-room-portals .v26-room-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .v26-room-portals .v26-room-card:nth-child(n + 4) {
    grid-column: span 1;
  }
}

@media (max-width: 900px) {
  .v26-room-portals .v26-rooms__heading {
    margin-bottom: 22px;
  }

  .v26-room-portals .v26-room-grid {
    display: flex;
    gap: 14px;
    margin-inline: calc((100vw - 100%) / -2);
    padding: 0 max(20px, calc((100vw - min(calc(100vw - 40px), var(--v26-max, 1440px))) / 2)) 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .v26-room-portals .v26-room-grid::-webkit-scrollbar {
    display: none;
  }

  .v26-room-portals .v26-room-card {
    flex: 0 0 min(38vw, 300px);
  }

  .v26-room-portals .v26-room-card__media {
    height: min(44vw, 340px);
  }
}

@media (max-width: 600px) {
  .v26-room-portals .v26-shell {
    width: 100%;
    max-width: none;
    padding-inline: 0;
  }

  .v26-room-portals {
    padding: min(var(--v26-room-spacing), 38px) 0;
  }

  .v26-room-portals .v26-rooms__heading {
    margin-bottom: 18px;
    padding-inline: var(--v26-room-mobile-padding, 10px);
  }

  .v26-room-portals .v26-rooms__heading h2 {
    font-size: clamp(25px, 7.5vw, 32px);
    line-height: 1.05;
    letter-spacing: .08em;
  }

  .v26-room-portals .v26-rooms__heading p {
    margin-top: 8px;
    font-size: 14px;
  }

  .v26-room-portals .v26-room-grid {
    display: grid;
    width: calc(100% - var(--v26-room-mobile-padding, 10px) - var(--v26-room-mobile-padding, 10px));
    margin-inline: auto;
    padding: 0 0 6px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--v26-room-mobile-gap, 4px);
    overflow: visible;
    scroll-snap-type: none;
    position: static;
    transform: none;
  }

  .v26-room-portals .v26-room-card {
    width: auto;
    min-width: 0;
    flex-basis: auto;
  }

  .v26-room-portals .v26-room-card__media {
    height: auto;
    aspect-ratio: var(--v26-room-mobile-ratio, 3 / 5);
    border-radius: min(var(--v26-room-radius), 34px) min(var(--v26-room-radius), 34px) 10px 10px;
  }

  .v26-room-portals .v26-room-card__caption {
    bottom: var(--v26-room-label-bottom, 16%);
    min-height: 0;
    padding: 0 3px;
  }

  .v26-room-portals .v26-room-card__caption strong {
    font-size: var(--v26-room-label-mobile-size, 18px);
    font-weight: 400;
    line-height: .9;
    letter-spacing: 0;
    overflow-wrap: normal;
    text-shadow: 0 1px 8px rgba(18, 15, 12, .72);
  }

  .v26-room-portals .v26-rooms__footer {
    margin: 16px var(--v26-room-mobile-padding, 10px) 0;
  }

  .v26-room-portals .v26-rooms__footer a {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v26-room-portals .v26-room-card__media img,
  .v26-room-portals .v26-rooms__footer a {
    transition: none;
  }
}
