/* MFOL News & Resources block */
.gutenberg-content > .mfol-news:not(.alignfull) {
  max-width: 100%;
}
.mfol-news {
  font-family: var(--f-body);
  font-weight: var(--f-body-weight);
  width: 100%;
}
.mfol-news.alignfull {
  padding: var(--block-margin) var(--outer-padding);
}
.mfol-news--bg-gray {
  background: var(--color-gray);
}
.mfol-news--bg-green {
  background: var(--color-green);
}
.mfol-news__inner {
  margin-left: auto;
  margin-right: auto;
  max-width: 1400px;
}

/* ---------- Top row ---------- */
.mfol-news__hl {
  margin-bottom: clamp(48px, 6vw, 80px);
}
.mfol-news__hl-heading {
  margin: 0 0 20px;
}
.mfol-news__hl-track {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  overflow-x: auto;
  padding: 0 0 6px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.mfol-news__hl-track::-webkit-scrollbar {
  display: none;
}
.mfol-news__hl-track:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 4px;
}
.mfol-news__hl-item {
  flex: 0 0 calc((100% - 40px) / 3);
  margin: 0;
  min-width: 260px;
  scroll-snap-align: start;
}
@media (max-width: 767px) {
  .mfol-news__hl-item {
    flex-basis: 82%;
  }
}
.mfol-news__card {
  background: var(--color-white);
  border: 2px solid var(--color-black);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mfol-news__card:hover,
.mfol-news__card:focus-within {
  box-shadow: 6px 6px 0 var(--color-black);
  transform: translate(-3px, -3px);
}
.mfol-news__card-media {
  aspect-ratio: 16 / 9;
  border-bottom: 2px solid var(--color-black);
  overflow: hidden;
}
.mfol-news__card-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.mfol-news__card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 20px 22px 22px;
}
.mfol-news__card-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-news__card-link {
  color: var(--color-black);
  text-decoration: none;
}
.mfol-news__card-link::after {
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}
.mfol-news__card:hover .mfol-news__card-link {
  text-decoration: underline;
  text-decoration-color: var(--color-orange);
  text-decoration-thickness: 2px;
}
.mfol-news__card-link:focus-visible {
  outline: none;
}
.mfol-news__card:has(.mfol-news__card-link:focus-visible) {
  outline: 3px solid var(--color-blue);
  outline-offset: 3px;
}
.mfol-news__card-meta {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.875rem;
  gap: 4px 12px;
  margin: auto 0 0;
}
.mfol-news__hl-controls {
  align-items: center;
  display: flex;
  gap: 20px;
  margin-top: 20px;
}
.mfol-news__hl-controls[hidden] {
  display: none;
}
.mfol-news__hl-progress {
  background: var(--color-white);
  border: 2px solid var(--color-black);
  border-radius: 20px;
  flex: 1;
  height: 10px;
  overflow: hidden;
}
.mfol-news__hl-progress span {
  background: var(--color-black);
  display: block;
  height: 100%;
  width: 30%;
}
.mfol-news__hl-buttons {
  display: flex;
  gap: 8px;
}
.mfol-news__hl-btn {
  align-items: center;
  background: var(--color-white);
  border: 2px solid var(--color-black);
  border-radius: 2px;
  color: var(--color-black);
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}
.mfol-news__hl-btn svg {
  height: auto;
  width: 18px;
}
.mfol-news__hl-btn--prev svg,
.mfol-news__page--prev svg {
  transform: rotate(180deg);
}
.mfol-news__hl-btn:hover:not(:disabled) {
  background: var(--color-black);
  color: var(--color-white);
}
.mfol-news__hl-btn:disabled {
  cursor: default;
  opacity: 0.35;
}
.mfol-news__hl-btn:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
}

/* ---------- Heading and layout ---------- */
.mfol-news__heading {
  margin: 0 0 24px;
}
.mfol-news__body {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 992px) {
  .mfol-news__body.has-aside {
    align-items: start;
    gap: 48px;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  }
  .mfol-news__press {
    position: sticky;
    top: 120px;
  }
}
@media (max-width: 991px) {
  .mfol-news__press {
    order: -1;
  }
}

