/* EuropeFirst.eu — European blue, gold stars, lots of air. System fonts only (no third-party requests). */
:root {
  --navy: #001a4d; --navy-2: #002266; --eu: #003399; --blue: #0b4fd1; --blue-2: #2f6fe8; --sky: #9fbaf0; --sky-2: #dbe6fb;
  --gold: #FFCC00; --gold-2: #f2b900; --ink: #0b1f4d; --slate: #4a5d85; --muted: #6b7da3; --line: #dde5f3; --bg: #f4f7fd; --white: #fff;
  --ok: #0f8a5f; --warn: #b26a00; --danger: #c62f3d;
  --grad: linear-gradient(135deg, #001a4d 0%, #003399 48%, #0b5fd8 100%);
  --grad-soft: linear-gradient(180deg, #f4f7fd 0%, #e8effb 100%);
  --radius: 16px; --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 32, 96, .10), 0 2px 6px rgba(0, 32, 96, .06);
  --shadow-lg: 0 24px 60px rgba(0, 26, 77, .22);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--eu); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; }
h2 { font-size: clamp(22px, 2.6vw, 32px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 750; }
p { margin: 0 0 1em; }
mark { background: linear-gradient(transparent 58%, rgba(255, 204, 0, .55) 58%); color: inherit; padding: 0 .08em; font-weight: 750; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mono { font-family: var(--mono); font-size: 13px; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; }
.ic { width: 20px; height: 20px; flex: none; }
.ic-sm { width: 16px; height: 16px; }
.ic-xs { width: 12px; height: 12px; }
.inline { display: inline; margin: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font: inherit; font-weight: 750; font-size: 15px; line-height: 1.1; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-sm { padding: 8px 13px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 16px 26px; font-size: 17px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(0, 51, 153, .28); }
.btn-primary:hover { color: #fff; box-shadow: 0 10px 24px rgba(0, 51, 153, .36); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 6px 18px rgba(242, 185, 0, .35); }
.btn-gold:hover { background: var(--bg); color: var(--navy); }   /* like the header button: light background, the gold glow stays (2026-11-07) */
.btn-ghost { background: #fff; color: var(--eu); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--sky); background: #f7faff; }
.btn-outline-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .16); color: #fff; }
/* the Like button: the heart fills in gold once liked; the figure is how many like it */
.like-form { display: inline; }
.btn-like svg { transition: transform .15s ease, fill .15s ease; }
.btn-like:hover svg { transform: scale(1.12); }
.btn-like.is-on svg { fill: var(--gold); color: var(--gold); }
.btn-like em { font-style: normal; font-weight: 700; opacity: .75; }
.btn-like em[hidden] { display: none; }
/* the heart in a card's top right corner (above the whole-card link) */
.like-card { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; height: 25px; min-width: 25px; padding: 0 7px; border-radius: 999px; background: rgba(255, 255, 255, .75); border: 1px solid var(--line); color: var(--slate); font: inherit; font-size: 13px; line-height: 1; cursor: pointer; text-decoration: none; box-shadow: 0 2px 8px rgba(0, 0, 0, .12); transition: color .15s ease, border-color .15s ease; }
.like-card:hover, .like-card.is-on { color: var(--gold); border-color: var(--gold); }
.like-card.is-on:hover { border-color: #000; }                              /* a liked heart under the pointer: black outline, beating heart */
.like-card.is-on:hover svg { animation: heart-beat .7s ease-in-out infinite; }
@keyframes heart-beat { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.3); } 60% { transform: scale(1.1); } }
.like-card em { color: #000; opacity: 1; font-weight: 400; }                                   /* the count: black, whatever the heart's colour */
.like-card:disabled { opacity: .6; cursor: default; }
.card-org .like-card { box-shadow: none; }
.card-org h3 { padding-right: 56px; }                                        /* room for the heart */
.btn-danger { background: var(--danger); color: #fff; }
.btn-warn { color: var(--warn); }
.btn-icon-danger { color: var(--danger); }
.linklike { background: none; border: 0; font: inherit; color: inherit; cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex: none; }
.brand:hover { text-decoration: none; color: var(--navy); }
.mark { flex: none; filter: drop-shadow(0 3px 8px rgba(0, 51, 153, .25)); }
.logo-full { flex: none; display: block; height: auto; max-width: 100%; }   /* header/footer: monogram + "EuropeFirst.eu" (2026-11-12) */
.wordmark { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.wordmark b { color: var(--eu); font-weight: 900; }
.wordmark i { font-style: normal; color: var(--muted); font-weight: 650; }
.brand-light { color: #fff; }
.brand-light:hover { color: #fff; }
.brand-light .wordmark b { color: var(--gold); }
.brand-light .wordmark i { color: var(--sky); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.site-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav > ul > li > a, .site-nav .linklike { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; color: var(--ink); font-weight: 650; font-size: 15px; text-decoration: none; }
.site-nav > ul > li > a:hover, .site-nav .linklike:hover { background: var(--bg); color: var(--eu); }
.site-nav > ul > li > a.btn { color: var(--navy); padding: 9px 16px; margin-left: 6px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px; color: var(--navy); cursor: pointer; }
.nav-toggle .ic { width: 24px; height: 24px; }

/* language dropdown (same as souverain.pro) */
.lang { position: relative; margin: 0; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: 13px; font-weight: 800; color: var(--eu); text-transform: uppercase; letter-spacing: .06em; user-select: none; }
.lang summary .ic { width: 16px; height: 16px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.lang[open] summary { background: var(--eu); color: #fff; border-color: var(--eu); }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); width: 440px; max-width: calc(100vw - 32px); display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; max-height: 70vh; overflow: auto; }
.lang li a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; font-size: 14px; color: var(--ink); white-space: nowrap; text-decoration: none; }
.lang li a code { font-family: inherit; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); width: 22px; }
.lang li a:hover { background: var(--bg); }
.lang li.current-lang a { background: var(--eu); color: #fff; }
.lang li.current-lang a code { color: rgba(255, 255, 255, .75); }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: #fff; border-bottom: 1px solid var(--line); padding: 14px 20px 22px; flex-direction: column; align-items: stretch; gap: 14px; box-shadow: var(--shadow); max-height: calc(100vh - 72px); overflow: auto; }
  .site-nav.open { display: flex; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav > ul > li > a.btn { margin: 8px 0 0; justify-content: center; }
  .lang summary { justify-content: center; }
  .lang ul { position: static; width: 100%; max-width: none; box-shadow: none; margin-top: 8px; max-height: none; }
}
@media (max-width: 420px) { .wordmark { font-size: 19px; } .header-row { gap: 10px; } }

/* ---------- flash / notices ---------- */
.flash { background: #e9f7f0; color: var(--ok); border-bottom: 1px solid #c7ead9; }
.flash-error { background: #fdecee; color: var(--danger); border-color: #f6c9cf; }
.flash .wrap { display: flex; gap: 10px; align-items: center; padding-top: 12px; padding-bottom: 12px; font-weight: 650; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; margin: 0 0 18px; font-weight: 600; font-size: 15px; }
.notice .ic { margin-top: 2px; }
.notice-error { background: #fdecee; color: var(--danger); }
.notice-ok { background: #e9f7f0; color: var(--ok); }
.notice-warn { background: #fff6dc; color: var(--warn); margin-top: 16px; }

/* the site's own confirmation dialog (site.js askConfirm; 2026-11-16, instead of the browser's confirm()) */
.confirm-dialog { border: 0; padding: 26px 26px 22px; border-radius: var(--radius); box-shadow: var(--shadow-lg); width: min(440px, calc(100vw - 32px)); color: var(--ink); background: #fff; }
.confirm-dialog::backdrop { background: rgba(0, 26, 77, .45); backdrop-filter: blur(2px); }
.confirm-dialog p { margin: 0 0 22px; font-size: 16px; font-weight: 600; line-height: 1.45; color: var(--navy); overflow-wrap: anywhere; }
.confirm-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.confirm-dialog[open] { animation: confirm-in .14s ease-out; }
@keyframes confirm-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .confirm-dialog[open] { animation: none; } }
.field-error { color: var(--danger); font-size: 14px; font-weight: 600; margin: 6px 0 0; }
.field-error a { color: var(--danger); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--navy); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: url(../img/hero.webp) 60% 40% / cover no-repeat; opacity: .42; mix-blend-mode: luminosity; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(0, 20, 64, .96) 0%, rgba(0, 38, 120, .88) 42%, rgba(0, 51, 153, .55) 75%, rgba(11, 95, 216, .35) 100%); }
.hero::after { content: ""; position: absolute; right: -160px; top: -160px; width: 520px; height: 520px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 204, 0, .22), transparent 65%); }
.hero-inner { padding: 72px 20px 56px; }
.hero h1 { color: #fff; max-width: 860px; margin-bottom: 18px; }
.hero h1 mark, .page-head mark, .cta-band mark, .site-footer mark { background: none; color: var(--gold); padding: 0; }
.hero .lead { font-size: clamp(17px, 1.6vw, 21px); max-width: 760px; color: #dce7ff; }
.hero .lead mark { background: none; color: #fff; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); font-size: 14px; font-weight: 700; letter-spacing: .02em; color: #fff; margin-bottom: 22px; }
.stars-ring { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle, transparent 55%, transparent 56%), conic-gradient(from 0deg, var(--gold) 0 4%, transparent 4% 8.33%, var(--gold) 8.33% 12.33%, transparent 12.33% 16.66%, var(--gold) 16.66% 20.66%, transparent 20.66% 25%, var(--gold) 25% 29%, transparent 29% 33.33%, var(--gold) 33.33% 37.33%, transparent 37.33% 41.66%, var(--gold) 41.66% 45.66%, transparent 45.66% 50%, var(--gold) 50% 54%, transparent 54% 58.33%, var(--gold) 58.33% 62.33%, transparent 62.33% 66.66%, var(--gold) 66.66% 70.66%, transparent 70.66% 75%, var(--gold) 75% 79%, transparent 79% 83.33%, var(--gold) 83.33% 87.33%, transparent 87.33% 91.66%, var(--gold) 91.66% 95.66%, transparent 95.66% 100%); -webkit-mask: radial-gradient(circle, transparent 58%, #000 60%, #000 78%, transparent 80%); mask: radial-gradient(circle, transparent 58%, #000 60%, #000 78%, transparent 80%); }
.hero-search { margin-top: 30px; max-width: 900px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: 22px; padding: 20px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-search-title { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 20px; margin: 0 0 14px; }
.hero-search-title .ic { color: var(--gold); }
.hero-search-title mark { background: none; color: var(--gold); padding: 0; }
.hero-register { margin: 14px 0 0; color: #dce7ff; font-size: 15px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-register a { color: var(--gold); font-weight: 800; }
.hero-register mark { background: none; color: #fff; }
.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 36px 0 0; padding: 0; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 34px; font-weight: 850; line-height: 1; color: #fff; }
.hero-stats li > span, .hero-stats li > a > span { font-size: 14px; color: var(--sky); font-weight: 600; }
.hero-stats strong span { font: inherit; color: inherit; }   /* the live number inside the figure */
.hero-stats strong .ef-badge-stat { width: 26px; height: 26px; margin-left: 8px; vertical-align: 2px; }
.hero-stats a { display: flex; flex-direction: column; text-decoration: none; border-radius: 8px; }
.hero-stats a:hover span:last-child, .hero-stats a:focus-visible span:last-child { color: #fff; text-decoration: underline; }
.hero-stats a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.count-bump { animation: count-bump .7s ease-out; }
.card-grid > .is-new, .logo-strip > .is-new { animation: list-enter .6s ease-out; }                       /* a row that just arrived (live update) */
@keyframes list-enter { from { opacity: 0; transform: translateY(-10px); } }
@keyframes count-bump { from { color: var(--gold); transform: scale(1.12); } to { transform: none; } }   /* the colour eases back to the element's own */
.hero-stats strong, .tabs em, .filter-toggle em, [data-tr-text] { display: inline-block; transform-origin: left center; }

/* ---------- search ---------- */
.search { display: flex; align-items: stretch; gap: 8px; background: #fff; border-radius: 16px; padding: 6px; box-shadow: var(--shadow); position: relative; }
.search-ic { display: flex; align-items: center; padding-left: 10px; color: var(--muted); }
.search input[type=search] { flex: 1 1 auto; min-width: 0; border: 0; font: inherit; font-size: 17px; padding: 12px 8px; color: var(--ink); background: transparent; outline: none; }
.search .btn { flex: none; }
.reset-link[hidden] { display: none; }   /* its flex display would beat the hidden attribute */
.search-big input[type=search] { font-size: 18px; padding: 14px 8px; }
@media (max-width: 680px) {
  .search { flex-wrap: wrap; padding: 8px; }
  .search input[type=search] { flex-basis: calc(100% - 40px); }
  .search .btn { flex: 1 1 100%; }
}

/* ---------- sections ---------- */
.section { padding: 80px 0; }
/* home: the gap between two sections equals the gap under the hero (80 px), not 80 + 80 */
.page-home .section { padding: 20px 0; }                                     /* 40 px between the home page's sections */
.page-home .hero + .section { padding-top: 40px; }
.page-home .cta-band { margin-top: 20px; }
.section-tight { padding: 40px 0 70px; }
.section-alt { background: var(--grad-soft); }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 800; color: var(--blue); margin: 0 0 10px; }
.kicker-light { color: var(--gold); }
.section-title { max-width: 820px; }
.section-title.small { font-size: clamp(20px, 2vw, 26px); }
.section-lead { font-size: 18px; color: var(--slate); max-width: 780px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.section-head .section-title { margin: 0; }

.why { background: var(--grad-soft); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 34px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; box-shadow: 0 2px 0 rgba(0, 51, 153, .03); transition: transform .15s ease, box-shadow .15s ease; position: relative; overflow: hidden; }
.why-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--eu), var(--blue-2), var(--gold)); opacity: .9; }
.why-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.why-card p { color: var(--slate); margin: 0; font-size: 15.5px; }
.why-ic { display: inline-flex; width: 48px; height: 48px; border-radius: 14px; align-items: center; justify-content: center; background: var(--grad); color: var(--gold); margin-bottom: 16px; box-shadow: 0 8px 18px rgba(0, 51, 153, .25); }
.why-ic .ic { width: 24px; height: 24px; }
@media (max-width: 1000px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: minmax(0, 1fr); } }
.fund-teaser { background: #fff; }
.fund-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.ind-grid { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.ind-grid a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-decoration: none; color: var(--ink); font-weight: 650; transition: border-color .12s, box-shadow .12s, transform .12s; }
.ind-grid a:hover { border-color: var(--sky); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--eu); }
.ind-ic { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--sky-2); color: var(--eu); display: flex; align-items: center; justify-content: center; }
.ind-grid a:hover .ind-ic { background: var(--eu); color: var(--gold); }
.ind-name { flex: 1; line-height: 1.3; font-size: 15px; }
.ind-n { font-size: 13px; font-weight: 800; color: var(--muted); background: var(--bg); border-radius: 999px; padding: 2px 9px; }

.logo-strip { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 14px; }
.logo-strip a { display: flex; align-items: center; justify-content: center; width: 150px; height: 84px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-decoration: none; font-weight: 700; color: var(--slate); text-align: center; font-size: 14px; }
.logo-strip img { max-height: 60px; width: auto; object-fit: contain; filter: grayscale(.2); }
.logo-strip a:hover { box-shadow: var(--shadow); }

.how { background: #fff; }
.how-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.how-intro p { color: var(--slate); font-size: 17px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li { display: flex; gap: 18px; padding: 22px; border-radius: var(--radius); background: var(--grad-soft); border: 1px solid var(--line); }
.steps h3 { display: flex; gap: 8px; align-items: center; margin-bottom: 4px; }
.steps h3 .ic { color: var(--blue); }
.steps p { margin: 0; color: var(--slate); font-size: 15.5px; }
.step-n { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: var(--gold); font-weight: 900; font-size: 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0, 51, 153, .3); }
@media (max-width: 900px) { .how-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; } }

.cta-band { position: relative; isolation: isolate; overflow: hidden; background: var(--grad); color: #fff; padding: 84px 0; }
.cta-art { position: absolute; inset: 0; z-index: -1; background: url(../img/sketch.webp) center 35% / cover no-repeat; opacity: .16; }
.cta-inner { text-align: center; max-width: 880px; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 42px); }
.cta-band p { color: #dce7ff; font-size: 18px; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }

/* ---------- page heads ---------- */
.page-head { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: 46px 0 40px; background: var(--grad); }
.page-head h1 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); }
.page-head .lead { color: #dce7ff; font-size: 18px; max-width: 760px; margin: 0; }
.page-head .lead .ic { vertical-align: -3px; }
.page-head-blue::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 90% -20%, rgba(255, 204, 0, .25), transparent 40%), url(../img/sketch.webp) right 10% / 60% auto no-repeat; opacity: .5; }
.page-head-photo { padding: 70px 0 60px; }
.page-head-photo::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url(../img/hero.webp) center 40% / cover; opacity: .35; mix-blend-mode: luminosity; }
.page-head-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(0, 20, 64, .95), rgba(0, 51, 153, .7) 70%, rgba(11, 95, 216, .45)); }
.head-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.check-sm { padding: 8px 12px; font-size: 14px; margin-top: 8px; }
.notice.small { font-size: 14px; font-weight: 500; }
.head-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.crumbs { font-size: 14px; margin: 0 0 8px; color: var(--sky); }
.crumbs a { color: #fff; }
.item-crumbs .crumbs, .item-crumbs .crumbs a { color: var(--slate); }
.item-crumbs { padding-top: 22px; }
.page-head .search { margin-top: 18px; max-width: 900px; }
/* Find page: the block takes the width of the filters' row (Clear filters hangs outside it), the search box fills it,
   so the box's right edge (Find) lines up with the last filter's; when the filters wrap the block is full width */
.dir-search { width: fit-content; max-width: 100%; }
.dir-search .search { max-width: none; }
.dir-search .search input[type=search] { width: 0; }   /* the box adds no width of its own to the block */
.dir-search .filters { position: relative; }
@media (min-width: 900px) { .dir-search .reset-link { position: absolute; left: calc(100% + 14px); bottom: 0; white-space: nowrap; } }

/* ---------- directory ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin-top: 14px; }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; color: var(--sky); }
.filters select { font: inherit; font-size: 15px; padding: 9px 34px 9px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") right 12px center no-repeat; color: #fff; appearance: none; -webkit-appearance: none; min-width: 180px; }
.filters select option { color: var(--ink); }
/* custom dropdowns (site.js, select[data-dropdown]): the native select stays as the form field but out of sight */
.dd-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-size: 15px; color: #fff; padding: 9px 34px 9px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center; cursor: pointer; min-width: 150px; }
.dd-btn:hover { background-color: rgba(255, 255, 255, .2); }
.dd-btn em, .dd-list em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--muted); }   /* like the figures behind the industries */
.dd-btn em { color: rgba(255, 255, 255, .75); }                                                          /* on the blue head */
.dd-list { position: fixed; z-index: 50; max-width: calc(100vw - 32px); max-height: 320px;   /* placed by site.js: the page head clips its overflow */ overflow: auto; margin: 0; padding: 6px; list-style: none; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); outline: none; }
.dd-list li { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 7px 10px; border-radius: 8px; font-size: 14.5px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.dd-list li:hover, .dd-list li.is-active { background: var(--bg); }
.dd-list li[aria-selected=true] { color: var(--eu); }
/* a multiple select's list (the narrow screens' Industry, 2026-11-22): a tick box before each option */
.dd-list[aria-multiselectable] li { justify-content: flex-start; gap: 10px; }
.dd-list[aria-multiselectable] li em { margin-left: auto; padding-left: 8px; }
.dd-list[aria-multiselectable] li::before { content: ''; flex: none; width: 16px; height: 16px; box-sizing: border-box; border: 2px solid var(--line); border-radius: 4px; }
.dd-list[aria-multiselectable] li[aria-selected=true]::before { border-color: var(--eu); background: var(--eu) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M1 4l3 3 5-6'/%3E%3C/svg%3E") center no-repeat; }
.reset-link { color: #fff; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; padding-bottom: 10px; }
.reset-link:hover { color: var(--gold); }   /* the generic blue hover vanished on the blue head (2026-11-05) */
.filter-toggle { flex-direction: row !important; align-items: center !important; gap: 8px; padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .12); color: #fff !important; font-size: 14px !important; cursor: pointer; }
.filter-toggle input { accent-color: var(--gold); width: 16px; height: 16px; margin: 0; }
.filter-toggle .ef-badge { width: 20px; height: 20px; vertical-align: middle; margin: 0; }
.filter-toggle em { font-style: normal; background: rgba(255, 255, 255, .2); border-radius: 999px; padding: 0 8px; font-size: 12px; }
.filter-toggle.is-on { background: var(--gold); border-color: var(--gold); color: var(--navy) !important; }
.filter-toggle.is-on em { background: rgba(0, 26, 92, .15); }
/* the Europe First badge after a name, like a trademark sign */
.ef-badge { display: inline-block; width: clamp(15px, .8em, 26px); height: clamp(15px, .8em, 26px); vertical-align: text-top; margin-left: .22em; line-height: 0; }
.ef-badge svg, .ef-badge img { width: 100%; height: 100%; display: block; }
.ef-badge-lg { width: 22px; height: 22px; vertical-align: middle; margin: 0; }
.kv .adv-toggle { margin: 0; min-height: 24px; }
.adv-toggle input:not(:checked) ~ .adv-state { opacity: .35; filter: grayscale(1); }
.check-advocate strong { display: flex; align-items: center; gap: 8px; }
.check-advocate small { display: block; font-weight: 500; color: var(--muted); margin-top: 4px; font-size: 13.5px; }
.dir-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 36px; padding-top: 34px; padding-bottom: 80px; }
/* 2026-11-24: the industry column stays in view and scrolls on its own; scrolling over it moves only the industries
   (overscroll-behavior here, site.js for the heading and for a list that fits), scrolling elsewhere moves the results */
.dir-side { position: sticky; top: 90px; align-self: start; max-height: calc(100vh - 110px); display: flex; flex-direction: column; }
.dir-side h2 { flex: none; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.dir-side ul { list-style: none; padding: 0 4px 0 0; margin: 0; display: grid; align-content: start; gap: 2px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.dir-side a { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: 14.5px; font-weight: 600; }
.dir-side a span { flex: 1; }
.dir-side a em { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 700; }
.dir-side a:hover { background: var(--bg); color: var(--eu); }
.dir-side a[aria-current] { background: var(--eu); color: #fff; }
.dir-side a[aria-current] em { color: var(--sky); }
.dir-side .ic { color: var(--blue); }
.dir-side a[aria-current] .ic { color: var(--gold); }
@media (max-width: 900px) { .dir-layout { grid-template-columns: minmax(0, 1fr); } .dir-side { display: none; } }
@media (min-width: 901px) { .filters .filter-industry { display: none; } }   /* the Industry dropdown stands in for .dir-side on narrow screens */
.tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--line); margin-bottom: 24px; flex-wrap: wrap; }
.tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; text-decoration: none; color: var(--slate); font-weight: 700; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tabs a em { font-style: normal; font-size: 12px; background: var(--bg); border-radius: 999px; padding: 1px 8px; }
.tabs a[aria-selected=true] { color: var(--eu); border-color: var(--eu); }
.tabs a[aria-selected=true] em { background: var(--eu); color: #fff; }
.dir-list, #main.is-loading { position: relative; }
.dir-list.is-loading > :not(.dir-spin), #main.is-loading > :not(.dir-spin) { opacity: .35; pointer-events: none; transition: opacity .15s; }   /* the old listing (or, after a search elsewhere, the page) fades while the new one loads */
.dir-spin { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-start; pointer-events: none; }
.dir-spin span { position: sticky; top: calc(50vh - 22px); margin-top: 24px; width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--eu); animation: dir-spin .8s linear infinite; }
@keyframes dir-spin { to { transform: rotate(360deg); } }
/* how Find read the visitor's phrase (smartsearch.php, 2026-11-22): the words searched, then a chip per filter the reading added, each one undoes it */
.find-reading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 18px; padding: 10px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; font-size: 14px; color: var(--slate); }
.read-words { display: inline-flex; align-items: center; gap: 6px; margin-right: 4px; }
.read-words strong { color: var(--navy); }
.read-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px 4px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--eu); font-weight: 650; text-decoration: none; line-height: 1.3; max-width: 100%; }
.read-chip span { overflow-wrap: anywhere; }
a.read-chip:hover { border-color: var(--eu); color: var(--blue); }
a.read-chip .ic { flex: none; color: var(--muted); }
a.read-chip:hover .ic { color: var(--danger); }
.read-pending { color: var(--muted); font-weight: 600; padding-right: 12px; }
.read-spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--eu); animation: dir-spin .8s linear infinite; }
.read-exact { margin-left: auto; font-size: 13px; }
@media (max-width: 640px) { .read-exact { margin-left: 0; } }
.other-subs { background: var(--bg); border-radius: 14px; padding: 16px 18px; margin-bottom: 20px; }
.other-subs p { margin: 0 0 8px; font-weight: 700; font-size: 14px; color: var(--slate); }
.other-subs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.other-subs a { display: inline-block; padding: 5px 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; text-decoration: none; }
.other-subs em { font-style: normal; color: var(--muted); font-size: 12px; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.pager a { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; }
.pager a[aria-current] { background: var(--eu); color: #fff; border-color: var(--eu); }
.pager-gap { min-width: 24px; height: 40px; display: inline-flex; align-items: center; justify-content: center; color: var(--slate); }

/* ---------- cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(0, 32, 96, .04); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card-grid-orgs { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.card-item, .card-org { position: relative; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease; }
.card-item:hover, .card-org:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-item.is-blocked, .card-org.is-blocked { opacity: .55; }
.card-item { display: flex; flex-direction: column; }
.card-media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--bg); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card-item:hover .card-media img { transform: scale(1.04); }
.card-media .badge { position: absolute; left: 12px; top: 12px; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
.noimg { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; color: var(--sky); }
.noimg .ic { width: 42px; height: 42px; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.card-body h3 { margin: 0 0 2px; font-size: 17px; line-height: 1.25; word-break: break-word; }
.card-body h3 a { color: var(--navy); text-decoration: none; }
.card-body h3 a:hover { color: var(--eu); }
.card-body h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }   /* whole card clickable */
.card-org { display: flex; align-items: flex-start; padding: 18px 0 0 16px; }
.card-org > .org-logo { flex: none; width: 70px; height: 70px; }
.card-org .card-body { padding: 0 18px 16px 14px; }
.card-org .card-count { margin-top: auto; padding-top: 10px; }
.card-by { margin: 0; font-size: 13.5px; color: var(--slate); font-weight: 650; }
.card-meta { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; line-height: 1.3; color: var(--slate); font-weight: 600; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-meta .ic { color: var(--blue); flex: none; }
.card-org-text, .card-text { color: var(--slate); font-size: 14.5px; margin: 6px 0 0; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-org { font-size: 14px; }
.card-count { font-size: 13px; color: var(--blue); font-weight: 800; margin: 0; }
.org-logo { border-radius: 14px; border: 1px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.org-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.org-logo span { font-size: 26px; font-weight: 900; color: var(--eu); }
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.badge-product { background: var(--eu); color: #fff; }
.badge-service { background: var(--gold); color: var(--navy); }
.empty { text-align: center; padding: 50px 20px; background: var(--grad-soft); border-radius: var(--radius); border: 1px dashed var(--sky); }
.empty-small { padding: 26px 16px; }
.empty-ic { display: inline-flex; width: 60px; height: 60px; border-radius: 50%; align-items: center; justify-content: center; background: #fff; color: var(--blue); box-shadow: var(--shadow); margin-bottom: 12px; }
.empty-ic .ic { width: 28px; height: 28px; }
.empty p { color: var(--slate); max-width: 520px; margin: 0 auto; }

/* ---------- organization & item pages ---------- */
.org-head-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.org-head-row > div:nth-child(2) { flex: 1; min-width: 240px; }
.org-head h1 { margin-bottom: 10px; }
.org-logo-lg { width: 120px; height: 120px; border: 0; box-shadow: var(--shadow-lg); }
.org-logo-lg img { padding: 12px; }
.org-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 13.5px; font-weight: 700; }
.tag-gold { background: var(--gold); color: var(--navy); }
.org-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; padding-top: 40px; padding-bottom: 20px; }
.org-contact { background: var(--grad-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; align-self: start; position: sticky; top: 96px; }
.org-contact h2, .org-about h2 { font-size: 20px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; word-break: break-word; }
.contact-list .ic { color: var(--blue); margin-top: 2px; }
.prose { font-size: 16.5px; color: #22345e; }
.prose p, .prose ul { margin: 0 0 1em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose h2 { margin-top: 1.4em; }
@media (max-width: 860px) { .org-layout { grid-template-columns: minmax(0, 1fr); } .org-contact { position: static; } }

.item-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; padding-top: 16px; padding-bottom: 30px; align-items: start; }
.gallery-main { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg); border: 1px solid var(--line); aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.gallery-main.noimg .ic { width: 60px; height: 60px; }
.gallery-thumbs { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--bg); aspect-ratio: 16 / 9; width: 100%; }
.gallery-thumbs button[aria-current] { border-color: var(--eu); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.item-info h1 { font-size: clamp(28px, 3.4vw, 40px); margin: 12px 0 6px; }
.item-by { color: var(--slate); font-weight: 600; }
.item-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 12px; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0, 16, 48, .92); display: flex; align-items: center; justify-content: center; padding: 20px; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .item-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* ---------- forms ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; padding-top: 36px; padding-bottom: 80px; align-items: start; }
.form-layout-single { grid-template-columns: minmax(0, 860px); justify-content: center; }
.form-layout-single > .form-card + .form-card { margin-top: 0; }
.form-card { padding: 30px; }
.form-section { border: 0; margin: 0 0 26px; padding: 0 0 22px; border-bottom: 1px solid var(--line); min-width: 0; }
.form-section:last-of-type { border-bottom: 0; }
.form-section legend { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; color: var(--navy); margin-bottom: 18px; padding: 0; }
.legend-n { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: var(--gold); font-size: 15px; display: inline-flex; align-items: center; justify-content: center; }
.field { margin-bottom: 18px; min-width: 0; }
.field label, .field .label { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 6px; color: var(--navy); }
.field abbr { color: var(--danger); text-decoration: none; }
.opt { font-weight: 500; color: var(--muted); font-size: 13px; }
.field input[type=text], .field input[type=email], .field input[type=url], .field input[type=tel], .field input[type=password], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid #cfd9ec; border-radius: 12px; padding: 12px 14px; transition: border-color .12s, box-shadow .12s; }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%234a5d85' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") right 14px center no-repeat; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 79, 209, .15); }
.field input[type=file] { font: inherit; font-size: 14px; max-width: 100%; }
.hint { font-size: 13.5px; color: var(--muted); margin: 6px 0 0; }
.counter { font-variant-numeric: tabular-nums; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.grid-port { grid-template-columns: 96px minmax(0, 1fr); gap: 0 12px; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } .form-card { padding: 20px; } }
.field .logo-picker { display: flex; gap: 16px; align-items: center; padding: 14px; margin: 0; border: 2px dashed var(--sky); border-radius: var(--radius); background: var(--bg); cursor: pointer; font-weight: 400; transition: background .12s; }   /* a label: click or drop target */
.field .logo-picker:hover, .field .logo-picker.drag { background: #e8effd; }
.logo-picker > span:last-child { display: block; min-width: 0; flex: 1; }
.logo-picker .hint { display: block; }
.logo-picker input[type=file] { width: 100%; }
.logo-preview { width: 96px; height: 96px; flex: none; border: 1.5px solid var(--line); border-radius: 16px; display: flex; align-items: center; justify-content: center; color: var(--sky); background: #fff; overflow: hidden; }
.logo-preview img { width: 100%; height: 100%; object-fit: contain; padding: 6px; background: #fff; }
.logo-preview .ic { width: 32px; height: 32px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15.5px; padding: 14px 16px; border-radius: 12px; background: var(--bg); border: 1.5px solid var(--line); margin-bottom: 10px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--eu); flex: none; }
.check:has(input:checked) { border-color: var(--eu); background: #eef3ff; }
.declare { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.declare li { display: flex; gap: 10px; font-size: 14.5px; color: var(--slate); }
.declare .ic { color: var(--ok); margin-top: 3px; }
.form-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.form-actions .hint { flex: 1; min-width: 220px; margin: 0; }
.reg-site { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: 15.5px; }   /* registration step 1: the chosen website */
.reg-site .ic { color: var(--eu); flex: none; }
.reg-site strong { color: var(--ink); overflow-wrap: anywhere; }
.reg-site a { margin-left: auto; font-size: 14px; font-weight: 600; white-space: nowrap; }
.email-status { font-size: 13.5px; font-weight: 600; margin: 6px 0 0; color: var(--muted); }   /* under the e-mail field: checking / can receive mail / cannot be used */
.email-status.is-ok { color: var(--ok); }
.email-status.is-bad { color: var(--danger); }
.btn.is-busy { opacity: .7; cursor: progress; }
.aside-foot { margin: 14px 0 0; font-size: 14px; }
.aside-blue .aside-foot a { color: #fff; }
.form-aside { display: grid; gap: 18px; position: sticky; top: 96px; }
.aside-card { padding: 24px; border-radius: var(--radius); background: var(--grad-soft); border: 1px solid var(--line); }
.aside-card h2 { font-size: 19px; }
.aside-card p { color: var(--slate); }
.aside-blue { background: var(--grad); color: #dce7ff; border: 0; position: relative; overflow: hidden; isolation: isolate; }
.aside-blue h2 { color: #fff; }
.aside-blue p { color: #dce7ff; }
.aside-blue ol { padding-left: 1.2em; margin: 0; display: grid; gap: 8px; }
.aside-blue mark { background: none; color: var(--gold); }
.sketch-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(../img/sketch.webp) center / cover; opacity: .14; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; font-size: 15px; color: var(--slate); }
.ticks .ic { color: var(--eu); margin-top: 3px; }
@media (max-width: 960px) { .form-layout { grid-template-columns: minmax(0, 1fr); } .form-aside { position: static; } }
.seg { display: inline-flex; background: var(--bg); border-radius: 12px; padding: 4px; gap: 4px; border: 1px solid var(--line); }
.seg label { margin: 0; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 9px; font-weight: 700; color: var(--slate); transition: background .15s, color .15s, box-shadow .15s; }
.seg label:hover input:not(:checked) + span { background: var(--sky-2); color: var(--eu); }
.seg input:checked + span { background: var(--grad); color: #fff; box-shadow: 0 4px 12px rgba(0, 51, 153, .35); }
.seg input:checked + span::before { content: "✓"; font-size: 13px; line-height: 1; color: var(--gold); }
.seg input:focus-visible + span { outline: 3px solid var(--gold); }
.dropzone { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 26px; border: 2px dashed var(--sky); border-radius: var(--radius); background: var(--bg); cursor: pointer; color: var(--eu); margin-top: 12px; transition: background .12s; }
.dropzone:hover, .dropzone.drag { background: #e8effd; }
.dropzone .ic { width: 34px; height: 34px; }
.dropzone input { margin-top: 8px; font: inherit; font-size: 14px; color: var(--slate); max-width: 100%; }
.img-grid { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.img-grid:empty { display: none; }
.img-grid li { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; font-size: 13px; }
.img-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.img-grid li.invalid { border-color: var(--danger); box-shadow: 0 0 0 2px rgba(198, 47, 61, .25); }
.img-grid li.invalid span { color: var(--danger); font-weight: 700; }
.img-grid label { display: flex; align-items: center; gap: 6px; padding: 6px 10px; cursor: pointer; margin: 0; font-weight: 600; }
.img-grid .img-remove { color: var(--danger); border-top: 1px solid var(--line); }
.img-grid li.removing { opacity: .45; }
.img-grid li.removing .img-remove { opacity: 1; }
.img-new li { position: relative; }
.img-new li span { display: block; padding: 6px 10px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pw { position: relative; }
.pw input { padding-right: 46px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--muted); padding: 8px; cursor: pointer; }
.admin-box { background: #fff8dc; border: 1px solid #f3dd8a; border-radius: 14px; padding: 18px 18px 8px; }
.admin-box legend { font-size: 16px; padding: 0 6px; background: #fff8dc; border-radius: 8px; }

/* translations */
.tr-details { border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; background: var(--bg); }
.tr-details[open] { padding-bottom: 12px; }
.tr-details summary { cursor: pointer; padding: 12px 0; font-weight: 700; color: var(--eu); display: flex; align-items: center; gap: 8px; }
.tr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.tr-field label { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tr-field code { font-size: 11px; color: var(--muted); text-transform: uppercase; }
.tr-field textarea { min-height: 96px; font-size: 14.5px; }
.tr-badge { font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 1px 8px; border-radius: 999px; }
.tr-auto { background: var(--sky-2); color: var(--eu); }
.tr-manual { background: #e5f6ee; color: var(--ok); }
.tr-missing, .tr-off { background: #eef0f4; color: var(--muted); }
.tr-outdated { background: #fff1d6; color: var(--warn); }
@media (max-width: 720px) { .tr-grid { grid-template-columns: minmax(0, 1fr); } }
.tr-note { font-size: 13.5px; color: var(--muted); margin: -4px 0 14px; }
.tr-note summary { cursor: pointer; display: inline; color: var(--eu); font-weight: 600; }
.tr-note summary::-webkit-details-marker { display: none; }
.tr-original { margin-top: 10px; padding: 12px 14px; border-left: 3px solid var(--sky); background: var(--bg); border-radius: 0 10px 10px 0; color: var(--slate); }

/* translation services */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 12px 0; }
.svc-card { border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px 4px; background: #fff; }
.svc-card.is-on { border-color: var(--eu); box-shadow: 0 0 0 3px rgba(0, 51, 153, .08); }
.svc-toggle { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; cursor: pointer; margin-bottom: 12px; font-weight: 800; color: var(--navy); }
.svc-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.svc-switch { width: 42px; height: 24px; border-radius: 999px; background: #cfd9ec; position: relative; flex: none; transition: background .15s; }
.svc-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .15s; }
.svc-toggle input:checked + .svc-switch { background: var(--eu); }
.svc-toggle input:checked + .svc-switch::after { transform: translateX(18px); }
.svc-toggle input:focus-visible + .svc-switch { outline: 3px solid var(--gold); outline-offset: 2px; }
.prio-badge[hidden], .tag-warnkey[hidden] { display: none; }
.svc-saved { color: var(--ok); font-weight: 900; font-size: 15px; }
.svc-toggle input:disabled + .svc-switch { opacity: .6; }
.prio-badge { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: 11.5px; font-weight: 900; line-height: 1; box-shadow: 0 1px 3px rgba(0, 26, 77, .25); }
.tag-warnkey { background: #fff1d6; color: var(--warn); font-size: 12px; padding: 2px 10px; }
.svc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.svc-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; font-size: 16px; font-weight: 800; color: var(--navy); }
.tag-okkey { background: #e3f6ea; color: var(--ok); font-size: 12px; padding: 2px 10px; }
.radio-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.radio-row .check { margin: 0; align-items: center; padding: 10px 16px 10px 12px; }
.radio-row .check input { margin: 0; }
@media (max-width: 1180px) { .svc-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) { .svc-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .svc-grid, .svc-grid-3, .svc-grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- auth ---------- */
.auth { position: relative; isolation: isolate; min-height: calc(100vh - 72px); display: flex; align-items: center; justify-content: center; padding: 50px 16px; background: var(--grad); overflow: hidden; }
.auth-art { position: absolute; inset: 0; z-index: -1; background: url(../img/sketch.webp) center 30% / cover no-repeat; opacity: .13; }
.auth-card { width: 100%; max-width: 440px; padding: 34px 30px; box-shadow: var(--shadow-lg); border: 0; }
.auth-card h1 { font-size: 28px; text-align: center; }
.auth-mark { display: flex; justify-content: center; margin-bottom: 14px; }
.auth-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; font-size: 14.5px; }

/* ---------- confirmation ---------- */
.big-check { display: inline-flex; width: 84px; height: 84px; border-radius: 50%; background: var(--grad); color: var(--gold); align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: 0 14px 30px rgba(0, 51, 153, .3); }
.big-check .ic { width: 42px; height: 42px; stroke-width: 2.4; }
.lead.dark { font-size: 19px; color: var(--slate); }
.big-404 { font-size: 110px; font-weight: 900; line-height: 1; margin: 0 0 6px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-notfound .search { max-width: 640px; margin: 24px auto; }

/* ---------- account ---------- */
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 32px; padding-bottom: 80px; }
.panel { padding: 24px; }
.panel-wide { grid-column: 1 / -1; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.panel-head h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; margin: 0; }
.panel-head h2 .ic { color: var(--blue); }
.count { font-style: normal; font-size: 13px; background: var(--eu); color: #fff; border-radius: 999px; padding: 1px 9px; }
.acc-org { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 12px; }
.acc-org .org-logo { width: 84px; height: 84px; flex: none; }
.kv { display: grid; grid-template-columns: fit-content(45%) minmax(0, 1fr); gap: 6px 16px; margin: 0; font-size: 15px; min-width: 0; } /* label at most 45%, so a long label never squeezes the value (2026-11-05) */
.kv dt { color: var(--muted); font-weight: 600; }
.kv dd { margin: 0; font-weight: 600; word-break: break-word; min-width: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 750; padding: 2px 10px; border-radius: 999px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-on { color: var(--ok); background: #e5f6ee; }
.status-off { color: var(--danger); background: #fdecee; }
.item-rows { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.item-rows li { display: flex; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; }
.item-rows .thumb { width: 74px; height: 56px; flex: none; border-radius: 10px; overflow: hidden; background: var(--bg); }
.item-rows .thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-main { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.row-main p { flex-basis: 100%; margin: 0; }
.row-actions { display: flex; gap: 6px; flex: none; }
.row-actions form { margin: 0; }
.danger-zone { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 14px; }
.danger-zone summary { cursor: pointer; color: var(--danger); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 860px) { .account-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .row-actions .btn span { display: none; } .item-rows .thumb { width: 56px; }
  /* Phones: the logo goes above the list and every label sits above its value, so a long label (Dutch "Openbaar
     contact-e-mailadres") can no longer squeeze the value column to one letter per line (2026-11-05). */
  .acc-org { flex-wrap: wrap; }
  .kv { grid-template-columns: minmax(0, 1fr); gap: 2px 0; width: 100%; }
  .kv dt { margin-top: 10px; } .kv dt:first-child { margin-top: 0; } }

/* ---------- admin ---------- */
.admin-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; padding: 0; }
.admin-stats li { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); border-radius: 14px; padding: 10px 18px; display: flex; gap: 10px; align-items: baseline; }
.admin-stats strong { font-size: 24px; color: #fff; }
.admin-stats span { color: var(--sky); font-size: 14px; font-weight: 600; }
.admin-wrap { max-width: 1440px; padding-top: 26px; padding-bottom: 80px; }
.admin-tools { display: flex; justify-content: flex-start; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.admin-search { flex: 1 1 320px; max-width: 480px; border: 1.5px solid #cfd9ec; box-shadow: none; }
.admin-search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(11, 79, 209, .15); }
.admin-mailfilter { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--slate); white-space: nowrap; }
.admin-mailfilter select { padding: 9px 12px; border: 1.5px solid #cfd9ec; border-radius: 10px; background: #fff; font: inherit; color: var(--ink); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 1100px; }
.admin-table th { text-align: left; background: var(--bg); padding: 0; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); border-bottom: 1px solid var(--line); white-space: nowrap; position: sticky; top: 0; }
.admin-table th > button, .admin-table th > a, .admin-table th:not(:has(button, a)) { padding: 12px 12px; }
.admin-table th button, .admin-table th a { all: unset; box-sizing: border-box; width: 100%; padding: 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; }
.admin-table th a:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.admin-table th[aria-sort="ascending"] a, .admin-table th[aria-sort="descending"] a { color: var(--navy); }
.admin-tools .btn { flex: none; }
.admin-count { margin: 0 0 10px; }
[data-admin-list] { position: relative; }
[data-admin-list].is-loading > :not(.dir-spin) { opacity: .35; pointer-events: none; transition: opacity .15s; }   /* the list fades under the spinner while a search loads */
.admin-tools .btn[hidden] { display: none; }
.admin-table th button:hover { color: var(--eu); }
.admin-table th button:focus-visible { outline: 3px solid var(--gold); }
.admin-table th[aria-sort=ascending], .admin-table th[aria-sort=descending] { color: var(--eu); background: #e8effd; }
.admin-table th[aria-sort=ascending] .ic { transform: scaleY(-1); }
.admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.admin-table .num { text-align: right; }
/* the Blocked filter, the row checkboxes and the bulk bar above the list */
.admin-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--slate); white-space: nowrap; cursor: pointer; }
.admin-check input, .admin-table .col-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--eu); cursor: pointer; }
.admin-table .col-check { width: 40px; text-align: center; }
.admin-table th.col-check { padding: 12px; }
.admin-bulk { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 12px; font-size: 14px; color: var(--slate); }
.admin-bulk .btn[disabled] { opacity: .45; cursor: default; }
.admin-bulk-link { padding: 0; border: 0; background: none; font: inherit; color: var(--blue); text-decoration: underline; cursor: pointer; }
.admin-bulk-link:hover { color: var(--navy-2); }
.admin-bulk-all { color: var(--ink); font-weight: 600; }
.btn.btn-icon { padding-left: 9px; padding-right: 9px; }
/* request guard: the browser check page and Admin → Blocked */
.check-page { padding: 30px 0; }
.check-spin { display: flex; justify-content: center; margin-bottom: 26px; }
.check-spin span { width: 56px; height: 56px; border-radius: 50%; border: 5px solid var(--line); border-top-color: var(--eu); animation: dir-spin .8s linear infinite; }
.blocked-table { min-width: 900px; }
.blocked-table .col-check { width: 40px; text-align: center; }
.blocked-table .col-check input { width: 18px; height: 18px; accent-color: var(--eu); }
.blocked-table code { font-size: 14px; }
.blocked-tools { justify-content: flex-end; }
.org-group:hover > .org-row td { background: #fafcff; }
.org-group.is-blocked > .org-row td { background: #fff7f8; }
.org-group.is-blocked .org-cell strong { text-decoration: line-through; text-decoration-color: rgba(198, 47, 61, .5); }
.org-cell { display: flex; align-items: center; gap: 10px; min-width: 220px; }
.org-cell > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.org-cell small { color: var(--muted); font-size: 12.5px; }
.admin-note { max-width: 220px; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.org-cell a { color: var(--navy); text-decoration: none; }
.mini-logo, .mini-thumb { width: 38px; height: 38px; flex: none; border-radius: 9px; border: 1px solid var(--line); background: #fff; overflow: hidden; display: inline-flex; }
.mini-logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.mini-thumb { width: 52px; }
.mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.col-toggle { width: 44px; }
.expand { border: 1px solid var(--line); background: #fff; border-radius: 8px; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--eu); }
.expand .ic { transition: transform .15s; }
.expand[aria-expanded=true] .ic { transform: rotate(90deg); }
.actions { white-space: nowrap; }
.actions .btn, .actions form { margin: 2px 2px 2px 0; }
.actions .btn span { display: none; }
@media (min-width: 1300px) { .actions .btn span { display: inline; } }
.items-row > td { background: var(--bg); padding: 0 12px 16px; }
.items-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.items-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.items-head > span { display: flex; gap: 6px; flex-wrap: wrap; }
.items-head .btn span { display: inline; }
.sub-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sub-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 6px 8px; border-bottom: 1px solid var(--line); }
.sub-table td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.sub-table tr:last-child td { border-bottom: 0; }
.sub-table tr.is-blocked td { background: #fff7f8; }
.empty-filter { padding: 20px; text-align: center; }
.admins-panel { margin-top: 26px; max-width: 720px; }

/* ---------- visitor statistics (account/statistics, admin/statistics) ---------- */
.ic-h1 { width: .8em; height: .8em; vertical-align: -.08em; margin-right: .3em; color: var(--gold); }
.page-head h1 .badge { vertical-align: middle; margin-left: 6px; }
.stats-periods li { flex-direction: column; align-items: flex-start; gap: 0; min-width: 160px; padding: 12px 18px; }
.stats-periods .lbl { color: #fff; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; margin-bottom: 4px; }
.stats-periods strong { font-size: 28px; line-height: 1.1; }
.stats-periods em { font-style: normal; color: var(--gold); font-size: 13.5px; font-weight: 700; margin-top: 4px; }
.stats-periods li.is-current { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .5); }
.stats-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 32px; padding-bottom: 80px; align-items: start; }
.stats-grid .notice { margin: 0; }
.stats-tabs { margin: 0; }
.stats-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.stats-list li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) 52px 52px; align-items: center; gap: 12px; }
.stats-days li { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) 56px 56px; }
.stats-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stats-name small { font-size: 12.5px; }
.stats-bar { height: 10px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.stats-bar i { display: block; height: 100%; border-radius: 999px; background: var(--grad); min-width: 2px; }
.stats-days .is-today .stats-bar i { background: linear-gradient(90deg, var(--gold-2), var(--gold)); }
.stats-n { text-align: right; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.stats-u { text-align: right; color: var(--muted); font-weight: 650; font-variant-numeric: tabular-nums; }
.stats-table-wrap { border: 0; }
.stats-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stats-table .actions { display: flex; gap: 6px; justify-content: flex-end; }
.stats-table td .badge { vertical-align: middle; }
.stats-notes .hint { display: flex; gap: 6px; align-items: flex-start; }
.stats-notes .hint .ic { flex: none; margin-top: 4px; }
@media (max-width: 1100px) { .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats-grid .panel:not(.panel-wide) .stats-bar { display: none; } .stats-grid .panel:not(.panel-wide) .stats-list li { grid-template-columns: minmax(0, 1fr) 52px 52px; } }
@media (max-width: 680px) { .stats-grid { grid-template-columns: minmax(0, 1fr); } .stats-days li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 48px 48px; } .stats-periods li { min-width: 130px; } }
.admins-list { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 6px; }
.admins-list li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; }
.admins-list li > span { display: flex; align-items: center; gap: 8px; word-break: break-all; }
.admins-list .btn span { display: none; }

/* ---------- about / contact / legal / sitemap ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 44px; align-items: start; }
.about-grid aside { display: grid; gap: 18px; }
@media (max-width: 900px) { .about-grid { grid-template-columns: minmax(0, 1fr); } }
/* the About page's vertical rhythm: 40 px (the home page's gap under its hero) under the head, above each heading,
   above the funding cards and between them and "What we stand for" */
.section:has(> .about-grid) { padding-top: 40px; }
.section:has(> .about-fund) + .section { padding-top: 40px; }
.about-grid .prose > h2 { margin-top: 40px; }
.about-grid .prose > h2:first-child { margin-top: 0; }
.about-grid .prose > :last-child { margin-bottom: 0; }
.about-fund { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }   /* the funding cards under the text, as wide as the page */
.about-fund .aside-card { display: flex; flex-direction: column; align-items: flex-start; }
.about-fund .aside-card .btn { margin-top: auto; }                                                            /* the two buttons on one line */
.about-fund .aside-card .soon-row { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.about-fund .aside-card .soon-row .btn { margin-top: 0; }
.soon-row .btn[disabled]:hover { box-shadow: none; }
.aside-card.is-soon p { opacity: .62; }                                                                        /* not open yet: greyed a bit, still readable */
.aside-card.is-soon h2 { color: var(--muted); opacity: .7; }                                                   /* the title grey too, not navy */
.soon-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: var(--navy); font-size: 13.5px; font-weight: 800; box-shadow: 0 4px 14px rgba(242, 185, 0, .35); }
.soon-tag .ic { width: 16px; height: 16px; }
.btn-soon { padding-top: 7px; padding-bottom: 7px; }                                                           /* a disabled button with the launch date under its label */
.btn-soon[disabled] { opacity: 1; }
.btn-soon > .ic, .btn-soon-label > span { opacity: .55; }
.btn-soon-label { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.btn-soon-label small { font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: .01em; }
.section:has(> .about-fund) { padding-bottom: 0; }                                                            /* the next section's own 40 px is the gap */
@media (max-width: 700px) { .about-fund { grid-template-columns: minmax(0, 1fr); } }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-top: 36px; }
.contact-card p { color: var(--slate); }
.contact-card .btn { white-space: normal; word-break: break-all; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.faq { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 750; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--blue); }
.faq[open] summary::after { content: "–"; }
.faq .prose { padding: 0 18px 8px; font-size: 15.5px; }
.legal-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 44px; padding-top: 36px; padding-bottom: 80px; align-items: start; }
.legal-toc { position: sticky; top: 96px; background: var(--grad-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; max-height: calc(100vh - 120px); overflow: auto; }
.legal-toc h2 { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.legal-toc ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; font-size: 14.5px; }
.legal-toc a { text-decoration: none; color: var(--ink); }
.legal-toc a:hover { color: var(--eu); }
.legal section { scroll-margin-top: 96px; padding-top: 8px; }
.legal h2 { font-size: 22px; display: flex; flex-direction: column; gap: 2px; margin-top: 1.6em; }
.art-n { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); font-weight: 800; }
.legal-note { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .legal-layout { grid-template-columns: minmax(0, 1fr); } .legal-toc { position: static; max-height: none; } }
.sitemap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; padding-top: 36px; padding-bottom: 80px; }
.sitemap-grid h2 { display: flex; align-items: center; gap: 8px; font-size: 19px; }
.sitemap-grid h2 .ic { color: var(--blue); }
.sitemap-grid ul { padding-left: 1.1em; margin: 0; display: grid; gap: 5px; }

/* ---------- footer ---------- */
.site-footer { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(160deg, #001233 0%, #001a4d 45%, #002a80 100%); color: #c4d3f5; padding: 64px 0 0; }
.footer-art { position: absolute; inset: 0; z-index: -1; background: url(../img/sketch.webp) right bottom / min(1100px, 110%) auto no-repeat; opacity: .12; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 34px; }
.footer-brand p { margin: 16px 0 18px; font-size: 15px; max-width: 320px; }
.site-footer h2 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #c4d3f5; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .btn-gold { color: var(--navy); }
.site-footer .btn-gold:hover { background: var(--bg); color: var(--navy); }   /* the footer link hover must not turn its text gold */
.footer-contact p { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; word-break: break-all; }
.footer-contact .ic { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 48px; padding-top: 20px; padding-bottom: 26px; font-size: 14px; }
.footer-bottom p { margin: 0; }
.footer-stars { color: var(--gold); letter-spacing: .2em; font-size: 12px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand, .footer-contact { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- first-visit privacy notice ---------- */
.welcome-backdrop { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 26, 77, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.welcome { width: 100%; max-width: 560px; max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); animation: welcome-rise .3s ease; }
.welcome-band { position: relative; height: 92px; background: var(--grad); display: flex; align-items: center; justify-content: center; gap: 16px; overflow: hidden; }
.welcome-band .stars-ring { width: 40px; height: 40px; }
.welcome-stars { color: var(--gold); letter-spacing: .2em; font-size: 12px; opacity: .8; }
.welcome-body { padding: 26px 30px 30px; }
.welcome-body h2 { font-size: 26px; }
.welcome-body .lead { font-size: 16px; margin-bottom: 14px; }
.welcome-points { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.welcome-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--slate); }
.welcome-points .ic { color: var(--eu); margin-top: 3px; }
.welcome-actions { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.welcome-actions a { font-weight: 650; }
@keyframes welcome-rise { from { transform: translateY(14px) } }
@media (max-width: 560px) {
  .welcome-backdrop { padding: 12px; align-items: flex-end; }
  .welcome-band { height: 64px; }
  .welcome-body { padding: 20px 20px 22px; }
  .welcome-body h2 { font-size: 22px; }
  .welcome-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } .is-new { animation: none; } }
@media print { .site-header, .site-footer, .cta-band, .legal-toc { display: none; } .page-head { background: none; color: var(--ink); } .page-head h1 { color: var(--ink); } }

/* ---------- Find funding (My account → Find funding) ---------- */
.funding-grid { padding-top: 36px; padding-bottom: 80px; }
.section:has(> .funding-grid form[data-funding-form]) { padding-top: 0; }                 /* the form pages: 32 px between the head and the form, as on My account */
.funding-grid:has(form[data-funding-form]) { padding-top: 32px; }
.funding-grid:not(:has(form[data-funding-form])) { padding-top: 0; }                  /* the result pages: the section's 40 px, as on the About page */
.fund-legend { font-weight: 700; font-size: 15.5px; margin: 0 0 10px; }
.fund-goals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 24px; }
.fund-goal { position: relative; display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 14px 16px; border-radius: 12px; background: var(--bg); border: 1.5px solid var(--line); min-width: 0; }
.fund-goal input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.fund-goal:has(input:checked) { border-color: var(--eu); background: #eef3ff; box-shadow: inset 0 0 0 1px var(--eu); }
.fund-goal:focus-within { outline: 2px solid var(--eu); outline-offset: 2px; }
.fund-goal-icon { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--eu); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.fund-goal strong { display: block; font-size: 15.5px; color: var(--navy); line-height: 1.3; }
.fund-goal small { display: block; color: var(--slate); font-size: 13.5px; line-height: 1.4; margin-top: 3px; }
.fund-set { border: 0; padding: 0; margin: 0; min-width: 0; }
.fund-q label { display: flex; align-items: center; gap: 10px; font-size: 15.5px; }
.fund-num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--eu); color: #fff; font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.fund-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.fund-actions .hint { margin: 0; }
.fund-privacy { margin: 18px 0 0; display: flex; gap: 6px; align-items: flex-start; }
.fund-how { margin: 0; padding-left: 20px; color: var(--slate); display: grid; gap: 8px; }
.aside-blue .fund-how, .aside-blue .fund-how li { color: inherit; }                   /* on the blue How it works card: the card's light text, not slate */
.fund-earlier { margin-top: 24px; }
.fund-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fund-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 14.5px; }
.fund-list .row-actions { align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.status-wait { background: #fff6dc; color: var(--warn); }
.fund-progress { text-align: center; padding: 44px 30px; }
.fund-spin { display: flex; justify-content: center; margin-bottom: 20px; }
.fund-spin span { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--eu); animation: dir-spin .8s linear infinite; }
.fund-step { font-size: 18px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.fund-h2 { font-size: 22px; margin: 0 0 4px; }
.fund-sub { margin: 0 0 16px; }
.fund-matches { display: grid; gap: 16px; margin-bottom: 30px; }
.fund-match { padding: 20px 22px; border-left: 5px solid var(--ok); }
.fund-match.fund-possible { border-left-color: var(--gold); }
.fund-match.fund-no { border-left-color: var(--line); opacity: .85; }
.fund-match-head { display: flex; gap: 14px; align-items: flex-start; }
.fund-match-head > .org-logo { flex: none; width: 56px; height: 56px; }
.fund-match-head > div { flex: 1; min-width: 0; }
.fund-match-head .card-meta { white-space: normal; overflow: visible; flex-wrap: wrap; }
.fund-req { margin-top: 4px; color: var(--eu); }   /* Find investments: what the company asked for */
.fund-match-head h3 { margin: 0 0 4px; font-size: 18px; }
.fund-verdict { flex: none; display: flex; flex-direction: column; align-items: flex-end; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ok); }
.fund-possible .fund-verdict { color: var(--warn); }
.fund-no .fund-verdict { color: var(--muted); }
.fund-verdict small { font-size: 12px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--muted); }
.fund-reason { margin: 14px 0 0; color: var(--ink); line-height: 1.55; }
.fund-next { margin: 10px 0 0; color: var(--slate); }
.fund-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.fund-others { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.fund-reason-sm { color: var(--slate); font-size: 14px; }
.fund-disclaimer { margin-top: 10px; }
.fund-answers dd { font-weight: 700; }
@media (max-width: 760px) { .fund-goals { grid-template-columns: 1fr; } .fund-match-head { flex-wrap: wrap; } .fund-verdict { align-items: flex-start; } .fund-list li { flex-direction: column; align-items: flex-start; } }
/* Contact: the Souverain link with its tiny logo (2026-11-10) */
.souv-link { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; white-space: nowrap; vertical-align: bottom; }
.souv-link svg { width: 16px; height: 16px; flex: none; }
