 .drawer-preferences{display:none}
/* Original supplied 2027 lockups. Preserve intrinsic proportions and transparency. */
img.stm-event-logo{width:260px;height:auto;max-width:100%;object-fit:contain;filter:none}
img.stm-logo-green{display:block}img.stm-logo-white{display:none}
.dark img.stm-logo-green{display:none}.dark img.stm-logo-white{display:block}
.event-site-header>.container{height:88px;gap:18px}
.event-header-brand{width:260px;max-width:100%;flex-shrink:0}
.event-header-brand .stm-event-logo{width:100%}
#drawer>div:first-child{gap:16px}
#drawer img.stm-event-logo{width:min(250px,calc(100% - 56px));height:auto}
#drawerClose{flex-shrink:0}
.footer-home{width:300px;max-width:100%;min-height:0}
.footer-home img.stm-event-logo{width:300px;height:auto}
.site-footer .footer-brand{display:flex;flex-direction:column;align-items:flex-start;gap:16px;min-width:0}
.site-footer .footer-brand .footer-socials{width:300px;max-width:100%;align-self:flex-start;justify-content:center;gap:10px;margin:0;grid-column:auto;grid-row:auto}
.sidebar-brand{position:relative;flex-wrap:wrap;gap:8px;padding-inline:0}
.sidebar-brand>a{width:100%;padding-inline-end:4px}
.sidebar-brand img.stm-event-logo{width:210px;height:auto;filter:none}
.sidebar-brand>span{padding-inline-start:0;border:0}
.sidebar-brand #closeSidebar{position:static;order:-1;margin-inline-start:auto;background:transparent}
.login-top img.stm-event-logo{width:260px;height:auto}
.login-top{flex-wrap:wrap;row-gap:14px}
.studio-top .brand img.stm-event-logo{width:190px;height:auto}
@media(max-width:1179px){.event-header-brand{width:250px}}
@media(max-width:639px){
 .event-site-header>.container{height:68px;min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-block:0}
 .event-header-brand{width:clamp(174px,47vw,210px);max-width:calc(100% - 52px);justify-content:flex-start}
 .event-header-actions{width:auto;flex-shrink:0;justify-content:flex-end}
 .event-header-actions #burger{margin:0;width:40px;height:40px}
 .event-header-actions #langBtn,.event-header-actions #themeBtn{display:none}
 .drawer-preferences{display:flex;gap:12px;align-items:center;margin:0 0 24px}
 .drawer-preferences #langBtn{min-width:96px}
 .drawer-preferences #themeBtn{width:40px;height:40px}
 html{scroll-padding-top:88px}
 .footer-home,.footer-home img.stm-event-logo{width:180px}
 .login-top>a:has(.stm-event-logo){order:-1;flex-basis:100%;display:flex;justify-content:center}
 .login-top img.stm-event-logo{width:260px}
}
/* Keep all editor actions available when the full lockup needs its own row. */
@media(max-width:820px){
 .studio-top{height:112px;display:flex;flex-wrap:wrap;justify-content:space-between;align-content:center;row-gap:6px}
 .studio-top .brand{width:100%;justify-content:center}
 .studio-top .brand img.stm-event-logo{width:205px}
 .studio-layout{height:calc(100dvh - 164px)}
 .mobile-panel,.ai-panel{top:112px!important}
}
/* Full event lockup and social links stack before they compete for mobile width. */
@media(max-width:767px){
 .site-footer .footer-home,.site-footer .footer-home img.stm-event-logo{width:180px;max-width:100%;height:auto;min-height:0}
 .site-footer .footer-brand{gap:14px}
 .site-footer .footer-brand .footer-socials{width:180px}
 .site-footer .footer-organizer-logo{width:96px;max-width:100%;min-height:0;margin:0}
 .site-footer .footer-organizer-logo img{width:96px;max-width:100%;height:auto;max-height:46px;object-fit:contain}
 .site-footer .footer-organizer-block h2{margin-bottom:10px}
}
@media(max-width:639px){.site-footer{padding-top:28px}.footer-brand{display:flex;flex-direction:column;align-items:flex-start;gap:14px;min-width:0}.footer-brand .footer-socials{margin:0}.footer-home{max-width:100%}}

