/* Home gallery: independent of the route and place galleries. */
.km-hero--gallery{--km-gallery-photo-height:clamp(180px,20.83vw,360px)}
.km-hero-gallery{position:relative;order:2;background:#fff;color:var(--ink,#203b2d);width:100%;overflow:hidden}
.km-hero-gallery-slide{margin:0}
.km-hero-gallery [hidden]{display:none!important}
.km-hero-gallery-frame{height:var(--km-gallery-photo-height);position:relative;background:#e5ece7;touch-action:pan-y}
.km-hero-gallery .km-hero-gallery-photo{display:block;width:100%;height:100%;object-fit:cover;object-position:var(--km-photo-position,center);margin:0}
.km-hero-gallery-caption{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,270px);gap:35px;align-items:start;padding-block:23px 15px;min-height:139px;box-sizing:border-box}
.km-hero-gallery-description h2{font-family:Georgia,serif;font-weight:400;font-size:29px;line-height:1.2;margin:0 0 9px;letter-spacing:-.4px;color:var(--green,#173c2e)}
.km-hero-gallery-description p{font-size:14px;line-height:1.65;margin:0;max-width:800px;color:var(--muted,#5c6e60)}
.km-hero-gallery-credit{font-size:11px;line-height:1.6;color:var(--muted,#5c6e60);padding-top:4px;overflow-wrap:anywhere}
.km-hero-gallery-credit summary{cursor:pointer;text-align:left}
.km-hero-gallery-credit p{font-size:11px;margin:7px 0 0;line-height:1.6}
.km-hero-gallery-credit a{color:var(--green,#173c2e);text-decoration:underline;text-underline-offset:3px}
.km-hero-gallery-arrows{position:absolute;top:calc(var(--km-gallery-photo-height)/2 - 28px);left:0;right:0;display:flex;justify-content:space-between;padding-inline:clamp(12px,3vw,42px);pointer-events:none}
.km-hero-gallery-arrows button{appearance:none;pointer-events:auto;width:52px;height:56px;padding:0;border:1px solid #ffffffa6;border-radius:8px;background:#fffffff2;color:#173c2e;box-shadow:0 3px 16px #0003;cursor:pointer;display:grid;place-items:center;line-height:1;text-shadow:none}
.km-hero-gallery-arrows button:hover{background:#fff;color:#0b281d;box-shadow:0 4px 20px #0004}
.km-hero-gallery-arrows button:active{background:#edf3ee}
.km-hero-gallery-arrows svg{display:block;width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.km-hero-gallery-toolbar{display:flex;align-items:center;gap:22px;min-height:61px;padding-bottom:16px}
.km-hero-gallery-counter{font-size:12px;font-variant-numeric:tabular-nums;min-width:34px;color:var(--muted,#5c6e60)}
.km-hero-gallery-dots{display:flex;gap:0;align-items:center;justify-content:center}
.km-hero-gallery-dots button{border:0;background:none;cursor:pointer;padding:0;width:30px;height:32px;display:grid;place-items:center}
.km-hero-gallery-dots span{display:block;width:7px;height:7px;border-radius:50%;background:#b8c6bc;transition:transform .15s,background .15s}
.km-hero-gallery-dots [aria-pressed=true] span{background:var(--green,#173c2e);transform:scale(1.45)}
.km-hero-gallery .km-hero-gallery-play{margin-left:auto;border:1px solid var(--line,#dce4dc);background:#fff;color:var(--green,#173c2e);font:inherit;font-size:11px;padding:9px 12px;min-height:36px;cursor:pointer;border-radius:2px}
.km-hero-gallery button:focus-visible,.km-hero-gallery a:focus-visible,.km-hero-gallery summary:focus-visible{outline:3px solid #dfaa52;outline-offset:4px}
.km-hero-gallery-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.km-hero-gallery-error{position:absolute;inset:0;display:grid;place-content:center;text-align:center;padding:30px;font-size:15px;color:#173c2e;background:#e5ece7}
@media(max-width:740px){
 .km-hero--gallery{--km-gallery-photo-height:180px}
 .km-hero-gallery-caption{display:block;min-height:194px;padding-block:19px 10px}
 .km-hero-gallery-description h2{font-size:26px;margin-bottom:8px}
 .km-hero-gallery-description p{font-size:13px;line-height:1.65}
 .km-hero-gallery-credit{padding-top:10px;font-size:10px}
 .km-hero-gallery-credit p{font-size:10px}
 .km-hero-gallery-toolbar{gap:9px;flex-wrap:wrap;min-height:60px;padding-bottom:17px}
 .km-hero-gallery-dots{flex:1}
 .km-hero-gallery-dots button{width:25px}
 .km-hero-gallery .km-hero-gallery-play{font-size:10px;padding:8px;min-height:34px}
 .km-hero-gallery-arrows button{width:44px;height:48px;border-radius:7px}
 .km-hero-gallery-arrows svg{width:27px;height:27px}
 .km-hero-gallery-arrows{top:calc(var(--km-gallery-photo-height)/2 - 24px)}
}
@media(prefers-reduced-motion:reduce){.km-hero-gallery-dots span{transition:none}}
