:root {
  --gd-slide: clamp(120px, 11vw, 155px);
}

section.gd-brand-spotlight {
  background: rgba(240, 240, 240, 0.55);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.gd-brand-grid {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  gap: 0;
  align-items: center;
}

.gd-indicator-btn {
  width: 40px;
  height: 100%;
  min-height: var(--gd-slide);
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(0, 0, 0, 0.55);
  display: grid;
  place-items: center;
  cursor: pointer;
  user-select: none;
}
.gd-indicator-btn:hover {
  color: rgba(0, 0, 0, 0.75);
}
.gd-indicator-btn:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.35);
  outline-offset: 2px;
}

/* Viewport: hard clip + bottom padding so circle shadow isn't clipped */
.gd-viewport {
  position: relative;
  padding: 0.25rem 0 1rem;
  overflow: hidden;
}

/* Track as inline-grid: consistent column sizing */
.gd-track {
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--gd-slide);
  column-gap: 1rem;
  align-items: center;
  transition: transform 420ms ease;
  will-change: transform;
}

.gd-slide {
  position: relative;
  overflow: visible;
}
.gd-slide:hover .gd-overlay, .gd-slide:focus-within .gd-overlay {
  opacity: 1;
}
.gd-slide:hover .gd-logo, .gd-slide:focus-within .gd-logo {
  filter: grayscale(1) blur(2px);
  opacity: 0.55;
  transform: scale(1.06);
}

.gd-circle {
  width: 100%;
  height: 100%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gd-circle > img {
  object-fit: contain;
  max-width: 70%;
}

.gd-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: filter 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.gd-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /*transform: translateY(-10%);*/
  opacity: 0;
  transition: opacity 0.16s ease;
  pointer-events: none;
  z-index: 40;
}

.gd-actions {
  pointer-events: auto;
  background: transparent;
  padding: 0;
}
.gd-actions .d-grid {
  gap: 0.24rem !important;
}

/* a little more space between actions */
.gd-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  /*padding: .12rem .25rem;
  line-height: 1.1;
  font-size: .72rem;*/
  white-space: nowrap;
  /*background: transparent;
  border: 0;*/
  cursor: pointer;
  /*color: var(--bs-primary);
  text-decoration: underline;
  text-underline-offset: .18em;
  text-decoration-thickness: .08em;*/
  transform: scale(1);
  transition: transform 0.12s ease, font-weight 0.12s ease, text-decoration-thickness 0.12s ease;
}
.gd-action:hover, .gd-action:focus-visible {
  font-weight: 700;
  transform: scale(1.05);
  text-decoration-thickness: 0.11em;
}

@media (prefers-reduced-motion: reduce) {
  .gd-track,
  .gd-logo,
  .gd-overlay,
  .gd-action {
    transition: none !important;
  }
}
