@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--navy:#0b2d5b;--navy2:#071b38;--blue:#2366a8;--gold:#f4b400;--gold2:#ffd782;--ink:#10264b;--muted:#64748b;--line:#e4eaf2;--bg:#f5f8fc;--white:#fff;--shadow:0 14px 40px rgba(15,42,78,.08)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'DM Sans',sans-serif;color:var(--ink);background:#fff}h1,h2,h3,b,strong{font-family:Manrope,sans-serif}a{color:inherit;text-decoration:none}.topbar{height:88px;display:flex;align-items:center;justify-content:space-between;padding:0 5%;gap:24px;background:#fff;position:sticky;top:0;z-index:5;border-bottom:1px solid #e8edf4}.brand,.admin-brand{display:flex;align-items:center;gap:12px;color:var(--navy);font-size:20px;line-height:1.05}.brand strong,.admin-brand b{color:#d99c16;display:block}.brand small{display:block;font-size:11px;margin-top:6px;font-weight:500}.brand-symbol{display:grid;place-items:center;background:var(--navy);color:var(--gold);width:46px;height:46px;border-radius:14px;font-size:32px;font-weight:800}.topbar nav{display:flex;gap:26px;color:#243b5b;font-size:14px}.topbar nav a:hover{color:#b78314}.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:12px;padding:13px 21px;font-weight:700;font-size:14px;cursor:pointer;transition:.2s}.btn:hover{transform:translateY(-1px);filter:brightness(1.02)}.gold{background:linear-gradient(135deg,#ffdc8e,#efb33e);color:#15243c}.primary{background:var(--navy);color:white}.outline{border:1px solid #cbd8e8;color:#fff;background:rgba(4,20,44,.2)}.full{width:100%}.hero{min-height:490px;position:relative;display:flex;align-items:center;padding:65px 7%;color:#fff;overflow:hidden;background:linear-gradient(90deg,rgba(4,20,44,.97),rgba(7,30,59,.86) 38%,rgba(7,30,59,.08)),url('https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?auto=format&fit=crop&w=2000&q=85') center 48%/cover}.hero-content{position:relative;z-index:1;max-width:710px}.eyebrow{font-size:11px;letter-spacing:3px;font-weight:700;color:#efbd50;margin-bottom:14px}.eyebrow.dark{color:#b17b0c}.hero h1{font-size:clamp(42px,6vw,76px);letter-spacing:-3px;line-height:.98;margin:0 0 10px;max-width:780px}.hero-tag{font-size:24px;font-weight:800;color:var(--gold2);margin:10px 0}.hero-sub{font-size:19px;font-weight:700;line-height:1.5;max-width:600px}.hero-desc{max-width:560px;color:#d9e3f1;line-height:1.7}.actions{display:flex;gap:12px;margin-top:26px;flex-wrap:wrap}.hero-note{position:absolute;right:6%;bottom:50px;border-left:2px solid var(--gold);padding-left:18px;letter-spacing:2px;font-weight:800;line-height:1.9;font-size:12px;color:#fff}.container{max-width:1400px;margin:auto;padding:0 5%}.intro{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center;padding:68px 0;border-bottom:1px solid var(--line)}h2{font-size:clamp(26px,3vw,38px);letter-spacing:-1.2px;margin:0;line-height:1.2}.intro p{color:#5a6c83;line-height:1.85;margin:0}.section{padding:64px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}.muted{color:var(--muted);font-size:13px}.pillar-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.pillar-card{padding:26px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(150deg,#fff,#f7faff);box-shadow:0 5px 20px rgba(20,50,90,.035);min-height:230px}.pillar-number{font-size:12px;letter-spacing:2px;color:#b17b0c;font-weight:800}.pillar-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:18px;background:#e5effa;color:var(--navy);font-size:30px;margin:17px 0}.pillar-card:nth-child(2) .pillar-icon{background:#fff2d6;color:#9b6d12}.pillar-card:nth-child(3) .pillar-icon{background:#dff4ec;color:#19775d}.pillar-card:nth-child(4) .pillar-icon{background:#fde7e7;color:#b72c36}.pillar-card h3{font-size:17px;line-height:1.3;margin:0 0 10px}.pillar-card p{font-size:14px;color:#5f6f84;line-height:1.7;margin:0}.process{background:var(--navy2);color:white;margin:0 calc((100% - 100vw)/2);padding:62px max(5%,calc((100vw - 1260px)/2))}.process h2{max-width:650px;margin-bottom:35px}.process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.process-grid>div{border-top:1px solid #4a607c;padding-top:18px}.process-grid b{color:var(--gold);font-size:13px}.process-grid h3{margin:12px 0 7px}.process-grid p{color:#c7d4e6;font-size:14px;line-height:1.6}.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.article-card,.empty-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}.article-card img{width:100%;height:170px;object-fit:cover}.article-body{padding:22px}.article-body h3{font-size:18px}.article-body p{font-size:14px;color:#617188;line-height:1.7}footer{background:#071b38;color:white;padding:38px 5%;display:flex;align-items:center;justify-content:space-between;gap:25px}.footer-brand{font-size:21px;font-weight:800}.footer-brand strong{color:var(--gold)}footer p{color:#c5d2e3;max-width:640px;line-height:1.6}.setup-page{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 80% 10%,#e6eef8,transparent 40%),#f4f7fb;padding:25px}.setup-card{width:min(100%,500px);padding:34px;background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow)}.setup-card h1{margin:20px 0 5px;font-size:30px}.setup-card>p{color:var(--muted);margin-top:0}.brand-mark{width:58px;height:58px;display:grid;place-items:center;border-radius:17px;background:var(--navy);color:#fff;font-weight:900;font-size:25px}.brand-mark span{color:var(--gold)}form label{display:block;font-size:13px;font-weight:700;margin:15px 0;color:#34465f}input,textarea,select{display:block;width:100%;margin-top:7px;border:1px solid #d8e1ed;border-radius:9px;padding:12px 13px;font:inherit;font-size:14px;color:var(--ink);background:#fff}input:focus,textarea:focus,select:focus{outline:2px solid #c9ddf5;border-color:#6d9ed4}textarea{resize:vertical;line-height:1.6}.setup-card h3{margin:25px 0 8px}.notice{padding:13px 15px;border-radius:10px;margin:15px 0;font-size:14px;line-height:1.6}.success{background:#e8f7ef;color:#176344;border:1px solid #c2ead5}.error{background:#fff0ef;color:#a32d2d;border:1px solid #f2cecb}.backlink{font-size:13px;color:#58708f}.admin-body{background:#f4f7fb;min-height:100vh}.admin-sidebar{position:fixed;inset:0 auto 0 0;width:250px;background:linear-gradient(180deg,#0b2d5b,#071b38);color:white;padding:24px 15px;display:flex;flex-direction:column;z-index:3}.admin-brand{color:#fff;font-size:15px;padding:0 10px 28px}.admin-brand b{font-size:14px}.sidebar-label{font-size:10px;letter-spacing:1.7px;color:#8fa5c4;padding:12px}.side-link{padding:13px 14px;border-radius:10px;color:#d6e1ef;font-size:14px;margin:2px 0}.side-link:hover,.side-link.active{background:#214875;color:#fff}.side-link.active{box-shadow:inset 3px 0 var(--gold)}.side-link.logout{margin-top:auto;color:#ffd2c8}.admin-main{margin-left:250px;padding:28px 32px;max-width:1800px}.admin-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;gap:20px}.admin-top h1{font-size:30px;margin:5px 0}.admin-top .muted{font-size:10px;letter-spacing:1.6px}.admin-user{display:flex;align-items:center;gap:10px}.admin-user b,.admin-user small{display:block;font-size:13px}.admin-user small{color:var(--muted);margin-top:4px}.avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#e1ecfa;color:var(--navy);font-weight:800}.welcome-banner{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:30px;border-radius:18px;background:linear-gradient(110deg,#0b2d5b,#194c7d);color:#fff;box-shadow:var(--shadow)}.welcome-banner h2{font-size:28px;margin:0 0 8px}.welcome-banner p{color:#d5e2f1;margin:0;font-size:14px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:20px 0}.stat-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:21px}.stat-card span,.stat-card small{display:block;color:var(--muted);font-size:12px}.stat-card strong{display:block;font-size:32px;margin:10px 0}.stat-card small{font-size:11px}.admin-columns{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}.panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:23px;min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.panel-head h2{font-size:18px;letter-spacing:-.3px}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick-grid>a{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:12px;padding:14px}.quick-grid>a>b{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#e9f1fb;color:var(--navy);font-size:20px}.quick-grid strong,.quick-grid small{display:block}.quick-grid strong{font-size:13px}.quick-grid small{font-size:11px;color:var(--muted);margin-top:4px}.quick-grid i{margin-left:auto;color:#8da0b9}.activity{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid #edf1f6}.activity:last-child{border-bottom:0}.activity-dot{width:9px;height:9px;background:var(--gold);border-radius:50%;margin-top:6px;flex:none}.activity b{font-size:13px}.activity p{font-size:12px;margin:4px 0;color:#566b84}.activity small{font-size:10px;color:#8493a6}.admin-foot{text-align:center;color:#8a99ac;font-size:11px;padding:24px 0}.form-panel{max-width:900px}.form-panel form{max-width:720px}.form-panel .panel-head a{color:#2a5e9a;font-size:13px}.manage-layout{display:grid;grid-template-columns:minmax(300px,.8fr) minmax(400px,1.2fr);gap:18px;align-items:start}.list-panel{overflow:hidden}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.8px;color:#74849a;background:#f7f9fc}td,th{padding:13px 10px;border-bottom:1px solid #edf1f6;vertical-align:top}td b,td small{display:block}td small{color:#7a899c;font-size:11px;line-height:1.5;margin-top:5px}.status{display:inline-block;border-radius:99px;padding:5px 8px;font-size:10px;font-weight:700}.status.published{background:#e1f6eb;color:#1a7550}.status.draft{background:#fff0d4;color:#926312}.row-actions{display:flex;gap:10px;align-items:center}.row-actions a{color:#2463a0;font-weight:700}.row-actions form{margin:0}.text-danger{border:0;background:none;color:#b53a3a;font:inherit;font-size:12px;cursor:pointer;padding:0}.empty-card{padding:25px;color:var(--muted);font-size:14px}@media(max-width:1100px){.topbar nav{gap:12px}.hero-note{display:none}.pillar-grid{grid-template-columns:repeat(2,1fr)}.admin-sidebar{width:210px}.admin-main{margin-left:210px;padding:22px}.admin-columns{grid-template-columns:1fr}.manage-layout{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.topbar{height:auto;padding:15px 5%;flex-wrap:wrap}.topbar nav{order:3;width:100%;overflow:auto;padding:8px 0}.brand{font-size:16px}.brand-symbol{width:38px;height:38px}.topbar>.btn{padding:10px 12px}.hero{padding:55px 6%;min-height:490px}.hero h1{letter-spacing:-1.5px}.hero-sub{font-size:16px}.intro{grid-template-columns:1fr;gap:18px;padding:45px 0}.section{padding:45px 0}.section-head{align-items:start;flex-direction:column}.pillar-grid,.process-grid,.article-grid{grid-template-columns:1fr}.process{padding-top:45px;padding-bottom:45px}.process-grid{gap:5px}.process-grid>div{padding:15px 0}.process-grid p{margin-bottom:5px}footer{align-items:flex-start;flex-direction:column}.admin-sidebar{position:static;width:auto;padding:12px;display:flex;flex-direction:row;flex-wrap:wrap;gap:5px}.admin-brand{width:100%;padding:4px 8px 12px}.sidebar-label{display:none}.side-link{font-size:11px;padding:9px}.side-link.logout{margin-top:0}.admin-main{margin:0;padding:16px}.admin-top{align-items:flex-start}.admin-user{display:none}.welcome-banner{align-items:flex-start;flex-direction:column;padding:22px}.welcome-banner h2{font-size:23px}.stats-grid{gap:9px}.stat-card{padding:15px}.stat-card strong{font-size:26px}.quick-grid{grid-template-columns:1fr}.panel{padding:16px}.manage-layout{grid-template-columns:minmax(0,1fr)}.list-panel{min-width:0}.setup-card{padding:25px}.hero-note{display:none}}
.survey-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0}.survey-metric{background:#fff;border:1px solid #e2e8f0;border-radius:16px;padding:24px;box-shadow:0 10px 28px rgba(8,29,53,.05)}.metric-top{display:flex;align-items:center;justify-content:space-between}.metric-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#fff3d5;color:#9a6b12;font-size:23px}.metric-status{font-size:11px;font-weight:700;padding:7px 10px;border-radius:99px;background:#eef2f6;color:#435469}.survey-metric .muted{font-size:12px;line-height:1.6}.survey-metric h2{font-size:21px;color:#0b2d5b;margin:6px 0 10px}.metric-number{display:block;font-size:38px;line-height:1.25;color:#0b2d5b;margin:12px 0}.metric-number small{font-size:18px;color:#738196}.metric-progress{height:9px;background:#e9eef4;border-radius:99px;overflow:hidden;margin:12px 0}.metric-progress span{display:block;height:100%;background:linear-gradient(90deg,#0b2d5b,#f4b400);border-radius:99px}.survey-metric>p:not(.muted){font-size:12px;line-height:1.65;color:#526276}.survey-metric .btn{margin-top:8px}@media(max-width:760px){.survey-dashboard-grid{grid-template-columns:1fr}}

/* Public live survey cards */
.public-surveys{margin:32px 0 44px}.public-survey-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.public-survey-card{background:#fff;border:1px solid #dfe6ef;border-radius:18px;padding:26px;box-shadow:0 10px 28px rgba(11,45,91,.06)}.public-survey-card h2{font-size:22px;margin:8px 0 12px;color:#0b2d5b}.public-survey-card .metric-number{font-size:38px;line-height:1.2;display:block;color:#0b2d5b;margin:12px 0}.public-survey-card .metric-number small{font-size:16px;color:#68788b;font-weight:500}.public-survey-card .metric-progress{height:8px;border-radius:20px;background:#e9eef5;overflow:hidden;margin:14px 0}.public-survey-card .metric-progress span{height:100%;display:block;background:linear-gradient(90deg,#0b2d5b,#f4b400);border-radius:20px}.voter-list{margin:22px 0}.vote-row{border-top:1px solid #e9edf3;padding:14px 0}.vote-name{display:flex;justify-content:space-between;gap:12px;font-size:13px;margin-bottom:8px}.vote-name b{color:#0b2d5b}.vote-bar{height:7px;background:#edf1f6;border-radius:12px;overflow:hidden;margin-bottom:10px}.vote-bar span{height:100%;display:block;background:#f0b83f;border-radius:12px}.vote-button{padding:9px 12px;font-size:12px}.satisfaction-form{margin:20px 0}.satisfaction-form label{display:block;font-weight:700;font-size:13px;margin:12px 0}.satisfaction-form select{width:100%;padding:12px;border:1px solid #dce3ec;border-radius:9px;background:#fff}.poll-notice{padding:14px 18px;margin:20px 0;background:#fff6dc;border:1px solid #eed58c;border-radius:10px;color:#654c13}.public-survey-card>small{display:block;margin-top:18px;line-height:1.6}@media(max-width:760px){.public-survey-grid{grid-template-columns:1fr}.public-survey-card{padding:20px}}

/* Candidate photos and live vote bars over the homepage mountain hero */
.hero-with-candidates{display:flex;flex-direction:column;align-items:stretch;gap:24px;padding:54px 5% 28px;background-attachment:scroll;min-height:unset}
.hero-with-candidates .hero-content{max-width:850px;width:100%}
.hero-candidate-panel{position:relative;z-index:2;width:100%;background:rgba(5,22,45,.82);border:1px solid rgba(255,255,255,.28);border-radius:14px;padding:12px 16px 10px;backdrop-filter:blur(9px);box-shadow:0 18px 48px rgba(0,0,0,.22);max-height:390px;overflow:auto}
.hero-panel-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;color:#fff;font-size:10px;letter-spacing:1.5px;font-weight:800;margin-bottom:10px}.hero-panel-heading b{letter-spacing:0;font-size:12px;color:#ffda85;white-space:nowrap}
.hero-candidate-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:10px;align-items:center;padding:7px 0;border-top:1px solid rgba(255,255,255,.14)}
.hero-candidate-photo{width:40px;height:40px;border-radius:12px;overflow:hidden;background:linear-gradient(145deg,#f4d68f,#dbe6f3);display:grid;place-items:center;color:#0b2d5b;font-size:21px;font-weight:800;flex:none}.hero-candidate-photo img{width:100%;height:100%;object-fit:cover;display:block}
.hero-candidate-info{min-width:0}.hero-candidate-name{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#fff;font-size:12px}.hero-candidate-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hero-candidate-name span{font-weight:800;color:#ffda85;font-size:12px;white-space:nowrap}.hero-vote-bar{height:6px;border-radius:99px;background:rgba(255,255,255,.2);overflow:hidden;margin:7px 0 4px}.hero-vote-bar span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#e6a92e,#ffdc85)}.hero-candidate-info small{color:#d1dced;font-size:10px}.hero-pick{border:1px solid #f4c45c;border-radius:8px;background:#f4c45c;color:#122747;font-size:10px;font-weight:800;padding:9px 10px;cursor:pointer}.hero-pick:hover{background:#ffdc85}.hero-panel-link{display:block;color:#ffdc85;font-size:11px;font-weight:700;text-align:center;padding-top:12px}.hero-no-candidates{font-size:13px;line-height:1.6;color:#d7e2f1}.vote-row{display:grid;grid-template-columns:52px minmax(0,1fr);column-gap:12px;align-items:center}.vote-row .vote-candidate-photo{grid-row:span 3;width:52px;height:52px;border-radius:12px;overflow:hidden;background:#e9eff6;display:grid;place-items:center;color:#0b2d5b;font-weight:800;font-size:20px}.vote-candidate-photo img{width:100%;height:100%;object-fit:cover}.vote-row form{grid-column:2}
@media(max-width:1000px){.hero-with-candidates{gap:22px;padding:42px 5% 24px}.hero-candidate-panel{max-width:none;width:100%;max-height:none}.hero-with-candidates .hero-content{max-width:100%}}
@media(max-width:600px){.hero-candidate-row{grid-template-columns:42px minmax(0,1fr) auto;gap:8px}.hero-candidate-photo{width:42px;height:42px}.hero-candidate-name{font-size:11px}.hero-pick{padding:8px}.hero-panel-heading{font-size:9px}}

/* Verified member voting */
.member-gate{background:#f1f5f9;border:1px solid #d8e2ee;border-radius:12px;padding:16px;margin:14px 0}.member-gate p{margin:0 0 10px;color:#19334f;line-height:1.6}.member-top{font-size:12px;color:#fff}.member-top a,.muted a{color:#c18a24;font-weight:700}.admin-top-link{font-size:12px;color:#d7e2ef;text-decoration:none;margin-left:10px}.hero-pick.voted{opacity:.8;cursor:default;display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:8px;background:#d8e2ee;color:#173453;font-size:11px;font-weight:700;text-decoration:none}.setup-card .notice{margin:12px 0}.setup-card label{display:block;margin:14px 0 6px;font-weight:700;font-size:13px}.setup-card input{width:100%;padding:11px;border:1px solid #d5dfeb;border-radius:8px;margin-top:6px}.setup-card .muted{font-size:12px;line-height:1.7}

/* Frontpage candidate panel: photos only */
.hero-photo-only{max-width:560px;max-height:none;overflow:visible;padding:14px 16px 10px}
.hero-photo-only .hero-panel-heading{display:flex;justify-content:space-between;align-items:center;color:#fff;font-size:11px;font-weight:800;letter-spacing:1px;padding:0 0 12px;border-bottom:1px solid rgba(255,255,255,.18)}
.hero-photo-only .hero-panel-heading b{color:#ffda85;font-size:12px;letter-spacing:0}
.hero-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding-top:12px}
.hero-photo-tile{position:relative;display:flex;flex-direction:column;align-items:stretch;min-width:0;border:1px solid rgba(255,255,255,.35);border-radius:13px;overflow:hidden;background:rgba(255,255,255,.06);box-shadow:0 2px 0 rgba(255,255,255,.08);text-decoration:none}
.hero-photo-tile img{width:100%;aspect-ratio:1/1;height:auto;object-fit:cover;display:block;transition:transform .25s ease;flex:none}
.hero-photo-tile:hover img{transform:scale(1.045)}
.hero-photo-placeholder{width:100%;aspect-ratio:1/1;display:grid;place-items:center;flex:none}
.hero-photo-placeholder svg{width:54%;height:54%;fill:none;stroke:#17395f;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.hero-photo-name{display:block;min-height:36px;padding:8px 5px 9px;text-align:center;color:#fff;font-size:12px;font-weight:800;line-height:1.35;overflow-wrap:anywhere;background:rgba(3,16,34,.55)}.hero-photo-hover{position:absolute;left:0;right:0;bottom:0;padding:8px 5px;text-align:center;background:linear-gradient(transparent,rgba(4,17,35,.92));color:#ffda85;font-size:10px;font-weight:800;opacity:0;transition:opacity .2s}
.hero-photo-tile:hover .hero-photo-hover,.hero-photo-tile:focus-visible .hero-photo-hover{opacity:1}
.hero-photo-only .hero-panel-link{padding-top:12px}
@media(max-width:600px){.hero-photo-only{padding:12px}.hero-photo-grid{gap:7px}.hero-photo-tile{border-radius:9px}.hero-photo-name{font-size:10px;min-height:34px;padding:7px 3px}.hero-photo-hover{opacity:1;font-size:9px;padding:7px 3px}.hero-photo-only .hero-panel-heading{font-size:10px}}

/* Member candidate suggestion workflow */
.member-suggest-cta{display:flex;align-items:center;gap:14px;padding-top:18px;padding-bottom:0;flex-wrap:wrap}.suggestion-card{max-width:900px}.suggestion-card textarea,.suggestion-review textarea{width:100%;border:1px solid #d6dee8;border-radius:8px;padding:12px;font:inherit;resize:vertical}.suggestion-history{margin-top:30px;padding-top:20px;border-top:1px solid #e2e8f0}.suggestion-history h2{font-size:22px;color:#0b2d5b}.suggestion-review{min-width:190px}.suggestion-review label{font-size:12px}.suggestion-review button{margin-top:8px}.admin-main td small{display:block;color:#748296;margin-top:4px;max-width:320px;white-space:normal}.member-top a{color:inherit;text-decoration:underline;text-underline-offset:3px}

/* Admin member deletion action */
.btn.danger{background:#b42318;color:#fff;border:1px solid #b42318}.btn.danger:hover{background:#8f1b13}


/* Banner ajakan berpartisipasi diposisikan di sisi kanan hero utama */
.hero.hero-with-candidates{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(320px,.98fr);align-items:center;column-gap:clamp(24px,4vw,64px);row-gap:24px;padding:54px 5% 34px;min-height:520px}
.hero-with-candidates .hero-content{grid-column:1;grid-row:1;max-width:760px;width:100%;z-index:2}
.hero-with-candidates .hero-promo-visual{grid-column:2;grid-row:1;display:block;position:relative;z-index:2;width:100%;max-width:360px;justify-self:end;border-radius:12px;overflow:hidden;box-shadow:0 18px 48px rgba(0,0,0,.30);border:1px solid rgba(255,255,255,.45);transition:transform .2s ease,box-shadow .2s ease}
.hero-with-candidates .hero-promo-visual:hover{transform:translateY(-3px);box-shadow:0 24px 55px rgba(0,0,0,.38)}
.hero-with-candidates .hero-promo-visual img{display:block;width:100%;height:auto;object-fit:contain}
.hero-with-candidates .hero-candidate-panel{grid-column:1/-1;grid-row:2;width:100%;box-sizing:border-box}
@media(max-width:900px){
 .hero.hero-with-candidates{grid-template-columns:minmax(0,1fr);min-height:unset;padding:40px 5% 28px;row-gap:22px}
 .hero-with-candidates .hero-content{grid-column:1;grid-row:1}
 .hero-with-candidates .hero-promo-visual{grid-column:1;grid-row:2;justify-self:start;width:min(100%,360px);max-width:100%}
 .hero-with-candidates .hero-candidate-panel{grid-column:1;grid-row:3}
 .hero-with-candidates .hero h1{letter-spacing:-1.5px}
}


/* Final homepage hero composition: clear left text area + question-mark leader visual */
.hero.hero-with-candidates{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:flex-start !important;
  min-height:560px !important;
  padding:54px 5% 62px !important;
  gap:24px !important;
  position:relative !important;
  overflow:hidden !important;
  background-color:#061b36 !important;
  background-image:
    linear-gradient(90deg,rgba(4,19,40,1) 0%,rgba(4,19,40,.98) 27%,rgba(4,19,40,.84) 43%,rgba(4,19,40,.16) 72%,rgba(4,19,40,.12) 100%),
    url('/whos_next/assets/who-next-question-hero.jpg') !important;
  background-repeat:no-repeat !important;
  background-position:center, right center !important;
  background-size:cover, auto 100% !important;
}
.hero.hero-with-candidates .hero-content{
  width:min(49%,650px) !important;
  max-width:650px !important;
  flex:0 1 650px !important;
  z-index:4 !important;
  margin:0 !important;
}
.hero.hero-with-candidates h1{
  max-width:640px !important;
  font-size:clamp(38px,4.4vw,64px) !important;
  line-height:1.02 !important;
  letter-spacing:-2px !important;
  overflow-wrap:normal !important;
}
.hero.hero-with-candidates .hero-tag{font-size:clamp(20px,2vw,27px) !important}
.hero.hero-with-candidates .hero-sub{
  max-width:570px !important;font-size:clamp(15px,1.35vw,19px) !important;
  line-height:1.48 !important;margin:12px 0 !important;
}
.hero.hero-with-candidates .hero-desc{max-width:540px !important;font-size:14px !important;line-height:1.65 !important}
.hero.hero-with-candidates .actions{margin-top:22px !important}
.hero.hero-with-candidates .hero-promo-visual{
  position:absolute !important;right:4.5% !important;top:50% !important;
  transform:translateY(-50%) !important;width:min(22%,285px) !important;
  max-width:285px !important;z-index:5 !important;
}
.hero.hero-with-candidates .hero-promo-visual:hover{transform:translateY(calc(-50% - 3px)) !important}
.hero.hero-with-candidates .hero-candidate-panel{
  position:absolute !important;left:5% !important;bottom:12px !important;
  width:min(47%,620px) !important;max-height:92px !important;z-index:5 !important;
}
@media(max-width:900px){
 .hero.hero-with-candidates{
   min-height:unset !important;flex-direction:column !important;align-items:flex-start !important;
   padding:40px 5% 28px !important;gap:20px !important;
   background-position:center, right center !important;background-size:cover, auto 72% !important;
 }
 .hero.hero-with-candidates .hero-content{width:100% !important;max-width:100% !important;flex:1 1 auto !important}
 .hero.hero-with-candidates h1{font-size:clamp(34px,8vw,52px) !important;letter-spacing:-1.2px !important}
 .hero.hero-with-candidates .hero-promo-visual{
   position:relative !important;top:auto !important;right:auto !important;transform:none !important;
   width:min(100%,300px) !important;max-width:300px !important;
 }
 .hero.hero-with-candidates .hero-promo-visual:hover{transform:translateY(-3px) !important}
 .hero.hero-with-candidates .hero-candidate-panel{
   position:relative !important;left:auto !important;bottom:auto !important;
   width:100% !important;max-height:240px !important;
 }
}


/* CLEAN FIX: use a text-free background crop so the hero copy is rendered only once by HTML */
.hero.hero-with-candidates{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:flex-start !important;
  min-height:560px !important;
  padding:52px 5% 42px !important;
  overflow:hidden !important;
  position:relative !important;
  background-color:#04172f !important;
  background-image:
    linear-gradient(90deg,#04172f 0%,rgba(4,23,47,.98) 34%,rgba(4,23,47,.68) 54%,rgba(4,23,47,.08) 82%),
    url('/whos_next/assets/who-next-question-hero-clean.jpg') !important;
  background-repeat:no-repeat !important;
  background-size:cover, auto 100% !important;
  background-position:center, 72% center !important;
}
.hero.hero-with-candidates .hero-content{
  position:relative !important;
  z-index:4 !important;
  width:52% !important;
  max-width:650px !important;
  flex:0 1 650px !important;
}
.hero.hero-with-candidates h1{
  max-width:610px !important;
  font-size:clamp(38px,4.1vw,62px) !important;
  line-height:1.02 !important;
  letter-spacing:-1.8px !important;
}
.hero.hero-with-candidates .hero-sub{
  max-width:570px !important;
  font-size:clamp(15px,1.25vw,18px) !important;
  line-height:1.48 !important;
}
.hero.hero-with-candidates .hero-desc{
  max-width:540px !important;
  font-size:14px !important;
  line-height:1.65 !important;
}
.hero.hero-with-candidates .hero-promo-visual{
  position:absolute !important;
  z-index:6 !important;
  right:4.5% !important;
  top:50% !important;
  width:min(22%,285px) !important;
  max-width:285px !important;
  transform:translateY(-50%) !important;
}
.hero.hero-with-candidates .hero-promo-visual:hover{transform:translateY(calc(-50% - 3px)) !important}
.hero.hero-with-candidates .hero-candidate-panel{
  position:absolute !important;
  z-index:5 !important;
  left:5% !important;
  bottom:10px !important;
  width:min(48%,620px) !important;
  max-height:90px !important;
}
@media(max-width:900px){
 .hero.hero-with-candidates{
  display:flex !important;flex-direction:column !important;align-items:flex-start !important;
  min-height:unset !important;padding:38px 5% 28px !important;gap:20px !important;
  background-position:center,70% center !important;background-size:cover,auto 75% !important;
 }
 .hero.hero-with-candidates .hero-content{width:100% !important;max-width:100% !important;flex:auto !important}
 .hero.hero-with-candidates h1{font-size:clamp(34px,8vw,50px) !important;letter-spacing:-1px !important}
 .hero.hero-with-candidates .hero-promo-visual{
  position:relative !important;top:auto !important;right:auto !important;transform:none !important;
  width:min(100%,300px) !important;max-width:300px !important;
 }
 .hero.hero-with-candidates .hero-promo-visual:hover{transform:translateY(-3px) !important}
 .hero.hero-with-candidates .hero-candidate-panel{
  position:relative !important;left:auto !important;bottom:auto !important;
  width:100% !important;max-height:240px !important;
 }
}

/* CMS-controlled hero image and focal position */
.hero.hero-with-candidates{
 background-image:linear-gradient(90deg,#04172f 0%,rgba(4,23,47,.98) 34%,rgba(4,23,47,.68) 54%,rgba(4,23,47,.08) 82%),var(--hero-bg-image,url('/whos_next/assets/who-next-question-hero-clean.jpg')) !important;
 background-position:center,var(--hero-bg-position,center) center !important;
}


/* LAYOUT REPAIR 2026-11-03: hero elements stay in document flow; no overlap */
.hero.hero-with-candidates{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(190px,250px) !important;
  grid-template-rows:auto auto !important;
  align-items:center !important;
  column-gap:clamp(22px,4vw,52px) !important;
  row-gap:26px !important;
  min-height:0 !important;
  height:auto !important;
  padding:48px clamp(24px,5vw,64px) 32px !important;
  overflow:hidden !important;
}
.hero.hero-with-candidates > .hero-overlay{position:absolute !important;inset:0 !important;pointer-events:none !important}
.hero.hero-with-candidates > .hero-content{
  grid-column:1 !important;grid-row:1 !important;
  width:100% !important;max-width:680px !important;min-width:0 !important;
  flex:none !important;position:relative !important;z-index:2 !important;
}
.hero.hero-with-candidates > .hero-promo-visual{
  grid-column:2 !important;grid-row:1 !important;
  position:relative !important;top:auto !important;right:auto !important;
  transform:none !important;justify-self:end !important;align-self:center !important;
  display:block !important;width:100% !important;max-width:250px !important;
  min-width:0 !important;z-index:3 !important;box-sizing:border-box !important;
}
.hero.hero-with-candidates > .hero-promo-visual img{
  display:block !important;width:100% !important;height:auto !important;max-width:100% !important;object-fit:contain !important;
}
.hero.hero-with-candidates > .hero-promo-visual:hover{transform:translateY(-3px) !important}
.hero.hero-with-candidates > .hero-candidate-panel{
  grid-column:1/-1 !important;grid-row:2 !important;
  position:relative !important;left:auto !important;right:auto !important;top:auto !important;bottom:auto !important;
  width:100% !important;max-width:none !important;max-height:none !important;
  height:auto !important;min-width:0 !important;box-sizing:border-box !important;
  overflow:visible !important;z-index:2 !important;margin:0 !important;
}
.hero.hero-with-candidates .hero-photo-grid{
  display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:12px !important;width:100% !important;
}
.hero.hero-with-candidates .hero-photo-tile{min-width:0 !important}
.hero.hero-with-candidates .hero-photo-tile img{width:100% !important;max-width:100% !important;object-fit:cover !important}
.hero.hero-with-candidates .actions{position:relative !important;margin-bottom:0 !important}
@media(max-width:760px){
  .hero.hero-with-candidates{
    grid-template-columns:minmax(0,1fr) !important;grid-template-rows:auto auto auto !important;
    row-gap:20px !important;padding:34px 20px 26px !important;
    background-position:center,70% center !important;background-size:cover,auto 100% !important;
  }
  .hero.hero-with-candidates > .hero-content{grid-column:1 !important;grid-row:1 !important;width:100% !important}
  .hero.hero-with-candidates > .hero-promo-visual{
    grid-column:1 !important;grid-row:2 !important;justify-self:start !important;
    width:min(100%,230px) !important;max-width:230px !important;
  }
  .hero.hero-with-candidates > .hero-candidate-panel{
    grid-column:1 !important;grid-row:3 !important;width:100% !important;
  }
  .hero.hero-with-candidates .hero-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  .hero.hero-with-candidates h1{font-size:clamp(34px,9vw,48px) !important;letter-spacing:-1px !important}
}
@media(max-width:420px){
  .hero.hero-with-candidates{padding-left:16px !important;padding-right:16px !important}
  .hero.hero-with-candidates .hero-photo-grid{grid-template-columns:1fr 1fr !important;gap:8px !important}
}

/* V8: visible member account actions in the white public header */
.topbar{gap:18px}
.member-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;min-width:0}
.member-header-name{font-size:12px;font-weight:700;color:#173453;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.member-logout-button{background:#0b2d5b;color:#fff;text-decoration:none;padding:10px 17px;border-radius:10px;font-size:13px;white-space:nowrap}
.member-logout-button:hover{background:#173f75;color:#fff}
.member-suggest-header{background:#f2f5f9;color:#173453;text-decoration:none;padding:10px 14px;border-radius:10px;font-size:13px;white-space:nowrap}
.member-suggest-header:hover{background:#e5edf6;color:#102b4d}
@media(max-width:850px){
 .topbar{height:auto;min-height:76px;padding:12px 4%;flex-wrap:wrap;gap:10px}
 .topbar nav{order:3;width:100%;justify-content:center;gap:16px;flex-wrap:wrap;font-size:13px}
 .member-header-actions{margin-left:auto;gap:6px}
 .member-header-name{display:none}
 .member-logout-button,.member-suggest-header{padding:9px 11px;font-size:12px}
}
@media(max-width:480px){
 .topbar nav{gap:11px;font-size:12px}
 .member-header-actions{width:100%;justify-content:flex-end}
}
