:root {
  --tt-cg-bg: #292a28;
  --tt-cg-ink: #f5f0e7;
  --tt-cg-muted: #d5cec2;
  --tt-cg-blue: #125073;
  --tt-cg-height: clamp(440px, 38vw, 540px);
  --tt-cg-gap: 14px;
}

.tt-cg-section {
  background: var(--tt-cg-bg);
  color: var(--tt-cg-ink);
  overflow: hidden;
  padding: clamp(52px, 6vw, 84px) 0 clamp(42px, 5vw, 68px);
}

.tt-cg-heading-wrap,
.tt-cg-controls {
  width: min(100% - 64px, 1348px);
  margin-inline: auto;
}

.tt-cg-heading-wrap {
  margin-bottom: 28px;
}

.tt-cg-eyebrow {
  color: var(--tt-cg-muted);
  font-size: .78rem;
  letter-spacing: .16em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.tt-cg-heading {
  color: var(--tt-cg-ink);
  margin: 0;
}

.tt-cg-gallery {
  max-width: 100vw;
  box-sizing: border-box;
  margin: 0;
  padding-left: max(32px, calc((100vw - 1348px) / 2));
  width: 100%;
}

.tt-cg-gallery .slick-list {
  overflow: visible;
}

.tt-cg-gallery .slick-track {
  display: flex;
  gap: var(--tt-cg-gap);
}

.tt-cg-slide {
  box-sizing: border-box;
  flex: 0 0 auto;
  height: var(--tt-cg-height);
  margin: 0;
  padding: 0;
  position: relative;
  width: calc(var(--tt-cg-height) * var(--tt-image-ratio)) !important;
}

.tt-cg-slide > a {
  display: block;
  height: 100%;
  overflow: hidden;
  width: 100%;
}

.tt-cg-slide img {
  display: block;
  height: 100%;
  max-width: none;
  object-fit: cover;
  width: 100%;
}

.tt-cg-slide a:focus-visible,
.tt-cg-arrow:focus-visible {
  outline: 3px solid var(--tt-cg-blue);
  outline-offset: 4px;
}

.tt-cg-caption {
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  bottom: 0;
  color: #fff;
  font-size: .86rem;
  left: 0;
  margin: 0;
  padding: 42px 18px 16px;
  pointer-events: none;
  position: absolute;
  right: 0;
}

.tt-cg-controls {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.tt-cg-arrow {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(245,240,231,.35);
  border-radius: 50%;
  color: var(--tt-cg-ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 1.45rem;
  height: 34px;
  justify-content: center;
  line-height: 1;
  padding: 0 0 3px;
  transition: background-color .2s ease, border-color .2s ease;
  width: 34px;
}

.tt-cg-arrow:hover {
  background: var(--tt-cg-blue);
  border-color: var(--tt-cg-blue);
}

.tt-cg-arrow.slick-disabled {
  cursor: default;
  opacity: .35;
}

.tt-cg-counter {
  color: var(--tt-cg-muted);
  font-size: .82rem;
  min-width: 48px;
  text-align: center;
}

.tt-cg-counter strong {
  color: var(--tt-cg-ink);
  font-weight: 600;
}

.tt-cg-quiet {
  --tt-cg-height: clamp(360px, 32vw, 480px);
  display: flex;
  gap: var(--tt-cg-gap);
  justify-content: center;
  padding-inline: max(32px, calc((100vw - 1348px) / 2));
}

@media (max-width: 767px) {
  :root {
    --tt-cg-height: clamp(320px, 112vw, 420px);
    --tt-cg-gap: 10px;
  }

  .tt-cg-heading-wrap,
  .tt-cg-controls {
    width: calc(100% - 40px);
  }

  .tt-cg-gallery {
    padding-left: 20px;
  }

  .tt-cg-quiet {
    overflow-x: auto;
    justify-content: flex-start;
    padding-inline: 20px;
    scroll-snap-type: x mandatory;
  }

  .tt-cg-quiet .tt-cg-slide {
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tt-cg-gallery .slick-track,
  .tt-cg-arrow {
    transition: none !important;
  }
}


.tt-cg-no-lightbox {
  cursor: default;
  pointer-events: none;
}

.tt-cg-slide.slick-slide {
  height: var(--tt-cg-height) !important;
}


.tt-cg-section .columns.is-centered {
  display: block;
  margin: 0;
  width: 100%;
}

.tt-cg-section .columns.is-centered > div {
  min-width: 0;
  width: 100%;
}
