/* ==========================================
   HOME - BANNER FULL WIDTH MODERNO
========================================== */

/* Esconde blocos laterais */
#block-iconesesquerda,
#block-instagram2026 {
  display: none !important;
}

/* Banner ocupa toda a largura */
#block-views-block-slideshow-block-1 {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 15px auto 0 !important;
}

/* Container principal */
#slideshow_container {
  width: 100% !important;
  max-width: 1280px !important;
  height: auto !important;
  margin: 0 auto !important;

  background: #f1f5f9 !important;
  border-radius: 16px !important;
  overflow: hidden !important;

  box-shadow: 0 4px 16px rgba(0,0,0,.12) !important;
}

/* Estrutura do Flexslider */
#slideshow_container .flexslider,
#slideshow_container .flex-viewport {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#slideshow_container .slides,
#slideshow_container .slides li {
  height: 100% !important;
}

/* Imagem do banner */
#slideshow_container img.image-style-slideshow,
#slideshow_container .slides img {
  width: 100% !important;
    height: auto !important;

  object-fit: contain !important;
  object-position: center center !important;

  display: block !important;
  float: none !important;
  margin: 0 !important;
}

/* Remove CSS global do tema */
#block-views-block-slideshow-block-1 img {
  margin-right: 0 !important;
  margin-bottom: 0 !important;
  float: none !important;
}

/* Remove bolinhas do slideshow */
.flex-control-nav,
.flex-control-paging {
  display: none !important;
}

/* Setas modernas */
.flex-direction-nav a {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;

  background: rgba(255,255,255,.85) !important;
  color: #003b7a !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  opacity: .9 !important;
  text-shadow: none !important;

  box-shadow: 0 4px 12px rgba(0,0,0,.18) !important;
  transition: all .2s ease !important;
}

.flex-direction-nav a:hover {
  background: #ffffff !important;
  opacity: 1 !important;
  transform: scale(1.05) !important;
}

/* Mantém setas nas laterais */
.flex-direction-nav .flex-prev {
  left: 20px !important;
}

.flex-direction-nav .flex-next {
  right: 20px !important;
}

/* Responsivo - tablet */
@media (max-width: 991px) {
  #slideshow_container {
    height: 340px !important;
    border-radius: 12px !important;
  }

  #slideshow_container img.image-style-slideshow,
  #slideshow_container .slides img {
    height: 340px !important;
  }

  .flex-direction-nav a {
    width: 44px !important;
    height: 44px !important;
  }
}

/* Responsivo - celular */
@media (max-width: 600px) {
  #slideshow_container {
    height: 240px !important;
    border-radius: 10px !important;
  }

  #slideshow_container img.image-style-slideshow,
  #slideshow_container .slides img {
    height: 240px !important;
  }

  .flex-direction-nav a {
    width: 38px !important;
    height: 38px !important;
  }

  .flex-direction-nav .flex-prev {
    left: 10px !important;
  }

  .flex-direction-nav .flex-next {
    right: 10px !important;
  }
}