/* Business Class page — small additive layer on top of search-list.css.
 * Only the pieces that differ from the shared .trip-card / .listing-head:
 * the price line, the badge tint, and the detail facts panel.
 * Loaded only by businessclass.php.
 */

/* Slightly deeper, more "premium" hero than the listing default. */
.listing-head--bc { background: #0a1420; }
.listing-head--bc .photo { opacity: 0.42; background-position: center 35%; }
.listing-head--bc .eyebrow,
.listing-head--bc .eyebrow::before { color: #e7c98a; background-color: #e7c98a; }
.listing-head--bc .eyebrow { background-color: transparent; }

/* Business Class badge: gold tint instead of the default white pill. */
.trip-cat--bc {
  background: linear-gradient(135deg, #1d2a3a 0%, #2c3e54 100%);
  color: #f4d9a0;
}
.trip-cat--bc::before { background: #e7b65c; }

/* Card price line — raw upstream label ("ab 1132 € (inkl. Business Class Flug)").
 * Sits on the left of .trip-foot; the CTA stays on the right. */
.business-class-card .trip-foot { gap: 12px; align-items: flex-end; }
.bc-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.business-class-card .trip-cta { flex-shrink: 0; align-self: center; }

/* ===== Detail panel ===== */
.bc-detail { background: #fff; padding: 40px 0 8px; }
.bc-detail-card {
  display: grid;
  grid-template-columns: minmax(0, 420px) 1fr;
  gap: 32px;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px -32px rgba(0, 0, 0, 0.28);
}
.bc-detail-media {
  position: relative;
  min-height: 280px;
  background: linear-gradient(160deg, #1d2a3a 0%, #2c3e54 100%);
}
.bc-detail-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.bc-detail-ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: #f4d9a0;
  font-family: 'Caveat', cursive; font-size: 36px;
  text-align: center; padding: 0 20px;
}
.bc-detail-media .trip-cat--bc {
  position: absolute; left: 18px; top: 18px;
  z-index: 2;
}
.bc-detail-body {
  padding: 28px 32px 30px;
  display: flex; flex-direction: column; gap: 12px;
}
.bc-detail-body h2 {
  font-size: 30px; font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.1; color: var(--ink);
}
.bc-detail-price {
  font-size: 17px; font-weight: 800; color: var(--ink);
  letter-spacing: -0.01em;
}

.bc-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 8px 0 4px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.bc-facts > div { display: flex; flex-direction: column; gap: 3px; }
.bc-facts dt {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--muted-2);
}
.bc-facts dd { font-size: 15px; font-weight: 700; color: var(--ink); }

.bc-detail-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: auto; padding-top: 8px;
}

@media (max-width: 820px) {
  .bc-detail { padding: 28px 0 4px; }
  .bc-detail-card { grid-template-columns: 1fr; }
  .bc-detail-media { min-height: 220px; aspect-ratio: 16 / 9; }
  .bc-detail-body { padding: 22px 22px 24px; }
  .bc-detail-body h2 { font-size: 24px; }
}
@media (max-width: 560px) {
  .bc-detail-actions { flex-direction: column; }
  .bc-detail-actions .btn-primary,
  .bc-detail-actions .btn-secondary { justify-content: center; }
  .bc-facts { grid-template-columns: 1fr; }
}
