/* ==========================================================================
   BER assessor sites: brand theme, loaded after styles.css on every BER page
   (niches/ber-assessors.json "themeStylesheet"). Matches the original BER sites:
   white header with a black logo, green buttons, all-white footer logo.
   The button green is a slightly deeper shade of the original sites' #61CE70, so white
   button text is readable (3.5:1 instead of 2:1). The lighter #61CE70 stays as an accent.
   ========================================================================== */

:root {
  /* Dark sections, links and accents: deep green instead of navy */
  --c-navy-900: #0b2219;
  --c-navy-800: #103225;
  --c-navy-700: #1b4a37;
  --c-steel-600: #2e6a4e;
  --c-steel-700: #24563f;
  --c-steel-50: #e4f1e9;
  --c-steel-300: #a6d4b7;
  --c-sky-300: #8ee3a9;
  --c-heading: #103225;
  --hero-shade: 11, 34, 25;

  /* Buttons ("CTA" colour): the BER brand green from the original sites */
  --ber-green: #2e9e44;       /* buttons, quote form header (white text 3.5:1) */
  --ber-green-dark: #26853a;  /* hover / tap */
  --ber-green-light: #61ce70; /* the original sites' green: decorative accents only */
  --c-orange-600: var(--ber-green);
  --c-orange-700: var(--ber-green-dark);
}

/* Buttons: green glow instead of the orange one */
.btn--cta { box-shadow: 0 10px 24px -10px rgba(46, 158, 68, .6); }
.hero__ctas .btn.btn--cta.btn--xl { box-shadow: 0 8px 20px rgba(46, 158, 68, .35); }
.quote-form .btn.btn--cta[type="submit"] { box-shadow: 0 4px 12px rgba(46, 158, 68, .25); }
.swoosh {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9c40-6 110-8 196-3' fill='none' stroke='%2361ce70' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Quote form header: green banner, as on the original sites */
.quote-card__head { background: var(--ber-green); }
.quote-card__head::after { border-top-color: var(--ber-green); }
.quote-card__sub .icon { color: #fff; }

/* White header with a black logo and black menu */
.site-header { background: #fff; border-bottom: 1px solid var(--c-line); }
.site-header .logo--light, .site-header .logo--light:hover { color: #000; }
.site-header .logo--light .logo__place { color: #000; }
.site-header :focus-visible { outline-color: var(--c-steel-600); }
.nav-toggle { border-color: rgba(0, 0, 0, .2); }
.nav-toggle__bar { background: #000; }
@media (min-width: 1024px) {
  .main-nav__list > li > a { color: #000; }
  .main-nav__list > li > a:hover { background: var(--c-steel-50); color: #000; }
  .main-nav__list > li > a[aria-current="page"] { background: var(--c-steel-50); color: #000; }
  .dropdown-toggle { color: #000; }
}

/* Footer logo: all white */
.site-footer .logo--light .logo__place { color: #fff; }

/* Headings and logo in Poppins, like the original sites (body text stays in the main font) */
h1, h2, h3, h4, .logo__text, .quote-card__title, .cta-band h2 { font-family: "Poppins", var(--font); letter-spacing: -.01em; }
h2 { font-weight: 800; -webkit-text-stroke: 0; }
h3 { font-weight: 600; }
.prose h2:not(.block-title), .feature__text h2 { font-weight: 600; }
.hero__title, .page-head__title { font-weight: 700; line-height: 1.12; }

/* H1 sizes: the home page headline is large (80px on wide screens, like the original); other pages a step down */
.hero__title { font-size: clamp(2.4rem, 1.5rem + 4vw, 3rem); }
.hero__title--xl { font-size: clamp(2.9rem, 1.6rem + 6vw, 3.4rem); line-height: 1.08; }
@media (min-width: 640px) { .hero__title--xl { font-size: clamp(3.4rem, 1.4rem + 5vw, 4.25rem); } }
@media (min-width: 960px) {
  .hero__title { font-size: clamp(2.6rem, 1.1rem + 2.6vw, 3.2rem); }
  .hero__title--xl { font-size: clamp(3.6rem, 0.5rem + 5.2vw, 5rem); }
}

/* Logo: heavy "BER" + regular "ASSESSORS", tight spacing; county in lighter capitals between lines */
.logo__name { font-weight: 400; letter-spacing: 0; padding-left: 0; }
.logo__name b { font-weight: 800; }
.logo__place { font-weight: 500; letter-spacing: .14em; }
