.tgh-sg {
  --tgh-sg-main-ratio: 16 / 9;
  --tgh-sg-thumb-ratio: 16 / 9;
  --tgh-sg-gap: 8px;
  --tgh-sg-radius: 4px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--tgh-sg-gap);
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.tgh-sg > .tgh-sg__item {
  display: block;
  position: relative;
  min-width: 0;
  width: 100%;
  aspect-ratio: var(--tgh-sg-thumb-ratio);
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--tgh-sg-radius);
  background: #f1f0eb;
  box-shadow: none;
  text-decoration: none;
  cursor: zoom-in;
}
.tgh-sg > .tgh-sg__item--main {
  grid-column: 1 / -1;
  aspect-ratio: var(--tgh-sg-main-ratio);
}
.tgh-sg > .tgh-sg__item > img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  transition: transform 260ms ease;
}
.tgh-sg > .tgh-sg__item:focus-visible {
  outline: 3px solid #124d40;
  outline-offset: 3px;
}
.tgh-sg-empty { padding: 24px; border: 1px dashed #124d40; color: #124d40; background: #f6f3ed; font: 400 15px/1.6 Roboto, Arial, sans-serif; }
@media (hover: hover) {
  .tgh-sg > .tgh-sg__item:hover > img { transform: scale(1.025); }
}
.tgh-sg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  width: 100%;
  height: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: rgba(8, 19, 16, .96);
  color: #fff;
  box-shadow: none;
  font: 400 15px/1.5 Roboto, Arial, sans-serif;
  overscroll-behavior: contain;
  box-sizing: border-box;
}
.tgh-sg-lightbox *, .tgh-sg-lightbox *::before, .tgh-sg-lightbox *::after { box-sizing: border-box; }
.tgh-sg-lightbox[hidden], .tgh-sg-lightbox [hidden] { display: none !important; }
.tgh-sg-lightbox::backdrop { background: rgba(8, 19, 16, .85); }
.tgh-sg-lightbox .tgh-sg-lightbox__toolbar {
  position: absolute;
  z-index: 2;
  top: max(12px, env(safe-area-inset-top, 0px));
  left: max(20px, env(safe-area-inset-left, 0px));
  right: max(20px, env(safe-area-inset-right, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
}
.tgh-sg-lightbox .tgh-sg-lightbox__counter { color: #fff; font-size: 15px; font-variant-numeric: tabular-nums; }
.tgh-sg-lightbox .tgh-sg-lightbox__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: #124d40;
  color: #fff;
  box-shadow: none;
  appearance: none;
  cursor: pointer;
  pointer-events: auto;
  transition: color 180ms ease, background-color 180ms ease;
}
.tgh-sg-lightbox .tgh-sg-lightbox__button svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.tgh-sg-lightbox .tgh-sg-lightbox__button:focus-visible { outline: 3px solid #e9c46a; outline-offset: 4px; }
@media (hover: hover) {
  .tgh-sg-lightbox .tgh-sg-lightbox__button:hover { background: #e9c46a; color: #0b3028; }
}
.tgh-sg-lightbox .tgh-sg-lightbox__stage {
  display: flex;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: max(74px, calc(env(safe-area-inset-top, 0px) + 62px)) 80px max(28px, env(safe-area-inset-bottom, 0px));
  touch-action: pan-y pinch-zoom;
}
.tgh-sg-lightbox .tgh-sg-lightbox__image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.tgh-sg-lightbox .tgh-sg-lightbox__status { max-width: 440px; margin: 0; padding: 16px; color: #fff; text-align: center; font: inherit; }
.tgh-sg-lightbox .tgh-sg-lightbox__previous, .tgh-sg-lightbox .tgh-sg-lightbox__next { position: absolute; z-index: 2; top: calc(50% - 22px); }
.tgh-sg-lightbox .tgh-sg-lightbox__previous { left: max(18px, env(safe-area-inset-left, 0px)); }
.tgh-sg-lightbox .tgh-sg-lightbox__next { right: max(18px, env(safe-area-inset-right, 0px)); }
@media (max-width: 767px) {
  .tgh-sg-lightbox .tgh-sg-lightbox__stage {
    padding-right: max(12px, env(safe-area-inset-right, 0px));
    padding-left: max(12px, env(safe-area-inset-left, 0px));
    padding-bottom: max(86px, calc(env(safe-area-inset-bottom, 0px) + 66px));
  }
  .tgh-sg-lightbox .tgh-sg-lightbox__previous, .tgh-sg-lightbox .tgh-sg-lightbox__next { top: auto; bottom: max(16px, env(safe-area-inset-bottom, 0px)); }
  .tgh-sg-lightbox .tgh-sg-lightbox__previous { left: calc(50% - 54px); }
  .tgh-sg-lightbox .tgh-sg-lightbox__next { right: calc(50% - 54px); }
}
@media (prefers-reduced-motion: reduce) {
  .tgh-sg > .tgh-sg__item > img, .tgh-sg-lightbox .tgh-sg-lightbox__button { transition: none; }
}
