/* MFOL shared block options: backgrounds, text color, headings, spacing, width, cards, and who sees each block.
   Used by every MFOL custom block. Selectors are listed per block so white text never reaches inside cards. */

/* Text for screen readers only (every block can rely on this) */
.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;
}

/* Backgrounds */
.mfol-look.mfol-look--bg-white {
  background: var(--color-white);
}
.mfol-look.mfol-look--bg-gray {
  background: var(--color-gray);
}
.mfol-look.mfol-look--bg-green {
  background: var(--color-green);
}
.mfol-look.mfol-look--bg-yellow {
  background: var(--color-yellow);
}
.mfol-look.mfol-look--bg-orange {
  background: var(--color-orange);
}
.mfol-look.mfol-look--bg-blue {
  background: var(--color-blue);
}
.mfol-look.mfol-look--bg-pink {
  background: var(--color-pink);
}
.mfol-look.mfol-look--bg-black {
  background: var(--color-black);
}
.mfol-look.mfol-look--bg-white {
  background: transparent;
}

/* Text color on the background */
.mfol-look.mfol-look--text-white {
  color: var(--color-white);
}
.mfol-look.mfol-look--text-black {
  color: var(--color-black);
}
.mfol-look--text-white .mfol-donate__text,
.mfol-look--text-white .mfol-table__text,
.mfol-look--text-white .mfol-stories__text,
.mfol-look--text-white .mfol-res__text,
.mfol-look--text-white .mfol-timeline__text,
.mfol-look--text-white .mfol-video-gallery__text,
.mfol-look--text-white .mfol-mf__text,
.mfol-look--text-white .mfol-fg__heading,
.mfol-look--text-white .mfol-fg__intro,
.mfol-look--text-white .mfol-donate__eyebrow,
.mfol-look--text-white .mfol-donate__text *,
.mfol-look--text-white .mfol-table__text *,
.mfol-look--text-white .mfol-stories__text *,
.mfol-look--text-white .mfol-res__text *,
.mfol-look--text-white .mfol-timeline__text *,
.mfol-look--text-white .mfol-video-gallery__text *,
.mfol-look--text-white .mfol-mf__text *,
.mfol-look--text-white .mfol-fg__heading *,
.mfol-look--text-white .mfol-fg__intro *,
.mfol-look--text-white .mfol-donate__eyebrow *,
.mfol-look--text-white .mfol-table__footnote,
.mfol-look--text-white .mfol-table__footnote a,
.mfol-look--text-white .mfol-donate__points,
.mfol-look--text-white .mfol-donate__points li {
  color: inherit;
}

/* Boxes and cards keep dark text on their own color, even when the section text is white */
.mfol-look--text-white .mfol-res__card,
.mfol-look--text-white .mfol-stories__slide,
.mfol-look--text-white .mfol-video-gallery__card,
.mfol-look--text-white .mfol-donate__box,
.mfol-look--text-white .mfol-table__frame,
.mfol-look--text-white.mfol-table--phone-stack .mfol-table__table tr,
.mfol-look--text-white .mfol-fg__bar,
.mfol-look--text-white .mfol-fg__label,
.mfol-look--text-white .mfol-fg__amount,
.mfol-look--text-white .mfol-fg__reached,
.mfol-look--text-white .mfol-fg__ended,
.mfol-look--text-white .mfol-mf__face {
  color: var(--look-card-fg, var(--color-black));
}

/* Lines, dots, arrows, and checkmarks that sit right on the background */
.mfol-look--text-white .mfol-donate__points li::before {
  background: var(--color-white);
}
.mfol-look--text-white .mfol-donate__points li::after {
  border-color: var(--color-black);
}
.mfol-look--text-white .mfol-timeline__list::before {
  background: var(--color-white);
}
.mfol-look--text-white .mfol-timeline__dot,
.mfol-look--text-white .mfol-timeline__image {
  border-color: var(--color-white);
}
.mfol-look--text-white .mfol-timeline__content,
.mfol-look--text-white .mfol-timeline__content *,
.mfol-look--text-white .mfol-timeline__link {
  color: inherit;
}
.mfol-look--text-white .mfol-stories__btn {
  border-color: var(--color-white);
  color: var(--color-white);
}
.mfol-look--text-white .mfol-stories__btn:hover,
.mfol-look--text-white .mfol-stories__btn:focus-visible {
  background: var(--color-white);
  color: var(--color-black);
}
.mfol-look--text-white .mfol-stories__count,
.mfol-look--text-white .mfol-stories__controls {
  color: inherit;
}
.mfol-look--text-white .mfol-fg__mark {
  background: var(--color-white);
}
.mfol-look--text-white .mfol-fg__numbers,
.mfol-look--text-white .mfol-fg__numbers *,
.mfol-look--text-white .mfol-fg__donors,
.mfol-look--text-white .mfol-fg__marks,
.mfol-look--text-white .mfol-fg__marks *,
.mfol-look--text-white .mfol-fg__fine {
  color: inherit;
}
.mfol-look--text-white .mfol-fg__media,
.mfol-look--text-white .mfol-mf__face {
  border-color: var(--color-black);
}
.mfol-look--bg-black.mfol-look--text-white .mfol-fg__media {
  border-color: var(--color-white);
}

/* Card colors */
.mfol-look--cards[style*="--look-card-bg"] .mfol-res__card,
.mfol-look--cards[style*="--look-card-bg"] .mfol-stories__slide,
.mfol-look--cards[style*="--look-card-bg"] .mfol-video-gallery__card {
  background: var(--look-card-bg);
}
.mfol-look--cards .mfol-res__card,
.mfol-look--cards .mfol-stories__slide,
.mfol-look--cards .mfol-video-gallery__card,
.mfol-look--cards .mfol-res__card *,
.mfol-look--cards .mfol-stories__slide *,
.mfol-look--cards .mfol-video-gallery__card * {
  color: var(--look-card-fg, var(--color-black));
}