/* Drawer motion: a calm side panel with a separate fading scrim. */
#drawer.drawer-shell{padding:0;overflow:hidden;background:rgb(3 20 12 / .42);opacity:0;transition:opacity 320ms ease;isolation:isolate}
#drawer.drawer-shell:not(.hidden){display:block}
#drawer.drawer-shell.is-open{opacity:1}
#drawer .drawer-panel{position:absolute;inset-block:0;inset-inline-start:0;width:min(360px,calc(100% - 28px));height:100%;height:100dvh;display:flex;flex-direction:column;gap:0;padding:24px 22px max(24px,env(safe-area-inset-bottom));background:var(--page);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 16px 60px #00180f29;transform:translateX(-104%);transition:transform 420ms cubic-bezier(.22,1,.36,1);will-change:transform}
html[dir=rtl] #drawer .drawer-panel{transform:translateX(104%)}
#drawer.is-open .drawer-panel,html[dir=rtl] #drawer.is-open .drawer-panel{transform:translateX(0)}
#drawer .drawer-panel>div:first-child{gap:12px;margin-bottom:28px;min-height:44px}
#drawer .drawer-panel img.stm-event-logo{width:190px;max-width:calc(100% - 52px);height:auto}
#drawer .drawer-panel .drawer-preferences{margin:0 0 18px;min-height:40px}
#drawer .drawer-panel .mobile-navigation{margin-top:6px}
#drawer .drawer-panel .mobile-navigation>a,#drawer .drawer-panel .mobile-navigation>.navigation-group{opacity:0;transform:translateY(7px);transition:opacity 220ms ease,transform 300ms cubic-bezier(.22,1,.36,1)}
#drawer.is-open .drawer-panel .mobile-navigation>a,#drawer.is-open .drawer-panel .mobile-navigation>.navigation-group{opacity:1;transform:translateY(0);transition-delay:var(--drawer-item-delay,60ms)}
#drawerClose{transition:background-color 180ms ease,transform 180ms ease}
#drawerClose:hover{background:var(--surface)}
#drawerClose:active{transform:scale(.94)}
@media(prefers-reduced-motion:reduce){#drawer.drawer-shell,#drawer .drawer-panel,#drawer .drawer-panel .mobile-navigation>a,#drawer .drawer-panel .mobile-navigation>.navigation-group,#drawerClose{transition:none!important;animation:none!important}#drawer .drawer-panel{will-change:auto}}
/* Shared sponsor ribbon. Explicit LTR geometry keeps motion leftward in both languages. */
.footer-partners{padding:30px 0 22px;background:#fff;color:#123d2d;overflow:hidden}
.footer-partners-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}
.footer-partners h2{font-size:.88rem;font-weight:600;margin:0;line-height:1.8}
.footer-partners-heading p{font-size:.66rem;color:#63756c;margin:3px 0 0}
.partner-motion{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;padding:8px 12px;background:#f3f7f5;border:0;border-radius:30px;color:#28513d;cursor:pointer;font:inherit;font-size:.65rem}
.partner-motion svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.partner-motion .partner-play{display:none}
.partner-motion[aria-pressed=true] .partner-play{display:block}
.partner-motion[aria-pressed=true] .partner-pause{display:none}
.partner-marquee{direction:ltr;overflow:hidden}
.partner-track{display:flex;width:max-content;animation:partners-drift 140s linear infinite;will-change:transform}
.partner-group{list-style:none;display:flex;align-items:center;gap:44px;margin:0;padding:0 44px 0 0;flex-shrink:0}
.partner-group li{flex:0 0 144px;width:144px}
.partner-group a{display:flex;align-items:center;justify-content:center;width:144px;height:108px;border-radius:8px}
.partner-group img{display:block;width:144px;height:108px;object-fit:contain;mix-blend-mode:multiply;transition:opacity .2s ease}
.partner-group a:hover img{opacity:.72}
.footer-partners:has(.partner-marquee:hover) .partner-track,.footer-partners.is-paused .partner-track{animation-play-state:paused}
.partner-marquee:focus-within{overflow-x:auto;scrollbar-width:thin}
.partner-marquee:focus-within .partner-track{animation:none;transform:none}
.partner-marquee:focus-within .partner-copy{display:none}
.partner-group a:focus-visible,.partner-motion:focus-visible{outline:2px solid #008466;outline-offset:-3px}
@keyframes partners-drift{to{transform:translateX(-50%)}}
@media(max-width:639px){.footer-partners{padding:24px 0 18px}.footer-partners h2{font-size:.8rem}.partner-motion-label{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap}.partner-motion{padding:10px}.partner-group{gap:28px;padding-right:28px}.partner-group li{flex-basis:112px;width:112px}.partner-group a,.partner-group img{width:112px;height:90px}.partner-track{animation-duration:110s}}
@media(prefers-reduced-motion:reduce){.partner-track{animation:none;will-change:auto}.partner-copy,.partner-motion{display:none}.partner-marquee{overflow-x:auto;scrollbar-width:thin}.partner-group img{transition:none}}
/* Participation benefits, immediately following the homepage hero. */
body[data-page=home] .event-hero{margin-bottom:0}
.home-benefits{background:#087157;color:#fff;padding:64px 0;margin-bottom:64px}
.home-benefits-layout{display:grid;grid-template-columns:1.05fr 1.2fr;gap:72px;align-items:center}
.home-benefits h2{font-size:clamp(1.5rem,2.5vw,2rem);font-weight:600;line-height:1.65;letter-spacing:-.025em;margin:0;max-width:530px;text-wrap:balance}
.home-benefits ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 28px;list-style:none;margin:0;padding:0}
.home-benefits li{display:flex;align-items:center;gap:14px;min-width:0}
.home-benefits h3{font-size:.88rem;font-weight:500;line-height:1.85;margin:0;text-wrap:balance}
.benefit-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:46px;height:46px;border-radius:14px;background:rgb(255 255 255 / .1);color:#fff}
.benefit-icon svg{display:block;width:25px;height:25px}
html[lang=en] .home-benefits h2{line-height:1.35}
html[lang=en] .home-benefits h3{line-height:1.6}
@media(max-width:1000px){.home-benefits-layout{grid-template-columns:1fr;gap:32px}.home-benefits h2{max-width:700px}.home-benefits ul{gap:24px 36px}}
@media(max-width:639px){.home-benefits{padding:36px 0;margin-bottom:36px}.home-benefits-layout{gap:28px}.home-benefits h2{font-size:1.4rem;line-height:1.7;max-width:440px}.home-benefits ul{grid-template-columns:1fr;gap:18px}.home-benefits h3{font-size:.83rem;text-wrap:initial}.benefit-icon{width:40px;height:40px;border-radius:12px}.benefit-icon svg{width:23px;height:23px}}
/* Photo-led interior heroes share the homepage's edge-to-edge treatment. */
.inside.first:has(.detail-photo) {
  --hero-panel: #0e4430;
  --hero-gutter: max(24px, calc((100% - 1152px) / 2));
  padding: 0;
  background: var(--hero-panel);
}
.inside.first:has(.detail-photo) > .container {
  position: relative;
  width: 100%;
  max-width: none;
  padding: 0;
}
.inside.first:has(.detail-photo) .detail-crumb {
  position: absolute;
  z-index: 3;
  inset-block-start: 26px;
  inset-inline-start: var(--hero-gutter);
  margin: 0;
  color: #d1e3d9;
  font-size: .7rem;
  gap: 12px;
  flex-wrap: wrap;
  max-width: calc(100% - 48px);
}
.inside.first:has(.detail-photo) .detail-crumb a:hover { color: #fff; }
.inside.first .detail-hero:has(.detail-photo) {
  position: relative;
  isolation: isolate;
  grid-template-columns: 1.06fr .94fr;
  min-height: 500px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--hero-panel);
}
.detail-hero:has(.detail-photo) .hero-copy {
  position: relative;
  z-index: 2;
  min-height: 500px;
  padding-block: 100px 64px;
  padding-inline-start: max(24px, calc((100vw - 1152px) / 2));
  padding-inline-end: 44px;
}
.detail-hero:has(.detail-photo) h1 { font-weight: 600; }
.detail-hero:has(.detail-photo) p { color: #d1e3d9; }
.detail-hero:has(.detail-photo) .detail-photo { min-width: 0; }
.detail-hero:has(.detail-photo) .detail-photo::after {
  background: linear-gradient(270deg, #0e4430 0%, #0e443012 35%, #0e443000 75%), linear-gradient(0deg, #0e443070, transparent 40%);
}
html[dir=ltr] .detail-hero:has(.detail-photo) .detail-photo::after {
  background: linear-gradient(90deg, #0e4430 0%, #0e443012 35%, #0e443000 75%), linear-gradient(0deg, #0e443070, transparent 40%);
}
@media (min-width: 1600px) {
  .inside.first .detail-hero:has(.detail-photo),
  .detail-hero:has(.detail-photo) .hero-copy { min-height: 550px; }
}
@media (max-width: 1000px) and (min-width: 768px) {
  .detail-hero:has(.detail-photo) .hero-copy { padding-inline-end: 24px; }
  .detail-hero:has(.detail-photo) h1 { font-size: 2.35rem; }
}
@media (max-width: 767px) {
  .inside.first .detail-hero:has(.detail-photo) {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .inside.first:has(.detail-photo) .detail-crumb { inset-block-start: 20px; color: #fff; font-size: .65rem; }
  .detail-hero:has(.detail-photo) .detail-photo {
    grid-row: 1;
    height: clamp(260px, 62vw, 380px);
    min-height: 0;
  }
  .detail-hero:has(.detail-photo) .detail-photo::after,
  html[dir=ltr] .detail-hero:has(.detail-photo) .detail-photo::after {
    background: linear-gradient(180deg, #072e23cc 0%, #072e2320 30%, #0e443000 48%, #0e4430 100%);
  }
  .detail-hero:has(.detail-photo) .hero-copy {
    min-height: 0;
    padding: 12px 24px 40px;
  }
  .detail-hero:has(.detail-photo) h1 { font-size: clamp(1.9rem, 6vw, 2.4rem); margin-block: 16px; }
  .detail-hero:has(.detail-photo) .hero-actions { gap: 12px; margin-top: 24px; }
  .detail-hero:has(.detail-photo) .hero-actions a { min-height: 48px; white-space: normal; text-align: center; }
}
