/*
Theme Name: shirequid
Text Domain: shirequid
Description: ShireQuid custom theme.
Version: 2.5
*/

  /* ============================================================
     ShireQuid Design System - Foundations (inlined from styles.css)
     ============================================================ */

  /* ---------- Fonts: self-hosted Inter (variable) ---------- */
  @font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/Inter-VariableFont_opsz_wght.ttf") format("truetype");
  }
  @font-face {
    font-family: "Inter";
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url("fonts/Inter-Italic-VariableFont_opsz_wght.ttf") format("truetype");
  }

  :root {
    /* ============ BRAND CORE ============ */
    --sq-navy: #162647;
    --sq-green: #36B55E;
    --sq-white: #FFFFFF;
    --sq-grey-light: #F5F6FA;

    /* ============ NAVY SCALE ============ */
    --navy-950: #0B1428;
    --navy-900: #0E1B33;
    --navy-800: #162647;
    --navy-700: #243A63;
    --navy-600: #35507F;
    --navy-500: #4F6B9C;
    --navy-400: #7C93B8;
    --navy-300: #AAB8D1;
    --navy-200: #D2DAE8;
    --navy-100: #E9EEF4;
    --navy-50:  #F4F7FB;

    /* ============ GREEN SCALE ============ */
    --green-800: #155C2D;
    --green-700: #1F7D3E;
    --green-600: #2A9A4F;
    --green-500: #36B55E;
    --green-400: #5BC77D;
    --green-300: #8ED9A6;
    --green-200: #C2EBCF;
    --green-100: #E4F6EA;
    --green-50:  #F1FAF4;

    /* ============ NEUTRAL (cool grey) ============ */
    --grey-900: #0E1B33;
    --grey-800: #1F2530;
    --grey-700: #333B47;
    --grey-600: #4B5563;
    --grey-500: #6B7585;
    --grey-400: #9AA3B2;
    --grey-300: #C3CAD6;
    --grey-200: #DDE2EA;
    --grey-100: #EDF0F4;
    --grey-50:  #F5F6FA;

    /* ============ SEMANTIC - UI ============ */
    --fg-1: var(--navy-800);
    --fg-2: var(--grey-600);
    --fg-3: var(--grey-500);
    --fg-on-dark: #FFFFFF;
    --fg-on-dark-2: #AAB8D1;

    --bg-page: #FFFFFF;
    --bg-subtle: var(--sq-grey-light);
    --bg-sunken: var(--navy-50);
    --bg-inverse: var(--navy-800);

    --border: var(--grey-200);
    --border-strong: var(--grey-300);
    --border-focus: var(--green-500);

    --action: var(--green-500);
    --action-hover: var(--green-600);
    --action-press: var(--green-700);
    --link: var(--navy-600);
    --link-hover: var(--navy-800);

    /* ============ SEMANTIC - MONEY / STATUS ============ */
    --positive: #2A9A4F;   --positive-bg: #E4F6EA;
    --negative: #D64545;   --negative-bg: #FBE9E9;
    --warning:  #C98410;   --warning-bg:  #FBF1DD;
    --info:     #35507F;   --info-bg:     #E9EEF4;

    /* ============ TYPE ============ */
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --font-mono: "SFMono-Regular", "JetBrains Mono", ui-monospace, "Menlo", "Consolas", monospace;

    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;

    --text-display: 56px;   --lh-display: 1.04;  --ls-display: -0.022em;
    --text-h1: 40px;        --lh-h1: 1.10;       --ls-h1: -0.018em;
    --text-h2: 28px;        --lh-h2: 1.16;       --ls-h2: -0.014em;
    --text-h3: 20px;        --lh-h3: 1.28;       --ls-h3: -0.008em;
    --text-h4: 19px;        --lh-h4: 1.32;       --ls-h4: -0.006em;
    --text-lg: 18px;        --lh-lg: 1.55;
    --text-base: 16px;      --lh-base: 1.6;
    --text-sm: 14px;        --lh-sm: 1.5;
    --text-xs: 13px;        --lh-xs: 1.45;
    --text-overline: 12px;  --ls-overline: 0.08em;

    /* ============ SPACING (4px base) ============ */
    --space-0: 0;
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;
    --space-32: 128px;

    /* ============ RADII ============ */
    --radius-xs: 2px;
    --radius-sm: 3px;
    --radius-md: 4px;
    --radius-lg: 4px;
    --radius-card: 4px;
    --radius-pill: 999px;

    /* ============ SHADOWS ============ */
    --shadow-xs: 0 1px 2px rgba(22, 38, 71, 0.06);
    --shadow-sm: 0 1px 3px rgba(22, 38, 71, 0.08), 0 1px 2px rgba(22, 38, 71, 0.04);
    --shadow-md: 0 4px 12px rgba(22, 38, 71, 0.08), 0 2px 4px rgba(22, 38, 71, 0.04);
    --shadow-lg: 0 12px 28px rgba(22, 38, 71, 0.12), 0 4px 8px rgba(22, 38, 71, 0.05);
    --shadow-focus: 0 0 0 3px rgba(54, 181, 94, 0.30);

    /* ============ MOTION ============ */
    --ease-standard: cubic-bezier(0.2, 0, 0, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --dur-fast: 120ms;
    --dur-base: 200ms;
    --dur-slow: 320ms;

    /* ============ LAYOUT ============ */
    --container-max: 1200px;
    --container-prose: 680px;
  }

  .sq-num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

  /* ============================================================
     PAGE-SPECIFIC STYLES
     ============================================================ */
  * { box-sizing: border-box; }
  body {
    margin: 0;
    padding-top: 68px;
    font-family: var(--font-sans);
    color: var(--fg-1);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
  a { color: inherit; text-decoration: none; }
  ::selection { background: var(--green-200); }
  .wrap { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
  .narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

  /* ---- buttons ---- */
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-family: inherit; font-weight: 600; font-size: 16px; line-height: 1.15; cursor: pointer;
    border: 1.5px solid transparent; border-radius: var(--radius-md); padding: 15px 26px;
    transition: all var(--dur-fast) var(--ease-standard); text-align: center; }
  .btn-primary { background: var(--green-500); color: #fff; }
  .btn-primary:hover { background: var(--green-600); }
  .btn-primary:active { background: var(--green-700); transform: translateY(1px); }
  .btn-lg { font-size: 17px; padding: 17px 30px; }

  /* ---- nav ---- */
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--navy-800);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
  .nav .wrap { display: flex; align-items: center; gap: 22px; height: 68px; }
  .brand { display: flex; align-items: center; gap: 9px; flex: none; }
  .brand img { height: 46px; width: auto; display: block; }
  .brand .wm { font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
  .brand .wm .s { color: #fff; } .brand .wm .q { color: var(--green-400); }
  .nav .spacer { flex: 1; }

  /* menu */
  .menu { display: flex; align-items: center; gap: 2px; }
  .menu > li { list-style: none; position: relative; }
  .menu > li > a { display: inline-flex; align-items: center; gap: 5px; color: #C8D2E4; font-size: 14.5px;
    font-weight: 500; padding: 10px 12px; border-radius: var(--radius-md); cursor: pointer;
    transition: color var(--dur-fast) var(--ease-standard), background var(--dur-fast) var(--ease-standard); }
  .menu > li > a:hover, .menu > li.open > a { color: #fff; background: rgba(255,255,255,.06); }
  .menu > li > a .chev { width: 15px; height: 15px; transition: transform var(--dur-fast) var(--ease-standard); }
  .menu > li.open > a .chev { transform: rotate(180deg); }

  /* dropdown */
  .dropdown { position: absolute; top: calc(100% + 6px); left: 0; min-width: 200px; background: #fff;
    border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-lg);
    padding: 6px; opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity var(--dur-fast) var(--ease-standard), transform var(--dur-fast) var(--ease-standard), visibility var(--dur-fast); }
  .menu > li.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
  .dropdown a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm);
    color: var(--navy-800); font-size: 14px; font-weight: 500; }
  .dropdown a:hover { background: var(--bg-subtle); color: var(--green-700); }
  .dropdown a i { width: 17px; height: 17px; color: var(--grey-400); }
  .dropdown a:hover i { color: var(--green-600); }

  .navcta { background: var(--green-500); color: #fff; padding: 10px 18px; border-radius: var(--radius-md);
    font-weight: 600; font-size: 14.5px; flex: none; white-space: nowrap; transition: background var(--dur-fast) var(--ease-standard); }
  .navcta:hover { background: var(--green-600); }

  /* search */
  .sq-fp-search-wrap { position: relative; }
  .sq-fp-search-form { display: flex; align-items: center; background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15); border-radius: var(--radius-md); overflow: hidden;
    transition: background 120ms, border-color 120ms; }
  .sq-fp-search-form:focus-within { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.3); }
  .sq-fp-search-input { background: transparent; border: none; outline: none; color: #fff;
    font-size: 14px; padding: 8px 12px; width: 170px; font-family: inherit; }
  .sq-fp-search-input::placeholder { color: #8fa3c0; }
  .sq-fp-search-submit { background: none; border: none; color: #8fa3c0; padding: 0 10px;
    cursor: pointer; display: flex; align-items: center; transition: color 120ms; }
  .sq-fp-search-submit:hover { color: #fff; }
  .sq-fp-search-results { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    background: #fff; border: 1px solid #DDE2EA; border-radius: 6px;
    box-shadow: 0 12px 28px rgba(22,38,71,0.14); z-index: 1000; overflow: hidden; min-width: 260px; }
  .sq-fp-search-results.active { display: block; }
  .sq-fp-search-result-item { display: block; padding: 11px 14px; color: #162647; font-size: 14px;
    font-weight: 500; text-decoration: none; border-bottom: 1px solid #F0F2F6; transition: background 100ms, color 100ms; }
  .sq-fp-search-result-item:last-child { border-bottom: none; }
  .sq-fp-search-result-item:hover { background: #F5F6FA; color: #36B55E; }
  .sq-fp-search-result-type { font-size: 11px; font-weight: 600; color: #9aaabb;
    text-transform: uppercase; letter-spacing: 0.05em; margin-left: 8px; }
  .sq-fp-search-no-results, .sq-fp-search-loading { padding: 14px; color: #8295B2; font-size: 14px; text-align: center; }

  /* hamburger */
  .hamburger { display: none; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.18); background: transparent;
    color: #fff; border-radius: var(--radius-md); cursor: pointer; align-items: center; justify-content: center; flex: none; }
  .hamburger:hover { background: rgba(255,255,255,.06); }

  /* mobile panel */
  .mobile-panel { display: none; }
  /* Dynamic compact Home nav: JS adds .nav-compact only when the menu would overflow */
  .nav.nav-compact .menu,
  .nav.nav-compact .navcta.desktop-cta,
  .nav.nav-compact .sq-fp-search-wrap {
    display: none !important;
  }

  .nav.nav-compact .hamburger {
    display: inline-flex !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
  }

  .nav.nav-compact .wrap {
    height: 68px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
  }

  .nav.nav-compact .brand {
    flex-shrink: 0 !important;
  }

  .nav.nav-compact .brand img {
    height: 38px !important;
    width: auto !important;
  }

  .nav.nav-compact .mobile-panel {
    display: block !important;
    position: fixed !important;
    inset: 68px 0 auto 0 !important;
    z-index: 99998 !important;
    background: var(--navy-800) !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height var(--dur-slow) var(--ease-standard) !important;
  }

  .nav.nav-compact .mobile-panel.open {
    max-height: calc(100vh - 68px) !important;
    overflow-y: auto !important;
  }

  .nav.nav-compact .mobile-inner {
    padding: 14px 24px 24px;
  }

  .nav.nav-compact .m-item {
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .nav.nav-compact .m-item > a,
  .nav.nav-compact .m-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 0;
    background: transparent;
    border: 0;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
  }

  .nav.nav-compact .m-toggle .chev {
    width: 18px;
    height: 18px;
    transition: transform var(--dur-fast) var(--ease-standard);
  }

  .nav.nav-compact .m-item.open .m-toggle .chev {
    transform: rotate(180deg);
  }

  .nav.nav-compact .m-sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--dur-base) var(--ease-standard);
  }

  .nav.nav-compact .m-item.open .m-sub {
    max-height: 360px;
  }

  .nav.nav-compact .m-sub a {
    display: block;
    color: #B8C4D9;
    font-size: 15px;
    font-weight: 500;
    padding: 11px 0 11px 16px;
  }

  .nav.nav-compact .m-cta {
    display: block;
    text-align: center;
    background: var(--green-500);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    padding: 15px;
    border-radius: var(--radius-md);
    margin-top: 18px;
  }

  /* ---- shared section heads ---- */
  .ov { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--green-700); margin-bottom: 14px; }
  .ov-dark { color: var(--green-400); }

  /* ---- hero ---- */
  .hero {
    background:
      linear-gradient(to right, rgba(14,27,51,0.92) 40%, rgba(14,27,51,0.55) 100%),
      url('/wp-content/uploads/2026/06/ChatGPT-Image-Jun-16-2026-09_06_40-PM.png') center/cover no-repeat;
    color: #fff;
    padding: 70px 0 90px;
    position: relative;
    overflow: hidden;
  }
  .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
  .hero h1 { font-size: 54px; line-height: 1.04; letter-spacing: -.022em; font-weight: 800; margin: 0; }
  .hero .sub { font-size: 19px; line-height: 1.55; color: #B8C4D9; margin: 20px 0 28px; max-width: 480px; }
  .hero .sublabel { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: #8FA0BC; font-size: 13.5px; }
  .hero .sublabel span { display: inline-flex; align-items: center; gap: 7px; }

  /* ---- signup card (reusable) ---- */
  .signup-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-card); padding: 26px; }
  .signup-card h3 { font-size: 17px; font-weight: 700; color: #fff; margin: 0 0 14px; }
  .signup-form { display: flex; flex-direction: column; gap: 11px; }
  .signup-form input { font-family: inherit; font-size: 16px; padding: 15px 16px; border: 1.5px solid transparent;
    border-radius: var(--radius-md); background: #fff; color: var(--fg-1); outline: none; width: 100%; }
  .signup-form input:focus { box-shadow: var(--shadow-focus); }
  .signup-form .btn { width: 100%; }
  .disclaimer { font-size: 12.5px; color: #8FA0BC; margin-top: 12px; line-height: 1.5; }
  .legalnote { font-size: 12px; color: #7588A6; margin-top: 10px; line-height: 1.55; border-top: 1px solid rgba(255,255,255,.1); padding-top: 12px; }
  .signup-ok { display: none; align-items: center; gap: 10px; background: rgba(54,181,94,.16); color: #8ED9A6;
    font-weight: 600; font-size: 14.5px; padding: 15px 16px; border-radius: var(--radius-md); }
  .signup-error { display: none; background: rgba(220,38,38,.16); color: #FFD0CC; border: 1px solid rgba(248,113,113,.45);
    font-weight: 600; font-size: 14px; line-height: 1.45; padding: 13px 15px; border-radius: var(--radius-md); }

  /* ---- bullets ---- */
  .bullets { padding: 84px 0; }
  .bullet-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
  .bullet { display: flex; gap: 14px; align-items: flex-start; }
  .bullet .bi { width: 40px; height: 40px; flex: none; border-radius: var(--radius-md); background: var(--green-100);
    display: flex; align-items: center; justify-content: center; }
  .bullet p { margin: 0; font-size: 19px; font-weight: 600; color: var(--navy-800); line-height: 1.4; letter-spacing: -.01em; }
  .bullet .small { font-size: 14.5px; font-weight: 400; color: var(--grey-600); margin-top: 5px; }

  /* ---- pain points ---- */
  .pain { background: var(--bg-subtle); padding: 84px 0; }
  .pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .pain-card { background: var(--navy-800); color: #fff; border-radius: var(--radius-card); padding: 30px 26px; }
  .pain-card .pi { width: 48px; height: 48px; border-radius: var(--radius-md); background: transparent;
    display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
  .pain-card p { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; }

  /* ---- tagline ---- */
  .tagline { padding: 70px 24px; text-align: center; }
  .tagline h2 { font-size: 40px; font-weight: 800; letter-spacing: -.02em; color: var(--navy-800); margin: 0; }
  .tagline h2 .g { color: var(--green-600); }

  /* ---- steps ---- */
  .steps { padding: 0 0 84px; }
  .sec-head { text-align: center; max-width: 600px; margin: 0 auto 48px; }
  .sec-head h2 { font-size: 36px; font-weight: 800; letter-spacing: -.02em; color: var(--navy-800); margin: 0; }
  .steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .step-card { background: var(--green-500); color: #fff; border-radius: var(--radius-card); padding: 30px 26px; position: relative; overflow: hidden; }
  .step-card .num { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.8); }
  .step-card h3 { font-size: 21px; font-weight: 700; line-height: 1.3; margin: 12px 0 0; letter-spacing: -.01em; }
  .step-card .si { position: absolute; right: -8px; bottom: -8px; opacity: .16; }

  /* ---- author bio ---- */
  .author { padding: 84px 0; }
  .author-inner { max-width: 820px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; }
  .author .avatar { width: 168px; height: 168px; border-radius: var(--radius-card); background: var(--navy-100);
    flex: none; overflow: hidden; }
  .author .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .author blockquote { margin: 0; font-size: 23px; line-height: 1.5; font-style: italic; color: var(--navy-800); letter-spacing: -.01em; }
  .author .by { margin-top: 18px; font-style: normal; }
  .author .by b { font-size: 16px; color: var(--navy-800); }
  .author .by span { font-size: 14.5px; color: var(--grey-600); }

  /* ---- cta2 ---- */
  .cta2 { background: var(--navy-800); color: #fff; padding: 80px 0; }
  .cta2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .cta2 h2 { font-size: 40px; font-weight: 800; letter-spacing: -.02em; margin: 0; }
  .cta2 .sub { font-size: 19px; color: #B8C4D9; margin: 16px 0 0; }

  /* ---- footer ---- */
  .footer { background: var(--navy-900); color: #AAB8D1; padding: 52px 0 30px; }
  .footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
  .footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
  .footer-links a { font-size: 14px; color: #C8D2E4; }
  .footer-links a:hover { color: #fff; }
  .footer-legal { border-top: 1px solid var(--navy-700); margin-top: 28px; padding-top: 22px; font-size: 12.5px; line-height: 1.65; color: #8295B2; max-width: 820px; }

  @media (max-width: 880px) {
    .hero-grid, .cta2-grid { grid-template-columns: 1fr; }
    .bullet-grid, .pain-grid, .steps-grid { grid-template-columns: 1fr; }
    .author-inner { grid-template-columns: 1fr; text-align: center; }
    .author .avatar { margin: 0 auto; }
    .hero h1 { font-size: 40px; }
  }
/* FIX: keep Home page top menu visible while scrolling */
body.sq-front-page {
    padding-top: 68px !important;
}

body.sq-front-page .nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
    width: 100% !important;
}

body.sq-front-page .mobile-panel {
    position: fixed !important;
    top: 68px !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99998 !important;
}


  .sq-fx-bar{background:#0e1b33;border-bottom:1px solid rgba(54,181,94,.18);padding:7px 0;font-size:12.5px;color:#b8c4d9;overflow:hidden}
  .sq-fx-inner{display:flex;align-items:center;gap:16px;max-width:1200px;margin:0 auto;padding:0 20px;flex-wrap:wrap}
  .sq-fx-label{font-weight:700;color:#36B55E;letter-spacing:.06em;font-size:11px;text-transform:uppercase;white-space:nowrap}
  .sq-fx-rates{display:flex;gap:0;flex-wrap:wrap;flex:1}
  .sq-fx-item{display:inline-flex;align-items:center;gap:5px;padding:0 14px 0 0;margin:2px 0;white-space:nowrap}
  .sq-fx-item:not(:last-child){border-right:1px solid rgba(255,255,255,.1);margin-right:14px}
  .sq-fx-currency{color:#8fa0bc;font-size:11px;text-transform:uppercase;font-weight:600}
  .sq-fx-rate{color:#fff;font-weight:600;font-size:13px}
  .sq-fx-source{font-size:10.5px;color:#4f6b9c;white-space:nowrap;margin-left:auto}
  @media(max-width:600px){.sq-fx-source{display:none}.sq-fx-inner{gap:10px}}
  


/* SQ NAV COMPATIBILITY FIX - 2026-08-03 */
.sq-header {
  position: sticky;
  top: 0;
  z-index: 99999;
  width: 100%;
  background: #162647;
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 4px 18px rgba(8,20,43,.12);
}
.sq-header-inner {
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.sq-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.sq-logo img { display: block; width: auto; height: 38px; max-width: 180px; }
.sq-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.sq-menu > li { position: relative; margin: 0; padding: 0; list-style: none; }
.sq-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 11px;
  border-radius: 8px;
  color: #c8d2e4;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color .16s ease, background .16s ease;
}
.sq-menu > li > a:hover,
.sq-menu > li > a:focus,
.sq-menu > li.open > a { color: #fff; background: rgba(255,255,255,.08); outline: none; }
.sq-menu .chev { transition: transform .16s ease; }
.sq-menu > li.open > a .chev { transform: rotate(180deg); }
.sq-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 100001;
  min-width: 210px;
  padding: 6px;
  background: #fff;
  border: 1px solid #d5deeb;
  border-radius: 10px;
  box-shadow: 0 16px 38px rgba(8,20,43,.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.sq-menu > li.open .sq-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.sq-menu > li:last-child .sq-dropdown { left: auto; right: 0; }
.sq-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  color: #162647;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}
.sq-dropdown a:hover,
.sq-dropdown a:focus { color: #237a42; background: #f2f7f4; outline: none; }
.sq-search-wrap { position: relative; margin-left: auto; flex: 0 1 210px; }
.sq-search-form {
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d5deeb;
  border-radius: 8px;
}
.sq-search-input {
  width: 100%;
  min-width: 0;
  padding: 9px 10px;
  border: 0;
  outline: 0;
  color: #162647;
  background: transparent;
  font: inherit;
}
.sq-search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 10px;
  border: 0;
  color: #237a42;
  background: transparent;
  cursor: pointer;
}
.sq-search-results {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 100002;
  display: none;
  width: min(360px, 90vw);
  padding: 6px;
  background: #fff;
  border: 1px solid #d5deeb;
  border-radius: 10px;
  box-shadow: 0 16px 38px rgba(8,20,43,.18);
}
.sq-search-results.active { display: block; }
.sq-search-result-item { display: block; padding: 10px 12px; color: #162647; text-decoration: none; }
.sq-search-result-type { display: block; margin-top: 2px; color: #71819b; font-size: 12px; }
.sq-search-loading,
.sq-search-no-results { padding: 10px 12px; color: #71819b; }
.sq-header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 10px 15px;
  border-radius: 8px;
  color: #fff;
  background: #36b55e;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.sq-header-button:hover,
.sq-header-button:focus { color: #fff; background: #2d9b50; }
@media (max-width: 1080px) {
  .sq-header-inner { gap: 10px; }
  .sq-menu > li > a { padding-left: 8px; padding-right: 8px; font-size: 13px; }
  .sq-search-wrap { display: none; }
}
@media (max-width: 820px) {
  .sq-header-inner { width: calc(100% - 24px); min-height: auto; padding: 8px 0 10px; flex-wrap: wrap; justify-content: center; }
  .sq-logo { width: 100%; justify-content: center; }
  .sq-logo img { height: 34px; }
  .sq-menu { order: 2; width: 100%; justify-content: center; flex-wrap: wrap; }
  .sq-menu > li > a { padding: 7px 7px; font-size: 12.5px; }
  .sq-header-button { display: none; }
  .sq-dropdown { top: calc(100% + 3px); }
}
/* END SQ NAV COMPATIBILITY FIX */


/* SQ ARCHIVE LAYOUT FIX - 2026-08-03 */
body:not(.sq-front-page) { overflow-x: hidden; }
body:not(.sq-front-page) .sq-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
}
body.admin-bar:not(.sq-front-page) .sq-header { top: 32px !important; }
.sq-blog-page { background: #f6f8fb; }
.sq-blog-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 24px !important;
  background-color: #162647 !important;
  color: #fff !important;
}
.sq-blog-hero .sq-blog-container {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%) !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}
.sq-blog-hero .sq-blog-kicker {
  margin: 0 0 10px !important;
  color: #57d47c !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}
.sq-blog-hero h1 {
  max-width: 680px;
  margin: 0 0 14px !important;
  color: #fff !important;
  font-size: clamp(36px, 5vw, 56px) !important;
  line-height: 1.05 !important;
}
.sq-blog-hero .sq-blog-container > p:last-child {
  max-width: 620px;
  margin: 0 !important;
  color: #c8d2e4 !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
}
.sq-blog-list-section { padding: 56px 24px 80px !important; }
.sq-blog-list-section > .sq-blog-container {
  width: min(1120px, 100%) !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}
.sq-blog-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 30px !important;
  align-items: stretch !important;
}
.sq-blog-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  height: auto !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid #dfe6ef !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 28px rgba(8,20,43,.08) !important;
}
.sq-blog-card:only-child { max-width: 560px !important; }
.sq-blog-card-image {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 230px !important;
  min-height: 230px !important;
  overflow: hidden !important;
  background: #eaf0f6 !important;
}
.sq-blog-card-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
}
.sq-blog-card-content {
  position: static !important;
  z-index: auto !important;
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  width: auto !important;
  height: auto !important;
  padding: 24px !important;
  background: #fff !important;
  color: #162647 !important;
}
.sq-blog-date {
  margin: 0 0 10px !important;
  color: #2d9b50 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: .06em !important;
}
.sq-blog-card h2 {
  margin: 0 0 12px !important;
  font-size: 23px !important;
  line-height: 1.25 !important;
}
.sq-blog-card h2 a { color: #162647 !important; text-decoration: none !important; }
.sq-blog-card h2 a:hover { color: #237a42 !important; }
.sq-blog-excerpt {
  margin: 0 0 20px !important;
  color: #52627b !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}
.sq-blog-read-more {
  display: inline-flex !important;
  align-items: center !important;
  align-self: flex-start !important;
  margin-top: auto !important;
  padding: 9px 14px !important;
  border-radius: 8px !important;
  background: #eaf7ee !important;
  color: #237a42 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}
.sq-blog-read-more:hover { background: #d9f0e0 !important; }
@media (max-width: 782px) {
  body.admin-bar:not(.sq-front-page) .sq-header { top: 46px !important; }
}
@media (max-width: 760px) {
  .sq-blog-hero { padding: 52px 18px !important; }
  .sq-blog-list-section { padding: 36px 18px 60px !important; }
  .sq-blog-grid { grid-template-columns: 1fr !important; gap: 22px !important; }
  .sq-blog-card:only-child { max-width: none !important; }
  .sq-blog-card-image { height: 210px !important; min-height: 210px !important; }
  .sq-blog-card-content { padding: 20px !important; }
  .sq-blog-card h2 { font-size: 21px !important; }
}
/* END SQ ARCHIVE LAYOUT FIX */
