#primary.kedo-coast .photowalk {background:#153c40;color:#fff1d9;position:relative;overflow:hidden;padding:clamp(58px,7.7vw,116px) 0}
#primary.kedo-coast.park .photowalk {background:#223524;color:#f7eed1}
#primary.kedo-coast .photowalk:before {content:"";position:absolute;inset:0;pointer-events:none;opacity:.24;background:linear-gradient(to bottom,#153c4005,#153c40 55%),url(assets/tiers.webp) top center/100% auto no-repeat}
#primary.kedo-coast.park .photowalk:before {background:linear-gradient(180deg,#18251944,#223524 72%),url(assets/wings.webp) top center/cover no-repeat}
#primary.kedo-coast .photowalk>.wrap {position:relative}
#primary.kedo-coast .photowalk header {max-width:800px;margin-bottom:30px}
#primary.kedo-coast .photo-intro {margin-top:19px;max-width:62ch}
#primary.kedo-coast .photowalk .kicker {color:#ede0b1}
#primary.kedo-coast .photowalk h3 {font-size:clamp(27px,3.3vw,49px);line-height:1.05}
#primary.kedo-coast .photowalk figure p {max-width:56ch;margin-top:9px;font-size:clamp(15px,1.2vw,18px)}
#primary.kedo-coast .picture {position:relative;isolation:isolate;display:block;overflow:hidden;background:#688180;color:white;text-decoration:none;cursor:zoom-in}
#primary.kedo-coast .picture img {width:100%;height:100%;object-fit:cover}
#primary.kedo-coast .magnify {position:absolute;right:13px;top:13px;display:grid;place-items:center;width:40px;height:40px;border:1px solid #fffa;border-radius:50%;font:24px/1 system-ui;background:#182822bb}
#primary.kedo-coast .stone-portrait {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:center;gap:clamp(20px,4vw,62px);margin:0 0 clamp(40px,6vw,80px);scroll-margin-top:90px}
#primary.kedo-coast .stone-portrait .picture {aspect-ratio:4/3;border:1px solid #cab78a88}
#primary.kedo-coast .stone-portrait img {object-position:50% 54%}
@media(max-width:720px){
  #primary.kedo-coast .stone-portrait {grid-template-columns:1fr;gap:15px}
}
#primary.kedo-coast .panorama {position:relative;margin-bottom:clamp(32px,4vw,62px)}
#primary.kedo-coast .panorama .picture {height:clamp(330px,47vw,590px)}
#primary.kedo-coast.beach .panorama .picture {border-radius:44% 54% 4% 3% / 3% 4% 3% 5%}
#primary.kedo-coast.park .panorama .picture {border-radius:45% 45% 2px 2px / 22% 22% 2px 2px;outline:1px solid #c8b071;outline-offset:5px}
#primary.kedo-coast .panorama figcaption {max-width:700px;padding:18px 0 0}
#primary.kedo-coast .photo-grid {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(22px,3vw,42px)}
#primary.kedo-coast .miniature {grid-column:span 2}
#primary.kedo-coast .miniature:nth-child(-n/**/+2) {grid-column:span 3}
#primary.kedo-coast .miniature .picture {aspect-ratio:1.63}
#primary.kedo-coast .miniature figcaption {padding:14px 0 0}
#primary.kedo-coast .miniature figcaption h3 {font-size:clamp(26px,2.3vw,37px)}
#primary.kedo-coast.beach .miniature .picture {border-bottom:5px solid #d0b68c}
#primary.kedo-coast.park .miniature .picture {border:1px solid #cab78a88;padding:4px;background:#423c29}
#primary.kedo-coast .reading {display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(22px,5vw,64px);margin-top:clamp(38px,6vw,84px);padding:28px 0 0;border-top:1px solid #c1b38388}
#primary.kedo-coast .reading p:not(.kicker) {margin-top:12px}
#primary.kedo-coast .reading video {width:100%;aspect-ratio:16/9;background:#17231b}
#primary.kedo-coast .reading a {display:inline-block}
@media (prefers-reduced-motion:no-preference) {
#primary.kedo-coast .picture img {transition:transform .85s cubic-bezier(.2,.7,.2,1)}
@media (hover:hover) {
#primary.kedo-coast .picture:hover img {transform:scale(1.035)}
}
#primary.kedo-coast.beach .panorama.scenic-on .picture:after {content:"";position:absolute;pointer-events:none;inset:-18% -42%;background:linear-gradient(111deg,transparent 41%,#e3f6ecd1 48%,#fff5d78a 49%,transparent 56%);animation:wash-photo 1.5s ease-out both}
#primary.kedo-coast.park .panorama.scenic-on .picture:before, #primary.kedo-coast.park .panorama.scenic-on .picture:after {content:"";position:absolute;pointer-events:none;top:0;bottom:0;width:51%;z-index:1;background:url(assets/wings.webp) left center/200% 100%;filter:brightness(.82);animation:part-branches 1.45s cubic-bezier(.18,.66,.28,1) both}
#primary.kedo-coast.park .panorama.scenic-on .picture:before {left:0;--out:-104%;border-radius:0 0 85% 0}
#primary.kedo-coast.park .panorama.scenic-on .picture:after {right:0;--out:104%;background-position:right center;border-radius:0 0 0 85%}
@keyframes wash-photo{from{transform:translateX(-67%);opacity:.94}to{transform:translateX(70%);opacity:0}}
@keyframes part-branches{0%{transform:translateX(0);opacity:.95}100%{transform:translateX(var(--out));opacity:0}}
}
#primary.kedo-coast .photo-viewer {color:#fffae9;border:1px solid #cab98c50;padding:0;background:#17241f;width:min(1080px,96vw);max-height:94dvh;overflow:auto}
#primary.kedo-coast .photo-viewer::backdrop {background:#07120ff2}
#primary.kedo-coast .photo-viewer .full-image {margin:auto;width:100%;height:min(66dvh,740px);object-fit:contain;background:#101612}
#primary.kedo-coast .photo-viewer .viewer-bar {display:flex;justify-content:space-between;align-items:center;padding:6px 13px;gap:8px}
#primary.kedo-coast .photo-viewer button {background:transparent;color:inherit;border:1px solid #cabca76b;padding:8px 14px;min-height:42px;border-radius:2px}
#primary.kedo-coast .photo-viewer h3 {font-size:clamp(26px,3vw,38px)}
#primary.kedo-coast .photo-viewer .viewer-copy {padding:16px 20px 20px}
#primary.kedo-coast .photo-viewer p {margin-top:7px;max-width:70ch}
@media (max-width:720px) {
#primary.kedo-coast .photo-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}
#primary.kedo-coast .miniature, #primary.kedo-coast .miniature:nth-child(-n/**/+2) {grid-column:span 1}
#primary.kedo-coast .miniature:last-child {grid-column:1/-1}
#primary.kedo-coast .miniature:last-child .picture {aspect-ratio:2}
#primary.kedo-coast .reading {grid-template-columns:1fr}
#primary.kedo-coast .chapters>div {overflow-x:auto;justify-content:flex-start;scrollbar-width:none;gap:18px;padding-inline:5%}
#primary.kedo-coast .chapters a {flex-shrink:0}
#primary.kedo-coast .photo-viewer .full-image {height:52dvh}
}
@media (max-width:520px) {
#primary.kedo-coast .photo-grid {grid-template-columns:1fr}
#primary.kedo-coast .miniature .picture {aspect-ratio:1.8}
#primary.kedo-coast .miniature:nth-child(2) .picture img {object-position:50% 42%}
#primary.kedo-coast .photo-grid .miniature p {margin-top:5px}
#primary.kedo-coast .panorama .picture {height:300px}
}

@media (min-width:521px) {
  #primary.kedo-coast.park .park-pairs {grid-template-columns:repeat(2,minmax(0,1fr))}
  #primary.kedo-coast.park .park-pairs .miniature {grid-column:auto}
  #primary.kedo-coast.park .park-pairs .picture {aspect-ratio:1.63}
}
#primary.kedo-coast #dom-bekkera .picture img {object-position:54% center}

#primary.kedo-coast #smotrovaya .picture {border-radius:3px}
#primary.kedo-coast #smotrovaya .picture img {object-position:center top}
#primary.kedo-coast #smotrovaya summary {padding:12px 0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
#primary.kedo-coast #smotrovaya details img {display:block;width:100%;height:auto}
