body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  width: 100% !important;
  height: 100% !important;
}

a {
  text-decoration: none !important;
}

.gap-5 {
  gap: 5px;
}

.gap-12 {
  gap: 12px;
}

/* HEADER */
.header-principal {
  background-color: #fff;
  border-bottom: 1px solid #f0f0f0;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}

.logo-header img {
  width: 100%;
  height: 80px;
}

.menu-institucional-header li {
  margin: 0 5px;
}

.menu-institucional-header li a {
  color: #19232D;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  text-transform: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: block;
}

.menu-institucional-header li a:hover,
.menu-institucional-header li.current-menu-item a {
  background-color: #F5F4F4;
  color: #19232D;
  text-decoration: none;
}

.btn-redes-sociais {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
}

.btn-redes-sociais li a {
  width: 32px; 
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background-color: #F5F4F4;
  margin-left: 6px;
  border: none;
  transition: all 0.2s ease;
}

.btn-redes-sociais li a img {
  width: 16px;
  height: 16px;
}

.btn-redes-sociais li a:hover {
  background-color: #e0e0e0;
}

.btn-portal {
  background-color: #F8C303 !important;
  color: #19232D !important;
  font-weight: 500;
  font-size: 12px !important;
  border-radius: 6px;
  padding: 8px 16px;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.btn-portal:hover {
  background-color: #e0b002;
  color: #19232D;
}

/* BANNER SM CTA FILIACAO */
.cta-filie-se-box {
  background-color: #FFAA01;
  background-image: url('../img/bg-banner-malha-orange-sm.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #19232D;
  border-radius: 8px; 
  padding: 12px 24px;
}

.cta-filie-se-box h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #19232D;
}

.cta-filie-se-box p {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #19232D;
}

.btn-dark-cta {
  display: inline-block;
  background-color: #19232D;
  color: #fff;
  font-weight: 400;
  border-radius: 6px; 
  font-size: 14px;
  border: none;
  transition: opacity 0.2s;
  padding: 6px 32px;
  white-space: nowrap;
}

.btn-dark-cta:hover {
  color: #fff;
  opacity: 0.9;
}

/* MENU PÁGINAS POSTAGEM E CAMPO DE BUSCA */
.barra-filtros {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 300px;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px);
}

.barra-filtros .nav-pills li a:hover,
.barra-filtros .nav-pills li.current-menu-item a,
.barra-filtros .nav-pills li.active a {
  background-color: #19232D;
  color: #fff;
}

.barra-filtros .nav-pills .menu-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.barra-filtros .nav-pills .menu-item a {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #F5F4F4;
  color: #19232D;
  font-size: 12px;
  font-weight: 500;
  border-radius: 6px;
  padding: 8px 16px;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.barra-filtros .search-wrapper {
  width: 100%;
}

.barra-filtros .form-search {
  min-width: 100%;
}

.barra-filtros .form-search input.form-control {
  background-color: #F5F4F4;
  border: 1px solid transparent;
  border-radius: 8px;
  height: 40px;
  font-size: 13px;
  color: #19232D;
  padding-left: 16px;
  padding-right: 40px;
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  transition: border-color 0.2s;
}

.barra-filtros .form-search input.form-control::placeholder {
  color: rgba(62, 50, 50, 0.5);
}

.barra-filtros .form-search input.form-control:focus {
  background-color: #F5F4F4;
  border-color: #d1d1d1; 
  box-shadow: none;
  width: 100%;
}

.barra-filtros .form-search button.btn-search {
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  position: absolute;
  width: auto;
  height: auto;
  left: auto;
}

.barra-filtros .form-search button.btn-search img {
  width: 16px;
  height: 16px;
  opacity: 0.6;
}

/* HOME */
.grid-main {
  display: grid;
  grid-template-columns: 1fr 300px;
  padding: 12px 24px;
  gap: 12px;
}

section {
  padding: 6px 24px;
}

.section-title {
  color: #121A21;
  font-size: 18px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  display: flex;
  align-items: center;
}

.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 10px;
  background-color: #F8C303;
  margin-right: 8px;
  border-radius: 4px;
}


.btn-ver-mais {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #19232D;
  font-size: 12px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  text-decoration: none !important;
  transition: opacity 0.2s;
  background: #F5F4F4;
  border-radius: 6px;
  padding: 6px 12px;
}

.btn-ver-mais:hover {
  opacity: 0.8;
  color: #19232D;
}

/* Home 1. Grid Notícias destaque */
.grid-cards-post-destaque {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.card-destaque-principal {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 375px;
  text-decoration: none !important;
}

.card-destaque-secundario {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 100%; 
  flex: 1;
  text-decoration: none !important;
}

.img-destaque-principal, .img-destaque-secundario {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transition: transform 0.5s ease;
}

.card-destaque-principal:hover .img-destaque-principal,
.card-destaque-secundario:hover .img-destaque-secundario {
  transform: scale(1.05);
}

.card-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, #183354 0%, rgba(10, 23, 41, 0) 100%);
  display: flex;
  align-items: flex-end;
  z-index: 2;
  padding: 16px 20px;
}

.card-content-main, .card-content-secundario {
  width: 100%;
  position: relative;
  z-index: 2;
}

.card-title-destaque-sm, .card-title-destaque-lg {
  color: #FFFFFF;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
  margin: 0;
}

.card-title-destaque-lg {
  font-size: 16px;
}

.card-title-destaque-sm {
  font-size: 14px;
}

.tag-categoria {
  display: inline-block;
  background-color: #FFFFFF;
  color: #121A21;
  padding: 4px;
  border-radius: 4px;
  font-size: 8px !important;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
}

.card-meta-date {
  display: flex;
  align-items: center;
  color: #BACCE1;
  font-size: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  gap: 8px;
  text-transform: uppercase;
}

/* Home 2. Seção cards Últimas Notícias */
.grid-ultimas-noticias {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.card-noticia-destaque {
  display: block;
  cursor: default;
}

.link-thumb-destaque {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 16px;
}

.card-noticia-destaque .img-destaque {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.link-thumb-destaque:hover .img-destaque,
.card-noticia-destaque:has(.link-title:hover) .img-destaque {
  transform: scale(1.02);
}

.card-noticia-destaque .link-title {
  text-decoration: none !important;
  display: block;
  margin-bottom: 8px;
}

.card-noticia-destaque .card-title {
  color: #183354;
  font-size: 14px; 
  font-weight: 500; 
  font-family: 'Poppins', sans-serif;
  line-height: 1.4;
  margin: 0; 
}

.list-noticias-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-noticia-horizontal {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: default;
}

.link-thumb-horizontal {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  flex-shrink: 0;
}

.card-noticia-horizontal .img-horizontal {
  width: 200px;
  height: 85px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  display: block;
  transition: transform 0.3s ease;
}

.link-thumb-horizontal:hover .img-horizontal,
.card-noticia-horizontal:has(.link-title:hover) .img-horizontal {
  transform: scale(1.02);
}

.card-noticia-horizontal .card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.card-noticia-horizontal .link-title {
  text-decoration: none !important;
  display: block;
  margin-bottom: 8px;
}

.card-noticia-horizontal .card-title {
  color: #183354;
  font-size: 12px; 
  font-weight: 500; 
  font-family: 'Poppins', sans-serif;
  line-height: 1.3;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.meta-date-gray {
  display: flex;
  align-items: center;
  color: #6D757F;
  font-size: 10px;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
  gap: 6px;
  text-transform: uppercase;
}

/* Home 3. Seção cards Últimos Vídeos */
.card-video-story {
  display: block;
  position: relative;
  height: 310px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none !important;
}

.img-video-story {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  z-index: 1;
  transition: transform 0.3s ease;
}

.card-video-story:hover .img-video-story {
  transform: scale(1.03);
}

.card-video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75%;
    background: linear-gradient(0deg, #183354 0%, rgba(10, 23, 41, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background .3s linear;
    z-index: 2;
}

.play-icon-glass {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  margin-bottom: auto;
  margin-top: auto;
}

.play-icon-glass img {
  height: 32px;
}

.video-info-bottom {
  width: 100%;
  padding: 12px;
  background: linear-gradient(0deg, #183354 0%, rgba(10, 23, 41, 0) 100%);
}

.card-title-video {
  color: #FFF;
  font-size: 12px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  text-align: center;
}

.card-meta-date-video {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.grid-ultimos-videos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
}

/* Home 4. Seção últimas Fotos */
.card-foto-padrao {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none !important;
}

.card-img-bg {
  width: 100%;
  height: 235px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.card-foto-padrao:hover .card-img-bg {
  transform: scale(1.05);
}

.card-photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, #183354 0%, rgba(10, 23, 41, 0) 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  z-index: 2;
  justify-content: center;
  text-align: center;
}

.card-photo-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-title-photo {
  color: #FFF;
  font-size: 12px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  line-height: 1.3;
}

.card-meta-date-photo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

.grid-ultimas-fotos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 12px;
}

/* Home 5. CTA Banner Lg Footer */
.cta-banner-container-fixed {
  height: 250px;
  padding: 12px;
  overflow: hidden;
}

.cta-col-text {
  padding: 0 20px 0 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-title-col1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 24px;
  color: #19232D;
  margin-bottom: 12px;
  line-height: 1.2;
}

.cta-subtitle-col1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #19232D;
  line-height: 1.5;
}

.link-cta-filie {
  background-color: #19232D;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  transition: background-color 0.2s;
  width: fit-content;
}

.link-cta-filie:hover {
  background-color: #2c3e50;
  text-decoration: none;
  opacity: 1;
}

.cta-card-wrapper {
  display: block;
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  text-decoration: none !important;
}

.cta-card-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  position: absolute;
  top: 0;
  left: 0;
}

.cta-card-wrapper:hover .cta-card-bg {
  transform: scale(1.05);
}

.cta-card-overlay-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background-color: #19232D;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 400;
  z-index: 2;
  transition: background-color 0.2s;
}

.cta-card-wrapper:hover .cta-card-overlay-badge {
  background-color: #000;
}

.cta-banner-footer {
  padding: 0 24px;
}

.bg-banner-malha-orange-lg {
  background-color: #FFAA01;
  background-image: url('../img/bg-banner-malha-orange-lg.png'); 
  background-size: cover;
  border-radius: 12px;
}

.cta-card {
  border-radius: 8px;
  transition: transform 0.2s;
  text-decoration: none !important;
}

.cta-card:hover {
  transform: translateY(-2px);
}

.bg-acessar-plantao-juridico {
  background-image: url('../img/bg-acessar-plantao-juridico.png');
  background-size: cover;
  background-position: center;
}

.bg-clube-de-campo {
  background-image: url('../img/bg-clube-de-campo.png');
  background-size: cover;
  background-position: center;
}

.cta-text {
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
}

/* PAGINAÇÃO CARDS */
.post-noticia-preview a:hover .card-noticia-preview{
  -moz-transform: scale(1.08);
  -webkit-transform: scale(1.08);
  transform: scale(1.08);
}

.limite-card-img {
  height: 175px;
  overflow: hidden;
  border-radius: 10px;
}

.card-noticia-preview {
  overflow: hidden;
  border-radius: 10px;
  height: 175px;
  background: #f9f9f9;
  background-size: cover !important;
  background-repeat: no-repeat;
  background-position: center;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.title-noticia-preview {
  font-family: 'Poppins', sans-serif; 
  font-weight: 500;
  font-size: 14px;
  color: #183354;
  margin-top: 12px;
}

.resumo-noticia-preview {
  font-size: 10px;
  color: #6D757F;
  font-family: 'Poppins', sans-serif; 
  font-weight: 400;
}

.data-post-preview {
  font-family: 'Poppins', sans-serif;
  background: #edb900;
  position: absolute;
  top: 0;
  right: 15px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  color: #FFF;
  display: block;
  text-align: center;
  padding: 3px;
}

.data-post-preview .dia {
  font-weight: 900;
  font-size: 14px;
  margin-bottom: -5px;
}

.data-post-preview .mes {
  font-weight: 600;
  font-size: 11px;
}

.data-post-preview .ano {
  font-weight: 300;
  font-size: 9px;
}

/* PAGINAÇÃO CARD POSTS */
ul.page-numbers {
	padding: 0;
}

ul.page-numbers li {
  font-family: 'Poppins', sans-serif;
  text-align: center;
  margin: 20px 3px;
  text-decoration: none;
  font-size: 1em;
  border-radius: 100%;
  border: none !important;
  width: 35px;
  height: 35px;
  display: inline-block;
  line-height: 35px;
  font-weight: bold;
  cursor: pointer;
  background: #EBEBEB;
}

ul.page-numbers li a {
  font-family: 'Poppins', sans-serif;
  display: inline-table;
  width: 100%;
  border-radius: 100%;
  color: #676767;
}

ul.page-numbers li:hover {
  background: gray;
  color: #FFF !important;
  transition-delay: 1.5s;
  transition: all .3s cubic-bezier(.175,.885,.32,1.275);
}

ul.page-numbers li:hover a {
  color: #FFF !important;
}

ul.page-numbers li > span.current, ul.page-numbers li > span.current:hover {
  display: inline-table;
  width: 35px;
  line-height: 35px;
  border-radius: 100%;
  color: #FFF !important;
  cursor: not-allowed !important;
  pointer-events: none;
  border: none !important;
}

ul.page-numbers li > span.current, ul.page-numbers li > span.current:hover {
  background: #19232D !important;
  transition: none !important;
}

/* PAGINA FOTOS SOCIAIS E SINDICAIS */
.filter-bar-container {
  background-color: transparent;
  border-radius: 8px;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
}

.filter-label {
  font-size: 12px;
  color: #19232D;
  font-weight: 700;
  margin-bottom: 0;
  margin-right: 5px;
}

.filter-buttons {
  display: flex;
  gap: 5px;
}

.btn-filter {
  border: 1px solid #A0A3BD;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #19232D;
  background-color: transparent;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-filter.active, .btn-filter:hover {
  background-color: #D99011;
  border-color: #D99011;
  color: #FFFFFF;
}

.btn-filter img {
  height: 18px;
  width: auto;
}

.btn-filter.active img, 
.btn-filter:hover img {
  filter: brightness(0) invert(1);
}

/* PAGINA POST */
.img-banner-post {
  height: 350px;
  overflow: hidden;
}

.img-banner-post > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position:50% 25%;
  border-radius: 15px;
}

.title-post {
  font-family: 'Poppins', sans-serif; 
  font-weight: 600;
  font-size: 24px;
  color: #19232D;
}

.tags-post {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.tags-post span{
  color: #6D757F;
  font-size: 12px;
}

.sidebar-banners figure {
    border-radius: 8px;
    overflow: hidden;
    object-fit: cover;
    max-height: 380px;
    object-position: center;
}

.sidebar-banners figure img {
  object-fit: cover;
  width: 100%;
}

.conteudo-page {
  color: #606569;
  font-family: 'Poppins', sans-serif;
  line-height: 1.75em;
  font-size: 15px;
  min-height: 50vh;
}

.conteudo-page ul li {
  padding: 5px;
}

.conteudo-post p {
  font-size: 0.9em;
}

.conteudo-post img {
  width: 100% !important;
  height: auto !important;
}

/* Iframe video */
.wp-block-embed iframe{
  max-width: 100%;
  height: 100%;
  min-height: 500px;
  width: 100%;
  border-radius: 12px;
}

/*Jornal adufla e jornal mural*/
.df-raw-loading {
  position: absolute;
  max-height: 300px;
  max-width: 300px;
  top: 20%;
}

/*Galeria*/
.ngg-galleryoverview.default-view {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
  position: relative;
  padding-bottom: 60px;
}

.ngg-navigation {
  position: absolute !important;
  width: 100% !important;
  bottom: 0 !important;
  padding: 12px !important;
  left: 0 !important;
  z-index: 99 !important;
}

.ngg-navigation a.page-numbers, .ngg-navigation a.next, .ngg-navigation a.prev, .ngg-navigation span.page-numbers, .ngg-navigation span.next, .ngg-navigation span.prev, .ngg-navigation span.current {
  background: #BBB;
  border: none;
  border-radius: 50% !important;
  box-shadow: none;
  color: #fff;
  display: inline;
  font-size: 14px;
  font-weight: bold;
  margin-right: 3px;
  padding: 4px 8px;
  text-decoration: none;
  cursor: pointer !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 35px !important;
  height: 35px !important;
}

.ngg-navigation span.current {
  background: #19232D !important;
}

.ngg-galleryoverview.default-view .ngg-gallery-thumbnail {
  border-radius: 12px !important;
  overflow: hidden !important;
}

.sl-wrapper .sl-image img {
  border-radius: 12px !important;
}

.ngg-galleryoverview {
  margin-top: 0 !important;
}

.ngg-galleryoverview.default-view .ngg-gallery-thumbnail img:hover {
  opacity: 0.8 !important;
}

.sl-overlay {
  background-color: rgb(119, 119, 119) !important;
  opacity: 0.7 !important;
}

.sl-wrapper .sl-counter {
  color: #FFF !important;
  font-size: 0.9rem !important;
  background: #19232D !important;
  padding: 5px 10px !important;
  border-radius: 10px !important;
  font-family: 'Poppins', sans-serif !important; 
  font-weight: 700 !important;
}

.share-wrapper {
  padding: 12px;
  text-align: center;
  position: sticky;
  bottom: 0;
  z-index: 999;
  background: #FFF;
  width: 100%;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn-share {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif; 
  font-weight: 500;
  font-size: 14px;
  padding: 6px 25px;
  border-radius: 8px;
  gap: 8px;
  border: none;
  transition: linear 0.3s ease;
  background: #F7F7F7;
  color: #19232D;
}

#btn-facebook-share {
  background: rgba(59, 89, 152, 0.1);
  color: #3B5998;
}

#btn-facebook-share:hover {
  background: #3B5998;
  color: #fff;
}


#btn-whatsapp-share {
  background: rgba(37, 211, 102, 0.1);
  color: #25D366;
}


#btn-whatsapp-share:hover {
  background: #25D366;
  color: #fff;
}

