/* Small property photographs keep the comparison list compact. */
.hotel-grid .hotel-card {
  --stay-accent: #4e6c58;
  --stay-wash: #edf1e8;
  min-width: 0;
  min-height: 0;
  padding: 16px 17px 14px;
  gap: 12px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--stay-accent);
  border-radius: 6px;
  background: linear-gradient(135deg, var(--stay-wash), #fbf8f2 80%);
}
.hotel-grid .hotel-card--apartment { --stay-accent: #a7553b; --stay-wash: #f3e9df; }
.hotel-grid .hotel-card--hostel { --stay-accent: #947339; --stay-wash: #f3eedf; }
.hotel-grid .hotel-card::before, .hotel-grid .hotel-card::after { content: none; display: none; }
.hotel-grid .hotel-card-details {
  display: block;
  width: 100%;
  min-width: 0;
  flex: 1;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}
.hotel-grid .hotel-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  font-size: 8px;
  line-height: 1.4;
}
.hotel-grid .hotel-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 3px;
  background: var(--stay-accent);
  color: #fffaf0;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .35px;
  white-space: nowrap;
}
.hotel-grid .hotel-type-badge svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hotel-grid .hotel-meta > span:last-child { color: var(--stay-accent); font-weight: 700; letter-spacing: .5px; text-align: right; }
.hotel-card-preview { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: center; gap: 12px; }
.hotel-card-photo { position: relative; display: block; width: 104px; height: 82px; overflow: hidden; border-radius: 5px; background: var(--stay-wash); }
.hotel-card-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hotel-card-photo-fallback { display: none; position: absolute; inset: 0; place-content: center; color: var(--stay-accent); border: 1px solid #b9bdad66; border-radius: inherit; }
.hotel-card-photo-fallback svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.hotel-card-photo.is-unavailable img { display: none; }
.hotel-card-photo.is-unavailable .hotel-card-photo-fallback { display: grid; }
.hotel-grid .hotel-card-title { display: block; max-width: none; margin: 0; font: 400 20px/1.2 var(--serif); letter-spacing: -.45px; overflow-wrap: anywhere; }
.hotel-grid .hotel-card-actions { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: nowrap; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.hotel-grid .hotel-card-note { padding: 7px 0; border: 0; background: transparent; font-size: 10px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.hotel-grid .hotel-card-note span { margin-left: 3px; color: var(--rust); }
.hotel-grid .hotel-booking-link { align-self: auto; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 11px; font-size: 10px; white-space: nowrap; }
.hotel-grid .hotel-card:hover .hotel-card-title, .hotel-grid .hotel-card-details:focus-visible .hotel-card-title { color: var(--rust); }
@media (min-width: 701px) and (max-width: 1050px) {
  .hotel-card-preview { grid-template-columns: 80px minmax(0, 1fr); gap: 10px; }
  .hotel-card-photo { width: 80px; height: 78px; }
  .hotel-grid .hotel-card-title { font-size: 18px; }
}
@media (max-width: 700px) {
  .hotel-grid .hotel-card { padding: 14px 15px 12px; gap: 11px; }
  .hotel-card-preview { grid-template-columns: 100px minmax(0, 1fr); gap: 13px; }
  .hotel-card-photo { width: 100px; height: 84px; }
  .hotel-grid .hotel-card-title { font-size: 21px; }
  .hotel-grid .hotel-card-actions { padding-top: 8px; }
  .hotel-grid .hotel-booking-link, .hotel-grid .hotel-card-note { min-height: 44px; }
}
@media print { .hotel-card-photo { display: none; } .hotel-card-preview { grid-template-columns: 1fr; } }