/* ---------- Filters ---------- */
.mfol-news__filters {
  margin-bottom: 18px;
}
.mfol-news__panel {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr);
  margin-bottom: 18px;
}
@media (min-width: 768px) {
  .mfol-news__panel {
    grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)) auto;
  }
}
.mfol-news__search {
  align-items: center;
  background: var(--color-white);
  border: 2px solid var(--color-black);
  border-radius: 2px;
  display: flex;
}
.mfol-news__search input {
  background: transparent;
  border: 0;
  box-sizing: border-box;
  color: var(--color-black);
  flex: 1;
  font-family: var(--f-body);
  font-size: 1rem;
  min-height: 48px;
  min-width: 0;
  padding: 10px 14px;
}
.mfol-news__search input:focus {
  outline: none;
}
.mfol-news__search:focus-within {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
}
.mfol-news .mfol-news__search .mfol-news__search-btn {
  align-items: center;
  align-self: stretch;
  background: var(--color-black);
  border: 0;
  color: var(--color-white);
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  padding: 0 16px;
}
.mfol-news__select label {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.mfol-news__select select {
  appearance: none;
  background: var(--color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center / 12px 8px;
  border: 2px solid var(--color-black);
  border-radius: 2px;
  box-sizing: border-box;
  color: var(--color-black);
  font-family: var(--f-mono);
  font-size: 0.875rem;
  min-height: 48px;
  padding: 10px 36px 10px 12px;
  width: 100%;
}
.mfol-news__select select:focus {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
}

/* With JavaScript the dropdowns apply right away, so the Apply button hides. */
.mfol-news.has-js .mfol-news__apply {
  display: none;
}
.mfol-news__types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mfol-news .mfol-news__types .mfol-news__pill {
  background: var(--color-white);
  border: 2px solid var(--color-black);
  border-radius: 40px;
  color: var(--color-black);
  cursor: pointer;
  font-family: var(--f-mono);
  font-size: 0.875rem;
  line-height: 1;
  padding: 11px 16px 9px;
  transition: background 0.15s, color 0.15s;
}
.mfol-news .mfol-news__types .mfol-news__pill:hover {
  background: var(--color-gray);
}
.mfol-news .mfol-news__types .mfol-news__pill.is-active {
  background: var(--color-black);
  color: var(--color-white);
}
.mfol-news .mfol-news__types .mfol-news__pill:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
}

/* Phones: search and dropdowns fold behind one button (only when JavaScript is on). */
.mfol-news__filter-toggle {
  align-items: center;
  background: var(--color-white);
  border: 2px solid var(--color-black);
  border-radius: 2px;
  color: var(--color-black);
  cursor: pointer;
  display: none;
  font-family: var(--f-mono);
  font-size: 0.875rem;
  gap: 8px;
  margin-bottom: 12px;
  padding: 12px 16px 10px;
}
.mfol-news__filter-dot {
  background: var(--color-orange);
  border-radius: 50%;
  height: 8px;
  width: 8px;
}
@media (max-width: 767px) {
  .mfol-news.has-js .mfol-news__filter-toggle {
    display: inline-flex;
  }
  .mfol-news.has-js:not(.is-filters-open) .mfol-news__panel {
    display: none;
  }
  .mfol-news__types {
    flex-wrap: nowrap;
    margin-right: calc(var(--outer-padding, 14px) * -1);
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .mfol-news__pill {
    flex: 0 0 auto;
  }
}

/* ---------- Status line ---------- */
.mfol-news__status {
  align-items: baseline;
  border-bottom: 2px solid var(--color-black);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  padding-bottom: 12px;
}
.mfol-news__count {
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  margin: 0;
}
.mfol-news__count:focus {
  outline: none;
}
.mfol-news__clear {
  color: var(--color-black);
  font-family: var(--f-mono);
  font-size: 0.8125rem;
}

/* ---------- List ---------- */
.mfol-news__main.is-loading .mfol-news__list,
.mfol-news__main.is-loading .mfol-news__pages {
  opacity: 0.45;
  transition: opacity 0.15s;
}
.mfol-news__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mfol-news__item {
  border-bottom: 1px solid var(--color-black);
  margin: 0;
}
.mfol-news__row {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
  padding: 22px 0;
}
@media (min-width: 600px) {
  .mfol-news__row.has-image {
    grid-template-columns: minmax(0, 1fr) 180px;
  }
}
.mfol-news__meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.875rem;
  gap: 6px 12px;
  margin: 0 0 10px;
}
.mfol-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-news__outlet {
  font-weight: var(--f-body-weight-bold);
}
.mfol-news__title {
  font-family: var(--f-body);
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: var(--f-body-weight-bold);
  letter-spacing: 0;
  line-height: 1.3;
  margin: 0;
  text-transform: none;
}
.mfol-news__title a {
  color: var(--color-black);
  text-decoration: none;
}
.mfol-news__title a:hover,
.mfol-news__title a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--color-orange);
  text-decoration-thickness: 2px;
}
.mfol-news__ext {
  display: inline-block;
  margin-left: 6px;
  vertical-align: 0.05em;
}
.mfol-news__summary {
  font-size: 1rem;
  line-height: 1.5;
  margin: 8px 0 0;
  max-width: 70ch;
}
.mfol-news__thumb {
  aspect-ratio: 16 / 9;
  border: 2px solid var(--color-black);
  border-radius: 8px;
  overflow: hidden;
}
.mfol-news__thumb img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.mfol-news__empty {
  padding: 40px 0;
}
.mfol-news__empty p {
  margin: 0 0 6px;
}

