/* Expanded forms keep their original slot and scroll internally. */
.form-card.expanded{max-height:calc(100svh - 120px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
#svcChips .chip-tick{display:none!important;animation:none!important}
.form-card.expanded .form-close{position:sticky;top:0;float:right;margin-top:-12px;margin-right:-12px}
@media(max-width:760px){.form-card.expanded{position:fixed!important;top:12px!important;left:12px!important;right:12px!important;width:auto!important;min-width:0;max-height:calc(100dvh - 24px);z-index:250!important;box-shadow:0 0 0 100vmax rgba(6,16,29,.65);margin:0;background:#ebf2ff}.m24-form-open{overflow:hidden}.m24-form-open .nav-wrap,.m24-form-open .nav-mobile{visibility:hidden}.m24-form-open .mob-bar{display:none!important}.form-card.expanded .form-close{position:fixed;top:20px;right:20px;margin:0;float:none;width:44px;height:44px;z-index:5}.form-card.expanded .form-tag{padding-right:44px}}
/* A caption belongs to the opened image, not the thumbnail. */
main figure figcaption{display:none}
.m24-photo-button{display:block;padding:0;border:0;background:none;width:100%;cursor:zoom-in}
.m24-viewer{border:0;padding:20px;background:#0a1016;color:#fff;width:min(1100px,96vw);max-height:94dvh;border-radius:16px;margin:auto}
.m24-viewer::backdrop{background:rgba(0,0,0,.85)}
.m24-viewer img{display:block;max-width:100%;max-height:76dvh;object-fit:contain;margin:auto}
.m24-viewer p{font-size:16px;line-height:1.5;text-align:center;margin:16px 44px 0}
.m24-viewer button{position:absolute;right:12px;top:12px;border:1px solid #fff6;border-radius:50%;background:#102742;color:#fff;width:44px;height:44px;font-size:28px;cursor:pointer}
.lb .m24-lb-caption{position:absolute;bottom:20px;left:8%;right:8%;text-align:center;color:#fff;font-size:16px;line-height:1.5;background:#0a1016d9;padding:12px;border-radius:8px;pointer-events:none}
/* Narrow phones: long words (Profess... / Finnish compounds) must wrap, never overflow. */
@media(max-width:400px){.hero h1,main h1{-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word}h2.big,.sr-related h2,.sr-detail h2{overflow-wrap:break-word}.pak-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pak-card{min-width:0}.pak-card *{overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto}}
