/* Externalized from inline css in public page bloat-reduction phase. Source marker: view_destination.php:ol-memory-board-auto-morph-finetune. */
/* CP: Immersive Destination Memory Board auto-morph fine tune */
.p13-gallery:has(.p13-memory-board[data-ol-immersive-3d-gallery="true"]){
  position:relative!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 50% -6%, color-mix(in srgb,var(--p13-accent,#d2aa59) 28%, transparent), transparent 34%),
    radial-gradient(circle at 82% 20%, rgba(255,255,255,.42), transparent 26%),
    linear-gradient(180deg,#f9f1df 0%,#eadcc2 54%,#102d22 100%)!important;
}
.p13-gallery:has(.p13-memory-board[data-ol-immersive-3d-gallery="true"])::after{
  content:"";
  position:absolute;
  inset:auto -10% -1px -10%;
  height:38%;
  pointer-events:none;
  background:linear-gradient(180deg,transparent,rgba(5,20,13,.74));
  z-index:1;
}
.p13-gallery-heading{position:relative!important;z-index:6!important;}
.p13-gallery-heading h2{color:#123529!important;text-shadow:0 1px 0 rgba(255,255,255,.38);}
.p13-gallery-heading p{color:rgba(18,53,41,.76)!important;}
.p13-gallery .p13-kicker{color:color-mix(in srgb,var(--p13-accent,#c7a35a) 76%,#2e3d25)!important;}
.p13-memory-3d-controls{
  position:relative!important;
  z-index:8!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:1rem!important;
  margin:clamp(1rem,2vw,1.45rem) 0 1.1rem!important;
  padding:.78rem .9rem!important;
  border:1px solid rgba(18,53,41,.14)!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.76),rgba(255,255,255,.48))!important;
  backdrop-filter:blur(18px)!important;
  box-shadow:0 20px 55px rgba(18,53,41,.12)!important;
}
.p13-memory-3d-controls strong{font-family:Georgia,serif!important;color:#123529!important;font-size:clamp(1rem,1.7vw,1.42rem)!important;font-weight:500!important;}
.p13-memory-3d-controls span{display:block!important;color:rgba(18,53,41,.68)!important;font-size:.74rem!important;letter-spacing:.13em!important;text-transform:uppercase!important;font-weight:850!important;margin-top:.1rem!important;}
.p13-memory-3d-buttons{display:flex!important;align-items:center!important;gap:.55rem!important;}
.p13-memory-3d-buttons button{width:42px!important;height:42px!important;border:0!important;border-radius:999px!important;background:#123529!important;color:#fff8e9!important;font-size:1.35rem!important;font-weight:900!important;display:grid!important;place-items:center!important;cursor:pointer!important;box-shadow:0 14px 35px rgba(18,53,41,.22)!important;transition:transform .28s ease,background .28s ease,box-shadow .28s ease!important;}
.p13-memory-3d-buttons button:hover,.p13-memory-3d-buttons button:focus-visible{transform:translateY(-2px)!important;background:color-mix(in srgb,var(--p13-accent,#c7a35a) 74%,#123529)!important;outline:none!important;}
.p13-memory-3d-buttons [data-p13-memory-auto][aria-pressed="true"]{background:color-mix(in srgb,var(--p13-accent,#c7a35a) 82%,#123529)!important;color:#102016!important;}
.p13-memory-3d-dots{display:flex!important;align-items:center!important;gap:.38rem!important;padding:.34rem .45rem!important;border-radius:999px!important;background:rgba(18,53,41,.08)!important;}
.p13-memory-3d-dots button{width:9px!important;height:9px!important;min-width:9px!important;border-radius:999px!important;background:rgba(18,53,41,.25)!important;box-shadow:none!important;padding:0!important;transition:width .3s ease,background .3s ease,transform .3s ease!important;}
.p13-memory-3d-dots button.is-active{width:34px!important;background:var(--p13-accent,#c7a35a)!important;}
.p13-memory-board[data-ol-immersive-3d-gallery="true"]{
  position:relative!important;
  z-index:5!important;
  display:block!important;
  height:clamp(560px,73vh,840px)!important;
  min-height:560px!important;
  perspective:1700px!important;
  transform-style:preserve-3d!important;
  overflow:visible!important;
  isolation:isolate!important;
  margin-top:.85rem!important;
  --ol-stage-glow: color-mix(in srgb,var(--p13-accent,#c7a35a) 22%,transparent);
}
.p13-memory-board[data-ol-immersive-3d-gallery="true"]::before{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  top:54%!important;
  width:min(94vw,980px)!important;
  height:min(58vh,560px)!important;
  transform:translate(-50%,-50%) rotateX(72deg)!important;
  border-radius:50%!important;
  background:radial-gradient(circle,var(--ol-stage-glow),rgba(18,53,41,.11) 45%,transparent 73%)!important;
  filter:blur(12px)!important;
  z-index:0!important;
  pointer-events:none!important;
}
.p13-memory-board[data-ol-immersive-3d-gallery="true"]::after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  bottom:4.5%!important;
  width:min(74vw,720px)!important;
  height:32px!important;
  transform:translateX(-50%)!important;
  border-radius:50%!important;
  background:rgba(7,21,14,.28)!important;
  filter:blur(20px)!important;
  z-index:0!important;
  pointer-events:none!important;
}
.p13-memory-board[data-ol-immersive-3d-gallery="true"] .p13-memory{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:clamp(270px,35vw,520px)!important;
  height:clamp(390px,60vh,660px)!important;
  min-height:0!important;
  grid-row:auto!important;
  grid-column:auto!important;
  border-radius:38px!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.3)!important;
  background-image:linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.18)),var(--img)!important;
  background-size:cover!important;
  background-position:center!important;
  clip-path:var(--ol-clip, inset(0 round 38px))!important;
  box-shadow:0 38px 105px rgba(18,53,41,.24),0 0 0 1px rgba(255,255,255,.16) inset!important;
  transform:translate(-50%,-50%) translateX(var(--ol-x,0px)) translateY(var(--ol-y,0px)) translateZ(var(--ol-z,0px)) rotateX(var(--ol-rx,0deg)) rotateY(var(--ol-ry,0deg)) rotateZ(var(--ol-rz,0deg)) scale(var(--ol-scale,1))!important;
  opacity:var(--ol-opacity,1)!important;
  filter:saturate(var(--ol-sat,1.02)) brightness(var(--ol-bright,.88)) contrast(var(--ol-contrast,1.02))!important;
  transition:transform 1050ms cubic-bezier(.19,1,.22,1),opacity 760ms ease,filter 760ms ease,clip-path 980ms cubic-bezier(.22,1,.36,1),box-shadow 760ms ease!important;
  cursor:pointer!important;
  will-change:transform,opacity,filter,clip-path!important;
  transform-style:preserve-3d!important;
}
.p13-memory-board[data-ol-immersive-3d-gallery="true"] .p13-memory.is-active{
  box-shadow:0 52px 132px rgba(18,53,41,.38),0 0 0 1px rgba(255,255,255,.32) inset,0 0 78px color-mix(in srgb,var(--p13-accent,#c7a35a) 22%,transparent)!important;
  filter:saturate(1.18) brightness(.98) contrast(1.04)!important;
}
.p13-memory-board[data-ol-immersive-3d-gallery="true"] .p13-memory::before{
  content:""!important;
  position:absolute!important;
  inset:-20%!important;
  z-index:2!important;
  pointer-events:none!important;
  background:linear-gradient(110deg,transparent 0%,rgba(255,255,255,.38) 41%,rgba(255,255,255,.08) 48%,transparent 62%)!important;
  mix-blend-mode:screen!important;
  opacity:.0!important;
  transform:translateX(-48%) rotate(8deg)!important;
}
.p13-memory-board[data-ol-immersive-3d-gallery="true"] .p13-memory.is-morphing::before{
  animation:olMemoryMorphSweep 1100ms cubic-bezier(.19,1,.22,1) both!important;
}
.p13-memory-board[data-ol-immersive-3d-gallery="true"] .p13-memory::after{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:1!important;
  pointer-events:none!important;
  background:linear-gradient(0deg,rgba(4,15,10,.84) 0%,rgba(4,15,10,.24) 46%,rgba(4,15,10,.05) 100%),radial-gradient(circle at var(--ol-light-x,50%) 20%,rgba(255,255,255,.22),transparent 32%)!important;
}
.p13-memory-board[data-ol-immersive-3d-gallery="true"] .p13-memory span{
  z-index:4!important;
  left:1.05rem!important;
  right:1.05rem!important;
  bottom:1.05rem!important;
  border:1px solid rgba(255,255,255,.22)!important;
  border-radius:22px!important;
  background:linear-gradient(135deg,rgba(5,17,12,.72),rgba(5,17,12,.48))!important;
  backdrop-filter:blur(18px)!important;
  box-shadow:0 18px 50px rgba(0,0,0,.25)!important;
  font-weight:740!important;
  transform:translateY(var(--ol-caption-y,0))!important;
  transition:transform 700ms ease!important;
}
.p13-memory-board[data-ol-immersive-3d-gallery="true"] .p13-memory.is-active span{--ol-caption-y:-4px;}
.p13-memory-board[data-ol-immersive-3d-gallery="true"] .p13-memory span::before{
  content:attr(data-memory-label)!important;
  display:block!important;
  margin-bottom:.22rem!important;
  color:color-mix(in srgb,var(--p13-accent,#c7a35a) 76%,#fff)!important;
  font-size:.68rem!important;
  text-transform:uppercase!important;
  letter-spacing:.16em!important;
  font-weight:900!important;
}
.p13-memory-board[data-ol-immersive-3d-gallery="true"] .p13-memory[data-morph-mode="iris"].is-active{--ol-clip:circle(74% at 50% 52%);}
.p13-memory-board[data-ol-immersive-3d-gallery="true"] .p13-memory[data-morph-mode="curtain"].is-active{--ol-clip:polygon(0 0,100% 0,96% 100%,4% 100%);}
.p13-memory-board[data-ol-immersive-3d-gallery="true"] .p13-memory[data-morph-mode="diagonal"].is-active{--ol-clip:polygon(5% 0,100% 0,95% 100%,0 100%);}
.p13-memory-board[data-ol-immersive-3d-gallery="true"] .p13-memory[data-morph-mode="soft-arch"].is-active{--ol-clip:ellipse(70% 58% at 50% 50%);}
.p13-memory-board[data-ol-immersive-3d-gallery="true"] .p13-memory[data-morph-mode="wide-cinema"].is-active{--ol-clip:inset(3% 0 3% 0 round 34px);}
@keyframes olMemoryMorphSweep{
  0%{opacity:0;transform:translateX(-58%) rotate(8deg)}
  32%{opacity:.72;}
  100%{opacity:0;transform:translateX(54%) rotate(8deg)}
}
@media(max-width:900px){
  .p13-memory-3d-controls{align-items:flex-start!important;border-radius:28px!important;flex-direction:column!important;}
  .p13-memory-3d-buttons{width:100%!important;justify-content:space-between!important;}
  .p13-memory-3d-dots{flex:1!important;justify-content:center!important;}
  .p13-memory-board[data-ol-immersive-3d-gallery="true"]{height:600px!important;min-height:600px!important;}
  .p13-memory-board[data-ol-immersive-3d-gallery="true"] .p13-memory{width:min(78vw,440px)!important;height:520px!important;}
}
@media(max-width:640px){
  .p13-memory-board[data-ol-immersive-3d-gallery="true"]{display:flex!important;gap:1rem!important;height:auto!important;min-height:0!important;overflow-x:auto!important;scroll-snap-type:x mandatory!important;padding:.5rem 1rem 1.5rem!important;margin-left:-1rem!important;margin-right:-1rem!important;perspective:none!important;}
  .p13-memory-board[data-ol-immersive-3d-gallery="true"]::before,.p13-memory-board[data-ol-immersive-3d-gallery="true"]::after{display:none!important;}
  .p13-memory-board[data-ol-immersive-3d-gallery="true"] .p13-memory{position:relative!important;left:auto!important;top:auto!important;flex:0 0 84%!important;width:auto!important;height:430px!important;transform:none!important;opacity:1!important;scroll-snap-align:center!important;clip-path:inset(0 round 30px)!important;}
}
@media(prefers-reduced-motion:reduce){
  .p13-memory-board[data-ol-immersive-3d-gallery="true"] .p13-memory,.p13-memory-board[data-ol-immersive-3d-gallery="true"] .p13-memory::before{transition:none!important;animation:none!important;}
}
