/* ==========================================================================
   acf/nam-quote-wall -- campaign-style quote wall (compiled to quote-wall.css)
   A deep-navy band with a scrolling band of names, an optional "Latest"
   headline, a condensed-caps heading
   and a mosaic of color-blocked boxes (navy / bright blue / yellow / white):
   each box is one link to its source. Quotes and photos share the mosaic;
   "on record" boxes (name plus one line) sit in a compact grid below it.
   Scoped under .nam-sec--quotewall; shares the .nam-sec tokens from
   nam-sections.css. Edit the .scss, compile to the sibling .css
   (npm run scss:blocks). Keep the file ASCII.
   ========================================================================== */
/* The licensed 77 Bold Condensed cut under a block-local alias, so the wall
   never depends on which @font-face names an install's style.css carries
   (same approach as coolest-map.scss). Browsers dedupe the file. */
@font-face {
  font-family: "NAM Wall Condensed";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/wp-content/themes/wdg-nam/dist/assets/fonts/NeueHelvetica/5663746/02980b3d-1e37-4378-a5c6-4cf0d6ce0ba5.woff2") format("woff2"), url("/wp-content/themes/wdg-nam/dist/assets/fonts/NeueHelvetica/5663746/2d1e8a5f-eb7a-47a1-be1d-878bb9a46b6e.woff") format("woff");
}
/* Palette: NAM colors only. --qw-ink is the band and the text on the light
   boxes; every text/background pair below is 4.5:1 or better. */
