/* Laurel & Hardy loan catalogue — aberle-media */
:root {
  --lh-ink: #e8e2d6;
  --lh-muted: #9a9386;
  --lh-paper: #141210;
  --lh-panel: #1c1915;
  --lh-line: rgba(232, 226, 214, 0.14);
  --lh-gold: #c4a35a;
  --lh-gold-soft: rgba(196, 163, 90, 0.18);
}

.am-lh-hero {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(196, 163, 90, 0.16), transparent 50%),
    linear-gradient(180deg, #171410 0%, var(--lh-paper) 100%);
  border-bottom: 1px solid var(--lh-line);
}

.am-lh-kicker {
  margin: 0 0 0.5rem;
  color: var(--lh-gold);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.am-lh-meta {
  color: var(--lh-muted);
  margin: 0;
}

.am-lh-overview .lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--lh-ink);
}

.am-lh-chapter__head {
  margin-bottom: 2rem;
}

.am-lh-chapter__num {
  color: var(--lh-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 0.35rem;
}

.am-lh-chapter__note {
  color: var(--lh-muted);
  font-size: 0.95rem;
}

.am-lh-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .am-lh-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.am-lh-card {
  background: var(--lh-panel);
  border: 1px solid var(--lh-line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.am-lh-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #0d0c0a;
  overflow: hidden;
}

.am-lh-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.am-lh-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--lh-muted);
  background:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(255, 255, 255, 0.03) 8px,
      rgba(255, 255, 255, 0.03) 16px
    );
}

.am-lh-card__nr {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  background: rgba(0, 0, 0, 0.72);
  color: var(--lh-gold);
  padding: 0.25rem 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.am-lh-card__body {
  padding: 1.25rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.am-lh-card__cat {
  margin: 0;
  color: var(--lh-muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.am-lh-card__title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--lh-ink);
}

.am-lh-card__desc,
.am-lh-card__prov,
.am-lh-card__fee {
  margin: 0;
  color: #cfc7b8;
  font-size: 0.95rem;
  line-height: 1.55;
}

.am-lh-card__fee {
  color: var(--lh-gold);
  font-weight: 600;
}

.am-lh-thumbs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.25rem 0 0;
  padding: 0;
}

.am-lh-thumbs img {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border: 1px solid var(--lh-line);
}

.am-lh-card__actions {
  margin-top: auto;
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.am-lh-select {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--lh-muted);
  font-size: 0.9rem;
  cursor: pointer;
  margin: 0;
}

.am-lh-select__input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--lh-gold);
}

.am-lh-ensemble__fee {
  font-size: 1.25rem;
  color: var(--lh-gold);
  margin-bottom: 1.25rem;
}

.am-lh-tray {
  position: sticky;
  bottom: 0;
  z-index: 40;
  background: rgba(12, 11, 9, 0.94);
  border-top: 1px solid var(--lh-line);
  backdrop-filter: blur(8px);
  padding: 0.85rem 0;
}

.am-lh-tray[hidden] {
  display: none !important;
}

.am-lh-tray__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-end;
}

.am-lh-tray__count {
  margin: 0 auto 0 0;
  color: var(--lh-ink);
}

/* Contact form loan pieces */
.am-loan-pieces-row {
  border: 1px solid var(--lh-line);
  background: var(--lh-gold-soft);
  padding: 1rem 1rem 0.35rem;
  margin-bottom: 0.5rem;
}

.am-loan-pieces-row[hidden] {
  display: none !important;
}

.am-loan-pieces .form-check {
  margin-bottom: 0.45rem;
}

html[data-theme="light"] .am-lh-hero,
html[data-theme="light"] .am-lh-card,
html[data-theme="light"] .am-lh-tray {
  /* Keep catalogue atmosphere even in light theme */
  color-scheme: dark;
}
