/* BrandLift dashboard — additions on top of the studio launcher (shared/launcher.css).
   Palette, type and spacing stay the launcher's; this file only adds project covers on the cards
   and the layout of a project page (facts, brief, gallery). */

/* ─── Project cards with a cover ─────────────────────────────── */
.bl-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 0;
}
.bl-card__cover {
  display: block;
  margin: 0 -28px 22px;
  aspect-ratio: 16 / 10;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.bl-card__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.bl-card:hover .bl-card__cover img { transform: scale(1.025); }
.bl-card__cover--text {
  display: flex;
  align-items: flex-end;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(17, 100, 144, 0.32), rgba(255, 255, 255, 0.03));
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.82);
}
.bl-card .version-card__desc { flex: 1; }
.bl-card__date {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.42);
  margin: -8px 0 14px;
  font-variant-numeric: tabular-nums;
}
.version-card__title { font-size: 20px; }

/* ─── Project page ───────────────────────────────────────────── */
.bl-back {
  margin-top: 36px;
  font-size: 13px;
}
.bl-back a {
  color: var(--brand-blue-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.bl-back a:hover { border-bottom-color: var(--brand-blue-light); }

.bl-facts {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.bl-facts__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.bl-facts__k {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  padding-top: 2px;
}
.bl-facts__v {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
}

.bl-list {
  list-style: none;
  display: grid;
  gap: 10px;
  max-width: 860px;
}
.bl-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
}
.bl-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-blue-light);
}

.bl-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--bl-min, 300px), 1fr));
  gap: 20px;
  align-items: start;
}
.bl-gallery figure { margin: 0; }
.bl-gallery a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 200ms ease, transform 240ms ease;
}
.bl-gallery a:hover { border-color: rgba(255, 255, 255, 0.24); transform: translateY(-2px); }
.bl-gallery a:focus-visible,
.bl-card:focus-visible,
.bl-back a:focus-visible {
  outline: 2px solid var(--brand-blue-light);
  outline-offset: 3px;
}
.bl-gallery img {
  display: block;
  width: 100%;
  height: auto;
}
.bl-gallery figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 760px) {
  .bl-facts__row { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 480px) {
  .bl-card__cover { margin: 0 -28px 18px; }
  .bl-gallery { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .bl-card__cover img, .bl-gallery a { transition: none; }
  .bl-card:hover .bl-card__cover img { transform: none; }
}
