.ggc-hotel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
}

@media (min-width: 40rem) {
  .ggc-hotel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64rem) {
  .ggc-hotel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.ggc-hotel-grid > .ggc-hotel-card {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  gap: .75rem;
  min-width: 0;
  padding: clamp(1rem, 2.4vw, 1.5rem);
  overflow-wrap: anywhere;
}

@supports (grid-template-rows: subgrid) {
  .ggc-hotel-grid > .ggc-hotel-card {
    grid-template-rows: subgrid;
    grid-row: span 6;
  }
}

.ggc-hotel-media {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  height: 7rem;
  overflow: hidden;
}

.ggc-hotel-media .ggc-hotel-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 5rem;
  object-fit: contain;
  transform: scale(var(--ggc-hotel-image-scale, 1));
}

.ggc-hotel-media--photo .ggc-hotel-image {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.ggc-hotel-media--erbprinzen .ggc-hotel-image { max-width: min(100%, 18rem); }

.ggc-hotel-placeholder { width: 2rem; height: 2rem; color: #a8c3d4; }
.ggc-hotel-wordmark { color: #e6dcc5; font-size: 1.5rem; }

.ggc-hotel-name {
  margin: 0;
  min-height: 2.5em;
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.25;
}

.ggc-hotel-address,
.ggc-hotel-conditions {
  min-height: 3em;
  color: #e0ebf4;
  font-size: .9375rem;
  line-height: 1.5;
}

.ggc-hotel-address > :first-child,
.ggc-hotel-note > :first-child { margin-top: 0; }
.ggc-hotel-address > :last-child,
.ggc-hotel-note > :last-child { margin-bottom: 0; }

.ggc-hotel-distance { min-height: 1.75rem; }
.ggc-hotel-distance > span {
  display: inline-block;
  padding: .25rem .625rem;
  border: 1px solid var(--ggc-border, #63839d);
  border-radius: 1rem;
  color: #e0ebf4;
  font-size: .8125rem;
  line-height: 1.3;
}

.ggc-hotel-note { color: #e0ebf4; }
.ggc-hotel-contact { display: grid; gap: .125rem; }
.ggc-hotel-note + .ggc-hotel-contact { margin-top: .5rem; }
.ggc-hotel-contact a, .ggc-hotel-note a, .ggc-hotel-address a { text-decoration: underline; }

.ggc-hotel-website { min-height: 2.75rem; }
.ggc-hotel-website > a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: .5rem .75rem;
  border: 1px solid var(--ggc-border, #63839d);
  border-radius: .75rem;
  color: #fff;
  font-size: .875rem;
  text-align: center;
}

.ggc-hotel-website > a:hover { background-color: rgba(91, 159, 212, .14); }
.ggc-hotel-website > a:focus-visible { outline: 2px solid #a8d0ec; outline-offset: 3px; }
