/* Plugin-only styles; approved page geometry and typography stay in source CSS. */
.santtu-search{font-family:inherit}.sx .santtu-search__label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.sx .santtu-search__form{margin:0}.sx .santtu-search__controls{display:flex;align-items:center;gap:14px;background:white;border:1px solid var(--line);border-radius:999px;padding:8px 10px 8px 28px}.sx .santtu-search__input{border:0;background:transparent;box-shadow:none;font:inherit;width:100%;padding:12px 0}.sx .santtu-search__button{background:var(--ink);color:white;border-radius:50%;width:48px;height:48px;flex-shrink:0;padding:14px}.sx .santtu-search__results{margin-top:48px;text-align:left}

/* Santtu's popup puts the field border on the controls wrapper. */
html[data-input="mouse"] .santtu-popup__controls:focus-within {
    border-color: #dadada;
    box-shadow: 0 8px 32px rgba(32, 33, 36, .08), 0 2px 6px rgba(32, 33, 36, .025);
}

html:not([data-input="mouse"]) .santtu-popup__controls:has(.santtu-popup__input:focus-visible) {
    outline: 2px solid var(--santtu-accent);
    outline-offset: 2px;
}
body:not([data-tuote]) [data-kuuntele] [data-ls-t]:not([data-sl-duration]){display:none}
body:not([data-tuote]) [data-kuuntele][hidden],.sl-ls-wrap .sl-ls__tip[hidden]{display:none!important}
body:not([data-tuote]) [data-kuuntele]:disabled{cursor:default}
body:not([data-tuote]) [data-kuuntele][aria-busy=true]{cursor:wait}

/* Editorial captions are optional; untouched source images keep their exact markup. */
.sl-editorial-image{margin:0;max-width:100%}.sl-editorial-image>img,.sl-editorial-image>a>img{max-width:100%;height:auto}


/* Sanelma's capture can read below the viewport before any scroll animations run. */
body[data-sl-sanelma-capture] main [data-ilmesty]:not([hidden], [hidden] *, [aria-hidden="true"], [aria-hidden="true"] *) {
    opacity: 1 !important;
    transform: none !important;
}

body[data-sl-sanelma-capture] main [data-ilmesty],
body[data-sl-sanelma-capture] main [data-ilmesty] * {
    animation: none !important;
    transition: none !important;
}
