/* EscortBabylon-shaped gallery chrome for jpg.pet (600px shell). */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: #eaf7fd;
  color: #222;
  font: 14px/1.35 Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }

/* Same content width as escortbabylon.net .mainPage */
.mainPage {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  overflow-x: visible;
  background: #eaf7fd;
  min-height: 100vh;
}

.gallery-header,
#topImageHeader {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(180deg, #0b1c33 0%, #071428 100%);
  color: #fff;
  padding: 10px 10px 0;
}
.gallery-logo-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 4px 10px;
}
.gallery-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: radial-gradient(circle at 30% 30%, #ff6b6b, #b00000 70%);
  border: 2px solid #fff;
  font: 800 13px/1 Verdana, sans-serif;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.gallery-logo-word {
  font: 800 22px/1.1 Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: 0.03em;
  color: #ff8a1f;
  text-transform: none;
}

.gallery-tabs {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  padding-bottom: 0;
}
.gallery-tab {
  flex: 1 0 auto;
  min-width: 64px;
  text-align: center;
  padding: 10px 8px;
  font: 700 11px/1.1 Verdana, sans-serif;
  color: #fff !important;
  background: linear-gradient(180deg, #d32f2f 0%, #8e0000 100%);
  border: 1px solid #5a0000;
}
.gallery-tab.is-active {
  background: #111;
  color: #ffe566 !important;
  border-color: #000;
}

.tabbedPageContentPhotos {
  margin: 5px 0 0 8px;
  padding: 12px 8px 120px 0;
  max-width: 600px;
}
.gallery-cta-banner { text-align: center; margin: 8px 0 14px; }
.gallery-review-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff9a2e 0%, #e07000 100%);
  color: #fff !important;
  font: 700 12px/1.2 Verdana, sans-serif;
}
.gallery-review-pill__arrow { color: #fff; font-weight: 900; }

h1.more-photos-header,
.more-photos-header {
  display: block;
  width: 100%;
  max-width: 600px;
  box-sizing: border-box;
  text-align: center;
  margin: 8px 0 14px;
  padding: 0;
  font: italic 800 28px/1 Impact, Haettenschweiler, sans-serif;
  color: #7a1010;
  letter-spacing: 0.04em;
  text-shadow: 1px 1px 0 #fff;
}

.media-toggle {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0 auto 16px;
  width: fit-content;
  border: 1px solid #333;
  border-radius: 4px;
  overflow: hidden;
}
.media-toggle .link a {
  display: block;
  padding: 6px 18px;
  font: 700 13px/1 Verdana, sans-serif;
  background: #fff;
  color: #222;
}
.media-toggle .link.active a {
  background: #123a66;
  color: #fff;
}

/* EB float columns inside 600px shell */
.masonryImagesContainer {
  width: 100%;
  max-width: 592px;
  margin: 0;
  overflow: hidden;
}
.masonryImagesContainer::after {
  display: table;
  content: " ";
  clear: both;
}
.masonryColumn {
  width: 33%;
  float: left;
}
.galleryImages, .galleryVideos {
  margin: 0;
  background: transparent;
  border: 0;
}
.masonryImages, .galleryVideos video {
  display: block;
  width: 93%;
  height: auto;
  margin: 0 0 4px;
  padding: 0;
  border: solid 1px #666;
  vertical-align: top;
  background: #fff;
}
.gallery-empty {
  clear: both;
  text-align: center;
  color: #555;
  padding: 24px 8px;
}

.glass-back-fab {
  position: fixed;
  left: max(14px, calc(50% - 300px + 14px));
  bottom: 22px;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(160deg, rgba(220, 40, 40, 0.72) 0%, rgba(140, 0, 0, 0.78) 100%);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -8px 16px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  color: #fff !important;
}
.glass-back-fab__label {
  display: block;
  text-align: center;
  font: 700 11px/1.15 Verdana, sans-serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.gallery-footer-actions {
  position: fixed;
  right: max(14px, calc(50% - 300px + 14px));
  bottom: 28px;
  z-index: 1100;
}
.gallery-report {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: #cfd4da;
  color: #222 !important;
  font: 700 12px/1 Verdana, sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.picture-stage {
  padding: 16px 8px 120px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.picture-stage img {
  max-width: 100%;
  height: auto;
  background: #111;
}

/* Full-screen image lightbox */
body.lightbox-open { overflow: hidden; }
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 16px 24px;
  background: rgba(0, 0, 0, 0.92);
}
.gallery-lightbox[hidden] { display: none !important; }
.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: zoom-out;
}
.gallery-lightbox__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(600px, 100%);
  max-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 80px);
  width: auto;
  height: auto;
  background: #111;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
}
.gallery-lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #c62828;
  color: #fff;
  font: 800 28px/1 Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-decoration: none !important;
}
.gallery-lightbox__close:hover,
.gallery-lightbox__close:focus-visible {
  background: #e53935;
  outline: 2px solid #ffe566;
  outline-offset: 2px;
}
.gallery-lightbox__close-x {
  display: block;
  margin-top: -2px;
}
.picture-view .gallery-lightbox__close {
  position: fixed;
}

@media (max-width: 420px) {
  h1.more-photos-header,
  .more-photos-header { font-size: 22px; }
  .gallery-lightbox__close { top: 10px; right: 10px; width: 44px; height: 44px; font-size: 26px; }
}