/* Heading size */
.mfol-look.mfol-look--head-medium .mfol-donate__heading,
.mfol-look.mfol-look--head-medium .mfol-table__heading,
.mfol-look.mfol-look--head-medium .mfol-stories__heading,
.mfol-look.mfol-look--head-medium .mfol-res__heading,
.mfol-look.mfol-look--head-medium .mfol-timeline__heading,
.mfol-look.mfol-look--head-medium .mfol-video-gallery__heading,
.mfol-look.mfol-look--head-medium .mfol-fg__heading,
.mfol-look.mfol-look--head-medium .mfol-mf__heading {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
}
.mfol-look.mfol-look--head-small .mfol-donate__heading,
.mfol-look.mfol-look--head-small .mfol-table__heading,
.mfol-look.mfol-look--head-small .mfol-stories__heading,
.mfol-look.mfol-look--head-small .mfol-res__heading,
.mfol-look.mfol-look--head-small .mfol-timeline__heading,
.mfol-look.mfol-look--head-small .mfol-video-gallery__heading,
.mfol-look.mfol-look--head-small .mfol-fg__heading,
.mfol-look.mfol-look--head-small .mfol-mf__heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

/* Heading alignment */
.mfol-look--head-center .mfol-donate__text,
.mfol-look--head-center .mfol-table__text,
.mfol-look--head-center .mfol-stories__text,
.mfol-look--head-center .mfol-res__text,
.mfol-look--head-center .mfol-timeline__text,
.mfol-look--head-center .mfol-video-gallery__text,
.mfol-look--head-center .mfol-mf__text,
.mfol-look--head-center .mfol-fg__heading,
.mfol-look--head-center .mfol-fg__intro,
.mfol-look--head-center .mfol-fg__label,
.mfol-look--head-center .mfol-donate__eyebrow,
.mfol-look--head-center .mfol-donate__heading,
.mfol-look--head-center .mfol-table__heading,
.mfol-look--head-center .mfol-stories__heading,
.mfol-look--head-center .mfol-res__heading,
.mfol-look--head-center .mfol-timeline__heading,
.mfol-look--head-center .mfol-video-gallery__heading,
.mfol-look--head-center .mfol-fg__heading,
.mfol-look--head-center .mfol-mf__heading,
.mfol-look--head-center .mfol-donate__intro,
.mfol-look--head-center .mfol-table__intro,
.mfol-look--head-center .mfol-stories__intro,
.mfol-look--head-center .mfol-res__intro,
.mfol-look--head-center .mfol-timeline__intro,
.mfol-look--head-center .mfol-video-gallery__intro,
.mfol-look--head-center .mfol-fg__intro,
.mfol-look--head-center .mfol-mf__intro {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Space above and below (the theme spaces blocks with --block-margin) */
.mfol-look.mfol-look--space-less {
  --block-margin: clamp(28px, 3.5vw, 40px);
}
.mfol-look.mfol-look--space-none {
  --block-margin: 0px;
}

/* Narrow width */
.mfol-look--narrow .mfol-donate__inner,
.mfol-look--narrow .mfol-table__inner,
.mfol-look--narrow .mfol-stories__inner,
.mfol-look--narrow .mfol-res__inner,
.mfol-look--narrow .mfol-timeline__inner,
.mfol-look--narrow .mfol-video-gallery__inner,
.mfol-look--narrow .mfol-fg__inner,
.mfol-look--narrow .mfol-mf__inner {
  max-width: 860px;
}

/* Who sees it (member-state.js marks the page once MemberSpace says who is logged in) */
html:not(.mfol-is-member) .mfol-look--who-members,
html.mfol-is-member .mfol-look--who-visitors {
  display: none !important;
}
@media (max-width: 767px) {
  .mfol-look--hide-phone {
    display: none !important;
  }
}
@media (min-width: 768px) {
  .mfol-look--hide-desktop {
    display: none !important;
  }
}

/* Editor: a small note on blocks that some people won't see */
.mfol-look--who-note-members,
.mfol-look--who-note-visitors,
.mfol-look--note-hide-phone,
.mfol-look--note-hide-desktop {
  outline: 2px dashed #b45309;
  outline-offset: 4px;
  position: relative;
}
.mfol-look--who-note-members::after,
.mfol-look--who-note-visitors::after,
.mfol-look--note-hide-phone::after,
.mfol-look--note-hide-desktop::after {
  background: #b45309;
  border-radius: 4px;
  color: #fff;
  font-family: var(--f-mono);
  font-size: 11px;
  padding: 3px 8px;
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 5;
}
.mfol-look--who-note-members::after {
  content: "Members only";
}
.mfol-look--who-note-visitors::after {
  content: "Non-members only";
}
.mfol-look--note-hide-phone::after {
  content: "Hidden on phones";
}
.mfol-look--note-hide-desktop::after {
  content: "Hidden on desktop";
}
.mfol-look--who-note-members.mfol-look--note-hide-phone::after,
.mfol-look--who-note-visitors.mfol-look--note-hide-phone::after,
.mfol-look--who-note-members.mfol-look--note-hide-desktop::after,
.mfol-look--who-note-visitors.mfol-look--note-hide-desktop::after {
  content: "Limited visibility";
}

/* Editor: give colored sections breathing room in the preview */
.mfol-look[class*="--preview"]:not(.mfol-look--bg-white) {
  padding: 40px;
}

/* Posts: the post column is off-center, so draw full-width backgrounds behind it instead */
.single-post .gutenberg-content > .mfol-look.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-look--bg-gray.alignfull {
  border-image: conic-gradient(var(--color-gray) 0 0) fill 0 / / 0 100vw;
}
.single-post .gutenberg-content > .mfol-look--bg-green.alignfull {
  border-image: conic-gradient(var(--color-green) 0 0) fill 0 / / 0 100vw;
}
.single-post .gutenberg-content > .mfol-look--bg-yellow.alignfull {
  border-image: conic-gradient(var(--color-yellow) 0 0) fill 0 / / 0 100vw;
}
.single-post .gutenberg-content > .mfol-look--bg-orange.alignfull {
  border-image: conic-gradient(var(--color-orange) 0 0) fill 0 / / 0 100vw;
}
.single-post .gutenberg-content > .mfol-look--bg-blue.alignfull {
  border-image: conic-gradient(var(--color-blue) 0 0) fill 0 / / 0 100vw;
}
.single-post .gutenberg-content > .mfol-look--bg-pink.alignfull {
  border-image: conic-gradient(var(--color-pink) 0 0) fill 0 / / 0 100vw;
}
.single-post .gutenberg-content > .mfol-look--bg-black.alignfull {
  border-image: conic-gradient(var(--color-black) 0 0) fill 0 / / 0 100vw;
}

/* ===== Batch 2: Toolkit Library, Toolkit Preview, Keep Going, Membership Benefits, Steps, News & Resources, Copy Box, Toolkit At a Glance ===== */

/* Black boxes */
.mfol-copy--black {
  --copy-bg: var(--color-black);
}
.mfol-tkg--black {
  --tkg-bg: var(--color-black);
}

/* Text color on the background */
.mfol-look--text-white .mfol-tkp__heading,
.mfol-look--text-white .mfol-tkp__intro,
.mfol-look--text-white .mfol-tkp__welcome,
.mfol-look--text-white .mfol-tkp__login,
.mfol-look--text-white .mfol-tkp__login a,
.mfol-look--text-white .mfol-kg__back,
.mfol-look--text-white .mfol-ben__heading,
.mfol-look--text-white .mfol-ben__intro,
.mfol-look--text-white .mfol-ben__welcome,
.mfol-look--text-white .mfol-ben__login,
.mfol-look--text-white .mfol-ben__login a,
.mfol-look--text-white .mfol-steps__heading,
.mfol-look--text-white .mfol-steps__intro,
.mfol-look--text-white .mfol-steps__progress-text,
.mfol-look--text-white .mfol-steps__reset,
.mfol-look--text-white .mfol-news__heading,
.mfol-look--text-white .mfol-news__hl-heading,
.mfol-look--text-white .mfol-news__count,
.mfol-look--text-white .mfol-news__clear,
.mfol-look--text-white .mfol-news__item,
.mfol-look--text-white .mfol-news__title a,
.mfol-look--text-white .mfol-news__meta,
.mfol-look--text-white .mfol-news__outlet,
.mfol-look--text-white .mfol-news__summary,
.mfol-look--text-white .mfol-news__empty,
.mfol-look--text-white .mfol-news__page,
.mfol-look--text-white .mfol-news__gap {
  color: inherit;
}
.mfol-look--text-white .mfol-news__status,
.mfol-look--text-white .mfol-news__item,
.mfol-look--text-white .mfol-news__page--prev,
.mfol-look--text-white .mfol-news__page--next {
  border-color: var(--color-white);
}
.mfol-look--text-white .mfol-news__page.is-current {
  background: var(--color-white);
  color: var(--color-black);
}

/* Boxes and cards keep dark text */
.mfol-look--text-white .mfol-tkp__card,
.mfol-look--text-white .mfol-ben__card,
.mfol-look--text-white .mfol-steps__step,
.mfol-look--text-white .mfol-news__card,
.mfol-look--text-white .mfol-news__press,
.mfol-look--text-white .mfol-copy__text,
.mfol-look--text-white .mfol-tkg__tag {
  color: var(--look-card-fg, var(--color-black));
}

/* Copy Box and At a Glance: the box itself takes the text color */
.mfol-look--text-white.mfol-copy,
.mfol-look--text-white.mfol-tkg {
  color: var(--color-white);
}
.mfol-look--text-white.mfol-tkg .mfol-tkg__item {
  border-color: var(--color-white);
}
.mfol-look--text-black.mfol-copy,
.mfol-look--text-black.mfol-tkg {
  color: var(--color-black);
}

/* Toolkit cards (Toolkit Preview and Keep Going card color options; Toolkit Library uses its own) */
.mfol-look--cards[style*="--look-card-bg"] .mfol-tkp__card {
  background: var(--look-card-bg);
}
.mfol-look--cards .mfol-tkp__card,
.mfol-look--cards .mfol-tkp__card * {
  color: var(--look-card-fg, var(--color-black));
}

/* Heading size */
.mfol-look.mfol-look--head-medium .mfol-tkp__heading,
.mfol-look.mfol-look--head-medium .mfol-ben__heading,
.mfol-look.mfol-look--head-medium .mfol-steps__heading,
.mfol-look.mfol-look--head-medium .mfol-news__heading {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
}
.mfol-look.mfol-look--head-small .mfol-tkp__heading,
.mfol-look.mfol-look--head-small .mfol-ben__heading,
.mfol-look.mfol-look--head-small .mfol-steps__heading,
.mfol-look.mfol-look--head-small .mfol-news__heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}
/* Box headings start smaller, so their steps are smaller too */
.mfol-look.mfol-look--head-medium .mfol-copy__heading,
.mfol-look.mfol-look--head-medium .mfol-tkg__heading {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}
.mfol-look.mfol-look--head-small .mfol-copy__heading,
.mfol-look.mfol-look--head-small .mfol-tkg__heading {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
}

