/* KME-Valmis 4.1.0 - production stylesheet */
*{box-sizing:border-box}html{scroll-behavior:smooth;font-size:16px}body{margin:0;min-width:320px;background:linear-gradient(180deg,var(--bg,#101923) 0,#111e2b 42rem,var(--bg,#101923) 100%);color:var(--text,#f5f2e9);font:16px/1.72 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-underline-offset:.18em}img{display:block;max-width:100%;height:auto}.skip{position:fixed;left:-9999px;top:1rem;z-index:999}.skip:focus{left:1rem;padding:.7rem 1rem;background:var(--gold);color:#101923;border-radius:.55rem}.site-header{position:sticky;top:0;z-index:50;background:rgba(12,20,29,.96);border-bottom:1px solid color-mix(in srgb,var(--gold) 24%,transparent);backdrop-filter:blur(14px)}.header-inner{width:min(1220px,100%);min-height:80px;margin:auto;padding:.7rem clamp(1rem,3vw,2rem);display:flex;align-items:center;gap:1.5rem}.brand{display:flex;align-items:center;gap:.75rem;min-width:0;text-decoration:none;font-weight:800;line-height:1.18}.brand img{width:56px;height:52px;object-fit:contain}.brand span{max-width:29rem}.main-menu{margin-left:auto}.menu,.submenu{margin:0;padding:0;list-style:none}.menu{display:flex;gap:.18rem}.menu li{position:relative}.menu a,.menu span{display:block;padding:.67rem .78rem;border-radius:.58rem;text-decoration:none;line-height:1.22}.menu a:hover,.menu a:focus-visible{outline:0;background:color-mix(in srgb,var(--gold) 14%,transparent);color:var(--gold)}.submenu{display:none;position:absolute;top:100%;left:0;min-width:250px;padding:.45rem;background:var(--surface);border:1px solid color-mix(in srgb,var(--gold) 28%,transparent);border-radius:.85rem;box-shadow:0 20px 50px rgba(0,0,0,.38)}.menu li:hover>.submenu,.menu li:focus-within>.submenu{display:block}.menu-toggle{display:none;margin-left:auto;padding:.62rem .85rem;border:1px solid color-mix(in srgb,var(--gold) 50%,transparent);border-radius:.6rem;background:transparent;color:inherit;font:inherit}.hero,.section,.affiliation,.article,.archive-head,.footer-grid{width:min(1220px,100%);margin-inline:auto;padding-inline:clamp(1rem,3vw,2rem)}.hero{min-height:680px;padding-top:clamp(4rem,8vw,7rem);padding-bottom:clamp(3.5rem,7vw,6rem);display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:clamp(2rem,5vw,5.5rem);align-items:center}.hero-copy h1,.article h1,.archive-head h1{margin:.45rem 0 1.4rem;max-width:850px;font-size:clamp(2.75rem,6vw,5.5rem);line-height:1.01;letter-spacing:-.048em;text-wrap:balance}.hero-lead{max-width:640px;margin:0 0 2rem;color:#c2ccd5;font-size:clamp(1.1rem,2vw,1.28rem)}.hero-visual{display:grid;place-items:center}.hero-visual img{width:min(100%,470px);filter:drop-shadow(0 24px 45px rgba(0,0,0,.36))}.eyebrow,time{color:var(--gold);font-size:.76rem;font-weight:900;letter-spacing:.15em;text-transform:uppercase}.button{display:inline-flex;align-items:center;padding:.82rem 1.1rem;border:1px solid #f6da62;border-radius:.68rem;background:linear-gradient(135deg,#f8dc67,var(--gold));color:#141b22;text-decoration:none;font-weight:900;box-shadow:0 10px 24px rgba(241,198,42,.13)}.button:hover{transform:translateY(-1px);filter:brightness(1.04)}.section{padding-top:3rem;padding-bottom:6rem}.section-heading h2{margin:.25rem 0 2rem;font-size:clamp(2rem,4vw,3.3rem);line-height:1.1}.post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem}.post-card{min-width:0;overflow:hidden;border:1px solid color-mix(in srgb,var(--gold) 25%,transparent);border-radius:1rem;background:linear-gradient(150deg,color-mix(in srgb,var(--surface) 92%,#fff 8%),var(--surface));box-shadow:0 16px 38px rgba(0,0,0,.18);transition:transform .2s,border-color .2s}.post-card:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--gold) 55%,transparent)}.card-body{padding:1.45rem}.post-card h2{margin:.64rem 0 .85rem;font-size:clamp(1.28rem,2.1vw,1.58rem);line-height:1.25;overflow-wrap:anywhere}.post-card h2 a{text-decoration:none}.post-card p{margin:.7rem 0 1.15rem;color:#c4ced7;overflow-wrap:anywhere}.text-link{display:inline-flex;gap:.35rem;align-items:center;color:var(--gold);font-weight:900;text-decoration:none}.text-link:hover{text-decoration:underline}.affiliation{margin-top:1rem;margin-bottom:6rem;padding-top:2rem;padding-bottom:2rem;display:grid;grid-template-columns:1fr minmax(230px,400px);gap:2rem;align-items:center;border-top:1px solid color-mix(in srgb,var(--gold) 22%,transparent);border-bottom:1px solid color-mix(in srgb,var(--gold) 22%,transparent)}.affiliation h2{font-size:clamp(1.8rem,3.6vw,3rem);line-height:1.12}.affiliation p:not(.eyebrow){color:#c4ced7}.affiliation img{justify-self:end;max-height:125px}.article,.archive-head{max-width:980px;padding-top:clamp(3.5rem,7vw,5.5rem);padding-bottom:4.5rem}.article>time{display:block;margin-bottom:2rem}.article-content{font-size:clamp(1rem,1.45vw,1.1rem);line-height:1.8;overflow-wrap:anywhere}.article-content>p,.article-content>ul,.article-content>ol{max-width:78ch}.article-content p{margin:0 0 1.16rem}.article-content h2{margin:2.8rem 0 1rem;color:var(--gold);font-size:clamp(1.45rem,3vw,2rem);line-height:1.2}.article-content h3{margin:2rem 0 .7rem;font-size:1.25rem}.article-content ul,.article-content ol{padding-left:1.4rem}.article-content a{color:#9fd0f4;text-decoration-thickness:.08em}.article-content a:hover{color:var(--gold)}.article-content img{border-radius:.85rem}.gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem;margin:2rem 0}.gallery figure{min-width:0;margin:0;overflow:hidden;background:var(--surface);border:1px solid color-mix(in srgb,var(--gold) 24%,transparent);border-radius:.9rem}.gallery img{width:100%;height:280px;object-fit:cover}.gallery figcaption{padding:.75rem 1rem;color:#c4ced7;font-size:.9rem}.notice{max-width:78ch;margin:1.5rem 0 2rem;padding:1rem 1.15rem;background:color-mix(in srgb,var(--gold) 10%,transparent);border-left:4px solid var(--gold);border-radius:0 .75rem .75rem 0}.archive-list details{margin:.7rem 0;padding:.9rem 1rem;background:var(--surface);border:1px solid color-mix(in srgb,var(--gold) 22%,transparent);border-radius:.75rem}.archive-list summary{cursor:pointer;color:var(--gold);font-weight:900}.archive-list details p{max-width:none;margin:1rem 0 0;line-height:1.75}.quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;margin:2rem 0}.quick-grid a,.link-list a,.inline-card{display:block;padding:1rem;background:var(--surface);border:1px solid color-mix(in srgb,var(--gold) 25%,transparent);border-radius:.78rem;text-decoration:none;transition:transform .2s,border-color .2s}.quick-grid a{color:var(--gold);font-weight:900}.quick-grid a:hover,.link-list a:hover,.inline-card:hover{transform:translateX(3px);border-color:var(--gold)}.board-list{display:grid;gap:1rem}.board-list section{padding:1.2rem;background:var(--surface);border:1px solid color-mix(in srgb,var(--gold) 22%,transparent);border-radius:.85rem}.link-list{display:grid;gap:.75rem;max-width:52rem;padding:0;list-style:none}.site-footer{margin-top:4rem;background:#0a1219;border-top:1px solid color-mix(in srgb,var(--gold) 22%,transparent)}.footer-grid{padding-top:3rem;padding-bottom:3rem;display:grid;grid-template-columns:1.6fr 1.2fr .8fr;gap:2rem;align-items:start}.footer-kme{width:68px;margin-bottom:.8rem}.union-logo{max-width:290px;max-height:90px;object-fit:contain;background:#fff;padding:.6rem;border-radius:.5rem}.footer-grid p,.footer-grid a{color:#bec8d1}.footer-link{display:inline-flex;padding:.75rem 1rem;border:1px solid color-mix(in srgb,var(--gold) 35%,transparent);border-radius:.65rem;text-decoration:none}.footer-link:hover{border-color:var(--gold);color:var(--gold)}@media(max-width:980px){.menu-toggle{display:block}.main-menu{display:none;position:absolute;top:80px;left:0;right:0;max-height:calc(100vh - 80px);overflow:auto;padding:1rem;background:#101923;border-bottom:1px solid color-mix(in srgb,var(--gold) 25%,transparent)}.main-menu.open{display:block}.menu,.submenu{display:block}.submenu{position:static;min-width:0;margin:.15rem 0 .35rem 1rem;padding:0;border:0;background:transparent;box-shadow:none}.menu a,.menu span{padding:.8rem}.hero{min-height:0;grid-template-columns:1fr}.hero-visual{grid-row:1}.hero-visual img{width:min(65vw,360px)}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-grid{grid-template-columns:1fr 1fr}.affiliation{grid-template-columns:1fr}.affiliation img{justify-self:start}}@media(max-width:660px){.brand span{display:none}.brand img{width:50px;height:47px}.hero{padding-top:3.5rem;padding-bottom:3.5rem}.hero-visual img{width:min(78vw,320px)}.post-grid,.gallery,.quick-grid,.footer-grid{grid-template-columns:1fr}.gallery img{height:auto}.article,.section,.hero,.affiliation{padding-inline:1rem}.article-content{line-height:1.72}.union-logo{max-width:240px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.post-card:hover,.quick-grid a:hover,.link-list a:hover,.inline-card:hover{transform:none}}@media print{.site-header,.site-footer,.hero-visual{display:none}body{background:#fff;color:#000}.article{max-width:none}.article-content a{color:#000}}

:root{--desktop-max:1560px;--content-max:1320px;--header-h:96px}
body{font-size:17px}
.header-inner{width:100%;max-width:var(--desktop-max);min-height:var(--header-h);margin:0 auto;padding:10px clamp(22px,3vw,52px);gap:clamp(22px,3vw,48px)}
.brand{flex:0 1 auto;gap:16px;font-size:clamp(.98rem,1.15vw,1.2rem)}
.brand img{width:88px;height:88px;object-fit:contain;filter:drop-shadow(0 8px 18px rgba(0,0,0,.35))}
.brand span{max-width:none;white-space:nowrap}
.main-menu{margin-left:auto}
.menu{gap:8px;align-items:center}
.menu>li>a,.menu>li>span{min-height:46px;display:flex;align-items:center;padding:11px 16px;border:1px solid transparent;border-radius:12px;font-size:1rem;font-weight:750;letter-spacing:.01em;color:#edf2f6;transition:color .2s,background .2s,border-color .2s,transform .2s,box-shadow .2s}
.menu>li>a:hover,.menu>li>a:focus-visible{color:#101923;background:linear-gradient(135deg,#ffe173,var(--gold));border-color:#ffe173;transform:translateY(-2px);box-shadow:0 10px 25px rgba(0,0,0,.24)}
.menu>li>a::after{display:none}
.submenu{top:calc(100% + 10px);min-width:280px;padding:10px;border-radius:14px}
.submenu a{padding:12px 14px;font-size:.98rem}
.hero,.section,.affiliation,.archive-head,.footer-grid{width:min(var(--content-max),calc(100% - 64px));padding-left:0;padding-right:0}
.hero{min-height:clamp(610px,72vh,780px);grid-template-columns:minmax(0,1.13fr) minmax(360px,.87fr);gap:clamp(56px,7vw,120px);padding-top:80px;padding-bottom:74px;align-items:center}
.hero-copy{max-width:820px}
.hero-copy h1{max-width:800px;font-size:clamp(4rem,5.2vw,6.5rem);line-height:.98;letter-spacing:-.055em}
.hero-lead{max-width:720px;font-size:1.3rem;line-height:1.65}
.hero-visual{justify-self:end;width:100%}
.hero-visual img{width:min(100%,540px)}
.button{padding:15px 22px;font-size:1rem;border-radius:12px}
.section{padding-top:34px;padding-bottom:96px}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:32px;margin-bottom:26px}
.section-heading h2{margin:4px 0 0;font-size:clamp(2.7rem,4vw,4.2rem)}
.post-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.post-card{min-height:310px;display:flex;border-radius:18px}
.card-body{display:flex;flex-direction:column;width:100%;padding:28px}
.post-card h2{font-size:clamp(1.45rem,1.7vw,1.9rem)}
.post-card p{font-size:1.02rem;line-height:1.72}
.text-link,.more{margin-top:auto;padding-top:10px}
.affiliation{margin-top:20px;margin-bottom:90px;padding:52px 0;grid-template-columns:minmax(0,1fr) minmax(340px,520px)}
.affiliation img{width:min(100%,520px);max-height:170px}
.article{width:min(1180px,calc(100% - 64px));max-width:1180px;padding-left:0;padding-right:0}
.article-content{font-size:1.12rem}
.footer-grid--centered{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;text-align:center;padding:54px 24px}
.footer-union>a{display:block;width:min(100%,560px)}
.footer-union .union-logo{display:block;width:min(100%,560px);max-width:560px;max-height:190px;margin:auto;object-fit:contain;object-position:center;background:transparent!important;padding:0!important;border-radius:0;filter:drop-shadow(0 10px 24px rgba(0,0,0,.3))}
.footer-contact,.footer-grid--centered>.footer-link{justify-content:center}
/* modern link interactions */
:where(a){text-decoration-thickness:.09em;text-underline-offset:.2em;transition:color .2s,background-color .2s,border-color .2s,box-shadow .2s,transform .2s,filter .2s}
:where(a):focus-visible{outline:3px solid color-mix(in srgb,var(--gold) 72%,white 28%);outline-offset:4px}
.article-content a:not(.button):not(.button-link),.content a:not(.button):not(.button-link){color:#9fd0f4;background-image:linear-gradient(var(--gold),var(--gold));background-position:0 100%;background-repeat:no-repeat;background-size:0 2px}.article-content a:hover,.content a:hover{color:var(--gold);background-size:100% 2px}
.post-card{transition:transform .22s,border-color .22s,box-shadow .22s}.post-card:has(a:hover),.post-card:has(a:focus-visible){transform:translateY(-6px);border-color:var(--gold);box-shadow:0 24px 50px rgba(0,0,0,.3)}
.button:hover,.button-link:hover,.footer-link:hover{transform:translateY(-2px);filter:brightness(1.07);box-shadow:0 13px 30px rgba(0,0,0,.28)}
.brand:hover,.brand:focus-visible,.footer-union>a:hover,.footer-union>a:focus-visible{transform:translateY(-2px);filter:brightness(1.08)}
.menu-toggle{display:none}
@media(max-width:1180px){.brand span{white-space:normal;max-width:310px}.menu{gap:2px}.menu>li>a,.menu>li>span{padding:10px 11px;font-size:.93rem}.hero-copy h1{font-size:clamp(3.6rem,6vw,5.4rem)}}
@media(max-width:980px){:root{--header-h:80px}.header-inner{min-height:80px;padding:8px 16px}.brand img{width:68px;height:68px}.brand span{display:none}.menu-toggle{display:inline-flex;align-items:center;gap:10px;margin-left:auto;padding:11px 15px;border:1px solid color-mix(in srgb,var(--gold) 50%,transparent);border-radius:12px;background:var(--gold);color:#101923;font:inherit;font-weight:850}.menu-toggle__icon,.menu-toggle__icon::before,.menu-toggle__icon::after{display:block;width:20px;height:2px;background:currentColor;border-radius:2px;content:'';transition:transform .2s}.menu-toggle__icon::before{transform:translateY(-6px)}.menu-toggle__icon::after{transform:translateY(4px)}.main-menu{display:none;position:absolute;top:80px;left:12px;right:12px;max-height:calc(100vh - 92px);overflow:auto;margin:0;padding:12px;background:rgba(16,25,35,.985);border:1px solid color-mix(in srgb,var(--gold) 35%,transparent);border-radius:0 0 18px 18px;box-shadow:0 24px 55px rgba(0,0,0,.48)}.main-menu.open{display:block}.menu,.submenu{display:block}.menu>li>a,.menu>li>span{width:100%;min-height:52px;padding:13px 15px;font-size:1.05rem}.submenu{position:static;display:block;min-width:0;margin:0 0 8px 16px;padding:0;background:transparent;border:0;box-shadow:none}.submenu a{border-left:2px solid color-mix(in srgb,var(--gold) 42%,transparent);border-radius:0 9px 9px 0}.hero{width:min(760px,calc(100% - 40px));min-height:0;grid-template-columns:1fr;padding:52px 0 62px;gap:32px;text-align:center}.hero-visual{grid-row:1;justify-self:center}.hero-visual img{width:min(44vw,320px)}.hero-copy{margin:auto}.hero-copy h1{font-size:clamp(3rem,9vw,5rem)}.hero-lead{margin-left:auto;margin-right:auto}.section,.affiliation{width:min(900px,calc(100% - 40px))}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.affiliation{grid-template-columns:1fr;text-align:center}.affiliation img{justify-self:center}}
@media(max-width:680px){body{font-size:16px}.hero,.section,.affiliation,.article{width:calc(100% - 30px)}.hero{padding-top:36px}.hero-visual img{width:min(52vw,230px)}.hero-copy h1{font-size:clamp(2.7rem,13vw,4rem)}.section-heading{display:block}.post-grid{grid-template-columns:1fr}.post-card{min-height:0}.footer-union>a,.footer-union .union-logo{width:min(100%,390px)}}
@media(prefers-reduced-motion:reduce){:where(a),.post-card,.menu-toggle__icon,.menu-toggle__icon::before,.menu-toggle__icon::after{transition:none!important}.post-card:has(a:hover),.button:hover,.brand:hover{transform:none}}


body{font-size:var(--font-base,17px)}
.menu>li>a,.menu>li>span{font-size:var(--font-nav,17px)}
.hero-copy h1{font-size:clamp(calc(4rem * var(--heading-scale,1)),calc(5.2vw * var(--heading-scale,1)),calc(6.5rem * var(--heading-scale,1)))}
.article h1,.archive-head h1{font-size:clamp(calc(2.75rem * var(--heading-scale,1)),calc(5vw * var(--heading-scale,1)),calc(5rem * var(--heading-scale,1)))}
.section-heading h2{font-size:clamp(calc(2.7rem * var(--heading-scale,1)),calc(4vw * var(--heading-scale,1)),calc(4.2rem * var(--heading-scale,1)))}
.article-content h2{font-size:clamp(calc(1.45rem * var(--heading-scale,1)),calc(2.4vw * var(--heading-scale,1)),calc(2.1rem * var(--heading-scale,1)))}

/* Board page stays consistent even after ordinary Publii editor changes */
.board-list{display:grid;gap:18px;margin-top:24px}
.board-list section,.board-list>div{margin:0;padding:24px 26px;background:var(--surface,#18283a);border:1px solid color-mix(in srgb,var(--gold) 28%,transparent);border-radius:16px;box-shadow:0 14px 32px rgba(0,0,0,.14)}
.board-list h2,.board-list h3{margin-top:0}
.board-list h2{margin-bottom:14px;color:var(--gold);font-size:clamp(1.35rem,2vw,1.8rem)}
.board-list h3{margin-bottom:8px;color:var(--text,#f5f2e9);font-size:1.15rem}
.board-list ul{margin:0;padding-left:1.25rem}
.board-list li+li{margin-top:.35rem}
.board-list p:last-child{margin-bottom:0}

/* If an editor-created heading lands directly inside the content, do not mimic a warning banner */
.article-content>h2:first-child,.article-content>.board-list+h2{padding:0;background:transparent;border-left:0;border-radius:0;color:var(--gold)}

@media(max-width:980px){.menu>li>a,.menu>li>span{font-size:max(16px,var(--font-nav,17px))}}
@media(max-width:680px){.hero-copy h1{font-size:clamp(2.7rem,13vw,4rem)}.board-list section,.board-list>div{padding:20px}}


.hero--overlay{
  position:relative;
  display:grid;
  grid-template-columns:1fr;
  place-items:center;
  min-height:clamp(560px,68vh,740px);
  padding-top:60px;
  padding-bottom:58px;
  text-align:center;
  isolation:isolate;
}
.hero--overlay .hero-visual{
  grid-area:1/1;
  justify-self:center;
  width:min(42vw,560px);
  opacity:.94;
  filter:drop-shadow(0 28px 55px rgba(0,0,0,.38));
  z-index:1;
}
.hero--overlay .hero-visual img{width:100%;max-width:none}
.hero--overlay .hero-copy{
  grid-area:1/1;
  width:min(1500px,calc(100% - 48px));
  max-width:none;
  z-index:2;
  pointer-events:none;
}
.hero--overlay .eyebrow{
  margin:0 0 18px;
  text-shadow:0 2px 10px rgba(0,0,0,.9);
}
.hero--overlay h1{
  max-width:none;
  margin:0;
  white-space:nowrap;
  font-size:clamp(2.75rem,5.25vw,6.4rem);
  line-height:.98;
  letter-spacing:-.055em;
  text-wrap:nowrap;
  text-shadow:0 4px 18px rgba(0,0,0,.96),0 1px 2px rgba(0,0,0,1);
}
.hero--overlay .hero-lead{
  width:max-content;
  max-width:min(760px,90vw);
  margin:24px auto 0;
  padding:9px 16px;
  border-radius:999px;
  color:#eef4f7;
  background:rgba(8,15,22,.64);
  box-shadow:0 8px 26px rgba(0,0,0,.22);
  backdrop-filter:blur(7px);
  text-shadow:0 2px 8px rgba(0,0,0,.8);
}
.section--news{padding-top:20px}
.section--news .section-heading{display:block;margin-bottom:22px}
.section--news .section-heading .eyebrow{margin:0}

/* User-adjustable card typography */
.post-card h2,.card h2{font-size:var(--card-title-size,26px);line-height:1.22}
.post-card p,.card p{font-size:var(--card-text-size,17px);line-height:1.7}
.post-card time,.card time{font-size:var(--card-meta-size,13px);line-height:1.35}
.post-card .text-link,.post-card .more,.card .text-link,.card .more{font-size:var(--card-link-size,16px)}

@media(max-width:980px){
  .hero--overlay{min-height:520px;padding-top:44px;padding-bottom:48px}
  .hero--overlay .hero-visual{width:min(60vw,390px)}
  .hero--overlay h1{font-size:clamp(2rem,6.7vw,4rem)}
}
@media(max-width:680px){
  .hero--overlay{min-height:440px;width:calc(100% - 24px);padding-top:28px;padding-bottom:38px}
  .hero--overlay .hero-visual{width:min(68vw,250px)}
  .hero--overlay .hero-copy{width:100%}
  .hero--overlay h1{white-space:normal;text-wrap:balance;font-size:clamp(2.45rem,12vw,3.7rem);line-height:1.02}
  .hero--overlay .hero-lead{width:auto;max-width:92%;font-size:1rem}
  .post-card h2,.card h2{font-size:max(21px,var(--card-title-size,26px))}
  .post-card p,.card p{font-size:max(16px,var(--card-text-size,17px))}
}


.hero--overlay{
  grid-template-rows:minmax(390px,1fr) auto;
  align-content:center;
  row-gap:26px;
}
.hero--overlay .hero-visual{
  grid-column:1;
  grid-row:1;
  align-self:center;
}
.hero--overlay .hero-copy{
  grid-column:1;
  grid-row:1;
  align-self:center;
}
.hero--overlay .hero-lead--below{
  grid-column:1;
  grid-row:2;
  position:relative;
  z-index:3;
  width:min(1100px,calc(100% - 48px));
  max-width:1100px;
  margin:0 auto;
  padding:14px 22px;
  border:1px solid color-mix(in srgb,var(--gold) 22%,transparent);
  border-radius:16px;
  color:#e5edf3;
  background:rgba(8,15,22,.58);
  box-shadow:0 12px 30px rgba(0,0,0,.2);
  backdrop-filter:blur(8px);
  font-size:clamp(1rem,1.35vw,1.2rem);
  line-height:1.65;
  text-align:center;
  text-wrap:balance;
}
/* Override the older lead rule that positioned it inside the overlay. */
.hero--overlay .hero-copy .hero-lead{display:none}

@media(max-width:980px){
  .hero--overlay{grid-template-rows:minmax(320px,1fr) auto;row-gap:22px}
  .hero--overlay .hero-lead--below{width:min(760px,calc(100% - 30px));padding:13px 18px}
}
@media(max-width:680px){
  .hero--overlay{grid-template-rows:minmax(285px,1fr) auto;row-gap:18px}
  .hero--overlay .hero-lead--below{width:100%;max-width:100%;padding:12px 14px;border-radius:13px;font-size:1rem;line-height:1.55}
}

.kme-record[hidden]{display:none!important}.brand span{display:inline-block!important}.hero{position:relative}.hero-news-link{position:absolute;z-index:4;top:22px;right:0;display:inline-flex;align-items:center;gap:9px;padding:11px 16px;border:1px solid var(--gold);border-radius:12px;background:rgba(9,17,26,.72);color:var(--gold);font-weight:850;text-decoration:none;box-shadow:0 10px 28px rgba(0,0,0,.2);backdrop-filter:blur(7px)}.hero-news-link:hover,.hero-news-link:focus-visible{background:rgba(34,90,136,.32);transform:translateY(-2px)}
.footer-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,1.25fr) minmax(0,1fr);align-items:center;gap:clamp(28px,4vw,72px);width:min(1440px,calc(100% - 48px));margin:auto;padding:58px 0 44px;text-align:left}.footer-about,.footer-contact{min-width:0}.footer-union{display:flex;flex-direction:column;align-items:center;text-align:center;padding-inline:22px;border-inline:1px solid rgba(241,198,42,.2)}.footer-kicker{margin:0 0 12px;color:var(--gold);font-size:.8rem;font-weight:900;letter-spacing:.09em}.footer-about>p:not(.footer-kicker),.footer-note{margin:0;color:#c8d3dc;line-height:1.65}.footer-small-link{display:inline-block;margin-top:13px;color:#e7eef5;font-weight:750;text-decoration:none;border-bottom:1px solid rgba(241,198,42,.5)}.union-link{display:flex;align-items:center;justify-content:center;width:min(100%,760px);margin:auto;text-decoration:none}.union-logo--approved{display:block;width:100%;height:auto;max-height:390px;background:transparent!important;object-fit:contain;image-rendering:auto;filter:drop-shadow(0 14px 32px rgba(0,0,0,.3))}.footer-affiliation{margin:12px 0 0;color:#e7eef5;font-size:.98rem;font-weight:750;letter-spacing:.025em}.footer-contact{text-align:right}.footer-email{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:11px 20px;border:1px solid var(--gold);border-radius:12px;background:linear-gradient(135deg,rgba(241,198,42,.12),rgba(34,90,136,.2));color:var(--gold);font-size:1rem;font-weight:850;letter-spacing:.03em;text-decoration:none;box-shadow:0 8px 24px rgba(0,0,0,.2);transition:.18s ease}.footer-email:hover,.footer-email:focus-visible{transform:translateY(-2px);background:linear-gradient(135deg,rgba(241,198,42,.22),rgba(34,90,136,.32));box-shadow:0 12px 28px rgba(0,0,0,.28)}.footer-note{margin-top:12px;font-size:.9rem}.footer-bottom{display:flex;align-items:center;justify-content:center;gap:10px;padding:18px 20px 22px;border-top:1px solid rgba(241,198,42,.2);color:#94a5b3;font-size:.86rem;text-align:center}.footer-bottom a{color:#bac8d2;text-decoration:none}
@media(min-width:981px){.main-menu .menu>li:has(>.submenu):after{content:"";position:absolute;top:100%;left:0;right:0;height:20px}.main-menu .submenu{top:calc(100% + 10px);z-index:2000}.main-menu .menu>li:hover>.submenu,.main-menu .menu>li:focus-within>.submenu{display:block}}
@media(max-width:980px){body.menu-open{overflow:hidden}.site-header{z-index:3000}.header-inner{min-height:76px;padding:7px 12px}.brand img{width:60px;height:60px}.menu-toggle{min-height:46px;min-width:86px}.main-menu{position:fixed;top:76px;left:0;right:0;bottom:0;overflow-y:auto;border-radius:0}.main-menu .menu,.main-menu .submenu{display:block;position:static;width:100%;opacity:1;visibility:visible;pointer-events:auto}.main-menu .submenu{margin:0 0 10px;padding-left:14px}.hero-news-link{top:14px;right:4px}.hero{width:calc(100% - 28px);min-height:0;grid-template-rows:minmax(290px,auto) auto;padding:26px 0 42px}.prop,.hero-copy{grid-row:1}.prop{width:min(58vw,310px)}.hero-copy h1{white-space:normal;text-wrap:balance;font-size:clamp(2.15rem,8.2vw,4rem)}.hero-lead{grid-row:2;width:100%;margin:0}.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-grid{grid-template-columns:1fr;width:min(760px,calc(100% - 36px));gap:34px;text-align:center}.footer-union{order:1;border:0;border-block:1px solid rgba(241,198,42,.18);padding:28px 0}.footer-about{order:2}.footer-contact{order:3;text-align:center}.union-link{width:min(100%,680px)}.union-logo--approved{max-height:330px}}
@media(max-width:620px){.header-inner{min-height:70px}.main-menu{top:70px}.brand img{width:56px;height:56px}.hero-news-link{position:relative;top:auto;right:auto;justify-self:end;grid-column:1;grid-row:1;margin:0 2px 10px;padding:9px 12px;font-size:.88rem}.hero{grid-template-rows:auto minmax(250px,auto) auto;padding-top:14px}.prop,.hero-copy{grid-row:2}.hero-lead{grid-row:3}.prop{width:min(65vw,240px)}.hero-copy h1{font-size:clamp(2rem,11vw,3.25rem)}.post-grid{grid-template-columns:1fr}.footer-grid{width:calc(100% - 24px);padding:42px 0 32px;gap:26px}.footer-union{padding:24px 0}.union-link{width:100%}.union-logo--approved{max-height:260px}.footer-bottom{flex-wrap:wrap;padding-inline:12px}.footer-email{min-height:46px;padding:10px 17px;font-size:.96rem}}


.hero-news-link,
.hero-news-link:visited {
  color: #f1c62a !important;
  border-color: #f1c62a !important;
  background: linear-gradient(135deg, rgba(241,198,42,.10), rgba(8,17,26,.88)) !important;
  text-shadow: 0 1px 10px rgba(241,198,42,.18);
}
.hero-news-link span { color: #f1c62a !important; }
.hero-news-link:hover,
.hero-news-link:focus-visible {
  color: #ffe276 !important;
  border-color: #ffe276 !important;
  background: linear-gradient(135deg, rgba(241,198,42,.20), rgba(34,90,136,.34)) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.28), 0 0 0 3px rgba(241,198,42,.10);
}

@media (max-width: 980px) {
  .hero-news-link {
    box-sizing: border-box;
    max-width: calc(100% - 8px);
    min-height: 44px;
    white-space: nowrap;
    touch-action: manipulation;
  }
  .main-menu {
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
    overscroll-behavior: contain;
  }
  .main-menu a,
  .main-menu span {
    overflow-wrap: anywhere;
  }
  .footer-grid {
    overflow: hidden;
  }
  .union-logo--approved {
    max-width: 100%;
  }
}

@media (max-width: 620px) {
  .hero-news-link {
    justify-self: stretch !important;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0 0 12px !important;
    padding: 10px 14px !important;
    font-size: .94rem !important;
  }
  .hero {
    width: calc(100% - 20px) !important;
  }
  .hero-copy,
  .hero-lead,
  .news,
  .article {
    min-width: 0;
  }
  .hero-copy h1,
  .post-card h2,
  .article h1 {
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .footer-email {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 370px) {
  .hero-news-link {
    font-size: .88rem !important;
  }
  .brand span {
    max-width: 86px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}


.footer-union .union-link {
  width: min(100%, 660px);
  min-height: 150px;
}
.footer-union .union-logo,
.footer-union .union-logo--approved {
  display: block;
  width: 100%;
  height: auto;
  max-height: 230px !important;
  margin-inline: auto;
  object-fit: contain;
  background: transparent !important;
  filter: none !important;
  image-rendering: auto;
}
@media (max-width: 980px) {
  .footer-union .union-link { width: min(100%, 620px); min-height: 130px; }
  .footer-union .union-logo,
  .footer-union .union-logo--approved { max-height: 210px !important; }
}
@media (max-width: 620px) {
  .footer-union .union-link { width: min(100%, 390px); min-height: 96px; }
  .footer-union .union-logo,
  .footer-union .union-logo--approved { max-height: 155px !important; }
}


body {
  background:
    radial-gradient(circle at 52% 18%, rgba(36,97,142,.28), transparent 35%),
    radial-gradient(circle at 88% 46%, rgba(22,68,99,.24), transparent 33%),
    linear-gradient(180deg, #08131d 0%, #0b1e2d 48%, #08131d 100%);
}
.site-header {
  background: rgba(6,15,23,.94);
  border-bottom: 1px solid rgba(241,198,42,.72);
  box-shadow: 0 9px 28px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
}
.header-inner { min-height: 74px; }
.brand img { width: 58px; height: 58px; }
.brand span { color: #f5f2e9; font-weight: 900; letter-spacing: .025em; }
.hero {
  position: relative;
  min-height: 650px;
  padding-top: 62px;
  padding-bottom: 64px;
  text-align: center;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(390px,auto) auto;
  place-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(6,16,25,.12), rgba(6,16,25,.62)),
    radial-gradient(ellipse at 50% 48%, rgba(31,94,140,.25), transparent 54%);
  border-bottom: 1px solid rgba(241,198,42,.5);
}
.prop,.hero-copy { grid-column: 1; grid-row: 1; }
.prop { width: min(40vw,440px); opacity: .96; }
.hero-copy { z-index: 2; width: min(1200px,100%); }
.hero-copy h1 {
  max-width: 1200px;
  margin-inline: auto;
  color: #fff;
  font-size: clamp(2.8rem,5.5vw,5.8rem);
  text-shadow: 0 4px 24px rgba(0,0,0,.75);
}
.hero-copy .eyebrow { color: #f1c62a; }
.hero-lead {
  grid-column: 1;
  grid-row: 2;
  width: min(820px,100%);
  margin: 0 auto;
  padding: 15px 22px;
  border: 1px solid rgba(241,198,42,.32);
  border-radius: 14px;
  background: rgba(7,18,28,.70);
  color: #e0e8ee;
  box-shadow: 0 14px 32px rgba(0,0,0,.2);
  backdrop-filter: blur(7px);
}
.hero-news-link,
.hero-news-link:visited {
  top: 18px;
  right: 0;
  color: #f1c62a !important;
  border-color: #f1c62a !important;
  background: rgba(7,17,26,.84) !important;
}
.news { padding-top: 44px; }
.post-grid { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 1040px; margin-inline: auto; }
.post-card {
  border-color: rgba(241,198,42,.54);
  background: linear-gradient(145deg,rgba(15,35,51,.94),rgba(8,23,34,.96));
  box-shadow: 0 16px 38px rgba(0,0,0,.24);
}
.post-card:hover { border-color: #f1c62a; box-shadow: 0 20px 44px rgba(0,0,0,.34); }
.site-footer {
  background: linear-gradient(180deg,#07131d,#061019);
  border-top: 1px solid rgba(241,198,42,.7);
}
.footer-grid { width: min(1420px,calc(100% - 48px)); }
.footer-union { border-inline-color: rgba(241,198,42,.22); }
.footer-union .union-logo { filter: none !important; background: transparent !important; }
.footer-email { color: #f1c62a; border-color: #f1c62a; }
.footer-bottom { border-top-color: rgba(241,198,42,.22); }

@media (max-width:980px) {
  .hero { min-height: 0; padding-top: 78px; grid-template-rows: minmax(340px,auto) auto; }
  .prop { width: min(55vw,340px); }
  .hero-copy h1 { font-size: clamp(2.4rem,7.2vw,4.5rem); }
  .post-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:620px) {
  .hero { padding-top: 16px; grid-template-rows: auto minmax(270px,auto) auto; }
  .hero-news-link { position: relative; grid-column:1; grid-row:1; justify-self: stretch; justify-content:center; width:100%; top:auto; right:auto; min-height:44px; }
  .prop,.hero-copy { grid-row:2; }
  .hero-lead { grid-row:3; padding: 13px 14px; }
  .prop { width: min(68vw,245px); }
  .hero-copy h1 { font-size: clamp(2rem,11vw,3.25rem); }
  .post-grid { grid-template-columns:1fr; }
  .footer-grid { width: calc(100% - 24px); }
}


.hero-news-link{display:none!important}
.hero--compact{
  min-height:0!important;
  grid-template-columns:1fr!important;
  grid-template-rows:minmax(245px,32vh) auto!important;
  row-gap:10px!important;
  padding-top:18px!important;
  padding-bottom:18px!important;
}
.hero--compact .prop,.hero--compact .hero-copy{grid-column:1;grid-row:1}
.hero--compact .prop{width:min(23vw,270px)!important}
.hero--compact .hero-copy{width:min(1180px,100%);max-width:none;margin:auto}
.hero--compact .hero-copy h1{
  max-width:none!important;
  margin:.2rem auto 0!important;
  font-size:clamp(2.35rem,4.2vw,4.8rem)!important;
  line-height:1!important;
}
.hero--compact .hero-copy .eyebrow{margin:0 0 8px}
.hero--compact .hero-lead{
  grid-column:1;grid-row:2;
  width:min(920px,100%)!important;
  padding:10px 18px!important;
  font-size:clamp(.96rem,1.08vw,1.08rem)!important;
  line-height:1.45!important;
}
.news--compact{width:min(1320px,calc(100% - 48px));margin:auto;padding:18px 0 58px!important}
.news--compact .post-grid{max-width:none!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;margin-top:0!important}
.news--compact .post-card{min-height:230px!important}
.news--compact .card-body{padding:20px!important}
.news--compact .post-card h2{margin:.45rem 0 .55rem!important;font-size:clamp(1.2rem,1.5vw,1.55rem)!important}
.news--compact .post-card p{margin:.45rem 0 .7rem!important;line-height:1.5!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

/* Johtokunta: neutraloi editorin inline-tyylit ja muodosta yhtenäiset kortit. */
.article-content>.notice:first-child{margin:0 0 18px!important;padding:0!important;border:0!important;background:transparent!important;border-radius:0!important}
.article-content>.notice:first-child span{color:var(--gold)!important;font-family:inherit!important;font-size:clamp(1.35rem,2vw,1.8rem)!important;font-weight:900!important;letter-spacing:0!important}
.board-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;margin:0!important}
.board-list>section,.board-list>div{min-width:0;margin:0!important;padding:22px 24px!important;border:1px solid rgba(241,198,42,.34)!important;border-radius:16px!important;background:linear-gradient(145deg,rgba(24,40,58,.96),rgba(12,29,43,.96))!important;box-shadow:0 14px 34px rgba(0,0,0,.2)!important}
.board-list>section:first-child{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:18px;border-color:rgba(241,198,42,.55)!important}
.board-list h2{margin:0 0 14px!important;color:var(--gold)!important;font-size:clamp(1.25rem,1.7vw,1.6rem)!important}
.board-list h3{margin:0!important;color:#fff!important;font-size:1.25rem!important}
.board-list ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin:0!important;padding:0!important;list-style:none!important}
.board-list li{position:relative;margin:0!important;padding:8px 10px 8px 23px;border-radius:9px;background:rgba(255,255,255,.035)}
.board-list li:before{content:'•';position:absolute;left:10px;color:var(--gold);font-weight:900}
.board-list .align-right{grid-column:1/-1;margin:18px 0 0!important;padding-top:15px;border-top:1px solid rgba(241,198,42,.2);color:#cbd6df!important;font-size:.94rem!important;font-weight:650!important;text-align:left!important}

@media(max-width:980px){
 .hero--compact{grid-template-rows:minmax(225px,28vh) auto!important;padding-top:12px!important}
 .hero--compact .prop{width:min(34vw,235px)!important}
 .news--compact .post-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:620px){
 .hero--compact{width:calc(100% - 22px)!important;grid-template-rows:minmax(205px,auto) auto!important;padding:8px 0 14px!important}
 .hero--compact .prop{width:min(58vw,205px)!important}
 .hero--compact .hero-copy h1{font-size:clamp(2rem,10vw,3.15rem)!important;overflow-wrap:normal!important;hyphens:none!important}
 .hero--compact .hero-lead{padding:10px 12px!important;font-size:.94rem!important}
 .news--compact{width:calc(100% - 24px);padding-top:12px!important}
 .news--compact .post-grid{grid-template-columns:1fr!important}
 .news--compact .post-card{min-height:0!important}
 .board-list{grid-template-columns:1fr!important}
 .board-list>section:first-child{grid-column:auto;display:block}
 .board-list ul{grid-template-columns:1fr}
 .board-list>section,.board-list>div{padding:18px!important}
}


.kme-booking{margin:2.5rem 0 3rem;padding:clamp(1rem,2.5vw,1.75rem);border:1px solid rgba(241,198,42,.42);border-radius:18px;background:linear-gradient(145deg,rgba(18,42,61,.96),rgba(8,24,36,.97));box-shadow:0 18px 42px rgba(0,0,0,.24)}
.kme-booking__head>h2{margin:.2rem 0 .65rem!important}.kme-booking__head>p:not(.eyebrow){max-width:75ch}.kme-booking__legend{display:flex;flex-wrap:wrap;gap:1rem;margin:1rem 0 1.4rem;color:#dbe5ec;font-weight:750}.kme-booking__legend span{display:inline-flex;align-items:center;gap:.5rem}.kme-booking__legend i{width:1rem;height:1rem;border-radius:4px;border:1px solid rgba(255,255,255,.25)}.kme-booking__legend .is-free{background:#1f7a4f}.kme-booking__legend .is-booked{background:#9d3d42}
.kme-booking__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}.kme-calendar{min-width:0;padding:1rem;border:1px solid rgba(241,198,42,.28);border-radius:15px;background:rgba(5,17,27,.6)}.kme-calendar>h3{margin:0 0 .85rem;color:var(--gold);font-size:clamp(1.35rem,2vw,1.7rem)}
.kme-calendar__toolbar{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:.5rem;margin-bottom:.8rem}.kme-calendar__month{margin:0;text-align:center;color:#fff;font-size:1.07rem;font-weight:900;text-transform:capitalize}.kme-calendar__nav{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid rgba(241,198,42,.55);border-radius:10px;background:rgba(34,90,136,.2);color:var(--gold);font:900 1.3rem/1 system-ui;cursor:pointer}.kme-calendar__nav:hover,.kme-calendar__nav:focus-visible{background:var(--gold);color:#101923}.kme-calendar__nav:disabled{opacity:.35;cursor:not-allowed}
.kme-calendar__week,.kme-calendar__days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.kme-calendar__week span{padding:.25rem 0;color:#aebdca;font-size:.72rem;font-weight:850;text-align:center;text-transform:uppercase}.kme-calendar__day{min-height:58px;padding:.38rem .22rem;border:1px solid rgba(255,255,255,.08);border-radius:8px;background:rgba(255,255,255,.035);color:#d8e1e8;text-align:center}.kme-calendar__day time{display:block;color:inherit;font-size:.82rem;font-weight:900;letter-spacing:0;text-transform:none}.kme-calendar__day small{display:block;margin-top:.1rem;font-size:.64rem;line-height:1.15}.kme-calendar__day.is-free{background:linear-gradient(145deg,#246f4e,#17583d);border-color:#49a779;color:#fff}.kme-calendar__day.is-booked{background:linear-gradient(145deg,#994047,#702c31);border-color:#c66b71;color:#fff}.kme-calendar__day.is-empty{border-color:transparent;background:transparent}.kme-calendar__day.is-unknown{opacity:.52}.kme-calendar__loading,.kme-calendar__error{margin:.75rem 0;padding:1rem;border-radius:10px;background:rgba(255,255,255,.05)}.kme-calendar__error{border-left:4px solid var(--gold)}.kme-calendar__error a,.kme-booking__source a{color:#9fd0f4}.kme-booking__source{margin:1rem 0 0!important;color:#bfcbd5;font-size:.9rem}
@media(max-width:900px){.kme-booking__grid{grid-template-columns:1fr}.kme-calendar__day{min-height:62px}}
@media(max-width:480px){.kme-booking{margin-inline:-.25rem;padding:.8rem}.kme-calendar{padding:.7rem}.kme-calendar__week,.kme-calendar__days{gap:3px}.kme-calendar__day{min-height:52px;padding:.3rem .1rem;border-radius:6px}.kme-calendar__day small{font-size:.58rem}.kme-calendar__month{font-size:.96rem}}

.hero--compact .hero-lead{
  box-sizing:border-box!important;
  width:100vw!important;
  max-width:none!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  padding:14px max(24px,calc((100vw - 1180px)/2 + 24px))!important;
  border-radius:0!important;
}
@media(max-width:620px){
  .hero--compact .hero-lead{
    padding:12px 18px!important;
  }
}

@media (max-width:980px){
  :root{--kme-mobile-header:76px}
  body.menu-open{overflow:hidden!important;touch-action:none}
  .site-header{position:sticky!important;top:0!important;z-index:5000!important}
  .header-inner{position:relative!important;min-height:var(--kme-mobile-header)!important;padding:7px 12px!important}
  .brand{position:relative;z-index:2}
  .brand img{width:60px!important;height:60px!important}
  .menu-toggle{
    position:relative;z-index:2;display:inline-flex!important;align-items:center;justify-content:center;
    min-width:108px!important;min-height:48px!important;margin-left:auto!important;padding:11px 16px!important;
    border:1px solid rgba(241,198,42,.9)!important;border-radius:12px!important;
    background:linear-gradient(135deg,#f1c62a,#d8aa12)!important;color:#101923!important;
    font-size:1rem!important;font-weight:900!important;line-height:1!important;box-shadow:0 8px 24px rgba(0,0,0,.25);
  }
  .main-menu{
    display:none!important;position:fixed!important;z-index:4990!important;
    top:var(--kme-mobile-header)!important;right:0!important;bottom:0!important;left:0!important;
    width:100%!important;height:calc(100dvh - var(--kme-mobile-header))!important;
    max-height:none!important;margin:0!important;padding:14px 14px max(30px,env(safe-area-inset-bottom))!important;
    overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;
    border:0!important;border-top:1px solid rgba(241,198,42,.45)!important;border-radius:0!important;
    background:linear-gradient(180deg,#0b1b29 0%,#08131d 100%)!important;
    box-shadow:0 20px 45px rgba(0,0,0,.55)!important;-webkit-overflow-scrolling:touch;
  }
  .main-menu.open{display:block!important}
  .main-menu>.menu{display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important;margin:0!important;padding:0!important}
  .main-menu .menu li{display:block!important;position:relative!important;width:100%!important;margin:0!important;padding:0!important}
  .main-menu .menu>li>a,.main-menu .menu>li>span{
    display:flex!important;align-items:center!important;width:100%!important;min-height:54px!important;
    padding:14px 16px!important;border:1px solid rgba(241,198,42,.24)!important;border-radius:12px!important;
    background:rgba(255,255,255,.045)!important;color:#fff!important;font-size:1.04rem!important;font-weight:850!important;
    line-height:1.25!important;text-decoration:none!important;white-space:normal!important;
  }
  .main-menu .menu>li>a:hover,.main-menu .menu>li>a:focus-visible,.main-menu .menu>li.current-menu-item>a{
    border-color:rgba(241,198,42,.78)!important;background:rgba(34,90,136,.38)!important;color:#f1c62a!important;
  }
  .main-menu .submenu{
    display:block!important;position:static!important;width:calc(100% - 16px)!important;min-width:0!important;
    margin:6px 0 2px 16px!important;padding:0!important;opacity:1!important;visibility:visible!important;
    pointer-events:auto!important;border:0!important;background:transparent!important;box-shadow:none!important;
  }
  .main-menu .submenu li+li{margin-top:5px!important}
  .main-menu .submenu a,.main-menu .submenu span{
    display:flex!important;align-items:center!important;width:100%!important;min-height:48px!important;padding:12px 14px!important;
    border:0!important;border-left:3px solid rgba(241,198,42,.64)!important;border-radius:0 10px 10px 0!important;
    background:rgba(34,90,136,.16)!important;color:#e5edf3!important;font-size:.97rem!important;font-weight:720!important;
    line-height:1.3!important;text-decoration:none!important;white-space:normal!important;
  }
  .main-menu .submenu a:hover,.main-menu .submenu a:focus-visible{background:rgba(34,90,136,.4)!important;color:#f1c62a!important}
}
@media (max-width:420px){
  :root{--kme-mobile-header:72px}
  .header-inner{min-height:72px!important}
  .brand img{width:56px!important;height:56px!important}
  .menu-toggle{min-width:100px!important;min-height:46px!important;padding:10px 14px!important}
  .main-menu{padding-inline:10px!important}
}

/* Etusivu: otsikkoalue koko leveydelle, johdantoteksti rajattuun laatikkoon */
.hero--compact{
  width:100%!important;
  max-width:none!important;
  margin-inline:0!important;
  padding-inline:0!important;
}
.hero--compact .hero-lead{
  box-sizing:border-box!important;
  width:min(920px,calc(100% - 32px))!important;
  max-width:920px!important;
  margin:0 auto!important;
  padding:13px 20px!important;
  border:1px solid rgba(241,198,42,.30)!important;
  border-radius:12px!important;
  background:rgba(6,18,28,.78)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.18)!important;
}
@media(max-width:620px){
  .hero--compact .hero-lead{
    width:calc(100% - 24px)!important;
    padding:12px 14px!important;
    border-radius:10px!important;
  }
}
