/* RESET BÁSICO */
.wrapper, .slider-wrapper, .inner, article {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.wrapper {
  min-height: 450px;
}

/* SLIDER */
.slider-wrapper {
  overflow: hidden;
  width: 100%;
  height: 500px;      /* altura do carrossel */
  position: relative;
}

.inner {
  display: flex;
  width: max-content;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.inner article {
  flex: 0 0 auto;
  width: auto;
  height: 100%;
  margin-right: 20px;     /* espaço entre slides */
  box-sizing: border-box;
  opacity: 0.3;
  transition: opacity 0.5s ease;
}

.inner article img {
  height: 100% !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain;
  display: block;
}




/* bolinhas */
.slider-dot-control {
  text-align: left;
  margin-top: 15px;
  position: relative;
  z-index: 99;
}

.slider-dot-control label {
  cursor: pointer;
  display: inline-block !important;
  width: 10px;
  height: 10px;
  margin: 0 6px;
  background-color: #666 !important;
  border-radius: 50%;
  transition: all 0.3s ease;
}



/* LIGHTBOX */
.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.95);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* abre via :target */
.lightbox:target {
  display: flex !important;
  opacity: 1;
}

/* overlay clicável para fechar (link #_) já está no seu HTML */
.lightbox-close-overlay {
  position: absolute;
/*  inset: 0; */
  display: block;
}

/* conteúdo central do lightbox */
.lightbox-content {
  position: relative;
		display: inline-block;       /* encolhe ao tamanho da imagem */
  z-index: 1;
}

.lightbox-content img {
		 display: block;
  max-width: 90% !important;
  max-height: 85vh !important;
  object-fit: contain;
}

/* X de fechar (opcional) */
.close-x {
  position: absolute;
  top: 2rem;
  right: 5rem;
  font-size: 22px;
  color: #fff;
  text-decoration: none;
}


/* 8. BOTÕES E LINKS */
.button,
.wp-block-button__link,
.wp-block-button .wp-block-button__link {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #333;
    background-color: #333 !important;
    color: #fff !important;
    font-family: Arial, sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.button:hover,
.wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:hover {
    background-color: #930000 !important;
    border-color: #930000 !important;
}

.button:active,
.wp-block-button__link:active {
    text-decoration: underline dotted;
}

a:hover {
text-decoration: underline dotted
}


/* Reset de inputs e espaçamentos WordPress */
.wrapper input[type="radio"] { display: none !important; }

.wp-site-blocks, body .is-layout-flow > :last-child,
footer, .wp-block-template-part, .entry-content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}