.almaris-rooms {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 8vw, 120px) 0;
  background: #152423;
  color: #fff;
}

.almaris-rooms::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--almaris-rooms-bg);
  background-position: center;
  background-size: cover;
  content: "";
}

.almaris-rooms::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(15, 28, 27, .74);
  content: "";
}

.almaris-rooms__header {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-end;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.almaris-rooms__copy {
  max-width: 850px;
}

.almaris-rooms__subtitle {
  margin-bottom: 12px;
  color: #fff;
  font-family: var(--font-primary, "Lora", serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
}

.almaris-rooms__copy h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-secondary, "Playfair Display", serif);
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0;
}

.almaris-rooms__copy p {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: 16px;
  line-height: 1.8;
}

.almaris-rooms__carousel {
  position: relative;
}

.almaris-rooms__viewport {
  overflow: hidden;
  padding: 4px 0 18px;
}

.almaris-rooms__track {
  --almaris-rooms-gap: 20px;
  display: flex;
  gap: var(--almaris-rooms-gap);
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 980ms cubic-bezier(.19, 1, .22, 1);
}

.almaris-room-card {
  flex: 0 0 calc((100% - (var(--almaris-rooms-gap) * 3)) / 4);
  min-width: 0;
  overflow: hidden;
  border-radius: 5px;
  background: #fff;
  color: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .22);
}

.almaris-room-card__image {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 5px 5px 0 0;
  aspect-ratio: 1 / 1.04;
  color: #fff;
}

.almaris-room-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.almaris-room-card:hover .almaris-room-card__image img {
  transform: scale(1.05);
}

.almaris-room-card__body {
  display: flex;
  min-height: 236px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.almaris-room-card__type {
  margin: 0 0 8px;
  color: #000;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.almaris-room-card h3 {
  margin: 0;
  color: #000;
  font-family: var(--font-secondary, "Playfair Display", serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0;
}

.almaris-room-card h3 a {
  color: inherit;
}

.almaris-room-card ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin: 18px 0 0;
  padding: 0;
  color: rgba(0, 0, 0, .76);
  font-size: 10.5px;
  line-height: 1.15;
  list-style: none;
}

.almaris-room-card li {
  display: flex;
  min-width: 0;
  min-height: 54px;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, .16);
  border-radius: 8px;
  background: rgba(0, 0, 0, .04);
  padding: 7px 4px;
  text-align: center;
  overflow-wrap: anywhere;
}

.almaris-room-card__highlightIcon {
  display: flex;
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #000;
  color: #fff;
}

.almaris-room-card__highlightIcon svg {
  display: block;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.almaris-room-card__button {
  display: inline-flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 0;
  padding: 0 18px;
  color: #000;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.almaris-room-card__button:hover {
  border-color: #000;
  background: #000;
  color: #fff;
}

.almaris-rooms__controls {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  padding-bottom: 8px;
}

.almaris-rooms__arrow {
  position: relative;
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.almaris-rooms__arrow::before {
  display: block;
  width: 9px;
  height: 9px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  content: "";
  transform: rotate(45deg) translate(2px, -2px);
}

.almaris-rooms__arrow--next::before {
  transform: rotate(225deg) translate(2px, -2px);
}

.almaris-rooms__arrow:hover {
  border-color: #000;
  background: #000;
  transform: translateY(-2px);
}

.almaris-rooms__arrow:disabled {
  opacity: .38;
  cursor: default;
  transform: none;
}

@media (max-width: 1199px) {
  .almaris-rooms__track {
    --almaris-rooms-gap: 24px;
  }

  .almaris-room-card {
    flex-basis: calc((100% - 24px) / 2);
  }
}

@media (max-width: 767px) {
  .almaris-rooms {
    padding: 58px 0 64px;
  }

  .almaris-rooms__header {
    display: block;
  }

  .almaris-rooms__track {
    --almaris-rooms-gap: 18px;
  }

  .almaris-room-card {
    flex-basis: 100%;
  }

  .almaris-room-card__body {
    min-height: 244px;
    padding: 22px;
  }

  .almaris-rooms__controls {
    justify-content: flex-start;
    padding-bottom: 0;
    margin-top: 20px;
  }

  .almaris-room-card ul {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
