/* Shared hotel highlights for the Italian, English and German homepages. */
.hotel-highlights {
  container: hotel-highlights / inline-size;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  font-size: 1rem;
  gap: 0;
  margin-block: 34px 0;
  padding: 32px 0;
  list-style: none;
  border: 1px solid #e1ded2;
  border-radius: 20px;
  background: #f2f0e8;
}

.hotel-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  justify-content: center;
  align-content: start;
  align-items: center;
  gap: 14px 16px;
  min-width: 0;
  padding: 8px 24px;
}

.hotel-highlight + .hotel-highlight {
  border-left: 1px solid #d9d9ca;
}

.hotel-highlight-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hotel-highlight-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #d5dfd2;
  border-radius: 14px;
  background: #e5ece1;
  color: #305a49;
}

.hotel-highlight-icon svg {
  display: block;
  width: 25px;
  height: 25px;
}

.hotel-highlight-value {
  color: #9a543b;
  font-family: var(--sans);
  font-size: clamp(2.875rem, 4.4vw, 4rem);
  font-weight: 550;
  line-height: 1.1;
  letter-spacing: -.055em;
  white-space: nowrap;
}

.hotel-highlight-value small {
  margin-left: 3px;
  font-size: .52em;
  font-weight: 500;
  letter-spacing: -.035em;
}

.hotel-highlight-label {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 23ch;
  color: #485d51;
  font-size: 1.0625rem;
  line-height: 1.65;
  text-align: center;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

@media (max-width: 1000px) and (min-width: 701px) {
  .hotel-highlights { padding-block: 26px; }
  .hotel-highlight { gap: 12px; padding-inline: 16px; }
  .hotel-highlight-heading { gap: 12px; }
  .hotel-highlight-icon { width: 38px; height: 38px; border-radius: 12px; }
  .hotel-highlight-icon svg { width: 23px; height: 23px; }
  .hotel-highlight-value { font-size: 2.875rem; }
  .hotel-highlight-label { max-width: 19ch; font-size: 1rem; }
}

/* Reflow before enlarged text runs out of room, including tablet text zoom. */
@container hotel-highlights (width < 36em) {
  .hotel-highlight {
    grid-column: 1 / -1;
    grid-template-columns: 44px minmax(0, 1fr);
    justify-items: start;
    gap: 6px 20px;
    margin-inline: 24px;
    padding: 24px 0;
  }
  .hotel-highlight + .hotel-highlight { border-left: 0; border-top: 1px solid #d9d9ca; }
  .hotel-highlight-heading { display: contents; }
  .hotel-highlight-icon { grid-row: 1 / 3; }
  .hotel-highlight-label { grid-column: 2; justify-self: start; max-width: none; text-align: left; text-wrap: pretty; }
}

@media (max-width: 700px) {
  .hotel-highlights {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 26px;
    padding: 6px 24px;
    border-radius: 16px;
  }

  .hotel-highlight {
    grid-template-columns: 44px minmax(0, 1fr);
    justify-items: start;
    gap: 6px 20px;
    margin-inline: 0;
    padding: 24px 0;
  }

  .hotel-highlight + .hotel-highlight {
    border-left: 0;
    border-top: 1px solid #d9d9ca;
  }

  .hotel-highlight-heading { display: contents; }
  .hotel-highlight-icon { grid-row: 1 / 3; }
  .hotel-highlight-value { font-size: 2.75rem; }

  .hotel-highlight-label {
    grid-column: 2;
    justify-self: start;
    max-width: none;
    font-size: 1rem;
    text-align: left;
    text-wrap: pretty;
  }
}

@media (max-width: 370px) {
  .hotel-highlights { padding-inline: 18px; }
  .hotel-highlight { grid-template-columns: 38px minmax(0, 1fr); column-gap: 16px; }
  .hotel-highlight-icon { width: 38px; height: 38px; border-radius: 12px; }
  .hotel-highlight-icon svg { width: 23px; height: 23px; }
  .hotel-highlight-value { font-size: 2.5rem; }
}

/* Decorative icons yield space to enlarged text on the narrowest cards. */
@container hotel-highlights (width < 9em) {
  .hotel-highlight { grid-template-columns: minmax(0, 1fr); }
  .hotel-highlight-icon { display: none; }
  .hotel-highlight-label { grid-column: 1; }
}

@media print {
  .hotel-highlights { background: none; border-color: #aaa; break-inside: avoid; }
  .hotel-highlight-icon { background: none; border-color: #aaa; }
  .hotel-highlight-value, .hotel-highlight-label, .hotel-highlight-icon { color: #111; }
}