/* ---------- Page numbers ---------- */
.mfol-news__pages {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 32px;
}
.mfol-news__page,
.mfol-news__gap {
  align-items: center;
  border: 2px solid transparent;
  border-radius: 2px;
  color: var(--color-black);
  display: inline-flex;
  font-family: var(--f-mono);
  font-size: 0.9375rem;
  height: 44px;
  justify-content: center;
  min-width: 44px;
  text-decoration: none;
}
.mfol-news__page:hover {
  border-color: var(--color-black);
}
.mfol-news__page.is-current {
  background: var(--color-black);
  color: var(--color-white);
}
.mfol-news__page--prev,
.mfol-news__page--next {
  border-color: var(--color-black);
}
.mfol-news__page svg {
  height: auto;
  width: 16px;
}
.mfol-news__page:focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
}

/* ---------- Press box ---------- */
.mfol-news__press {
  background: var(--press-bg, var(--color-yellow));
  border: 2px solid var(--color-black);
  border-radius: 14px;
  padding: 24px;
}
.mfol-news__press-heading {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin: 0 0 10px;
}
.mfol-news__press p {
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 8px;
}
.mfol-news__press-email a {
  color: var(--color-black);
  font-weight: var(--f-body-weight-bold);
  overflow-wrap: anywhere;
}
.mfol-news__press-link a {
  align-items: center;
  color: var(--color-black);
  display: inline-flex;
  font-family: var(--f-mono);
  font-size: 0.875rem;
  gap: 8px;
}
.mfol-news__press-link svg {
  height: auto;
  width: 14px;
}

/* ---------- Colors ---------- */
.mfol-news__press--green {
  --press-bg: var(--color-green);
}
.mfol-news__press--yellow {
  --press-bg: var(--color-yellow);
}
.mfol-news__press--orange {
  --press-bg: var(--color-orange);
}
.mfol-news__press--blue {
  --press-bg: var(--color-blue);
}
.mfol-news__press--pink {
  --press-bg: var(--color-pink);
}
.mfol-news__press--gray {
  --press-bg: var(--color-gray);
}
.mfol-news__press--white {
  --press-bg: var(--color-white);
}
.mfol-news__label--green {
  --label-bg: var(--color-green);
}
.mfol-news__label--yellow {
  --label-bg: var(--color-yellow);
}
.mfol-news__label--orange {
  --label-bg: var(--color-orange);
}
.mfol-news__label--blue {
  --label-bg: var(--color-blue);
}
.mfol-news__label--pink {
  --label-bg: var(--color-pink);
}
.mfol-news__label--gray {
  --label-bg: var(--color-gray);
}
.mfol-news__label--white {
  --label-bg: var(--color-white);
}

/* "By type" label colors */
.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,
.mfol-news__label--type-none {
  --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-news__card,
  .mfol-news__pill {
    transition: none;
  }
  .mfol-news__card:hover,
  .mfol-news__card:focus-within {
    transform: none;
  }
}

/* ---------- Editor preview ---------- */
.mfol-news--preview {
  box-sizing: border-box;
}
.mfol-news--preview.mfol-news--bg-gray,
.mfol-news--preview.mfol-news--bg-green {
  padding: 40px;
}
.mfol-news--preview a,
.mfol-news--preview button,
.mfol-news--preview input,
.mfol-news--preview select {
  pointer-events: none;
}

/* ---------- Posts: draw full-width background behind the off-center post column ---------- */
.single-post .gutenberg-content > .mfol-news.alignfull {
  left: auto;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  right: auto;
  width: 100%;
}
.single-post .gutenberg-content > .mfol-news--bg-gray.alignfull {
  border-image: conic-gradient(var(--color-gray) 0 0) fill 0 / / 0 100vw;
}
.single-post .gutenberg-content > .mfol-news--bg-green.alignfull {
  border-image: conic-gradient(var(--color-green) 0 0) fill 0 / / 0 100vw;
}
