.editorial-references {
  width: min(100% - 2rem, 72rem);
  margin: 3rem auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--border-color);
  border-radius: 0.85rem;
  background: var(--bg-card);
  color: var(--text-primary);
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
}

.editorial-references--blog {
  width: 100%;
  margin: 2.5rem 0 0;
  padding: 2.25rem 0 0;
  border: 0;
  border-top: 1px solid var(--border-color);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.editorial-references--webinar {
  box-shadow: none;
}

.editorial-references__eyebrow {
  margin: 0 0 0.35rem;
  color: #d63a04;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.editorial-references h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.25;
}

.editorial-references__intro,
.editorial-references__note {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

.editorial-references__list {
  display: grid;
  gap: 0.85rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.editorial-references__item {
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.7rem;
  background: var(--bg-element);
}

.editorial-references__type {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text-tertiary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.editorial-references a {
  color: #d63a04;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.editorial-references a:hover {
  color: #f24405;
}

.editorial-references__citation {
  display: block;
  margin-top: 0.3rem;
  color: var(--text-secondary);
  font-size: 0.84rem;
  line-height: 1.55;
}

.editorial-references__note {
  margin: 1rem 0 0;
  font-size: 0.78rem;
}

.related-content {
  width: min(100% - 2rem, 72rem);
  margin: 3rem auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--border-color);
  border-radius: 0.85rem;
  background: var(--bg-card);
  color: var(--text-primary);
}

.related-content--blog {
  width: 100%;
  margin: 2.5rem 0 0;
  padding: 2.25rem 0 0;
  border: 0;
  border-top: 1px solid var(--border-color);
  border-radius: 0;
  background: transparent;
}

.related-content__eyebrow {
  margin: 0 0 0.35rem;
  color: #d63a04;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.related-content h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.25;
}

.related-content__intro {
  margin: 0.55rem 0 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

.related-content__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.related-content__card {
  display: flex;
  min-width: 0;
  min-height: 10.5rem;
  flex-direction: column;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.7rem;
  background: var(--bg-element);
  color: var(--text-primary);
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.related-content__card:hover {
  border-color: #f24405;
  background: var(--bg-card);
  transform: translateY(-1px);
}

.related-content__card:focus-visible {
  outline: 3px solid rgb(242 68 5 / 0.28);
  outline-offset: 2px;
}

.related-content__type {
  color: var(--text-tertiary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.related-content__card strong {
  margin-top: 0.4rem;
  font-size: 0.92rem;
  line-height: 1.4;
}

.related-content__description {
  display: -webkit-box;
  margin-top: 0.45rem;
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 0.78rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.related-content__action {
  margin-top: auto;
  padding-top: 0.8rem;
  color: #d63a04;
  font-size: 0.76rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .editorial-references,
  .related-content {
    width: min(100% - 1.25rem, 72rem);
    margin-block: 2rem;
  }

  .editorial-references--blog,
  .related-content--blog {
    width: 100%;
    margin: 2rem 0 0;
    padding-top: 1.75rem;
  }

  .related-content__card {
    min-height: 0;
  }
}
