/* TorreBusz vonal képgaléria – bal oszlop */

.smc2-gallery {
  margin-top: 1rem;
}

.smc2-gallery-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.smc-gallery-image-wrap {
  flex: 1;
  overflow: hidden;
  border-radius: 12px;
}

.smc-gallery-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

/* A galéria gombjai igazodnak a vonal színéhez (ugyanaz, mint a Következő járatok gomb). */
.smc-gallery-nav,
.smc-gallery-zoom {
  border: 0;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  background: var(--smc-accent) !important;
  color: #fff !important;
  font-size: 0.9rem;
}

.smc-gallery-nav:hover,
.smc-gallery-zoom:hover {
  opacity: .9;
}

/* Lightbox */

.smc-gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.smc-gallery-lightbox.is-open {
  display: flex;
}

.smc-gallery-lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.smc-gallery-lightbox-inner img {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

.smc-gallery-close {
  position: absolute;
  top: .5rem;
  right: .5rem;
  width: 2rem;
  height: 2rem;
  border-radius: 4px;
  border: 0;
  background: #111827 !important; /* fekete háttér */
  color: #fff !important;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.smc-gallery-meta {
  margin-top: 0.75rem;
}

.smc-gallery-caption {
  color: #1f2937;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.smc-gallery-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: var(--smc-accent);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
}

.smc-gallery-link:hover {
  opacity: .92;
}

.smc-gallery-lightbox-caption {
  color: #fff;
  text-align: center;
  margin-top: 0.75rem;
  font-weight: 700;
}
