.nanna-feature-strip {
  position: relative;
  z-index: 2;
}

.nanna-feature-strip .site-shell,
.rooms-page .nanna-feature-strip .site-shell {
  width: min(90%, 1350px);
}

.nanna-feature-strip--overlap {
  margin-top: -36px;
}

.nanna-feature-strip__grid {
  display: grid;
  grid-template-columns: repeat(var(--nanna-feature-count), minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--nanna-line);
  border-radius: var(--nanna-radius);
  background: #fffaf2;
  box-shadow: 0 7px 18px rgba(67, 37, 22, 0.08);
}

.nanna-feature-strip__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 86px;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  text-align: left;
}

.nanna-feature-strip__item + .nanna-feature-strip__item {
  border-left: 1px solid var(--nanna-line);
}

.nanna-feature-strip__icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  color: var(--nanna-gold-dark);
  font-size: 1.7rem;
  line-height: 1;
}

.nanna-feature-strip__icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(41%) sepia(47%) saturate(1033%)
    hue-rotate(359deg) brightness(88%) contrast(90%);
}

.nanna-feature-strip__content {
  min-width: 0;
}

.nanna-feature-strip__title,
.nanna-feature-strip__description {
  display: block;
}

.nanna-feature-strip__title {
  color: var(--nanna-ink);
  font-family: var(--nanna-serif);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.18;
}

.nanna-feature-strip__description {
  margin-top: 0.22rem;
  color: #655b54;
  font-size: 0.84rem;
  line-height: 1.32;
}

@media (max-width: 899.98px) and (min-width: 768px) {
  .nanna-feature-strip--count-5 .nanna-feature-strip__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nanna-feature-strip--count-5 .nanna-feature-strip__item:nth-child(n) {
    border-left: 0;
  }

  .nanna-feature-strip--count-5 .nanna-feature-strip__item:nth-child(3n + 2),
  .nanna-feature-strip--count-5 .nanna-feature-strip__item:nth-child(3n + 3) {
    border-left: 1px solid var(--nanna-line);
  }

  .nanna-feature-strip--count-5 .nanna-feature-strip__item:nth-child(n + 4) {
    border-top: 1px solid var(--nanna-line);
  }
}

@media (max-width: 767.98px) {
  .nanna-feature-strip--overlap {
    margin-top: -20px;
  }

  .nanna-feature-strip .site-shell {
    width: min(94%, 1350px);
  }

  .nanna-feature-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 14px;
  }

  .nanna-feature-strip__item:nth-child(n) {
    justify-content: flex-start;
    min-height: 76px;
    gap: 0.7rem;
    padding: 0.8rem 0.85rem;
    border-left: 0;
  }

  .nanna-feature-strip__item:nth-child(even) {
    border-left: 1px solid var(--nanna-line);
  }

  .nanna-feature-strip__item:nth-child(n + 3) {
    border-top: 1px solid var(--nanna-line);
  }

  .nanna-feature-strip__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-left: 0;
  }

  .nanna-feature-strip__icon {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    font-size: 1.45rem;
  }

  .nanna-feature-strip__icon img {
    width: 27px;
    height: 27px;
  }

  .nanna-feature-strip__title {
    font-size: 0.93rem;
  }

  .nanna-feature-strip__description {
    font-size: 0.78rem;
  }
}

@media (max-width: 389.98px) {
  .nanna-feature-strip--overlap {
    margin-top: 0;
  }

  .nanna-feature-strip__grid {
    grid-template-columns: 1fr;
  }

  .nanna-feature-strip__item:nth-child(n) {
    border-left: 0;
  }

  .nanna-feature-strip__item + .nanna-feature-strip__item {
    border-top: 1px solid var(--nanna-line);
  }
}