#btn-facebook-share:hover img, 
#btn-whatsapp-share:hover img {
  filter: brightness(0) invert(1);
}

.post-relacionados {
  background-color: #F7F7F7;
  padding: 18px;
  text-align: center;
  margin: 30px 0;
}

.post-relacionados > .sub-title, .share-wrapper > h5 {
  font-family: 'Poppins', sans-serif; 
  font-weight: 500;
  font-size: 16px !important;
  color: #19232D;
  margin-bottom: 0;
}

/* Banner CTA Post */
.banner-cta {
  background-color: #FFAA01;
  background-image: url('../img/bg-banner-malha-orange-post.png');
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
  color: #19232D;
}

.banner-cta h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 24px;
  margin-bottom: 12px;
  color: #19232D;
}

.banner-cta p {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 24px;
  color: #19232D;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  color: #19232D;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 6px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  text-decoration: none !important;
}

.btn-cta-white:hover {
  background-color: #f0f0f0;
  color: #19232D;
}

.btn-cta-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #19232D;
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 6px;
  transition: all 0.2s ease;
  gap: 8px;
  border: 1px solid transparent;
  text-decoration: none !important;
}

.btn-cta-dark:hover {
  background-color: #333;
  color: #FFFFFF;
}

.btn-cta-dark img {
  width: 12px;
  height: auto;
}

