/* Styles for the audit changes. Generated by apply_audit.py. */

/* D1 — single-message hero */
.rfd-hero--single { height: 560px; }
.rfd-hero--single::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(90deg,
    rgba(0,0,0,.72) 0%, rgba(0,0,0,.60) 42%, rgba(0,0,0,.34) 72%, rgba(0,0,0,.20) 100%);
}
.rfd-hero--single .rfd-hero__inner { z-index: 2; }
.rfd-hero.rfd-hero--single .rfd-hero__lead {
  font-size: 44px; line-height: 1.22; max-width: 15ch; margin-bottom: 20px;
}
.rfd-hero--single .rfd-hero__detail { max-width: 620px; }
.rfd-hero--single .rfd-hero__detail span {
  background: none; box-shadow: none; font-size: 17.5px; line-height: 30px; font-weight: 300;
}
.rfd-hero__cta { margin: 28px 0 0; }
.rfd-hero__cta a {
  display: inline-block; background: #4cd964; color: #10233d;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px;
  padding: 13px 30px; border-radius: 3px; text-decoration: none;
}
.rfd-hero__cta a:hover { background: #fff; color: #10233d; text-decoration: none; }
.rfd-hero__cta a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 778px) {
  .rfd-hero--single { height: 470px; }
  .rfd-hero.rfd-hero--single .rfd-hero__lead { font-size: 31px; }
}

/* H2 — credibility bar */
.rfd-stats { background: #1b2945; padding: 36px 0; }
.rfd-stats__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 30px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 26px;
}
.rfd-stat { text-align: center; color: #fff; }
.rfd-stat__n {
  display: block; font-family: 'Playfair Display', Georgia, serif;
  font-size: 42px; line-height: 1.1; color: #4cd964;
}
.rfd-stat__l {
  display: block; font-family: 'Poppins', sans-serif; font-size: 13.5px;
  letter-spacing: .04em; opacity: .88; margin-top: 6px;
}

/* L1 — Clients and Partners logo wall.
   A shared-hairline grid rather than detached cards: the 1px gap over a line
   colour lets neighbouring cells share an edge, so the wall reads as one
   register of affiliations, which is what it is. Every logo is pre-sized to a
   constant optical area, so a five-to-one wordmark and a square ministry crest
   carry the same weight without either being stretched. */
.rfd-logos {
  list-style: none;
  margin: 6px 0 58px;
  padding: 0;
  display: grid;
  gap: 1px;
  background: #e2e6ec;
  border: 1px solid #e2e6ec;
}
.rfd-logos--client  { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rfd-logos--partner { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; }

.rfd-logo {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  padding: 34px 20px 26px;
  text-align: center;
}
.rfd-logos--partner .rfd-logo { padding: 44px 26px 30px; }

/* fixed plate height keeps every baseline on the same line across the row,
   whatever shape the logo inside it is */
.rfd-logo__plate {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rfd-logo__plate img {
  display: block; object-fit: contain;
  max-width: 100%; max-height: 100%;
}

.rfd-logo__name {
  font-family: 'Poppins', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .055em;
  text-transform: uppercase;
  color: #5b6577;
  max-width: 24ch;
  text-wrap: balance;
}
.rfd-logos--partner .rfd-logo__name { font-size: 12.5px; color: #1b2945; }

/* the acronym the organisations are actually known by, kept scannable */
.rfd-logo__abbr {
  font-family: 'Poppins', sans-serif;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .09em;
  color: #3db166;
  margin-top: -9px;
}

@media (max-width: 1100px) { .rfd-logos--client { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px)  { .rfd-logos--client { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .rfd-logos--client  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rfd-logos--partner { grid-template-columns: 1fr; max-width: none; }
  .rfd-logo { padding: 26px 14px 18px; gap: 12px; }
  .rfd-logo__plate { height: 62px; }
  .rfd-logo__plate img { width: auto !important; height: auto !important;
                         max-width: 100%; max-height: 62px; }
  .rfd-logo__name { font-size: 10.5px; letter-spacing: .045em; }
}

/* browser surfaces that ship with no design system of their own */
.rfd-logos ::selection { background: #cfe9d8; color: #12351f; }

/* H4 — Tech Forum / podcast.
   The theme sets display:flex on .gdlr-core-pbf-wrapper-container, so that class
   must not sit on the element holding this prose or the heading and first
   paragraph become flex siblings on one line. */
.rfd-podcast { background: #f7f8f9; padding: 68px 0; }
.rfd-podcast .gdlr-core-container { max-width: 1200px; }
.rfd-podcast h2 {
  display: block; width: 100%; clear: both;
  font-family: 'Poppins', sans-serif; font-weight: 700;
  color: #1b2945; font-size: 30px; line-height: 1.25; margin: 0 0 22px;
}
.rfd-podcast p {
  display: block; max-width: 74ch;
  font-size: 16px; line-height: 1.8; color: #47536b; margin: 0 0 18px;
}
.rfd-podcast p:last-child { margin-bottom: 0; }
