.rz-gs {
	--rz-gs-height: 420px;
	--rz-gs-font: "AdihausDIN", "AdineuePRO", Arial, Helvetica, sans-serif;
	--rz-gs-text: #111;
	--rz-gs-muted: #6b7280;
	--rz-gs-card: #f3f4f6;
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.rz-gs *,
.rz-gs *::before,
.rz-gs *::after {
  box-sizing: border-box;
}

.rz-gs__track {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  height: var(--rz-gs-height);
  overflow: hidden;
  background: #111;
}

.rz-gs__panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  cursor: default;
}

.rz-gs__media {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background: #1a1a1a;
}

.elementor .rz-gs .rz-gs__image,
.rz-gs .rz-gs__image {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: scale(1.02);
  filter: brightness(0.88);
  transition: filter 0.4s ease, transform 0.5s ease;
}

.rz-gs__image--placeholder {
  background: linear-gradient(135deg, #2a2a2a, #444);
}

.rz-gs__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.12) 45%,
      rgba(0, 0, 0, 0.18) 100%);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.rz-gs__panel:hover .rz-gs__image,
.rz-gs__panel:focus-within .rz-gs__image {
  filter: brightness(1.12);
  transform: scale(1.06);
}

.rz-gs__panel:hover .rz-gs__shade,
.rz-gs__panel:focus-within .rz-gs__shade {
  opacity: 0.55;
}

.rz-gs__content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  padding: 24px 16px 40px;
  pointer-events: none;
}

.rz-gs__title {
  font-family: var(--rz-gs-font);
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.rz-gs__cta {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  margin: 0;
  padding: 0 22px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #111;
  font-family: var(--rz-gs-font);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rz-gs__cta:hover,
.rz-gs__cta:focus-visible {
  background: #f3f3f3;
  outline: none;
}

.rz-gs__cta-arrow {
	font-size: 1.05em;
	line-height: 1;
}

.rz-gs__dots {
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 12px;
	z-index: 3;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	pointer-events: none;
}

.rz-gs .rz-gs__dot {
	-webkit-appearance: none;
	appearance: none;
	pointer-events: auto;
	display: block;
	flex-shrink: 0;
	width: 8px;
	height: 8px;
	min-width: 8px;
	min-height: 8px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.rz-gs .rz-gs__dot.is-active,
.rz-gs .rz-gs__dot[aria-current="true"] {
	background: #fff;
	transform: scale(1.15);
}

.rz-gs .rz-gs__dot:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* ——— Fullscreen team modal ——— */
/* Above #site-header (999) and .rz-modal (1042); do not use 100000+ (covers header/drawers). */
.rz-gs-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  background: rgba(0, 0, 0, 0.55);
  box-sizing: border-box;
}

.rz-gs-overlay[hidden] {
  display: none !important;
}

.rz-gs-modal {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  background: #fff;
  color: var(--rz-gs-text);
  overflow: hidden;
}

.rz-gs-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.rz-gs-modal__close:hover {
  background: var(--rz-gs-card);
}

.rz-gs-modal__body {
  flex: 1 1 auto;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px 48px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.rz-gs-modal__title {
  margin: 0 48px 8px 0;
  font-family: var(--rz-gs-font);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.rz-gs-modal__lead {
  margin: 0 0 22px;
  font-family: var(--rz-gs-font);
  font-size: 0.95rem;
  color: var(--rz-gs-muted);
}

.rz-gs-modal__empty,
.rz-gs-panel__empty {
  margin: 16px 0;
  color: var(--rz-gs-muted);
  font-size: 0.95rem;
}

.rz-gs-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0 0 20px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.rz-gs-tabs__btn {
  flex: 0 0 auto;
  margin: 0;
  padding: 10px 16px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--rz-gs-muted);
  font-family: var(--rz-gs-font);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
}

.rz-gs-tabs__btn.is-active,
.rz-gs-tabs__btn[aria-selected="true"] {
  color: #111;
  border-bottom-color: #111;
}

.rz-gs-panel[hidden] {
  display: none !important;
}

.rz-gs-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.rz-gs-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 10px;
  background: var(--rz-gs-card);
  text-decoration: none;
  color: #111;
  text-align: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rz-gs-card:hover,
.rz-gs-card:focus-visible {
  background: #e8eaed;
  outline: none;
}

.rz-gs-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}

.rz-gs-card__logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.rz-gs-card__fallback {
  font-family: var(--rz-gs-font);
  font-size: 1.25rem;
  font-weight: 700;
}

.rz-gs-card__name {
  font-family: var(--rz-gs-font);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.25;
  min-height: 2.5em;
}

.rz-gs-empty {
  padding: 16px;
  border: 1px dashed #c3c4c7;
  color: #50575e;
  background: #f6f7f7;
}

body.rz-gs-modal-open {
  overflow: hidden;
}

/* Desktop: taller panels so square images crop less (≈ one column width). */
@media (min-width: 1200px) {
  .rz-gs__track {
    height: min(33.33vw, 640px);
  }
}

@media (max-width: 1100px) {
  .rz-gs-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .rz-gs__track {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .rz-gs__panel {
    flex: 0 0 82%;
    max-width: 360px;
    scroll-snap-align: start;
  }

  .rz-gs__dots {
    display: flex;
  }

  .rz-gs__content {
    padding-bottom: 56px;
  }

  .rz-gs-modal__body {
    padding: 28px 16px 36px;
  }

  .rz-gs-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .rz-gs-card {
    padding: 12px 8px;
  }

  .rz-gs-card__logo {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 420px) {
  .rz-gs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {

  .rz-gs__image,
  .rz-gs__shade,
  .rz-gs__cta,
  .rz-gs__dot,
  .rz-gs-card {
    transition: none;
  }

  .rz-gs__panel:hover .rz-gs__image,
  .rz-gs__panel:focus-within .rz-gs__image {
    transform: none;
  }
}