/* Album archive/single refinements */
.gallery-3d-nav{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:54px!important;height:54px!important;border-radius:999px!important;border:1px solid rgba(255,255,255,.18)!important;background:rgba(255,255,255,.065)!important;color:#fff!important;backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important;box-shadow:0 18px 42px rgba(0,0,0,.28)!important;transition:transform .2s ease,border-color .2s ease,background .2s ease,box-shadow .2s ease!important;cursor:pointer!important}
.gallery-3d-nav:hover{transform:translateY(-2px)!important;border-color:#8ff5ff!important;background:rgba(34,199,216,.16)!important;box-shadow:0 22px 52px rgba(34,199,216,.18)!important}
.gallery-3d-nav svg{width:24px;height:24px;display:block;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

.album-single-page .album-single-gallery{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;margin-bottom:38px;overflow:visible!important}
.album-single-page .album-single-gallery .gallery-3d-stage{position:relative;overflow:hidden;min-height:560px;padding:24px 0;perspective:1800px}
.album-single-page .album-single-gallery .gallery-3d-ribbon{position:relative;min-height:520px;perspective:1800px}
.album-single-page .album-single-gallery .gallery-3d-slide{position:absolute;top:0;left:50%;width:min(34vw,360px);aspect-ratio:4/5;margin-left:calc(min(34vw,360px) / -2);transform-style:preserve-3d;transition:transform .45s cubic-bezier(.2,.7,.2,1),opacity .35s ease,filter .35s ease,width .25s ease,aspect-ratio .25s ease;display:block;border-radius:24px;overflow:hidden;border:1px solid rgba(255,255,255,.1);background:#080808;box-shadow:0 26px 76px rgba(0,0,0,.36)}
.album-single-page .album-single-gallery .gallery-3d-slide.is-landscape{width:min(56vw,720px);aspect-ratio:16/10;margin-left:calc(min(56vw,720px) / -2)}
.album-single-page .album-single-gallery .gallery-3d-slide.is-portrait{width:min(34vw,360px);aspect-ratio:4/5;margin-left:calc(min(34vw,360px) / -2)}
.album-single-page .album-single-gallery .gallery-3d-slide img{width:100%;height:100%;object-fit:cover;display:block;filter:grayscale(100%) brightness(.9);transition:transform .45s ease,filter .45s ease}
.album-single-page .album-single-gallery .gallery-3d-slide.is-active img{filter:grayscale(0%) brightness(1);transform:scale(1.025)}

.album-single-meta-panel{width:min(100% - 40px,900px);margin:8px auto 54px;padding:22px 24px;border:1px solid rgba(255,255,255,.10);border-radius:24px;background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));text-align:right;direction:rtl;color:#d7d7d7}
.album-single-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 22px;margin-bottom:14px}
.album-single-meta-item{border-bottom:1px solid rgba(255,255,255,.08);padding-bottom:10px}
.album-single-meta-label{display:block;margin-bottom:4px;color:#8ff5ff;font-size:.78rem;letter-spacing:.02em;font-weight:500}
.album-single-meta-value{display:block;color:#e8e8e8;font-size:.96rem;font-weight:400;line-height:1.8}
.album-single-description{margin-top:10px;color:#cfcfcf;font-size:1rem;line-height:2;text-align:right}
.album-single-description p{margin:.35em 0}

@media(max-width:980px){
  .album-single-page .album-single-gallery{grid-template-columns:32px minmax(0,1fr) 32px;gap:6px;width:100%}
  .album-single-page .album-single-gallery .gallery-3d-stage{min-height:500px}
  .album-single-page .album-single-gallery .gallery-3d-ribbon{min-height:460px}
  .album-single-page .album-single-gallery .gallery-3d-slide.is-landscape{width:min(70vw,620px);margin-left:calc(min(70vw,620px) / -2)}
  .album-single-page .album-single-gallery .gallery-3d-slide.is-portrait{width:min(48vw,340px);margin-left:calc(min(48vw,340px) / -2)}
}
@media(max-width:760px){
  .gallery-3d-nav{width:32px!important;height:32px!important;min-width:32px!important}
  .gallery-3d-nav svg{width:18px;height:18px}
  .gallery-3d-carousel{display:grid!important;grid-template-columns:36px minmax(0,1fr) 36px!important;align-items:center!important;gap:4px!important;width:100%!important;max-width:100%!important;overflow:hidden!important}
  .gallery-3d-carousel .gallery-3d-viewport{grid-column:2!important;grid-row:1!important;width:100%!important;overflow:hidden!important}
  .gallery-3d-carousel .gallery-3d-nav.is-prev{grid-column:1!important;grid-row:1!important;justify-self:center!important;align-self:center!important;position:relative!important;left:auto!important;right:auto!important;top:auto!important;margin:0!important}
  .gallery-3d-carousel .gallery-3d-nav.is-next{grid-column:3!important;grid-row:1!important;justify-self:center!important;align-self:center!important;position:relative!important;left:auto!important;right:auto!important;top:auto!important;margin:0!important}
  .album-single-page .album-single-gallery{grid-template-columns:36px minmax(0,1fr) 36px!important;width:100%!important;gap:4px!important}
  .album-single-page .album-single-hero h1,
  .album-single-hero h1,
  .album-archive-hero h1{font-size:clamp(1.4rem,5.5vw,1.75rem)!important;line-height:1.2!important}
}
@media(max-width:430px){
  .album-single-page .album-single-gallery{grid-template-columns:40px minmax(0,1fr) 40px;width:min(100% - 10px,430px)}
  .album-single-page .album-single-gallery .gallery-3d-stage{min-height:350px}
  .album-single-page .album-single-gallery .gallery-3d-ribbon{min-height:330px}
  .album-single-page .album-single-gallery .gallery-3d-slide.is-landscape{width:72vw;margin-left:-36vw}
  .album-single-page .album-single-gallery .gallery-3d-slide.is-portrait{width:62vw;margin-left:-31vw}
}

@media(max-width:760px){
  .album-single-page{overflow-x:hidden!important}
  .album-single-page .album-single-gallery{position:relative!important;display:block!important;overflow:hidden!important;width:100%!important;max-width:100%!important;padding-inline:0!important}
  .album-single-page .album-single-gallery .gallery-3d-stage{width:100%!important;max-width:100%!important;margin-inline:auto!important}
  .album-single-page .album-single-gallery .gallery-3d-ribbon{width:100%!important;max-width:100%!important;margin-inline:auto!important}
  .album-single-page .album-single-gallery .gallery-3d-stage{height:var(--gallery-active-height,430px)!important;min-height:0!important;overflow:hidden!important}
  .album-single-page .album-single-gallery .gallery-3d-ribbon{height:var(--gallery-active-height,410px)!important;min-height:0!important;overflow:hidden!important}
  .album-single-page .album-single-gallery .gallery-3d-nav{position:absolute!important;top:var(--gallery-active-center-y,50%)!important;transform:translateY(-50%)!important;margin:0!important;z-index:30!important}
  .album-single-page .album-single-gallery .gallery-3d-nav.is-prev{right:10px!important;left:auto!important}
  .album-single-page .album-single-gallery .gallery-3d-nav.is-next{left:10px!important;right:auto!important}
  .album-single-page .album-single-gallery .gallery-3d-slide{height:auto!important;background:#050505!important;border-radius:22px!important;overflow:hidden!important}
  .album-single-page .album-single-gallery .gallery-3d-slide.is-landscape{width:min(72vw,340px)!important;aspect-ratio:var(--gallery-img-aspect,16/10)!important;margin-left:calc(min(72vw,340px) / -2)!important}
  .album-single-page .album-single-gallery .gallery-3d-slide.is-portrait{width:min(58vw,250px)!important;aspect-ratio:var(--gallery-img-aspect,2/3)!important;margin-left:calc(min(58vw,250px) / -2)!important}
  .album-single-page .album-single-gallery .gallery-3d-slide img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;background:#050505!important;transform:none!important}
  .album-single-page .album-single-gallery .gallery-3d-slide.is-active img{transform:none!important;filter:grayscale(0%) brightness(1)!important}
}
