/* WEB-005: the public guide uses the approved monument panel's editorial scale. */
main > [data-concierge="rome"] {
  padding: clamp(2.75rem, 5vw, 5.625rem) 8%;
  background: #fff;
  color: #141414;
}
main > [data-concierge="rome"] .gm543-concierge-heading {
  justify-items: center;
  text-align: center;
  gap: clamp(.85rem, 2vw, 1.25rem);
  margin-bottom: clamp(1.5rem, 3.5vw, 3rem);
}
main > [data-concierge="rome"] .gm543-concierge-heading h2 {
  margin: 0;
  font-size: clamp(35px, 5vw, 70px);
  font-weight: 200;
  line-height: 1.12;
  text-wrap: balance;
}
main > [data-concierge="rome"] .gm543-concierge-heading p {
  margin: 0;
  max-width: 62ch;
  color: #51565b;
  font-size: clamp(.95rem, 1.4vw, 1.125rem);
  line-height: 1.65;
}
main > [data-concierge="rome"] .gm543-concierge-heading .gm541-kicker {
  font-size: .75rem;
  letter-spacing: .24em;
}
main > [data-concierge="rome"] [data-guide-label] { margin: 0 0 .75rem; }
main > [data-concierge="rome"] .gm542-news-grid { gap: clamp(.65rem, 1.7vw, 1.5rem); }
main > [data-concierge="rome"] .gm542-news-card {
  min-width: 0;
  padding: clamp(.7rem, 2.3vw, 2rem);
  border: 1px solid #dfe4ea;
  border-radius: var(--the-one-crystal-radius, .875rem);
  background: linear-gradient(145deg, #fff 54%, #f5f8fa);
  box-shadow: inset 0 1px #fff, 0 .4rem 1.3rem rgb(26 39 52 / .05);
  font-size: clamp(.84rem, 1.35vw, 1.05rem);
  line-height: 1.5;
}
main > [data-concierge="rome"] .gm542-news-card:not(.gm545-event) {
  justify-items: center;
  text-align: center;
}
main > [data-concierge="rome"] .gm542-news-card:not(.gm545-event) .gm542-news-copy {
  justify-items: center;
}
main > [data-concierge="rome"] .gm542-news-card:not(.gm545-event) .gm542-news-visual {
  aspect-ratio: auto;
  background: none;
}
main > [data-concierge="rome"] .gm542-news-visual > svg {
  width: clamp(2.65rem, 6vw, 4.65rem);
  height: auto;
  color: #565c60;
}
main > [data-concierge="rome"] .gm542-news-copy h3 {
  font-size: clamp(1rem, 2vw, 1.6rem);
  font-weight: 500;
}
main > [data-concierge="rome"] .gm542-news-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
@media (max-width: 600px) {
  main > [data-concierge="rome"] { padding-inline: 7%; }
}

/* WEB-007: scope the approved type weights and rhythm to the room form. */
#gm54-booking > .gm543-booking-body > .gm54-booking-form { gap: 1.1rem; }
#gm54-booking .gm54-booking-form label,
#gm54-booking .gm54-booking-form > .gm54-booking-fields > .gm54-booking-date,
#gm54-booking .gm54-booking-form > .gm54-booking-submit { font-weight: 500; }
#gm54-booking .gm54-booking-form select { font-weight: 400; }

/* WEB-008: retain native details behavior and prevent sibling stretching. */
@media (min-width: 1024px) {
  .gm54-lounge-accordion {
    max-width: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }
}

/* WEB-009: reserve the approved title's second line where a locale needs it. */
@media (1024px <= width <= 1120px) {
  .gm54-lounge-accordion:lang(en) { --lounge-summary-lines: 2lh; }
}
@media (1024px <= width <= 1140px) {
  .gm54-lounge-accordion:lang(it) { --lounge-summary-lines: 2lh; }
}
@media (1024px <= width <= 1440px), (max-width: 360px) {
  .gm54-lounge-accordion:lang(es) { --lounge-summary-lines: 2lh; }
}
@media (1024px <= width <= 1370px), (max-width: 336px) {
  .gm54-lounge-accordion:lang(fr) { --lounge-summary-lines: 2lh; }
}
.gm54-lounge-accordion summary h3 {
  min-block-size: var(--lounge-summary-lines, auto);
  display: grid;
  align-content: center;
}

/* WEB-010: the shared service cards keep equal heights when closed. */
main .servicegrid > details {
  min-inline-size: 0;
  container-type: inline-size;
}
main .servicegrid > details > summary > span {
  font-size: clamp(1.0625rem, .35rem + 4.5cqi, 1.375rem);
  overflow-wrap: anywhere;
}
main .servicegrid > details > summary > b {
  align-self: start;
  margin-block-start: .25rem;
}
main .servicegrid:not(:has(> details[open])) {
  grid-auto-rows: 1fr;
  align-items: stretch;
}
main .servicegrid:not(:has(> details[open])) > details > summary {
  min-block-size: 100%;
  align-content: start;
}
@media (max-width: 600px) {
  main .servicegrid > details > summary > span {
    font-size: clamp(1.0625rem, .25rem + 4.5cqi, 1.1875rem);
  }
  main .servicegrid > details > summary > svg {
    align-self: start;
    margin-block-start: .25rem;
  }
}
