/* Aria edit Nov 27 2026: Gallery follow buttons, Behold placeholder, and hand-picked social cards.
   Linked only from gallery.html. To revert, remove this file and the gallery-social block/script from gallery.html. */

.gal-social { background: #F4F4F4; padding: 3.25rem 0 3.5rem; text-align: center; }
.gal-social .eyebrow { color: #E6720E; margin: 0 0 0.35rem; }
.gal-social h2 { margin: 0 0 0.45rem; color: #0C2340; }
.gal-social-lead { margin: 0 auto 1.75rem; max-width: 38rem; color: #000; }

/* Follow buttons: brand orange, white text and icons */
.gal-follow {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem;
  margin: 0 auto 1.75rem; padding: 0; list-style: none;
}
.gal-follow-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: #E6720E; color: #fff; border: 2px solid #E6720E;
  border-radius: 10rem; padding: 0.75rem 1.3rem; min-height: 3rem;
  font-weight: 600; font-size: 1.02rem; line-height: 1.2; text-decoration: none;
}
.gal-follow-btn:hover,
.gal-follow-btn:focus-visible { background: #000; border-color: #000; color: #fff; }
.gal-follow-btn svg { width: 1.25rem; height: 1.25rem; fill: currentColor; flex: 0 0 auto; }

/* Gigabit drops the Behold Instagram embed into this empty hook. Hidden until it has content. */
#behold-instagram-feed:empty { display: none; }
#behold-instagram-feed { margin: 0 0 2.25rem; }

/* Hand-picked Facebook, YouTube, and TikTok cards */
.gal-posts { margin: 0 auto; max-width: 1120px; }
.gal-posts-head { margin: 0 0 1.1rem; font-weight: 600; color: #0C2340; font-size: 1.08rem; }
.gal-posts-stage { position: relative; overflow: hidden; }
.gal-posts-track {
  display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
  padding: 0.15rem 0 0.6rem; scrollbar-width: none;
}
.gal-posts-track::-webkit-scrollbar { display: none; }
.gal-post {
  flex: 0 0 min(280px, 78vw); scroll-snap-align: start;
  background: #fff; border: 1px solid #E5E5E5; border-top: 5px solid #E6720E;
  border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; text-align: left;
  box-shadow: 0 2px 14px rgba(12,35,64,0.08);
}
.gal-post:hover, .gal-post:focus-visible { border-color: #E6720E; }
.gal-post:focus-visible { outline: 3px solid #0C2340; outline-offset: 2px; }
.gal-post-photo { position: relative; aspect-ratio: 3 / 4; background: #eee; overflow: hidden; }
.gal-post-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; display: block; }
.gal-post-badge {
  position: absolute; left: 0.7rem; top: 0.7rem;
  background: #E6720E; color: #fff; font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.28rem 0.6rem; border-radius: 999px;
}
.gal-post-body { padding: 0.95rem 1rem 1.1rem; }
.gal-post-body p { margin: 0; font-size: 0.98rem; line-height: 1.45; color: #000; font-weight: 400; }
.gal-post-watch { display: inline-block; margin-top: 0.55rem; font-weight: 600; font-size: 0.88rem; color: #0C2340; }

.gal-posts-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.15rem; }
.gal-posts-btn {
  width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 2px solid #000; background: #fff; color: #000;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0;
}
.gal-posts-btn:hover, .gal-posts-btn:focus-visible { background: #E6720E; border-color: #E6720E; color: #fff; }
.gal-posts-btn svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.gal-posts-dots { display: flex; gap: 0.5rem; }
.gal-posts-dot { width: 0.65rem; height: 0.65rem; border-radius: 50%; border: 2px solid #0C2340; background: transparent; padding: 0; cursor: pointer; }
.gal-posts-dot[aria-selected="true"] { background: #E6720E; border-color: #E6720E; }

@media (min-width: 800px) {
  .gal-post { flex-basis: calc((100% - 2.2rem) / 3); }
}
@media (max-width: 799px) {
  .gal-social { padding: 1.85rem 0 6.25rem; }
  .gal-social-lead { margin-bottom: 1.15rem; }
  .gal-follow { margin-bottom: 1.2rem; gap: 0.55rem; }
  .gal-follow-btn { flex: 1 1 calc(50% - 0.55rem); padding: 0.62rem 0.7rem; font-size: 0.92rem; min-height: 2.7rem; }
  .gal-post { flex-basis: min(260px, 82vw); }
}
@media (prefers-reduced-motion: reduce) {
  .gal-posts-track { scroll-behavior: auto; }
  .gal-post { transition: none; }
}
