/* Overlay thumbs on featured image */
.single-post__featured-image .featured-gallery-strip {
  position: absolute; right: 12px; bottom: 12px;
  display: flex; gap: 8px; align-items: center; z-index: 2;
}
.single-post__featured-image .featured-gallery-strip .fg-thumb {
  display: inline-block; width: 140px; height: 130px;
  border-radius: 6px; overflow: hidden; position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.35);
  color:white;
}
.single-post__featured-image .featured-gallery-strip .fg-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.single-post__featured-image .featured-gallery-strip .fg-thumb--more::after {
  content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.566);
}
.single-post__featured-image .featured-gallery-strip .fg-thumb--more .fg-more {
  position: absolute; inset: 0; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 2px; padding: 6px; font-size: 13px; line-height: 1.2;
}
.single-post__featured-image .featured-gallery-strip .fg-thumb--more .fg-more i { font-style: normal; opacity: 1;color:white;z-index:100;font-weight:600; }
.single-post__featured-image .featured-gallery-strip .fg-thumb--more .fg-more b { font-weight: 700;z-index:100;color:white;font-weight:600; }

@media (max-width: 576px) {
  .single-post__featured-image .featured-gallery-strip { right: 8px; bottom: 8px; gap: 6px; }
  .single-post__featured-image .featured-gallery-strip .fg-thumb { width: 200px; height: auto; border-radius: 5px; }
  .single-post__featured-image .featured-gallery-strip .fg-thumb--more .fg-more { font-size: 12px; }
  .single-post__featured-image .featured-gallery-strip .fg-thumb {
    width:75px;height:auto;
  }
  .gal-min .stage{
    min-height:20vh;
  }
  .gal-min .imgwrap img{
    max-height:30vh;
  }
}

/* Gallery viewer route */
.gal-min { background:#2a3136; color:#e7eaee; padding:24px 0 40px; }
.gal-min .container { max-width:1080px; }
.gal-min .top { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
.gal-min .back a { color:#ffc107; text-decoration:none; }
.gal-min .stage { display:flex; align-items:center; justify-content:center; gap:28px; min-height:60vh; }
.gal-min .imgwrap { display:flex; align-items:center; justify-content:center; max-width:85vw; max-height:72vh; }
.gal-min .imgwrap img { width:auto; height:auto; max-width:85vw; max-height:72vh; border-radius:6px; box-shadow:0 10px 30px rgba(0,0,0,.35); }
.gal-min .side { max-width:360px; }
.gal-min .arrow { display:inline-flex; align-items:center; justify-content:center; width:56px; height:56px; border-radius:50%; border:1px solid rgba(255,255,255,.28); background:rgba(255,255,255,.08); color:#fff; text-decoration:none; font-size:24px; margin-right:8px; }
.gal-min .arrow:hover { background:rgba(255,255,255,.18); }
.gal-min .caption { color:#c8cdd3; margin-top:8px; }
.gal-min .thumbs { margin-top:24px; display:flex; flex-wrap:wrap; gap:8px; }
.gal-min .thumbs .thumb { display:inline-block; border-radius:8px; padding:2px; transition:transform .12s ease, box-shadow .12s ease; }
.gal-min .thumbs .thumb img { width:80px; height:80px; object-fit:cover; border-radius:6px; border:1px solid rgba(255,255,255,.18); display:block; }
.gal-min .thumbs .thumb:hover { transform:translateY(-1px); }
.gal-min .thumbs .thumb.is-active { box-shadow:0 0 0 2px #4fa3ff, 0 0 1px 4px rgba(79,163,255,.25); border-radius:8px; }

@media (max-width:768px){
  .gal-min .stage{flex-direction:column;min-height:20vh;}
  .gal-min .arrow{width:44px;height:44px;font-size:20px;}
  .gal-min .side{max-width:100%;}
}

/* Content card */
.gallery-link { position: relative; display:block; }
.gallery-link .img-responsive { width: 100%; height: auto; border-radius: 6px; }
.gallery-link .cta { position: absolute; right: 16px; bottom: 16px; background:#e50914; color:#fff; padding:10px 14px; border-radius:4px; font-weight:600; }
.mg-bottom-20 { margin-bottom: 20px; }
