/* v3.12.5 — Gallery-only legibility. No changes to theme layout, images or general navigation. */
/* Sacred Signature / Coffee & Flight and the paired Amin reference gallery. */
body .public-site[data-amin-system="v31119"]:is([data-theme="amin_signature_v2"][data-amin-v2-parity="1"],[data-theme="amin_signature_v3_light"]) .gallery-showcase .jc-frame::after {
  background: transparent !important;
}
body .public-site[data-amin-system="v31119"]:is([data-theme="amin_signature_v2"][data-amin-v2-parity="1"],[data-theme="amin_signature_v3_light"]) .gallery-showcase .jc-meta {
  inset: auto auto 16px 16px !important;
  width: max-content !important;
  max-width: calc(100% - 32px) !important;
  min-width: 0 !important;
  padding: 12px 16px !important;
  background: rgba(255,255,255,.96) !important;
  border: 1px solid rgba(255,255,255,.9) !important;
  border-radius: 15px !important;
  box-shadow: 0 5px 20px rgba(0,0,0,.18) !important;
  backdrop-filter: blur(9px) !important;
  -webkit-backdrop-filter: blur(9px) !important;
  text-shadow: none !important;
  gap: 4px !important;
  pointer-events: none !important;
}
body .public-site[data-amin-system="v31119"]:is([data-theme="amin_signature_v2"][data-amin-v2-parity="1"],[data-theme="amin_signature_v3_light"]) .gallery-showcase .jc-meta :is(.jc-meta__tag,.jc-meta__cap),
body .public-site[data-amin-system="v31119"]:is([data-theme="amin_signature_v2"][data-amin-v2-parity="1"],[data-theme="amin_signature_v3_light"]) .gallery-showcase .jc-meta :is(.jc-meta__tag,.jc-meta__cap) * {
  color: #362b20 !important;
  text-shadow: none !important;
  opacity: 1 !important;
}
body .public-site[data-amin-system="v31119"]:is([data-theme="amin_signature_v2"][data-amin-v2-parity="1"],[data-theme="amin_signature_v3_light"]) .gallery-showcase .jc-meta .jc-meta__tag {
  color: var(--brand-primary-dark,#655022) !important;
  font-weight: 800 !important;
}
body .public-site[data-amin-system="v31119"]:is([data-theme="amin_signature_v2"][data-amin-v2-parity="1"],[data-theme="amin_signature_v3_light"]) .gallery-showcase :is(.jc-arrow,.jc-zoom,.jc-counter) {
  background: rgba(255,255,255,.96) !important;
  border: 1px solid rgba(255,255,255,.94) !important;
  box-shadow: 0 3px 14px rgba(0,0,0,.22) !important;
  color: var(--brand-primary-dark,#503b23) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  opacity: 1 !important;
}
body .public-site[data-amin-system="v31119"]:is([data-theme="amin_signature_v2"][data-amin-v2-parity="1"],[data-theme="amin_signature_v3_light"]) .gallery-showcase :is(.jc-arrow,.jc-zoom):hover {
  background: #fff !important;
  border-color: var(--brand-primary-dark,#765828) !important;
  color: var(--brand-primary-dark,#503b23) !important;
}
body .public-site[data-amin-system="v31119"]:is([data-theme="amin_signature_v2"][data-amin-v2-parity="1"],[data-theme="amin_signature_v3_light"]) .gallery-showcase .jc-counter,
body .public-site[data-amin-system="v31119"]:is([data-theme="amin_signature_v2"][data-amin-v2-parity="1"],[data-theme="amin_signature_v3_light"]) .gallery-showcase .jc-counter * {
  color: #372c21 !important;
  text-shadow: none !important;
  opacity: 1 !important;
}
body .public-site[data-amin-system="v31119"]:is([data-theme="amin_signature_v2"][data-amin-v2-parity="1"],[data-theme="amin_signature_v3_light"]) .gallery-showcase .jc-play {
  background: #fff !important;
  border: 1px solid rgba(70,55,38,.2) !important;
  color: var(--brand-primary-dark,#503b23) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.1) !important;
}
/* Paired reference-gallery tiles already include captions; make them readable over every photo. */
body .public-site .amin-ref-gallery-grid > a > div,
body .public-site .am-gallery-item > span {
  background: rgba(255,255,255,.96) !important;
  border-radius: 12px !important;
  color: #312920 !important;
  text-shadow: none !important;
  box-shadow: 0 4px 14px rgba(0,0,0,.13) !important;
}
body .public-site .amin-ref-gallery-grid > a > div :is(span,h3,small),
body .public-site .am-gallery-item > span * {
  color: #312920 !important;
  text-shadow: none !important;
}
/* Shared gallery carousels: restrict the white controls to gallery image sliders. */
body .public-site section:has(.modern-slider-track [data-gallery-slide]) .slider-nav-button,
body .public-site section:has(.modern-slider-track [data-image-carousel-slide]) .slider-nav-button,
body .public-site :is(.hg-gallery-slider,.em-gallery-slider,.sp-gallery-slider,.sv-gallery-slider,.ff-gallery-slider) button[aria-label] {
  background: #fff !important;
  color: var(--brand-primary-dark,var(--brand-text,#312820)) !important;
  border-color: rgba(54,44,32,.2) !important;
  box-shadow: 0 3px 12px rgba(0,0,0,.14) !important;
}
@media (max-width: 640px) {
  body .public-site[data-amin-system="v31119"]:is([data-theme="amin_signature_v2"][data-amin-v2-parity="1"],[data-theme="amin_signature_v3_light"]) .gallery-showcase .jc-meta {
    inset: auto auto 10px 10px !important;
    max-width: calc(100% - 20px) !important;
    padding: 9px 11px !important;
    border-radius: 12px !important;
  }
  body .public-site[data-amin-system="v31119"]:is([data-theme="amin_signature_v2"][data-amin-v2-parity="1"],[data-theme="amin_signature_v3_light"]) .gallery-showcase .jc-meta__cap {font-size: 14px !important;}
}
