/**
 * Development work by David Lane
 */
/**
 * Genealogy source file.
 * Author: Levi Lane.
 */
body.lane-major-achievers-page {
  background: var(--lf-bg, #f4f0e8);
  color: var(--lf-ink, #2c2824);
}

.lma-wrap {
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.lma-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lf-muted, #7a7268);
}

.lma-title {
  font-family: var(--lf-serif, 'Source Serif 4', Georgia, serif);
  font-weight: 400;
  font-size: 1.75rem;
  letter-spacing: 0.02em;
  margin: 0 0 0.35rem;
}

.lma-subtitle {
  font-size: 0.95rem;
  line-height: 1.55;
}

.lma-stats {
  letter-spacing: 0.02em;
}

.lma-onboarding {
  margin: 1.25rem 0 1.5rem;
  background: var(--lf-bg-elevated, #faf7f1);
  border-left: 3px solid var(--lf-accent, #8b7355) !important;
}

.lma-tier-tabs .btn {
  border-color: var(--lf-line, rgba(44, 40, 36, 0.15));
  color: var(--lf-ink-soft, #5a5348);
}

.lma-tier-tabs .btn.active,
.lma-tier-tabs .btn:active {
  background: var(--lf-accent, #8b7355);
  border-color: var(--lf-accent, #8b7355);
  color: #fff;
}

.lma-category-chips .btn {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.lma-grid {
  display: grid;
  gap: 1rem;
}

.lma-card--expanded {
  grid-column: 1 / -1;
  grid-template-columns: 7.5rem 1fr;
  padding: 1.15rem 1.25rem;
}

.lma-card--expanded .lma-card__portrait-wrap {
  width: 7.5rem;
  height: 9rem;
}

.lma-card__expanded {
  margin-bottom: 0.75rem;
}

.lma-card__detail-lead {
  font-size: 0.875rem;
  line-height: 1.55;
  margin-bottom: 0.5rem;
}

.lma-card__detail-bullets {
  font-size: 0.8125rem;
  line-height: 1.5;
  margin: 0 0 0.65rem 1.1rem;
  padding: 0;
  color: var(--lf-ink-soft, #5a5348);
}

.lma-card__routes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.lma-card__routes-label {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lf-muted, #7a7268);
}

.lma-route-chip {
  font-size: 0.68rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(139, 115, 85, 0.35);
  background: rgba(139, 115, 85, 0.08);
  color: #5c4a38;
}

.lma-card__quote {
  font-family: var(--lf-serif, 'Source Serif 4', Georgia, serif);
  font-size: 0.8125rem;
  line-height: 1.5;
  margin: 0 0 0.65rem;
  padding: 0.55rem 0.75rem;
  border-left: 3px solid var(--lf-accent, #8b7355);
  background: rgba(44, 40, 36, 0.04);
}

.lma-card__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.lma-card__gallery-item {
  margin: 0;
  border: 1px solid var(--lf-line, rgba(44, 40, 36, 0.1));
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
}

.lma-card__gallery-item img {
  width: 100%;
  height: 4.5rem;
  object-fit: cover;
  display: block;
}

.lma-card__gallery-item figcaption {
  font-size: 0.62rem;
  line-height: 1.3;
  padding: 0.25rem 0.35rem;
  color: var(--lf-muted, #7a7268);
}

.lma-card {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.85rem;
  padding: 1rem;
  background: var(--lf-bg-elevated, #faf7f1);
  border: 1px solid var(--lf-line, rgba(44, 40, 36, 0.12));
  border-radius: 4px;
  scroll-margin-top: 5rem;
}

.lma-card.is-highlight {
  outline: 2px solid var(--lf-accent, #8b7355);
  outline-offset: 2px;
}

.lma-card__portrait-wrap {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(44, 40, 36, 0.06);
  border: 1px solid var(--lf-line, rgba(44, 40, 36, 0.1));
}

.lma-card__portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lma-card__portrait--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--lf-muted, #9a948a);
}

.lma-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.25rem;
}

.lma-card__name {
  font-family: var(--lf-serif, 'Source Serif 4', Georgia, serif);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
}

.lma-badge {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  border: 1px solid transparent;
}

.lma-badge--tier-a {
  background: rgba(139, 115, 85, 0.15);
  border-color: rgba(139, 115, 85, 0.35);
  color: #5c4a38;
}

.lma-badge--tier-b {
  background: rgba(90, 83, 72, 0.1);
  border-color: rgba(90, 83, 72, 0.25);
  color: #5a5348;
}

.lma-badge--tier-c {
  background: rgba(74, 90, 104, 0.12);
  border-color: rgba(74, 90, 104, 0.3);
  color: #3d4a54;
}

.lma-badge--verify {
  font-size: 0.62rem;
  text-transform: none;
  letter-spacing: 0;
}

.lma-card__meta {
  font-size: 0.8125rem;
  color: var(--lf-muted, #7a7268);
  margin-bottom: 0.5rem;
}

.lma-card__summary {
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 0.65rem;
}

.lma-card__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.65rem;
}

.lma-cat-chip {
  font-size: 0.68rem;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  background: rgba(44, 40, 36, 0.06);
  color: var(--lf-ink-soft, #5a5348);
}

.lma-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.lma-card__links a {
  font-size: 0.78rem;
}

@media (max-width: 480px) {
  .lma-card {
    grid-template-columns: 1fr;
  }

  .lma-card--expanded .lma-card__portrait-wrap {
    width: 100%;
    height: auto;
    max-height: 12rem;
  }

  .lma-card__gallery {
    grid-template-columns: 1fr;
  }

  .lma-card__gallery-item img {
    height: auto;
    max-height: 8rem;
  }

  .lma-card__portrait-wrap {
    width: 100%;
    height: auto;
    max-height: 10rem;
  }
}

@media print {
  .lma-filters,
  .lane-pill-nav {
    display: none !important;
  }

  .lma-card {
    break-inside: avoid;
  }
}
