/* SEMhappens sites — brand layer on top of the shared template base.
   Loaded on every page: navigation, footer, breadcrumbs and (on hub pages) hero + cards. */

/* Commissioner (SIL Open Font License), self-hosted variable font */
@font-face {
  font-family: 'Commissioner'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/commissioner-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Commissioner'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/commissioner-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Commissioner'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/commissioner-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --sh-primary: #2563A8;
  --sh-navy: #0F2D5C;
  --sh-teal: #2563a8;
  --sh-orange: #F2A65A;
  --sh-orange-dark: #e08e3c;
  --sh-sand: #A8C1E0;
  --sh-bg: #F2F6FB;
  --sh-text: #1F2937;
  --sh-soft: #4B5563;
  --sh-rule: #DCE3EE;
  --sh-nav-h: 72px;
  --sh-font: 'Commissioner', system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Skip link ---------- */
.sh-skip { position: absolute; left: 8px; top: -60px; z-index: 2000; background: var(--sh-orange); color: var(--sh-navy); font: 600 14px var(--sh-font); padding: 10px 18px; border-radius: 0 0 6px 6px; text-decoration: none; }
.sh-skip:focus { top: 0; }

/* ---------- Fixed navigation (same markup on every page) ---------- */
.sh-nav, .sh-nav * , .sh-footer, .sh-footer *, .sh-crumb, .sh-crumb * { box-sizing: border-box; }
.sh-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; background: #fff; border-bottom: 1px solid var(--sh-rule); font-family: var(--sh-font); transition: box-shadow .3s; }
.sh-nav.scrolled { box-shadow: 0 4px 30px -8px rgba(15,45,92, .18); }
.sh-nav-inner { max-width: 1200px; height: var(--sh-nav-h); margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sh-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.sh-brand img { display: block; height: 30px; width: auto; max-width: 100%; }
.sh-menu { display: flex; align-items: center; }
.sh-menu ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.sh-menu li { margin: 0; padding: 0; }
.sh-menu ul a { display: block; padding: 10px 14px; color: var(--sh-text); font: 600 15px/1.3 var(--sh-font); text-decoration: none; border-bottom: 2px solid transparent; transition: color .2s; }
.sh-menu ul a:hover { color: var(--sh-primary); text-decoration: none; }
.sh-menu ul a.active { color: var(--sh-primary); border-bottom-color: var(--sh-orange); }
.sh-menu .sh-cta { margin-left: 14px; padding: 10px 24px; border-radius: 30px; background: var(--sh-orange); color: var(--sh-navy); font: 700 14px/1.3 var(--sh-font); text-decoration: none; white-space: nowrap; transition: background .2s; }
.sh-menu .sh-cta:hover { background: var(--sh-orange-dark); color: var(--sh-navy); text-decoration: none; }
.sh-nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--sh-rule); border-radius: 8px; background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.sh-nav .sh-nav-toggle, .sh-nav .sh-nav-toggle:hover, .sh-nav .sh-nav-toggle:focus { background: #fff; color: var(--sh-navy); padding: 0; margin: 0; border: 1px solid var(--sh-rule); border-radius: 8px; }
.sh-nav .sh-nav-toggle:focus-visible { outline: 3px solid var(--sh-orange); outline-offset: 2px; }
.sh-nav-toggle span { display: block; width: 20px; height: 2px; background: var(--sh-navy); border-radius: 2px; }

@media (max-width: 991px) {
  .sh-nav-toggle { display: inline-flex; }
  .sh-menu { display: none; position: absolute; top: var(--sh-nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 6px 20px 20px; background: #fff; border-bottom: 1px solid var(--sh-rule); box-shadow: 0 18px 30px -12px rgba(15,45,92, .18); }
  .sh-menu.open { display: flex; }
  .sh-menu ul { flex-direction: column; align-items: stretch; gap: 0; }
  .sh-menu ul a { padding: 14px 0; border-bottom: 1px solid var(--sh-rule); }
  .sh-menu ul a.active { border-bottom-color: var(--sh-orange); }
  .sh-menu .sh-cta { margin: 16px 0 0; text-align: center; }
}
@media (max-width: 400px) { .sh-brand img { height: 26px; } .sh-nav-inner { padding: 0 14px; } }

/* ---------- Breadcrumb strip (content pages) ---------- */
.sh-crumb { max-width: 1200px; margin: 0 auto; padding: 14px 20px 0; font: 500 13px/1.4 var(--sh-font); color: var(--sh-soft); }
.sh-crumb ol { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.sh-crumb li { margin: 0; }
.sh-crumb li + li::before { content: "/"; margin: 0 8px; opacity: .6; }
.sh-crumb a { color: var(--sh-primary); font-weight: 600; text-decoration: none; }
.sh-crumb a:hover { text-decoration: underline; }
.sh-crumb [aria-current] { color: var(--sh-navy); font-weight: 600; }

/* ---------- Footer ---------- */
.sh-footer { background: var(--sh-navy); color: #c9d6ea; padding: 54px 20px 44px; text-align: center; font-family: var(--sh-font); }
.sh-footer ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 4px; margin: 0; padding: 0; list-style: none; }
.sh-footer li { margin: 0; padding: 0 12px; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.sh-footer a { color: #fff; text-decoration: none; }
.sh-footer a:hover { color: var(--sh-orange); text-decoration: none; opacity: 1; }
.sh-footer .sh-footer-contact { margin-top: 22px; font-size: 15px; color: #c9d6ea; }
.sh-footer .sh-footer-copy { margin-top: 18px; font-size: 13px; letter-spacing: .5px; color: #8fa6c8; }
.sh-footer--doc { margin-top: 56px; }

/* ---------- Content pages: leave room for the fixed bar ---------- */
body.sh-doc { padding-top: var(--sh-nav-h); }
body.sh-doc img, body.sh-doc svg, body.sh-doc video { max-width: 100%; }

/* ---------- Hub pages ---------- */
body.sh-site { margin: 0; padding-top: var(--sh-nav-h); background: var(--sh-bg); color: var(--sh-text); font-family: var(--sh-font); -webkit-font-smoothing: antialiased; }
body.sh-site main { display: block; }

.sh-hero { padding: 64px 0 52px; text-align: center; background: radial-gradient(circle at 50% 0, rgba(37,99,168, .08), transparent 34rem), var(--sh-bg); }
.sh-hero .crumbs ol { justify-content: center; margin-bottom: 18px; }
.sh-hero .crumbs a { color: var(--sh-primary); opacity: 1; font-weight: 600; }
.sh-hero .crumbs li[aria-current] { color: var(--sh-navy); }
.sh-eyebrow { margin: 0 auto 18px; color: var(--sh-navy); font-size: clamp(13px, 1.5vw, 16px); line-height: 1.5; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sh-hero h1 { margin: 0; color: var(--sh-teal); font-size: clamp(36px, 6.4vw, 62px); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; text-transform: uppercase; overflow-wrap: anywhere; }
.sh-hero h2 { max-width: 780px; margin: 22px auto 0; color: var(--sh-navy); font-size: clamp(21px, 3vw, 32px); line-height: 1.25; font-weight: 600; letter-spacing: -.02em; }
.sh-hero .sh-lead { max-width: 700px; margin: 16px auto 0; color: var(--sh-soft); font-size: 18px; line-height: 1.7; }
.sh-rule { width: 92px; height: 3px; margin: 34px auto 0; background: var(--sh-sand); border-radius: 2px; }

.sh-section { padding: 36px 0 84px; }
.sh-section-title { margin: 0 0 30px; text-align: center; color: var(--sh-navy); font-size: 28px; line-height: 1.25; font-weight: 700; letter-spacing: -.02em; }

.sh-card { display: flex; flex-direction: column; height: 100%; min-height: 230px; padding: 30px 28px 26px; background: #fff; border: 1px solid var(--sh-rule); border-top: 3px solid var(--sh-teal); border-radius: 8px; box-shadow: 0 10px 30px rgba(15,45,92, .045); color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.sh-card:hover { transform: translateY(-3px); box-shadow: 0 15px 38px rgba(15,45,92, .09); border-color: rgba(37,99,168, .3); color: inherit; opacity: 1; }
.sh-card:focus-visible { outline: 3px solid var(--sh-orange); outline-offset: 3px; }
.sh-grid > div:nth-child(4n+2) .sh-card { border-top-color: var(--sh-primary); }
.sh-grid > div:nth-child(4n+3) .sh-card { border-top-color: var(--sh-orange); }
.sh-grid > div:nth-child(4n+4) .sh-card { border-top-color: var(--sh-sand); }
.sh-num { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 18px; border-radius: 50%; background: var(--sh-navy); color: #fff; font-size: 14px; font-weight: 700; }
.sh-grid > div:nth-child(4n+2) .sh-num { background: var(--sh-primary); }
.sh-grid > div:nth-child(4n+3) .sh-num { background: var(--sh-orange); color: var(--sh-navy); }
.sh-grid > div:nth-child(4n+4) .sh-num { background: var(--sh-sand); color: var(--sh-navy); }
.sh-card h3 { margin: 0; color: var(--sh-navy); font-size: 21px; line-height: 1.3; font-weight: 700; letter-spacing: -.015em; }
.sh-card p { margin: 12px 0 0; color: var(--sh-soft); font-size: 15px; line-height: 1.65; }
.sh-tag { align-self: flex-start; margin-top: 14px; padding: 3px 10px; border-radius: 4px; background: rgba(168,193,224, .35); color: var(--sh-navy); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.sh-more { display: flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 22px; color: var(--sh-teal); font-size: 14px; font-weight: 700; }
.sh-more i { transition: transform .2s; }
.sh-card:hover .sh-more i { transform: translateX(4px); }
.sh-back { margin-top: 34px; text-align: center; }
.sh-back a { color: var(--sh-primary); font-weight: 700; text-decoration: none; }
.sh-back a:hover { text-decoration: underline; }

@media (max-width: 767px) {
  .sh-hero { padding: 44px 0 40px; }
  .sh-hero .sh-lead { font-size: 16px; }
  .sh-section { padding: 24px 0 56px; }
  .sh-section-title { font-size: 24px; margin-bottom: 22px; }
  .sh-card { min-height: 0; padding: 24px 22px 22px; }
  .sh-card h3 { font-size: 19px; }
  .sh-footer { padding: 42px 16px 36px; }
}
@media (prefers-reduced-motion: reduce) { .sh-card, .sh-more i, .sh-nav { transition: none; } }

/* ---------- Print: documents print without the site chrome ---------- */
@media print {
  .sh-nav, .sh-crumb, .sh-footer, .sh-skip { display: none !important; }
  body.sh-doc, body.sh-site { padding-top: 0 !important; }
}

/* ---------- Footer v2 (2026-10): logo to the main site, contact, cross button, legal links ---------- */
.sh-footer { background: var(--sh-navy); color: #c9d6ea; padding: 40px 20px 0; text-align: left; font-family: var(--sh-font); }
.sh-ft-in { max-width: 1200px; margin: 0 auto; }
.sh-ft-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding-bottom: 28px; }
.sh-ft-logo { display: inline-flex; border-radius: 6px; }
.sh-ft-logo img { display: block; height: 30px; width: auto; }
.sh-ft-contact { font-size: 15px; color: #fff; }
.sh-footer a { color: #fff; text-decoration: none; }
.sh-footer a:hover { color: var(--sh-orange); text-decoration: none; }
.sh-footer .sh-ft-btn { display: inline-block; padding: 10px 24px; border-radius: 30px; background: var(--sh-orange); color: var(--sh-navy); font: 700 15px/1.3 var(--sh-font); white-space: nowrap; }
.sh-footer .sh-ft-btn:hover { background: var(--sh-orange-dark); color: var(--sh-navy); }
.sh-ft-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding: 16px 0 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; color: #c9d6ea; }
.sh-ft-bot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.sh-ft-bot a { color: rgba(255,255,255,.85); }
.sh-footer a:focus-visible { outline: 2px solid var(--sh-orange); outline-offset: 3px; }
@media (max-width: 640px) { .sh-ft-top { flex-direction: column; align-items: flex-start; } .sh-ft-bot { flex-direction: column; } }
/* ---------- Offers home: how offers work, empty segment state ---------- */
.sh-how { padding-top: 0; }
.sh-point { height: 100%; padding: 24px 24px 20px; background: #fff; border: 1px solid var(--sh-rule); border-radius: 12px; }
.sh-point h3 { margin: 0 0 8px; color: var(--sh-navy); font-size: 19px; font-weight: 700; }
.sh-point p { margin: 0; color: var(--sh-soft); font-size: 15px; line-height: 1.65; }
.sh-note { margin: 26px 0 0; text-align: center; color: var(--sh-soft); font-size: 15px; }
.sh-empty { max-width: 680px; margin: 0 auto; padding: 36px 30px; text-align: center; background: #fff; border: 1px solid var(--sh-rule); border-top: 3px solid var(--sh-orange); border-radius: 12px; }
.sh-empty h2 { margin: 0 0 10px; color: var(--sh-navy); font-size: 24px; font-weight: 700; }
.sh-empty p { margin: 0 0 22px; color: var(--sh-soft); font-size: 16px; line-height: 1.7; }