@charset "UTF-8";
body {
  font-family: "Roboto", sans-serif !important;
  font-size: 18px !important;
  line-height: 2;
  color: #222;
}

h1, h2, h3, h4, h5 {
  font-family: "Lora", serif !important;
  font-weight: 800;
  line-height: 1.3;
}

.wp-element-caption {
  font-family: "Roboto", sans-serif !important;
  font-size: 1rem;
  color: #555;
}

/* === Efeito escurecido mais forte do rodapé para o centro da imagem === */
.card-img-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
}

.card-img-overlay h5 {
  position: relative;
  z-index: 1;
}

/* === Texto branco com sombra para legibilidade === */
.titulo-branco-puro {
  color: #ffffff !important;
  text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.829);
}

.logo-img {
  height: 40px;
  transition: height 0.3s ease;
}

@media (max-width: 768px) {
  .logo-img {
    height: 32px !important;
  }
}
@media (max-width: 576px) {
  .logo-img {
    height: 30px !important;
  }
}
/* ==================== IMAGENS PERSONALIZADAS ==================== */
/* === Imagem Principal (ex: destaque da capa) === */
.img-principal {
  width: 100%;
  height: 500px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0.5rem;
}

@media (max-width: 768px) {
  .img-principal {
    height: 400px;
  }
}
@media (max-width: 576px) {
  .img-principal {
    height: 300px;
  }
}
/* === Imagem de Lista de Matérias (ex: colunas lado a lado) === */
.img-lista-materia {
  width: 100%;
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0.5rem;
}

@media (max-width: 768px) {
  .img-lista-materia {
    height: 200px;
  }
}
@media (max-width: 576px) {
  .img-lista-materia {
    height: 160px;
  }
}
/* === Imagem das "Mais Lidas" ou lateral === */
.img-mais-lidas {
  width: 120px;
  height: 100px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0.375rem;
}

@media (max-width: 768px) {
  .img-mais-lidas {
    height: 100px;
  }
}
@media (max-width: 576px) {
  .img-mais-lidas {
    height: 80px;
  }
}
/* === Imagens internas em cards (ex: col-md-4 ao lado do texto) === */
.img-card-interno {
  width: 100%;
  max-height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0.5rem;
}

@media (max-width: 576px) {
  .img-card-interno {
    max-height: 150px;
  }
}
/* IMAGENS DOS POSTS RESPONSIVAS */
.size-auto,
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
  width: 100%;
  height: auto;
}

.wp-block-image.alignfull img {
  width: 100% !important;
}

.wp-block-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 0.5rem;
}

/* ==================== TÍTULOS RESPONSIVOS ==================== */
.card-title {
  font-size: 1.5rem;
}

@media (min-width: 576px) {
  .card-title {
    font-size: 1.75rem;
  }
}
@media (min-width: 768px) {
  .card-title {
    font-size: 2rem;
  }
}
@media (min-width: 992px) {
  .card-title {
    font-size: 2.5rem;
  }
}
.weatherwidget-io {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}

.nav-link-custom {
  display: block;
  padding: 0.75rem 1rem;
  font-weight: bold;
  position: relative;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-link-custom::after {
  content: "";
  position: absolute;
  left: 1rem;
  bottom: 0.5rem;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.nav-link-custom:hover {
  background-color: rgba(0, 0, 0, 0.05);
  padding-left: 1.5rem;
}

.nav-link-custom:hover::after {
  width: 70%;
}

#mobileSearchForm {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
  background: white;
  padding: 0.5rem;
  width: 200px; /* ou 100% se preferir */
}

@media (max-width: 991.98px) {
  /* Garante que o form fique acima de outros elementos no mobile */
  #mobileSearchForm {
    right: 0;
    left: auto;
  }
}
blockquote p {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  color: #a80000;
  margin-bottom: 1.5rem;
}

.content p {
  font-size: 1.3rem;
  line-height: 1.6;
  color: #000;
  margin-bottom: 1.7rem;
}

/* Campo de busca flutuante à esquerda do botão */
#desktopSearchInput {
  width: 200px;
  z-index: 1050;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#desktopSearchInput.d-none {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Garante que a logo fique centralizada e não seja empurrada */
.sergipehoje-logo {
  flex: 0 0 auto;
  min-width: 150px;
}

.adsbygoogle {
  width: 100% !important;
  height: auto !important;
}

.sticky-sidebar {
  position: sticky;
  top: 120px;
  z-index: 1;
}

@media (max-width: 767.98px) {
  .sticky-sidebar {
    position: static !important;
  }
}