/*Page Historia*/
.foto-historico {
  width: 85%;
  max-height: 500px;
  overflow: hidden;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
  margin: 20px auto;
}

.foto-historico figure {
  margin-bottom: 0;
  background-color: #F8C303;
  padding: 5px;
}

.foto-historico img {
  border-radius: 20px;
  width: 100%;
  max-height: 475px;
  object-fit: cover;
}

.link-historia {
  font-size: 13px;
  padding-inline-start: 10px;
}

.ano-conselhos {
  border-left: 3px solid #F8C303;
  padding-left: 10px;
  font-size: 20px;
}


/* PÁGINA DOCENTES */
.title-page {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #19232D;
  font-size: 28px;
  margin-top: 30px;
}

.titleContadorDocentes {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 24px;
  color: #19232D;
  margin-bottom: 20px;
  width: 100%;
}

.grid-contador-docentes {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.contadorDocentes {
  background: transparent;
  border: 1px solid #183354;
  color: #183354;
  box-shadow: 0 30 50 rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 120px;
  min-width: 120px;
  transition: transform 0.2s, background-color 0.2s;
  cursor: default;
}

.contadorDocentes .number {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #183354;
  margin-bottom: 5px;
}

.contadorDocentes .department {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #183354;
  margin-bottom: 0;
  line-height: 1.2;
}

.card-fill {
  background: linear-gradient(0deg, #183354 0%, rgba(10, 23, 41, 0.7) 100%) !important;
  border: 0 !important;
}

.card-fill .number, .card-fill .department {
  color: #FFF;
}

/*Form Contato*/
.infos-contato {
  color: #19232D;
  font-family: 'Poppins', sans-serif;
  line-height: 2.5em;
  font-size: 15px;
}

.infos-contato h3 {
  font-size: 16px;
}

.contact {
  background: #F5F5F5;
  display: flex;
  justify-content: center !important;
  align-items: center !important;
  padding: 30px 30px 0;
  border-radius: 12px;
  width: 100%;
}

.contact .wpcf7 {
  width: 100%;
}

.contact form h5 {
  padding: 10px 0;
  font-size: 14px;
  color: #19232D;
  font-family: 'Poppins', sans-serif; 
  font-weight: 500;
}

.contact form p, .contact form span {
  font-family: 'Poppins', sans-serif; 
  font-weight: 300;
  font-size: 0.9em;
  color: #19232D;
}

.contact label, .contact span, .contact input, .contact textarea {
  width: 100%;
}

.contact  input {
  border: 0;
  border-bottom: 1px rgba(110, 111, 114, 0.562) solid;
  position: relative;
  transition: all .4s;
  margin-top: -30px;
  width: 100%;
  min-height: 36px;
}

.contact input:focus {
  border: 0 !important;
  border-bottom: 2px solid #000 !important;
}

.contact textarea {
  border: 0;
  border-bottom: 2px rgba(110, 111, 114, 0.562) solid;
  transition: all .4s;
  width: 100%;
}

.contact textarea:focus {
  border-bottom: 2px #437241 solid;
}

.contact input[type="submit"] {
  margin-bottom: 0;
  text-align: center;
  background: #19232D;
  color: #FFF;
  padding: 11px;
  border: 0;
  transition: all .4s;
  cursor: pointer;
  border-radius: 8px;
  width: 100%;
}

.contact input[type="submit"]:hover {
  -webkit-box-shadow: 2px 2px 12px 2px rgba(0,0,0,0.11);
  -moz-box-shadow: 2px 2px 12px 2px rgba(0,0,0,0.11);
  box-shadow: 2px 2px 12px 2px rgba(0,0,0,0.11);
}

div.wpcf7 .ajax-loader {
  position: absolute;
  right: 20%;
  margin-top: 3px !important;
}

.wpcf7-not-valid-tip {
  font-size: 0.8em !important;
}

.wpcf7 form .wpcf7-response-output {
  margin: 10px 0 !important;
  border: 2px solid #000;
  font-size: 0.8em;
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 30px !important;
}

/* FOOTER */
footer.custom-footer {
  background-color: #19232D;
  color: #fff;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  padding: 50px 24px 24px;
}

footer .logo-footer {
  height: 100px;
}

footer.custom-footer a {
  color: #fff;
  text-decoration: none;
}

footer.custom-footer .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #F5F4F4;
  color: #121A21;
  border-radius: 6px;
}

footer.custom-footer .social-icons a  img {
  width: 18px;
}

footer .icon-footer {
  width: 16px; 
  margin-right: 10px; 
  margin-top: 3px;
}

#subirTopo, #subirTopo:hover {
  text-decoration: none;
  bottom: 25px;
  right: 25px;
  padding: 10px;
  position: fixed;
  color: rgb(179, 181, 180);
  font-size: 1.4em;
  -moz-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

/* RESPONSIVIDADE MOBILE - FIXES REVISADOS */
@media (max-width: 768px) {
  .grid-main {
    display: block !important; 
    padding: 12px 16px; 
    width: 100%;
    overflow: hidden; 
  }

  section {
    padding: 12px 16px;
  }

  /* 1. Cards Destaque Inicial */
  .grid-cards-post-destaque {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  /* Card Principal - Altura Reduzida */
  .card-destaque-principal {
    height: 200px;
    width: 100%;
  }

  /* Cards Secundários - Lado a Lado na mesma linha */
  .grid-cards-post-destaque > div.d-flex.flex-column {
    flex-direction: row !important; /* Força linha */
    width: 100%;
    gap: 12px;
  }

  .grid-cards-post-destaque > div > a.card-destaque-secundario {
    width: 50%;
    flex: 1;
    height: 200px;
  }

  /* 2. Barra de Filtros (Menu + Search) Sticky */
  .barra-filtros {
    display: block; 
    position: -webkit-sticky;
    position: sticky !important;
    top: 0 !important;
    z-index: 1020;
    padding: 10px 16px;
    width: 100%;
    left: 0;
    /* background: rgba(255, 255, 255, 0.95); 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); */
  }

  .barra-filtros .nav-pills {
    margin-bottom: 10px;
  }
  
  /* Ajuste input search mobile */
  .barra-filtros .form-search input.form-control {
    font-size: 14px;
    width: 100%;
  }

  /* 3. Scrolls Horizontais (Vídeos, Fotos, Banner) */
  /* Remove scroll da página e ativa scroll interno */
  .mobile-banner-scroll,
  .section-ultimos-videos .row,
  .section-ultimas-fotos .row,
  .cta-banner-container-fixed .row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    scroll-snap-type: x mandatory;
    width: 100vw; 
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 16px;
  }

  /* Itens dentro do scroll */
  .mobile-banner-scroll > *,
  .section-ultimos-videos .col-6,
  .section-ultimas-fotos .col-6 {
    flex: 0 0 auto; 
    scroll-snap-align: start;
  }

  /* Banner Mobile */
  .mobile-banner-scroll > * {
    max-width: 85vw;
    width: auto;
  }
  
  .mobile-banner-scroll img {
    max-width: 100%;
    height: auto;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }

  /* Vídeos e Fotos */
  .section-ultimos-videos .col-6,
  .section-ultimas-fotos .col-6 {
    width: 260px;
    max-width: 75vw;
  }
  
  /* Remover margens extras das rows do bootstrap */
  .section-ultimos-videos .row,
  .section-ultimas-fotos .row {
    margin-bottom: 0;
  }

  /* 4. Últimas Notícias - Overflow Fix */
  .card-noticia-destaque {
    width: 100%;
    max-width: 100%; 
    overflow: hidden;
    margin-bottom: 12px;
  }

  .card-noticia-destaque .img-destaque {
    height: 200px;
  }
  
  /* Fix para lista lateral de notícias */
  .list-noticias-side {
    width: 100%;
  }
  
  .card-noticia-horizontal {
    width: 100%;
  }
  
  .card-noticia-horizontal .img-horizontal {
    width: 110px;
    height: 75px;
  }

  .sidebar-banners:not(.banner-desktop) {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .sidebar-banners figure, .sidebar-banners figure img, .card-video-story, .card-video-story > img{
    height: 250px !important;
    width: 200px !important;
    object-fit: cover;
  }

  /* Ajustes Gerais de Imagem */
  img {
    max-width: 100%;
    height: auto;
  }

  .gap-12 {
    gap: 6px;
  }

  .cta-banner-desktop {
    display: none;
  }

  .cta-banner-mobile {
    display: block;
  }

  .cta-filie-se-box {
    background-image: url('../img/bg-banner-malha-orange-lg.png');
    background-position: left;
    padding: 12px;
  }

  .cta-filie-se-box h5 {
    font-size: 16px;
  }

  .cta-filie-se-box p {
    font-size: 12px;
    padding-bottom: 6px;
    display: block;
  }

  .header-principal {
    height: auto !important;
    padding: 12px 16px;
  }

  .navbar-toggler {
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent;
  }

  .navbar-toggler:focus,
  .navbar-toggler:active {
    outline: none !important;
    box-shadow: none !important;
  }

  .mobile-header-top {
    position: relative;
  }

  .hamburger-icon {
    width: 24px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
  }

  .hamburger-icon .line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #19232D;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
    transform-origin: center;
  }

  .hamburger-icon.open .line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger-icon.open .line:nth-child(2) {
    opacity: 0;
  }

  .hamburger-icon.open .line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .menu-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 9999;
    display: none;
    padding: 8px 12px;
    max-height: 70vh;
    overflow-y: auto;
  }

  .menu-dropdown.is-open {
    display: block;
  }

  .menu-dropdown .bg-light {
    background: transparent !important;
    padding: 0 !important;
  }

  .menu-dropdown li a {
    display: block;
    padding: 12px 0;
    color: #19232D;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid #f2f2f2;
  }

  .menu-dropdown li:last-child a {
    border-bottom: none;
  }

  .menu-dropdown li.current-menu-item a,
  .menu-dropdown li.current_page_item a,
  .menu-dropdown li a:hover {
    background-color: #19232D;
    color: #FFFFFF;
    border-radius: 6px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .btn-redes-sociais {
    margin-top: 0;
  }

  .btn-portal {
    width: auto;
    margin-top: 0;
    font-size: 12px;
    padding: 6px 12px;
  }
  
  .barra-filtros {
    grid-template-columns: 1fr;
    gap: 6px;
    position: sticky !important;
    top: 0;
    z-index: 1020;
  }

  .barra-filtros ul {
    padding-bottom: 12px;
  }

  .logo-adufla-mobile img, .logo-andes-mobile img  {
    height: 50px;
  }

  .grid-main {
    grid-template-columns: 1fr;
    padding: 8px 16px;
    gap: 12px;
  }

  section {
    padding: 6px 16px;
  }

  .card-overlay-gradient {
    background: linear-gradient(0deg, #183354 18%, rgba(10, 23, 41, 0) 100%);
  }

  .grid-cards-post-destaque {
    grid-template-columns: 1fr;
  }
  
  .grid-cards-post-destaque > div {
    flex-direction: row !important;
    gap: 12px;
  }
  
  .grid-cards-post-destaque > div > * {
     width: 50%;
  }

  .card-destaque-principal {
    height: 200px;
  }

  .img-destaque-principal,
  .img-destaque-secundario {
    object-position: center;
  }

  .card-title-destaque-lg {
    font-size: 14px;
  }

  .card-title-destaque-sm {
    font-size: 11px;
  }

  .grid-ultimas-noticias {
    grid-template-columns: 1fr;
  }
  
  .card-noticia-destaque {
    max-width: 100vw;
    overflow: hidden;
  }

  .card-noticia-destaque .img-destaque {
    height: 220px;
  }

  .card-noticia-horizontal .img-horizontal {
    width: 120px;
    height: 80px;
  }

  .section-ultimos-videos.mb-5,
  .section-ultimas-noticias.mb-5,
  .section-ultimas-fotos {
    margin-bottom: 24px !important;
  }

  /* Scroll horizontal em Vídeos e Fotos */
  .section-ultimos-videos .row,
  .section-ultimas-fotos .row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 16px;
    scroll-snap-type: x mandatory;
    margin-left: -16px; /* Sangrar esquerda */
    margin-right: -16px; /* Sangrar direita */
    padding-left: 16px; /* Padding interno para compensar */
    padding-right: 16px; /* Padding interno para compensar */
  }

  .section-ultimos-videos .row > [class*="col-"],
  .section-ultimas-fotos .row > [class*="col-"] {
    flex: 0 0 auto;
    width: 260px;
    max-width: 80vw;
    padding-left: 0;
    padding-right: 0;
    scroll-snap-align: start;
    margin-bottom: 0 !important;
  }

  .card-video-story {
    height: 160px; 
    width: 100%;
  }

  .card-foto-padrao {
    height: 160px; 
    width: 300px;
  }
  
  .card-img-bg {
    height: 160px; 
  }
  .cta-banner-container-fixed {
    height: auto;
  }

  .cta-title-col1 {
    font-size: 18px;
  }

  .cta-subtitle-col1 {
    font-size: 13px;
  }

  .cta-banner-container .row,
  .cta-banner-container-fixed .row {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 16px;
  }

  .cta-banner-container .row > .col-md-4,
  .cta-banner-container-fixed .row > .col-md-4 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .cta-col-text {
    padding: 0 16px;
  }

  .cta-card-wrapper {
    min-height: 220px;
  }

  .grid-contador-docentes {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }  

  .contadorDocentes .department {
    font-size: 12px;
  }

  .share-wrapper {
    flex-direction: column;
    gap: 8px;
  }

  .share-wrapper a {
    white-space: nowrap;
    padding: 12px 8px;
  }

  .ngg-galleryoverview.default-view {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .img-banner-post  {
    height: 200px;
    width: 100%;
  }

  .post-relacionados .container {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding-bottom: 12px;
    overflow-x: auto;
    justify-content: flex-start !important;
    align-items: flex-start !important;
  }

  .post-noticia-preview {
    min-width: 300px !important;
  }

  .title-post {
    font-size: 18px;
  }

  /* Footer mobile */
  footer.custom-footer {
    flex-direction: column;
    gap: 16px;
    padding: 24px 16px;
  }

  footer .logo-footer {
    height: 70px;
  }

  footer.custom-footer .social-icons {
    gap: 8px;
  }

  footer.custom-footer .col-md-5,
  footer.custom-footer .col-md-4,
  footer.custom-footer .col-md-3 {
    width: 100%;
  }
}
