/* Home page composition */

.home-overview {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem 1.35rem;
  padding: .95rem 1.15rem;
  margin-bottom: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--bdr-card);
  border-radius: var(--r2);
  box-shadow: var(--shadow);
}

.home-overview-item {
  display: inline-flex;
  align-items: baseline;
  gap: .4rem;
}

.home-overview-value {
  font-family: var(--fh);
  font-weight: 650;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.home-overview-label {
  font-size: .8rem;
  color: var(--ink2);
  font-weight: 500;
}

.home-overview-divider {
  width: 1px;
  height: 1.1rem;
  background: var(--bdr);
  align-self: center;
}

@media (max-width: 640px) {
  .home-overview-divider { display: none; }
  .home-overview {
    gap: .65rem 1.1rem;
  }
}

/* Room cards */
.room-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  overflow: hidden;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--bdr-card);
  border-radius: var(--r2);
  box-shadow: var(--shadow);
  margin-bottom: 0;
  min-height: 100%;
}

.room-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow2);
  border-color: color-mix(in srgb, var(--blue) 28%, var(--bdr-card));
  color: inherit;
}

.room-card-media {
  position: relative;
  height: 120px;
  background: linear-gradient(145deg, var(--surface2), color-mix(in srgb, var(--amber-soft) 70%, var(--surface2)));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.room-card-media img.card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-card-monogram {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  border: 1px solid color-mix(in srgb, var(--amber) 25%, transparent);
  color: var(--amber2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fh);
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  backdrop-filter: blur(6px);
}

.room-card-body {
  padding: 1.05rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.room-card-body h3 {
  margin: 0 0 .25rem;
  font-size: 1.05rem;
}

.room-card-body > .text-muted {
  font-size: .875rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.room-grid {
  margin-top: .25rem;
}
