/* =========================================================
   Delmiro Notícias - Estilo BBN
   Cores da bandeira de Delmiro Gouveia (azul + amarelo)
   ========================================================= */
:root {
  --brand-blue: #1E4A8A;
  --brand-blue-dark: #12305a;
  --brand-yellow: #FACC15;
  --brand-yellow-dark: #E6B800;
  --brand-yellow-soft: #FEF3C7;
  --black: #0B0B0F;
  --black-2: #1a1a20;
  --bg-white: #FFFFFF;
  --bg-light: #F5F6F8;
  --text-dark: #0f172a;
  --text-muted: #6b7280;
  --border: #e5e7eb;

  --font-heading: 'Merriweather', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

article {
background: #fff;
  padding: 10px;
}

* { box-sizing: border-box; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; transition: color .2s; }
a:hover { color: var(--brand-yellow-dark); }
h1,h2,h3,h4,h5 { font-family: var(--font-heading); color: var(--text-dark); line-height: 1.25; }
img { max-width: 100%; display: block; }

/* ============== TOP BAR PRETA ============== */
.top-bar {
  background: var(--black);
  color: #d1d5db;
  font-size: 0.82rem;
  padding: 8px 0;
}
.top-bar a { color: #d1d5db; }
.top-bar a:hover { color: var(--brand-yellow); }
.top-bar .top-center { color: #fff; font-weight: 500; }
.social-icons a { font-size: 0.95rem; }

/* ============== LOGO BAR PRETA ============== */
.logo-bar {
  background: var(--black-2);
  padding: 14px 0;
  border-bottom: 1px solid #262631;
}

.weather-badge {
  align-items: center;
  gap: 10px;
  color: #fff;
}
.weather-label {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-size: 0.7rem;
}
.weather-label strong { font-size: 0.85rem; letter-spacing: 0.5px; }
.weather-label span { color: var(--brand-yellow); }
.weather-value {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
}
.weather-value i { color: var(--brand-yellow); font-size: 1.5rem; }
.weather-value sup { font-size: 1.1rem; top: -1em; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  color: #fff;
}
.brand:hover { color: var(--brand-yellow); }
.brand-icon {
  width: 42px; height: 42px;
  background: var(--brand-yellow);
  color: var(--brand-blue);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.3rem;
}
.brand-main { color: #fff; }
.brand-sub { color: var(--brand-yellow); font-weight: 700; }

.header-actions .signin-link {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 10px;
}
.header-actions .signin-link:hover { color: var(--brand-yellow); }
.watch-live-btn {
  background: var(--brand-yellow);
  color: var(--brand-blue) !important;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 3px;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.watch-live-btn:hover { background: var(--brand-yellow-dark); color: var(--brand-blue); }

.btn-menu {
  background: transparent;
  border: none;
  font-size: 1.75rem;
  color: #fff;
  padding: 0;
}
.mobile-weather {
  background: var(--brand-blue);
  color: #fff;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 700;
}
.mobile-weather i { color: var(--brand-yellow); }

/* ============== NAV PRINCIPAL AMARELA ============== */
.main-nav {
  background: var(--brand-yellow);
  border-bottom: 3px solid var(--brand-blue);
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.nav-list li a {
  display: block;
  padding: 14px 18px;
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}
.nav-list li a:hover,
.nav-list li a.active {
  background: var(--brand-blue);
  color: var(--brand-yellow);
}
.nav-list li a.nav-highlight {
  background: var(--brand-blue);
  color: var(--brand-yellow);
}
.nav-list li a.nav-highlight:hover { background: var(--brand-blue-dark); }

.nav-search button {
  background: transparent;
  border: none;
  color: var(--brand-blue);
  font-size: 1rem;
  padding: 14px 18px;
  cursor: pointer;
}
.nav-search button:hover { color: var(--brand-blue-dark); }

/* ============== BREAKING NEWS BAR ============== */
.breaking-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breaking-bar .container { gap: 12px; }
.breaking-label {
  background: var(--brand-blue);
  color: #fff;
  padding: 6px 14px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 2px;
  flex-shrink: 0;
  position: relative;
}
.breaking-label::after {
  content: '';
  position: absolute;
  right: -8px; top: 0;
  border: 14px solid transparent;
  border-left-color: var(--brand-blue);
  border-right: 0;
}
.breaking-ticker {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  margin-left: 12px;
}
.ticker-track {
  display: inline-block;
  /* MUDANÇA 1: Aumentei de 40s para 60s para deixar na velocidade perfeita de leitura */
  animation: ticker 90s linear infinite;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.ticker-track a { padding: 0 10px; font-weight: 500; }
.ticker-track a:hover { color: var(--brand-blue); }
.ticker-track .dot { color: var(--brand-yellow-dark); font-weight: 900; }

@keyframes ticker {
  0% { transform: translateX(0); }
  /* MUDANÇA 2: Mudei de -100% para -50%. Como os itens se repetem no PHP, 
     -50% faz a volta perfeita e sem "pulos" na tela */
  100% { transform: translateX(-50%); }
}

/* ============== MOBILE MENU ============== */
.mobile-nav-list { list-style: none; padding: 0; margin: 0; }
.mobile-nav-list li a {
  display: block;
  padding: 12px 0;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
}
.mobile-nav-list li a.nav-highlight {
  background: var(--brand-yellow-soft);
  padding: 12px;
  border-radius: 4px;
  border-bottom: none;
  margin: 4px 0;
  color: var(--brand-blue);
}
.search-form {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.search-form input { flex: 1; border: none; padding: 8px 12px; outline: none; width: 100%;}
.search-form button {
  background: var(--brand-yellow);
  border: none;
  color: var(--brand-blue);
  padding: 8px 14px;
  cursor: pointer;
}

/* ============== TAG CATEGORIA (vermelho→azul) ============== */
.tag-category {
  display: inline-block;
  background: var(--brand-blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 2px;
  text-transform: uppercase;
}
/* Tags nas imagens dos cards */
.card-featured-img .tag-category,
.card-small-img .tag-category {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 3;
  background: var(--brand-blue);
	height: 24px;
}

/* ============== SECTION TAB (rótulo preto tipo "Main Stories") ============== */
.section-tab {
  margin-bottom: 16px;
}
.section-tab span {
  display: inline-block;
  background: var(--black);
  color: #fff;
  padding: 8px 18px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
}

/* ============== HERO GRID ============== */
.hero-grid { background: var(--bg-white); }

.card-featured {
  height: 100%;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.card-featured a { display: block; height: 100%; }
.card-featured-img {
  position: relative;
  aspect-ratio: 16/11;
  background-size: cover;
  background-position: center;
  height: 100%;
  min-height: 380px;
}
.card-featured-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 55%);
}
.card-featured-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  color: #fff;
  z-index: 2;
}
.card-featured-overlay h2 {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.2;
}
.card-featured-overlay .meta {
  font-size: 0.8rem;
  opacity: 0.9;
  display: flex; gap: 14px;
}

/* Cards pequenos com overlay */
.card-small {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.card-small a { display: block; height: 100%; }
.card-small-img {
  position: relative;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  height: 100%;
  min-height: 180px;
}
.card-small-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 55%);
}
.card-small-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px;
  color: #fff;
  z-index: 2;
}
.card-small-overlay h3 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.25;
}
.card-small-overlay .meta {
  font-size: 0.7rem;
  opacity: 0.85;
}

/* ============== HOME BODY ============== */
.home-body { background: var(--bg-light); }
.section-title {
  font-size: 1.4rem;
  color: var(--brand-blue);
  border-left: 4px solid var(--brand-yellow);
  padding-left: 12px;
  margin-bottom: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-list-card {
  display: flex;
  gap: 16px;
  background: #fff;
  border-radius: 4px;
  padding: 14px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow .2s;
}

.post-list-card-left{
	  display: flex;
  gap: 16px;
  background: #fff;
  border-radius: 4px;
  padding: 14px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow .2s;
}
.post-list-card:hover { box-shadow: 0 6px 16px rgba(0,0,0,0.09); }
.post-list-img {
  flex: 0 0 200px;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border-radius: 3px;
}

.post-list-img-left{
width: 125px;
    height: 125px;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    border-radius: 3px;
}

.post-list-img-right {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border-radius: 3px;
}

.post-list-body { flex: 1; }
.post-list-body h3 {
  font-size: 1.15rem;
  margin: 8px 0;
  color: var(--brand-blue);
  font-weight: 800;
}
.post-list-body p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 8px; }
.post-list-body .meta { font-size: 0.78rem; color: var(--text-muted); }

.post-apoio-right {
display: inline-grid;
    gap: 10px;
    background: #fff;
    border-radius: 4px;
    padding: 14px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow .2s;
}

.post-list-img-right-int{
	width: 100%;
    height: 204px;
	aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    border-radius: 3px;
}

@media (max-width: 576px) {
  .post-list-card { flex-direction: column; }
  .post-list-img { flex: 0 0 auto; width: 100%; }
  .card-featured-overlay h2 { font-size: 1.15rem; }
  .post-list-card-left 	{ flex-direction: block; }
}

/* ============== AD SLOTS ============== */
.ad-slot {
  background: #fff;
  border: 2px dashed var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  border-radius: 4px;
  font-size: 0.85rem;
}
.ad-728 { min-height: 90px; }
.ad-300-250 { min-height: 250px; }
.ad-300-600 { min-height: 600px; }

/* ============== GUIA DELMIRO ============== */
.guia-delmiro-block {
  background: linear-gradient(135deg, #e6f0ff 0%, #f5f9ff 100%);
  border: 1px solid #cfe0ff;
  border-left: 5px solid var(--brand-yellow);
  border-radius: 6px;
  padding: 22px;
  margin: 24px 0;
}
.guia-header h2 { color: var(--brand-blue); font-size: 1.4rem; margin-bottom: 4px; }
.guia-header h2 i { color: var(--brand-yellow-dark); }
.guia-header p { color: var(--text-muted); margin-bottom: 18px; font-style: italic; font-size: 0.9rem; }

/* ============== SIDEBAR ============== */
.sidebar-widget {
  background: #fff;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.widget-title {
  font-size: 1.05rem;
  color: var(--brand-blue);
  border-bottom: 2px solid var(--brand-yellow);
  padding-bottom: 8px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.most-read-list {
  list-style: none;
  padding: 0; margin: 0;
  counter-reset: rank;
}
.most-read-list li {
  counter-increment: rank;
  display: flex; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.most-read-list li:last-child { border-bottom: none; }
.most-read-list li::before {
  content: counter(rank);
  flex: 0 0 30px;
  height: 30px;
  background: var(--brand-yellow);
  color: var(--brand-blue);
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  border-radius: 3px;
  font-size: 0.95rem;
}
.most-read-list li a { font-size: 0.88rem; font-weight: 600; line-height: 1.3; color: var(--text-dark); }
.most-read-list li a:hover { color: var(--brand-blue); }

.whatsapp-banner {
  display: flex; align-items: center; gap: 14px;
  background: #25D366;
  color: #fff !important;
  padding: 16px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.whatsapp-banner i { font-size: 2.3rem; }
.whatsapp-banner strong { display: block; font-size: 0.95rem; }
.whatsapp-banner span { font-size: 0.8rem; opacity: 0.95; }
.whatsapp-banner:hover { background: #1fb955; color: #fff; }

/* ============== SINGLE POST ============== */
.single-post { background: var(--bg-light); }
.post-title {
  font-size: 2.15rem;
  font-weight: 900;
  color: var(--brand-blue);
  margin: 12px 0;
  line-height: 1.2;
}
.post-subtitle { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 16px; }
.post-meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.post-hero { width: 100%; border-radius: 4px; margin-bottom: 24px; }
.post-content { font-size: 1.05rem; line-height: 1.8; color: #1e293b; }
.post-content p { margin-bottom: 18px; }
.post-content h2 { color: var(--brand-blue); margin: 30px 0 14px; font-size: 1.5rem; }

@media (max-width: 767px) {
  .post-title { font-size: 1.55rem; }
  .post-content { font-size: 1rem; }
  .brand { font-size: 1.2rem; }
  .brand-icon { width: 34px; height: 34px; font-size: 1rem; }
  .card-featured-img { min-height: 260px; }
  .card-small-img { min-height: 140px; }
}

/* ============== FOOTER ============== */
.site-footer {
  background: var(--black);
  color: #d1d5db;
  padding: 40px 0 20px;
  margin-top: 40px;
}
.site-footer h4, .site-footer h5 { color: #fff; margin-bottom: 12px; }
.site-footer .brand-main { color: #fff; }
.site-footer .brand-sub { color: var(--brand-yellow); }
.site-footer a { color: #d1d5db; }
.site-footer a:hover { color: var(--brand-yellow); }
.footer-links { list-style: none; padding: 0; }
.footer-links li {  padding: 1px 6px; border:1px solid #eee;}

.footer-links{
	display: flex;
	align-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

.footer-links-institucional {
	display: flex;
	align-content: center;
	gap: 10px;
	flex-wrap: wrap;
	list-style:none;
	padding: 0;
}
.site-footer hr { border-color: rgba(255,255,255,0.15); margin: 24px 0 16px; }

.fdiv {
	border-top: 1px solid #525252;
  padding-top: 25px;
}
/* ==========================
   Paginação Moderna
========================== */

.pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    margin:40px 0;
    flex-wrap:wrap;
}

.pagination .page-numbers{
    display:flex;
    align-items:center;
    justify-content:center;
    width:46px;
    height:46px;
    text-decoration:none;
    border-radius:12px;
    background:#fff;
    color:#0f172a;
    font-weight:700;
    font-size:16px;
    border:1px solid #e5e7eb;
    transition:all .3s ease;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.pagination .page-numbers:hover{
    background:#facc15;
    color:#111827;
    border-color:#facc15;
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(250,204,21,.35);
}

.pagination .current{
    background:#facc15;
    color:#111827;
    border-color:#facc15;
    box-shadow:0 8px 20px rgba(250,204,21,.45);
}

.pagination .next,
.pagination .prev{
    width:50px;
    font-size:18px;
}

.pagination .next:hover,
.pagination .prev:hover{
    background:#0f172a;
    color:#facc15;
    border-color:#0f172a;
}

.pagination i{
    font-size:18px;
}

#delmiro-load-more {
	background: #1e4a8a;
    border: 1px solid #facc15;
}


.titulo-post-left,
.titulo-post-right {
	font-size: 15px;
}
.btn-outline-primary{
	border: #1e4a8a;
	color:#1e4a8a;
}
.btn-outline-primary:hover{
	background:#1e4a8a;
}


  /* Estilos do Bloco de Curiosidades / Cards Limpos */
  .curiosidades-block-container {
    background: #ffffff;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }

  .curiosidades-ver-todas {
    font-size: 14px;
    color: #1e4a8a;
    text-decoration: none;
    font-weight: 500;
  }

  .curiosidades-ver-todas:hover {
    text-decoration: underline;
  }

  .curiosidades-card-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .curiosidades-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.1);
  }

  .curiosidades-thumb-wrapper {
    position: relative;
    width: 100%;
    padding-top: 60%; /* Proporção widescreen 16:9 */
    overflow: hidden;
    background-color: #eee;
  }

  .curiosidades-thumb-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .curiosidades-badge-cat {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
  }

  .curiosidades-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
  }

  .curiosidades-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
    color: #212529;
  }

  .curiosidades-card-title a {
    color: inherit;
    text-decoration: none;
  }

  .curiosidades-card-title a:hover {
    color: var(--bs-primary, #0d6efd);
  }

  .curiosidades-card-meta {
    font-size: 0.78rem;
    color: #6c757d;
  }

.gallery-caption p{
	background: #00000091;
    padding: 2px 20px;
	margin-bottom: 25px;
}


		.card-small {
			min-height:254px;
		}
		.card-small-img {
			width: 100%;
			height: 254px; /* ajuste conforme quiser */
			object-fit: cover;
			display: block;
		}
		.post-tags a {
			display: inline-block;
			color: #e94560 !important;
			padding: 2px 5px;
			border: 1px solid;
			margin-bottom: 8px;
		}
		.post-content a {
			color: #e94560!important;
		} 
		#wpforms-form-81 {
			background: #fff!important;
			padding: 15px!important;
		}
		.offcanvas{
			max-width:80%;
		}
		.custom-logo {
			max-width:80px;
			height:auto;
		}
		.logo-bar-int {
			display: grid;
			justify-content: space-between;
			align-items: center;
			grid-template-columns: auto 1fr auto;
		}

