/* KindCongress – public site styles */
:root {
    --primary: #3e6db7;
    --primary-dark: #2f579a;
    --primary-light: #a9c4e4;
    --navy: #12294d;
    --navy-2: #0d1f3c;
    --bg: #f3f5f9;
    --band: #b9c9de;
    --text: #2b3445;
    --muted: #6b7688;
    --line: #e7ecf3;
    --radius: 8px;
    --shadow: 0 2px 12px rgba(16, 35, 68, .08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; }
.icon { vertical-align: -3px; }

html { scroll-behavior: smooth; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 800px; }

/* ---------- header (dark glass bar with gradient accent, compacts on scroll) ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(13, 27, 52, .96);
    transition: background .3s ease, box-shadow .3s ease;
}
.site-header::before {
    content: ""; display: block; height: 3px;
    background: linear-gradient(90deg, #3e6db7 0%, #39b9d8 55%, #5b8fd9 100%);
}
.site-header.scrolled {
    background: rgba(10, 22, 44, .95);
    box-shadow: 0 12px 32px rgba(7, 16, 34, .35);
}
.site-header a:focus-visible, .site-header button:focus-visible, .head-search input:focus-visible {
    outline: 2px solid #7aa6de; outline-offset: 2px;
}
.nav-wrap { display: flex; align-items: center; gap: 10px; height: 76px; }

/* logo */
.logo { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.logo-img {
    display: block; width: 42px; height: 42px; flex: 0 0 auto;
    object-fit: cover;
    box-shadow: 0 6px 16px rgba(62, 109, 183, .35);
}
.logo-word { display: flex; flex-direction: column; line-height: 1.12; color: #cfdcf2; font-size: 17px; font-weight: 400; }
.logo-word b { color: #fff; font-weight: 700; }

/* primary nav */
.main-nav { display: flex; align-items: center; gap: 5px; flex: 1; margin: 0 10px; min-width: 0; }
.main-nav > a, .dropdown > a {
    display: flex; align-items: center; gap: 6px; white-space: nowrap;
    color: #b9c8e2; font-size: 13px; font-weight: 500;
    padding: 9px 12px; border-radius: 10px;
    transition: color .2s ease, background .2s ease;
}
.main-nav > a:hover, .dropdown > a:hover,
.main-nav > a:focus-visible, .dropdown > a:focus-visible { color: #fff; background: rgba(255, 255, 255, .08); }
.main-nav > a.active, .dropdown > a.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(91, 143, 217, .32), rgba(91, 143, 217, .12));
    box-shadow: inset 0 0 0 1px rgba(122, 166, 222, .28);
}
.caret { display: inline-flex; transition: transform .25s ease; }
.dropdown:hover .caret, .dropdown:focus-within .caret { transform: rotate(180deg); }

/* dropdown cards — anchored to the HEADER's bottom edge (the header is the
   nearest positioned ancestor) so the card sits flush with the bar in both
   the 76px and the 62px scrolled state; an invisible ::before bridge keeps
   the pointer path from the trigger to the card inside .dropdown */
.dropdown .menu {
    position: absolute; top: 100%; min-width: 258px;
    background: #fff;
    border-radius: 0 0 14px 14px; padding: 8px; z-index: 60;
    box-shadow: 0 18px 44px rgba(9, 20, 40, .28), 0 2px 8px rgba(9, 20, 40, .10);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
}
.dropdown .menu::before {
    content: ""; position: absolute; left: 0; right: 0; top: -28px; height: 28px;
}
.dropdown:hover .menu, .dropdown:focus-within .menu {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .22s ease, transform .22s ease;
}
.dropdown .menu a {
    display: flex; align-items: center; gap: 11px;
    padding: 9px 11px; border-radius: 9px;
    font-size: 13.5px; font-weight: 500; color: #2b3a55;
    transition: background .18s ease, color .18s ease;
}
.dropdown .menu a:hover { background: #f1f6fd; color: var(--primary); }
.mi-ic {
    flex: 0 0 32px; width: 32px; height: 32px; border-radius: 9px;
    background: #edf3fb; color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    transition: background .18s ease, color .18s ease;
}
.dropdown .menu a:hover .mi-ic { background: var(--primary); color: #fff; }
.mi-tx { line-height: 1.3; }
.mi-tx b { display: block; font-weight: 600; font-size: 13px; color: inherit; }
.mi-tx small { display: block; font-size: 11px; color: #8291a9; margin-top: 1px; }

/* right side: search trigger + auth */
.nav-actions { display: flex; align-items: center; gap: 9px; flex: 0 0 auto; }
.inline-form { display: inline; }
/* header search is a BUTTON that opens the full-screen quick-search modal */
.head-search {
    display: inline-flex; align-items: center; gap: 8px;
    height: 40px; padding: 0 14px 0 12px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .09);
    color: #c7d3e8; font: inherit; font-size: 12.5px; font-weight: 500;
    letter-spacing: .2px; cursor: pointer; white-space: nowrap;
    transition: background .25s ease, border-color .25s ease, color .25s ease;
}
.head-search:hover { border-color: rgba(255, 255, 255, .34); color: #fff; background: rgba(255, 255, 255, .14); }
.hs-kbd {
    font-family: inherit; font-size: 10.5px; font-weight: 600; color: #8ba0c2;
    border: 1px solid rgba(255, 255, 255, .18); border-radius: 5px; padding: 2px 6px;
}
@media (max-width: 980px) {
    .hs-label, .hs-kbd { display: none; }
    .head-search { width: 40px; padding: 0; justify-content: center; }
}

/* full-screen quick search modal */
body.qs-locked { overflow: hidden; }
.qsearch {
    position: fixed; inset: 0; z-index: 300;
    display: flex; align-items: flex-start; justify-content: center;
    padding: 11vh 16px 24px;
}
.qsearch[hidden] { display: none; }
.qs-backdrop {
    position: absolute; inset: 0;
    background: rgba(4, 10, 24, .72); backdrop-filter: blur(6px);
    animation: qsFade .18s ease;
}
.qs-panel {
    position: relative; display: flex; flex-direction: column;
    width: 100%; max-width: 680px; max-height: 78vh;
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
    animation: qsPop .22s ease;
}
@keyframes qsFade { from { opacity: 0; } }
@keyframes qsPop { from { opacity: 0; transform: translateY(-14px) scale(.98); } }
.qs-form { display: flex; align-items: center; gap: 11px; padding: 14px 16px; border-bottom: 1px solid #e6ebf3; }
.qs-glyph { display: flex; color: #3e6db7; flex: 0 0 auto; }
.qs-form input {
    flex: 1; min-width: 0; border: 0; outline: none; background: transparent;
    font: inherit; font-size: 17px; color: #12203a;
}
.qs-form input::placeholder { color: #9aa8bf; }
.qs-close {
    flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; border: 0;
    background: #f1f5fb; color: #5a6b88; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.qs-close:hover { background: #e4ebf5; color: #12203a; }
.qs-body { overflow-y: auto; flex: 1; overscroll-behavior: contain; }
.qs-hint { padding: 30px 20px; text-align: center; color: #7d8ba3; font-size: 13.5px; line-height: 1.6; }
.qs-group + .qs-group { border-top: 1px solid #eef2f8; }
.qs-group-label {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 16px 4px; font-size: 11px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase; color: #8493ab;
}
.qs-group-label svg { color: #9aa8bf; }
.qs-item {
    display: flex; align-items: center; gap: 4px;
    padding: 9px 16px; text-decoration: none; color: #16233d;
}
.qs-item:hover, .qs-item.active { background: #f2f6fc; }
.qs-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.qs-title { font-size: 14px; font-weight: 600; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.qs-title mark { background: #fff0b8; color: inherit; padding: 0 1px; border-radius: 3px; }
.qs-meta { font-size: 12px; color: #7d8ba3; }
.qs-foot {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 9px 14px; border-top: 1px solid #e6ebf3; background: #fafbfe;
}
.qs-viewall { padding: 7px 12px; font-size: 12.5px; }
.qs-viewall:disabled { opacity: .45; cursor: default; }
.qs-hints { font-size: 11.5px; color: #8493ab; white-space: nowrap; }
.qs-hints kbd {
    font-family: inherit; font-size: 10.5px; font-weight: 600; color: #5a6b88;
    border: 1px solid #d7dfeb; border-bottom-width: 2px; border-radius: 4px;
    padding: 1px 5px; background: #fff;
}
@media (max-width: 640px) {
    .qsearch { padding-top: 6vh; }
    .qs-hints { display: none; }
}

/* compact desktop band: shrink logo + nav so everything fits */
@media (min-width: 1201px) and (max-width: 1360px) {
    .logo-word { display: none; }
    .main-nav { margin: 0 6px; }
    .main-nav > a, .dropdown > a { padding: 9px 10px; font-size: 12.5px; }
}

.btn-ghost, .btn-grad {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px; white-space: nowrap;
    font-family: inherit; font-size: 12.5px; font-weight: 600; letter-spacing: .2px;
    padding: 9px 17px; border-radius: 999px; cursor: pointer;
    transition: background .22s ease, border-color .22s ease, color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.btn-ghost { color: #dfe9fa; background: transparent; border: 1px solid rgba(255, 255, 255, .28); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-grad {
    color: #fff; border: 0;
    background: linear-gradient(135deg, #5b8fd9 0%, #3e6db7 55%, #35619f 100%);
    box-shadow: 0 6px 18px rgba(62, 109, 183, .38);
}
.btn-grad:hover { transform: translateY(-1px); box-shadow: 0 9px 22px rgba(62, 109, 183, .5); filter: brightness(1.06); }
.btn-grad:active { transform: none; }

.nav-user {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .14);
    transition: background .2s ease, border-color .2s ease;
}
.nav-user:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .3); }
.nav-avatar {
    width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto;
    background: linear-gradient(140deg, #6b9ae0, #3e6db7); color: #fff;
    font-size: 13px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.nav-logout {
    width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .16); background: transparent; color: #9fb2d4;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.nav-logout:hover { color: #ffb4b4; border-color: rgba(255, 180, 180, .45); background: rgba(255, 120, 120, .08); }

/* drawer-only blocks (mobile) */
.drawer-search, .drawer-auth { display: none; }

/* hamburger */
.nav-toggle {
    display: none; position: relative; z-index: 3; margin-left: auto;
    width: 42px; height: 42px; border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .07);
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    cursor: pointer;
}
.nav-toggle span {
    display: block; width: 18px; height: 2px; border-radius: 2px; background: #e8effb;
    transition: transform .28s ease, opacity .2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.nav-locked { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
    .site-header, .nav-wrap, .logo-img, .main-nav, .nav-backdrop, .dropdown .menu,
    .caret, .nav-toggle span, .head-search input, .btn-ghost, .btn-grad { transition: none; }
}

/* ---------- alerts ---------- */
.alert { margin: 14px 0; padding: 12px 16px; border-radius: 6px; font-size: 14px; }
.alert-success { background: #e5f5e9; color: #21703a; border: 1px solid #c8e9d1; }
.alert-error { background: #fdeaea; color: #a03030; border: 1px solid #f5caca; }

/* ---------- toasts (app-style flash notifications) ---------- */
.toast-stack { position: fixed; top: 18px; right: 18px; z-index: 10000; display: flex; flex-direction: column; gap: 10px; max-width: min(380px, calc(100vw - 36px)); }
.toast { display: flex; align-items: flex-start; gap: 10px; padding: 13px 14px; border-radius: 12px; background: #fff; color: #1e2b3a; border: 1px solid #e3e8ef; box-shadow: 0 12px 32px rgba(15, 30, 60, .18), 0 2px 8px rgba(15, 30, 60, .10); font-size: 14px; line-height: 1.45; opacity: 0; transform: translateX(18px); transition: opacity .25s ease, transform .25s ease; cursor: default; }
.toast.in { opacity: 1; transform: none; }
.toast.out { opacity: 0; transform: translateX(18px); }
.toast-icon { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.toast-success .toast-icon { background: #2e9e57; }
.toast-error .toast-icon { background: #d9534f; }
.toast-warning .toast-icon { background: #e0a028; }
.toast-info .toast-icon { background: #3e6db7; }
.toast-msg { flex: 1; overflow-wrap: anywhere; }
.toast-close { border: 0; background: transparent; color: #98a3b3; font-size: 19px; line-height: 1; cursor: pointer; padding: 0 2px; }
.toast-close:hover { color: #4a5568; }

/* ---------- hero ---------- */
.hero {
    background:
        radial-gradient(ellipse at 20% 20%, rgba(90, 130, 200, .35), transparent 55%),
        radial-gradient(ellipse at 80% 90%, rgba(62, 109, 183, .4), transparent 50%),
        linear-gradient(160deg, #0c1a33 0%, #12294d 55%, #0a1830 100%);
    color: #fff; text-align: center; padding: 96px 0 100px;
}
.hero h1 { font-size: 38px; letter-spacing: 4px; font-weight: 700; margin-bottom: 34px; }
.hero-search { display: flex; max-width: 580px; margin: 0 auto; box-shadow: 0 12px 34px rgba(0,0,0,.35); border-radius: 4px; overflow: hidden; }
.hero-search input {
    flex: 1; border: 0; padding: 15px 18px; font: inherit; font-size: 14px; outline: none; color: var(--text);
}
.hero-search button {
    width: 52px; border: 0; background: var(--primary); color: #fff; cursor: pointer; font-size: 16px;
}
.hero-search button:hover { background: var(--primary-dark); }

/* ---------- sections ---------- */
.section { padding: 58px 0; }
.section-alt { background: #fff; }
.sec-title { text-align: center; font-size: 28px; font-weight: 700; color: #16243c; margin-bottom: 6px; }
.sec-title span, .band-title span { color: var(--primary); }
.sec-sub { text-align: center; font-size: 11px; letter-spacing: 2px; color: var(--muted); margin-bottom: 34px; }
.sec-title-left { font-size: 20px; margin: 34px 0 18px; color: #16243c; }
.section-more { text-align: center; margin-top: 34px; }

/* ---------- conference cards ---------- */
.conf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.conf-card {
    background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    display: flex; flex-direction: column; transition: transform .18s ease, box-shadow .18s ease; color: var(--text);
}
.conf-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(16, 35, 68, .14); }
.conf-card.past { opacity: .75; }
.cc-media { position: relative; aspect-ratio: 16 / 10; background: #dde5f0; }
.cc-media img { width: 100%; height: 100%; object-fit: cover; }
.cc-chips {
    position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column;
    align-items: flex-end; gap: 5px; max-width: 78%;
}
.chip {
    color: #fff; font-size: 10.5px; font-weight: 500; padding: 5px 10px; border-radius: 3px;
    line-height: 1.35; text-align: right; overflow-wrap: anywhere;
}
.chip-date    { background: #4a7dc7; }
.chip-cat     { background: rgba(74, 125, 199, .88); }
.chip-country { background: rgba(74, 125, 199, .68); }
.chip-city    { background: rgba(74, 125, 199, .48); }
.cc-title { padding: 13px 15px 16px; font-size: 13.5px; font-weight: 600; line-height: 1.5; color: #22314b; }
.cc-cover { display: block; }
.cc-title-link { display: block; }
.cc-title-link:hover .cc-title { color: var(--primary); }
a.chip:hover { filter: brightness(1.15); }

/* ---------- countries ---------- */
.country-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.country-box {
    background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 14px 10px;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    font-size: 12.5px; font-weight: 600; color: #33445f; transition: all .15s ease;
}
.country-box:hover { border-color: var(--primary-light); box-shadow: var(--shadow); color: var(--primary); transform: translateY(-2px); }
.country-box .flag {
    font-size: 13px; font-weight: 700; letter-spacing: 1px; color: var(--primary);
    line-height: 1;
}
.country-box .flag-img { width: 27px; height: 20px; border-radius: 3px; }
.country-box small { font-size: 11px; font-weight: 500; color: var(--muted); }

/* category pills + city pills */
.cat-strip, .city-strip { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.cat-pill, .city-pill {
    background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px;
    font-size: 13px; font-weight: 600; color: #33445f; transition: all .15s ease;
}
.cat-pill:hover, .city-pill:hover { border-color: var(--primary); color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }

/* ---------- dark bands (journals / speakers) ---------- */
.band-dark { background: linear-gradient(165deg, #16305a, #0d2144); padding: 56px 0; }
.band-dark-2 { background: linear-gradient(165deg, #14294d, #0a1a35); }
.band-title { text-align: center; color: #fff; font-size: 15px; letter-spacing: 3px; font-weight: 700; margin-bottom: 32px; }
.journal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.journal-card { text-align: center; color: #d7e1f2; font-size: 12px; }
.journal-card img {
    width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .4); margin-bottom: 10px; transition: transform .18s ease;
}
.journal-card:hover img { transform: translateY(-4px); }
.journal-card:hover { color: #fff; }
.journals-page { grid-template-columns: repeat(4, 1fr); }

.speaker-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.speakers-page { grid-template-columns: repeat(4, 1fr); }
/* speaker cards moved to the v2 .spk-card styles (end of this file) */

/* ---------- centers ---------- */
.center-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.center-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: block; }
.center-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .3s ease; }
.center-card:hover img { transform: scale(1.04); }
.center-loc {
    position: absolute; left: 12px; top: 14px; background: rgba(23, 58, 110, .88); color: #fff;
    font-size: 10.5px; padding: 6px 10px; border-radius: 3px;
}
.center-loc a { color: #fff; }
.center-loc a:hover { text-decoration: underline; }
.center-card h3 { padding: 12px 15px; font-size: 14px; color: #22314b; background: #fff; }
.center-name { display: block; }
.center-name:hover h3 { color: var(--primary); }
.center-photo { border-radius: 6px; margin-bottom: 16px; }

/* ---------- activities ---------- */
.act-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 34px; }
.act { display: flex; gap: 14px; }
.act-icon {
    flex: 0 0 44px; width: 44px; height: 44px; border-radius: 6px; background: #e8effa;
    color: var(--primary); display: flex; align-items: center; justify-content: center;
}
.act h4 { font-size: 14px; margin-bottom: 4px; }
.act h4 a { color: #22314b; }
.act h4 a:hover { color: var(--primary); }
.act p { font-size: 12.5px; color: var(--muted); line-height: 1.55; }

/* ---------- page band (inner page titles) — dark, to sit under the dark header ---------- */
.page-band {
    background:
        radial-gradient(ellipse at 15% 20%, rgba(90, 130, 200, .35), transparent 55%),
        radial-gradient(ellipse at 85% 95%, rgba(62, 109, 183, .32), transparent 55%),
        linear-gradient(160deg, #0c1a33 0%, #12294d 58%, #0a1830 100%);
    color: #fff; padding: 42px 0 38px;
}
.page-band h1 { font-size: 24px; color: #fff; font-weight: 700; max-width: 900px; }
.page-band p { color: #b9c9e2; font-size: 13.5px; margin-top: 6px; }
.band-crumb { font-size: 12px; letter-spacing: .5px; margin-bottom: 8px; }
.band-crumb a { color: #c9d7ec; font-weight: 600; }
.band-crumb a:hover { color: #fff; }
.band-flag { font-size: 26px; margin-right: 8px; }
.band-flag .flag-img { width: 33px; height: 24px; border-radius: 3px; vertical-align: -4px; }
/* inline flag images (assets/flags/*.svg) used wherever flag() renders */
.flag-img {
    display: inline-block; width: 24px; height: 18px; object-fit: cover;
    border-radius: 2.5px; vertical-align: -4px;
    box-shadow: 0 0 0 1px rgba(16, 35, 68, .10);
}

/* ---------- taxonomy pages ---------- */
.tax-section { margin-top: 34px; }
.tax-section:first-of-type { margin-top: 6px; }
.tax-count { font-size: 14px; color: var(--muted); font-weight: 500; }

/* ---------- active filter notice ---------- */
.filter-notice {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 12px 16px; margin-bottom: 20px; font-size: 13px; box-shadow: var(--shadow);
}
.filter-notice .fn-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .8px; font-weight: 600; }
.filter-chip {
    display: inline-flex; align-items: center; gap: 7px;
    background: #e8effa; color: #2c4a77; border-radius: 999px; padding: 5px 12px; font-weight: 600;
}
.filter-chip a { color: #6b83a8; font-size: 15px; line-height: 1; }
.filter-chip a:hover { color: #a03030; }
.filter-clear { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.filter-clear:hover { color: #a03030; }

/* ---------- cards / common ---------- */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.card + .card { margin-top: 22px; }
.card-title { font-size: 17px; color: #16243c; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.empty-state { text-align: center; color: var(--muted); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: var(--primary); color: #fff; padding: 12px 22px; border-radius: 6px;
    font-size: 12.5px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase;
    border: 0; cursor: pointer; font-family: inherit; transition: background .15s ease;
}
.btn:hover { background: var(--primary-dark); color: #fff; }
.btn-light { background: var(--primary-light); }
.btn-light:hover { background: #8fb3de; }
.btn.ghost { background: #eef3fb; color: var(--primary); }
.btn.ghost:hover { background: #e2ecf9; }
.btn.wide { width: 100%; }

/* ---------- conference detail ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 24px; align-items: start; }
.cover-img { max-width: 360px; margin: 0 auto 20px; border: 1px solid var(--line); border-radius: 4px; }
.conf-desc { font-size: 14.5px; color: #3a475d; margin: 18px 0; }

.share-block h4 { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }
.share-row { display: flex; border-radius: 5px; overflow: hidden; }
.share-btn {
    flex: 1; color: #fff; font-size: 11.5px; font-weight: 500; padding: 11px 4px;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.share-btn:hover { filter: brightness(1.12); }
.share-fb { background: #3b5998; }
.share-tw { background: #1da1f2; }
.share-in { background: #0077b5; }
.share-wa { background: #25d366; }
.share-pi { background: #bd081c; }
.share-em { background: #6b7688; }

.sessions-list { list-style: none; }
.sessions-list li { padding: 8px 2px; border-bottom: 1px dashed var(--line); font-size: 14px; color: #3a475d; }
.sessions-list li:last-child { border-bottom: 0; }

.dates-table { width: 100%; border-collapse: collapse; }
.dates-table td { padding: 11px 14px; font-size: 14px; }
.dates-table tr.odd td { background: #eef2f8; }
.dates-table td:first-child { color: #3a475d; }
.dates-table td:last-child { text-align: left; font-weight: 500; color: #16243c; width: 130px; }
.date-note { font-size: 12px; color: var(--muted); margin-top: 12px; }

.action-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0; }
.btn-wide { grid-column: 1 / -1; }

/* sidebar event card */
.event-card { padding: 0; overflow: hidden; }
.event-card h3 { padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 15px; color: #16243c; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); }
.cd { background: var(--primary); color: #fff; text-align: center; padding: 14px 0; border-right: 1px solid rgba(255,255,255,.16); }
.cd:last-child { border-right: 0; }
.cd b { font-size: 20px; display: block; line-height: 1.2; }
.cd span { font-size: 9px; letter-spacing: 1.5px; opacity: .85; }
.ev-row { display: flex; gap: 12px; padding: 13px 20px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.ev-row:last-of-type { border-bottom: 0; }
.ev-ic { color: var(--primary); flex: 0 0 20px; margin-top: 2px; }
.ev-row small {
    display: block; color: var(--muted); font-size: 9.5px; letter-spacing: 1.2px;
    text-transform: uppercase; font-weight: 600;
}
.add-cal { margin: 6px 20px 20px; width: calc(100% - 40px); }

/* comments */
.comment-list { margin-bottom: 20px; }
.comment { border: 1px solid var(--line); border-radius: 6px; padding: 14px 16px; margin-bottom: 12px; }
.comment-meta { display: flex; justify-content: flex-start; align-items: center; gap: 10px; font-size: 12.5px; margin-bottom: 6px; }
.comment-meta span { color: var(--muted); }
.comment p { font-size: 14px; color: #3a475d; }
.comment-login { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.comment-reply { margin: 12px 0 0 22px; background: #f8fafd; }
.team-badge {
    background: #12294d; color: #ffd76a; border-radius: 999px; padding: 2px 8px;
    font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px;
}

/* forms */
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: #33445f; margin-bottom: 6px; }
.check-label { display: flex !important; align-items: center; gap: 8px; }
.check-label input { width: auto !important; }
input[type="text"], input[type="email"], input[type="password"], input[type="url"],
input[type="datetime-local"], input[type="date"], input[type="file"], textarea, select {
    width: 100%; padding: 10px 13px; border: 1px solid #d9e0ea; border-radius: 5px;
    font: inherit; font-size: 14px; color: var(--text); background: #fff; outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(62, 109, 183, .12); }
textarea { resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid .field.full { grid-column: 1 / -1; }
.hint { font-size: 11.5px; color: var(--muted); margin-top: 5px; }
.form-actions { display: flex; gap: 10px; margin-top: 8px; }

/* city typeahead suggestions under the "Other…" input (location.js) */
.city-ac {
    margin-top: 6px; border: 1px solid #d9e0ea; border-radius: 5px; background: #fff;
    box-shadow: 0 6px 18px rgba(18, 41, 77, .12); overflow: hidden;
}
.city-ac-item {
    display: block; width: 100%; text-align: left; padding: 8px 13px;
    border: 0; border-bottom: 1px solid #eef2f7; background: #fff;
    font: inherit; font-size: 14px; color: var(--text); cursor: pointer;
}
.city-ac-item:last-child { border-bottom: 0; }
.city-ac-item:hover { background: #f2f6fc; color: var(--primary); }

/* rich text editor (textarea.rich enhanced by editor.js) */
.rt { border: 1px solid #d9e0ea; border-radius: 5px; background: #fff; }
.rt:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(62, 109, 183, .12); }
.rt-bar {
    display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 6px;
    background: #f8fafd; border-bottom: 1px solid var(--line); border-radius: 5px 5px 0 0;
}
.rt-btn {
    min-width: 32px; height: 30px; padding: 0 7px; display: inline-flex; align-items: center; justify-content: center;
    gap: 2px; border: 0; background: none; color: #3d4c66; border-radius: 4px; cursor: pointer;
    font: inherit; font-size: 14px;
}
.rt-btn:hover { background: #e8effa; color: var(--primary); }
.rt-btn.on { background: #dbe7f8; color: var(--primary-dark); }
.rt-block { height: 30px; padding: 0 6px; border: 1px solid #d9e0ea; border-radius: 4px; background: #fff; color: #3d4c66; font: inherit; font-size: 12.5px; cursor: pointer; }
.rt-sep { width: 1px; height: 18px; background: var(--line); margin: 0 5px; }
.rt-area {
    min-height: 200px; max-height: 480px; padding: 12px 14px; font-size: 14px; line-height: 1.6;
    outline: none; overflow-y: auto; resize: vertical;
}
.rt-area:empty::before { content: attr(data-placeholder); color: #9aa7ba; }
.rt-area p { margin: 0 0 8px; }
.rt-area ul, .rt-area ol { margin: 0 0 8px 20px; }
.rt-area blockquote { border-left: 3px solid var(--primary-light); padding-left: 10px; margin: 0 0 8px; color: var(--muted); }
.rt-area h2, .rt-area h3, .rt-area h4 { margin: 10px 0 8px; color: #16243c; }
.rt-area a { text-decoration: underline; }
.rt-area img { max-width: 100%; height: auto; }
.rt-area table { border-collapse: collapse; margin-bottom: 8px; }
.rt-area th, .rt-area td { border: 1px solid var(--line); padding: 4px 8px; }

/* rendered rich-editor content (About / Scientific Sessions) */
.rich-content { font-size: 14.5px; color: #3a475d; }
.rich-content > *:first-child { margin-top: 0; }
.rich-content > *:last-child { margin-bottom: 0; }
.rich-content p { margin: 0 0 10px; }
.rich-content ul, .rich-content ol { margin: 0 0 10px 20px; }
.rich-content blockquote { border-left: 3px solid var(--primary-light); padding-left: 12px; margin: 0 0 10px; color: var(--muted); }
.rich-content h2, .rich-content h3, .rich-content h4 { color: #16243c; margin: 16px 0 8px; }
.rich-content a { text-decoration: underline; }
.rich-content img { border-radius: 6px; margin: 8px 0; }
.rich-content table { border-collapse: collapse; width: 100%; margin-bottom: 10px; }
.rich-content th, .rich-content td { border: 1px solid var(--line); padding: 8px 10px; font-size: 13.5px; }

/* ---------- filters / lists ---------- */
.filter-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 24px; }
.tabs { display: flex; gap: 6px; margin-bottom: 16px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.tabs a { font-size: 12px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; color: var(--muted); }
.tabs a.current { background: var(--primary); color: #fff; }
.filter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-form input[type="text"] { flex: 2; min-width: 200px; }
.filter-form select { flex: 1; min-width: 150px; width: auto; }
.filter-form .btn { padding: 10px 18px; }
.result-count { font-size: 13px; color: var(--muted); margin-bottom: 16px; }

.pager { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.pager a { min-width: 38px; text-align: center; padding: 8px 12px; border: 1px solid #d9e0ea; border-radius: 5px; background: #fff; font-size: 13px; color: #3a475d; }
.pager a.current { background: var(--primary); border-color: var(--primary); color: #fff; }
.pager .gap { min-width: 38px; text-align: center; padding: 8px 6px; font-size: 13px; color: var(--muted); }

/* ---------- blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
/* blog category filter pills (listing) + category label (cards / detail) */
.post-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.post-cats a { padding: 7px 15px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
    font-size: 13px; font-weight: 500; color: var(--muted); transition: border-color .15s, color .15s, background .15s; }
.post-cats a:hover { border-color: var(--primary); color: var(--primary); }
.post-cats a.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.post-cat { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .5px;
    text-transform: uppercase; color: var(--primary); }
a.post-cat:hover { text-decoration: underline; }
.post-body .post-cat { display: block; margin-bottom: 3px; }
.page-band .post-cat { font-size: 13px; letter-spacing: .3px; text-transform: none; color: #9fc1ec; font-weight: 600; }
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--text); transition: transform .18s ease; }
.post-card:hover { transform: translateY(-4px); }
.post-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-body { padding: 16px 18px 20px; }
.post-date { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.post-body h3 { font-size: 15.5px; margin: 6px 0 8px; color: #22314b; }
.post-body p { font-size: 13px; color: var(--muted); }
.post-hero { border-radius: 6px; margin-bottom: 18px; }
.post-full { font-size: 15px; color: #3a475d; }

/* journal detail: cover + description head box, then the full spec table */
.journal-head { display: flex; gap: 24px; align-items: flex-start; }
.journal-head-cover { width: 210px; flex: 0 0 210px; border: 1px solid var(--line); border-radius: 4px; }
.journal-head-desc { flex: 1; font-size: 14.5px; color: #3a475d; min-width: 0; }

.spec-card { padding: 0; overflow: hidden; }
.spec-card + .card, .spec-card + #comments.card { margin-top: 22px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.spec-table th, .spec-table td {
    border: 1px solid var(--line); padding: 11px 14px; text-align: left; vertical-align: middle;
}
.spec-table th { background: #eef2f8; color: #33445f; font-weight: 600; width: 19%; }
.spec-table td { color: #2b3445; overflow-wrap: anywhere; }

/* speaker detail page styles moved to the v2 .spk-* section (end of this file) */

/* social profile icon links */
.social-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.social-link {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid var(--line); color: var(--primary); background: #fff;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.social-link:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ---------- sidebar widgets (admin-managed) ---------- */
.widget {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); padding: 20px; margin-bottom: 22px;
}
.widget-title { font-size: 16px; font-weight: 700; color: #16243c; margin-bottom: 16px; }
.widget-body { font-size: 13.5px; color: #3a475d; }
.widget-empty { font-size: 13px; color: var(--muted); }
.widget-search input { margin-bottom: 10px; }
.widget-list { display: flex; flex-direction: column; }
.w-item {
    display: flex; gap: 12px; align-items: flex-start; padding: 10px 0;
    border-bottom: 1px solid var(--line); color: var(--text);
}
.w-item:first-child { padding-top: 0; }
.w-item:last-child { border-bottom: 0; padding-bottom: 0; }
.w-item img { width: 64px; height: 52px; object-fit: cover; border-radius: 4px; flex: 0 0 64px; }
.w-item-body { min-width: 0; }
.w-item-title { display: block; font-size: 13px; font-weight: 600; line-height: 1.45; color: #22314b; }
.w-item:hover .w-item-title { color: var(--primary); }
.w-meta { display: block; margin-top: 5px; }
.w-meta-row {
    display: flex; align-items: center; gap: 5px;
    font-size: 11.5px; color: var(--muted); line-height: 1.5;
}
.w-meta .icon { flex: 0 0 auto; color: var(--primary); }

/* search results page */
.search-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 26px; }

/* link-styled inline button (e.g. "Log out?" in the comment form) */
.btn-link {
    background: none; border: 0; padding: 0; font: inherit; font-size: 13px;
    color: var(--primary); cursor: pointer;
}
.btn-link:hover { text-decoration: underline; }
.comment-note { color: var(--muted); }


/* ---------- auth pages: split-panel card (brand side + form side) ---------- */
.auth-page { display: flex; min-height: 62vh; align-items: center; padding: 10px 0 30px; }
.auth-shell {
    width: 100%; max-width: 980px; margin: 0 auto;
    display: grid; grid-template-columns: 5fr 6fr;
    background: #fff; border-radius: 16px; overflow: hidden;
    box-shadow: 0 24px 60px rgba(13, 31, 60, .16), 0 4px 16px rgba(13, 31, 60, .08);
}

/* brand side (dark navy, echoing the header) */
.auth-brand {
    position: relative; overflow: hidden; color: #d5e0f2;
    background: linear-gradient(160deg, #16335e 0%, #12294d 45%, #0d1f3c 100%);
    padding: 40px 36px 32px;
    display: flex; flex-direction: column;
}
.auth-brand::before, .auth-brand::after { content: ""; position: absolute; border-radius: 50%; }
.auth-brand::before {
    width: 340px; height: 340px; right: -130px; top: -130px;
    background: radial-gradient(circle, rgba(57, 185, 216, .26), transparent 65%);
}
.auth-brand::after {
    width: 320px; height: 320px; left: -130px; bottom: -150px;
    background: radial-gradient(circle, rgba(91, 143, 217, .22), transparent 65%);
}
.ab-logo { position: relative; display: flex; align-items: center; gap: 11px; color: #fff; font-weight: 700; font-size: 14.5px; letter-spacing: .4px; }
.ab-mono {
    width: 40px; height: 40px; border-radius: 11px; flex: 0 0 auto;
    background: linear-gradient(135deg, #3e6db7, #39b9d8);
    box-shadow: 0 6px 16px rgba(57, 185, 216, .35);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800; letter-spacing: .5px; color: #fff;
}
.ab-body { position: relative; margin-top: auto; padding: 36px 0 24px; }
.ab-body h2 { color: #fff; font-size: 25px; line-height: 1.3; margin-bottom: 8px; }
.ab-body h2 em {
    font-style: normal;
    background: linear-gradient(90deg, #6fd0e8, #9cc4ef);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: #6fd0e8;
}
.ab-body > p { font-size: 13.5px; color: #aebfda; line-height: 1.7; }
.ab-points { position: relative; list-style: none; margin: 14px 0 0; padding: 0; }
.ab-points li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; font-size: 13.5px; color: #d5e0f2; line-height: 1.55; }
.ab-points li + li { border-top: 1px solid rgba(255, 255, 255, .08); }
.ab-ic {
    flex: 0 0 34px; height: 34px; border-radius: 9px; margin-top: 1px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15);
    display: flex; align-items: center; justify-content: center; color: #7cc7e0;
}
.ab-foot { position: relative; margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: #aebfda; }
.ab-foot a { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.ab-foot a:hover { border-color: #fff; }

/* form side */
.auth-panel { padding: 44px 48px 36px; display: flex; flex-direction: column; justify-content: center; }
.ap-eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; }
.auth-panel h1 { font-size: 24px; color: #16243c; line-height: 1.25; }
.ap-sub { font-size: 13.5px; color: var(--muted); margin: 6px 0 24px; line-height: 1.6; }
.auth-form { margin-top: 2px; }

/* icon-prefixed inputs */
.afield { margin-bottom: 15px; }
.afield > label { display: block; font-size: 12.5px; font-weight: 600; color: #33445f; margin-bottom: 6px; }
.afield-box { position: relative; }
.afield-box .afield-ic {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: #9aa7ba; pointer-events: none; transition: color .15s ease;
}
.afield-box input { padding-left: 42px; height: 46px; }
.afield-box:focus-within .afield-ic { color: var(--primary); }
.auth-form .pw-toggle { right: 9px; }

/* remember-me row */
.auth-check { margin: 2px 0 18px; }

/* gradient submit button */
.auth-submit {
    height: 47px; border: 0; border-radius: 7px; cursor: pointer; width: 100%;
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    background: linear-gradient(135deg, #3e6db7, #39b9d8);
    color: #fff; font-family: inherit; font-size: 13px; font-weight: 700;
    letter-spacing: .8px; text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(62, 109, 183, .32);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.auth-submit:hover { filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 13px 28px rgba(62, 109, 183, .4); }
.auth-submit:active { transform: none; }
.auth-submit:disabled { opacity: .65; cursor: default; transform: none; }

/* switch card divider + link row */
.auth-div { display: flex; align-items: center; gap: 12px; margin: 22px 0 12px; color: #a5b1c2; font-size: 10.5px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; }
.auth-div::before, .auth-div::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.auth-alt { font-size: 13.5px; color: var(--muted); margin-top: 4px; text-align: center; }
.auth-alt a { font-weight: 600; }

/* email verification page */
.verify-note { font-size: 13.5px; color: #44536b; line-height: 1.65; margin: -6px 0 18px; }
.verify-note b { color: #16243c; }
.verify-code { text-align: center; font-size: 22px; letter-spacing: 10px; font-weight: 600; color: #16243c; }
.verify-code::placeholder { letter-spacing: 6px; color: #b9c2d0; }
.auth-form .verify-resend { margin-top: 10px; }
.verify-resend .btn { text-transform: none; letter-spacing: .2px; font-size: 13px; }

@media (max-width: 880px) {
    .auth-shell { grid-template-columns: 1fr; max-width: 560px; }
    .auth-brand { padding: 22px 26px; }
    .ab-body, .ab-points, .ab-foot { display: none; }
    .ab-logo { font-size: 14px; }
    .auth-panel { padding: 30px 26px 28px; }
}

/* adv list */
.adv-list { margin: 14px 0 20px 2px; list-style: none; }
.adv-list li { padding: 8px 0; font-size: 14px; color: #3a475d; border-bottom: 1px dashed var(--line); }

/* ---------- footer ---------- */
/* keep the floating CTA card clear of the last content element on every page */
main { padding-bottom: 88px; }
.footer { position: relative; color: #c7d3e6; }

/* floating call-to-action card overlapping the page background */
.footer-cta { position: relative; z-index: 2; margin-top: -56px; }
.fcta-card {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: space-between; gap: 28px;
    padding: 34px 44px;
    border-radius: 18px;
    background: linear-gradient(105deg, #2f579a 0%, #3e6db7 48%, #2e9fc0 100%);
    box-shadow: 0 24px 60px -18px rgba(23, 48, 92, .55), 0 4px 18px rgba(23, 48, 92, .25);
}
.fcta-card::before, .fcta-card::after {
    content: ""; position: absolute; border-radius: 50%; pointer-events: none;
    border: 1.5px solid rgba(255, 255, 255, .16);
}
.fcta-card::before { width: 300px; height: 300px; right: -90px; top: -170px; }
.fcta-card::after { width: 190px; height: 190px; right: 130px; bottom: -120px; border-color: rgba(255, 255, 255, .10); }
.fcta-text h3 { color: #fff; font-size: 21px; font-weight: 700; letter-spacing: .2px; }
.fcta-text p { color: rgba(255, 255, 255, .82); font-size: 13.5px; margin-top: 6px; max-width: 560px; }
.fcta-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; position: relative; z-index: 1; }
.fcta-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: #1c3568;
    font-size: 14px; font-weight: 700; padding: 13px 24px; border-radius: 10px;
    box-shadow: 0 10px 24px rgba(9, 22, 46, .28);
    transition: transform .18s ease, box-shadow .18s ease;
}
.fcta-btn:hover { color: #1c3568; transform: translateY(-2px); box-shadow: 0 16px 30px rgba(9, 22, 46, .34); }
.fcta-btn .icon { vertical-align: -2px; transform: rotate(180deg); }
.fcta-alt {
    color: rgba(255, 255, 255, .9); font-size: 13.5px; font-weight: 600;
    padding: 13px 18px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 10px;
    transition: background .18s ease, border-color .18s ease;
}
.fcta-alt:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); color: #fff; }

/* deep navy body with glows, dot texture and a giant watermark */
.footer-main {
    position: relative; overflow: hidden; margin-top: 58px;
    background:
        radial-gradient(900px 420px at 88% -10%, rgba(57, 185, 216, .13), transparent 60%),
        radial-gradient(820px 520px at -8% 112%, rgba(62, 109, 183, .22), transparent 62%),
        #0c1a33;
}
.footer-main::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 22%, #000 78%, transparent);
}
.footer-main::after {
    content: "KindCongress";
    position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%);
    font-size: clamp(72px, 11.5vw, 164px); font-weight: 700; letter-spacing: .02em;
    color: rgba(255, 255, 255, .028); white-space: nowrap;
    pointer-events: none; user-select: none; line-height: 1;
}
.footer-grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.5fr .9fr .9fr 1.2fr; gap: 44px;
    padding: 66px 20px 56px;
}
.footer-col h4 {
    color: #fff; font-size: 12px; font-weight: 700;
    letter-spacing: 2.4px; text-transform: uppercase; margin-bottom: 12px;
}
.footer-rule { width: 36px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #3e6db7, #39b9d8); margin-bottom: 20px; }

/* brand column */
.footer-brand .brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand .brand-row img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; box-shadow: 0 8px 22px rgba(0, 0, 0, .4); }
.footer-brand .brand-word { font-size: 20px; font-weight: 700; color: #fff; letter-spacing: .3px; }
.footer-brand .brand-word b { color: #6fb6e8; }
.footer-brand p { font-size: 13px; line-height: 1.8; color: #9fb2d0; }
.footer-contact { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.footer-contact a, .footer-contact span {
    display: inline-flex; align-items: center; gap: 10px;
    color: #9fb2d0; font-size: 13px; transition: color .15s ease;
}
.footer-contact a:hover { color: #fff; }
.footer-contact .icon { color: #5d8fd4; flex: 0 0 auto; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .09);
    color: #b7c6e0; transition: all .18s ease;
}
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(62, 109, 183, .35); }

/* link columns */
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 2px; }
.footer-links a {
    display: inline-block; color: #9fb2d0; font-size: 13.5px; line-height: 2.05;
    transition: color .15s ease, transform .15s ease;
}
.footer-links a:hover { color: #fff; transform: translateX(4px); }

/* latest posts column */
.footer-post {
    display: flex; gap: 13px; align-items: center; margin-bottom: 15px;
    color: #9fb2d0; font-size: 13px; line-height: 1.55;
}
.footer-post:hover { color: #fff; }
.footer-post img {
    width: 56px; height: 42px; object-fit: cover; border-radius: 8px; flex: 0 0 56px;
    border: 1px solid rgba(255, 255, 255, .1); transition: transform .18s ease;
}
.footer-post:hover img { transform: scale(1.05); }
.footer-all-posts {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 6px;
    font-size: 12.5px; font-weight: 600; color: #6fb6e8;
}
.footer-all-posts:hover { color: #9ccbf0; }
.footer-all-posts .icon { vertical-align: -2px; transform: rotate(180deg); }

/* bottom bar */
.footer-bottom {
    position: relative; z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: rgba(7, 15, 31, .55);
}
.fbot-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; }
.fbot-in > span { font-size: 12.5px; color: #8fa0bd; }
.fbot-links { display: flex; align-items: center; gap: 22px; }
.fbot-links a { font-size: 12.5px; color: #8fa0bd; transition: color .15s ease; }
.fbot-links a:hover { color: #fff; }
.to-top {
    width: 38px; height: 38px; border-radius: 10px; flex: 0 0 38px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: #b7c6e0;
    transition: all .18s ease;
}
.to-top .icon { transform: rotate(90deg); }
.to-top:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-3px); }

@media (max-width: 1020px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px; padding: 54px 20px 46px; }
    .footer-cta { margin-top: -46px; }
    .fcta-card { flex-direction: column; align-items: flex-start; padding: 30px 32px; }
}
@media (max-width: 640px) {
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .fcta-actions { flex-direction: column; align-items: stretch; }
    .fcta-btn, .fcta-alt { justify-content: center; }
    .fbot-in { flex-direction: column; gap: 12px; padding: 18px 20px; text-align: center; }
    .footer-main::after { bottom: -14px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
    .conf-grid, .post-grid, .center-grid, .act-grid { grid-template-columns: repeat(2, 1fr); }
    .journal-grid { grid-template-columns: repeat(3, 1fr); }
    .speaker-grid { grid-template-columns: repeat(3, 1fr); }
    .country-grid { grid-template-columns: repeat(4, 1fr); }
    .detail-grid { grid-template-columns: 1fr; }
    .journals-page, .speakers-page { grid-template-columns: repeat(3, 1fr); }
    .search-grid { grid-template-columns: repeat(2, 1fr); }
}
/* mobile / tablet: slide-in drawer navigation */
@media (max-width: 1200px) {
    .nav-actions { display: none; }
    .nav-toggle { display: flex; }

    .nav-backdrop {
        position: fixed; inset: 0; z-index: 1;
        background: rgba(6, 13, 28, .6);
        opacity: 0; visibility: hidden;
        transition: opacity .3s ease, visibility 0s linear .3s;
    }
    .nav-backdrop.open { opacity: 1; visibility: visible; transition: opacity .3s ease; }

    .main-nav {
        position: fixed; top: 0; right: 0; bottom: 0; z-index: 2;
        width: min(332px, 88vw); margin: 0;
        display: flex; flex-direction: column; align-items: stretch; gap: 2px;
        padding: 18px 16px 24px; overflow-y: auto;
        background: #0e1f3e;
        box-shadow: -20px 0 50px rgba(4, 10, 24, .5);
        transform: translateX(105%);
        transition: transform .32s cubic-bezier(.22, .61, .36, 1);
    }
    .main-nav.open { transform: none; }
    .main-nav > a, .dropdown > a { padding: 12px 12px; font-size: 14.5px; }
    .main-nav > a.active, .dropdown > a.active { box-shadow: inset 0 0 0 1px rgba(122, 166, 222, .28); }

    .dropdown .menu {
        position: static; min-width: 0; display: flex; flex-direction: column; gap: 1px;
        opacity: 1; visibility: visible; transform: none;
        background: transparent; border: 0; border-radius: 0; box-shadow: none;
        padding: 0 0 4px 10px;
    }
    .dropdown .menu::before { content: none; }
    .dropdown .menu a { color: #9db1d4; padding: 8px 10px; font-size: 13.5px; }
    .dropdown .menu a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
    .mi-ic { background: rgba(255, 255, 255, .07); color: #9db1d4; width: 28px; height: 28px; flex-basis: 28px; }

    .drawer-search {
        display: flex; align-items: center; gap: 9px;
        margin: 2px 0 12px; padding: 0 14px; height: 44px; flex: 0 0 auto;
        border-radius: 12px; background: rgba(255, 255, 255, .08);
        border: 1px solid rgba(255, 255, 255, .14); color: #8ba0c2;
    }
    .drawer-search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; color: #fff; font: inherit; font-size: 14px; }
    .drawer-search input::placeholder { color: #8ba0c2; }

    .drawer-auth {
        display: flex; flex-direction: column; gap: 9px;
        margin-top: 14px; padding-top: 18px;
        border-top: 1px solid rgba(255, 255, 255, .1);
    }
    .drawer-auth form { display: block; }
    .drawer-user {
        display: flex; align-items: center; gap: 11px;
        padding: 7px 10px; border-radius: 12px;
        background: rgba(255, 255, 255, .06); color: #fff; font-weight: 600; font-size: 14px;
    }
    .btn-ghost.wide, .btn-grad.wide { width: 100%; padding: 11px 16px; }
}

@media (max-width: 760px) {
    .conf-grid, .post-grid, .center-grid, .act-grid, .country-grid { grid-template-columns: 1fr; }
    .journal-grid { grid-template-columns: repeat(2, 1fr); }
    .speaker-grid { grid-template-columns: repeat(2, 1fr); }
    .journals-page, .speakers-page { grid-template-columns: repeat(2, 1fr); }
    .hero h1 { font-size: 26px; }
    .action-btns { grid-template-columns: 1fr; }
    .share-row { flex-wrap: wrap; }
    .share-btn { flex: 1 1 33%; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .journal-head { flex-direction: column; }
    .journal-head-cover { width: 100%; flex: none; max-width: 300px; }
    .spec-table { font-size: 12.5px; }
    .spec-table th, .spec-table td { display: block; width: auto; }
    .search-grid { grid-template-columns: 1fr; }
}

/* login "remember me" checkbox */
.field-check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #33445f; margin-bottom: 18px; cursor: pointer; }
.field-check input { width: 16px; height: 16px; accent-color: var(--primary, #1a6ee0); cursor: pointer; }

/* the hidden attribute always wins, even over display rules below
   (upload preview, ready note — toggled from JS) */
[hidden] { display: none !important; }

/* ---------- conference submit form v2 (mirrors the admin resource form) ---
   Hero with a 3-step review strip, sectioned cards, sticky right rail
   (progress + section nav + accreditation toggles), drag & drop poster
   upload with live preview, sticky mobile action bar. */

/* hero */
.submit-hero {
    background:
        radial-gradient(ellipse at 15% 20%, rgba(90, 130, 200, .38), transparent 55%),
        radial-gradient(ellipse at 85% 95%, rgba(62, 109, 183, .35), transparent 55%),
        linear-gradient(160deg, #0c1a33 0%, #12294d 58%, #0a1830 100%);
    color: #fff; padding: 42px 0 104px;
}
.submit-hero .band-crumb { color: #8fa3c4; margin-bottom: 14px; }
.submit-hero .band-crumb a { color: #c9d7ec; }
.submit-hero .band-crumb a:hover { color: #fff; }
.submit-hero h1 { font-size: 30px; font-weight: 700; letter-spacing: .3px; }
.submit-hero-sub { color: #b9c9e2; font-size: 14.5px; line-height: 1.7; max-width: 660px; margin-top: 8px; }

.hero-steps { list-style: none; display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.step {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px; padding: 12px 18px 12px 14px;
    flex: 1 1 210px; max-width: 300px;
}
.step b {
    width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%;
    background: var(--primary); color: #fff; font-size: 15px;
    display: flex; align-items: center; justify-content: center;
}
.step strong { display: block; font-size: 14px; color: #fff; }
.step small { display: block; font-size: 11.5px; color: #9db1d1; margin-top: 1px; }

/* layout: main cards + sticky rail, overlapping the hero */
.submit-page { padding-top: 0; }
.submit-layout {
    display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px;
    align-items: start; margin-top: -62px; position: relative; z-index: 2;
}
.submit-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }

.form-section {
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    padding: 22px 24px 24px; box-shadow: var(--shadow);
    scroll-margin-top: 86px;
}
.sec-head {
    display: flex; gap: 13px; align-items: flex-start;
    padding-bottom: 15px; margin-bottom: 19px; border-bottom: 1px solid var(--line);
}
.sec-icon {
    width: 36px; height: 36px; flex: 0 0 36px; border-radius: 9px;
    background: #e8effa; color: var(--primary);
    display: inline-flex; align-items: center; justify-content: center;
}
.sec-titles { min-width: 0; }
.sec-head h3 { font-size: 15.5px; color: #16243c; }
.sec-head p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.sec-optional {
    margin-left: auto; flex: 0 0 auto;
    font-size: 10.5px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase;
    color: var(--muted); background: #f0f4fa; border-radius: 999px; padding: 4px 10px;
}

.form-section .form-grid { gap: 2px 20px; }
.form-section .field { margin-bottom: 18px; }
.form-section input[type="text"], .form-section input[type="email"], .form-section input[type="url"],
.form-section input[type="datetime-local"], .form-section input[type="date"],
.form-section select, .form-section textarea {
    border-radius: 8px; padding: 11px 14px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-section input:hover, .form-section select:hover, .form-section textarea:hover { border-color: #b9c6da; }

.req { color: #c0392b; }
.field-msg { display: block; font-size: 11.5px; font-weight: 600; color: #a03030; margin-top: 5px; }
.field-error label { color: #a03030; }
.field-error input, .field-error .rt { border-color: #d9534f; }

/* sticky right rail */
.submit-rail {
    position: sticky; top: 86px;
    display: flex; flex-direction: column; gap: 14px;
    max-height: calc(100vh - 102px); overflow-y: auto; scrollbar-width: thin;
}
.rail-box {
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    padding: 16px 18px; box-shadow: var(--shadow);
}
.rail-box h4 { font-size: 11px; letter-spacing: .8px; text-transform: uppercase; color: #5c6b84; margin: 0 0 11px; }
.rail-box .hint { margin-top: 10px; }
.rail-check {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 7px 0; font-size: 13px; color: var(--text); cursor: pointer;
}
.rail-check:hover span:first-child { color: var(--primary-dark); }

/* toggle switch (accreditation rail boxes) */
.switch { position: relative; display: inline-block; flex: 0 0 36px; width: 36px; height: 20px; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.switch i {
    position: absolute; inset: 0; background: #d5dde9; border-radius: 999px;
    transition: background .15s ease; pointer-events: none;
}
.switch i::before {
    content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px;
    border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .28);
    transition: transform .15s ease;
}
.switch input:checked + i { background: var(--primary); }
.switch input:checked + i::before { transform: translateX(16px); }
.switch input:focus-visible + i { box-shadow: 0 0 0 3px rgba(62, 109, 183, .3); }

/* required-fields progress (assets/js/submit.js) */
.submit-progressbar { height: 8px; border-radius: 999px; background: #e8eef6; overflow: hidden; }
.submit-progressbar i {
    display: block; height: 100%; width: 0; border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), #5f97d8);
    transition: width .3s ease;
}
.submit-count { font-size: 12.5px; color: var(--muted); margin-top: 7px; }
.submit-count b { color: var(--text); }
.submit-ready {
    display: flex; align-items: center; gap: 7px; margin-top: 12px;
    font-size: 12.5px; font-weight: 600; color: #21703a;
    background: #e5f5e9; border: 1px solid #c8e9d1; border-radius: 8px; padding: 8px 11px;
}
.rail-submit .btn { margin: 12px 0 4px; }
.rail-submit .hint { margin-top: 8px; }
.rail-submit.is-ready { border-color: #bfe3cb; background: linear-gradient(180deg, #f4fbf6, #fff 60%); }

/* rail section navigator */
.form-nav { display: flex; flex-direction: column; gap: 2px; }
.form-nav a {
    display: flex; align-items: center; padding: 7px 10px; border-radius: 8px;
    font-size: 12.5px; font-weight: 500; color: var(--muted);
}
.form-nav a:hover { background: #f4f7fc; color: var(--text); }
.form-nav a.active { background: #e8effa; color: var(--primary-dark); font-weight: 600; }

/* bottom action row */
.form-footer { display: flex; align-items: center; gap: 14px; padding: 2px 4px; flex-wrap: wrap; }
.form-footer-tip { font-size: 12px; color: var(--muted); }

/* drag & drop poster upload with live preview */
.upload-box {
    position: relative; border: 1.5px dashed #c9d4e4; border-radius: 10px; background: #fbfcfe;
    transition: border-color .15s ease, background .15s ease;
}
.upload-box:hover { border-color: var(--primary); background: #f8fafd; }
.upload-box.dragover { border-color: var(--primary); background: #eef3fb; }
.upload-box.has-error { border-color: #d9534f; background: #fdf6f6; }
.upload-box input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.upload-inner { display: flex; align-items: center; gap: 16px; padding: 16px 18px; min-height: 106px; }
.upload-preview { width: 84px; height: 84px; flex: 0 0 84px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.upload-ico {
    width: 44px; height: 44px; flex: 0 0 44px; border-radius: 10px;
    background: #e8effa; color: var(--primary);
    display: inline-flex; align-items: center; justify-content: center;
}
.upload-text { min-width: 0; }
.upload-text strong { display: block; font-size: 13px; color: var(--text); }
.upload-text span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.upload-file { color: var(--primary-dark) !important; font-weight: 600; overflow-wrap: anywhere; }
.upload-error { font-size: 12px; font-weight: 600; color: #a03030; margin-top: 7px; }

/* important dates editor (shared partial, public styling) */
.dates-editor { border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px 12px; background: #fbfcfe; }
.dates-predefined { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.dates-editor .date-row { display: flex; align-items: center; gap: 12px; padding: 6px 0; }
.dates-editor .date-row > label { flex: 1 1 auto; font-size: 13px; color: var(--text); }
.dates-editor .date-row > input[type="date"] { flex: 0 0 150px; margin: 0; max-width: 100%; }
.dates-editor .date-row-custom > input[type="text"] { flex: 1 1 auto; margin: 0; max-width: 100%; }
.dates-editor .date-row-custom > input[type="date"] { flex: 0 0 150px; margin: 0; max-width: 100%; }
.dates-editor .date-row-remove { flex: 0 0 auto; width: 26px; height: 26px; border: 1px solid var(--line);
    border-radius: 6px; background: #fff; color: var(--muted); font-size: 15px; line-height: 1; cursor: pointer; }
.dates-editor .date-row-remove:hover { background: #fdeaea; color: #a03030; border-color: #f3c8c8; }
.dates-editor-foot { display: flex; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap;
    border-top: 1px solid var(--line); padding-top: 10px; }
.dates-editor-foot .hint { margin: 0; }
.dates-editor-foot .btn { padding: 8px 14px; font-size: 11px; }

/* sticky mobile action bar (button targets the form via form="submit-form") */
.submit-mobilebar { display: none; }
.smb-progress { flex: 1; min-width: 0; }
.smb-count { font-size: 11.5px; color: var(--muted); margin-top: 5px; }
.smb-count b { color: var(--text); }

@media (max-width: 1120px) {
    .submit-layout { grid-template-columns: 1fr; }
    .form-nav { display: none; }
    .submit-rail { position: static; max-height: none; overflow: visible; }
    .rail-submit .btn { display: none; } /* the form-footer + mobile bar carry the action */
}
@media (max-width: 640px) {
    .dates-predefined { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .submit-hero { padding: 32px 0 92px; }
    .submit-hero h1 { font-size: 24px; }
    .hero-steps { gap: 10px; }
    .step { min-width: 0; flex: 1 1 100%; max-width: none; }
    .submit-layout { margin-top: -54px; }
    .form-section { padding: 18px 16px 20px; }
    .submit-page { padding-bottom: 88px; }
    .submit-mobilebar {
        display: flex; align-items: center; gap: 14px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
        background: #fff; border-top: 1px solid var(--line);
        box-shadow: 0 -8px 24px rgba(16, 35, 68, .12);
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    }
    .submit-mobilebar .btn { flex: 0 0 auto; }
}

/* ---------- organizer pages ---------- */
.verified-badge { color: var(--primary); }
/* Telegram-style icon-only verified badge (span keeps the tooltip) */
.org-verified {
    display: inline-flex; align-items: center; justify-content: center;
    line-height: 0; vertical-align: 2px; white-space: nowrap;
}
.org-verified-lg { vertical-align: 4px; }

/* directory cards */
.org-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.org-card {
    display: flex; align-items: center; gap: 16px; background: #fff;
    border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.org-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(16, 35, 68, .14); }
.org-logo { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 10px; background: #f0f4fa;
    border: 1px solid var(--line); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.org-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.org-card-body { min-width: 0; }
.org-card-name-row { display: flex; align-items: center; gap: 6px; }
.org-card-name { display: inline; font-size: 14.5px; font-weight: 600; color: #22314b; line-height: 1.4; }
.org-card-name:hover { color: var(--primary); }
.org-card-loc { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.org-card-meta { font-size: 12px; color: var(--muted); margin-top: 6px; font-weight: 500; }

/* manually promoted organizers — highlighted card (gold badge shows next to the name) */
.org-card.featured {
    border: 1px solid #f0d98c;
    background: linear-gradient(135deg, #fffcf0 0%, #ffffff 55%);
    box-shadow: 0 6px 18px rgba(186, 150, 30, .12);
}
.org-card.featured:hover { box-shadow: 0 12px 26px rgba(186, 150, 30, .20); }

/* profile hero */
.org-hero { background: linear-gradient(140deg, var(--navy) 0%, #1d3a68 60%, var(--primary-dark) 100%); color: #fff; }
.org-hero-wrap { display: flex; align-items: center; gap: 26px; padding-top: 34px; padding-bottom: 34px; flex-wrap: wrap; }
.org-hero-logo {
    flex: 0 0 116px; width: 116px; height: 116px; border-radius: 14px; background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .3); overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.org-hero-logo img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.org-hero-main { flex: 1 1 320px; min-width: 0; }
.org-hero-main h1 { color: #fff; font-size: 26px; line-height: 1.3; margin-bottom: 6px; }
.org-hero-meta { font-size: 13.5px; color: #c9d7ec; }
.org-hero-meta a { color: #fff; font-weight: 600; }
.org-hero-meta a:hover { text-decoration: underline; }
.org-hero-social .social-link { background: rgba(255, 255, 255, .12); color: #fff; }
.org-hero-social .social-link:hover { background: rgba(255, 255, 255, .25); }
.org-hero-stats { display: flex; gap: 14px; }
.org-stat {
    min-width: 86px; text-align: center; background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; padding: 12px 16px;
}
.org-stat b { display: block; font-size: 22px; line-height: 1.2; }
.org-stat span { font-size: 10.5px; text-transform: uppercase; letter-spacing: 1px; color: #c9d7ec; }

/* event tabs inside the profile page */
.org-tabs { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.org-tabs .card-title { margin-bottom: 0; }
.org-tab-links { display: flex; gap: 6px; }
.org-tab-links a {
    font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase;
    padding: 7px 15px; border-radius: 999px; color: var(--muted); background: #f0f4fa;
    border: 1px solid var(--line);
}
.org-tab-links a.current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* contact card */
.org-contact .add-cal { margin-top: 14px; }

/* organizer mini-card on the conference detail sidebar */
.org-mini { display: flex; gap: 14px; align-items: flex-start; }
.org-mini-logo { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 10px; background: #f0f4fa;
    border: 1px solid var(--line); object-fit: contain; padding: 4px; }
.org-mini-body { min-width: 0; }
.org-mini-body > small { font-size: 10.5px; text-transform: uppercase; letter-spacing: .8px; color: var(--muted); font-weight: 600; }
.org-mini-name { display: block; font-size: 15px; font-weight: 600; color: #22314b; margin: 3px 0 6px; }
.org-mini-name:hover { color: var(--primary); }
.org-mini-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12px; color: var(--muted); align-items: center; }
.org-mini-btn { margin-top: 12px; width: 100%; text-align: center; }

/* organizer line on conference cards */
.cc-org {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 0 15px 14px; font-size: 12px; color: var(--muted); font-weight: 500;
}
a.cc-org:hover { color: var(--primary); }

/* logo preview on the self-service form */
.org-logo-preview { width: 84px; height: 84px; object-fit: contain; border: 1px solid var(--line);
    border-radius: 10px; background: #f0f4fa; padding: 6px; margin-bottom: 8px; }

@media (max-width: 900px) {
    .org-grid { grid-template-columns: repeat(2, 1fr); }
    .org-hero-wrap { gap: 18px; }
    .org-hero-stats { width: 100%; }
    .org-stat { flex: 1; }
}
@media (max-width: 560px) {
    .org-grid { grid-template-columns: 1fr; }
    .org-hero-logo { flex-basis: 92px; width: 92px; height: 92px; }
}

/* honeypot anti-spam field (bots fill it, humans never see it) */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* ---------- my profile (v2: hero identity + settings form + rail) --------- */

/* status badges (submissions list — mirrors the admin panel's badges) */
.badge { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.badge-published { background: #e5f5e9; color: #21703a; }
.badge-pending   { background: #fdf3e0; color: #9a6b1a; }
.badge-draft     { background: #eef1f6; color: #5c6b84; }

/* hero identity row */
.profile-hero-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.pf-avatar {
    flex: 0 0 auto; width: 76px; height: 76px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #5f97d8, var(--primary-dark));
    border: 3px solid rgba(255, 255, 255, .35);
    color: #fff; font-size: 26px; font-weight: 600; letter-spacing: 1px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
    user-select: none;
}
.profile-hero-id h1 { font-size: 26px; font-weight: 700; letter-spacing: .3px; }
.profile-hero-mail { color: #b9c9e2; font-size: 14px; margin-top: 2px; overflow-wrap: anywhere; }

/* the settings form is one of two cards in the main column */
.profile-form { display: flex; flex-direction: column; gap: 18px; }

/* small action link on a section header (e.g. "Add conference") */
.sec-side-link {
    margin-left: auto; flex: 0 0 auto; align-self: center;
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12.5px; font-weight: 600; color: var(--primary); white-space: nowrap;
}
.sec-side-link:hover { text-decoration: underline; }

/* read-only locked value (email = the login identifier, not editable here) */
.ro-email {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 10px 13px; border: 1px solid #e3e9f2; border-radius: 5px;
    background: #f4f6fa; color: var(--muted); font-size: 14px;
    overflow-wrap: anywhere; cursor: not-allowed;
}
.ro-email .icon { flex: 0 0 auto; }

/* password inputs with a show/hide eye toggle */
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 44px; }
.pw-toggle {
    position: absolute; top: 50%; right: 7px; transform: translateY(-50%);
    width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center;
    border: 0; border-radius: 6px; background: none; color: var(--muted); cursor: pointer;
}
.pw-toggle:hover { background: #eef3fb; color: var(--primary); }
.pw-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }
.pw-toggle .pw-ico-hide { display: none; }
.pw-toggle.show .pw-ico-show { display: none; }
.pw-toggle.show .pw-ico-hide { display: inline-flex; }

/* live strength meter (4 segments + label) */
.pw-meter { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.pw-bars { display: flex; gap: 4px; flex: 1; }
.pw-bars i { height: 5px; border-radius: 999px; background: #e3e9f2; flex: 1; transition: background .15s ease; }
.pw-meter[data-level="1"] .pw-bars i.on { background: #d9534f; }
.pw-meter[data-level="2"] .pw-bars i.on { background: #e8a23a; }
.pw-meter[data-level="3"] .pw-bars i.on { background: #3e6db7; }
.pw-meter[data-level="4"] .pw-bars i.on { background: #2e9e57; }
.pw-strength { font-size: 12px; font-weight: 600; color: var(--muted); flex: 0 0 auto; }

/* requirements checklist (ticks turn green as they are met) */
.pw-rules { list-style: none; margin: 10px 0 0; padding: 0; }
.pw-rules li { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); padding: 2px 0; }
.pw-rules li::before {
    content: ''; width: 15px; height: 15px; flex: 0 0 15px; border-radius: 50%;
    border: 1.5px solid #c9d4e4; box-sizing: border-box; background: center / 8px no-repeat;
    transition: border-color .15s ease;
}
.pw-rules li.ok { color: #21703a; }
.pw-rules li.ok::before {
    border-color: #2e9e57;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e9e57' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* live "passwords match" hint under the confirm field */
.pw-match.ok { color: #21703a; font-weight: 600; }
.pw-match.err { color: #a03030; font-weight: 600; }

/* my submitted conferences list */
.prof-conf-list { list-style: none; }
.prof-conf {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 2px; border-bottom: 1px dashed var(--line);
}
.prof-conf:last-child { border-bottom: 0; }
.prof-conf-thumb {
    flex: 0 0 64px; width: 64px; height: 44px; border-radius: 5px; overflow: hidden;
    background: #dde5f0; border: 1px solid var(--line);
}
.prof-conf-thumb img { width: 100%; height: 100%; object-fit: cover; }
.prof-conf-thumb .prof-thumb-fallback {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%; font-weight: 700; font-size: 18px; color: #5b6b85;
}
.prof-conf-body { min-width: 0; flex: 1; }
.prof-conf-title {
    display: block; font-size: 14px; font-weight: 600; color: #22314b; line-height: 1.45;
}
.prof-conf-title:hover { color: var(--primary); }
.prof-conf-meta { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); margin-top: 2px; }
.prof-conf-meta .icon { color: var(--primary); }

/* my submissions: type group label (Conferences / Webinars / Journals) */
.prof-group {
    margin: 14px 0 4px; font-size: 11px; letter-spacing: 1.2px;
    text-transform: uppercase; font-weight: 600; color: var(--muted);
}
.prof-group:first-of-type { margin-top: 2px; }
.prof-group span { color: var(--primary); }
.prof-empty-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }

/* rail: organizer page box */
.rail-org-name { font-size: 14px; font-weight: 600; color: #16243c; margin-bottom: 10px; overflow-wrap: anywhere; }
.rail-org-name .org-verified { vertical-align: 3px; }

@media (max-width: 560px) {
    .pf-avatar { width: 64px; height: 64px; font-size: 22px; }
    .prof-conf { flex-wrap: wrap; }
    .prof-conf .badge { margin-left: 78px; } /* aligns with the text column (thumb 64 + gap 14) */
}

/* ---------- speakers v2 (directory + profile) -------------------------------
   Directory: dark hero with directory stats, filter card, Featured section and
   white photo cards. Profile: hero identity (photo ring + degree chip) over the
   standard detail-grid. Cards are used site-wide (home band, search, taxonomy). */

/* hero (shared by the listing and the profile) */
.spk-hero {
    background:
        radial-gradient(ellipse at 15% 20%, rgba(90, 130, 200, .38), transparent 55%),
        radial-gradient(ellipse at 85% 95%, rgba(62, 109, 183, .35), transparent 55%),
        linear-gradient(160deg, #0c1a33 0%, #12294d 58%, #0a1830 100%);
    color: #fff; padding: 40px 0 46px;
}
.spk-hero .band-crumb { color: #8fa3c4; margin-bottom: 18px; }
.spk-hero .band-crumb a { color: #c9d7ec; }
.spk-hero .band-crumb a:hover { color: #fff; }
.spk-hero .band-crumb span { color: #55688c; }
.spk-hero-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.spk-hero h1 { font-size: 30px; font-weight: 700; letter-spacing: .3px; line-height: 1.25; }
.spk-hero h1 span { color: #8fb7e8; }
.spk-hero-sub { color: #b9c9e2; font-size: 14.5px; line-height: 1.7; max-width: 620px; margin-top: 8px; }
.spk-hero-main .btn { margin-top: 16px; }
.page-band .btn { margin-top: 14px; }
.spk-hero-stats { display: flex; gap: 14px; }
.spk-stat {
    min-width: 96px; text-align: center; background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; padding: 12px 16px;
}
.spk-stat b { display: block; font-size: 22px; line-height: 1.2; }
.spk-stat span { font-size: 10.5px; text-transform: uppercase; letter-spacing: 1px; color: #c9d7ec; }

/* profile hero: photo ring + identity */
.spk-hero-profile { padding: 34px 0 40px; }
.spk-hero-id { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.spk-hero-photo {
    flex: 0 0 128px; width: 128px; height: 128px; border-radius: 20px; overflow: hidden;
    border: 3px solid rgba(255, 255, 255, .35); background: #f0f4fa;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .35); display: flex;
}
.spk-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.spk-hero-main { flex: 1 1 320px; min-width: 0; }
.spk-hero-main h1 { margin-bottom: 8px; }
.spk-degree {
    display: inline-flex; align-items: center; gap: 7px; margin: 0 0 8px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px; padding: 5px 13px; font-size: 12px; font-weight: 500; color: #dbe7f8;
}
.spk-degree .icon { color: #ffd76a; }
.spk-hero-meta { font-size: 13.5px; color: #c9d7ec; }
.spk-hero-meta a { color: #fff; font-weight: 600; }
.spk-hero-meta a:hover { text-decoration: underline; }
.spk-hero-profile .social-links { margin-top: 12px; }

/* initials avatar (no photo uploaded) — deterministic gradient per name */
.spk-avatar {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 34px; font-weight: 600; letter-spacing: 1px; user-select: none;
}
.spk-avatar.g0 { background: linear-gradient(135deg, #6ea1e0, #3e6db7); }
.spk-avatar.g1 { background: linear-gradient(135deg, #7b88c9, #4a5aa8); }
.spk-avatar.g2 { background: linear-gradient(135deg, #58b1c9, #2e7d96); }
.spk-avatar.g3 { background: linear-gradient(135deg, #93a5c4, #5d7195); }
.spk-avatar-lg { font-size: 42px; }

/* cards */
.spk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.spk-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.spk-card {
    background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
    box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.spk-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(16, 35, 68, .14); }
.spk-media {
    position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #eef2f8;
}
.spk-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.spk-card:hover .spk-media img { transform: scale(1.06); }
.spk-badge {
    position: absolute; top: 10px; left: 10px;
    display: inline-flex; align-items: center; gap: 5px;
    background: linear-gradient(135deg, #f7cf4d, #e2a600); color: #4a3800;
    border-radius: 999px; padding: 4px 11px; font-size: 10.5px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .5px; box-shadow: 0 3px 10px rgba(0, 0, 0, .22);
}
.spk-body { padding: 14px 16px 16px; }
.spk-name { font-size: 15px; font-weight: 600; line-height: 1.35; }
.spk-name a {
    color: #22314b; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.spk-name a:hover { color: var(--primary); }
.spk-role {
    font-size: 12.5px; color: var(--muted); margin-top: 3px; line-height: 1.45;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.spk-loc {
    display: flex; align-items: center; gap: 6px; margin-top: 9px;
    font-size: 12.5px; color: var(--muted);
}
.spk-loc .icon, .spk-loc { font-size: 12.5px; }
.spk-loc a { color: #3a5178; font-weight: 500; }
.spk-loc a:hover { color: var(--primary); }
.spk-social { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.spk-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line);
    color: var(--muted); transition: color .15s ease, border-color .15s ease;
}
.spk-social a:hover { color: var(--primary); border-color: var(--primary); }

/* featured cards — gold tint, mirrors the featured organizer card */
.spk-card.featured { border-color: #f0d98c; background: linear-gradient(135deg, #fffcf0 0%, #ffffff 55%); }
.spk-card.featured:hover { box-shadow: 0 12px 26px rgba(186, 150, 30, .20); }

/* featured section heading between the two grids */
.spk-featured-head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 12px; flex-wrap: wrap; margin: 4px 0 14px;
}
.spk-sec-title {
    display: flex; align-items: center; gap: 8px;
    font-size: 17px; font-weight: 700; color: #16243c;
}
.spk-sec-title .icon { color: #e2a600; }
.spk-featured { margin-bottom: 38px; }
.spk-featured .spk-featured-head, .spk-featured-head + .spk-featured { margin-top: 0; }

/* filter card */
.spk-filter { display: flex; gap: 12px; align-items: center; }
.spk-filter-fields { display: flex; gap: 10px; flex: 1; min-width: 0; }
.spk-filter-fields input[type="text"] { flex: 2; min-width: 180px; }
.spk-filter-fields select { flex: 1; min-width: 140px; width: auto; }
.spk-filter .btn { flex: 0 0 auto; padding: 10px 20px; }

/* empty state */
.spk-empty { padding: 46px 24px; }
.spk-empty-ico {
    width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 50%;
    background: #eef2f8; color: var(--primary); display: flex; align-items: center; justify-content: center;
}
.spk-empty h3 { color: #22314b; margin-bottom: 6px; }
.spk-empty p { margin-bottom: 18px; }

/* biography card on the profile */
.spk-bio { font-size: 15px; line-height: 1.75; color: #3a475d; }

@media (max-width: 1020px) {
    .spk-grid { grid-template-columns: repeat(3, 1fr); }
    .spk-hero-row { flex-direction: column; align-items: flex-start; justify-content: flex-start; }
    .spk-hero-stats { width: 100%; }
    .spk-stat { flex: 1; }
}
@media (max-width: 760px) {
    .spk-grid { grid-template-columns: repeat(2, 1fr); }
    .spk-grid.cols-2 { grid-template-columns: 1fr; }
    .spk-hero { padding: 32px 0 38px; }
    .spk-hero h1 { font-size: 24px; }
    .spk-hero-photo { flex-basis: 96px; width: 96px; height: 96px; border-radius: 16px; }
    .spk-hero-id { gap: 16px; }
    .spk-avatar-lg { font-size: 32px; }
    .spk-filter { flex-direction: column; align-items: stretch; }
    .spk-filter .btn { width: 100%; }
    .spk-filter-fields { flex-direction: column; }
    .spk-filter-fields input[type="text"], .spk-filter-fields select { width: 100%; min-width: 0; }
}
