:root{--bg:#080d18;--surface:#101a2b;--surface2:#142238;--line:#26364d;--text:#f0f4fb;--muted:#a0aec2;--violet:#9284ff;--cyan:#5bd8ce;--gold:#d5bd85}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:15px/1.65 Inter,system-ui,-apple-system,"Segoe UI",sans-serif}a{color:inherit;text-decoration:none}.site-header{height:88px;display:flex;align-items:center;justify-content:space-between;gap:26px;padding:0 max(4vw,calc((100% - 1320px)/2));border-bottom:1px solid #ffffff12;background:#080d18ed;position:sticky;top:0;z-index:20;backdrop-filter:blur(18px)}.brand{display:flex;align-items:center;gap:12px;flex-shrink:0}.brand-symbol{width:42px;height:42px;display:grid;place-items:center;border:1px solid #8d83ed77;border-radius:12px;background:linear-gradient(140deg,#9284ff33,#56d8ce18);font-family:Georgia,serif;font-size:25px;color:#c9c2ff}.brand b{display:block;font-size:13px;letter-spacing:1.8px}.brand small{display:block;font-size:9px;letter-spacing:1.8px;color:#8e9cb2}.main-nav{display:flex;align-items:center;justify-content:center;gap:clamp(10px,1.5vw,24px)}.main-nav a,.lang-switch a{font-size:11px;color:#b6c1d3;white-space:nowrap;transition:.2s}.main-nav a:hover,.lang-switch a:hover,.lang-switch .active{color:#fff}.lang-switch{display:flex;gap:8px}.lang-switch a{padding:5px 6px;border:1px solid transparent;border-radius:5px}.lang-switch .active{border-color:#7d72dc}.menu-toggle{display:none;background:none;border:0;color:white;font-size:23px}.site-main{min-height:65vh}.hero{position:relative;overflow:hidden;min-height:590px;padding:110px max(8vw,calc((100% - 1200px)/2)) 65px;background:radial-gradient(ellipse at 78% 38%,#30336b66,transparent 38%),radial-gradient(ellipse at 95% 85%,#1b827c26,transparent 35%),linear-gradient(120deg,#0a1120,#0b1221 60%,#10172a)}.hero:after{content:"";position:absolute;inset:0;background-image:linear-gradient(#ffffff06 1px,transparent 1px),linear-gradient(90deg,#ffffff06 1px,transparent 1px);background-size:68px 68px;mask-image:linear-gradient(to right,transparent 20%,black 100%);pointer-events:none}.hero>*:not(.hero-orbit){position:relative;z-index:2}.hero-kicker,.eyebrow{font-size:10px;font-weight:800;letter-spacing:2.6px;color:var(--cyan)}.hero h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:clamp(43px,6.4vw,82px);line-height:1.08;letter-spacing:-2px;max-width:850px;margin:25px 0;background:linear-gradient(100deg,#fff 10%,#c9c7ff 70%,#80e5dc);background-clip:text;color:transparent}.hero p{max-width:660px;font-size:18px;color:#b1bed1}.hero-actions{display:flex;gap:13px;flex-wrap:wrap;margin-top:32px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:15px;padding:12px 18px;border-radius:7px;font-size:12px;font-weight:700;letter-spacing:.2px;transition:.2s;border:1px solid transparent}.btn-primary{background:linear-gradient(110deg,#796be4,#4c9eaa);color:#fff}.btn-primary:hover{filter:brightness(1.15);transform:translateY(-2px)}.btn-ghost,.btn-outline{border-color:#65748d88;color:#e3e9f3;background:#ffffff05}.btn-ghost:hover,.btn-outline:hover{border-color:var(--cyan)}.hero-meta{display:flex;gap:25px;flex-wrap:wrap;margin-top:62px;color:#8392a9;font-size:10px;letter-spacing:1.1px}.hero-meta i{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--cyan);margin-right:9px;box-shadow:0 0 12px var(--cyan)}.hero-orbit{position:absolute;border:1px solid #a9a0ff22;border-radius:50%;width:480px;height:480px;right:6%;top:40px;z-index:1}.orbit-two{width:330px;height:330px;right:11%;top:115px;border-color:#64dcd322}.quick-strip{display:grid;grid-template-columns:repeat(3,1fr);padding:25px max(8vw,calc((100% - 1200px)/2));background:#0e1727;border-top:1px solid #ffffff0c;border-bottom:1px solid #ffffff0c}.quick-strip div{display:flex;align-items:center;gap:17px;border-right:1px solid var(--line);padding-left:25px}.quick-strip div:first-child{padding-left:0}.quick-strip div:last-child{border:0}.quick-strip strong{font:30px Georgia;color:#8f83e8}.quick-strip span{font-size:10px;letter-spacing:2px;color:#a7b3c5}.section{max-width:1200px;margin:auto;padding:90px 30px}.section-top{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px}.section h2,.feature-band h2{font:40px/1.15 Georgia,serif;letter-spacing:-.6px;margin:10px 0}.text-link{font-size:12px;color:var(--cyan)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.news-card{padding:25px;background:linear-gradient(145deg,#131f32,#0e1726);border:1px solid var(--line);border-radius:10px;min-height:220px}.card-date{font-size:10px;letter-spacing:1px;color:var(--cyan)}.news-card h3{font:22px/1.25 Georgia;margin:16px 0 10px}.news-card p{font-size:13px;color:var(--muted)}.news-card>a{display:inline-block;margin-top:10px;color:#c3bbff;font-size:11px}.feature-band{display:flex;align-items:center;justify-content:space-between;gap:35px;padding:55px max(8vw,calc((100% - 1200px)/2));background:linear-gradient(110deg,#1a2341,#132d3b);border-top:1px solid #a79aff26;border-bottom:1px solid #a79aff26}.feature-band>div{max-width:740px}.feature-band p{color:#aebbd0}.btn-light{background:#e7e7f7;color:#12192b;white-space:nowrap}.section-bottom{padding-top:80px;padding-bottom:110px}.three-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.three-cols a{display:flex;flex-direction:column;padding:23px;border:1px solid var(--line);border-radius:9px;background:#101a2a;transition:.2s}.three-cols a:hover{border-color:#8176e9;transform:translateY(-3px)}.three-cols span{font-size:11px;color:var(--cyan)}.three-cols b{font:23px Georgia;margin:12px 0 4px}.three-cols small{color:var(--muted)}.page-hero{padding:75px max(8vw,calc((100% - 1200px)/2)) 45px;background:radial-gradient(ellipse at 80% 30%,#34346b55,transparent 40%),#0d1525;border-bottom:1px solid #ffffff12}.page-hero h1{font:clamp(38px,5vw,58px)/1.15 Georgia;margin:13px 0 20px}.breadcrumb{display:flex;gap:10px;font-size:11px;color:#8c9bb2}.breadcrumb a{color:#b8b0ff}.content-section{max-width:1200px;min-height:300px;margin:auto;padding:55px 30px 100px}.prose{max-width:900px;color:#c2ccdc;font-size:15px;line-height:1.85}.prose h2,.prose h3{font-family:Georgia;color:#fff}.prose a{color:var(--cyan)}.empty-state{padding:45px;text-align:center;border:1px dashed #43516a;border-radius:10px;color:var(--muted)}.timeline{max-width:950px}.timeline-item{display:grid;grid-template-columns:140px 1fr;gap:25px;padding-bottom:22px}.timeline-date{font-size:12px;color:var(--cyan);padding-top:20px}.timeline-date b{display:block;color:#fff;font-size:18px}.timeline-card{padding:20px 24px;background:#111c2d;border:1px solid var(--line);border-radius:9px}.timeline-card h2{font:22px Georgia;margin:0 0 7px}.timeline-card p{color:var(--muted);font-size:13px}.people-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.person-card{padding:18px;background:#111c2d;border:1px solid var(--line);border-radius:9px}.person-card img,.person-placeholder{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:6px;background:#202c43}.person-placeholder{display:grid;place-items:center;color:#8d83ed;font-size:42px}.person-card h3{font:19px Georgia;margin:14px 0 5px}.person-card p,.person-card small{font-size:12px;color:var(--muted)}.publication-list article{display:flex;align-items:center;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}.publication-icon{width:48px;height:55px;display:grid;place-items:center;background:#31283d;color:#ffb6b6;font-size:11px;font-weight:800;border-radius:5px}.publication-list article>div:nth-child(2){flex:1}.publication-list h3{font:20px Georgia;margin:0}.publication-list p,.publication-list small{font-size:12px;color:var(--muted)}.site-footer{background:#050912;border-top:1px solid #ffffff14;padding:45px max(8vw,calc((100% - 1200px)/2)) 20px}.footer-main{display:grid;grid-template-columns:1fr 2fr 1fr;align-items:center;gap:30px;padding-bottom:35px}.footer-main p{font-size:12px;color:#8e9cb2}.footer-links{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#b5c0d2}.footer-bottom{display:flex;justify-content:space-between;border-top:1px solid #ffffff13;padding-top:17px;color:#64728a;font-size:10px}.flash{max-width:1100px;margin:18px auto;padding:12px 16px;background:#17312e;border:1px solid #35665c;border-radius:7px;color:#d7fff3}
@media(max-width:1100px){.main-nav{gap:10px}.main-nav a{font-size:10px}.site-header{padding:0 22px}.people-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:800px){.site-header{height:75px}.menu-toggle{display:block;margin-left:auto}.main-nav{display:none;position:absolute;top:74px;left:0;right:0;padding:20px;background:#0b1322;border-bottom:1px solid var(--line);flex-direction:column;align-items:flex-start}.menu-open .main-nav{display:flex}.lang-switch{margin-left:0}.site-header{flex-wrap:wrap}.hero{padding:85px 25px 55px;min-height:540px}.hero-orbit{right:-220px;opacity:.6}.quick-strip{padding:20px 25px}.quick-strip div{padding-left:12px;gap:8px}.quick-strip strong{font-size:22px}.quick-strip span{font-size:8px}.cards,.three-cols{grid-template-columns:1fr}.section{padding:65px 22px}.feature-band{padding:45px 25px;align-items:flex-start;flex-direction:column}.page-hero{padding:55px 25px 35px}.content-section{padding:35px 22px 70px}.people-grid{grid-template-columns:repeat(2,1fr)}.footer-main{grid-template-columns:1fr}.timeline-item{grid-template-columns:1fr;gap:5px}.timeline-date{padding-top:5px}.site-footer{padding:35px 25px 18px}}@media(max-width:450px){.people-grid{grid-template-columns:1fr 1fr}.person-card{padding:10px}.hero h1{font-size:43px}.hero-meta{margin-top:40px}.quick-strip span{letter-spacing:1px}}


/* Theme system: the public site opens in light mode by default. */
:root{color-scheme:light;--bg:#f5f7fb;--surface:#ffffff;--surface2:#eef1f8;--line:#dce2ed;--text:#172238;--muted:#64718a;--violet:#6656c9;--cyan:#168d91;--gold:#9a7838}
[data-theme="dark"]{color-scheme:dark;--bg:#080d18;--surface:#101a2b;--surface2:#142238;--line:#26364d;--text:#f0f4fb;--muted:#a0aec2;--violet:#9284ff;--cyan:#5bd8ce;--gold:#d5bd85}
body{background:var(--bg);color:var(--text)}
.site-header{background:color-mix(in srgb,var(--bg) 94%,transparent);border-bottom:1px solid var(--line)}
.brand b{color:var(--text)}.brand small{color:var(--muted)}
.main-nav a,.lang-switch a{color:var(--muted)}.main-nav a:hover,.lang-switch a:hover,.lang-switch .active{color:var(--text)}
.lang-switch .active{border-color:var(--violet)}
.header-tools{display:flex;align-items:center;gap:12px;flex-shrink:0}
.theme-toggle{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--text);font-size:19px;cursor:pointer;transition:.2s}
.theme-toggle:hover{border-color:var(--violet);transform:rotate(-12deg)}
.hero{background:radial-gradient(ellipse at 78% 38%,#c7c4f477,transparent 38%),radial-gradient(ellipse at 95% 85%,#9ddbd526,transparent 35%),linear-gradient(120deg,#f4f5fc,#edf3f8 60%,#e9f3f3)}
.hero h1{background:linear-gradient(100deg,#172238 10%,#51459e 70%,#167d83);background-clip:text;color:transparent}
.hero p{color:#53617a}.hero-meta{color:#66738a}.hero-meta i{background:#168d91;box-shadow:0 0 12px #168d9166}
.hero-orbit{border-color:#6d62b52b}.orbit-two{border-color:#168d912b}
.quick-strip{background:#e9edf5;border-color:#dce2ed}.quick-strip div{border-color:#d0d8e6}.quick-strip strong{color:#6656c9}.quick-strip span{color:#53617a}
.news-card{background:linear-gradient(145deg,#fff,#f4f6fb);border-color:var(--line);box-shadow:0 8px 24px #24314a0a}
.news-card p,.feature-band p,.prose,.timeline-card p,.person-card p,.person-card small,.publication-list p,.publication-list small{color:var(--muted)}
.news-card h3,.section h2,.feature-band h2,.page-hero h1,.prose h2,.prose h3,.timeline-card h2,.person-card h3,.publication-list h3{color:var(--text)}
.news-card>a,.text-link,.prose a{color:#167e83}
.feature-band{background:linear-gradient(110deg,#e9eafa,#e3f0f0);border-color:#d8dced}
.btn-ghost,.btn-outline{border-color:#b8c3d5;color:#26334b;background:#ffffff88}
.btn-ghost:hover,.btn-outline:hover{border-color:#168d91}
.btn-light{background:#172238;color:#fff}
.three-cols a{border-color:var(--line);background:#fff;box-shadow:0 6px 20px #24314a08}.three-cols a:hover{border-color:#8176e9}.three-cols small{color:var(--muted)}
.page-hero{background:radial-gradient(ellipse at 80% 30%,#c9c6f477,transparent 40%),#eef1f8;border-bottom-color:var(--line)}
.breadcrumb{color:#68758c}.breadcrumb a{color:#6656c9}
.empty-state{border-color:#c7d0df;color:var(--muted)}
.timeline-card,.person-card{background:#fff;border-color:var(--line);box-shadow:0 6px 20px #24314a08}
.timeline-date{color:#168d91}.timeline-date b{color:var(--text)}
.person-card img,.person-placeholder{background:#e7ebf4}.person-placeholder{color:#6656c9}
.publication-icon{background:#f0eaf5;color:#8b4e62}
.site-footer{background:#e9edf5;border-top-color:#d8dfeb}.footer-main p,.footer-links{color:#53617a}.footer-bottom{border-top-color:#d2d9e5;color:#68758c}
.flash{background:#e7f5f0;border-color:#a9d8c9;color:#205b4a}
.menu-toggle{color:var(--text)}
@media(max-width:800px){.main-nav{background:var(--surface);border-bottom-color:var(--line)}.site-header{background:var(--bg)}.header-tools{margin-left:0}}
[data-theme="dark"] .hero{background:radial-gradient(ellipse at 78% 38%,#30336b66,transparent 38%),radial-gradient(ellipse at 95% 85%,#1b827c26,transparent 35%),linear-gradient(120deg,#0a1120,#0b1221 60%,#10172a)}
[data-theme="dark"] .hero h1{background:linear-gradient(100deg,#fff 10%,#c9c7ff 70%,#80e5dc);background-clip:text;color:transparent}
[data-theme="dark"] .hero p{color:#b1bed1}[data-theme="dark"] .hero-meta{color:#8392a9}
[data-theme="dark"] .quick-strip{background:#0e1727;border-color:#ffffff0c}[data-theme="dark"] .quick-strip div{border-color:var(--line)}[data-theme="dark"] .quick-strip span{color:#a7b3c5}
[data-theme="dark"] .news-card{background:linear-gradient(145deg,#131f32,#0e1726);border-color:var(--line)}[data-theme="dark"] .news-card p{color:var(--muted)}[data-theme="dark"] .news-card h3{color:var(--text)}[data-theme="dark"] .news-card>a,[data-theme="dark"] .text-link,[data-theme="dark"] .prose a{color:var(--cyan)}
[data-theme="dark"] .feature-band{background:linear-gradient(110deg,#1a2341,#132d3b);border-color:#a79aff26}[data-theme="dark"] .feature-band p{color:#aebbd0}
[data-theme="dark"] .btn-ghost,[data-theme="dark"] .btn-outline{border-color:#65748d88;color:#e3e9f3;background:#ffffff05}[data-theme="dark"] .btn-light{background:#e7e7f7;color:#12192b}
[data-theme="dark"] .three-cols a{border-color:var(--line);background:#101a2a;box-shadow:none}[data-theme="dark"] .three-cols small{color:var(--muted)}
[data-theme="dark"] .page-hero{background:radial-gradient(ellipse at 80% 30%,#34346b55,transparent 40%),#0d1525;border-bottom-color:#ffffff12}[data-theme="dark"] .breadcrumb{color:#8c9bb2}[data-theme="dark"] .breadcrumb a{color:#b8b0ff}
[data-theme="dark"] .empty-state{border-color:#43516a;color:var(--muted)}[data-theme="dark"] .timeline-card,[data-theme="dark"] .person-card{background:#111c2d;border-color:var(--line);box-shadow:none}[data-theme="dark"] .timeline-date{color:var(--cyan)}[data-theme="dark"] .timeline-date b{color:#fff}[data-theme="dark"] .person-card img,[data-theme="dark"] .person-placeholder{background:#202c43}[data-theme="dark"] .person-placeholder{color:#8d83ed}
[data-theme="dark"] .publication-icon{background:#31283d;color:#ffb6b6}[data-theme="dark"] .site-footer{background:#050912;border-top-color:#ffffff14}[data-theme="dark"] .footer-main p{color:#8e9cb2}[data-theme="dark"] .footer-links{color:#b5c0d2}[data-theme="dark"] .footer-bottom{border-top-color:#ffffff13;color:#64728a}[data-theme="dark"] .flash{background:#17312e;border-color:#35665c;color:#d7fff3}

/* v3 visual refinement: light academic theme by default */
:root{--bg:#f4f6fb;--surface:#fff;--surface2:#edf1f8;--line:#dce3ef;--text:#17243b;--muted:#64728a;--violet:#6254c7;--cyan:#168b91;--gold:#9b7a3c;color-scheme:light}
[data-theme="dark"]{--bg:#080d18;--surface:#101a2b;--surface2:#142238;--line:#26364d;--text:#f0f4fb;--muted:#a0aec2;--violet:#a49aff;--cyan:#65d9d0;--gold:#d5bd85;color-scheme:dark}
body{background:var(--bg);color:var(--text);font-family:Inter,"Segoe UI",Arial,sans-serif}
.site-header{height:auto;min-height:82px;padding:14px max(4vw,calc((100% - 1320px)/2));background:color-mix(in srgb,var(--bg) 92%,transparent);border-bottom:1px solid var(--line);box-shadow:0 8px 30px #1827470a}
.brand-symbol{background:linear-gradient(145deg,#6656c91c,#168d9118);border-color:#6656c955;color:var(--violet);border-radius:14px}
.brand b{color:var(--text);letter-spacing:1.5px}.brand small{color:var(--muted)}
.main-nav a,.lang-switch a{color:var(--muted);font-weight:650;font-size:12px}.main-nav a:hover,.lang-switch a:hover,.lang-switch .active{color:var(--violet)}
.lang-switch .active{border-color:var(--violet);background:color-mix(in srgb,var(--violet) 8%,transparent)}
.header-tools{display:flex;align-items:center;gap:14px}.theme-toggle{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--text);font-size:19px;cursor:pointer;transition:.2s}.theme-toggle:hover{border-color:var(--violet);transform:rotate(-12deg)}
.hero{min-height:610px;padding-top:112px;padding-bottom:76px;background:radial-gradient(ellipse at 82% 32%,#8d83ed24,transparent 35%),radial-gradient(ellipse at 95% 88%,#168d911b,transparent 34%),linear-gradient(120deg,#fff,#f1f3fb 66%,#eaf5f5);}
[data-theme="dark"] .hero{background:radial-gradient(ellipse at 78% 38%,#30336b66,transparent 38%),radial-gradient(ellipse at 95% 85%,#1b827c26,transparent 35%),linear-gradient(120deg,#0a1120,#0b1221 60%,#10172a)}
.hero:after{background-image:linear-gradient(#33415d0a 1px,transparent 1px),linear-gradient(90deg,#33415d0a 1px,transparent 1px)}
[data-theme="dark"] .hero:after{background-image:linear-gradient(#ffffff06 1px,transparent 1px),linear-gradient(90deg,#ffffff06 1px,transparent 1px)}
.hero-kicker,.eyebrow{color:var(--cyan)}.hero h1{background:linear-gradient(100deg,#17243b 5%,#6254c7 68%,#168b91);background-clip:text;color:transparent;max-width:900px}
[data-theme="dark"] .hero h1{background:linear-gradient(100deg,#fff 10%,#c9c7ff 70%,#80e5dc);background-clip:text;color:transparent}
.hero p{color:#596982}.hero-meta{color:#66758e}.hero-orbit{border-color:#6656c926}.orbit-two{border-color:#168d9128}
[data-theme="dark"] .hero p{color:#b1bed1}[data-theme="dark"] .hero-meta{color:#8392a9}
.btn{padding:13px 20px;border-radius:8px;font-size:12px}.btn-primary{background:linear-gradient(110deg,#6656c9,#168b91);box-shadow:0 8px 22px #6656c92b}.btn-ghost,.btn-outline{border-color:#aab5c7;color:#33425c;background:#ffffffa8}
[data-theme="dark"] .btn-ghost,[data-theme="dark"] .btn-outline{border-color:#65748d88;color:#e3e9f3;background:#ffffff05}
.quick-strip{background:var(--surface);border-color:var(--line);padding-top:27px;padding-bottom:27px}.quick-strip strong{color:var(--violet)}.quick-strip span{color:var(--muted)}
.section{padding-top:82px;padding-bottom:82px}.section h2,.feature-band h2{color:var(--text);font-size:clamp(32px,4vw,43px)}.text-link{color:var(--cyan);font-weight:700}
.news-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;min-height:235px;box-shadow:0 12px 35px #1a2b4a0a;transition:transform .22s,box-shadow .22s,border-color .22s}.news-card:hover{transform:translateY(-5px);border-color:color-mix(in srgb,var(--violet) 50%,var(--line));box-shadow:0 18px 40px #1a2b4a12}.card-date{color:var(--cyan)}.news-card h3{color:var(--text);font-size:23px}.news-card p{color:var(--muted)}.news-card>a{color:var(--violet);font-weight:700}
.feature-band{background:linear-gradient(110deg,#ecebfa,#e5f3f2);border-color:#d9dff0;padding-top:58px;padding-bottom:58px}.feature-band p{color:#5f6e86}.btn-light{background:#17243b;color:#fff;border-radius:8px}
[data-theme="dark"] .feature-band{background:linear-gradient(110deg,#1a2341,#132d3b);border-color:#a79aff26}.feature-band h2{color:var(--text)}[data-theme="dark"] .feature-band p{color:#aebbd0}[data-theme="dark"] .btn-light{background:#e7e7f7;color:#12192b}
.three-cols a{background:var(--surface);border-color:var(--line);border-radius:13px;min-height:155px;box-shadow:0 10px 30px #1a2b4a08}.three-cols a:hover{border-color:var(--violet);box-shadow:0 14px 32px #6656c91a}.three-cols span{color:var(--cyan)}.three-cols b{color:var(--text)}.three-cols small{color:var(--muted)}
.page-hero{background:radial-gradient(ellipse at 80% 30%,#8d83ed20,transparent 40%),linear-gradient(120deg,#fff,#f0f3fa);border-color:var(--line)}.page-hero h1{color:#17243b}.breadcrumb{color:#718099}.breadcrumb a{color:var(--violet)}
[data-theme="dark"] .page-hero{background:radial-gradient(ellipse at 80% 30%,#34346b55,transparent 40%),#0d1525;border-color:#ffffff12}[data-theme="dark"] .page-hero h1{color:#f0f4fb}[data-theme="dark"] .breadcrumb{color:#8c9bb2}[data-theme="dark"] .breadcrumb a{color:#b8b0ff}
.prose{color:var(--muted)}.prose h2,.prose h3{color:var(--text)}.prose a{color:var(--cyan)}.empty-state{border-color:var(--line);color:var(--muted);background:var(--surface)}
.timeline-card,.person-card{background:var(--surface);border-color:var(--line);border-radius:13px;box-shadow:0 10px 28px #1a2b4a08}.timeline-date{color:var(--cyan)}.timeline-date b,.timeline-card h2,.person-card h3{color:var(--text)}.timeline-card p,.person-card p,.person-card small{color:var(--muted)}.person-placeholder{background:var(--surface2)}
.publication-list article{border-color:var(--line)}.publication-list h3{color:var(--text)}.publication-list p,.publication-list small{color:var(--muted)}.publication-icon{background:#f5e9eb;color:#a34b5a}
.site-footer{background:#e9edf5;border-color:var(--line)}.footer-main p,.footer-links{color:#586780}.footer-bottom{border-color:#d5dce8;color:#7b879a}
[data-theme="dark"] .site-footer{background:#050912;border-color:#ffffff14}[data-theme="dark"] .footer-main p,[data-theme="dark"] .footer-links{color:#8e9cb2}[data-theme="dark"] .footer-bottom{border-color:#ffffff13;color:#64728a}
@media(max-width:800px){.site-header{padding:12px 18px;gap:12px}.header-tools{gap:9px}.main-nav{background:var(--surface);border-color:var(--line);box-shadow:0 18px 30px #16233b18}.main-nav a{font-size:13px}.hero{min-height:550px;padding-top:78px}.hero h1{letter-spacing:-1px}.quick-strip{gap:8px}.quick-strip div{border-color:var(--line)}.section{padding:60px 22px}.section-top{align-items:flex-start;gap:15px;flex-direction:column}.cards{gap:13px}.feature-band{padding:42px 24px}.page-hero{padding:48px 24px 32px}}
@media(max-width:450px){.brand b{font-size:11px}.brand small{font-size:8px}.brand-symbol{width:38px;height:38px}.theme-toggle{width:35px;height:35px}.lang-switch{gap:2px}.hero h1{font-size:clamp(39px,11vw,48px)}.hero p{font-size:16px}.quick-strip{padding:18px 14px}.quick-strip strong{font-size:20px}.quick-strip span{font-size:8px;letter-spacing:.7px}}

/* Official institute identity */
.brand{gap:11px;min-width:0}
.brand-logo{display:block;width:58px;height:58px;object-fit:contain;flex:0 0 58px;border-radius:50%}
.brand-copy{display:block;min-width:0}
.brand-copy b{display:block;font-size:15px;letter-spacing:1.5px;line-height:1.25}
.brand-copy small{display:block;font-size:9px;letter-spacing:1.15px;line-height:1.4}
@media(max-width:800px){.brand-logo{width:48px;height:48px;flex-basis:48px}.brand-copy b{font-size:13px}.brand-copy small{font-size:8px}}


/* v5: hard-limit institute logo to the header mark */
.site-header .brand {display:flex !important; align-items:center !important; height:100%; flex:0 0 auto !important; max-width:280px;}
.site-header .brand img.brand-logo {display:block !important; position:static !important; width:54px !important; height:54px !important; min-width:54px !important; min-height:54px !important; max-width:54px !important; max-height:54px !important; object-fit:contain !important; flex:0 0 54px !important; margin:0 !important; padding:0 !important;}
.site-header .brand-copy {display:block !important; position:static !important; min-width:0 !important;}
@media(max-width:800px){.site-header .brand img.brand-logo{width:46px !important;height:46px !important;min-width:46px !important;min-height:46px !important;max-width:46px !important;max-height:46px !important;flex-basis:46px !important;}}

/* v6: logo appears only once, in the header; hard dimensions independent of theme */
.site-header .brand-logo{display:block!important;width:54px!important;height:54px!important;max-width:54px!important;max-height:54px!important;min-width:54px!important;min-height:54px!important;object-fit:contain!important;flex:0 0 54px!important;position:static!important;margin:0!important;padding:0!important}
.site-footer .brand-logo{display:none!important}
.site-footer .brand{gap:0!important}
@media(max-width:800px){.site-header .brand-logo{width:46px!important;height:46px!important;max-width:46px!important;max-height:46px!important;min-width:46px!important;min-height:46px!important;flex-basis:46px!important}}


/* v7: concise four-item conference navigation */
.site-header{display:flex;align-items:center;gap:clamp(14px,2vw,30px)}
.site-header .brand{flex:0 0 auto;max-width:260px}
.site-header .main-nav{display:flex;align-items:center;justify-content:center;gap:clamp(14px,2vw,28px);flex:1;min-width:0}
.site-header .main-nav a{display:inline-flex;align-items:center;padding:10px 0;font-size:13px;font-weight:650;color:var(--muted);white-space:nowrap;border-bottom:2px solid transparent;transition:color .18s,border-color .18s}
.site-header .main-nav a:hover,.site-header .main-nav a.active{color:var(--violet)}
.site-header .main-nav a.active{border-bottom-color:var(--violet)}
.site-header .header-tools{display:flex;align-items:center;gap:14px;flex:0 0 auto}
.site-header .menu-toggle{display:none}
@media(max-width:900px){
 .site-header{position:sticky;top:0;z-index:50;min-height:76px;flex-wrap:nowrap;padding:10px 18px;gap:12px}
 .site-header .brand{max-width:none;min-width:0;gap:9px}
 .site-header .brand-logo{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;flex:0 0 44px!important}
 .site-header .brand-copy b{font-size:12px}
 .site-header .brand-copy small{font-size:7px;letter-spacing:.8px}
 .site-header .menu-toggle{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;width:40px;height:40px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--text);font-size:21px;cursor:pointer}
 .site-header .main-nav{display:none;position:absolute;top:100%;left:0;right:0;z-index:60;padding:12px 18px 18px;background:var(--surface);border-bottom:1px solid var(--line);box-shadow:0 16px 28px #101a2b22;flex-direction:column;align-items:stretch;gap:0}
 body.menu-open .site-header .main-nav{display:flex}
 .site-header .main-nav a{padding:13px 4px;border-bottom:1px solid var(--line);font-size:14px}
 .site-header .main-nav a:last-child{border-bottom:0}
 .site-header .main-nav a.active{border-bottom-color:var(--line);color:var(--violet)}
 .site-header .header-tools{gap:8px}
 .site-header .lang-switch{gap:2px}
 .site-header .lang-switch a{font-size:10px;padding:5px 4px}
 .site-header .theme-toggle{width:36px;height:36px}
}
@media(max-width:390px){.site-header{padding-left:12px;padding-right:12px;gap:8px}.site-header .brand-logo{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;max-width:38px!important;max-height:38px!important;flex-basis:38px!important}.site-header .brand-copy small{letter-spacing:.45px}.site-header .header-tools{gap:4px}}

/* V8 — visual identity adapted from the official conference programme */
:root{--brand-blue:#285d87;--brand-blue-deep:#17466f;--brand-sky:#7ea8cf;--brand-yellow:#f2cf3b;--brand-pale:#f7f9fa;--brand-ink:#151c27}
body{background:#f7f9fa;color:#172333}
.site-header{background:rgba(255,255,255,.96);border-bottom:1px solid #dce4eb;box-shadow:0 2px 14px #1b3b5b08}
.brand-copy b{color:var(--brand-blue-deep)}.brand-copy small{color:#66809a}
.main-nav a,.lang-switch a{color:#49657f}.main-nav a:hover,.main-nav a.active,.lang-switch a.active{color:var(--brand-blue-deep)}
.main-nav a.active{position:relative}.main-nav a.active:after{content:"";position:absolute;left:0;right:0;bottom:-9px;height:3px;background:linear-gradient(90deg,var(--brand-sky) 0 50%,var(--brand-yellow) 50%);border-radius:2px}
.theme-toggle{border-color:#d7e0e8;background:#fff;color:var(--brand-blue-deep)}
.conference-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);align-items:center;gap:48px;min-height:620px;padding:78px max(5vw,calc((100% - 1280px)/2));overflow:hidden;background:#fff;color:var(--brand-ink)}
.conference-hero:before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(135deg,#fff 0%,#f7f9fa 65%,#edf3f7 100%)}
.conference-hero .hero-content{position:relative;z-index:2;max-width:720px}
.conference-hero .hero-kicker{color:var(--brand-blue);font-size:11px;letter-spacing:2px;line-height:1.6}
.conference-hero h1{font-family:Inter,system-ui,sans-serif;font-weight:800;font-size:clamp(36px,4.3vw,60px);line-height:1.04;letter-spacing:-1.8px;color:#101722;background:none;max-width:760px;margin:22px 0 14px}
.conference-rule{display:flex;width:240px;height:5px;margin:20px 0 22px}.conference-rule span:first-child{width:50%;background:#6d9fc9}.conference-rule span:last-child{width:50%;background:var(--brand-yellow)}
.conference-hero .hero-english{font-size:15px;line-height:1.45;font-weight:650;color:#315d83;margin:0 0 15px;max-width:650px}
.conference-hero .hero-content>p:not(.hero-english){font-size:16px;color:#536b80;max-width:640px}
.conference-facts{display:flex;gap:34px;flex-wrap:wrap;margin:27px 0 0}.conference-facts span{display:flex;flex-direction:column;gap:2px;color:#637b90;font-size:11px;letter-spacing:.3px}.conference-facts b{font-size:16px;color:var(--brand-blue-deep)}
.conference-hero .hero-actions{margin-top:28px}.conference-hero .btn-primary{background:var(--brand-blue-deep);color:#fff}.conference-hero .btn-primary:hover{background:#24618f}.conference-hero .btn-ghost{border-color:#bdcbd7;color:#234d70;background:#fff}.conference-hero .btn-ghost:hover{border-color:var(--brand-yellow)}
.hero-visual{position:relative;z-index:1;min-width:0}.hero-visual img{display:block;width:100%;height:390px;object-fit:cover;border-radius:2px 34px 2px 2px;box-shadow:0 18px 45px #1c3d5b20}.hero-visual:after{content:"";position:absolute;right:-15px;top:-15px;width:42%;height:42%;border-top:7px solid var(--brand-yellow);border-right:7px solid var(--brand-blue);pointer-events:none}.visual-caption{position:absolute;left:0;bottom:0;padding:11px 16px;background:#17466f;color:#fff;font-size:9px;font-weight:750;letter-spacing:1.6px}
.corner-ribbon{position:absolute;z-index:0;pointer-events:none}.ribbon-top{right:0;top:0;width:230px;height:180px;background:linear-gradient(135deg,transparent 0 40%,#f5d94c 40% 58%,#e9c42e 58% 75%,transparent 75%);opacity:.9}.ribbon-bottom{left:0;bottom:0;width:190px;height:125px;background:linear-gradient(45deg,#9bb8d0 0 48%,transparent 48%);opacity:.42}
.conference-strip{background:#edf2f7;border-top:1px solid #dce5ed;border-bottom:1px solid #dce5ed;padding:24px max(5vw,calc((100% - 1200px)/2))}.conference-strip div{border-color:#cbd8e3}.conference-strip strong{font:700 25px Inter,system-ui;color:var(--brand-blue)}.conference-strip span{font-size:11px;letter-spacing:.5px;color:#526d85}
.section{color:#172333}.section h2,.feature-band h2{color:#172333}.eyebrow{color:var(--brand-blue);letter-spacing:2px}.news-card,.three-cols a{background:#fff;border:1px solid #dce5ec;box-shadow:0 8px 24px #1c3d5b08}.news-card h3,.three-cols b{color:#1b2c3e}.news-card p,.three-cols small{color:#63788b}.card-date,.text-link,.three-cols span{color:var(--brand-blue)}
.feature-band{position:relative;overflow:hidden;background:#edf3f7;border-top:1px solid #dce5ec;border-bottom:1px solid #dce5ec}.feature-band:after{content:"";position:absolute;right:0;bottom:0;width:220px;height:130px;background:linear-gradient(45deg,transparent 0 35%,#f4d74b 35% 55%,#e8c52e 55% 72%,transparent 72%);opacity:.65;pointer-events:none}.feature-band p{color:#536b80}.btn-light{background:var(--brand-blue-deep);color:#fff}.site-footer{background:#eaf0f5;border-top:1px solid #d6e1ea;color:#284762}.site-footer .brand-copy b{color:var(--brand-blue-deep)}.site-footer .brand-copy small,.site-footer p,.footer-links{color:#58738b}.footer-bottom{border-color:#d0dce6;color:#6b8195}
.page-hero{position:relative;overflow:hidden;background:#f0f4f7;color:#1c2d3f;border-bottom:1px solid #dce5ec}.page-hero:after{content:"";position:absolute;right:0;top:0;width:180px;height:110px;background:linear-gradient(135deg,transparent 0 40%,#f3d34a 40% 60%,#3c7199 60% 78%,transparent 78%);opacity:.8}.page-hero h1{color:#173f62}.breadcrumb{color:#688198}.breadcrumb a{color:#2b638f}.content-section{color:#263d52}.prose{color:#4d657b}.prose h2,.prose h3{color:#1c4568}.timeline-card,.person-card{background:#fff;border-color:#dce5ec;box-shadow:0 5px 18px #1c3d5b08}.timeline-card h2,.person-card h3{color:#1d3e5d}.timeline-date,.card-date{color:#2b6c9c}.publication-list article{border-color:#dce5ec}.empty-state{border-color:#cbd9e4;color:#607a91;background:#fff}
.program-intro{padding:24px 28px;margin-bottom:28px;background:#f0f4f7;border-left:5px solid var(--brand-yellow);color:#315d83}.program-intro .program-date{font-size:24px;font-weight:800;color:#17466f}.program-intro p{margin:5px 0}.program-notes{margin-top:35px;padding:25px 28px;background:#edf3f7;border-top:4px solid var(--brand-blue);color:#345873}.program-notes h2{margin-top:0;color:#17466f;font-family:Inter,system-ui,sans-serif}
[data-theme="dark"] body{background:#111a27;color:#e8edf3}[data-theme="dark"] .site-header{background:rgba(12,20,32,.96);border-color:#29384a}[data-theme="dark"] .brand-copy b,[data-theme="dark"] .main-nav a,[data-theme="dark"] .lang-switch a{color:#d8e2ed}[data-theme="dark"] .main-nav a.active,[data-theme="dark"] .lang-switch a.active{color:#f3d34a}[data-theme="dark"] .conference-hero:before{background:linear-gradient(135deg,#111a27,#18283a)}[data-theme="dark"] .conference-hero{color:#edf3f8}[data-theme="dark"] .conference-hero h1{color:#f6f8fb}[data-theme="dark"] .conference-hero .hero-english,[data-theme="dark"] .conference-hero .hero-content>p:not(.hero-english){color:#b7c8d8}[data-theme="dark"] .conference-facts span{color:#a8bacb}[data-theme="dark"] .conference-facts b{color:#f2d34c}[data-theme="dark"] .conference-strip,[data-theme="dark"] .page-hero,[data-theme="dark"] .feature-band,[data-theme="dark"] .program-intro,[data-theme="dark"] .program-notes{background:#182638;border-color:#2c4055;color:#d0dce7}[data-theme="dark"] .conference-strip span,[data-theme="dark"] .feature-band p,[data-theme="dark"] .breadcrumb{color:#b3c4d4}[data-theme="dark"] .section h2,[data-theme="dark"] .feature-band h2,[data-theme="dark"] .page-hero h1,[data-theme="dark"] .program-notes h2{color:#edf3f8}[data-theme="dark"] .news-card,[data-theme="dark"] .three-cols a,[data-theme="dark"] .timeline-card,[data-theme="dark"] .person-card,[data-theme="dark"] .empty-state{background:#142235;border-color:#30445a}[data-theme="dark"] .news-card h3,[data-theme="dark"] .three-cols b,[data-theme="dark"] .timeline-card h2,[data-theme="dark"] .person-card h3{color:#edf3f8}[data-theme="dark"] .news-card p,[data-theme="dark"] .three-cols small,[data-theme="dark"] .prose{color:#b6c5d4}[data-theme="dark"] .site-footer{background:#0b1320;border-color:#26374b;color:#d5e0eb}[data-theme="dark"] .site-footer p,[data-theme="dark"] .footer-links,[data-theme="dark"] .footer-bottom{color:#9fb0c2}[data-theme="dark"] .theme-toggle{background:#17283a;border-color:#34495e;color:#f4d34a}
@media(max-width:900px){.conference-hero{grid-template-columns:1fr;gap:30px;padding:62px 28px}.hero-visual img{height:330px}.conference-hero h1{max-width:760px}.ribbon-top{width:145px;height:120px}}
@media(max-width:600px){.conference-hero{padding:48px 22px 55px;gap:25px;min-height:0}.conference-hero h1{font-size:clamp(34px,9vw,46px);letter-spacing:-1.1px;line-height:1.07}.conference-hero .hero-kicker{font-size:9px;letter-spacing:1.4px}.conference-hero .hero-english{font-size:13px}.conference-hero .hero-content>p:not(.hero-english){font-size:14px}.conference-facts{gap:18px}.hero-visual img{height:230px;border-radius:2px 22px 2px 2px}.visual-caption{font-size:8px;padding:9px 11px}.ribbon-top{width:100px;height:85px;opacity:.65}.ribbon-bottom{width:100px;height:75px}.conference-strip{padding:18px 12px}.conference-strip div{padding-left:10px;gap:7px}.conference-strip strong{font-size:18px}.conference-strip span{font-size:8px;letter-spacing:0}.program-intro{padding:18px}.program-notes{padding:18px}}

/* Header partner marks: NNC ISE, Ministry of Justice, KNDISE. */
.site-header .institution-logos{display:flex;align-items:center;gap:12px;flex:0 0 auto;margin-right:clamp(4px,1vw,16px)}
.site-header .institution-logos img{display:block;width:42px;height:42px;max-width:42px;max-height:42px;object-fit:contain;object-position:center;background:transparent;flex:0 0 42px}
@media(max-width:1100px){.site-header{gap:12px}.site-header .institution-logos{gap:7px;margin-right:0}.site-header .institution-logos img{width:36px;height:36px;max-width:36px;max-height:36px;flex-basis:36px}}
@media(max-width:800px){.site-header{gap:8px}.site-header .institution-logos{gap:5px}.site-header .institution-logos img{width:30px;height:30px;max-width:30px;max-height:30px;flex-basis:30px}}
@media(max-width:450px){.site-header .institution-logos{gap:3px}.site-header .institution-logos img{width:25px;height:25px;max-width:25px;max-height:25px;flex-basis:25px}}


/* V2: all three institutional emblems use identical visible dimensions. */
.site-header .brand-logo,
.site-header .institution-logos img {
    width: 42px !important;
    height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    flex: 0 0 42px !important;
    object-fit: contain !important;
    object-position: center !important;
}
@media (max-width: 800px) {
    .site-header .brand-logo,
    .site-header .institution-logos img {
        width: 30px !important;
        height: 30px !important;
        max-width: 30px !important;
        max-height: 30px !important;
        flex: 0 0 30px !important;
    }
}
@media (max-width: 450px) {
    .site-header .brand-logo,
    .site-header .institution-logos img {
        width: 25px !important;
        height: 25px !important;
        max-width: 25px !important;
        max-height: 25px !important;
        flex: 0 0 25px !important;
    }
}


/* v10: header identity order — institute, Ministry, KNDISE, conference title */
.site-header{display:flex;align-items:center;gap:clamp(12px,1.5vw,24px)}
.header-identity-group{display:flex;align-items:center;gap:clamp(10px,1.25vw,20px);min-width:0;flex:1 1 auto}
.site-header .brand{display:flex;align-items:center;flex:0 0 auto;max-width:none;gap:0}
.site-header .brand-copy{display:none !important}
.site-header .brand img.brand-logo{width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;max-width:54px!important;max-height:54px!important;flex:0 0 54px!important;object-fit:contain!important}
.site-header .institution-logos{display:flex;align-items:center;justify-content:center;gap:clamp(8px,1vw,15px);flex:0 0 auto}
.site-header .institution-logos img{display:block;width:44px;height:44px;max-width:44px;max-height:44px;object-fit:contain;flex:0 0 44px}
.site-header .conference-type{font-size:clamp(10px,.85vw,13px);font-weight:750;line-height:1.35;letter-spacing:.055em;text-transform:uppercase;color:var(--text);max-width:260px;min-width:120px}
@media(max-width:1100px){.site-header{gap:12px}.header-identity-group{gap:9px}.site-header .brand img.brand-logo{width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;max-width:46px!important;max-height:46px!important;flex-basis:46px!important}.site-header .institution-logos{gap:6px}.site-header .institution-logos img{width:36px;height:36px;max-width:36px;max-height:36px;flex-basis:36px}.site-header .conference-type{max-width:190px;font-size:10px}}
@media(max-width:800px){.site-header{min-height:76px;height:auto;flex-wrap:wrap;padding:10px 14px}.header-identity-group{order:0;flex:1 1 calc(100% - 52px);gap:8px}.site-header .brand img.brand-logo{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;max-width:40px!important;max-height:40px!important;flex-basis:40px!important}.site-header .institution-logos{gap:5px}.site-header .institution-logos img{width:32px;height:32px;max-width:32px;max-height:32px;flex-basis:32px}.site-header .conference-type{font-size:9px;line-height:1.25;letter-spacing:.025em;max-width:145px;min-width:0}.site-header .menu-toggle{order:1;display:block;margin-left:auto}.site-header .main-nav{order:3;top:100%;}.site-header .header-tools{order:2;margin-left:auto}}
@media(max-width:420px){.site-header{padding:9px 10px;gap:7px}.header-identity-group{gap:5px}.site-header .brand img.brand-logo{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;max-width:34px!important;max-height:34px!important;flex-basis:34px!important}.site-header .institution-logos{gap:3px}.site-header .institution-logos img{width:27px;height:27px;max-width:27px;max-height:27px;flex-basis:27px}.site-header .conference-type{font-size:8px;max-width:112px}}


/* Header partner marks: consistent, larger visual boxes. */
.site-header .header-identity-group {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}
.site-header .brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    max-width: none;
    margin: 0;
}
.site-header .brand-logo,
.site-header .institution-logos img {
    display: block !important;
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    min-height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    flex: 0 0 64px !important;
    object-fit: contain !important;
    object-position: center;
    border-radius: 0;
    margin: 0 !important;
    padding: 0 !important;
}
.site-header .institution-logos {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
}
.site-header .conference-type {
    min-width: 150px;
    max-width: 290px;
    margin-left: 4px;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 750;
    letter-spacing: .055em;
    text-transform: uppercase;
}
@media (max-width: 1100px) {
    .site-header .header-identity-group { gap: 10px; }
    .site-header .brand-logo,
    .site-header .institution-logos img {
        width: 56px !important; height: 56px !important;
        min-width: 56px !important; min-height: 56px !important;
        max-width: 56px !important; max-height: 56px !important;
        flex-basis: 56px !important;
    }
    .site-header .institution-logos { gap: 9px; }
    .site-header .conference-type { font-size: 10px; max-width: 230px; }
}
@media (max-width: 800px) {
    .site-header .header-identity-group { gap: 7px; }
    .site-header .brand-logo,
    .site-header .institution-logos img {
        width: 46px !important; height: 46px !important;
        min-width: 46px !important; min-height: 46px !important;
        max-width: 46px !important; max-height: 46px !important;
        flex-basis: 46px !important;
    }
    .site-header .institution-logos { gap: 5px; }
    .site-header .conference-type {
        font-size: 8px;
        min-width: 0;
        max-width: 125px;
        letter-spacing: .025em;
    }
}
@media (max-width: 390px) {
    .site-header .brand-logo,
    .site-header .institution-logos img {
        width: 40px !important; height: 40px !important;
        min-width: 40px !important; min-height: 40px !important;
        max-width: 40px !important; max-height: 40px !important;
        flex-basis: 40px !important;
    }
    .site-header .conference-type { max-width: 105px; font-size: 7px; }
}


/* v15 — header layout at desktop zoom / reduced CSS viewport widths.
   Switch to a compact header before navigation, language controls and theme
   control can collide. The full navigation remains available in the menu. */
@media (max-width: 1600px) {
    .site-header {
        position: sticky;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        height: auto;
        min-height: 82px;
        padding: 10px 24px;
    }

    .site-header .header-identity-group {
        flex: 1 1 auto;
        min-width: 0;
        gap: 10px;
    }

    .site-header .brand-logo {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        max-width: 48px !important;
        max-height: 48px !important;
        flex: 0 0 48px !important;
    }

    .site-header .institution-logos {
        flex: 0 0 auto;
        gap: 7px;
    }

    .site-header .institution-logos img {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        max-width: 42px !important;
        max-height: 42px !important;
        flex: 0 0 42px !important;
    }

    .site-header .conference-type {
        flex: 1 1 210px;
        min-width: 0;
        max-width: 270px;
        font-size: 11px;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .site-header .menu-toggle {
        display: inline-flex !important;
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
        align-items: center;
        justify-content: center;
        margin: 0 0 0 auto;
        color: var(--text, #172333);
        border: 1px solid #cbd8e3;
        border-radius: 8px;
        background: transparent;
        cursor: pointer;
    }

    .site-header .main-nav {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 50;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 10px 24px 16px;
        background: var(--surface, #fff);
        border-bottom: 1px solid var(--line, #dce5ec);
        box-shadow: 0 12px 24px #17233318;
    }

    .site-header.menu-open .main-nav,
    body.menu-open .site-header .main-nav {
        display: flex !important;
    }

    .site-header .main-nav a {
        display: block;
        padding: 12px 4px;
        font-size: 14px;
        border-bottom: 1px solid #9aabba25;
    }

    .site-header .header-tools {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        gap: 10px;
        margin: 0;
    }

    .site-header .lang-switch {
        display: flex;
        flex: 0 0 auto;
        gap: 4px;
        white-space: nowrap;
    }

    .site-header .theme-toggle {
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 800px) {
    .site-header {
        min-height: 72px;
        padding: 8px 12px;
        gap: 7px;
    }
    .site-header .header-identity-group {
        flex: 1 1 auto;
        gap: 5px;
    }
    .site-header .brand-logo {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
        flex-basis: 36px !important;
    }
    .site-header .institution-logos { gap: 3px; }
    .site-header .institution-logos img {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;
        max-width: 30px !important;
        max-height: 30px !important;
        flex-basis: 30px !important;
    }
    .site-header .conference-type {
        max-width: 130px;
        font-size: 8px;
        letter-spacing: .02em;
    }
    .site-header .menu-toggle {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
    }
    .site-header .header-tools { gap: 5px; }
    .site-header .theme-toggle {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }
    .site-header .main-nav { padding-left: 16px; padding-right: 16px; }
}


/* v16 — keep the yellow accent clear of the feature-band action button.
   The accent is deliberately confined to the lower-right corner; all
   interactive content is placed in a higher stacking layer. */
.feature-band {
    position: relative !important;
    isolation: isolate !important;
    overflow: hidden !important;
}
.feature-band::after {
    content: "" !important;
    position: absolute !important;
    left: auto !important;
    right: 0 !important;
    top: auto !important;
    bottom: 0 !important;
    width: 110px !important;
    height: 68px !important;
    z-index: 0 !important;
    opacity: .52 !important;
    pointer-events: none !important;
    background: linear-gradient(
        45deg,
        transparent 0 35%,
        #f4d74b 35% 55%,
        #e8c52e 55% 72%,
        transparent 72%
    ) !important;
}
/* Raise both the copy wrapper and the CTA itself above the decoration. */
.feature-band > *,
.feature-band > div,
.feature-band .btn,
.feature-band a,
.feature-band button {
    position: relative !important;
    z-index: 2 !important;
}
@media (max-width: 800px) {
    .feature-band::after {
        width: 54px !important;
        height: 36px !important;
        opacity: .28 !important;
    }
}


/* v17 — render the Ministry of Justice mark in white on dark theme.
   It is the first image in .institution-logos; transparent pixels remain
   transparent while the dark emblem and lettering become white. */
[data-theme="dark"] .site-header .institution-logos img:first-child {
    filter: brightness(0) invert(1);
}
