.espaco-carrossel {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(20, 16, 10, 0.16);
  overflow: hidden;
}

.espaco-carrossel-palco {
  position: relative;
  background: #161616;
}

.espaco-carrossel-slide {
  aspect-ratio: 16 / 10;
}

.espaco-carrossel-slide button,
.espaco-carrossel-slide video {
  display: block;
  width: 100%;
  height: 100%;
}

.espaco-carrossel-slide button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.espaco-carrossel-slide img,
.espaco-carrossel-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.espaco-carrossel-seta {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.55);
  color: var(--white);
  transform: translateY(-50%);
  cursor: pointer;
}

.espaco-carrossel-seta.is-anterior {
  left: 12px;
}

.espaco-carrossel-seta.is-proxima {
  right: 12px;
}

.espaco-carrossel-seta svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.espaco-carrossel-rodape {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  padding: 8px 14px;
}

.espaco-carrossel-pontos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.espaco-carrossel-pontos button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d7d0c4;
  cursor: pointer;
}

.espaco-carrossel-pontos button[aria-current="true"] {
  width: 18px;
  background: var(--gold);
}

.espaco-carrossel-indice {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.espaco-foto {
  width: min(960px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 16px;
  border: 0;
  border-radius: 18px;
  background: #111;
  color: var(--white);
}

.espaco-foto::backdrop {
  background: rgba(17, 17, 17, 0.82);
}

.espaco-foto-fechar {
  margin-left: auto;
  display: block;
  border: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.espaco-foto-palco {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
}

.espaco-foto img {
  width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
}

.espaco-foto-seta {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  cursor: pointer;
}

.espaco-foto-seta svg {
  width: 22px;
  height: 22px;
  margin: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.espaco-foto-indice {
  margin: 10px 0 0;
  text-align: center;
  font-size: 14px;
}
