[data-agadir-gallery]{position:relative;overflow:hidden;min-height:200px}[data-agadir-gallery]>img{cursor:zoom-in;width:100%;height:100%;object-fit:cover}.agadir-details-gallery{height:340px}.agadir-gallery-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:3;border:0;border-radius:50%;width:38px;height:38px;color:#202449;background:#fff;cursor:pointer;font-size:20px;box-shadow:0 2px 10px #0003}.agadir-gallery-nav.prev{left:12px}.agadir-gallery-nav.next{right:12px}.agadir-gallery-open{position:absolute;bottom:12px;right:12px;z-index:3;border:0;border-radius:24px;background:#fff;padding:7px 12px;font:700 12px Manrope,sans-serif;cursor:pointer}#agadir-photo-dialog{border:0;border-radius:20px;padding:20px;width:min(1000px,95vw);max-height:94vh;background:#fff;color:#202449;z-index:99999}#agadir-photo-dialog::backdrop{background:#0b1220db}#agadir-photo-dialog img{display:block;width:100%;height:72vh;object-fit:contain}#agadir-photo-dialog button{cursor:pointer;border:0;border-radius:24px;background:#f5f2ff;padding:10px 16px;font-size:17px}#agadir-photo-dialog .controls{display:flex;align-items:center;justify-content:space-between;gap:12px}#agadir-photo-dialog p{font:500 14px/1.5 Manrope,sans-serif;margin:12px 0}a.trip-button,a.home-upcoming-button{text-decoration:none;text-align:center}@media(max-width:600px){.agadir-details-gallery{height:260px}#agadir-photo-dialog img{height:65vh}}

.agadir-image-note{position:absolute;left:10px;top:10px;z-index:4;background:rgba(11,18,32,.85);color:white;border-radius:6px;padding:5px 9px;font:600 11px/1.4 Manrope,sans-serif}.agadir-image-note[hidden]{display:none}

/* Keep gallery navigation below the photo and the close action in a fixed corner. */
[data-agadir-gallery]{border-radius:22px}
.agadir-gallery-nav{top:auto;bottom:12px;transform:none}
.agadir-gallery-open{right:50%;transform:translateX(50%);white-space:nowrap}
#agadir-photo-dialog{position:fixed;padding:58px 20px 14px}
#agadir-photo-dialog .agadir-close{position:absolute;top:10px;right:12px;width:38px;height:38px;padding:0;font-size:26px;line-height:1}
#agadir-photo-dialog img{width:auto;height:auto;max-width:100%;max-height:calc(90dvh - 160px);margin:auto;border-radius:18px}
#agadir-photo-dialog .controls{margin-top:12px}
#agadir-photo-dialog .controls button{flex:none;width:42px;height:42px;padding:0;border-radius:50%}
#agadir-photo-dialog p{margin:0;text-align:center;flex:1}
@media(max-width:600px){#agadir-photo-dialog{padding:55px 12px 12px}#agadir-photo-dialog img{max-height:calc(90dvh - 180px)}#agadir-photo-dialog p{font-size:12px}}

/* Highlight only the currently active Agadir trip, without changing card geometry. */
article[data-planned-offer="agadir"],.trip-date-card:has(>[data-agadir-gallery]){border-color:transparent!important;box-shadow:0 18px 42px -8px rgba(32,36,73,.30),0 5px 14px rgba(32,36,73,.12)!important}
[data-agadir-gallery]>.trip-date-location,[data-agadir-gallery]>div{top:12px!important;bottom:auto!important}