/* Heading alignment */
.mfol-look--head-center .mfol-tkp__text,
.mfol-look--head-center .mfol-tkp__heading,
.mfol-look--head-center .mfol-tkp__intro,
.mfol-look--head-center .mfol-ben__text,
.mfol-look--head-center .mfol-ben__heading,
.mfol-look--head-center .mfol-ben__intro,
.mfol-look--head-center .mfol-steps__text,
.mfol-look--head-center .mfol-steps__heading,
.mfol-look--head-center .mfol-steps__intro,
.mfol-look--head-center .mfol-news__heading,
.mfol-look--head-center .mfol-copy__heading,
.mfol-look--head-center .mfol-copy__intro,
.mfol-look--head-center .mfol-tkg__heading {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Narrow width */
.mfol-look--narrow .mfol-tkp__inner,
.mfol-look--narrow .mfol-ben__inner,
.mfol-look--narrow .mfol-steps__inner,
.mfol-look--narrow .mfol-news__inner,
.mfol-look--narrow.mfol-copy,
.mfol-look--narrow.mfol-tkg {
  margin-left: auto;
  margin-right: auto;
  max-width: 860px;
}

/* ===== Batch 3: Press Coverage, Logo Wall, People Grid, Social Posts, Scorecard, Countdown, Embed and Form ===== */

/* Text color on the background */
.mfol-look--text-white .mfol-press__heading,
.mfol-look--text-white .mfol-logos__heading,
.mfol-look--text-white .mfol-people__heading,
.mfol-look--text-white .mfol-social__heading,
.mfol-look--text-white .mfol-score__heading,
.mfol-look--text-white .mfol-countdown__heading,
.mfol-look--text-white .mfol-embed-form__heading,
.mfol-look--text-white .mfol-press__intro,
.mfol-look--text-white .mfol-logos__intro,
.mfol-look--text-white .mfol-people__intro,
.mfol-look--text-white .mfol-social__intro,
.mfol-look--text-white .mfol-score__intro,
.mfol-look--text-white .mfol-countdown__intro,
.mfol-look--text-white .mfol-embed-form__intro,
.mfol-look--text-white.mfol-press--list .mfol-press__link,
.mfol-look--text-white .mfol-people__name,
.mfol-look--text-white .mfol-people__role,
.mfol-look--text-white .mfol-people__desc,
.mfol-look--text-white .mfol-people__link,
.mfol-look--text-white .mfol-social__card,
.mfol-look--text-white .mfol-social__more,
.mfol-look--text-white .mfol-social__view,
.mfol-look--text-white .mfol-score__name,
.mfol-look--text-white .mfol-score__name-text,
.mfol-look--text-white .mfol-score__detail,
.mfol-look--text-white .mfol-score__note,
.mfol-look--text-white .mfol-score__link,
.mfol-look--text-white .mfol-score__legend-meaning,
.mfol-look--text-white .mfol-score__table th,
.mfol-look--text-white .mfol-countdown__ended {
  color: inherit;
}
.mfol-look--text-white.mfol-press--list .mfol-press__items,
.mfol-look--text-white.mfol-press--list .mfol-press__link,
.mfol-look--text-white .mfol-score__table,
.mfol-look--text-white .mfol-score__table thead th,
.mfol-look--text-white .mfol-score__table tbody tr {
  border-color: var(--color-white);
}

/* Boxes and cards keep dark text */
.mfol-look--text-white.mfol-press--cards .mfol-press__link,
.mfol-look--text-white.mfol-logos--tiles .mfol-logos__logo,
.mfol-look--text-white .mfol-countdown__unit,
.mfol-look--text-white.mfol-embed-form--frame-card .mfol-embed-form__embed,
.mfol-look--text-white .mfol-social__textcard {
  color: var(--look-card-fg, var(--color-black));
}

/* Card colors: press cards, logo tiles, countdown number boxes, and the form frame */
.mfol-look--cards[style*="--look-card-bg"].mfol-press--cards .mfol-press__link,
.mfol-look--cards[style*="--look-card-bg"].mfol-logos--tiles .mfol-logos__logo,
.mfol-look--cards[style*="--look-card-bg"] .mfol-countdown__unit,
.mfol-look--cards[style*="--look-card-bg"].mfol-embed-form--frame-card .mfol-embed-form__embed {
  background: var(--look-card-bg);
}
.mfol-look--cards.mfol-press--cards .mfol-press__link,
.mfol-look--cards.mfol-logos--tiles .mfol-logos__logo,
.mfol-look--cards .mfol-countdown__unit,
.mfol-look--cards.mfol-embed-form--frame-card .mfol-embed-form__embed,
.mfol-look--cards.mfol-press--cards .mfol-press__link *,
.mfol-look--cards.mfol-logos--tiles .mfol-logos__logo *,
.mfol-look--cards .mfol-countdown__unit * {
  color: var(--look-card-fg, var(--color-black));
}

/* Heading size */
.mfol-look.mfol-look--head-medium .mfol-press__heading,
.mfol-look.mfol-look--head-medium .mfol-logos__heading,
.mfol-look.mfol-look--head-medium .mfol-people__heading,
.mfol-look.mfol-look--head-medium .mfol-social__heading,
.mfol-look.mfol-look--head-medium .mfol-score__heading,
.mfol-look.mfol-look--head-medium .mfol-countdown__heading,
.mfol-look.mfol-look--head-medium .mfol-embed-form__heading {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
}
.mfol-look.mfol-look--head-small .mfol-press__heading,
.mfol-look.mfol-look--head-small .mfol-logos__heading,
.mfol-look.mfol-look--head-small .mfol-people__heading,
.mfol-look.mfol-look--head-small .mfol-social__heading,
.mfol-look.mfol-look--head-small .mfol-score__heading,
.mfol-look.mfol-look--head-small .mfol-countdown__heading,
.mfol-look.mfol-look--head-small .mfol-embed-form__heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

/* Heading alignment */
.mfol-look--head-center .mfol-press__text,
.mfol-look--head-center .mfol-logos__text,
.mfol-look--head-center .mfol-people__text,
.mfol-look--head-center .mfol-social__text,
.mfol-look--head-center .mfol-score__text,
.mfol-look--head-center .mfol-embed-form__text,
.mfol-look--head-center .mfol-press__heading,
.mfol-look--head-center .mfol-logos__heading,
.mfol-look--head-center .mfol-people__heading,
.mfol-look--head-center .mfol-social__heading,
.mfol-look--head-center .mfol-score__heading,
.mfol-look--head-center .mfol-countdown__heading,
.mfol-look--head-center .mfol-embed-form__heading,
.mfol-look--head-center .mfol-press__intro,
.mfol-look--head-center .mfol-logos__intro,
.mfol-look--head-center .mfol-people__intro,
.mfol-look--head-center .mfol-social__intro,
.mfol-look--head-center .mfol-score__intro,
.mfol-look--head-center .mfol-countdown__intro,
.mfol-look--head-center .mfol-embed-form__intro {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Narrow width */
.mfol-look--narrow .mfol-press__inner,
.mfol-look--narrow .mfol-logos__inner,
.mfol-look--narrow .mfol-people__inner,
.mfol-look--narrow .mfol-social__inner,
.mfol-look--narrow .mfol-score__inner,
.mfol-look--narrow .mfol-countdown__inner,
.mfol-look--narrow .mfol-embed-form__inner {
  max-width: 860px;
}

/* ===== Text sizes (all blocks) ===== */

/* Heading size: Extra Large and Extra Small (Large is the theme default; Medium and Small are above) */
.mfol-look.mfol-look--head-xlarge .mfol-donate__heading,
.mfol-look.mfol-look--head-xlarge .mfol-table__heading,
.mfol-look.mfol-look--head-xlarge .mfol-stories__heading,
.mfol-look.mfol-look--head-xlarge .mfol-res__heading,
.mfol-look.mfol-look--head-xlarge .mfol-timeline__heading,
.mfol-look.mfol-look--head-xlarge .mfol-video-gallery__heading,
.mfol-look.mfol-look--head-xlarge .mfol-fg__heading,
.mfol-look.mfol-look--head-xlarge .mfol-mf__heading,
.mfol-look.mfol-look--head-xlarge .mfol-tkp__heading,
.mfol-look.mfol-look--head-xlarge .mfol-ben__heading,
.mfol-look.mfol-look--head-xlarge .mfol-steps__heading,
.mfol-look.mfol-look--head-xlarge .mfol-news__heading,
.mfol-look.mfol-look--head-xlarge .mfol-press__heading,
.mfol-look.mfol-look--head-xlarge .mfol-logos__heading,
.mfol-look.mfol-look--head-xlarge .mfol-people__heading,
.mfol-look.mfol-look--head-xlarge .mfol-social__heading,
.mfol-look.mfol-look--head-xlarge .mfol-score__heading,
.mfol-look.mfol-look--head-xlarge .mfol-countdown__heading,
.mfol-look.mfol-look--head-xlarge .mfol-embed-form__heading {
  font-size: clamp(3.25rem, 9vw, 7.5rem);
}
.mfol-look.mfol-look--head-xsmall .mfol-donate__heading,
.mfol-look.mfol-look--head-xsmall .mfol-table__heading,
.mfol-look.mfol-look--head-xsmall .mfol-stories__heading,
.mfol-look.mfol-look--head-xsmall .mfol-res__heading,
.mfol-look.mfol-look--head-xsmall .mfol-timeline__heading,
.mfol-look.mfol-look--head-xsmall .mfol-video-gallery__heading,
.mfol-look.mfol-look--head-xsmall .mfol-fg__heading,
.mfol-look.mfol-look--head-xsmall .mfol-mf__heading,
.mfol-look.mfol-look--head-xsmall .mfol-tkp__heading,
.mfol-look.mfol-look--head-xsmall .mfol-ben__heading,
.mfol-look.mfol-look--head-xsmall .mfol-steps__heading,
.mfol-look.mfol-look--head-xsmall .mfol-news__heading,
.mfol-look.mfol-look--head-xsmall .mfol-press__heading,
.mfol-look.mfol-look--head-xsmall .mfol-logos__heading,
.mfol-look.mfol-look--head-xsmall .mfol-people__heading,
.mfol-look.mfol-look--head-xsmall .mfol-social__heading,
.mfol-look.mfol-look--head-xsmall .mfol-score__heading,
.mfol-look.mfol-look--head-xsmall .mfol-countdown__heading,
.mfol-look.mfol-look--head-xsmall .mfol-embed-form__heading {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
}
.mfol-look.mfol-look--head-xlarge .mfol-copy__heading,
.mfol-look.mfol-look--head-xlarge .mfol-tkg__heading {
  font-size: clamp(2rem, 3.5vw, 3rem);
}
.mfol-look.mfol-look--head-xsmall .mfol-copy__heading,
.mfol-look.mfol-look--head-xsmall .mfol-tkg__heading {
  font-size: clamp(1rem, 1.3vw, 1.125rem);
}

/* Heading style: Condensed uses the narrower brand font */
.mfol-look.mfol-look--head-condensed .mfol-donate__heading,
.mfol-look.mfol-look--head-condensed .mfol-table__heading,
.mfol-look.mfol-look--head-condensed .mfol-stories__heading,
.mfol-look.mfol-look--head-condensed .mfol-res__heading,
.mfol-look.mfol-look--head-condensed .mfol-timeline__heading,
.mfol-look.mfol-look--head-condensed .mfol-video-gallery__heading,
.mfol-look.mfol-look--head-condensed .mfol-fg__heading,
.mfol-look.mfol-look--head-condensed .mfol-mf__heading,
.mfol-look.mfol-look--head-condensed .mfol-tkp__heading,
.mfol-look.mfol-look--head-condensed .mfol-ben__heading,
.mfol-look.mfol-look--head-condensed .mfol-steps__heading,
.mfol-look.mfol-look--head-condensed .mfol-news__heading,
.mfol-look.mfol-look--head-condensed .mfol-press__heading,
.mfol-look.mfol-look--head-condensed .mfol-logos__heading,
.mfol-look.mfol-look--head-condensed .mfol-people__heading,
.mfol-look.mfol-look--head-condensed .mfol-social__heading,
.mfol-look.mfol-look--head-condensed .mfol-score__heading,
.mfol-look.mfol-look--head-condensed .mfol-countdown__heading,
.mfol-look.mfol-look--head-condensed .mfol-embed-form__heading,
.mfol-look.mfol-look--head-condensed .mfol-copy__heading,
.mfol-look.mfol-look--head-condensed .mfol-tkg__heading {
  font-family: var(--f-trim-slender);
  font-weight: var(--f-trim-slender-weight, 700);
}

/* Intro text size */
.mfol-look.mfol-look--intro-small .mfol-donate__intro,
.mfol-look.mfol-look--intro-small .mfol-table__intro,
.mfol-look.mfol-look--intro-small .mfol-stories__intro,
.mfol-look.mfol-look--intro-small .mfol-res__intro,
.mfol-look.mfol-look--intro-small .mfol-timeline__intro,
.mfol-look.mfol-look--intro-small .mfol-video-gallery__intro,
.mfol-look.mfol-look--intro-small .mfol-fg__intro,
.mfol-look.mfol-look--intro-small .mfol-mf__intro,
.mfol-look.mfol-look--intro-small .mfol-tkp__intro,
.mfol-look.mfol-look--intro-small .mfol-ben__intro,
.mfol-look.mfol-look--intro-small .mfol-steps__intro,
.mfol-look.mfol-look--intro-small .mfol-press__intro,
.mfol-look.mfol-look--intro-small .mfol-logos__intro,
.mfol-look.mfol-look--intro-small .mfol-people__intro,
.mfol-look.mfol-look--intro-small .mfol-social__intro,
.mfol-look.mfol-look--intro-small .mfol-score__intro,
.mfol-look.mfol-look--intro-small .mfol-countdown__intro,
.mfol-look.mfol-look--intro-small .mfol-embed-form__intro,
.mfol-look.mfol-look--intro-small .mfol-copy__intro {
  font-size: 0.9375rem;
  line-height: 1.5;
}
.mfol-look.mfol-look--intro-large .mfol-donate__intro,
.mfol-look.mfol-look--intro-large .mfol-table__intro,
.mfol-look.mfol-look--intro-large .mfol-stories__intro,
.mfol-look.mfol-look--intro-large .mfol-res__intro,
.mfol-look.mfol-look--intro-large .mfol-timeline__intro,
.mfol-look.mfol-look--intro-large .mfol-video-gallery__intro,
.mfol-look.mfol-look--intro-large .mfol-fg__intro,
.mfol-look.mfol-look--intro-large .mfol-mf__intro,
.mfol-look.mfol-look--intro-large .mfol-tkp__intro,
.mfol-look.mfol-look--intro-large .mfol-ben__intro,
.mfol-look.mfol-look--intro-large .mfol-steps__intro,
.mfol-look.mfol-look--intro-large .mfol-press__intro,
.mfol-look.mfol-look--intro-large .mfol-logos__intro,
.mfol-look.mfol-look--intro-large .mfol-people__intro,
.mfol-look.mfol-look--intro-large .mfol-social__intro,
.mfol-look.mfol-look--intro-large .mfol-score__intro,
.mfol-look.mfol-look--intro-large .mfol-countdown__intro,
.mfol-look.mfol-look--intro-large .mfol-embed-form__intro,
.mfol-look.mfol-look--intro-large .mfol-copy__intro {
  font-size: clamp(1.25rem, 2.3vw, 2rem);
  line-height: 1.35;
}

/* Small label size (Donate and Fundraising Goal) */
.mfol-look.mfol-look--label-large .mfol-donate__eyebrow {
  font-size: 1rem;
}
.mfol-look.mfol-look--label-large .mfol-fg__label {
  font-size: 0.9375rem;
}

/* ===== Resource Cards: a color for each card ===== */
.mfol-res .mfol-res__card.mfol-res__card--own,
.mfol-look .mfol-res__card.mfol-res__card--own {
  background: var(--res-own-bg);
  color: var(--res-own-fg);
}
.mfol-res .mfol-res__card.mfol-res__card--own *,
.mfol-look .mfol-res__card.mfol-res__card--own * {
  color: var(--res-own-fg);
}
/* The small type tag is a white pill, so its text always stays black */
.mfol-res .mfol-res__card .mfol-res__type,
.mfol-look .mfol-res__card .mfol-res__type {
  color: var(--color-black);
}

/* Extra Large next to a form or image: a little smaller, so the side column keeps its room */
.mfol-look.mfol-look--head-xlarge.mfol-donate--split .mfol-donate__heading,
.mfol-look.mfol-look--head-xlarge.mfol-fg--split .mfol-fg__heading,
.mfol-look.mfol-look--head-xlarge.mfol-embed-form--beside .mfol-embed-form__heading {
  font-size: clamp(3rem, 6.5vw, 6.5rem);
}

/* ===== MFOL Call to Action ===== */
.mfol-look--text-white .mfol-cta__text,
.mfol-look--text-white .mfol-cta__text *,
.mfol-look--text-white .mfol-cta__note {
  color: inherit;
}
.mfol-look.mfol-look--head-xlarge .mfol-cta__heading {
  font-size: clamp(3.25rem, 9vw, 7.5rem);
}
.mfol-look.mfol-look--head-medium .mfol-cta__heading {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
}
.mfol-look.mfol-look--head-small .mfol-cta__heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}
.mfol-look.mfol-look--head-xsmall .mfol-cta__heading {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
}
.mfol-look.mfol-look--head-xlarge.mfol-cta--side .mfol-cta__heading,
.mfol-look.mfol-look--head-xlarge.mfol-cta--image .mfol-cta__heading {
  font-size: clamp(3rem, 6.5vw, 6.5rem);
}
.mfol-look.mfol-look--head-condensed .mfol-cta__heading {
  font-family: var(--f-trim-slender);
  font-weight: var(--f-trim-slender-weight, 700);
}
.mfol-look.mfol-look--intro-small .mfol-cta__intro {
  font-size: 0.9375rem;
  line-height: 1.5;
}
.mfol-look.mfol-look--intro-large .mfol-cta__intro {
  font-size: clamp(1.25rem, 2.3vw, 2rem);
  line-height: 1.35;
}
.mfol-look.mfol-look--label-large .mfol-cta__label {
  font-size: 1rem;
}
.mfol-look--head-center .mfol-cta__text {
  text-align: center;
}
.mfol-look--head-center .mfol-cta__intro {
  margin-left: auto;
  margin-right: auto;
}
.mfol-look--narrow .mfol-cta__inner {
  max-width: 860px;
}

/* ===== Shared buttons (MFOL Image and Text, Page Header, Next Page) ===== */
.mfol-look-buttons {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.mfol-btn--green {
  --button-bg: var(--color-green);
}
.mfol-btn--yellow {
  --button-bg: var(--color-yellow);
}
.mfol-btn--blue {
  --button-bg: var(--color-blue);
}
.mfol-btn--pink {
  --button-bg: var(--color-pink);
}
.mfol-btn--white {
  --button-bg: var(--color-white);
}
.mfol-btn--gray {
  --button-bg: var(--color-gray);
}
.mfol-btn--black {
  --button-bg: var(--color-black);
  --button-color: var(--color-white);
  --button-bg-hover: var(--color-white);
  --button-color-hover: var(--color-black);
}
.mfol-look--text-white .mfol-btn--outline {
  --button-color: var(--color-white);
  --button-border-color: var(--color-white);
  --button-bg-hover: var(--color-white);
  --button-color-hover: var(--color-black);
  --button-border-color-hover: var(--color-white);
}
.mfol-text-link {
  align-items: center;
  color: inherit;
  display: inline-flex;
  font-family: var(--f-mono);
  gap: 8px;
  padding: 14px 4px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.mfol-text-link .link-icon {
  display: inline-flex;
  width: 14px;
}
.mfol-text-link:hover,
.mfol-text-link:focus-visible {
  text-decoration-thickness: 2px;
}

/* Sticker colors beyond the theme's five. A black sticker's lettering turns white. */
.sticker.sticker--orange {
  color: var(--color-orange);
}
.sticker.sticker--pink {
  color: var(--color-pink);
}
.sticker.sticker--black {
  color: var(--color-black);
}
.sticker.sticker--black svg [fill="#000"],
.sticker.sticker--black svg [fill="#000000"],
.sticker.sticker--black svg [fill="black"] {
  fill: var(--color-white);
}

/* ===== Paper texture (Look tab) =====
   A neutral copy of the home page's blue paper, blended over the block's color.
   It sits behind the content (z-index -1 inside an isolated block). */
.mfol-look--paper {
  isolation: isolate;
  position: relative;
}
.mfol-look--paper::before {
  background: url(paper-texture.jpg) center / cover;
  content: "";
  inset: 0;
  mix-blend-mode: soft-light;
  opacity: 0.7;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}
.mfol-look--paper-subtle::before {
  opacity: 0.45;
}
.mfol-look--paper-strong::before {
  opacity: 1;
}
/* White and black can't take a soft-light blend, so they get their own */
.mfol-look--paper-on-white::before {
  filter: brightness(1.85);
  mix-blend-mode: multiply;
}
/* On white, only full-width blocks get paper (a block sitting in the text column has no background of its own) */
.mfol-look--paper-on-white:not(.alignfull):not(.block--full-width-bg)::before {
  content: none;
}
.mfol-look--paper-on-black::before {
  filter: brightness(0.3);
  mix-blend-mode: screen;
}
/* The block's own color sits under the texture */
.mfol-look--paper.mfol-look--bg-white { background-color: var(--color-white); }
.mfol-look--paper.mfol-look--bg-gray { background-color: var(--color-gray); }
.mfol-look--paper.mfol-look--bg-green { background-color: var(--color-green); }
.mfol-look--paper.mfol-look--bg-yellow { background-color: var(--color-yellow); }
.mfol-look--paper.mfol-look--bg-orange { background-color: var(--color-orange); }
.mfol-look--paper.mfol-look--bg-blue { background-color: var(--color-blue); }
.mfol-look--paper.mfol-look--bg-pink { background-color: var(--color-pink); }
.mfol-look--paper.mfol-look--bg-black { background-color: var(--color-black); }

/* ===== [Bracket] highlights (Look tab) ===== */
.mfol-hl {
  -webkit-box-decoration-break: clone;
  background: linear-gradient(transparent 12%, var(--mfol-hl, var(--color-green)) 12%, var(--mfol-hl, var(--color-green)) 92%, transparent 92%);
  box-decoration-break: clone;
  color: inherit;
  padding: 0 0.12em;
}
.mfol-hl--green { --mfol-hl: var(--color-green); }
.mfol-hl--yellow { --mfol-hl: var(--color-yellow); }
.mfol-hl--orange { --mfol-hl: var(--color-orange); }
.mfol-hl--blue { --mfol-hl: var(--color-blue); }
.mfol-hl--pink { --mfol-hl: var(--color-pink); }
.mfol-hl--white { --mfol-hl: var(--color-white); }
.mfol-hl--gray { --mfol-hl: var(--color-gray); }
.mfol-hl--black {
  --mfol-hl: var(--color-black);
  color: var(--color-white);
}

/* Button arrows always match the button's text color (including on hover), on the site and in the editor */
.mfol-look-buttons .btn .link-icon,
.mfol-look-buttons .btn--outline .link-icon,
.mfol-look-buttons .mfol-text-link .link-icon {
  color: inherit;
}
.mfol-look-buttons .btn .link-icon svg,
.mfol-look-buttons .btn .link-icon svg path,
.mfol-look-buttons .btn--outline .link-icon svg,
.mfol-look-buttons .btn--outline .link-icon svg path,
.mfol-look-buttons .mfol-text-link .link-icon svg,
.mfol-look-buttons .mfol-text-link .link-icon svg path {
  color: inherit;
  fill: currentColor;
}

/* ===== Sideways-scrolling areas fade at the edge, so people know there's more ===== */
@property --mfol-fade-l {
  inherits: false;
  initial-value: 0px;
  syntax: "<length>";
}
@property --mfol-fade-r {
  inherits: false;
  initial-value: 40px;
  syntax: "<length>";
}
:is(.mfol-news__hl-track, .mfol-pg.horizontal-scroll .grid-control) {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--mfol-fade-l), #000 calc(100% - var(--mfol-fade-r)), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 var(--mfol-fade-l), #000 calc(100% - var(--mfol-fade-r)), transparent 100%);
}
@media (max-width: 700px) {
  .mfol-table--phone-scroll .mfol-table__frame {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--mfol-fade-l), #000 calc(100% - var(--mfol-fade-r)), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 var(--mfol-fade-l), #000 calc(100% - var(--mfol-fade-r)), transparent 100%);
  }
}
/* Where supported, the fades follow the scroll: no left fade at the start, no right fade at the end */
@supports (animation-timeline: scroll()) {
  :is(.mfol-news__hl-track, .mfol-pg.horizontal-scroll .grid-control, .mfol-table--phone-scroll .mfol-table__frame) {
    animation: mfol-edge-fade linear both;
    animation-timeline: scroll(self inline);
  }
}
@keyframes mfol-edge-fade {
  0% { --mfol-fade-l: 0px; --mfol-fade-r: 40px; }
  6% { --mfol-fade-l: 40px; }
  94% { --mfol-fade-r: 40px; }
  100% { --mfol-fade-l: 40px; --mfol-fade-r: 0px; }
}

/* ===== Buttons shrink slightly when pressed, so taps feel physical ===== */
:is(.mfol-look-buttons .btn, .mfol-donate__submit, .mfol-pillars__link, .mfol-donate-switch__tab, .mfol-faq__contact-link) {
  transition-property: transform, background-color, color, border-color, box-shadow;
}
:is(.mfol-look-buttons .btn, .mfol-donate__submit, .mfol-pillars__link, .mfol-donate-switch__tab):active,
.mfol-donate__amount:active .mfol-donate__amount-value {
  transform: scale(0.97);
}
@media (prefers-reduced-motion: reduce) {
  :is(.mfol-look-buttons .btn, .mfol-donate__submit, .mfol-pillars__link, .mfol-donate-switch__tab):active,
  .mfol-donate__amount:active .mfol-donate__amount-value {
    transform: none;
  }
}

/* ===== Numbers use even-width digits, so they line up and don't jiggle as they change ===== */
:is(.stats__stat-text, .impact-stat__stat-text, .mfol-st-photo__number, .mfol-donate__amount-value, .mfol-donate__submit, .mfol-donate__other-field, .mfol-pillars__point-big, [class*="countdown"] [class*="num"], [class*="countdown"] [class*="value"], [class*="mfol-fg"], [class*="fundraising"] [class*="amount"]) {
  font-variant-numeric: tabular-nums;
}

/* ===== Block headings balance their lines (no single word stranded on the last line) ===== */
[class*="mfol-"] :is(h2, h3)[class*="__heading"] {
  text-wrap: balance;
}

/* ===== "Be anything but patient" (the theme's Homepage Featured Actions) on the same edges as the MFOL blocks ===== */
.gutenberg-content > .block-homepage-featured-actions {
  box-sizing: border-box;
  left: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  max-width: 100vw;
  padding-left: max(var(--outer-padding), calc((100vw - 1400px) / 2));
  padding-right: max(var(--outer-padding), calc((100vw - 1400px) / 2));
  position: relative;
  right: 50%;
  width: 100vw;
}

/* ===== Filled buttons on a black background hover to white (the standard black hover vanished
   into the background); a white button hovers to orange ===== */
.mfol-look--bg-black .btn:not(.mfol-btn--outline) {
  --button-bg-hover: var(--color-white);
  --button-border-color-hover: var(--color-white);
  --button-color-hover: var(--color-black);
}
.mfol-look--bg-black .btn:is(.mfol-btn--white, .mfol-cta__btn--white) {
  --button-bg-hover: var(--color-orange);
  --button-border-color-hover: var(--color-orange);
}
