/* Decorative thin-line hero visuals for CMS article pages. */

.cms-article-wrap--lined {
  max-width: min(72rem, 100%);
}

.cms-article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(9rem, clamp(9rem, 22vw, 16rem));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: end;
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
  min-width: 0;
}

.cms-article-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.cms-article-hero__copy .heading---h3 {
  font-family: var(--tlr-font-title, "Libre Caslon Condensed", "Times New Roman", serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 22ch;
  margin: 0;
}

.cms-article-hero__copy .text---lead.cms-box-short-description {
  color: rgba(250, 249, 245, 0.72);
  max-width: 42rem;
}

.cms-article-hero__copy .text---badge {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.6875rem;
  color: rgba(250, 249, 245, 0.55);
}

.cms-article-hero__art {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: clamp(7rem, 18vw, 11rem);
  color: rgba(250, 249, 245, 0.38);
  pointer-events: none;
  user-select: none;
}

.cms-line-visual {
  width: 100%;
  height: auto;
  max-height: min(14rem, 42vw);
  display: block;
}

.cms-line-tile {
  width: 100%;
  max-width: min(16rem, 100%);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2px;
  opacity: 0.92;
}

@media (max-width: 767px) {
  .cms-article-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .cms-article-hero__art {
    order: 2;
    justify-content: flex-start;
    min-height: 6.5rem;
    max-width: 14rem;
  }

  .cms-article-hero__copy .heading---h3 {
    max-width: none;
  }

  .cms-line-visual {
    max-height: 7.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cms-line-tile {
    opacity: 1;
  }
}
