/* Single posts: clickable type label and "More from News & Resources" */

/* Type label in the green post header links to News & Resources filtered to that type */
.topper-post__term a {
  color: inherit;
  display: inline-block;
  text-decoration: none;
}
.topper-post__term a:hover span,
.topper-post__term a:focus-visible span {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.topper-post__term a:focus-visible {
  outline: 3px solid var(--color-black);
  outline-offset: 3px;
}

/* More from News & Resources */
.mfol-more-news {
  border-top: 2px solid var(--color-black);
  font-family: var(--f-body);
  font-weight: var(--f-body-weight);
  margin-top: var(--block-margin, 64px);
  padding: clamp(40px, 6vw, 72px) 0 var(--last-block-margin, 72px);
}
.mfol-more-news__top {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  margin-bottom: 28px;
}
.mfol-more-news__heading {
  margin: 0;
}
.mfol-more-news__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.mfol-more-news__links a {
  color: var(--color-black);
  font-family: var(--f-mono);
  font-size: 0.875rem;
}
.mfol-more-news__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 768px) {
  .mfol-more-news__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.mfol-more-news__item {
  margin: 0;
}
.mfol-more-news__card {
  background: var(--color-white);
  border: 2px solid var(--color-black);
  border-radius: 14px;
  box-sizing: border-box;
  height: 100%;
  padding: 22px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mfol-more-news__card:hover,
.mfol-more-news__card:focus-within {
  box-shadow: 6px 6px 0 var(--color-black);
  transform: translate(-3px, -3px);
}
.mfol-more-news__meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.875rem;
  gap: 6px 12px;
  margin: 0 0 12px;
}
.mfol-more-news__label {
  background: var(--label-bg, var(--color-green));
  border: 2px solid var(--color-black);
  border-radius: 40px;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  line-height: 1;
  padding: 5px 10px 4px;
}
.mfol-more-news__title {
  font-family: var(--f-body);
  font-size: 1.25rem;
  font-weight: var(--f-body-weight-bold);
  letter-spacing: 0;
  line-height: 1.3;
  margin: 0;
  text-transform: none;
}
.mfol-more-news__title a {
  color: var(--color-black);
  text-decoration: none;
}
.mfol-more-news__title a::after {
  content: "";
  inset: 0;
  position: absolute;
}
.mfol-more-news__card:hover .mfol-more-news__title a {
  text-decoration: underline;
  text-decoration-color: var(--color-orange);
  text-decoration-thickness: 2px;
}
.mfol-more-news__title a:focus-visible {
  outline: none;
}
.mfol-more-news__card:has(a:focus-visible) {
  outline: 3px solid var(--color-blue);
  outline-offset: 3px;
}
.mfol-more-news__summary {
  font-size: 1rem;
  line-height: 1.5;
  margin: 10px 0 0;
}

/* Label colors by type (same as the News & Resources block) */
.mfol-news__label--type-press-release {
  --label-bg: var(--color-green);
}
.mfol-news__label--type-statement {
  --label-bg: var(--color-yellow);
}
.mfol-news__label--type-media-mention {
  --label-bg: var(--color-blue);
}
.mfol-news__label--type-blog {
  --label-bg: var(--color-pink);
}
.mfol-news__label--type-newsletter {
  --label-bg: var(--color-orange);
}
.mfol-news__label--type-report,
.mfol-news__label--type-amicus-brief,
.mfol-news__label--type-case-study,
.mfol-news__label--type-poll-and-surveys,
.mfol-news__label--type-toolkit,
.mfol-news__label--type-video {
  --label-bg: var(--color-white);
}
.mfol-sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
@media (prefers-reduced-motion: reduce) {
  .mfol-more-news__card {
    transition: none;
  }
  .mfol-more-news__card:hover,
  .mfol-more-news__card:focus-within {
    transform: none;
  }
}
