/*
 * GER site-wide header — one consistent header on EVERY page.
 * Rendered by the plugin at wp_body_open; this hides the GeneratePress theme
 * header so there's never a double header. Classes are gsh-* (GER site header)
 * to avoid any collision with theme/homepage styles. Self-contained (literal
 * colors) so it needs no other stylesheet.
 */
#masthead, .site-header { display: none !important; }   /* hide the theme header everywhere */
.site-footer { display: none !important; }               /* hide the theme footer (replaced by .gsf) */

.gsh-nav{background:#0a1e3f;color:#fff;position:relative;z-index:50;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.gsh-in{width:min(100% - 48px,1280px);margin:0 auto;display:flex;align-items:center;gap:16px;min-height:64px}
.gsh-logo{height:30px;width:auto;display:block}
.gsh-logohome{display:inline-flex;align-items:center;flex:0 0 auto}
.gsh-links{display:none;gap:24px;margin-left:14px;flex:1}
.gsh-links a{color:#cdd8e6;font-size:14.5px;font-weight:500;display:inline-flex;align-items:center;gap:4px;text-decoration:none}
.gsh-links a:hover,.gsh-links a:focus-visible{color:#fff}
.gsh-caret{font-size:9px;opacity:.7}

/* Resources dropdown (desktop hover / keyboard focus) */
.gsh-dd{position:relative;display:inline-flex;align-items:center}
.gsh-dd>a{display:inline-flex;align-items:center;gap:4px}
.gsh-dd::after{content:"";position:absolute;top:100%;left:0;right:0;height:12px} /* hover bridge over the gap */
.gsh-dd-menu{position:absolute;top:calc(100% + 8px);left:0;min-width:210px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 12px 30px rgba(10,30,63,.16);padding:6px;display:flex;flex-direction:column;opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .15s,transform .15s;z-index:60}
.gsh-dd:hover .gsh-dd-menu,.gsh-dd:focus-within .gsh-dd-menu{opacity:1;visibility:visible;transform:translateY(0)}
.gsh-dd-menu a{color:#0a1e3f;font-size:14.5px;font-weight:500;padding:9px 12px;border-radius:7px}
.gsh-dd-menu a:hover{background:#eef4fb;color:#0a1e3f}

.gsh-right{display:flex;align-items:center;gap:14px;margin-left:auto}
.gsh-burger{display:inline-flex;background:transparent;border:none;color:#fff;cursor:pointer;padding:6px;border-radius:6px}
.gsh-burger svg{width:24px;height:24px;stroke:currentColor;fill:none}

/* Desktop: show the row, hide the hamburger */
@media(min-width:900px){
  .gsh-links{display:flex}
  .gsh-burger{display:none}
}
/* Mobile: hamburger opens a stacked panel */
@media(max-width:899px){
  .gsh-links{position:absolute;top:100%;left:0;right:0;flex-direction:column;background:#0a1e3f;padding:8px 24px 18px;gap:0;border-top:1px solid rgba(255,255,255,.12);box-shadow:0 16px 25px rgba(0,16,50,.22);z-index:60}
  .gsh-links.gsh-open{display:flex}
  .gsh-links>a{padding:12px 0;border-bottom:1px solid rgba(255,255,255,.08)}
  .gsh-dd{display:block;align-items:stretch}
  .gsh-dd>a{padding:12px 0;border-bottom:1px solid rgba(255,255,255,.08)}
  .gsh-dd::after{display:none}
  .gsh-dd-menu{position:static;opacity:1;visibility:visible;transform:none;background:rgba(255,255,255,.05);border:none;box-shadow:none;border-radius:6px;margin:4px 0 8px;padding:2px 6px}
  .gsh-dd-menu a{color:#cdd8e6;padding:10px 8px}
  .gsh-dd-menu a:hover{background:rgba(255,255,255,.08);color:#fff}
}

/* ── Site-wide footer (.gsf) — rendered by the plugin at wp_footer ───────── */
.gsf{background:#0a1e3f;color:#cdd8e6;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}
.gsf-in{width:min(100% - 48px,1200px);margin:0 auto}
.gsf-top{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:32px;padding:46px 0 30px}
.gsf-brand img{height:26px;width:auto;display:block;margin-bottom:14px}
.gsf-brand p{margin:0 0 12px;font-size:14px;line-height:1.55;max-width:340px}
.gsf-brand .gsf-disc{font-size:12.5px;color:#8ea4c0}
.gsf-col h4{color:#fff;font-size:12px;text-transform:uppercase;letter-spacing:.05em;margin:0 0 12px;font-weight:700}
.gsf-col a{display:block;color:#cdd8e6;text-decoration:none;font-size:14px;padding:6px 0}
.gsf-col a:hover{color:#fff}
.gsf-bottom{border-top:1px solid rgba(255,255,255,.12)}
.gsf-bottom-in{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:16px 0;font-size:12.5px;color:#8ea4c0}
.gsf-bottom-in a{color:#8ea4c0;text-decoration:none}
.gsf-bottom-in a:hover{color:#fff}
@media(max-width:768px){
  .gsf-top{grid-template-columns:1fr 1fr;gap:24px 20px;padding:34px 0 22px}
  .gsf-brand{grid-column:1 / -1}
  .gsf-bottom-in{justify-content:flex-start}
}
@media(max-width:480px){ .gsf-top{grid-template-columns:1fr} }

/* ── Prose wrapper for text pages (methodology, privacy, terms) ──────────── */
.ger-prose{max-width:760px;margin:0 auto;padding:8px 0 30px;color:#1f2937;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.65;font-size:16px}
.ger-prose h1{font-size:clamp(28px,4vw,38px);color:#0a1e3f;line-height:1.15;margin:0 0 8px;font-weight:800;letter-spacing:-.02em}
.ger-prose .ger-prose-sub{color:#5b6b7f;font-size:15px;margin:0 0 26px}
.ger-prose h2{font-size:22px;color:#0a1e3f;margin:32px 0 10px;font-weight:700}
.ger-prose p{margin:0 0 14px}
.ger-prose ul{margin:0 0 16px;padding-left:22px}
.ger-prose li{margin:0 0 9px}
.ger-prose a{color:#0078f8;font-weight:600}
.ger-prose strong{color:#0a1e3f}
.ger-prose em{color:#374151}
.ger-prose .ger-note{background:#f5f9fe;border:1px solid #cbdff8;border-radius:8px;padding:15px 18px;font-size:14.5px;color:#4b5563;line-height:1.6;margin:22px 0}
.ger-prose .ger-note strong{color:#0a1e3f}
.ger-prose .ger-updated{color:#5b6b7f;font-size:13px;margin-top:30px;border-top:1px solid #e5e7eb;padding-top:14px}

/* Text pages supply their own <h1> in .ger-prose; hide the theme's duplicate content title on those pages only. */
body:has(.ger-prose) .entry-header{display:none}

/* ── MailerLite signup form ───────────────────────────────────────────────────
 * The plugin renders its own default styling — a square, medium-weight, #E67E22
 * orange button — which is not this site's CTA. Measured 2026-09-11 against the
 * homepage "Start my free search" button: amber #E8A020, near-black label,
 * 8px radius, weight 700. The form editor exposes copy fields only, no colours,
 * so the correction has to live here.
 *
 * Selectors are the ones the plugin actually emits, read off the rendered page —
 * a first draft guessed at `.ml-*` names and would have matched nothing.
 */
.mailerlite-form{text-align:left;margin-top:26px}
.mailerlite-form-title{font-family:var(--fd,inherit);font-size:22px;font-weight:800;
  color:#0a1e3f;margin:0 0 6px}
.mailerlite-form-description{color:#4b5563;font-size:15px;line-height:1.6;margin:0 0 18px}
.mailerlite-form-description p{margin:0}

.mailerlite-form-field input[type="email"]{
  width:100%;max-width:360px;padding:11px 14px;border:1px solid #cbd5e1;border-radius:8px;
  font-family:inherit;font-size:15px;color:#111827;background:#fff;box-sizing:border-box}
.mailerlite-form-field input[type="email"]:focus{
  outline:3px solid #0078f8;outline-offset:2px;border-color:#0078f8}

/* The default template centres the button under a left-aligned field. Align both.
 * `div.` is load-bearing: mailerlite_forms.css ships
 *   .mailerlite-form .mailerlite-subscribe-button-container { text-align:center }
 * which is both more specific (0,2,0 vs 0,1,0) AND enqueued after this file, so the
 * obvious single-class rule loses twice over. Caught on staging 2026-09-11 — it was the
 * one declaration of eighteen that did not take. */
.mailerlite-form div.mailerlite-subscribe-button-container{text-align:left;margin-top:14px}
button.mailerlite-subscribe-submit{
  background:#e8a020;color:#1a1204;border:0;border-radius:8px;
  font-family:inherit;font-weight:700;font-size:15px;padding:12px 24px;cursor:pointer;
  transition:background .15s ease}
button.mailerlite-subscribe-submit:hover{background:#c47c10}
button.mailerlite-subscribe-submit:focus-visible{outline:3px solid #0078f8;outline-offset:2px}
