/* Responsive corrections and editable photo galleries. */
.block-ps-cta-strip .cta-strip__phone{line-height:1.35;}
.block-ps-cta-strip .cta-strip__phone a{display:inline-block;line-height:inherit;}
.cta-strip__number{white-space:nowrap;}
.block-ps-cta-strip :is(h2,h4){line-height:1.2;}
.essence-photo-slider{position:relative;overflow:hidden;min-width:0;background:#3a1825;}
.essence-room-gallery{min-width:0!important;max-width:100%;}
.essence-room-gallery .room__main{height:420px;}
.essence-room-gallery .room__main .swiper-slide,.essence-room-gallery .room__slide-link{height:100%;display:block;width:100%;}
.essence-room-gallery .room__main img{height:100%;width:100%;object-fit:cover;cursor:zoom-in;}
.essence-room-gallery .room__thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;}
.essence-room-gallery .room__thumb{display:block;padding:0;border:0;background:none;cursor:pointer;min-width:0;transform:none;box-shadow:none;border-radius:0;transition:box-shadow .25s ease;}
.essence-room-gallery .room__thumb[aria-pressed=true]{box-shadow:0 4px 10px #5f374670;}
.essence-room-gallery .room__thumb:focus-visible{outline:2px solid #5f3746;outline-offset:4px;}
.essence-room-gallery .room__thumb img{display:block;width:100%;height:90px;object-fit:cover;opacity:.65;transition:opacity .3s;}
.essence-room-gallery .room__thumb:hover img,.essence-room-gallery .room__thumb[aria-pressed=true] img{opacity:1;}
.essence-slider-button{position:absolute;z-index:5;display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;border:1px solid #ffffff70;border-radius:0;color:#ffffff;background:#3a1825b8;box-shadow:none;font:400 26px/1 Arial,sans-serif;cursor:pointer;transform:none;}
.essence-slider-button:hover{background:#5f3746;color:#ffffff;transform:none;}
.essence-slider-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;}
.essence-slider-button:focus-visible{outline:3px solid #e1c443;outline-offset:2px;}
.essence-slider-prev{left:14px;top:calc(50% - 22px);}.essence-slider-next{right:14px;top:calc(50% - 22px);}
.essence-slider-expand{left:14px;bottom:14px;font-size:24px;}
.essence-slider-pause{right:14px;bottom:14px;font-size:18px;}
.essence-slider-count{position:absolute;z-index:4;left:50%;bottom:18px;transform:translateX(-50%);padding:4px 12px;border-radius:20px;background:#3a1825b8;color:white;font:400 13px/22px var(--font-body);pointer-events:none;}
.essence-service-slideshow.wp-block-gallery{position:relative;display:flex;max-width:1200px;margin:0 auto!important;width:100%;gap:0!important;overflow:hidden;background:#3a1825;}
.essence-service-slideshow.is-gallery-ready{display:block!important;height:700px;}
.essence-service-slideshow--piscina.is-gallery-ready{height:800px;}
.essence-service-slideshow.is-gallery-ready .swiper-wrapper{gap:0!important;flex-wrap:nowrap;}
.essence-service-slideshow.is-gallery-ready figure.wp-block-image{margin:0!important;max-width:none!important;flex:none!important;width:100%!important;height:100%!important;overflow:hidden;aspect-ratio:auto;}
.essence-service-slideshow.is-gallery-ready figure.wp-block-image a{display:block;width:100%;height:100%;}
.essence-service-slideshow.is-gallery-ready figure.wp-block-image img{width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;cursor:zoom-in;}
.essence-service-slideshow .swiper-slide-active img{animation:essence-gallery-ken 5.5s ease-out both;}
.essence-service-slideshow.is-gallery-paused img{animation-play-state:paused;}
@keyframes essence-gallery-ken{from{transform:scale(1.12);}to{transform:scale(1);}}
.essence-photo-dialog{position:fixed;inset:0;z-index:10050;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#071b2a;color:white;overflow:hidden;}
.essence-photo-dialog::backdrop{background:#071b2af5;}
.essence-photo-dialog__image{display:block;width:100%;height:calc(100% - 100px);margin:50px 0;object-fit:contain;touch-action:pan-y;}
.essence-photo-dialog__close{right:16px;top:14px;font-size:32px;}
.essence-photo-dialog__caption{position:absolute;left:65px;right:65px;bottom:12px;margin:0;text-align:center;color:white;font:400 16px/24px var(--font-body);}
/* A redundant isolated GPU layer can hide the bar's contents beside Swiper. */
@media(max-width:1024px){
 .essence-mobile-part{isolation:auto;transform:none;}
 /* Anchor each action directly to the viewport: nested fixed layers can lose paint during a slide. */
 .essence-mobile-actions__buttons>.wp-block-button>a{position:fixed;bottom:0;top:auto;width:33.333333vw;height:calc(83px + env(safe-area-inset-bottom,0px));padding-bottom:calc(10px + env(safe-area-inset-bottom,0px));z-index:1102;transform:none;background:#3a1825;}
 .essence-mobile-actions__buttons>.wp-block-button:nth-child(1)>a{left:0;}
 .essence-mobile-actions__buttons>.wp-block-button:nth-child(2)>a{left:33.333333vw;}
 .essence-mobile-actions__buttons>.wp-block-button:nth-child(3)>a{left:66.666666vw;}
}
@media(max-width:767px){
 /* 64 / 68 px × .65: the requested 35% reduction, only on mobile. */
 .essence-inner-banner h1,.essence-reference-intro h2,.essence-reference-faq h2,.essence-about-value h2{font-size:41.6px;line-height:44.2px;overflow-wrap:anywhere;text-wrap:balance;max-width:100%;}
 .essence-inner-banner .wp-block-cover__inner-container{min-width:0;}
 .essence-inner-banner .essence-eyebrow{font-size:12px;line-height:18px;letter-spacing:2px;}
 .block-ps-cta-strip .cta-strip__phone{font-size:22px;line-height:1.4;}
 .block-ps-cta-strip .cta-strip__number{display:block;}
 .block-ps-room-detail .room__text{min-width:0;max-width:100%;}
 .block-ps-room-detail .room__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:26px;}
 .block-ps-room-detail .room__gallery{width:100%;order:0;}
 .block-ps-room-detail .room__text{width:100%;order:1;}
 .room__text h3{line-height:1.15;}
 .essence-room-gallery .room__main{height:280px;}
 .essence-room-gallery .room__thumbs{gap:7px;}
 .essence-room-gallery .room__thumb img{height:65px;}
 .essence-service-slideshow.is-gallery-ready{height:65svh;min-height:320px;max-height:560px;}
 .essence-slider-prev{left:10px;}.essence-slider-next{right:10px;}
 .essence-slider-expand{left:10px;bottom:10px;}.essence-slider-pause{right:10px;bottom:10px;}
 .essence-photo-dialog__caption{font-size:14px;line-height:20px;left:18px;right:18px;}
}
@media(prefers-reduced-motion:reduce){.essence-service-slideshow img{animation:none!important;}.essence-slider-pause{display:none;}.room__thumb img{transition:none!important;}}
.editor-styles-wrapper .essence-service-slideshow.wp-block-gallery{display:flex!important;gap:10px!important;background:transparent;max-width:100%;}
.editor-styles-wrapper .essence-service-slideshow figure.wp-block-image{width:calc(33.333% - 10px)!important;height:180px!important;}
.editor-styles-wrapper .essence-mobile-actions__buttons>.wp-block-button>a{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;}
/* Rooms: unobtrusive vector controls; all hit areas remain at least 44px. */
.essence-room-gallery .essence-slider-button{border:0;background:transparent;color:#ffffff;box-shadow:none;transition:color .2s ease;}
.essence-room-gallery .essence-slider-button:hover{background:transparent;color:#e1c443;box-shadow:none;}
.essence-room-gallery .essence-slider-button:before,.essence-room-gallery .essence-slider-button:after{display:none;}
.essence-room-gallery .essence-slider-prev svg,.essence-room-gallery .essence-slider-next svg{width:26px;height:34px;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 1px 2px #3a1825);}
.essence-room-gallery .essence-room-pagination{position:absolute;z-index:5;left:50%;bottom:4px;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:0;max-width:calc(100% - 16px);}
.essence-room-gallery .essence-room-star{position:relative;flex:0 0 44px;width:44px;height:44px;min-width:44px;inset:auto;}
.essence-room-gallery .essence-room-star svg{width:15px;height:15px;fill:currentColor;stroke:none;stroke-width:0;filter:none;transition:width .2s ease,height .2s ease,fill .2s ease;}
.essence-room-gallery .essence-room-star[aria-pressed=true]{color:#e1c443;}
.essence-room-gallery .essence-room-star[aria-pressed=true] svg{width:20px;height:20px;}
@media(prefers-reduced-motion:reduce){.essence-room-gallery .essence-slider-button,.essence-room-gallery .essence-room-star svg{transition:none;}}
