/* =========================================================
   IDEAICAN Components (Global) — use across the whole site
   - Gallery one column (full width)
   - Lightbox
   ========================================================= */

.outing-gallery{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.outing-gallery .gcard{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  background:#000;
  cursor:pointer;
}

.outing-gallery .gcard:before{
  content:'';
  display:block;
  padding-top:56.25%; /* 16:9 */
}

.outing-gallery .gcard img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.outing-gallery .gnum{
  position:absolute;
  left:12px;
  top:12px;
  padding:6px 10px;
  border-radius:999px;
  background: rgba(0,0,0,.55);
  color:#fff;
  font-size:12px;
  font-weight:700;
}

/* Lightbox */
.olb{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.88);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
  padding:16px;
}

.olb.open{ display:flex; }

.olb .inner{
  width:min(1200px, 96vw);
  position:relative;
}

.olb img{
  width:100%;
  max-height:92vh;
  object-fit:contain;
  background:#000;
  border-radius:12px;
}

.olb .x,
.olb .p,
.olb .n{
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width:44px;
  height:44px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.55);
  color:#fff;
  cursor:pointer;
  user-select:none;
}

.olb .x{
  top:10px;
  right:10px;
  transform:none;
}

.olb .p{ left:10px; }
.olb .n{ right:10px; }

.olb .cap{
  margin-top:10px;
  text-align:center;
  color: rgba(255,255,255,.75);
  font-size:13px;
}