/* Pildislaider: mõõtmed ja piltide paigutus */
.hk-slider { position: relative; width: 100%; isolation: isolate; overflow: hidden; background: #edf3ed; color: #fff; }
.hk-slider .hk-slider__viewport { position: relative; height: var(--hks-height, 400px); }
.hk-slider .hk-slider__slide { position: absolute; inset: 0; margin: 0; padding: 0; border: 0; animation: hks-fade .5s ease; }
.hk-slider [hidden] { display: none !important; }
.hk-slider .hk-slider__slide img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.hk-slider--contain .hk-slider__slide img { object-fit: contain; }
.hk-slider .hk-slider__caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 35px 64px 64px; background: linear-gradient(transparent, rgba(0,0,0,.72)); color: #fff; font: inherit; text-align: center; }
/* Külgmised kerimisnupud */
.hk-slider button { appearance: none; box-sizing: border-box; margin: 0; padding: 0; border: 0; border-radius: 50%; font: inherit; cursor: pointer; color: #fff; box-shadow: none; touch-action: manipulation; }
.hk-slider button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #155d2c; }
.hk-slider .hk-slider__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; background: rgba(0,0,0,.35); }
.hk-slider .hk-slider__prev { left: 12px; }
.hk-slider .hk-slider__next { right: 12px; }
.hk-slider .hk-slider__arrow:hover, .hk-slider .hk-slider__toggle:hover { background: rgba(0,0,0,.65); }
.hk-slider .hk-slider__arrow span { display: block; width: 11px; height: 11px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(-45deg); margin-left: -4px; }
.hk-slider .hk-slider__prev span { transform: rotate(135deg); margin-left: 4px; }
/* Diskreetsed asukohamullid ja automaatse vahetuse paus */
.hk-slider .hk-slider__bottom { position: absolute; z-index: 2; bottom: 10px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 24px); display: flex; align-items: center; gap: 6px; padding: 0 8px; border-radius: 24px; background: rgba(0,0,0,.3); }
.hk-slider .hk-slider__dots { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; }
.hk-slider .hk-slider__dot { display: grid; place-items: center; width: 30px; height: 40px; flex: 0 0 30px; background: transparent; }
.hk-slider .hk-slider__dot span { width: 7px; height: 7px; border: 1px solid #fff; border-radius: 50%; background: rgba(255,255,255,.3); }
.hk-slider .hk-slider__dot[aria-current="true"] span { background: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.2); }
.hk-slider .hk-slider__toggle { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; background: transparent; }
.hk-slider .hk-slider__toggle span { display: block; width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 9px solid #fff; margin-left: 3px; }
.hk-slider .hk-slider__toggle.is-playing span { width: 9px; height: 12px; margin: 0; border: solid #fff; border-width: 0 3px; }
.hk-slider .hk-slider__status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Telefonivaade ja vähendatud liikumise eelistus */
@media (max-width: 767px) { .hk-slider .hk-slider__viewport { height: var(--hks-mobile-height, 220px); } .hk-slider .hk-slider__caption { padding-left: 56px; padding-right: 56px; } .hk-slider .hk-slider__prev { left: 6px; } .hk-slider .hk-slider__next { right: 6px; } }
@keyframes hks-fade { from { opacity: .3; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hk-slider .hk-slider__slide { animation: none; } }
