@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=Barlow:wght@400;500;600;700;800&display=swap');
:root{--red:#eb1928;--ink:#111317;--muted:#5c5d63;--white:#fff;--paper:#f4f4f3;--heading:'Barlow Condensed','Arial Narrow',Impact,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;color:var(--ink);background:white;font-family:Barlow,Arial,sans-serif;font-size:17px;line-height:1.55}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{cursor:pointer}img{display:block;max-width:100%}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #008cbb;outline-offset:6px}.wrap{width:min(1220px,calc(100% - 112px));margin:auto}.section{padding:108px 0}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:var(--heading);font-weight:800;line-height:.98;letter-spacing:-.025em}h2{font-size:clamp(42px,4.7vw,70px);margin-bottom:26px}p{margin-bottom:22px}h3{font-size:44px}.red{color:var(--red)}.eyebrow{font-size:13px;line-height:1.4;font-weight:700;letter-spacing:.15em;margin-bottom:22px}.lead{font-size:21px;line-height:1.5}.button{display:inline-flex;align-items:center;justify-content:center;gap:30px;padding:18px 25px;border:0;background:var(--red);color:#fff;font-size:16px;font-weight:700;transition:transform .2s,background .2s}.button:hover{background:#c30a18;transform:translateY(-3px)}.button span{font-size:24px;line-height:1}.button.dark{background:var(--ink)}.button.dark:hover{background:#303238}.actions{display:flex;align-items:center;flex-wrap:wrap;gap:25px}.text-link{display:inline-flex;align-items:center;gap:15px;font-weight:700;font-size:16px;border:0;padding:8px 0;background:none;border-bottom:1px solid currentColor}.text-link:hover{color:var(--red)}.light{color:white}.skip{position:fixed;top:-100px;z-index:100;background:white;padding:20px}.skip:focus{top:0}.header{height:98px;background:white;display:flex;align-items:center;justify-content:space-between;padding:0 4%;gap:25px;position:sticky;top:0;z-index:40;border-bottom:1px solid #eee}.brand{display:flex;align-items:center;gap:13px;flex-shrink:0}.brand img{width:48px;height:72px;object-fit:contain}.brand span{font-family:var(--heading);font-weight:800;font-size:27px;line-height:1}.brand small{display:block;font-family:Barlow,Arial,sans-serif;font-size:10px;letter-spacing:.2em;margin-top:7px}.header nav{display:flex;gap:26px;align-items:center;font-size:15px;font-weight:600}.header nav a:hover{color:var(--red)}.header .button{padding:13px 21px}.menu-toggle{display:none}.hero{height:calc(100svh - 98px);min-height:680px;max-height:1000px;position:relative;overflow:hidden;background:#123e52;color:white}.hero-image{width:100%;height:112%;object-fit:cover;object-position:50% 61%;position:absolute;inset:0;will-change:transform}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,17,26,.75),rgba(2,19,28,.22) 65%,rgba(1,16,23,.05)),linear-gradient(0deg,rgba(0,10,20,.6),transparent 30%)}.hero-content{position:relative;padding-top:70px;z-index:2}.hero .eyebrow{display:flex;align-items:center;gap:12px;margin-bottom:26px;font-size:12px}.dive-flag{display:inline-block;width:26px;height:18px;background:linear-gradient(40deg,var(--red) 41%,white 42%,white 58%,var(--red) 59%)}h1{font-size:clamp(66px,7.3vw,110px);margin-bottom:25px;line-height:.94;letter-spacing:-.025em}.hero h1 span{color:#fff}.hero h1 span:after{content:'';display:block;background:var(--red);height:10px;width:48%;margin-top:14px;transform:skewX(-20deg)}.hero-copy{font-size:20px;line-height:1.5;max-width:430px}.hero .actions{margin-top:30px}.hero-bottom{position:absolute;bottom:26px;left:0;right:0;display:flex;justify-content:space-between;font-size:11px;letter-spacing:.13em;font-weight:700;z-index:2}.hero-bottom a span{margin-left:14px;font-size:20px}.round-sticker{position:absolute;right:8%;top:17%;width:135px;height:135px;background:var(--red);border-radius:50%;text-align:center;display:flex;flex-direction:column;justify-content:center;font-size:14px;font-weight:800;line-height:1.2;transform:rotate(12deg);box-shadow:0 0 0 7px #ffffff22}.round-sticker span{font-size:34px}.round-sticker:hover{transform:rotate(0deg)}.marquee{overflow:hidden;background:var(--red);color:white;padding:17px 0;transform:rotate(-1.5deg);width:100%;position:relative;margin-top:-13px;z-index:3}.marquee>div{display:flex;align-items:center;gap:44px;width:max-content;font-family:var(--heading);font-size:31px;font-weight:700;letter-spacing:.03em;animation:marquee 35s linear infinite}.marquee b{color:var(--ink);font-size:37px}.intro{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.intro-photo{position:relative;margin:0 20px 0 0;transform:rotate(-3deg)}.intro-photo>img{width:100%;height:560px;object-fit:cover;object-position:center}.photo-label{position:absolute;bottom:0;left:0;background:var(--ink);color:white;width:100%;padding:16px;font-size:12px;letter-spacing:.12em}.photo-stamp{position:absolute;right:-30px;top:25px;background:var(--red);color:white;padding:16px 23px;font-family:var(--heading);font-size:64px;line-height:1;transform:rotate(9deg)}.photo-stamp small{display:block;font-family:Barlow,Arial,sans-serif;font-size:11px;line-height:1.4;letter-spacing:.08em}.intro-copy>p:not(.eyebrow){color:var(--muted)}.intro-copy .lead{color:var(--ink)!important}.intro-facts{display:flex;border-block:1px solid #ddd;padding:20px 0;gap:30px;margin:28px 0 10px}.intro-facts>div{flex:1}.intro-facts strong{display:block;font-family:var(--heading);font-size:34px;line-height:1.1}.intro-facts span{font-size:12px;color:var(--muted)}.small-note{font-size:12px}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:40px}.section-head h2{margin-bottom:0}.section-head>p{max-width:340px;color:var(--muted);margin-bottom:4px}.courses{background:var(--paper)}.course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.course-card{background:white;transition:transform .25s;display:flex;flex-direction:column}.course-card:hover{transform:translateY(-8px)}.course-image{position:relative;height:250px;overflow:hidden;background:#153848}.course-image img{width:100%;height:100%;object-fit:cover;transition:transform .7s}.course-card:hover img{transform:scale(1.05)}.featured .course-image img{object-position:center 77%}.course-image:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#0007)}.tag{position:absolute;top:18px;left:16px;background:var(--red);color:white;padding:7px 10px;font-size:10px;letter-spacing:.08em;font-weight:800}.tag.white{color:var(--ink);background:white}.course-number{position:absolute;bottom:10px;right:18px;font-family:var(--heading);font-size:76px;font-weight:800;line-height:1;color:white;z-index:1}.course-body{padding:29px 26px 22px;display:flex;flex-direction:column;flex:1}.course-body .eyebrow{font-size:10px;letter-spacing:.1em;margin-bottom:14px}.course-body h3{margin-bottom:18px}.course-body>p:not(.eyebrow){font-size:16px;color:var(--muted)}.course-link{width:100%;text-align:left;padding:20px 0 0;border:0;border-top:1px solid #ddd;background:none;display:flex;justify-content:space-between;align-items:center;gap:12px;font-weight:700;font-size:14px;margin-top:auto}.course-link span{font-size:24px;color:var(--red)}.course-footer{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-top:32px;font-size:12px}.course-footer span{font-weight:700;letter-spacing:.07em}.course-footer b{color:var(--red);padding:0 10px}.course-footer a{text-decoration:underline;text-underline-offset:5px}.gifts{background:var(--red);color:white;overflow:hidden}.gifts-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:80px;align-items:center}.gifts h2 span{color:var(--ink)}.gifts .lead{max-width:510px}.gifts p:not(.eyebrow){max-width:480px}.gifts .button{margin-top:10px}.gift-art{position:relative;padding:35px 0}.ticket{background:#fff;color:var(--ink);padding:30px 34px;transform:rotate(7deg);box-shadow:14px 18px 0 #890b2550;position:relative}.ticket:before,.ticket:after{content:'';position:absolute;width:28px;height:28px;background:var(--red);border-radius:50%;top:58%}.ticket:before{left:-14px}.ticket:after{right:-14px}.ticket-top{display:flex;justify-content:space-between;font-family:var(--heading);font-size:25px;line-height:1;font-weight:800;margin-bottom:38px}.ticket-top small{display:block;font-family:Barlow,Arial,sans-serif;font-size:9px;letter-spacing:.14em;margin-top:5px}.ticket-top>span:last-child{font-size:18px;color:var(--red)}.ticket>p{font-size:10px;letter-spacing:.18em;margin-bottom:10px}.ticket h3{font-size:58px;margin-bottom:30px}.ticket-bottom{display:flex;justify-content:space-between;border-top:2px dashed #ddd;padding-top:18px;font-size:10px;letter-spacing:.09em;font-weight:700}.gift-circle{position:absolute;right:-13px;top:6px;border-radius:50%;background:var(--ink);color:white;width:112px;height:112px;display:flex;flex-direction:column;justify-content:center;align-items:center;font-family:var(--heading);font-size:38px;line-height:1.1;transform:rotate(-10deg);border:3px solid var(--red)}.gift-circle small{font-family:Barlow,sans-serif;font-size:12px}.ticket-caption{font-size:13px;margin:44px 0 0;text-align:center}.gallery{background:var(--ink);color:white}.outline{-webkit-text-stroke:1px white;color:transparent}.gallery .section-head{align-items:flex-end}.gallery-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:20px}.gallery-item{position:relative;padding:0;border:0;overflow:hidden;height:360px;background:#1a3541;color:white}.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .7s,filter .7s}.gallery-item:hover img{transform:scale(1.07);filter:saturate(1.2)}.gallery-item>span{position:absolute;inset:auto 0 0;text-align:left;padding:40px 20px 17px;display:flex;justify-content:space-between;background:linear-gradient(transparent,#0009);font-size:11px;letter-spacing:.1em;font-weight:700}.gallery-item b{font-size:23px}.gallery-note{font-size:12px;color:#9c9ca3;margin:22px 0 0}.service{display:grid;grid-template-columns:1.2fr 1fr;gap:80px;padding-block:68px}.service h2{font-size:39px;line-height:1.05;margin:0}.service .eyebrow{font-size:10px;margin-bottom:13px}.service p{color:var(--muted);font-size:16px;margin-bottom:10px}.contact{background:var(--red);color:white}.contact-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:70px}.contact h2{font-size:clamp(50px,5.6vw,84px);margin:0}.contact h2 span{color:var(--ink)}.contact .phone{display:block;font-family:var(--heading);font-size:38px;font-weight:700;line-height:1.3;margin-bottom:9px}.contact .email{font-size:17px;text-decoration:underline;text-underline-offset:5px;overflow-wrap:anywhere}.contact-links{display:flex;gap:25px;font-size:14px;font-weight:700;margin:28px 0}.location{font-size:11px;letter-spacing:.1em;font-weight:700;margin:0}.footer{padding-block:27px;display:flex;align-items:center;justify-content:space-between;gap:25px;font-size:12px}.footer .brand img{height:56px;width:38px}.footer .brand span{font-size:23px}.footer>p{margin:0;color:var(--muted)}.footer>a:last-child{font-weight:700}.depth-widget{position:fixed;right:12px;top:45%;z-index:25;width:43px;text-align:center;pointer-events:none;background:#ffffffdd;border:1px solid #ddd;border-radius:25px;padding:14px 4px 9px;backdrop-filter:blur(5px)}.surface-label{font-size:6px;letter-spacing:.1em;font-weight:700}.depth-track{height:175px;position:relative;margin:6px 0}.depth-track:before{content:'';position:absolute;inset:0 0 0 22px;background:repeating-linear-gradient(0deg,transparent 0 16px,#3334 16px 17px);width:8px}.diver{position:absolute;left:-8px;width:43px;height:54px;top:0;transform:rotate(12deg);transition:transform .35s;z-index:3}.diver svg{height:52px;width:43px;transform:rotate(90deg)}.ascending .diver{transform:rotate(-12deg)}.diver i{position:absolute;width:4px;height:4px;border:1px solid #209cbb;border-radius:50%;top:20px;left:36px;animation:bubbles 1.7s infinite}.diver i:nth-child(2){animation-delay:.5s;left:39px}.diver i:nth-child(3){animation-delay:1s;left:34px}.tick{position:absolute;right:-1px;font-size:6px;color:#555}.t1{top:25%}.t2{top:50%}.t3{top:75%}.depth-reading{font-size:9px;font-weight:700;font-variant-numeric:tabular-nums}.smb{position:absolute;top:0;left:8px;width:10px;height:34px;background:var(--red);color:white;border-radius:7px 7px 2px 2px;font-size:5px;padding-top:7px;z-index:4;opacity:0;transform:translateY(80px);transition:transform 1.2s,opacity .3s}.ascending .smb{opacity:1;transform:translateY(-20px)}.smb-line{position:absolute;width:1px;background:var(--red);top:12px;left:13px;opacity:0;transform-origin:top}.ascending .smb-line{opacity:.7}.reveal{opacity:1;transition:opacity .75s,translate .75s}.js-motion .reveal:not(.visible){opacity:0;translate:0 25px}dialog{border:0;padding:48px;max-width:min(670px,calc(100% - 32px));max-height:90svh;color:var(--ink);box-shadow:0 30px 100px #0008}dialog::backdrop{background:#07151bba;backdrop-filter:blur(7px)}dialog h2{font-size:48px;margin-right:12px}dialog p,dialog li{font-size:16px}dialog ul{padding-left:20px}dialog li{margin-bottom:10px}.dialog-close{position:absolute;right:13px;top:8px;font-size:33px;background:none;border:0;color:inherit;width:40px;height:40px;line-height:1}.dialog-note{border-top:1px solid #ddd;padding-top:18px;color:var(--muted);font-size:13px}.source-link{font-size:12px;text-decoration:underline}.dialog-open{overflow:hidden}#photo-dialog{max-width:min(1100px,95vw);padding:45px 16px 12px;background:var(--ink);color:white}#photo-dialog img{max-height:72svh;width:auto;max-width:100%;object-fit:contain;margin:auto}#photo-dialog p{margin:12px 0 0;font-size:13px;text-align:center}@keyframes marquee{to{transform:translateX(-50%)}}@keyframes bubbles{0%{opacity:0;transform:translateY(0)}30%{opacity:1}100%{opacity:0;transform:translate(4px,-24px)}}
@media(min-width:1600px){.hero-content{padding-top:100px}.hero{min-height:760px}}@media(max-width:1150px){.header nav{gap:16px;font-size:13px}.header-cta{display:none}.wrap{width:calc(100% - 80px)}.intro{gap:45px}.intro-photo>img{height:500px}.course-body{padding:22px 18px}.course-body h3{font-size:38px}.gifts-grid{gap:50px}.ticket h3{font-size:46px}.contact .phone{font-size:32px}.depth-widget{right:4px;width:32px}.section{padding-block:85px}}
@media(max-width:800px){.header{height:80px;padding:0 24px}.brand img{height:62px;width:40px}.brand span{font-size:24px}.menu-toggle{display:flex;gap:12px;background:none;border:0;font-weight:700}.header nav{position:absolute;top:80px;left:0;right:0;background:white;padding:24px;display:none;flex-direction:column;align-items:stretch;font-size:18px;box-shadow:0 18px 20px #0001}.header nav.open{display:flex}.header nav a{padding:6px}.hero{height:calc(100svh - 80px);min-height:640px;max-height:850px}.hero-content{padding-top:60px}.hero h1{font-size:clamp(64px,10vw,86px)}.round-sticker{width:96px;height:96px;right:6%;top:44%;font-size:10px}.round-sticker span{font-size:27px}.hero-bottom{font-size:9px}.hero-bottom>span{max-width:200px}.wrap{width:calc(100% - 48px)}.intro{grid-template-columns:1fr;gap:55px}.intro-photo{max-width:550px;width:90%;margin:auto}.intro-photo>img{height:440px}.intro-copy{max-width:600px}.section{padding-block:65px}.section-head{align-items:flex-start;flex-direction:column;gap:20px}.course-grid{grid-template-columns:1fr}.course-card{display:grid;grid-template-columns:.85fr 1fr}.course-image{height:100%;min-height:325px}.course-body h3{font-size:40px}.course-footer{align-items:flex-start;flex-direction:column;gap:15px}.gifts-grid{grid-template-columns:1fr;gap:25px}.gift-art{max-width:480px;width:90%;margin:auto}.gallery-grid{grid-template-columns:1fr 1fr}.gallery-item{height:280px}.gallery-item.wide{grid-column:1/-1;height:390px}.service{grid-template-columns:1fr;gap:20px;padding-block:50px}.contact-grid{grid-template-columns:1fr;gap:32px}.contact h2{font-size:64px}.footer>p{display:none}.depth-widget{display:none}h2{font-size:52px}.hero-image{object-position:62% 60%}.hero-shade{background:linear-gradient(90deg,#031621cc,#07192744),linear-gradient(0deg,#00101cb0,transparent 50%)}}
@media(max-width:480px){.hero-content{padding-top:42px}.hero h1{font-size:64px}.hero .eyebrow{font-size:9px;letter-spacing:.12em}.hero-copy{font-size:18px;max-width:260px}.hero .actions{gap:17px;align-items:flex-start;flex-direction:column;margin-top:24px}.hero .button{font-size:14px;padding:17px 20px}.hero .text-link{font-size:14px}.hero-bottom{bottom:23px;align-items:center}.hero-bottom>span{max-width:150px;font-size:8px}.round-sticker{top:55%;right:8%;width:82px;height:82px;font-size:9px}.round-sticker span{font-size:24px}.marquee>div{font-size:25px;gap:25px}.marquee{padding:12px 0}.intro-photo>img{height:350px}.intro-facts{gap:15px}.intro-facts strong{font-size:31px}.intro-facts span{font-size:11px}.intro .actions{gap:14px}.course-card{display:flex}.course-image{height:235px;min-height:0}.course-body{padding:27px}.course-body h3{font-size:45px}.course-body .eyebrow{font-size:11px}.course-link{font-size:15px}.ticket{padding:25px}.ticket h3{font-size:43px}.gift-circle{width:90px;height:90px;font-size:31px;right:-8px;top:10px}.ticket-top{font-size:22px}.gallery-grid{gap:12px}.gallery-item{height:225px}.gallery-item.wide{height:290px}.gallery-item>span{font-size:9px;padding-inline:12px}.contact h2{font-size:57px}.contact .phone{font-size:33px}.contact .email{font-size:15px}.footer .brand span{font-size:20px}.footer{gap:15px;font-size:11px}.footer .brand img{width:32px;height:48px}.footer .brand{gap:8px}.footer .brand small{font-size:8px}dialog{padding:40px 24px 28px}dialog h2{font-size:42px}dialog .actions{gap:18px}.button{gap:20px}h2{font-size:46px}.photo-stamp{right:-18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.js-motion .reveal:not(.visible){opacity:1;translate:none}.hero-image{transform:none!important}.depth-widget{display:none}}



.voucher-preview{display:block;width:100%;padding:0;border:0;background:white;box-shadow:12px 16px 0 #890b2550;transform:rotate(4deg);transition:transform .3s;color:var(--ink)}.voucher-preview:hover{transform:rotate(0deg) scale(1.02)}.voucher-preview img{width:100%;height:auto}.voucher-preview>span{display:block;padding:12px 16px;text-align:right;font-size:14px;font-weight:700}.gift-art:has(.voucher-preview){padding-block:24px}.voucher-preview+.ticket-caption{margin-top:32px}


/* Large original voucher, with intentional left-edge bleed. */
.gifts-grid{grid-template-columns:1.35fr 1fr;gap:64px}
.gifts-grid>div:first-child{grid-column:2;grid-row:1}
.gifts-grid>.gift-art{grid-column:1;grid-row:1;width:calc(100% + max(100px,(100vw - 1220px)/2 + 45px));max-width:none;margin-left:calc(-1 * max(100px,(100vw - 1220px)/2 + 45px));padding:40px 0}
.gifts .voucher-preview{transform:rotate(-5deg);box-shadow:15px 20px 0 #890b2550}
.gifts .voucher-preview:hover{transform:rotate(-2deg)}
.gifts .voucher-preview>span{padding-right:25px}
.gifts .ticket-caption{text-align:right;padding-right:20px}
.service{grid-template-columns:280px 1fr;gap:18px 55px;align-items:center}
.service-photo{grid-column:1;grid-row:1 / 3;width:100%;height:290px;object-fit:cover;object-position:center 44%}
.service-heading{align-self:end}.service>div:last-child{grid-column:2;align-self:start}
@media(max-width:800px){.gifts-grid{grid-template-columns:1fr;gap:30px}.gifts-grid>div:first-child{grid-column:1;grid-row:2}.gifts-grid>.gift-art{grid-column:1;grid-row:1;width:calc(100% + 50px);max-width:none;margin-left:-65px;padding:25px 0}.gifts .ticket-caption{font-size:12px}.service{grid-template-columns:220px 1fr;gap:16px 28px}.service-photo{height:310px}.service h2{font-size:34px}}
@media(max-width:480px){.service{grid-template-columns:1fr;gap:24px}.service-photo{grid-column:1;grid-row:1;height:280px}.service-heading{grid-column:1;grid-row:2}.service>div:last-child{grid-column:1;grid-row:3}.gifts-grid>.gift-art{width:calc(100% + 45px);margin-left:-60px}.gifts .voucher-preview>span{font-size:12px}}


.intro-photo>img{height:auto;aspect-ratio:4/3;object-fit:cover}.intro-photo .photo-stamp{top:-25px}


/* Clip the rotated ticker at an untransformed boundary (including iOS Safari). */
html{overflow-x:hidden}
@supports(overflow:clip){html{overflow-x:clip}}
.marquee-viewport{position:relative;z-index:3;width:100%;max-width:100%;overflow:hidden;padding-block:24px;margin-top:-37px;margin-bottom:-24px}
.marquee-viewport .marquee{margin-top:0}


/* Match the proven Zvaraniehlinika fix: contain all transformed page artwork. */
#obsah{min-width:0;overflow:hidden}
.marquee-viewport{min-width:0}


/* Secondary information about direct entry to OWD. */
.intro-copy .entry-note,.courses .entry-note{color:#c91827;font-size:14px;line-height:1.55;font-weight:400;max-width:72ch;margin:14px 0 20px}.courses .courses-entry-note{margin:0 0 24px}

/* Keep the entry note directly below its own course card. */
.course-grid{align-items:start}
.owd-with-note{min-width:0}
.courses .owd-with-note .courses-entry-note{max-width:none;margin:16px 0 0}
/* Desktop photo bleeds left; the caption stays at the visible right edge. */
@media(min-width:801px){
  .intro-photo{width:calc(100% + max(110px,(100vw - 1220px)/2 + 45px));max-width:none;margin-left:calc(-1 * max(110px,(100vw - 1220px)/2 + 45px));margin-right:20px}
  .intro-photo>img{height:clamp(520px,43vw,640px);aspect-ratio:auto;object-position:60% center}
  .intro-photo .photo-label{left:auto;right:0;width:auto;max-width:90%;text-align:right}
}
/* Equal square tiles with the original gallery spacing. */
.gallery-tiles{grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
.gallery-tiles .gallery-item{width:100%;height:auto;min-width:0;aspect-ratio:1;display:block}
.gallery-tiles .gallery-item>span{inset:auto 0 0;justify-content:flex-end;padding:16px;background:linear-gradient(transparent,#0004)}
.gallery-tiles .gallery-item:focus-visible{outline-offset:-4px;z-index:1}
@media(max-width:1000px){.gallery-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-tiles .gallery-item{height:auto;aspect-ratio:1}}
@media(max-width:480px){.gallery-tiles{gap:12px}.gallery-tiles .gallery-item{aspect-ratio:1}.gallery-tiles .gallery-item>span{padding:10px}}