/* LastDay.gr v0.17.284 — LateRooms-inspired gallery for every public accommodation page. */
.page-property .property-gallery-v278{display:block!important;width:100%!important;margin:0!important;min-width:0}
.page-property .property-gallery-mosaic-v278{position:relative;display:grid;grid-template-columns:minmax(0,1.72fr) minmax(118px,.64fr) minmax(118px,.64fr);grid-template-rows:repeat(2,minmax(0,1fr));gap:7px;height:520px;overflow:hidden;border-radius:22px;background:#eef2f3}
.page-property .property-gallery-tile-v278{position:relative;min-width:0;min-height:0;margin:0;padding:0;border:0;background:#e8eeef;overflow:hidden;cursor:pointer;isolation:isolate}
.page-property .property-gallery-primary-v278{grid-column:1;grid-row:1/3;border-radius:22px 0 0 22px!important}
.page-property .property-gallery-tile-v278:nth-of-type(2){grid-column:2;grid-row:1}
.page-property .property-gallery-tile-v278:nth-of-type(3){grid-column:3;grid-row:1;border-radius:0 22px 0 0}
.page-property .property-gallery-tile-v278:nth-of-type(4){grid-column:2;grid-row:2}
.page-property .property-gallery-tile-v278:nth-of-type(5){grid-column:3;grid-row:2;border-radius:0 0 22px 0}
.page-property .property-gallery-tile-v278[hidden]{display:none!important}
.page-property .property-gallery-tile-v278>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .28s ease,filter .28s ease}
.page-property .property-gallery-tile-v278:hover>img{transform:scale(1.018);filter:saturate(1.035)}
.page-property .property-gallery-kind-v278{position:absolute;left:10px;bottom:10px;z-index:3;display:inline-flex;align-items:center;min-height:25px;padding:5px 8px;border-radius:999px;background:rgba(10,30,41,.76);color:#fff;font:850 9px/1 Inter,system-ui,sans-serif;letter-spacing:.105em;text-transform:uppercase;backdrop-filter:blur(7px);box-shadow:0 4px 13px rgba(0,0,0,.12)}
.page-property .property-gallery-primary-v278 .property-gallery-kind-v278{left:15px;bottom:15px;padding:7px 10px;font-size:10px}
.page-property .property-gallery-view-v278{position:absolute;right:15px;bottom:15px;z-index:7;min-height:42px;padding:10px 14px;border:1px solid rgba(18,34,48,.14);border-radius:12px;background:rgba(255,255,255,.95);color:#10243b;box-shadow:0 8px 22px rgba(12,32,43,.13);font:850 12px/1.1 Inter,system-ui,sans-serif;cursor:pointer;backdrop-filter:blur(8px)}
.page-property .property-gallery-view-v278:hover{background:#fff;transform:translateY(-1px)}
.page-property .property-gallery-note-v278{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 2px 0;color:#6d7a82;font-size:11.5px;line-height:1.4}
.page-property .property-gallery-note-v278>span:first-child{max-width:80ch}
.page-property .property-gallery-count-v278{flex:0 0 auto;font-weight:850;color:#315263}
.page-property .property-gallery-v278 .destination-photo-disclaimer{display:none!important}
.page-property .property-gallery-v278 .unified175-caption{display:none!important}

/* Override the legacy unified-detail fixed single-photo frame only inside v0.17.278 gallery. */
.unified175-shell .property-gallery-v278 .gallery-main.unified175-frame{height:100%!important;min-height:0!important;padding:0!important;border:0!important;border-radius:22px 0 0 22px!important;background:#e8eeef!important;box-shadow:none!important;overflow:hidden!important}
.unified175-shell .property-gallery-v278 .gallery-main.unified175-frame>img{display:block!important;width:100%!important;height:100%!important;border-radius:0!important;object-fit:cover!important}

/* Lightbox */
.property-gallery-dialog-v278{width:min(1180px,calc(100vw - 30px));max-height:calc(100vh - 30px);padding:17px;border:0;border-radius:20px;background:#09131a;color:#fff;box-shadow:0 35px 100px rgba(0,0,0,.5)}
.property-gallery-dialog-v278::backdrop{background:rgba(3,9,13,.84);backdrop-filter:blur(5px)}
.property-gallery-close-v278{position:absolute;top:13px;right:13px;z-index:10;width:42px;height:42px;border:0;border-radius:999px;background:rgba(255,255,255,.94);color:#10243b;font-size:27px;line-height:1;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.property-gallery-stage-v278{display:grid;grid-template-columns:50px minmax(0,1fr) 50px;gap:10px;align-items:center}
.property-gallery-stage-v278 figure{min-width:0;margin:0;text-align:center}
.property-gallery-dialog-media-v278{position:relative;display:block;overflow:hidden;border-radius:14px;background:#111d25}
.property-gallery-dialog-media-v278 img{display:block;width:100%;height:min(72vh,720px);object-fit:contain;background:#081017}
.property-gallery-dialog-kind-v278{position:absolute;left:13px;bottom:13px;padding:7px 10px;border-radius:999px;background:rgba(3,14,20,.77);color:#fff;font:850 10px/1 Inter,system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase;backdrop-filter:blur(7px)}
.property-gallery-stage-v278 figcaption{min-height:25px;padding:10px 8px 0;color:#c9d5db;font-size:12px;line-height:1.4}
.property-gallery-stage-v278 figcaption a{color:#fff;font-weight:800;text-decoration:none}.property-gallery-stage-v278 figcaption a:hover{text-decoration:underline}
.property-gallery-prev-v278,.property-gallery-next-v278{width:46px;height:46px;border:0;border-radius:999px;background:rgba(255,255,255,.94);color:#10243b;font-size:30px;line-height:1;cursor:pointer;box-shadow:0 7px 20px rgba(0,0,0,.2)}
.property-gallery-thumbs-v278{display:flex;gap:8px;overflow-x:auto;padding:13px 3px 2px;scrollbar-width:thin}
.property-gallery-thumbs-v278 button{position:relative;flex:0 0 92px;height:66px;padding:0;border:2px solid transparent;border-radius:9px;overflow:hidden;background:#17242c;cursor:pointer;opacity:.72}
.property-gallery-thumbs-v278 button.is-active{border-color:#f3bd48;opacity:1}.property-gallery-thumbs-v278 img{display:block;width:100%;height:100%;object-fit:cover}
.property-gallery-thumbs-v278 .is-area:after{content:'AREA';position:absolute;right:4px;bottom:4px;padding:3px 4px;border-radius:5px;background:rgba(7,24,32,.78);color:#fff;font:800 7px/1 Inter,system-ui,sans-serif;letter-spacing:.08em}

@media(max-width:980px){
  .page-property .property-gallery-mosaic-v278{height:500px;grid-template-columns:minmax(0,1.65fr) minmax(105px,.67fr) minmax(105px,.67fr)}
  .unified175-shell .property-gallery-v278 .gallery-main.unified175-frame{height:100%!important}
}
@media(max-width:760px){
  .page-property .property-gallery-v278{margin-bottom:18px!important}
  .page-property .property-gallery-mosaic-v278{height:auto;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:58vw 128px;gap:5px;border-radius:16px;overflow:hidden}
  .page-property .property-gallery-primary-v278{grid-column:1/3;grid-row:1;border-radius:16px 16px 0 0!important}
  .page-property .property-gallery-tile-v278:nth-of-type(2){grid-column:1;grid-row:2;border-radius:0 0 0 16px}
  .page-property .property-gallery-tile-v278:nth-of-type(3){grid-column:2;grid-row:2;border-radius:0 0 16px 0}
  .page-property .property-gallery-tile-v278:nth-of-type(n+4){display:none!important}
  .page-property .property-gallery-view-v278{right:10px;bottom:10px;min-height:38px;padding:9px 11px;font-size:11px}
  .page-property .property-gallery-kind-v278{left:8px;bottom:8px;font-size:8px}
  .page-property .property-gallery-primary-v278 .property-gallery-kind-v278{left:10px;bottom:10px;font-size:9px}
  .page-property .property-gallery-note-v278{align-items:flex-start;flex-direction:column;gap:3px;padding-top:8px;font-size:10.5px}
  .unified175-shell .property-gallery-v278 .gallery-main.unified175-frame{height:100%!important;border-radius:16px 16px 0 0!important}
  .unified175-shell .property-gallery-v278 .gallery-main.unified175-frame>img{height:100%!important}
  .property-gallery-dialog-v278{width:calc(100vw - 12px);max-height:calc(100vh - 12px);padding:10px;border-radius:14px}
  .property-gallery-stage-v278{grid-template-columns:36px minmax(0,1fr) 36px;gap:5px}
  .property-gallery-dialog-media-v278 img{height:min(64vh,540px)}
  .property-gallery-prev-v278,.property-gallery-next-v278{width:34px;height:34px;font-size:23px}
  .property-gallery-close-v278{top:8px;right:8px;width:36px;height:36px;font-size:23px}
  .property-gallery-thumbs-v278 button{flex-basis:74px;height:53px}
}

/* v0.17.282 — generic property-truth fallback. No branded/stock image is
   promoted into the primary accommodation-photo slot when property media is absent. */
.page-property .property-gallery-placeholder-icon-v282{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:rgba(255,255,255,.76);font:800 24px/1 system-ui,sans-serif;box-shadow:0 5px 18px rgba(23,70,61,.08)}

/* v0.17.284 — primary tile is isolated from legacy .gallery-main/polaroid renderers. */
.page-property .property-gallery-primary-v278{background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important}
.page-property .property-gallery-primary-v278>img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important}