.nam-sec--quotewall {
  --qw-ink:#00194a;
  --qw-navy:var(--c-primary,#0032A0);
  --qw-blue:var(--c-secondary,#00A9E0);
  --qw-sky:var(--c-secondary-light,#66CBEC);
  --qw-yellow:var(--wdg-color-yellow,#FFD100);
  --qw-rule:rgba(255,255,255,.18);
  --qw-dim:rgba(255,255,255,.8);
  --qw-cond:"NAM Wall Condensed","Neue Helvetica W05 Condensed","Arial Narrow","Helvetica Neue",Arial,sans-serif;
  position: relative;
  background: radial-gradient(1100px 520px at 10% -8%, rgba(0, 169, 224, 0.24), rgba(0, 169, 224, 0) 62%), var(--qw-ink);
  color: #fff;
  padding: 0 0 88px;
  overflow: hidden;
}

/* Hi-vis stripe along the top edge of the band. */
.nam-sec--quotewall::before {
  content: "";
  display: block;
  height: 10px;
  background: repeating-linear-gradient(-45deg, var(--qw-yellow) 0 14px, var(--qw-ink) 14px 28px);
}

.nam-sec--quotewall * {
  box-sizing: border-box;
}

.nam-sec--quotewall .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* -- band of names --------------------------------------------------------
   Without JavaScript, or with reduced motion: a centered, wrapped row.
   quote-wall.js wraps the list in .qw-band__view > .qw-band__track, repeats
   it for a seamless loop and adds the pause button. */
.nam-sec--quotewall .qw-band {
  position: relative;
  border-bottom: 1px solid var(--qw-rule);
  padding: 16px 0 15px;
}

.nam-sec--quotewall .qw-band__list {
  list-style: none;
  margin: 0;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0;
  font-family: var(--qw-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  line-height: 1.1;
}

.nam-sec--quotewall .qw-band__list li {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  color: #fff;
}

.nam-sec--quotewall .qw-band__list li:nth-child(even) {
  color: var(--qw-sky);
}

.nam-sec--quotewall .qw-band__list li::before {
  content: none;
}

.nam-sec--quotewall .qw-band__list li::after {
  content: "";
  flex: none;
  width: 0.42em;
  height: 0.42em;
  margin: 0 0.95em;
  background: var(--qw-yellow);
  transform: rotate(45deg);
}

.nam-sec--quotewall .qw-band__list li:last-child::after {
  display: none;
}

.nam-sec--quotewall .qw-band--scroll {
  padding-right: 64px;
}

.nam-sec--quotewall .qw-band--scroll .qw-band__view {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0), #000 6%, #000 92%, rgba(0, 0, 0, 0));
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0), #000 6%, #000 92%, rgba(0, 0, 0, 0));
}

.nam-sec--quotewall .qw-band--scroll .qw-band__track {
  display: flex;
  width: max-content;
  animation: qw-scroll var(--qw-band-duration, 60s) linear infinite;
}

.nam-sec--quotewall .qw-band--scroll .qw-band__list {
  flex: none;
  flex-wrap: nowrap;
  justify-content: flex-start;
  padding: 0;
}

.nam-sec--quotewall .qw-band--scroll .qw-band__list li:last-child::after {
  display: block;
}

.nam-sec--quotewall .qw-band.is-paused .qw-band__track {
  animation-play-state: paused;
}

@keyframes qw-scroll {
  to {
    transform: translateX(-50%);
  }
}
.nam-sec--quotewall .qw-band__pause {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.nam-sec--quotewall .qw-band__pause:hover {
  background: #fff;
  color: var(--qw-ink);
}

.nam-sec--quotewall .qw-band__pause:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.nam-sec--quotewall .qw-band__pause svg {
  display: block;
}

/* -- heading -------------------------------------------------------------- */
.nam-sec--quotewall .qw-head {
  padding: 60px 0 38px;
  max-width: 1040px;
}

.nam-sec--quotewall .eyebrow {
  color: var(--qw-sky);
  margin: 0 0 1rem;
}

.nam-sec--quotewall .qw-head__title {
  font-family: var(--qw-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.94;
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  color: #fff;
  margin: 0 0 1.15rem;
}

.nam-sec--quotewall .qw-head__lead {
  display: block;
}

.nam-sec--quotewall .qw-head__punch {
  display: block;
  color: var(--qw-yellow);
}

.nam-sec--quotewall .qw-head__intro {
  margin: 0;
  max-width: 64ch;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.55;
  color: var(--qw-dim);
}

/* "Latest" headline: a tag, one line of news and its source, above the heading. One link. */
.nam-sec--quotewall .qw-news {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1rem;
  margin: 0 0 30px;
  padding: 12px 18px 12px 13px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  color: #fff;
  text-decoration: none;
  transition: background 0.18s ease;
  --qw-accent:var(--qw-yellow);
}

.nam-sec--quotewall a.qw-news:not(#nam-x) {
  display: flex !important;
  text-decoration: none;
}

.nam-sec--quotewall a.qw-news:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.nam-sec--quotewall .qw-news__label {
  flex: none;
  padding: 0.34rem 0.62rem 0.28rem;
  border-radius: 3px;
  background: var(--qw-yellow);
  color: var(--qw-ink);
  font-family: var(--qw-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.95rem;
  line-height: 1;
}

.nam-sec--quotewall .qw-news__text {
  flex: 1 1 24rem;
  min-width: 0;
  font-size: 1.08rem;
  line-height: 1.35;
  font-weight: 700;
  color: #fff;
}

.nam-sec--quotewall .qw-news__src {
  flex: 0 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--qw-dim);
}

.nam-sec--quotewall a.qw-news:focus-visible .qw-arrow {
  transform: translate(3px, -3px);
}

/* -- the wall ------------------------------------------------------------- */
/* Optional heading over the quote boxes ("In the news"): the same look as the on-record heading. */
.nam-sec--quotewall .qw-wall__head,
.nam-sec--quotewall .qw-record__head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 0 0 16px;
  font-family: var(--qw-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 1.45rem;
  line-height: 1;
  color: #fff;
}

.nam-sec--quotewall .qw-wall__head::after,
.nam-sec--quotewall .qw-record__head::after {
  content: "";
  flex: 1 1 auto;
  height: 2px;
  background: var(--qw-rule);
}

.nam-sec--quotewall .qw-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.nam-sec--quotewall .qw-tile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  padding: 26px 26px 22px;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.22s ease;
}

/* Links: out-rank the theme's .entry-content a:not(...) inline rule (COSMA pattern). */
.nam-sec--quotewall a.qw-tile:not(#nam-x) {
  display: flex !important;
  text-decoration: none;
}

.nam-sec--quotewall a.qw-tile:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.nam-sec--quotewall .qw-tile--wide {
  grid-column: span 2;
}

.nam-sec--quotewall .qw-tile--feature {
  grid-column: span 2;
  grid-row: span 2;
  padding: 38px 38px 30px;
}

/* Box colors. --qw-on = text, --qw-soft = secondary text, --qw-accent = mark and arrow. */
.nam-sec--quotewall .qw-tile--navy {
  background: var(--qw-navy);
  --qw-on:#fff;
  --qw-org:#fff;
  --qw-soft:rgba(255,255,255,.84);
  --qw-accent:var(--qw-yellow);
  --qw-line:rgba(255,255,255,.24);
}

.nam-sec--quotewall .qw-tile--blue {
  background: var(--qw-blue);
  --qw-on:var(--qw-ink);
  --qw-org:var(--qw-ink);
  --qw-soft:var(--qw-ink);
  --qw-accent:#fff;
  --qw-line:rgba(0,25,74,.3);
}

.nam-sec--quotewall .qw-tile--yellow {
  background: var(--qw-yellow);
  --qw-on:var(--qw-ink);
  --qw-org:var(--qw-navy);
  --qw-soft:var(--qw-ink);
  --qw-accent:var(--qw-navy);
  --qw-line:rgba(0,25,74,.3);
}

.nam-sec--quotewall .qw-tile--white {
  background: #fff;
  --qw-on:var(--qw-ink);
  --qw-org:var(--qw-navy);
  --qw-soft:#34405a;
  --qw-accent:var(--qw-blue);
  --qw-line:rgba(0,25,74,.18);
}

.nam-sec--quotewall .qw-tile--quote {
  color: var(--qw-on);
}

/* Oversized opening mark, top right, behind the text. */
.nam-sec--quotewall .qw-tile__mark {
  position: absolute;
  z-index: -1;
  top: -0.09em;
  right: 0.14em;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 7.4rem;
  line-height: 1;
  color: var(--qw-accent);
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.nam-sec--quotewall .qw-tile--feature .qw-tile__mark {
  font-size: 12rem;
  right: 0.12em;
}

/* Name as a wordmark. */
.nam-sec--quotewall .qw-tile__org {
  font-family: var(--qw-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.008em;
  font-size: clamp(2.2rem, 3.1vw, 2.9rem);
  line-height: 0.9;
  color: var(--qw-org);
  margin: 0;
  padding-right: 3.6rem;
}

.nam-sec--quotewall .qw-tile__org--long {
  font-size: clamp(1.55rem, 2vw, 1.9rem);
  line-height: 0.98;
}

.nam-sec--quotewall .qw-tile--feature .qw-tile__org {
  font-size: clamp(3rem, 5vw, 4.6rem);
  padding-right: 6rem;
}

.nam-sec--quotewall .qw-tile--feature .qw-tile__org--long {
  font-size: clamp(2.1rem, 3.2vw, 3rem);
}

.nam-sec--quotewall .qw-tile__full {
  margin: 0;
  padding-right: 3.6rem;
  font-size: 0.76rem;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--qw-soft);
}

.nam-sec--quotewall .qw-tile--feature .qw-tile__full {
  font-size: 0.84rem;
  padding-right: 6rem;
}

/* The words. Type size follows the box size and the length of the quote
   (qw-len--s up to 80 characters, --m up to 170, --l beyond). */
.nam-sec--quotewall .qw-tile__quote {
  margin: 0 0 1.4rem;
  padding: 1.1rem 0 0;
  border: 0;
  border-top: 2px solid var(--qw-line);
  background: none;
  font-style: normal;
  quotes: none;
  color: inherit;
}

.nam-sec--quotewall .qw-tile__quote::before,
.nam-sec--quotewall .qw-tile__quote::after {
  content: none;
}

.nam-sec--quotewall .qw-tile__quote p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.46;
  font-weight: 500;
  letter-spacing: 0;
  color: inherit;
}

.nam-sec--quotewall .qw-len--m .qw-tile__quote p {
  font-size: 1.1rem;
  line-height: 1.38;
  font-weight: 700;
}

.nam-sec--quotewall .qw-len--s .qw-tile__quote p {
  font-size: clamp(1.3rem, 1.7vw, 1.6rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nam-sec--quotewall .qw-tile--wide.qw-len--l .qw-tile__quote p {
  font-size: clamp(1.08rem, 1.3vw, 1.24rem);
  line-height: 1.42;
  font-weight: 700;
}

.nam-sec--quotewall .qw-tile--wide.qw-len--m .qw-tile__quote p {
  font-size: clamp(1.25rem, 1.7vw, 1.6rem);
  line-height: 1.28;
  letter-spacing: -0.008em;
}

.nam-sec--quotewall .qw-tile--wide.qw-len--s .qw-tile__quote p {
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.nam-sec--quotewall .qw-tile--feature .qw-tile__quote {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  margin-bottom: 1.7rem;
  padding-top: 1.5rem;
}

.nam-sec--quotewall .qw-tile--feature .qw-tile__quote p {
  font-size: clamp(1.9rem, 3.5vw, 3.25rem);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nam-sec--quotewall .qw-tile--feature.qw-len--l .qw-tile__quote p {
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.012em;
}

/* Who said it, and where. Pinned to the foot of the box (margin-top:auto, under "top margins" below). */
.nam-sec--quotewall .qw-tile__who {
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  line-height: 1.3;
  color: inherit;
}

.nam-sec--quotewall .qw-tile__name {
  display: block;
  font-weight: 700;
}

.nam-sec--quotewall .qw-tile__role {
  display: block;
  font-size: 0.86rem;
  color: var(--qw-soft);
}

.nam-sec--quotewall .qw-tile--feature .qw-tile__who {
  font-size: 1.1rem;
}

.nam-sec--quotewall .qw-tile--feature .qw-tile__role {
  font-size: 0.95rem;
}

.nam-sec--quotewall .qw-tile__src,
.nam-sec--quotewall .qw-rec__src {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--qw-soft);
}

.nam-sec--quotewall .qw-arrow {
  flex: none;
  color: var(--qw-accent);
  transition: transform 0.2s ease;
}

.nam-sec--quotewall a.qw-tile:focus-visible .qw-arrow {
  transform: translate(3px, -3px);
}

/* Hover only where there is a real pointer: a tap on a phone would leave a box lifted. */
@media (hover: hover) {
  .nam-sec--quotewall a.qw-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.42);
  }
  .nam-sec--quotewall a.qw-tile:hover .qw-arrow {
    transform: translate(3px, -3px);
  }
  .nam-sec--quotewall a.qw-tile:hover .qw-tile__src span:first-child,
  .nam-sec--quotewall a.qw-tile:hover .qw-rec__src span:first-child {
    text-decoration: underline;
    text-underline-offset: 0.2em;
  }
  .nam-sec--quotewall a.qw-rec:hover {
    background: rgba(255, 255, 255, 0.13);
  }
  .nam-sec--quotewall a.qw-news:hover {
    background: rgba(255, 255, 255, 0.14);
  }
  .nam-sec--quotewall a.qw-news:hover .qw-news__text {
    text-decoration: underline;
    text-underline-offset: 0.18em;
  }
  .nam-sec--quotewall a.qw-news:hover .qw-arrow {
    transform: translate(3px, -3px);
  }
  .nam-sec--quotewall a.qw-tile--photo:hover .qw-tile__img {
    filter: none;
  }
  .nam-sec--quotewall a.qw-tile--photo:hover .qw-tile__media::after {
    opacity: 0;
  }
}
/* Photo box: the picture in the band's blue until hover or focus, caption over a scrim. */
.nam-sec--quotewall .qw-tile--photo {
  padding: 0;
  min-height: 320px;
  justify-content: flex-end;
  background: var(--qw-navy);
  color: #fff;
  --qw-soft:rgba(255,255,255,.88);
  --qw-accent:var(--qw-yellow);
}

.nam-sec--quotewall .qw-tile__media {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.nam-sec--quotewall .qw-tile__media::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--qw-navy);
  mix-blend-mode: lighten;
  transition: opacity 0.35s ease;
}

.nam-sec--quotewall .qw-tile__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: 50% 20%;
  filter: grayscale(1) contrast(1.08);
  transition: filter 0.35s ease;
}

.nam-sec--quotewall a.qw-tile--photo:focus-visible .qw-tile__img {
  filter: none;
}

.nam-sec--quotewall a.qw-tile--photo:focus-visible .qw-tile__media::after {
  opacity: 0;
}

/* The scrim is at .9 or more wherever the caption's text sits (the text starts 96px down). */
.nam-sec--quotewall .qw-tile__caption {
  padding: 96px 26px 22px;
  background: linear-gradient(180deg, rgba(0, 25, 74, 0) 0, rgba(0, 25, 74, 0.9) 84px, rgba(0, 25, 74, 0.97) 100%);
}

.nam-sec--quotewall .qw-tile--photo .qw-tile__org {
  font-size: clamp(1.55rem, 2vw, 1.9rem);
  line-height: 0.98;
  color: var(--qw-yellow);
  padding-right: 0;
}

.nam-sec--quotewall .qw-tile__cap {
  margin: 0 0 0.8rem;
  max-width: 52ch;
  font-size: 1.02rem;
  line-height: 1.4;
  font-weight: 700;
  color: #fff;
}

/* -- on record (its heading shares the wall heading's rule, above) ----------- */
.nam-sec--quotewall .qw-record {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.nam-sec--quotewall .qw-rec {
  padding: 20px 20px 16px 22px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  color: #fff;
  --qw-soft:rgba(255,255,255,.8);
  --qw-accent:var(--qw-yellow);
}

.nam-sec--quotewall .qw-rec::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 5px;
  background: var(--qw-accent);
}

.nam-sec--quotewall .qw-rec--blue {
  --qw-accent:var(--qw-sky);
}

.nam-sec--quotewall .qw-rec--white,
.nam-sec--quotewall .qw-rec--navy {
  --qw-accent:#fff;
}

.nam-sec--quotewall .qw-rec__org {
  font-family: var(--qw-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.012em;
  font-size: clamp(1.4rem, 1.8vw, 1.7rem);
  line-height: 1;
  color: #fff;
  margin: 0;
}

.nam-sec--quotewall .qw-rec__full {
  margin: 0;
  font-size: 0.7rem;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--qw-soft);
}

.nam-sec--quotewall .qw-rec__line {
  margin: 0 0 1rem;
  font-size: 0.93rem;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.94);
}

.nam-sec--quotewall .qw-note {
  margin: 0;
  max-width: 86ch;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.76);
}

/* -- top margins ------------------------------------------------------------
   The theme spaces the second element after ANY heading in page content
   (.entry-content :where(h1...h6) + :not(...) + :not(...):not(...):not(...),
   specificity 0,5,0). Inside a box that is the quote, or the foot when a box
   has no full name, so quotes would drop and feet would come unpinned. Every
   top margin in the wall is therefore set here, behind :not(#nam-x) (the
   COSMA pattern), and nowhere else. */
.nam-sec--quotewall .wrap > *:not(#nam-x),
.nam-sec--quotewall .qw-tile > *:not(#nam-x),
.nam-sec--quotewall .qw-tile__caption > *:not(#nam-x) {
  margin-top: 0;
}

.nam-sec--quotewall .qw-tile__full:not(#nam-x) {
  margin-top: 0.55rem;
}

.nam-sec--quotewall .qw-tile__quote:not(#nam-x) {
  margin-top: 1.15rem;
}

.nam-sec--quotewall .qw-tile--feature .qw-tile__quote:not(#nam-x) {
  margin-top: 1.5rem;
}

.nam-sec--quotewall .qw-tile__foot:not(#nam-x) {
  margin-top: auto;
}

.nam-sec--quotewall .qw-tile__cap:not(#nam-x) {
  margin-top: 0.55rem;
}

.nam-sec--quotewall .qw-rec__full:not(#nam-x) {
  margin-top: 0.45rem;
}

.nam-sec--quotewall .qw-rec__line:not(#nam-x) {
  margin-top: 0.8rem;
}

.nam-sec--quotewall .qw-rec__src:not(#nam-x) {
  margin-top: auto;
}

.nam-sec--quotewall .qw-record__head:not(#nam-x) {
  margin-top: 46px;
}

.nam-sec--quotewall .qw-grid + .qw-record:not(#nam-x) {
  margin-top: 12px;
}

.nam-sec--quotewall .qw-note:not(#nam-x) {
  margin-top: 26px;
}

/* -- the wall in two parts ---------------------------------------------------
   A page can put another section between the wall's heading and its boxes (qw_part): one block shows the stripe, the
   band of names and the heading, a second the boxes. The first ends close under its intro; the second starts with
   room over "In the news" and has no stripe (the stripe is the wall's top edge). */
.nam-sec--quotewall.qw-part--head {
  padding-bottom: 14px;
}

.nam-sec--quotewall.qw-part--boxes {
  padding-top: 58px;
}

.nam-sec--quotewall.qw-part--boxes::before {
  content: none;
}

/* -- the wall as the opening of a page ---------------------------------------
   Where the block with the heading is the first thing on a page (.qw-opens: its heading is the page's title), the
   band of names is the first thing a reader sees. Without help it stands as a wrapped block of names until
   quote-wall.js folds it into one moving line, and everything under it jumps up. So where scripts run (html.js: the
   site's head sets it before anything is painted) and motion is allowed, the names keep one line's height from the
   first paint. The hold is an animation with no fill: if the script never comes it ends by itself and the names
   stand as the server printed them. (With reduced motion the script leaves the wrapped block alone, and so does this.) */
@keyframes qw-wait-band {
  from, to {
    max-height: 1.1em;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html.js .nam-sec--quotewall.qw-opens .qw-band:not([data-qw-ready]) .qw-band__list {
    overflow: hidden;
    animation: qw-wait-band 10s step-end;
  }
}
/* -- rise-in (quote-wall.js adds .qw-tile--wait to boxes below the fold) --- */
.nam-sec--quotewall .qw-tile--wait {
  opacity: 0;
  transform: translateY(26px);
}

.nam-sec--quotewall .qw-tile--wait.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.nam-sec--quotewall .qw-tile--wait:focus {
  opacity: 1;
  transform: none;
}

/* -- narrower screens ------------------------------------------------------ */
@media (max-width: 1099px) {
  .nam-sec--quotewall .qw-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nam-sec--quotewall .qw-tile--wide {
    grid-column: auto;
  }
  .nam-sec--quotewall .qw-tile--photo.qw-tile--wide {
    grid-column: span 2;
  }
  .nam-sec--quotewall .qw-tile--feature {
    grid-row: auto;
  }
  .nam-sec--quotewall .qw-tile--feature .qw-tile__quote {
    display: block;
  }
  .nam-sec--quotewall .qw-tile--wide.qw-len--s .qw-tile__quote p {
    font-size: clamp(1.4rem, 3.2vw, 1.9rem);
  }
  .nam-sec--quotewall .qw-tile--wide.qw-len--m .qw-tile__quote p {
    font-size: clamp(1.15rem, 2.3vw, 1.4rem);
  }
  .nam-sec--quotewall .qw-tile--wide.qw-len--l .qw-tile__quote p {
    font-size: 1.05rem;
  }
  .nam-sec--quotewall .qw-tile--feature .qw-tile__quote p {
    font-size: clamp(1.9rem, 5vw, 3rem);
  }
  .nam-sec--quotewall .qw-tile__org {
    font-size: clamp(2.2rem, 5vw, 2.9rem);
  }
  .nam-sec--quotewall .qw-tile__org--long {
    font-size: clamp(1.55rem, 3.4vw, 1.9rem);
  }
}
@media (max-width: 999px) {
  .nam-sec--quotewall .qw-record {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 639px) {
  .nam-sec--quotewall {
    padding-bottom: 64px;
  }
  .nam-sec--quotewall.qw-part--head {
    padding-bottom: 8px;
  }
  .nam-sec--quotewall.qw-part--boxes {
    padding-top: 44px;
  }
  .nam-sec--quotewall .qw-head {
    padding: 42px 0 28px;
  }
  .nam-sec--quotewall .qw-head__title {
    font-size: clamp(2.3rem, 11vw, 3.2rem);
  }
  .nam-sec--quotewall .qw-news {
    margin-bottom: 24px;
    padding: 11px 14px 12px 12px;
  }
  .nam-sec--quotewall .qw-news__text {
    flex-basis: 100%;
    font-size: 1rem;
  }
  .nam-sec--quotewall .qw-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  .nam-sec--quotewall .qw-tile--wide,
  .nam-sec--quotewall .qw-tile--feature,
  .nam-sec--quotewall .qw-tile--photo.qw-tile--wide {
    grid-column: auto;
  }
  .nam-sec--quotewall .qw-tile {
    padding: 22px 20px 18px;
  }
  .nam-sec--quotewall .qw-tile--feature {
    padding: 26px 22px 22px;
  }
  .nam-sec--quotewall .qw-tile--feature .qw-tile__mark {
    font-size: 8.5rem;
  }
  .nam-sec--quotewall .qw-tile--feature .qw-tile__org,
  .nam-sec--quotewall .qw-tile--feature .qw-tile__full {
    padding-right: 4.4rem;
  }
  .nam-sec--quotewall .qw-tile--feature .qw-tile__quote p {
    font-size: clamp(1.7rem, 7.6vw, 2.2rem);
    line-height: 1.1;
  }
  .nam-sec--quotewall .qw-tile--photo {
    min-height: 280px;
    padding: 0;
  }
  .nam-sec--quotewall .qw-tile__caption {
    padding: 96px 20px 18px;
  }
  .nam-sec--quotewall .qw-record {
    gap: 10px;
  }
  .nam-sec--quotewall .qw-rec {
    padding: 16px 14px 14px 17px;
  }
  .nam-sec--quotewall .qw-rec__org {
    font-size: 1.3rem;
  }
  .nam-sec--quotewall .qw-rec__line {
    font-size: 0.88rem;
  }
  .nam-sec--quotewall .qw-wall__head,
  .nam-sec--quotewall .qw-record__head {
    font-size: 1.3rem;
  }
  .nam-sec--quotewall .qw-record__head:not(#nam-x) {
    margin-top: 36px;
  }
}
/* -- reduced motion, print -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .nam-sec--quotewall .qw-tile,
  .nam-sec--quotewall .qw-news,
  .nam-sec--quotewall .qw-arrow,
  .nam-sec--quotewall .qw-tile__img,
  .nam-sec--quotewall .qw-tile__media::after {
    transition: none;
  }
  .nam-sec--quotewall a.qw-tile:hover,
  .nam-sec--quotewall a.qw-tile:hover .qw-arrow,
  .nam-sec--quotewall a.qw-tile:focus-visible .qw-arrow,
  .nam-sec--quotewall a.qw-news:hover .qw-arrow,
  .nam-sec--quotewall a.qw-news:focus-visible .qw-arrow {
    transform: none;
  }
  .nam-sec--quotewall .qw-band--scroll .qw-band__track {
    animation: none;
  }
  .nam-sec--quotewall .qw-tile--wait {
    opacity: 1;
    transform: none;
  }
}
@media print {
  .nam-sec--quotewall .qw-band__pause {
    display: none;
  }
  .nam-sec--quotewall .qw-tile--wait {
    opacity: 1;
    transform: none;
  }
}

/*# sourceMappingURL=quote-wall.css.map */
