/* ============================================
   FACILITIES B — Sports Complex Overview, Variant 2
   Extended card: photo + badge + desc + specs + sport tags
   ============================================ */

/* ── Grid: 2 columns on mobile, 3 on tablet, 4 on desktop ── */
.v11-facilities__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
}

/* ── Card ── */
.v11-facility-card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--ease), transform var(--ease);
}

.v11-facility-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* ── Image + badge ── */
.v11-facility-card__img-wrap {
  position: relative;
  flex-shrink: 0;
}

.v11-facility-card__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(0,0,0,0.35) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.v11-facility-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.v11-facility-card__badge {
  position: absolute;
  top: var(--s-3);
  left: var(--s-3);
  z-index: 1;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--c-white);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}

/* ── Body ── */
.v11-facility-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-4);
  flex: 1;
}

.v11-facility-card__name {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--c-text-primary);
  line-height: 1.3;
  margin: 0;
}

.v11-facility-card__desc {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── Specs list ── */
.v11-facility-card__specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  border-top: 1px solid var(--c-border);
  padding-top: var(--s-3);
}

.v11-facility-card__specs li {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  padding-left: 1em;
  position: relative;
}

.v11-facility-card__specs li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-green);
  font-weight: 700;
}

/* ── Sport tags ── */
.v11-facility-card__sports {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-1);
  margin-top: auto;
}


/* ── Responsive ── */
@media (min-width: 768px) {
  .v11-facilities__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .v11-facilities__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ============================================
   HOTEL CARDS — Accommodation section
   ============================================ */

/* Make the whole card a link */
a.hotel-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.hotel-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* Grid: always 2 cols on mobile, 4 on desktop */
.hotel-grid {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 1024px) {
  .hotel-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Stars badge — reuses __badge but needs gold colour */
.hotel-card__stars {
  background: rgba(243, 149, 64, 0.85);
  border-color: rgba(243, 149, 64, 0.5);
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

/* Distance badge — bottom-right of image */
.hotel-card__distance {
  position: absolute;
  bottom: var(--s-3);
  right: var(--s-3);
  z-index: 1;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--c-white);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}

/* Board type badge */
.hotel-card__board {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-xs);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  width: fit-content;
}

.hotel-card__board--ai {
  background: var(--c-blue-light);
  color: var(--c-blue-dark);
}

.hotel-card__board--ai::before {
  content: '✦';
  font-size: 0.65rem;
}

.hotel-card__board--fb {
  background: var(--c-orange-light);
  color: #c47000;
}

.hotel-card__board--fb::before {
  content: '◆';
  font-size: 0.65rem;
}

/* Price row */
.hotel-card__price {
  margin: auto 0 0;
  padding-top: var(--s-3);
  border-top: 1px solid var(--c-border);
  font-size: var(--text-sm);
  color: var(--c-text-muted);
}

.hotel-card__price strong {
  font-size: var(--text-base);
  color: var(--c-text-primary);
  font-weight: 700;
}
