.cehd-latest,
.cehd-latest * {
  box-sizing: border-box;
}

.cehd-latest {
  --cehd-latest-maroon: #500000;
  --cehd-latest-ink: #292929;
  --cehd-latest-muted: #626262;
  --cehd-latest-border: #dedbd5;
  --cehd-latest-warm: #f3f0ea;
  width: 100%;
  max-width: 100%;
  color: var(--cehd-latest-ink);
}

.cehd-latest__header {
  max-width: 48rem;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.cehd-latest__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--cehd-latest-maroon);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.cehd-latest__header h2 {
  margin: 0;
  color: var(--cehd-latest-ink);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.12;
}

.cehd-latest__lede {
  margin: 0.65rem 0 0;
  color: var(--cehd-latest-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.cehd-latest__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(17rem, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.cehd-latest__grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.cehd-latest__publications,
.cehd-latest__events {
  min-width: 0;
}

.cehd-latest__publications h3,
.cehd-latest__events h3 {
  margin: 0 0 0.875rem;
  color: var(--cehd-latest-ink);
  font-size: 1.125rem;
  line-height: 1.3;
}

.cehd-latest__publication-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(12.5rem, calc((100% - 2rem) / 3));
  gap: 1rem;
  max-width: 100%;
  padding: 0 0 0.75rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

.cehd-latest-publication {
  display: flex;
  min-width: 0;
  min-height: 16.5rem;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--cehd-latest-border);
  border-radius: 0.65rem;
}

.cehd-latest-publication__media {
  display: grid;
  min-height: 6.5rem;
  place-items: center;
  background: #500000;
  border-bottom: 1px solid var(--cehd-latest-border);
}

.cehd-latest-publication__icon {
  width: 2.25rem;
  height: 2.25rem;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.65;
}

.cehd-latest-publication__body {
  padding: 1rem;
}

.cehd-latest-publication__meta {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0 0 0.55rem;
  color: var(--cehd-latest-maroon);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.065em;
  line-height: 1.35;
  text-transform: uppercase;
}

.cehd-latest-publication__type + .cehd-latest-publication__year::before {
  content: "·";
  margin-right: 0.5rem;
  color: #a49b91;
}

.cehd-latest-publication__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.cehd-latest-publication__title a,
.cehd-latest-event__title a,
.cehd-latest__collection-link {
  color: var(--cehd-latest-maroon);
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
  transition: color 150ms ease, text-decoration-color 150ms ease;
}

.cehd-latest-publication__title a:hover,
.cehd-latest-publication__title a:focus-visible,
.cehd-latest-event__title a:hover,
.cehd-latest-event__title a:focus-visible,
.cehd-latest__collection-link:hover,
.cehd-latest__collection-link:focus-visible {
  color: #732f2f;
  text-decoration-color: currentColor;
}

.cehd-latest-publication__title a:focus-visible,
.cehd-latest-event__title a:focus-visible,
.cehd-latest__collection-link:focus-visible,
.cehd-latest-publication__authors a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.cehd-latest-publication__authors {
  display: -webkit-box;
  margin: 0.6rem 0 0;
  overflow: hidden;
  color: var(--cehd-latest-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cehd-latest-publication__authors a {
  color: inherit;
  font-weight: 600;
  text-decoration-line: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.12em;
  transition: color 150ms ease, text-decoration-color 150ms ease;
}

.cehd-latest-publication__authors a:hover,
.cehd-latest-publication__authors a:focus-visible {
  color: var(--cehd-latest-maroon);
  text-decoration-color: currentColor;
}

.cehd-latest__event-list {
  border-top: 1px solid var(--cehd-latest-border);
}

.cehd-latest-event {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--cehd-latest-border);
}

.cehd-latest-event--no-date {
  grid-template-columns: minmax(0, 1fr);
}

.cehd-latest-event__date {
  display: flex;
  width: 3.5rem;
  min-height: 3.5rem;
  align-self: start;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #500000;
  border-radius: 0.35rem;
  color: #fff;
  line-height: 1;
}

.cehd-latest-event__month {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.cehd-latest-event__day {
  margin-top: 0.2rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.cehd-latest-event__content {
  min-width: 0;
}

.cehd-latest-event__time,
.cehd-latest-event__details {
  margin: 0;
  color: var(--cehd-latest-muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.cehd-latest-event__time {
  margin-top: 0.2rem;
  font-weight: 600;
}

.cehd-latest-event__title {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.35;
}

.cehd-latest-event__details {
  margin-top: 0.25rem;
}

.cehd-latest__collection-link {
  display: inline-flex;
  gap: 0.35rem;
  margin-top: 0.875rem;
  font-size: 0.8125rem;
  font-weight: 700;
}

.cehd-latest__empty {
  margin: 0;
  padding: 1rem;
  background: var(--cehd-latest-warm);
  color: var(--cehd-latest-muted);
  border-radius: 0.4rem;
}

@media (max-width: 959px) {
  .cehd-latest__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cehd-latest__publication-rail {
    grid-auto-columns: minmax(13rem, calc((100% - 1rem) / 2.15));
  }
}

@media (max-width: 600px) {
  .cehd-latest__header {
    margin-bottom: 1.5rem;
  }

  .cehd-latest__grid {
    gap: 2rem;
  }

  .cehd-latest__publication-rail {
    grid-auto-columns: minmax(14.5rem, 82%);
    gap: 0.875rem;
  }

  .cehd-latest-publication {
    min-height: 15.75rem;
  }

  .cehd-latest-publication__media {
    min-height: 5.75rem;
  }
}
