/*
Theme Name: Portalnews
Theme URI: https://portalnews.com.br/
Author: Cleber de Miranda
Description: Tema WordPress personalizado revisado e reorganizado para o portal Portalnews.
Version: 2.4.9
Text Domain: portalnews
*/

/* ===============================
   RESET BÁSICO
=============================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  line-height: 1.6;
}

/* ===============================
   HEADER E FOOTER
=============================== */
header,
footer {
  background: #e74c3c; /* fundo em 100% */
  color: #fff;
}

.header-container{
  max-width: 1360px;
  margin: 0 auto;
  padding: 1px 20px 1px 20px;
}
.banner-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1px 20px 1px 20px;
  text-align: center;
}

/* Header interno */
.site-header {
  background: #fff;
  padding: 1px 20px 1px 20px;
  border-bottom: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-width: 1360px;
  margin: 0 auto;
}

/* ===============================
   BANNERS
=============================== */
.banner-top,
.banner-bottom {
  width: 100%;
  text-align: center;
  margin: 10px 0;
}

.banner-top img,
.banner-bottom img {
  max-width: 100%;
  height: auto;
}

.banner-ads {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-ads .banner-widget {
  max-width: 100%;
  text-align: center;
}

.banner-ads .banner-widget img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* Banners 1–4 da home vindos do Customizer */
.banner-ads .portalnews-ad-slot {
  width: 100%;
  margin: 0 auto;
}

.banner-ads .portalnews-ad-inner {
  width: 100%;
  max-width: 100%;
}

.banner-ads .portalnews-ad-inner img {
  max-width: 100% !important;
  height: auto !important;
  display: inline-block;
}

.banner-below-header {
	padding-top: 20px;
	
}
/* ===============================
   LAYOUT PRINCIPAL
=============================== */
.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px; /* conteúdo + sidebar */
  grid-gap: 20px;
  padding: 20px;
  align-items: start;
}

.layout {
  display: grid;
  grid-template-columns: 61% 39%; /* soma 100% */
  grid-gap: 20px;
  grid-column: 1;
}

.layout.layout-single {
  grid-template-columns: 1fr;
}

.layout.layout-single .content-left,
.layout.layout-single .content-right {
  width: 100%;
}

/* Colunas */
.content-left,
.content-right,
.sidebar {
  padding: 10px;
  box-sizing: border-box;
  background: #fff;
}

/* ===============================
   RESPONSIVIDADE
=============================== */
@media (min-width: 768px) and (max-width: 991px) {
  .container { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr 1fr; }
  .banner-ads { grid-column: 1; }
}

@media (max-width: 767px) {
  .container { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
}

/* ===============================
   WIDGETS GERAIS
=============================== */
.widget { margin-bottom: 20px; }

.widget h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #e74c3c;
}

/* ===============================
   LATEST NEWS
=============================== */
.latest-news-widget { list-style: none; margin: 0; padding: 0; }

.latest-news-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
}

.latest-news-item:last-child { border-bottom: none; }

.latest-news-thumb img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.latest-news-thumb img:hover { transform: scale(1.05); }

.latest-news-content { flex: 1; }

.latest-news-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
  color: #03A250; /* cor predominante */
}

.latest-news-link:hover .latest-news-title { color: #03A250; }

/* Latest News Custom Image Widget */
.latest-news-custom-image-widget .latest-news-item {
  position: relative;
  margin-bottom: 20px;
}

.latest-news-custom-image-widget .latest-news-thumb {
  width: 100%;
  height: 220px; /* altura fixa */
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.latest-news-custom-image-widget .latest-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.latest-news-custom-image-widget .latest-news-thumb .latest-news-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 15px;
  background: rgba(3,162,80,0.8);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}

.latest-news-custom-image-widget .latest-news-thumb .latest-news-excerpt {
  display: none;
}

@media (max-width: 768px) {
  .latest-news-custom-image-widget .latest-news-thumb { height: 160px; }
  .latest-news-custom-image-widget .latest-news-thumb .latest-news-title {
    font-size: 16px;
    padding: 8px 10px;
  }
}

/* ===============================
   SLIDER BANNER
=============================== */

.slider-banner {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 420px;
    border-radius: 0;
    background: #000;
}

.slider-banner .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    overflow: hidden;
    background: #000;
    color: #fff;
}

.slider-banner .slide.active {
    opacity: 1;
    z-index: 2;
}

.slider-banner .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 6s ease;
}

.slider-banner .slide.active img {
    transform: scale(1.05);
}

/* OVERLAY ESCURO */
.slider-banner .slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.35) 40%,
        rgba(0,0,0,0.10) 100%
    );
    z-index: 1;
}

/* TÍTULO */
.slide-title {
    position: absolute;
    left: 28px;
    bottom: 28px;
    z-index: 3;
    max-width: 78%;

    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;

    color: #ffffff;

    background: transparent;
    padding: 0;
    border-radius: 0;

    text-shadow:
        0 3px 12px rgba(0,0,0,0.55),
        0 1px 2px rgba(0,0,0,0.4);
}

.slide-title a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.slide-title a:hover {
    opacity: 0.88;
}

/* TABLET */
@media (max-width: 1024px) {

    .slider-banner {
        height: 360px;
    }

    .slide-title {
        font-size: 26px;
        max-width: 85%;
        left: 20px;
        bottom: 20px;
    }
}

/* MOBILE */
@media (max-width: 768px) {

    .slider-banner {
        height: 260px;
    }

    .slide-title {
        font-size: 18px;
        line-height: 1.3;
        left: 16px;
        bottom: 16px;
        max-width: 90%;
    }
}

/* MOBILE PEQUENO */
@media (max-width: 480px) {

    .slider-banner {
        height: 220px;
    }

    .slide-title {
        font-size: 16px;
        left: 12px;
        bottom: 12px;
    }
}

/* =========================================
   HEADER BRANDING + HEADER INLINE
========================================= */

.branding-widget-container {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

/* LOGO */
.branding {
  display: flex;
  align-items: center;
  flex: 0 0 28%;
  max-width: 320px;
  min-width: 180px;
}

/* LOGO IMG */
.site-logo img,
.custom-logo {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.site-logo img:hover,
.custom-logo:hover {
  transform: scale(1.03);
}

/* HEADER INLINE */
.header-inline-widget-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  width: 100%;
  min-width: 0;
  gap: 15px;
}

/* GARANTE QUE O CONTEÚDO OCUPE ESPAÇO */
.header-inline-widget-container .widget,
.header-inline-widget-container img,
.header-inline-widget-container iframe,
.header-inline-widget-container video,
.header-inline-widget-container ins {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

/* RESPONSIVO */
@media (max-width: 768px) {

  .branding-widget-container {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .branding {
    flex: 0 0 auto;
    max-width: 240px;
    width: 100%;
    justify-content: center;
  }

  .header-inline-widget-container {
    width: 100%;
    justify-content: center;
  }
}

/* Menu + data/hora */
.menu-widget-container {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.menu-widget-container.align-left { justify-content: flex-start; }
.menu-widget-container.align-center { justify-content: center; }
.menu-widget-container.align-right { justify-content: flex-end; }

/* Menu principal ocupa 68% */
.main-navigation {
  flex: 0 0 68%;
  display: flex;
  justify-content: flex-start;
}
.main-navigation .menu {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}
.main-navigation .menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s, transform 0.3s;
}
.main-navigation .menu li a:hover { color: #007b5e; transform: scale(1.05); }

/* Widget ocupa 30% */
.header-widget {
  flex: 0 0 30%;
  display: flex;
  justify-content: flex-end; /* alinhado à direita por padrão */
  color: #007b5e;
  font-weight: bold;
  font-size: 0.9em;
  white-space: nowrap;
}
.header-widget.align-left { justify-content: flex-start; }
.header-widget.align-center { justify-content: center; }

/* Botão hambúrguer animado */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}
.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #333;
  border-radius: 2px;
  transition: all 0.4s ease;
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== Mobile ===== */
@media (max-width: 768px) {
  /* Container logo + widget empilha no mobile */
  .branding-widget-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  /* Menu lateral fixo */
  .main-navigation {
    position: fixed;
    top: 0;
    right: -260px;
    height: 100%;
    width: 260px;
    background: #ffffff;
    flex-direction: column;
    gap: 25px;
    padding: 70px 20px;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -4px 0 15px rgba(0,0,0,0.2);
    z-index: 999;
  }

  /* Menu aberto */
  .main-navigation.menu-open { right: 0; }

  /* Toggle hambúrguer visível */
  .menu-toggle { display: flex; }

  /* Container menu + data/hora no mobile */
  .menu-widget-container { 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 10px; 
  }

  /* Links do menu em coluna */
  .main-navigation .menu { 
    flex-direction: column !important; 
    display: flex !important;
    gap: 15px;
  }

  .main-navigation .menu li a {
    font-size: 1.1em;
  }

  /* Widget ocupa 100% no mobile */
  .header-widget {
    flex: 0 0 100%;
    justify-content: center;
  }
}

/* ===============================
   WIDGET MAIS LIDOS
=============================== */
.banner-grid-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.post-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.post-item:hover { transform: translateY(-2px); }

.post-thumbnail {
  position: relative;
  flex: 0 0 120px;
  height: 80px;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  overflow: hidden;
}

.post-number {
  position: absolute;
  top: 5px;
  left: 5px;
  background: #03A250;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  padding: 4px 8px;
  border-radius: 4px;
  line-height: 1;
  opacity: 0.9;
}

.post-item-content { flex: 1; }

.entry-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 5px;
  line-height: 1.3;
}

.entry-title a {
  color: #03A250;
  text-decoration: none;
}

.entry-title a:hover { color: #03A250; }

@media (max-width: 600px) {
  .post-item { flex-direction: column; align-items: flex-start; }
  .post-thumbnail { width: 100%; height: 150px; }
  .post-item-content { width: 100%; }
}

/* =========================================
   RIO PARAGUAI - ESTILO PORTAL
========================================= */

.rio-paraguai-data-unique {
    margin: 0 0 14px;
    color: var(--pn-primary, #03A250);
    font-size: 13px;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.rio-paraguai-cards.rio-paraguai-portal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
    margin: 0;
}

.rio-paraguai-portal .rio-paraguai-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--pn-border, #e5e5e5);
    border-top: 4px solid var(--pn-primary, #03A250);
    border-radius: 0;
    padding: 14px 14px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: box-shadow .2s ease, transform .2s ease;
}

.rio-paraguai-portal .rio-paraguai-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,.11);
}

.rio-paraguai-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.rio-paraguai-local {
    color: var(--pn-text, #222);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.15;
}

.rio-paraguai-label {
    flex: 0 0 auto;
    color: var(--pn-primary, #03A250);
    background: color-mix(in srgb, var(--pn-primary, #03A250) 10%, #fff);
    border: 1px solid color-mix(in srgb, var(--pn-primary, #03A250) 20%, #fff);
    padding: 3px 7px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .35px;
    white-space: nowrap;
}

.rio-paraguai-card-main {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 6px;
}

.rio-paraguai-altura {
    color: var(--pn-primary, #03A250);
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
}

.rio-paraguai-unidade {
    color: var(--pn-primary, #03A250);
    font-size: 17px;
    font-weight: 800;
}

.rio-paraguai-observacao {
    color: #555;
    font-size: 13px;
    line-height: 1.35;
    margin: 0;
    padding-top: 7px;
    border-top: 1px solid #eee;
}

/* Sidebar estreita */
.sidebar .rio-paraguai-cards.rio-paraguai-portal {
    grid-template-columns: 1fr;
}

/* Mobile */
@media (max-width: 768px) {
    .rio-paraguai-cards.rio-paraguai-portal {
        grid-template-columns: 1fr;
    }

    .rio-paraguai-portal .rio-paraguai-card {
        padding: 12px;
    }

    .rio-paraguai-altura {
        font-size: 30px;
    }
}03A250;
}

/* ===============================
   LINKS GERAIS
=============================== */
a {
  text-decoration: none;
  color: #03A250;
  transition: color 0.3s, transform 0.3s;
}

a:hover {
  color: #03A250;
  transform: none;
}

/* ================================
   Cabeçalhos de Widgets
   (apenas o título principal gerado pelo before_title/after_title)
================================ */

/* Colunas dos layouts */
.coluna-esquerda > h3,
.coluna-direita > h3,
.coluna-esquerda-2 > h3,
.coluna-direita-2 > h3,
.coluna-esquerda-3 > h3,
.coluna-direita-3 > h3,
.coluna-esquerda-4 > h3,
.coluna-direita-4 > h3,

/* Sidebar principal */
.sidebar > h3,

/* Áreas de banners */
.banner-widget > h3 {
  position: relative;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 8px;
  color: #03A250; /* cor principal */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #03A250;
}

/* Linha decorativa abaixo dos títulos */
.coluna-esquerda > h3::after,
.coluna-direita > h3::after,
.coluna-esquerda-2 > h3::after,
.coluna-direita-2 > h3::after,
.coluna-esquerda-3 > h3::after,
.coluna-direita-3 > h3::after,
.coluna-esquerda-4 > h3::after,
.coluna-direita-4 > h3::after,
.sidebar > h3::after,
.banner-widget > h3::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: #03A250;
}

.latest-news-grid-widget {
    display: grid;
    gap: 20px;
}

.latest-news-grid-widget .latest-news-grid-item {
    display: block;
}

.latest-news-grid-widget .latest-news-grid-thumb {
    display: block;
    overflow: hidden;
    border-radius: 6px;
}

.latest-news-grid-widget .latest-news-grid-thumb img {
    display: block;
    width: 100%;
    height: auto;
}

.latest-news-grid-widget .latest-news-grid-title {
    margin: 10px 0 0;
    font-size: 16px;
    line-height: 1.4;
}

.latest-news-grid-widget .latest-news-grid-title a {
    text-decoration: none;
}

.latest-news-grid-widget.columns-1 {
    grid-template-columns: repeat(1, 1fr);
}

.latest-news-grid-widget.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.latest-news-grid-widget.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.latest-news-grid-widget.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.latest-news-grid-widget.columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.latest-news-grid-widget.columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 1024px) {
    .latest-news-grid-widget {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .latest-news-grid-widget {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}



/* ===============================
   FOOTER
=============================== */
.site-footer {
  background: #e74c3c;
  color: #fff;
  margin-top: 30px;
}

.footer-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 16px 20px;
  text-align: center;
}

/* ===============================
   GRID WIDGET
=============================== */
.latest-news-grid-widget {
  display: grid;
  gap: 20px;
}

.latest-news-grid-widget .latest-news-grid-item {
  display: block;
}

.latest-news-grid-widget .latest-news-grid-thumb {
  display: block;
  overflow: hidden;
  border-radius: 6px;
}

.latest-news-grid-widget .latest-news-grid-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.latest-news-grid-widget .latest-news-grid-no-thumb {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eee;
}

.latest-news-grid-widget .latest-news-grid-title {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.4;
}

.latest-news-grid-widget .latest-news-grid-title a {
  text-decoration: none;
}

.latest-news-grid-widget.columns-1 { grid-template-columns: repeat(1, 1fr); }
.latest-news-grid-widget.columns-2 { grid-template-columns: repeat(2, 1fr); }
.latest-news-grid-widget.columns-3 { grid-template-columns: repeat(3, 1fr); }
.latest-news-grid-widget.columns-4 { grid-template-columns: repeat(4, 1fr); }
.latest-news-grid-widget.columns-5 { grid-template-columns: repeat(5, 1fr); }
.latest-news-grid-widget.columns-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1024px) {
  .latest-news-grid-widget {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .latest-news-grid-widget {
    grid-template-columns: repeat(1, 1fr) !important;
  }
}


/* =========================================
   Latest News Grid - Versão Destaque
========================================= */
.latest-news-grid-featured {
    display: grid;
    gap: 20px;
}

.latest-news-grid-featured.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.latest-news-grid-featured.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.latest-news-grid-featured.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.latest-news-grid-featured.columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.latest-news-grid-featured.columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.latest-news-grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
    min-width: 0;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.latest-news-grid-item.featured-main {
    grid-column: span 2;
    grid-row: span 2;
}

.latest-news-grid-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: #222;
}

.latest-news-grid-item.featured-main .latest-news-grid-thumb {
    aspect-ratio: 16 / 10;
}

.latest-news-grid-thumb img,
.latest-news-grid-no-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.latest-news-grid-no-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #d9d9d9;
    color: #444;
    font-weight: 600;
}

.latest-news-grid-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.22) 50%, rgba(0,0,0,0.08) 100%);
    z-index: 1;
}

.latest-news-grid-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px;
    z-index: 2;
}

.latest-news-grid-title {
    margin: 0;
    line-height: 1.3;
}

.latest-news-grid-title span {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: block;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.latest-news-grid-item.featured-main .latest-news-grid-title span {
    font-size: 28px;
    line-height: 1.2;
}

.latest-news-grid-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(190, 0, 0, 0.92);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.latest-news-grid-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.22);
}

.latest-news-grid-item img {
    transition: transform 0.45s ease;
}

.latest-news-grid-item:hover img {
    transform: scale(1.06);
}

@media (max-width: 1024px) {
    .latest-news-grid-featured.columns-3,
    .latest-news-grid-featured.columns-4,
    .latest-news-grid-featured.columns-5,
    .latest-news-grid-featured.columns-6 {
        grid-template-columns: repeat(2, 1fr);
    }

    .latest-news-grid-item.featured-main {
        grid-column: span 2;
        grid-row: span 1;
    }

    .latest-news-grid-item.featured-main .latest-news-grid-title span {
        font-size: 22px;
    }
}

@media (max-width: 640px) {
    .latest-news-grid-featured.columns-2,
    .latest-news-grid-featured.columns-3,
    .latest-news-grid-featured.columns-4,
    .latest-news-grid-featured.columns-5,
    .latest-news-grid-featured.columns-6 {
        grid-template-columns: 1fr;
    }

    .latest-news-grid-item.featured-main {
        grid-column: span 1;
        grid-row: span 1;
    }

    .latest-news-grid-item.featured-main .latest-news-grid-title span {
        font-size: 20px;
    }

    .latest-news-grid-title span {
        font-size: 15px;
    }
}

/* =========================================
   Latest News Grid Personalizado
========================================= */

.latest-news-custom-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(
            min(var(--lncg-min, 220px), 100%),
            1fr
        )
    );
    gap: 20px;
}

/* Limita visualmente a quantidade máxima de colunas */
.latest-news-custom-grid {
    max-width: 100%;
}

/* Card */
.latest-news-custom-grid-item {
    min-width: 0;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.latest-news-custom-grid-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}

/* Imagem */
.latest-news-custom-grid-thumb {
    display: block;
    width: 100%;
    height: var(--lncg-img-h, 180px);
    overflow: hidden;
    background: #eee;
}

.latest-news-custom-grid-thumb img,
.latest-news-custom-grid-no-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Sem imagem */
.latest-news-custom-grid-no-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    background: #ddd;
    font-weight: 600;
}

/* Título */
.latest-news-custom-grid-title {
    margin: 0;
    padding: 12px 14px 15px;
    font-size: 16px;
    line-height: 1.35;
}

.latest-news-custom-grid-title a {
    color: #111;
    text-decoration: none;
    font-weight: 700;
}

.latest-news-custom-grid-title a:hover {
    color: #b40000;
}

/* Mobile */
@media (max-width: 640px) {
    .latest-news-custom-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .latest-news-custom-grid-thumb {
        height: 190px;
    }
}

/* =========================================
   Latest News Grid Horizontal - Responsivo
========================================= */

.latest-news-grid-horizontal {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(var(--lngh-min, 320px), 100%), 1fr)
    );
    gap: 16px;
    width: 100%;
    max-width: 100%;
}

.latest-news-grid-horizontal-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    padding: 8px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.latest-news-grid-horizontal-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}

/* FOTO */
.latest-news-grid-horizontal-thumb {
    flex: 0 0 var(--lngh-img-w, 120px);
    width: var(--lngh-img-w, 120px);
    height: var(--lngh-img-h, 90px);
    overflow: hidden;
    border-radius: 8px;
    background: #eee;
}

.latest-news-grid-horizontal-thumb img,
.latest-news-grid-horizontal-no-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ÁREA DO TEXTO */
.latest-news-grid-horizontal-content {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* TÍTULO */
.latest-news-grid-horizontal-title {
    margin: 0;
    font-size: 13px;
    line-height: 1.3;
    max-height: calc(13px * 1.3 * 4);
    overflow: hidden;
}
.latest-news-grid-horizontal-title a {
    color: #111;
    text-decoration: none;
    font-weight: 700;

    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-news-grid-horizontal-title a:hover {
    color: #b40000;
}

/* SEM IMAGEM */
.latest-news-grid-horizontal-no-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ddd;
    color: #555;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

/* TABLET */
@media (max-width: 900px) {
    .latest-news-grid-horizontal {
        grid-template-columns: repeat(2, 1fr);
    }

    .latest-news-grid-horizontal-thumb {
        flex-basis: 110px;
        width: 110px;
        height: 82px;
    }

    .latest-news-grid-horizontal-title {
        font-size: 14px;
    }

    .latest-news-grid-horizontal-title a {
        -webkit-line-clamp: 3;
    }
}

/* CELULAR */
@media (max-width: 600px) {
    .latest-news-grid-horizontal {
        grid-template-columns: 1fr;
    }

    .latest-news-grid-horizontal-item {
        gap: 10px;
        padding: 7px;
    }

    .latest-news-grid-horizontal-thumb {
        flex-basis: 100px;
        width: 100px;
        height: 75px;
    }

    .latest-news-grid-horizontal-title {
		font-size: 12px;
		line-height: 1.25;
	}

    .latest-news-grid-horizontal-title a {
        -webkit-line-clamp: 3;
    }
}

/* CELULAR PEQUENO */
@media (max-width: 420px) {
    .latest-news-grid-horizontal-thumb {
        flex-basis: 90px;
        width: 90px;
        height: 68px;
    }

    .latest-news-grid-horizontal-title {
		font-size: 13px;
	}

    .latest-news-grid-horizontal-title a {
        -webkit-line-clamp: 3;
    }
}


/* === Sistema Global de Cores === */
:root{
 --pn-primary:#b40000;
 --pn-secondary:#111111;
 --pn-accent:#f5c400;
 --pn-text:#222222;
 --pn-bg:#ffffff;
 --pn-border:#e5e5e5;
}

body{
 background:var(--pn-bg);
 color:var(--pn-text);
}

a{color:var(--pn-primary);}
a:hover{color:var(--pn-secondary);}

button,
input[type="submit"],
.btn{
 background:var(--pn-primary);
 color:#fff;
 border:none;
}

/* Widgets horizontal responsiva */
.latest-news-grid-horizontal {
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(min(var(--lngh-min,320px),100%),1fr));
    gap:16px;
}
.latest-news-grid-horizontal-item{
 display:flex;
 align-items:center;
 gap:12px;
 min-width:0;
 background:#fff;
 border-radius:10px;
 overflow:hidden;
 padding:8px;
 box-shadow:0 3px 12px rgba(0,0,0,.08);
}
.latest-news-grid-horizontal-thumb{
 flex:0 0 var(--lngh-img-w,120px);
 width:var(--lngh-img-w,120px);
 height:var(--lngh-img-h,90px);
 overflow:hidden;
 border-radius:8px;
}
.latest-news-grid-horizontal-thumb img{
 width:100%;
 height:100%;
 object-fit:cover;
 display:block;
}
.latest-news-grid-horizontal-content{
 flex:1;
 min-width:0;
 overflow:hidden;
}
.latest-news-grid-horizontal-title{
 margin:0;
 font-size:13px;
 line-height:1.3;
 max-height:calc(13px * 1.3 * 4);
 overflow:hidden;
}
.latest-news-grid-horizontal-title a{
 text-decoration:none;
 font-weight:700;
 color:#111;
 display:-webkit-box;
 -webkit-line-clamp:4;
 -webkit-box-orient:vertical;
 overflow:hidden;
}
@media(max-width:600px){
 .latest-news-grid-horizontal{grid-template-columns:1fr;}
 .latest-news-grid-horizontal-thumb{
   flex-basis:100px;
   width:100px;
   height:75px;
 }
 .latest-news-grid-horizontal-title{
   font-size:12px;
 }
}

/* =========================================
   HEADER INLINE LINKS
========================================= */

.header-inline-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: nowrap;
    width: 100%;
}

.header-inline-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.header-inline-item img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.25s ease;
}

.header-inline-item img:hover {
    transform: scale(1.05);
}

/* BAND FM */
.bandfm-img {
    transform: rotate(15deg);
}

/* RESPONSIVO */
@media (max-width: 768px) {

    .header-inline-links {
        justify-content: center;
        gap: 8px;
    }

    .header-inline-item {
        flex: 1 1 30%;
    }
}

/* =========================================
   Custom Banner Widget
========================================= */

.custom-banner-widget {
    width: 100%;
    text-align: center;
    overflow: hidden;
}

.custom-banner-widget img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    transition: transform 0.25s ease;
}

.custom-banner-widget img:hover {
    transform: scale(1.01);
}

/* RESPONSIVO */
@media (max-width: 768px) {

    .custom-banner-widget img {
        border-radius: 6px;
    }
}

/* =========================================
   MENU PRINCIPAL - ÁREA DESTACADA
========================================= */

.menu-widget-container {
    background: linear-gradient(135deg, #03A250 0%, #027a3d 100%);
    padding: 10px 18px;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-bottom: 2px solid rgba(255,255,255,0.12);
}

/* Menu */
.menu-widget-container .main-navigation .menu {
    align-items: center;
}

.menu-widget-container .main-navigation .menu li a {
    color: #fff;
    font-weight: 700;
    padding: 8px 10px;
    display: block;
    transition: all 0.25s ease;
}

.menu-widget-container .main-navigation .menu li a:hover {
    background: rgba(255,255,255,0.16);
    color: #fff;
    transform: translateY(-2px);
}

/* Data/hora ou widget ao lado do menu */
.menu-widget-container .header-widget {
    color: #fff;
}

/* Botão hambúrguer */
.menu-widget-container .menu-toggle span {
    background: #fff;
}

/* Mobile */
@media (max-width: 768px) {
    .menu-widget-container {
        border-radius: 8px;
        padding: 10px 14px;
    }

    .main-navigation {
        background: #027a3d;
    }

    .main-navigation .menu li a {
        color: #fff;
    }
}


/* =========================================
   Sistema de Cores - Base estática
   As variáveis abaixo são sobrescritas pelo Customizer.
========================================= */
:root {
  --pn-primary: #03A250;
  --pn-secondary: #027a3d;
  --pn-accent: #f5c400;
  --pn-text: #222222;
  --pn-bg: #f4f4f4;
  --pn-surface: #ffffff;
  --pn-border: #e5e5e5;
  --pn-menu-text: #ffffff;
}

body {
  background: var(--pn-bg);
  color: var(--pn-text);
}

.site-header,
.content-left,
.content-right,
.sidebar,
.rio-paraguai-card,
.latest-news-custom-grid-item,
.latest-news-grid-horizontal-item,
.post-item {
  background: var(--pn-surface);
  border-color: var(--pn-border);
}

a,
.latest-news-title,
.entry-title a,
.rio-paraguai-card-header,
.rio-paraguai-altura,
.rio-paraguai-data-unique,
.widget h3,
.coluna-esquerda > h3,
.coluna-direita > h3,
.coluna-esquerda-2 > h3,
.coluna-direita-2 > h3,
.coluna-esquerda-3 > h3,
.coluna-direita-3 > h3,
.coluna-esquerda-4 > h3,
.coluna-direita-4 > h3,
.sidebar > h3,
.banner-widget > h3 {
  color: var(--pn-primary);
}

a:hover,
.latest-news-custom-grid-title a:hover,
.latest-news-grid-horizontal-title a:hover {
  color: var(--pn-secondary);
}

button,
input[type="submit"],
.btn,
.post-number,
.latest-news-grid-badge {
  background: var(--pn-primary);
  color: #fff;
}

header,
footer,
.site-footer {
  background: var(--pn-secondary);
  color: #fff;
}

.menu-widget-container {
  background: linear-gradient(135deg, var(--pn-primary) 0%, var(--pn-secondary) 100%);
}

.menu-widget-container .main-navigation .menu li a,
.menu-widget-container .header-widget {
  color: var(--pn-menu-text);
}

.menu-widget-container .main-navigation .menu li a:hover {
  color: var(--pn-menu-text);
}

.menu-widget-container .menu-toggle span,
.rio-paraguai-bar,
.coluna-esquerda > h3::after,
.coluna-direita > h3::after,
.coluna-esquerda-2 > h3::after,
.coluna-direita-2 > h3::after,
.coluna-esquerda-3 > h3::after,
.coluna-direita-3 > h3::after,
.coluna-esquerda-4 > h3::after,
.coluna-direita-4 > h3::after,
.sidebar > h3::after,
.banner-widget > h3::after {
  background: var(--pn-primary);
}

.coluna-esquerda > h3,
.coluna-direita > h3,
.coluna-esquerda-2 > h3,
.coluna-direita-2 > h3,
.coluna-esquerda-3 > h3,
.coluna-direita-3 > h3,
.coluna-esquerda-4 > h3,
.coluna-direita-4 > h3,
.sidebar > h3,
.banner-widget > h3 {
  border-bottom-color: var(--pn-primary);
}

/* =========================================
   STICKY HEADER
========================================= */

.pn-sticky-header {
    position: fixed;
    top: -160px;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: var(--pn-sticky-bg, #ffffff);
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
    transition: top 0.35s ease, opacity 0.35s ease;
    opacity: 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.pn-sticky-header.is-visible {
    top: 0;
    opacity: 1;
}

.pn-sticky-header-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 6px 20px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.pn-sticky-logo {
    flex: 0 0 auto;
    max-width: 210px;
    min-width: 120px;
}

.pn-sticky-logo img,
.pn-sticky-logo .custom-logo {
    max-height: var(--pn-sticky-logo-height, 65px);
    width: auto;
    max-width: 100%;
    display: block;
}

.pn-sticky-menu {
    flex: 1 1 auto;
    min-width: 0;
}

.pn-sticky-menu .sticky-navigation {
    width: 100%;
}

.pn-sticky-menu .sticky-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.pn-sticky-menu .sticky-menu li {
    margin: 0;
}

.pn-sticky-menu .sticky-menu li a {
    color: var(--pn-primary, #03A250);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.2;
    transition: opacity 0.25s ease;
}

.pn-sticky-menu .sticky-menu li a:hover {
    opacity: 0.75;
}

.header-datetime,
.pn-sticky-datetime {
    color: var(--pn-primary, #03A250);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.pn-sticky-datetime {
    flex: 0 0 auto;
}

.pn-sticky-inline-widget {
    flex: 0 1 330px;
    max-width: 330px;
    min-width: 160px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.pn-sticky-inline-widget .widget {
    margin: 0;
    width: 100%;
}

.pn-sticky-inline-widget img,
.pn-sticky-inline-widget iframe,
.pn-sticky-inline-widget video,
.pn-sticky-inline-widget ins {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1100px) {
    .pn-sticky-header-inner {
        gap: 12px;
    }

    .pn-sticky-menu .sticky-menu {
        gap: 10px;
    }

    .pn-sticky-menu .sticky-menu li a,
    .header-datetime,
    .pn-sticky-datetime {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .pn-sticky-header.hide-mobile {
        display: none;
    }

    .pn-sticky-header-inner {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 8px 15px;
    }

    .pn-sticky-logo {
        max-width: 180px;
        min-width: 0;
    }

    .pn-sticky-menu {
        width: 100%;
    }

    .pn-sticky-menu .sticky-menu {
        justify-content: center;
    }

    .header-datetime,
    .pn-sticky-datetime {
        white-space: normal;
        text-align: center;
    }

    .pn-sticky-inline-widget {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        justify-content: center;
    }
}


/* =========================================================
   PORTALNEWS 1.3.3 - Correções de posições e dropdowns
   Mantém compatibilidade com opções antigas do Customizer.
========================================================= */

/* HEADER OPTIONS: logo position */
.site-header .branding-widget-container {
    display: flex;
    align-items: center;
    width: 100%;
}

.site-header.logo-left .branding-widget-container,
.branding-widget-container.align-left {
    justify-content: flex-start;
}

.site-header.logo-center .branding-widget-container,
.branding-widget-container.align-center {
    justify-content: center;
}

.site-header.logo-right .branding-widget-container,
.branding-widget-container.align-right {
    justify-content: flex-end;
}

.site-header.logo-left .branding,
.branding-widget-container.align-left .branding {
    order: 1;
    margin-right: 20px;
    margin-left: 0;
}

.site-header.logo-left .header-inline-widget-container,
.branding-widget-container.align-left .header-inline-widget-container {
    order: 2;
}

.site-header.logo-right .branding,
.branding-widget-container.align-right .branding {
    order: 2;
    margin-left: 20px;
    margin-right: 0;
}

.site-header.logo-right .header-inline-widget-container,
.branding-widget-container.align-right .header-inline-widget-container {
    order: 1;
}

.site-header.logo-center .branding,
.branding-widget-container.align-center .branding {
    order: 1;
    margin-left: auto;
    margin-right: auto;
}

.site-header.logo-center .header-inline-widget-container,
.branding-widget-container.align-center .header-inline-widget-container {
    order: 2;
    justify-content: center;
}

/* HEADER OPTIONS: header inline position */
.site-header.widget-left .header-inline-widget-container,
.header-inline-widget-container.align-left {
    justify-content: flex-start;
}

.site-header.widget-center .header-inline-widget-container,
.header-inline-widget-container.align-center {
    justify-content: center;
}

.site-header.widget-right .header-inline-widget-container,
.header-inline-widget-container.align-right {
    justify-content: flex-end;
}

/* HEADER OPTIONS: menu position */
.site-header .menu-widget-container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.site-header.menu-left .menu-widget-container,
.menu-widget-container.align-left {
    justify-content: flex-start;
}

.site-header.menu-center .menu-widget-container,
.menu-widget-container.align-center {
    justify-content: center;
}

.site-header.menu-right .menu-widget-container,
.menu-widget-container.align-right {
    justify-content: flex-end;
}

.site-header.menu-left .main-navigation,
.menu-widget-container.align-left .main-navigation {
    justify-content: flex-start;
}

.site-header.menu-center .main-navigation,
.menu-widget-container.align-center .main-navigation {
    justify-content: center;
}

.site-header.menu-right .main-navigation,
.menu-widget-container.align-right .main-navigation {
    justify-content: flex-end;
}

.site-header.menu-left .main-navigation .menu,
.menu-widget-container.align-left .main-navigation .menu {
    justify-content: flex-start;
}

.site-header.menu-center .main-navigation .menu,
.menu-widget-container.align-center .main-navigation .menu {
    justify-content: center;
}

.site-header.menu-right .main-navigation .menu,
.menu-widget-container.align-right .main-navigation .menu {
    justify-content: flex-end;
}

/* DROPDOWN DO MENU PRINCIPAL */
.menu-widget-container .main-navigation {
    overflow: visible;
}

.menu-widget-container .main-navigation .menu {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.menu-widget-container .main-navigation .menu > li,
.menu-widget-container .main-navigation .menu li {
    position: relative;
    list-style: none;
}

.menu-widget-container .main-navigation .menu ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10050;
    min-width: 220px;
    margin: 0;
    padding: 8px 0;
    background: var(--pn-secondary, #e65100);
    box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.menu-widget-container .main-navigation .menu li:hover > ul.sub-menu,
.menu-widget-container .main-navigation .menu li:focus-within > ul.sub-menu {
    display: block;
}

.menu-widget-container .main-navigation .menu ul.sub-menu li {
    width: 100%;
    margin: 0;
}

.menu-widget-container .main-navigation .menu ul.sub-menu li a {
    display: block;
    padding: 10px 16px;
    color: var(--pn-menu-text, #ffffff);
    white-space: nowrap;
    transform: none;
}

.menu-widget-container .main-navigation .menu ul.sub-menu li a:hover {
    background: rgba(255,255,255,0.15);
    color: var(--pn-menu-text, #ffffff);
    transform: none;
}

/* DROPDOWN DO STICKY HEADER */
.pn-sticky-menu,
.pn-sticky-menu .sticky-navigation {
    overflow: visible;
}

.pn-sticky-menu .sticky-menu {
    position: relative;
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.pn-sticky-menu .sticky-menu > li,
.pn-sticky-menu .sticky-menu li {
    position: relative;
    list-style: none;
}

.pn-sticky-menu .sticky-menu ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10060;
    min-width: 220px;
    margin: 0;
    padding: 8px 0;
    background: var(--pn-secondary, #e65100);
    box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.pn-sticky-menu .sticky-menu li:hover > ul.sub-menu,
.pn-sticky-menu .sticky-menu li:focus-within > ul.sub-menu {
    display: block;
}

.pn-sticky-menu .sticky-menu ul.sub-menu li {
    width: 100%;
    margin: 0;
}

.pn-sticky-menu .sticky-menu ul.sub-menu li a {
    display: block;
    padding: 10px 16px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.pn-sticky-menu .sticky-menu ul.sub-menu li a:hover {
    background: rgba(255,255,255,0.15);
    opacity: 1;
}

/* MOBILE: mantém sticky compacto, sem menu ocupando metade da tela */
@media (max-width: 768px) {
    .site-header .branding-widget-container {
        flex-direction: column;
        justify-content: center;
    }

    .site-header .branding,
    .site-header .header-inline-widget-container {
        order: initial;
        margin: 0;
    }

    .site-header .menu-widget-container {
        flex-wrap: wrap;
    }

    .menu-widget-container .main-navigation .menu {
        flex-wrap: wrap;
    }

    .menu-widget-container .main-navigation .menu ul.sub-menu {
        position: static;
        width: 100%;
        min-width: 0;
        box-shadow: none;
        margin-top: 4px;
    }

    .pn-sticky-header {
        top: -80px;
    }

    .pn-sticky-header-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 4px 10px;
        min-height: 44px;
    }

    .pn-sticky-logo {
        max-width: 120px;
        min-width: 0;
        flex: 0 0 auto;
    }

    .pn-sticky-logo img,
    .pn-sticky-logo .custom-logo {
        max-height: 36px;
        width: auto;
    }

    .pn-sticky-menu,
    .pn-sticky-inline-widget {
        display: none !important;
    }

    .pn-sticky-datetime,
    .header-datetime {
        font-size: 10px;
        line-height: 1.1;
        white-space: normal;
        text-align: right;
        max-width: 190px;
        flex: 1;
    }
}


/* =========================================================
   PORTALNEWS 1.3.4 - Correção definitiva de posições,
   dropdowns e padronização do esquema de cores das widgets
========================================================= */

/* ---------- Header: posicionamento real da logo ---------- */
.site-header .header-container {
    width: 100%;
}

.site-header .branding-widget-container {
    width: 100% !important;
    align-items: center !important;
    gap: 20px;
}

/* Logo à esquerda: logo menor, widget ocupa o restante */
.site-header.logo-left .branding-widget-container,
.branding-widget-container.align-left {
    display: flex !important;
    justify-content: flex-start !important;
}

.site-header.logo-left .branding,
.branding-widget-container.align-left .branding {
    order: 1 !important;
    flex: 0 0 auto !important;
    max-width: 280px;
    margin: 0 20px 0 0 !important;
}

.site-header.logo-left .header-inline-widget-container,
.branding-widget-container.align-left .header-inline-widget-container {
    order: 2 !important;
    flex: 1 1 auto !important;
    min-width: 0;
    justify-content: flex-end !important;
}

/* Logo à direita */
.site-header.logo-right .branding-widget-container,
.branding-widget-container.align-right {
    display: flex !important;
    justify-content: flex-start !important;
}

.site-header.logo-right .branding,
.branding-widget-container.align-right .branding {
    order: 2 !important;
    flex: 0 0 auto !important;
    max-width: 280px;
    margin: 0 0 0 20px !important;
}

.site-header.logo-right .header-inline-widget-container,
.branding-widget-container.align-right .header-inline-widget-container {
    order: 1 !important;
    flex: 1 1 auto !important;
    min-width: 0;
    justify-content: flex-start !important;
}

/* Logo centralizada de verdade */
.site-header.logo-center .branding-widget-container,
.branding-widget-container.align-center {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    align-items: center !important;
    gap: 20px;
}

.site-header.logo-center .branding,
.branding-widget-container.align-center .branding {
    grid-column: 2 !important;
    justify-self: center !important;
    order: initial !important;
    flex: initial !important;
    max-width: 280px;
    margin: 0 !important;
}

.site-header.logo-center .header-inline-widget-container,
.branding-widget-container.align-center .header-inline-widget-container {
    grid-column: 3 !important;
    justify-self: stretch !important;
    justify-content: flex-end !important;
    order: initial !important;
    flex: initial !important;
    min-width: 0;
}

.site-header .site-logo img,
.site-header .custom-logo {
    max-width: 100%;
    height: auto;
}

/* ---------- Header inline widget position ---------- */
.site-header.widget-left .header-inline-widget-container,
.header-inline-widget-container.align-left {
    justify-content: flex-start !important;
}

.site-header.widget-center .header-inline-widget-container,
.header-inline-widget-container.align-center {
    justify-content: center !important;
}

.site-header.widget-right .header-inline-widget-container,
.header-inline-widget-container.align-right {
    justify-content: flex-end !important;
}

/* ---------- Menu position ---------- */
.site-header .menu-widget-container {
    display: flex !important;
    align-items: center !important;
    width: 100%;
    flex-wrap: nowrap !important;
    overflow: visible !important;
}

.site-header .menu-widget-container .menu-toggle {
    flex: 0 0 auto;
}

.site-header .menu-widget-container .main-navigation {
    flex: 1 1 auto !important;
    max-width: none !important;
    width: auto !important;
    display: flex !important;
    overflow: visible !important;
}

.site-header .menu-widget-container .header-widget,
.site-header .menu-widget-container .header-datetime {
    flex: 0 0 auto;
}

.site-header.menu-left .main-navigation,
.menu-widget-container.align-left .main-navigation {
    justify-content: flex-start !important;
}

.site-header.menu-center .main-navigation,
.menu-widget-container.align-center .main-navigation {
    justify-content: center !important;
}

.site-header.menu-right .main-navigation,
.menu-widget-container.align-right .main-navigation {
    justify-content: flex-end !important;
}

.site-header.menu-left .main-navigation .menu,
.menu-widget-container.align-left .main-navigation .menu {
    justify-content: flex-start !important;
}

.site-header.menu-center .main-navigation .menu,
.menu-widget-container.align-center .main-navigation .menu {
    justify-content: center !important;
}

.site-header.menu-right .main-navigation .menu,
.menu-widget-container.align-right .main-navigation .menu {
    justify-content: flex-end !important;
}

/* ---------- Dropdown do menu principal ---------- */
.site-header .main-navigation,
.site-header .main-navigation .menu,
.menu-widget-container,
.menu-widget-container .main-navigation {
    overflow: visible !important;
}

.menu-widget-container .main-navigation .menu {
    position: relative;
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 18px;
    margin: 0;
    padding: 0;
}

.menu-widget-container .main-navigation .menu > li,
.menu-widget-container .main-navigation .menu li {
    position: relative !important;
    list-style: none;
}

.menu-widget-container .main-navigation .menu ul.sub-menu {
    display: none !important;
    position: absolute !important;
    top: 100%;
    left: 0;
    z-index: 10050;
    min-width: 220px;
    margin: 0;
    padding: 8px 0;
    background: var(--pn-secondary, #e65100);
    box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.menu-widget-container .main-navigation .menu li:hover > ul.sub-menu,
.menu-widget-container .main-navigation .menu li:focus-within > ul.sub-menu {
    display: block !important;
}

.menu-widget-container .main-navigation .menu ul.sub-menu li {
    display: block;
    width: 100%;
    margin: 0;
}

.menu-widget-container .main-navigation .menu ul.sub-menu li a {
    display: block;
    padding: 10px 16px;
    color: var(--pn-menu-text, #ffffff) !important;
    white-space: nowrap;
    transform: none !important;
}

.menu-widget-container .main-navigation .menu ul.sub-menu li a:hover {
    background: rgba(255,255,255,0.15);
    color: var(--pn-menu-text, #ffffff) !important;
    transform: none !important;
}

/* ---------- Dropdown do Sticky Header ---------- */
.pn-sticky-header,
.pn-sticky-menu,
.pn-sticky-menu .sticky-navigation,
.pn-sticky-menu .sticky-menu {
    overflow: visible !important;
}

.pn-sticky-menu .sticky-menu {
    position: relative;
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pn-sticky-menu .sticky-menu > li,
.pn-sticky-menu .sticky-menu li {
    position: relative !important;
    list-style: none;
}

.pn-sticky-menu .sticky-menu ul.sub-menu {
    display: none !important;
    position: absolute !important;
    top: 100%;
    left: 0;
    z-index: 10060;
    min-width: 220px;
    margin: 0;
    padding: 8px 0;
    background: var(--pn-secondary, #e65100);
    box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.pn-sticky-menu .sticky-menu li:hover > ul.sub-menu,
.pn-sticky-menu .sticky-menu li:focus-within > ul.sub-menu {
    display: block !important;
}

.pn-sticky-menu .sticky-menu ul.sub-menu li a {
    display: block;
    padding: 10px 16px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.pn-sticky-menu .sticky-menu ul.sub-menu li a:hover {
    background: rgba(255,255,255,0.15);
    opacity: 1;
}

/* ---------- Padronização do sistema de cores em widgets ---------- */
body,
.content-left,
.content-right,
.sidebar,
.widget,
.latest-news-custom-grid-item,
.latest-news-grid-horizontal-item,
.post-item,
.rio-paraguai-card {
    color: var(--pn-text, #222222);
}

.content-left,
.content-right,
.sidebar,
.widget,
.latest-news-custom-grid-item,
.latest-news-grid-horizontal-item,
.post-item,
.rio-paraguai-card {
    background: var(--pn-surface, #ffffff);
    border-color: var(--pn-border, #e5e5e5);
}

.widget h3,
.widget-title,
.coluna-esquerda > h3,
.coluna-direita > h3,
.coluna-esquerda-2 > h3,
.coluna-direita-2 > h3,
.coluna-esquerda-3 > h3,
.coluna-direita-3 > h3,
.coluna-esquerda-4 > h3,
.coluna-direita-4 > h3,
.sidebar > h3,
.banner-widget > h3,
.latest-news-title,
.entry-title a,
.rio-paraguai-local,
.rio-paraguai-altura,
.rio-paraguai-data-unique,
.latest-news-custom-grid-title a,
.latest-news-grid-horizontal-title a {
    color: var(--pn-primary, #03A250) !important;
}

.widget h3,
.widget-title,
.coluna-esquerda > h3,
.coluna-direita > h3,
.coluna-esquerda-2 > h3,
.coluna-direita-2 > h3,
.coluna-esquerda-3 > h3,
.coluna-direita-3 > h3,
.coluna-esquerda-4 > h3,
.coluna-direita-4 > h3,
.sidebar > h3,
.banner-widget > h3 {
    border-bottom-color: var(--pn-primary, #03A250) !important;
}

.coluna-esquerda > h3::after,
.coluna-direita > h3::after,
.coluna-esquerda-2 > h3::after,
.coluna-direita-2 > h3::after,
.coluna-esquerda-3 > h3::after,
.coluna-direita-3 > h3::after,
.coluna-esquerda-4 > h3::after,
.coluna-direita-4 > h3::after,
.sidebar > h3::after,
.banner-widget > h3::after,
.post-number,
.latest-news-grid-badge {
    background: var(--pn-primary, #03A250) !important;
}

a:hover,
.entry-title a:hover,
.latest-news-custom-grid-title a:hover,
.latest-news-grid-horizontal-title a:hover,
.latest-news-link:hover .latest-news-title {
    color: var(--pn-secondary, #027a3d) !important;
}

.rio-paraguai-card {
    border-left-color: var(--pn-primary, #03A250) !important;
}

.rio-paraguai-observacao,
.latest-news-excerpt {
    color: color-mix(in srgb, var(--pn-text, #222222) 70%, #777 30%);
}

.site-footer,
footer {
    background: var(--pn-secondary, #027a3d) !important;
}

.pn-sticky-header {
    background: var(--pn-surface, #ffffff) !important;
    border-bottom-color: var(--pn-border, #e5e5e5) !important;
}

.pn-sticky-menu .sticky-menu li a,
.pn-sticky-datetime,
.header-datetime {
    color: var(--pn-primary, #03A250);
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    .site-header.logo-left .branding-widget-container,
    .site-header.logo-center .branding-widget-container,
    .site-header.logo-right .branding-widget-container,
    .branding-widget-container.align-left,
    .branding-widget-container.align-center,
    .branding-widget-container.align-right {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .site-header .branding,
    .site-header .header-inline-widget-container {
        order: initial !important;
        margin: 0 !important;
        max-width: 100%;
        width: 100%;
        justify-content: center !important;
    }

    .site-header .menu-widget-container {
        flex-wrap: wrap !important;
    }

    .menu-widget-container .main-navigation .menu {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .menu-widget-container .main-navigation .menu ul.sub-menu {
        position: static !important;
        width: 100%;
        min-width: 0;
        box-shadow: none;
        margin-top: 4px;
    }

    .pn-sticky-menu,
    .pn-sticky-inline-widget {
        display: none !important;
    }

    .pn-sticky-header-inner {
        flex-direction: row !important;
        min-height: 44px;
        padding: 4px 10px !important;
    }
}


/* =========================================================
   PORTALNEWS 1.3.5 - CONSOLIDAÇÃO SEM RETROCESSOS
   Top Bar, layout, dropdowns, posições e widgets
========================================================= */

/* ---------- Top Bar ---------- */
.portalnews-top-bar {
    width: 100%;
    background: var(--pn-secondary, #111111);
    color: #ffffff;
    font-size: 13px;
    line-height: 1.4;
}

.portalnews-top-bar-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 6px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.portalnews-top-bar-left,
.portalnews-top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.portalnews-top-bar-right {
    justify-content: flex-end;
    flex-wrap: wrap;
}

.portalnews-top-bar a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.portalnews-top-bar a:hover {
    color: var(--pn-accent, #ffb74d);
}

.portalnews-top-bar .widget,
.portalnews-top-bar .top-bar-widget {
    margin: 0;
}

.portalnews-top-bar-datetime,
.portalnews-top-bar .header-datetime {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

/* ---------- Layout principal e sidebar ---------- */
.container {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 20px;
    padding: 20px;
    align-items: start;
}

.main-content-area {
    min-width: 0;
}

.sidebar {
    width: 300px;
    min-width: 300px;
    align-self: start;
}

.layout {
    display: grid;
    grid-template-columns: minmax(0, 61%) minmax(0, 39%);
    gap: 20px;
    grid-column: 1;
}

.layout.layout-single {
    grid-template-columns: 1fr;
}

.layout.layout-single .content-left,
.layout.layout-single .content-right {
    width: 100%;
}

/* ---------- Header: posições do Customizer ---------- */
.site-header {
    max-width: 1360px;
    margin: 0 auto;
    background: var(--pn-surface, #ffffff);
    border-bottom: 1px solid var(--pn-border, #dddddd);
    overflow: visible;
}

.site-header .header-container {
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    overflow: visible;
}

.site-header .branding-widget-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: visible;
}

.site-header .branding {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    max-width: 280px;
    min-width: 160px;
}

.site-header .site-logo img,
.site-header .custom-logo {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
}

.site-header .header-inline-widget-container {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}

/* Logo à esquerda */
.site-header.logo-left .branding-widget-container {
    justify-content: flex-start !important;
}

.site-header.logo-left .branding {
    order: 1;
    margin-right: 20px;
}

.site-header.logo-left .header-inline-widget-container {
    order: 2;
}

/* Logo à direita */
.site-header.logo-right .branding-widget-container {
    justify-content: flex-start !important;
}

.site-header.logo-right .branding {
    order: 2;
    margin-left: 20px;
    margin-right: 0;
}

.site-header.logo-right .header-inline-widget-container {
    order: 1;
}

/* Logo centralizada */
.site-header.logo-center .branding-widget-container {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
}

.site-header.logo-center .branding {
    grid-column: 2;
    justify-self: center;
    margin: 0;
    order: initial;
}

.site-header.logo-center .header-inline-widget-container {
    grid-column: 3;
    justify-self: stretch;
    order: initial;
}

/* Posição do header inline */
.site-header.widget-left .header-inline-widget-container,
.header-inline-widget-container.align-left {
    justify-content: flex-start !important;
}

.site-header.widget-center .header-inline-widget-container,
.header-inline-widget-container.align-center {
    justify-content: center !important;
}

.site-header.widget-right .header-inline-widget-container,
.header-inline-widget-container.align-right {
    justify-content: flex-end !important;
}

/* ---------- Menu normal ---------- */
.site-header .menu-widget-container {
    display: flex !important;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap !important;
    overflow: visible !important;
    background: linear-gradient(135deg, var(--pn-primary, #03A250) 0%, var(--pn-secondary, #027a3d) 100%);
    border-radius: 0 !important;
}

.site-header .menu-widget-container .main-navigation {
    flex: 1 1 auto !important;
    display: flex !important;
    max-width: none !important;
    width: auto !important;
    overflow: visible !important;
}

.site-header.menu-left .main-navigation,
.menu-widget-container.align-left .main-navigation {
    justify-content: flex-start !important;
}

.site-header.menu-center .main-navigation,
.menu-widget-container.align-center .main-navigation {
    justify-content: center !important;
}

.site-header.menu-right .main-navigation,
.menu-widget-container.align-right .main-navigation {
    justify-content: flex-end !important;
}

.menu-widget-container .main-navigation .menu {
    position: relative;
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 18px;
    margin: 0;
    padding: 0;
    overflow: visible !important;
}

.menu-widget-container .main-navigation .menu li {
    position: relative !important;
    list-style: none;
    margin: 0;
}

.menu-widget-container .main-navigation .menu li a {
    color: var(--pn-menu-text, #ffffff) !important;
    font-weight: 700;
    padding: 8px 10px;
    display: block;
    text-decoration: none;
    border-radius: 0 !important;
}

/* Dropdown do menu principal */
.site-header,
.site-header .header-container,
.site-header .menu-widget-container,
.site-header .main-navigation,
.menu-widget-container .main-navigation .menu {
    overflow: visible !important;
}

.menu-widget-container .main-navigation .menu ul.sub-menu {
    display: none !important;
    position: absolute !important;
    top: 100%;
    left: 0;
    z-index: 10050;
    min-width: 220px;
    margin: 0;
    padding: 8px 0;
    background: var(--pn-secondary, #027a3d);
    box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.menu-widget-container .main-navigation .menu li:hover > ul.sub-menu,
.menu-widget-container .main-navigation .menu li:focus-within > ul.sub-menu {
    display: block !important;
}

.menu-widget-container .main-navigation .menu ul.sub-menu li {
    display: block;
    width: 100%;
}

.menu-widget-container .main-navigation .menu ul.sub-menu li a {
    display: block;
    padding: 10px 16px;
    color: #ffffff !important;
    white-space: nowrap;
    transform: none !important;
}

.menu-widget-container .main-navigation .menu ul.sub-menu li a:hover {
    background: rgba(255,255,255,0.15);
    color: #ffffff !important;
}

/* ---------- Sticky header e dropdown ---------- */
.pn-sticky-header,
.pn-sticky-menu,
.pn-sticky-menu .sticky-navigation,
.pn-sticky-menu .sticky-menu {
    overflow: visible !important;
}

.pn-sticky-menu .sticky-menu {
    position: relative;
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pn-sticky-menu .sticky-menu li {
    position: relative !important;
    list-style: none;
}

.pn-sticky-menu .sticky-menu ul.sub-menu {
    display: none !important;
    position: absolute !important;
    top: 100%;
    left: 0;
    z-index: 10060;
    min-width: 220px;
    margin: 0;
    padding: 8px 0;
    background: var(--pn-secondary, #027a3d);
    box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.pn-sticky-menu .sticky-menu li:hover > ul.sub-menu,
.pn-sticky-menu .sticky-menu li:focus-within > ul.sub-menu {
    display: block !important;
}

.pn-sticky-menu .sticky-menu ul.sub-menu li a {
    display: block;
    padding: 10px 16px;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

/* Sticky mobile super compacto */
@media (max-width: 768px) {
    .pn-sticky-header {
        top: -80px;
    }

    .pn-sticky-header-inner {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        padding: 4px 10px !important;
        min-height: 44px !important;
    }

    .pn-sticky-logo {
        max-width: 120px !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;
    }

    .pn-sticky-logo img,
    .pn-sticky-logo .custom-logo {
        max-height: 36px !important;
        width: auto !important;
    }

    .pn-sticky-menu,
    .pn-sticky-inline-widget {
        display: none !important;
    }

    .pn-sticky-datetime,
    .header-datetime {
        font-size: 10px;
        line-height: 1.1;
        white-space: normal;
        text-align: right;
        max-width: 190px;
        flex: 1;
    }
}

/* ---------- Widgets e sistema de cores ---------- */
.content-left,
.content-right,
.sidebar,
.widget,
.latest-news-custom-grid-item,
.latest-news-grid-horizontal-item,
.post-item,
.rio-paraguai-card {
    background: var(--pn-surface, #ffffff);
    border-color: var(--pn-border, #e5e5e5);
    color: var(--pn-text, #222222);
}

.widget h3,
.widget-title,
.coluna-esquerda > h3,
.coluna-direita > h3,
.coluna-esquerda-2 > h3,
.coluna-direita-2 > h3,
.coluna-esquerda-3 > h3,
.coluna-direita-3 > h3,
.coluna-esquerda-4 > h3,
.coluna-direita-4 > h3,
.sidebar > h3,
.banner-widget > h3,
.latest-news-title,
.entry-title a,
.rio-paraguai-local,
.rio-paraguai-altura,
.rio-paraguai-unidade,
.rio-paraguai-data-unique,
.latest-news-custom-grid-title a,
.latest-news-grid-horizontal-title a {
    color: var(--pn-primary, #03A250) !important;
}

.widget h3,
.widget-title,
.coluna-esquerda > h3,
.coluna-direita > h3,
.coluna-esquerda-2 > h3,
.coluna-direita-2 > h3,
.coluna-esquerda-3 > h3,
.coluna-direita-3 > h3,
.coluna-esquerda-4 > h3,
.coluna-direita-4 > h3,
.sidebar > h3,
.banner-widget > h3 {
    border-bottom-color: var(--pn-primary, #03A250) !important;
}

.coluna-esquerda > h3::after,
.coluna-direita > h3::after,
.coluna-esquerda-2 > h3::after,
.coluna-direita-2 > h3::after,
.coluna-esquerda-3 > h3::after,
.coluna-direita-3 > h3::after,
.coluna-esquerda-4 > h3::after,
.coluna-direita-4 > h3::after,
.sidebar > h3::after,
.banner-widget > h3::after,
.post-number,
.latest-news-grid-badge {
    background: var(--pn-primary, #03A250) !important;
}

/* ---------- Rio Paraguai estilo portal, sem gráfico e sem label ---------- */
.rio-paraguai-data-unique {
    margin: 0 0 12px;
    color: var(--pn-primary, #03A250);
    font-size: 13px;
    font-weight: 800;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.rio-paraguai-cards.rio-paraguai-portal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
    margin: 0;
}

.rio-paraguai-portal .rio-paraguai-card {
    position: relative;
    background: var(--pn-surface, #ffffff);
    border: 1px solid var(--pn-border, #e5e5e5);
    border-top: 4px solid var(--pn-primary, #03A250);
    border-left: 1px solid var(--pn-border, #e5e5e5) !important;
    border-radius: 0;
    padding: 12px 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: box-shadow .2s ease, transform .2s ease;
}

.rio-paraguai-portal .rio-paraguai-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,.11);
}

.rio-paraguai-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.rio-paraguai-local {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.15;
}

.rio-paraguai-card-main {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 4px;
}

.rio-paraguai-altura {
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
}

.rio-paraguai-unidade {
    font-size: 17px;
    font-weight: 800;
}

.rio-paraguai-observacao {
    color: color-mix(in srgb, var(--pn-text, #222222) 70%, #777 30%);
    font-size: 13px;
    line-height: 1.3;
    margin: 0;
    padding-top: 6px;
    border-top: 1px solid var(--pn-border, #e5e5e5);
}

.rio-paraguai-label,
.rio-paraguai-bar-container,
.rio-paraguai-bar {
    display: none !important;
}

/* ---------- Slider Banner Section ---------- */
.slider-banner {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 420px;
    border-radius: 0;
    background: #000;
}

.slider-banner .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    overflow: hidden;
    background: #000;
    color: #fff;
}

.slider-banner .slide.active {
    opacity: 1;
    z-index: 2;
}

.slider-banner .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 6s ease;
}

.slider-banner .slide.active img {
    transform: scale(1.05);
}

.slider-banner .slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.10) 100%);
    z-index: 1;
}

.slide-title {
    position: absolute;
    left: 28px;
    bottom: 28px;
    z-index: 3;
    max-width: 78%;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    text-shadow: 0 3px 12px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.4);
}

.slide-title a {
    color: #ffffff !important;
    text-decoration: none;
}

/* ---------- Responsivo geral ---------- */
@media (max-width: 991px) {
    .container {
        grid-template-columns: 1fr;
    }

    .sidebar {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .portalnews-top-bar-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 4px;
        padding: 5px 12px;
    }

    .portalnews-top-bar-left,
    .portalnews-top-bar-right {
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
    }

    .portalnews-top-bar-datetime,
    .portalnews-top-bar .header-datetime {
        white-space: normal;
        font-size: 12px;
    }

    .site-header .branding-widget-container,
    .site-header.logo-center .branding-widget-container {
        display: flex !important;
        flex-direction: column;
        justify-content: center !important;
        align-items: center !important;
    }

    .site-header .branding,
    .site-header .header-inline-widget-container {
        order: initial !important;
        margin: 0 !important;
        max-width: 100%;
        width: 100%;
        justify-content: center !important;
    }

    .site-header .menu-widget-container {
        flex-wrap: wrap !important;
    }

    .menu-widget-container .main-navigation .menu {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    .menu-widget-container .main-navigation .menu ul.sub-menu {
        position: static !important;
        width: 100%;
        min-width: 0;
        box-shadow: none;
        margin-top: 4px;
    }

    .slider-banner {
        height: 260px;
    }

    .slide-title {
        font-size: 18px;
        line-height: 1.3;
        left: 16px;
        bottom: 16px;
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .slider-banner {
        height: 220px;
    }

    .slide-title {
        font-size: 16px;
        left: 12px;
        bottom: 12px;
    }
}

/* =========================================
   ÚLTIMAS NOTÍCIAS
========================================= */

.ultimas-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 30px;
}

/* CARD */
.ultimas-card {
    background: #fff;
    border: 1px solid var(--pn-border, #e5e5e5);
    overflow: hidden;
    transition: all 0.25s ease;
}

.ultimas-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

/* THUMB */
.ultimas-card-thumb {
    display: block;
    overflow: hidden;
}

.ultimas-card-thumb img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ultimas-card:hover .ultimas-card-thumb img {
    transform: scale(1.04);
}

/* CONTEÚDO */
.ultimas-card-content {
    padding: 14px;
}

/* DATA */
.ultimas-card-date {
    color: var(--pn-primary, #f57c00);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* TÍTULO */
.ultimas-card-title {
    margin: 0;
    line-height: 1.3;
}

.ultimas-card-title a {
    color: var(--pn-text, #222);
    text-decoration: none;
    font-size: 20px;
    font-weight: 800;
    transition: color 0.25s ease;
}

.ultimas-card-title a:hover {
    color: var(--pn-primary, #f57c00);
}

/* TABLET */
@media (max-width: 1024px) {

    .ultimas-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ultimas-card-thumb img {
        height: 210px;
    }

    .ultimas-card-title a {
        font-size: 18px;
    }
}

/* MOBILE */
@media (max-width: 768px) {

    .ultimas-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ultimas-card-thumb img {
        height: 220px;
    }

    .ultimas-card-title a {
        font-size: 17px;
    }
}

/* =========================================
   BOTÃO ÚLTIMAS NOTÍCIAS
========================================= */

.ultimas-noticias-button-wrap {
    margin-top: 20px;
    text-align: center;
}

.ultimas-noticias-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 22px;

    background: linear-gradient(
        135deg,
        var(--pn-primary, #f57c00) 0%,
        var(--pn-secondary, #e65100) 100%
    );

    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .4px;

    border-radius: 4px;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        opacity .25s ease;

    box-shadow: 0 4px 14px rgba(0,0,0,.12);
}

.ultimas-noticias-button:hover {
    transform: translateY(-2px);
    opacity: .95;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

/* =========================================
   PORTALNEWS FALLBACK IMAGE / STABLE CARDS
========================================= */

.post-thumbnail,
.latest-news-thumb,
.latest-news-grid-thumb,
.latest-news-custom-grid-thumb,
.latest-news-grid-horizontal-thumb,
.ultimas-card-thumb,
.category-post-thumbnail,
.slider-banner .slide {
    background: #f2f2f2;
}

.latest-news-thumb img,
.latest-news-grid-thumb img,
.latest-news-custom-grid-thumb img,
.latest-news-grid-horizontal-thumb img,
.ultimas-card-thumb img,
.category-post-thumbnail img,
.slider-banner .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Proporção estável para reduzir quebra de layout e CLS */
.latest-news-grid-thumb,
.latest-news-custom-grid-thumb,
.ultimas-card-thumb,
.category-post-thumbnail {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

img[src*="no-image.jpg"] {
    background: #f2f2f2;
}


/* =========================================
   LATEST NEWS WIDGET - IMAGE SIZE CONTROL
========================================= */

.latest-news-widget .latest-news-item {
    align-items: flex-start;
}

.latest-news-widget .latest-news-thumb {
    flex: 0 0 var(--ln-img-w, 72px);
    width: var(--ln-img-w, 72px);
    height: var(--ln-img-h, 72px);
    overflow: hidden;
    border-radius: 6px;
    background: #f2f2f2;
    display: block;
}

.latest-news-widget .latest-news-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.latest-news-widget .latest-news-content {
    min-width: 0;
}

/* =========================================
   BOTÃO COPA 2026 PREMIUM
========================================= */

.copa-mini-wrap {
    margin: 8px 0;
    display: flex;
    justify-content: center;
}

.copa-mini-btn {

    position: relative;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 8px 14px;

    border-radius: 999px;

    text-decoration: none;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #0072ce 0%,
            #0057b8 100%
        );

    border: 2px solid rgba(255,255,255,0.18);

    box-shadow:
        0 4px 14px rgba(0,0,0,0.18);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

/* brilho animado */

.copa-mini-btn::before {

    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background:
        linear-gradient(
            120deg,
            rgba(255,255,255,0) 0%,
            rgba(255,255,255,0.28) 50%,
            rgba(255,255,255,0) 100%
        );

    transition: left .7s ease;
}

/* hover */

.copa-mini-btn:hover {

    transform: translateY(-2px);

    border-color: #f4c400;

    box-shadow:
        0 8px 22px rgba(0,0,0,0.24);
}

.copa-mini-btn:hover::before {
    left: 130%;
}

/* logo */

.copa-mini-logo {

    width: 32px !important;
    height: 32px !important;

    min-width: 32px !important;
    max-width: 32px !important;

    min-height: 32px !important;
    max-height: 32px !important;

    object-fit: contain;

    display: block;

    flex: 0 0 32px !important;

    filter:
        drop-shadow(0 2px 6px rgba(0,0,0,.25));
}

/* textos */

.copa-mini-info {

    display: flex;
    flex-direction: column;

    line-height: 1.05;
}

.copa-mini-info strong {

    color: #ffffff;

    font-size: 14px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .3px;
}

.copa-mini-info small {

    color: rgba(255,255,255,.82);

    font-size: 10px;
    font-weight: 600;
}

/* mobile */

@media (max-width: 768px) {

    .copa-mini-btn {

        padding: 6px 10px;

        gap: 7px;

        border-radius: 12px;
    }

    .copa-mini-logo {

        width: 24px !important;
        height: 24px !important;

        min-width: 24px !important;
        max-width: 24px !important;

        min-height: 24px !important;
        max-height: 24px !important;

        flex: 0 0 24px !important;
    }

    .copa-mini-info strong {
        font-size: 11px;
    }

    .copa-mini-info small {
        display: none;
    }
}

/* =========================================================
   PORTALNEWS - PADRONIZAÇÃO FORTE DE WIDGETS
   Aplicado no final para sobrescrever regras anteriores.
========================================================= */

/* ===============================
   SLIDER BANNER SECTION - TÍTULO MAIOR
=============================== */

.slider-banner .slide-title,
.slider-banner .slide-title a,
.slider-banner-section .slide-title,
.slider-banner-section .slide-title a,
.slider-banner .entry-title,
.slider-banner .entry-title a,
.slider-widget .entry-title,
.slider-widget .entry-title a {
    color: #ffffff !important;
    font-size: 42px !important;
    font-weight: 900 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.6px !important;
    text-decoration: none !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-shadow: 0 4px 16px rgba(0,0,0,0.70), 0 1px 2px rgba(0,0,0,0.65) !important;
}

.slider-banner .slide-title {
    max-width: 84% !important;
    left: 30px !important;
    bottom: 30px !important;
}

/* deixa o overlay mais elegante para leitura */
.slider-banner .slide::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.82) 0%,
        rgba(0,0,0,0.42) 45%,
        rgba(0,0,0,0.08) 100%
    ) !important;
    z-index: 1 !important;
}

.slider-banner .slide-title {
    z-index: 3 !important;
}

@media (max-width: 1024px) {
    .slider-banner .slide-title,
    .slider-banner .slide-title a,
    .slider-banner-section .slide-title,
    .slider-banner-section .slide-title a,
    .slider-banner .entry-title,
    .slider-banner .entry-title a,
    .slider-widget .entry-title,
    .slider-widget .entry-title a {
        font-size: 32px !important;
    }

    .slider-banner .slide-title {
        left: 22px !important;
        bottom: 24px !important;
        max-width: 88% !important;
    }
}

@media (max-width: 768px) {
    .slider-banner .slide-title,
    .slider-banner .slide-title a,
    .slider-banner-section .slide-title,
    .slider-banner-section .slide-title a,
    .slider-banner .entry-title,
    .slider-banner .entry-title a,
    .slider-widget .entry-title,
    .slider-widget .entry-title a {
        font-size: 22px !important;
        line-height: 1.18 !important;
    }

    .slider-banner .slide-title {
        left: 16px !important;
        bottom: 16px !important;
        max-width: 92% !important;
    }
}

@media (max-width: 480px) {
    .slider-banner .slide-title,
    .slider-banner .slide-title a,
    .slider-banner-section .slide-title,
    .slider-banner-section .slide-title a,
    .slider-banner .entry-title,
    .slider-banner .entry-title a,
    .slider-widget .entry-title,
    .slider-widget .entry-title a {
        font-size: 18px !important;
    }
}


/* ===============================
   LATEST NEWS - VISUAL MAIS LIDAS
=============================== */

.latest-news-widget {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.latest-news-widget .latest-news-item {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin: 0 !important;
    padding: 10px !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: var(--pn-surface, #ffffff) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    transition: transform .25s ease, box-shadow .25s ease !important;
}

.latest-news-widget .latest-news-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 7px 18px rgba(0,0,0,0.14) !important;
}

.latest-news-widget .latest-news-thumb {
    flex: 0 0 var(--ln-img-w, 120px) !important;
    width: var(--ln-img-w, 120px) !important;
    height: var(--ln-img-h, 80px) !important;
    min-width: var(--ln-img-w, 120px) !important;
    overflow: hidden !important;
    border-radius: 6px !important;
    background: #f2f2f2 !important;
    display: block !important;
}

.latest-news-widget .latest-news-thumb img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
}

.latest-news-widget .latest-news-content {
    flex: 1 !important;
    min-width: 0 !important;
}

.latest-news-widget .latest-news-link,
.latest-news-widget .latest-news-link:visited,
.latest-news-widget .latest-news-link:hover,
.latest-news-widget .latest-news-title,
.latest-news-widget .latest-news-title:hover {
    text-decoration: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.latest-news-widget .latest-news-title {
    display: block !important;
    margin: 0 !important;
    color: var(--pn-primary, #03A250) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}

.latest-news-widget .latest-news-link:hover .latest-news-title {
    color: var(--pn-secondary, #027a3d) !important;
}

.latest-news-widget .latest-news-excerpt {
    margin-top: 5px !important;
    color: #666 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
}

/* remove sublinhado global dentro de widgets */
.widget .latest-news-widget a,
.widget .latest-news-widget a:hover,
.widget .latest-news-widget a:focus {
    text-decoration: none !important;
}

/* mobile */
@media (max-width: 600px) {
    .latest-news-widget .latest-news-item {
        gap: 10px !important;
        padding: 8px !important;
    }

    .latest-news-widget .latest-news-thumb {
        flex-basis: 96px !important;
        width: 96px !important;
        height: 68px !important;
        min-width: 96px !important;
    }

    .latest-news-widget .latest-news-title {
        font-size: 14px !important;
    }

    .latest-news-widget .latest-news-excerpt {
        display: none !important;
    }
}


/* ===============================
   CABEÇALHOS DE WIDGETS - PADRÃO PORTALNEWS
=============================== */

.widget > h3,
.widget-title,
.sidebar .widget > h3,
.content-left .widget > h3,
.content-right .widget > h3 {
    position: relative !important;
    margin: 0 0 14px !important;
    padding: 0 0 8px !important;
    color: var(--pn-primary, #03A250) !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    letter-spacing: .35px !important;
    border-bottom: 2px solid var(--pn-primary, #03A250) !important;
}

.widget > h3::after,
.widget-title::after,
.sidebar .widget > h3::after,
.content-left .widget > h3::after,
.content-right .widget > h3::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    bottom: -2px !important;
    width: 46px !important;
    height: 2px !important;
    background: var(--pn-secondary, #027a3d) !important;
}

@media (max-width: 991px) {

    .container {
        display: flex !important;
        flex-direction: column !important;
    }

    .main-content-area {
        display: contents !important;
    }

    .home-sidebar {
        order: 1 !important;
    }

    .home-layout-1 {
        order: 2 !important;
    }

    .home-banner-1 {
        order: 3 !important;
    }

    .home-layout-2 {
        order: 4 !important;
    }

    .home-banner-2 {
        order: 5 !important;
    }

    .home-layout-3 {
        order: 6 !important;
    }

    .home-banner-3 {
        order: 7 !important;
    }

    .home-layout-4 {
        order: 8 !important;
    }

    .home-banner-4 {
        order: 9 !important;
    }
}

/* =========================================
   WIDGETS EMPILHADOS NO TABLET/MOBILE
========================================= */

@media (max-width: 991px) {

    .content-left,
    .content-right {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
    }

    .content-left > .widget,
    .content-right > .widget {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
    }

    .layout {
        grid-template-columns: 1fr !important;
    }
}




/* =========================================
   PORTALNEWS REDES SOCIAIS
========================================= */

.portalnews-social-links {
    width: 100%;
}

.portalnews-social-title {
    margin: 0 0 12px !important;
    color: var(--pn-primary, #03A250) !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-transform: uppercase;
    letter-spacing: .35px;
}

.portalnews-social-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.portalnews-social-item {
    --social-bg: var(--pn-primary, #03A250);

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-width: 42px;
    height: 42px;
    padding: 0 12px;

    background: var(--social-bg);
    color: #ffffff !important;

    text-decoration: none !important;
    border: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,.12);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        opacity .22s ease;
}

.portalnews-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 18px;
    height: 18px;

    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

.portalnews-social-name {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.portalnews-social-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(0,0,0,.18);
    opacity: .95;
    color: #ffffff !important;
}

/* Estilos */
.portalnews-social-circle .portalnews-social-item {
    border-radius: 999px;
}

.portalnews-social-square .portalnews-social-item {
    border-radius: 8px;
}

.portalnews-social-simple .portalnews-social-item {
    min-width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    color: var(--pn-primary, #03A250) !important;
    box-shadow: none;
}

.portalnews-social-simple .portalnews-social-icon,
.portalnews-social-simple .portalnews-social-name {
    color: var(--pn-primary, #03A250) !important;
}

.portalnews-social-simple .portalnews-social-item:hover {
    color: var(--pn-secondary, #027a3d) !important;
    box-shadow: none;
}

/* Cores por rede */
.portalnews-social-facebook { --social-bg: #1877f2; }
.portalnews-social-instagram { --social-bg: #e4405f; }
.portalnews-social-x { --social-bg: #111111; }
.portalnews-social-youtube { --social-bg: #ff0000; }
.portalnews-social-tiktok { --social-bg: #111111; }
.portalnews-social-linkedin { --social-bg: #0a66c2; }
.portalnews-social-whatsapp { --social-bg: #25d366; }
.portalnews-social-telegram { --social-bg: #229ed9; }
.portalnews-social-threads { --social-bg: #111111; }

/* Top Bar */
.portalnews-top-bar .portalnews-social-title {
    display: none;
}

.portalnews-top-bar .portalnews-social-list {
    gap: 7px;
}

.portalnews-top-bar .portalnews-social-item {
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    box-shadow: none;
}

.portalnews-top-bar .portalnews-social-icon {
    font-size: 12px;
}

/* Header inline */
.header-inline-widget-container .portalnews-social-list {
    justify-content: flex-end;
}

/* Sidebar */
.sidebar .portalnews-social-list {
    justify-content: flex-start;
}

/* Mobile */
@media (max-width: 768px) {
    .portalnews-social-list {
        justify-content: center;
        gap: 8px;
    }

    .portalnews-social-item {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
    }

    .portalnews-social-icon {
        font-size: 13px;
    }

    .portalnews-social-name {
        font-size: 12px;
    }

    .header-inline-widget-container .portalnews-social-list,
    .sidebar .portalnews-social-list {
        justify-content: center;
    }
}

@media (max-width: 420px) {
    .portalnews-social-item {
        min-width: 34px;
        height: 34px;
        padding: 0 9px;
    }

    .portalnews-social-name {
        display: none;
    }
}



/* =========================================
   PORTALNEWS HERO DESTAQUES
========================================= */

.portalnews-hero-destaques {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    grid-template-rows: repeat(var(--pnh-secondary-count, 4), minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    margin: 0 0 24px;
}

.portalnews-hero-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #111;
    border-radius: 10px;
}

.portalnews-hero-main {
    min-height: var(--pnh-main-height, 440px);
    grid-row: 1 / -1;
}

.portalnews-hero-secondary {
    min-height: 0;
}

.portalnews-hero-card:nth-child(n+2) {
    grid-column: 2;
}

.portalnews-hero-thumb {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    color: #ffffff;
    text-decoration: none !important;
    overflow: hidden;
}

.portalnews-hero-thumb img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform .45s ease;
}

.portalnews-hero-card:hover .portalnews-hero-thumb img {
    transform: scale(1.05);
}

.portalnews-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.82) 0%,
        rgba(0,0,0,.42) 46%,
        rgba(0,0,0,.08) 100%
    );
}

.portalnews-hero-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.portalnews-hero-main .portalnews-hero-content {
    padding: 28px;
}

.portalnews-hero-category {
    display: inline-flex;
    width: fit-content;
    padding: 5px 9px;
    background: var(--pn-primary, #03A250);
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .45px;
    border-radius: 999px;
}

.portalnews-hero-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.18;
    text-shadow: 0 3px 12px rgba(0,0,0,.70);
}

.portalnews-hero-main .portalnews-hero-title {
    font-size: 40px;
    letter-spacing: -0.7px;
    line-height: 1.08;
}

.portalnews-hero-excerpt {
    max-width: 92%;
    color: rgba(255,255,255,.88);
    font-size: 15px;
    line-height: 1.4;
}

.portalnews-hero-date {
    color: rgba(255,255,255,.78);
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 1200px) {
    .portalnews-hero-destaques {
        grid-template-columns: 1.5fr 1fr;
    }

    .portalnews-hero-main .portalnews-hero-title {
        font-size: 32px;
    }

    .portalnews-hero-title {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .portalnews-hero-destaques {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .portalnews-hero-card,
    .portalnews-hero-main,
    .portalnews-hero-secondary {
        min-height: auto;
        height: auto;
        grid-column: auto;
        grid-row: auto;
    }

    .portalnews-hero-thumb {
        min-height: 220px;
        aspect-ratio: 16 / 9;
    }

    .portalnews-hero-main .portalnews-hero-thumb {
        min-height: 260px;
    }

    .portalnews-hero-main .portalnews-hero-content,
    .portalnews-hero-content {
        padding: 16px;
    }

    .portalnews-hero-main .portalnews-hero-title {
        font-size: 24px;
        line-height: 1.12;
    }

    .portalnews-hero-title {
        font-size: 17px;
    }

    .portalnews-hero-excerpt {
        display: none;
    }
}

@media (max-width: 480px) {
    .portalnews-hero-main .portalnews-hero-thumb {
        min-height: 230px;
    }

    .portalnews-hero-thumb {
        min-height: 190px;
    }

    .portalnews-hero-main .portalnews-hero-title {
        font-size: 21px;
    }

    .portalnews-hero-title {
        font-size: 15px;
    }

    .portalnews-hero-category {
        font-size: 10px;
        padding: 4px 8px;
    }
}



/* =========================================
   PORTALNEWS BREAKING NEWS / URGENTE
========================================= */

.portalnews-breaking-news {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid var(--pn-border, #e5e5e5);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    overflow: hidden;
}

.portalnews-breaking-inner {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 20px;
}

.portalnews-breaking-label {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    margin-right: 14px;
    background: var(--pn-breaking-bg, #c62828);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .45px;
    border-radius: 999px;
}

.portalnews-breaking-dot {
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255,255,255,.8);
    animation: portalnews-breaking-pulse 1.4s infinite;
}

.portalnews-breaking-ticker {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

.portalnews-breaking-track {
    display: inline-flex;
    align-items: center;
    gap: 0;
    animation: portalnews-breaking-scroll var(--pn-breaking-speed, 28s) linear infinite;
}

.portalnews-breaking-ticker:hover .portalnews-breaking-track {
    animation-play-state: paused;
}

.portalnews-breaking-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-right: 34px;
    color: var(--pn-text, #222222) !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
}

.portalnews-breaking-item::after {
    content: "•";
    position: absolute;
    right: -21px;
    color: var(--pn-breaking-bg, #c62828);
    font-weight: 900;
}

.portalnews-breaking-item:hover {
    color: var(--pn-primary, #03A250) !important;
}

@keyframes portalnews-breaking-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes portalnews-breaking-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255,255,255,.8);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(255,255,255,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255,255,255,0);
    }
}

@media (max-width: 768px) {
    .portalnews-breaking-inner {
        min-height: 40px;
        padding: 0 10px;
    }

    .portalnews-breaking-label {
        padding: 7px 9px;
        margin-right: 10px;
        font-size: 10px;
    }

    .portalnews-breaking-item {
        font-size: 12px;
        margin-right: 28px;
    }

    .portalnews-breaking-item::after {
        right: -17px;
    }
}

@media (max-width: 480px) {
    .portalnews-breaking-inner {
        padding: 0 8px;
    }

    .portalnews-breaking-label {
        font-size: 9px;
        padding: 6px 8px;
    }

    .portalnews-breaking-dot {
        width: 7px;
        height: 7px;
    }

    .portalnews-breaking-item {
        font-size: 11px;
    }
}



/* =========================================
   PORTALNEWS CENTRAL DE PUBLICIDADE
========================================= */

.portalnews-ad-slot {
    width: 100%;
    min-height: var(--pn-ad-min-height, 90px);
    margin: 20px auto;
    text-align: center;
    overflow: visible;
    clear: both;
}

.portalnews-ad-inner {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: block;
    text-align: center;
    overflow: visible;
}

.portalnews-ad-inner ins.adsbygoogle {
    display: block !important;
    text-align: center;
    overflow: visible !important;
}

.portalnews-ad-inner iframe,
.portalnews-ad-inner img,
.portalnews-ad-inner video,
.portalnews-ad-inner object,
.portalnews-ad-inner embed {
    max-width: 100% !important;
}

.portalnews-ad-header,
.portalnews-ad-before_footer {
    max-width: 1360px;
    padding-left: 20px;
    padding-right: 20px;
}

.portalnews-ad-sidebar_top,
.portalnews-ad-sidebar_middle {
    margin-top: 0;
}

/* Exibição por dispositivo */
@media (min-width: 769px) {
    .portalnews-ad-device-mobile {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .portalnews-ad-slot {
        min-height: min(var(--pn-ad-min-height, 90px), 280px);
        margin: 14px auto;
    }

    .portalnews-ad-device-desktop {
        display: none !important;
    }

    .portalnews-ad-header,
    .portalnews-ad-before_footer {
        padding-left: 10px;
        padding-right: 10px;
    }
}



/* =========================================
   PORTALNEWS 1.8.0 - BASE LIMPA
   Regras novas foram modularizadas em assets/css/
========================================= */


/* PORTALNEWS FOOTER WIDGETS */
.portalnews-footer-widgets{
    background:#111;
    color:#fff;
    padding:40px 0;
}
.portalnews-footer-widgets-inner{
    max-width:1360px;
    margin:0 auto;
    padding:0 20px;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:30px;
}
.footer-widget-title{
    color:#fff;
    font-weight:800;
    margin-bottom:12px;
}
.portalnews-footer-column a{
    color:rgba(255,255,255,.9);
    text-decoration:none;
}
@media(max-width:1024px){
.portalnews-footer-widgets-inner{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:768px){
.portalnews-footer-widgets-inner{grid-template-columns:1fr;}
}


/* SITE FOOTER CONTAINER */
.site-footer-container{
    background:#111;
    padding:30px 0;
}

.site-footer-inner{
    max-width:1360px;
    margin:0 auto;
    padding:0 20px;
}

.site-footer-widget{
    margin-bottom:20px;
}

.site-footer-widget-title{
    color:#fff;
    font-size:18px;
    font-weight:800;
    margin-bottom:12px;
}


/* SITE FOOTER CONTAINER FIX */
.site-footer .site-footer-container {
    background: transparent;
    padding: 30px 0 10px;
}

.site-footer .site-footer-inner {
    display: block;
}

.site-footer-widget {
    margin-bottom: 20px;
}

.site-footer-widget-title {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
}

.site-footer-widget,
.site-footer-widget p,
.site-footer-widget li {
    color: rgba(255,255,255,.9);
}

.site-footer-widget a {
    color: rgba(255,255,255,.95);
    text-decoration: none;
}

.site-footer-widget a:hover {
    color: #fff;
}


/* =========================================
   SITE FOOTER COLUMNS - 1.8.4
========================================= */

.site-footer .site-footer-container {
    background: transparent;
    padding: 36px 0 18px;
}

.site-footer-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
}

.site-footer-column {
    min-width: 0;
}

.site-footer-column .footer-widget {
    margin: 0 0 20px;
}

.site-footer-column .footer-widget-title {
    position: relative;
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    margin: 0 0 14px;
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .35px;
    border-bottom: 2px solid rgba(255,255,255,.22);
}

.site-footer-column .footer-widget-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 42px;
    height: 2px;
    background: var(--pn-accent, #f5c400);
}

.site-footer-column,
.site-footer-column p,
.site-footer-column li {
    color: rgba(255,255,255,.88);
}

.site-footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer-column li {
    margin-bottom: 7px;
}

.site-footer-column a {
    color: rgba(255,255,255,.92);
    text-decoration: none;
}

.site-footer-column a:hover {
    color: #ffffff;
}

.site-footer .footer-copyright {
    border-top: 1px solid rgba(255,255,255,.14);
    padding-top: 16px;
    padding-bottom: 16px;
    text-align: center;
}

.site-footer .footer-copyright p {
    margin: 0;
}

@media (max-width: 1024px) {
    .site-footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .site-footer .site-footer-container {
        padding: 26px 0 10px;
    }

    .site-footer-columns {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}


/* =========================================
   PORTALNEWS BREADCRUMBS SEO
========================================= */

.portalnews-breadcrumbs {
    max-width: 1360px;
    margin: 16px auto 0;
    padding: 0 20px;
    color: #666;
    font-size: 13px;
    font-weight: 600;
}

.portalnews-breadcrumbs a {
    color: var(--pn-primary, #03A250);
    text-decoration: none;
}

.portalnews-breadcrumbs a:hover {
    color: var(--pn-secondary, #027a3d);
}

.portalnews-breadcrumb-sep {
    display: inline-block;
    margin: 0 8px;
    color: #999;
}

.portalnews-breadcrumb-current {
    color: #555;
}

@media (max-width: 768px) {
    .portalnews-breadcrumbs {
        margin-top: 10px;
        padding: 0 12px;
        font-size: 12px;
    }
}


/* =========================================
   BANNER TOPO ROTATIVO FIX
========================================= */

.banner-top {
    display: block !important;
    width: 100%;
    margin: 10px 0;
    text-align: center;
    overflow: visible;
}

.banner-top .banner-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.banner-top-link {
    display: inline-block;
    max-width: 100%;
}

.banner-top img {
    display: inline-block !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain;
}


/* =========================================
   RIO PARAGUAI PREMIUM 2.0
========================================= */

.rio-paraguai-premium {
    width: 100%;
}

.rio-paraguai-premium-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--pn-primary, #03A250);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.2;
}

.rio-paraguai-premium-date {
    margin: 0 0 12px;
    color: #666;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .25px;
}

.rio-paraguai-premium-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.sidebar .rio-paraguai-premium-list,
.home-sidebar .rio-paraguai-premium-list {
    grid-template-columns: 1fr;
}

.rio-paraguai-premium-card {
    position: relative;
    overflow: hidden;
    padding: 14px;
    background: #ffffff;
    border: 1px solid var(--pn-border, #e5e5e5);
    border-left: 5px solid var(--rio-status-color, var(--pn-primary, #03A250));
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,.07);
    transition: transform .22s ease, box-shadow .22s ease;
}

.rio-paraguai-premium-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

.rio-status-normal { --rio-status-color: #03A250; }
.rio-status-atencao { --rio-status-color: #f5a400; }
.rio-status-alerta { --rio-status-color: #e65100; }
.rio-status-cheia { --rio-status-color: #c62828; }

.rio-premium-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
}

.rio-premium-local-wrap {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.rio-premium-local {
    color: var(--pn-text, #222);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.15;
}

.rio-premium-status {
    flex: 0 0 auto;
    padding: 4px 7px;
    background: color-mix(in srgb, var(--rio-status-color) 12%, #fff);
    color: var(--rio-status-color);
    border: 1px solid color-mix(in srgb, var(--rio-status-color) 25%, #fff);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .35px;
}

.rio-premium-measure {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.rio-premium-altura {
    color: var(--rio-status-color);
    font-size: 34px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -1px;
}

.rio-premium-unidade {
    color: var(--rio-status-color);
    font-size: 16px;
    font-weight: 900;
}

.rio-premium-variacao {
    margin-left: auto;
    padding: 5px 7px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.rio-var-subiu {
    background: rgba(198,40,40,.08);
    color: #c62828;
}

.rio-var-desceu {
    background: rgba(3,162,80,.10);
    color: #028647;
}

.rio-var-estavel,
.rio-var-neutro {
    background: rgba(0,0,0,.06);
    color: #666;
}

.rio-premium-observacao {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #eeeeee;
    color: #555;
    font-size: 13px;
    line-height: 1.35;
}

@media (max-width: 768px) {
    .rio-paraguai-premium-list {
        grid-template-columns: 1fr;
    }

    .rio-premium-altura {
        font-size: 30px;
    }
}

/* Widgets de notícias padronizados */
.portalnews-standard-widget {
    display: grid;
    grid-template-columns: repeat(var(--pn-columns, 1), minmax(min(100%, var(--pn-min-width, 520px)), 1fr));
    gap: 20px;
}

.portalnews-standard-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border-radius: 8px;
}

.portalnews-standard-thumb {
    display: block;
    flex: 0 0 min(var(--pn-image-width, 260px), 45%);
    width: min(var(--pn-image-width, 260px), 45%);
    height: var(--pn-image-height, 260px);
    overflow: hidden;
    background: #eee;
}

.portalnews-standard-thumb img,
.portalnews-standard-slider-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portalnews-standard-content {
    flex: 1;
    min-width: 0;
    padding: 16px;
}

.portalnews-standard-title {
    margin: 6px 0 10px;
    font-size: 1.15rem;
    line-height: 1.25;
}

.portalnews-standard-title a {
    color: inherit;
    text-decoration: none;
}

.portalnews-standard-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    font-size: .78rem;
    opacity: .78;
}

.portalnews-standard-category {
    font-weight: 700;
    text-transform: uppercase;
}

.portalnews-standard-excerpt {
    line-height: 1.55;
}

.portalnews-standard-card-vertical {
    display: block;
}

.portalnews-standard-card-vertical .portalnews-standard-thumb {
    width: 100%;
    max-width: none;
    height: var(--pn-image-height, 260px);
}

.portalnews-layout-slider {
    display: block;
}

.portalnews-standard-slide {
    position: relative;
    overflow: hidden;
    min-height: var(--pn-image-height, 260px);
    border-radius: 8px;
}

.portalnews-standard-slider-thumb {
    display: block;
    width: 100%;
    height: var(--pn-image-height, 260px);
    background: #eee;
}

.portalnews-standard-slide-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 40px 20px 18px;
    color: #fff;
    background: linear-gradient(transparent, rgba(0,0,0,.82));
}

.portalnews-standard-slide-overlay .portalnews-standard-title {
    margin-bottom: 0;
}

.portalnews-standard-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #666;
}

@media (max-width: 640px) {
    .portalnews-standard-widget {
        grid-template-columns: 1fr;
    }

    .portalnews-standard-card:not(.portalnews-standard-card-vertical) {
        display: block;
    }

    .portalnews-standard-thumb {
        width: 100%;
        max-width: none;
        height: var(--pn-image-height, 260px);
    }
}

/* =========================================================
   CORREÇÃO DO WIDGET SLIDER DE NOTÍCIAS PADRONIZADO
   Isola o novo slider das regras antigas de .slider-banner
========================================================= */
.portalnews-standard-widget.portalnews-layout-slider {
    position: relative;
    display: block;
    width: 100%;
    height: var(--pn-image-height, 260px);
    min-height: var(--pn-image-height, 260px);
    overflow: hidden;
    border-radius: 8px;
    background: #111;
}

.portalnews-layout-slider > .portalnews-standard-slide {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .65s ease, visibility .65s ease;
    border-radius: inherit;
    background: #111;
}

.portalnews-layout-slider > .portalnews-standard-slide:first-child,
.portalnews-layout-slider > .portalnews-standard-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.portalnews-layout-slider .portalnews-standard-slider-thumb {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #eee;
}

.portalnews-layout-slider .portalnews-standard-slider-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 6s ease;
}

.portalnews-layout-slider .portalnews-standard-slide.active .portalnews-standard-slider-thumb img {
    transform: scale(1.04);
}

.portalnews-layout-slider .portalnews-standard-slide-overlay {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    box-sizing: border-box;
    width: 100%;
    max-height: 100%;
    padding: 70px 22px 18px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.56) 55%, transparent 100%);
}

/* Neutraliza o position:absolute das regras antigas de .slide-title. */
.portalnews-layout-slider .portalnews-standard-slide-overlay .slide-title,
.portalnews-layout-slider .portalnews-standard-slide-overlay .portalnews-standard-title {
    position: static !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    z-index: auto !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: clamp(18px, 2.2vw, 30px) !important;
    font-weight: 800 !important;
    line-height: 1.16 !important;
    letter-spacing: -.2px !important;
    color: #fff !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-shadow: 0 2px 8px rgba(0,0,0,.75) !important;
}

.portalnews-layout-slider .portalnews-standard-title a {
    color: #fff !important;
    text-decoration: none !important;
}

.portalnews-layout-slider .portalnews-standard-meta {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 10px;
    margin: 0;
    color: rgba(255,255,255,.92);
    font-size: 12px;
    line-height: 1.25;
    opacity: 1;
    text-shadow: 0 1px 4px rgba(0,0,0,.8);
}

.portalnews-layout-slider .portalnews-standard-excerpt {
    position: static;
    display: -webkit-box;
    max-width: 95%;
    margin: 0;
    overflow: hidden;
    color: rgba(255,255,255,.94);
    font-size: 14px;
    line-height: 1.4;
    text-shadow: 0 1px 4px rgba(0,0,0,.8);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

@media (max-width: 640px) {
    .portalnews-standard-widget.portalnews-layout-slider {
        height: var(--pn-image-height, 260px);
        min-height: var(--pn-image-height, 260px);
    }

    .portalnews-layout-slider .portalnews-standard-slide-overlay {
        gap: 5px;
        padding: 58px 15px 14px;
    }

    .portalnews-layout-slider .portalnews-standard-slide-overlay .slide-title,
    .portalnews-layout-slider .portalnews-standard-slide-overlay .portalnews-standard-title {
        font-size: clamp(17px, 5.2vw, 23px) !important;
        line-height: 1.18 !important;
    }

    .portalnews-layout-slider .portalnews-standard-excerpt {
        max-width: 100%;
        font-size: 13px;
        -webkit-line-clamp: 2;
    }
}


/* =========================================================
   WIDGETS PADRONIZADOS — SEM CATEGORIA E SEM DATA
   Remove o espaço reservado acima do título em todos os layouts.
========================================================= */
.portalnews-standard-card.portalnews-no-meta .portalnews-standard-title,
.portalnews-standard-slide.portalnews-no-meta .portalnews-standard-title,
.portalnews-standard-widget.portalnews-widget-no-meta .portalnews-standard-title {
    margin-top: 0 !important;
}

/* Cards com imagem ao lado: o título começa no topo da foto. */
.portalnews-layout-latest .portalnews-standard-card.portalnews-no-meta .portalnews-standard-content,
.portalnews-layout-custom-image .portalnews-standard-card.portalnews-no-meta .portalnews-standard-content,
.portalnews-layout-horizontal .portalnews-standard-card.portalnews-no-meta .portalnews-standard-content {
    padding-top: 0 !important;
}

/* Grade vertical: remove apenas o espaço da meta, mantendo respiro após a foto. */
.portalnews-layout-grid .portalnews-standard-card.portalnews-no-meta .portalnews-standard-content {
    padding-top: 10px !important;
}

/* Slider: sem meta, o título assume a primeira linha do bloco sem lacuna. */
.portalnews-layout-slider .portalnews-standard-slide.portalnews-no-meta .portalnews-standard-slide-overlay {
    gap: 0 !important;
}

.portalnews-layout-slider .portalnews-standard-slide.portalnews-no-meta .portalnews-standard-title + .portalnews-standard-excerpt {
    margin-top: 7px !important;
}

@media (max-width: 640px) {
    /* No celular a imagem fica acima; mantém um pequeno respiro visual. */
    .portalnews-layout-latest .portalnews-standard-card.portalnews-no-meta .portalnews-standard-content,
    .portalnews-layout-custom-image .portalnews-standard-card.portalnews-no-meta .portalnews-standard-content,
    .portalnews-layout-horizontal .portalnews-standard-card.portalnews-no-meta .portalnews-standard-content {
        padding-top: 10px !important;
    }
}

/* =========================================================
   WIDGETS PADRONIZADOS — ALINHAMENTO DE META E RESUMO
   Data/categoria começam no topo nos cards laterais e nenhum
   espaço é reservado quando o resumo estiver desativado.
========================================================= */

/* Nos layouts com imagem ao lado, todo o conteúdo começa no topo da foto. */
.portalnews-layout-latest .portalnews-standard-content,
.portalnews-layout-custom-image .portalnews-standard-content,
.portalnews-layout-horizontal .portalnews-standard-content {
    padding-top: 0 !important;
}

/* A linha de categoria/data não cria margem ou altura vazia acima. */
.portalnews-layout-latest .portalnews-standard-meta,
.portalnews-layout-custom-image .portalnews-standard-meta,
.portalnews-layout-horizontal .portalnews-standard-meta {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.25;
}

/* Quando existe meta, o título recebe apenas um respiro curto abaixo dela. */
.portalnews-standard-card:not(.portalnews-no-meta) .portalnews-standard-title {
    margin-top: 6px !important;
}

/* Sem resumo, elimina totalmente o espaço depois do título. */
.portalnews-standard-card.portalnews-no-excerpt .portalnews-standard-title,
.portalnews-standard-slide.portalnews-no-excerpt .portalnews-standard-title {
    margin-bottom: 0 !important;
}

/* Sem meta e sem resumo, o título ocupa o bloco desde o topo, sem margens fantasmas. */
.portalnews-standard-card.portalnews-no-meta.portalnews-no-excerpt .portalnews-standard-title {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Grade vertical mantém somente o respiro real entre foto e conteúdo. */
.portalnews-layout-grid .portalnews-standard-card-vertical .portalnews-standard-content {
    padding-top: 10px !important;
}

/* Slider sem resumo também não reserva espaço abaixo do título. */
.portalnews-layout-slider .portalnews-standard-slide.portalnews-no-excerpt .portalnews-standard-slide-overlay {
    gap: 0 !important;
}

@media (max-width: 640px) {
    /* Quando a imagem passa para cima no celular, preserva pequeno respiro. */
    .portalnews-layout-latest .portalnews-standard-content,
    .portalnews-layout-custom-image .portalnews-standard-content,
    .portalnews-layout-horizontal .portalnews-standard-content {
        padding-top: 10px !important;
    }
}

/* =========================================================
   CONTROLES PROFISSIONAIS POR WIDGET — v2.2.1
========================================================= */
.portalnews-standard-widget {
    gap: var(--pn-card-gap, 10px) !important;
}

/* A borda configurada pertence ao card, não ao contêiner da grade. */
.portalnews-standard-widget > .portalnews-standard-card,
.portalnews-standard-widget > .portalnews-standard-slide {
    border-width: var(--pn-border-width, 0) !important;
    border-style: solid !important;
    border-color: var(--pn-border-color, #e5e7eb) !important;
    border-radius: var(--pn-border-radius, 8px) !important;
    box-shadow: var(--pn-card-shadow, none) !important;
}

/* Garante que espessura zero remova qualquer borda herdada do tema. */
.portalnews-standard-widget[style*="--pn-border-width:0px"] > .portalnews-standard-card,
.portalnews-standard-widget[style*="--pn-border-width:0px"] > .portalnews-standard-slide {
    border: 0 !important;
}

.portalnews-standard-content,
.portalnews-standard-slide-overlay {
    text-align: var(--pn-text-align, left);
}

.portalnews-layout-latest .portalnews-standard-content,
.portalnews-layout-custom-image .portalnews-standard-content,
.portalnews-layout-horizontal .portalnews-standard-content {
    padding-right: var(--pn-content-gap, 10px) !important;
    padding-bottom: var(--pn-content-gap, 10px) !important;
    padding-left: var(--pn-content-gap, 10px) !important;
}

.portalnews-layout-grid .portalnews-standard-content {
    padding: var(--pn-content-gap, 10px) !important;
}

.portalnews-standard-title,
.portalnews-standard-title a {
    color: var(--pn-title-color, inherit) !important;
    font-size: var(--pn-title-size, 14px) !important;
    font-weight: var(--pn-title-weight, 700) !important;
    line-height: var(--pn-title-line, 1.35) !important;
    text-transform: var(--pn-title-transform, none) !important;
}

.portalnews-standard-category {
    color: var(--pn-category-color, inherit) !important;
    font-size: var(--pn-category-size, 11px) !important;
}

.portalnews-standard-date {
    color: var(--pn-date-color, inherit) !important;
    font-size: var(--pn-date-size, 11px) !important;
}

.portalnews-standard-excerpt {
    color: var(--pn-excerpt-color, inherit) !important;
    font-size: var(--pn-excerpt-size, 13px) !important;
    line-height: var(--pn-excerpt-line, 1.5) !important;
}

/* No slider, valor 0 preserva os tamanhos responsivos originais. */
.portalnews-layout-slider[style*="--pn-title-size:0px"] .portalnews-standard-title,
.portalnews-layout-slider[style*="--pn-title-size:0px"] .portalnews-standard-title a {
    font-size: clamp(18px, 2.2vw, 30px) !important;
}
.portalnews-layout-slider[style*="--pn-category-size:0px"] .portalnews-standard-category,
.portalnews-layout-slider[style*="--pn-date-size:0px"] .portalnews-standard-date {
    font-size: 12px !important;
}
.portalnews-layout-slider[style*="--pn-excerpt-size:0px"] .portalnews-standard-excerpt {
    font-size: 14px !important;
}

@media (max-width: 640px) {
    .portalnews-layout-slider[style*="--pn-title-size:0px"] .portalnews-standard-title,
    .portalnews-layout-slider[style*="--pn-title-size:0px"] .portalnews-standard-title a {
        font-size: clamp(17px, 5.2vw, 23px) !important;
    }
    .portalnews-layout-slider[style*="--pn-excerpt-size:0px"] .portalnews-standard-excerpt {
        font-size: 13px !important;
    }
}


/* Controles de card v2.2.4: o estilo inline de cada widget prevalece sobre regras antigas. */
.portalnews-standard-card,
.portalnews-standard-slide {
    box-sizing: border-box;
}


/* Correção v2.2.4: espessura zero remove também qualquer sombra/contorno residual. */
.portalnews-standard-widget[style*="--pn-border-width:0px"] > .portalnews-standard-card,
.portalnews-standard-widget[style*="--pn-border-width:0px"] > .portalnews-standard-slide {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}


/* =========================================================
   PORTALNEWS 2.2.6 — contêiner neutro em TODOS os widgets
   Inclui o Slider de Notícias. A moldura pertence aos cards/slides.
========================================================= */
.portalnews-standard-widget {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
}

.portalnews-standard-widget::before,
.portalnews-standard-widget::after {
    content: none !important;
    display: none !important;
}

.portalnews-standard-widget > .portalnews-standard-card,
.portalnews-standard-widget > .portalnews-standard-slide {
    background-clip: padding-box !important;
}

/* Quando a espessura é zero, neutraliza também a moldura do Slider. */
.portalnews-standard-widget[style*="--pn-border-width: 0px"],
.portalnews-standard-widget[style*="--pn-border-width:0px"] {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.portalnews-standard-widget[style*="--pn-border-width: 0px"] > .portalnews-standard-card,
.portalnews-standard-widget[style*="--pn-border-width: 0px"] > .portalnews-standard-slide,
.portalnews-standard-widget[style*="--pn-border-width:0px"] > .portalnews-standard-card,
.portalnews-standard-widget[style*="--pn-border-width:0px"] > .portalnews-standard-slide {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.menu-style-hamburger .main-navigation {
    display: none !important;
}

.menu-style-hamburger .menu-toggle {
    display: flex !important;
}

.menu-style-horizontal .main-navigation {
    display: block !important;
}

.menu-style-horizontal .menu-toggle {
    display: none !important;
}

/* =========================================================
   MENU HAMBÚRGUER EM TODAS AS TELAS
========================================================= */

.site-header.menu-style-hamburger .menu-toggle {
    display: flex !important;
}

.site-header.menu-style-hamburger .main-navigation {
    position: fixed !important;
    top: 0 !important;
    right: -300px !important;
    width: 300px !important;
    height: 100vh !important;

    display: flex !important;
    flex-direction: column !important;

    padding: 80px 25px 30px !important;

    background: var(--pn-secondary, #027a3d) !important;

    box-shadow: -4px 0 15px rgba(0,0,0,.25) !important;

    z-index: 9999 !important;

    transition: right .35s ease !important;
}

/* Menu aberto */
.site-header.menu-style-hamburger .main-navigation.menu-open {
    right: 0 !important;
}

/* Links em coluna */
.site-header.menu-style-hamburger .main-navigation .menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    gap: 4px !important;

    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Links */
.site-header.menu-style-hamburger .main-navigation .menu li {
    width: 100% !important;
}

.site-header.menu-style-hamburger .main-navigation .menu li a {
    display: block !important;

    width: 100% !important;

    padding: 12px 10px !important;

    color: var(--pn-menu-text, #fff) !important;

    font-size: 15px !important;
    font-weight: 700 !important;
}

/* Botão sanduíche */
.site-header.menu-style-hamburger .menu-toggle {
    width: 32px;
    height: 24px;

    position: relative;
    z-index: 10000;
}

.site-header.menu-style-hamburger .menu-toggle span {
    background: var(--pn-menu-text, #fff) !important;
}

/* =========================================================
   PORTALNEWS 2.3.0 — TIPO DE MENU TAMBÉM NO STICKY HEADER
   A mesma configuração do Header Options controla os dois menus.
========================================================= */

/* Botão do Sticky: escondido por padrão. */
.pn-sticky-menu-toggle {
    display: none;
    flex: 0 0 auto;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 10002;
}

.pn-sticky-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: var(--pn-primary, #03A250);
    transition: transform .3s ease, opacity .3s ease;
}

.pn-sticky-menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.pn-sticky-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}
.pn-sticky-menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------------------------------------------------------
   STICKY — HAMBÚRGUER EM TODAS AS TELAS
--------------------------------------------------------- */
.pn-sticky-header.menu-style-hamburger .pn-sticky-menu {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
}

.pn-sticky-header.menu-style-hamburger.menu-left .pn-sticky-menu {
    justify-content: flex-start;
}
.pn-sticky-header.menu-style-hamburger.menu-center .pn-sticky-menu {
    justify-content: center;
}
.pn-sticky-header.menu-style-hamburger.menu-right .pn-sticky-menu {
    justify-content: flex-end;
}

.pn-sticky-header.menu-style-hamburger .pn-sticky-menu-toggle {
    display: flex !important;
}

.pn-sticky-header.menu-style-hamburger .sticky-navigation {
    position: fixed !important;
    top: 0 !important;
    right: -320px !important;
    width: min(300px, 88vw) !important;
    height: 100vh !important;
    overflow-y: auto !important;
    padding: 76px 24px 30px !important;
    background: var(--pn-secondary, #027a3d) !important;
    box-shadow: -4px 0 18px rgba(0,0,0,.25) !important;
    z-index: 10001 !important;
    transition: right .35s ease !important;
}

.pn-sticky-header.menu-style-hamburger .sticky-navigation.menu-open {
    right: 0 !important;
}

.pn-sticky-header.menu-style-hamburger .sticky-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
    gap: 3px !important;
    width: 100% !important;
}

.pn-sticky-header.menu-style-hamburger .sticky-menu li {
    width: 100% !important;
}

.pn-sticky-header.menu-style-hamburger .sticky-menu li a {
    display: block !important;
    width: 100% !important;
    padding: 11px 9px !important;
    color: var(--pn-menu-text, #fff) !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
}

/* ---------------------------------------------------------
   STICKY — HORIZONTAL EM TODAS AS TELAS
--------------------------------------------------------- */
.pn-sticky-header.menu-style-horizontal .pn-sticky-menu-toggle {
    display: none !important;
}

.pn-sticky-header.menu-style-horizontal .sticky-navigation {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.pn-sticky-header.menu-style-horizontal .sticky-menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

/* ---------------------------------------------------------
   STICKY — RESPONSIVO: horizontal no desktop, hambúrguer mobile
--------------------------------------------------------- */
.pn-sticky-header.menu-style-responsive .pn-sticky-menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .pn-sticky-header.menu-style-responsive .pn-sticky-header-inner {
        flex-direction: row !important;
        align-items: center !important;
    }

    .pn-sticky-header.menu-style-responsive .pn-sticky-menu {
        flex: 1 1 auto;
        display: flex;
        justify-content: flex-end;
        width: auto;
    }

    .pn-sticky-header.menu-style-responsive .pn-sticky-menu-toggle {
        display: flex !important;
    }

    .pn-sticky-header.menu-style-responsive .sticky-navigation {
        position: fixed !important;
        top: 0 !important;
        right: -320px !important;
        width: min(300px, 88vw) !important;
        height: 100vh !important;
        overflow-y: auto !important;
        padding: 76px 24px 30px !important;
        background: var(--pn-secondary, #027a3d) !important;
        box-shadow: -4px 0 18px rgba(0,0,0,.25) !important;
        z-index: 10001 !important;
        transition: right .35s ease !important;
    }

    .pn-sticky-header.menu-style-responsive .sticky-navigation.menu-open {
        right: 0 !important;
    }

    .pn-sticky-header.menu-style-responsive .sticky-menu {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        flex-wrap: nowrap !important;
        gap: 3px !important;
    }

    .pn-sticky-header.menu-style-responsive .sticky-menu li,
    .pn-sticky-header.menu-style-responsive .sticky-menu li a {
        width: 100% !important;
    }

    .pn-sticky-header.menu-style-responsive .sticky-menu li a {
        display: block !important;
        padding: 11px 9px !important;
        color: var(--pn-menu-text, #fff) !important;
    }
}


/* =========================================================
   PORTALNEWS 2.3.1 — TOP BAR POSIÇÃO E ALINHAMENTO
========================================================= */
.portalnews-top-bar.align-left .portalnews-top-bar-inner {
    justify-content: flex-start;
    text-align: left;
}

.portalnews-top-bar.align-center .portalnews-top-bar-inner {
    justify-content: center;
    text-align: center;
}

.portalnews-top-bar.align-right .portalnews-top-bar-inner {
    justify-content: flex-end;
    text-align: right;
}

.portalnews-top-bar.align-left .portalnews-top-bar-left,
.portalnews-top-bar.align-left .portalnews-top-bar-right {
    justify-content: flex-start;
}

.portalnews-top-bar.align-center .portalnews-top-bar-left,
.portalnews-top-bar.align-center .portalnews-top-bar-right {
    justify-content: center;
}

.portalnews-top-bar.align-right .portalnews-top-bar-left,
.portalnews-top-bar.align-right .portalnews-top-bar-right {
    justify-content: flex-end;
}

/* Quando posicionada abaixo do menu, ocupa toda a largura do header-container. */
.site-header .header-container > .portalnews-top-bar {
    width: 100%;
    margin: 0;
}

.site-header .header-container > .portalnews-top-bar .portalnews-top-bar-inner {
    max-width: none;
    width: 100%;
}

@media (max-width: 768px) {
    .portalnews-top-bar.align-left .portalnews-top-bar-inner {
        align-items: flex-start;
        text-align: left;
    }

    .portalnews-top-bar.align-center .portalnews-top-bar-inner {
        align-items: center;
        text-align: center;
    }

    .portalnews-top-bar.align-right .portalnews-top-bar-inner {
        align-items: flex-end;
        text-align: right;
    }

    .portalnews-top-bar.align-left .portalnews-top-bar-left,
    .portalnews-top-bar.align-left .portalnews-top-bar-right,
    .portalnews-top-bar.align-center .portalnews-top-bar-left,
    .portalnews-top-bar.align-center .portalnews-top-bar-right,
    .portalnews-top-bar.align-right .portalnews-top-bar-left,
    .portalnews-top-bar.align-right .portalnews-top-bar-right {
        width: auto;
        max-width: 100%;
    }
}


/* =========================================================
   PORTALNEWS 2.3.2 — TOP BAR AVANÇADA
========================================================= */
.portalnews-top-bar {
    position: relative;
    z-index: 50;
}

.portalnews-top-bar.is-transparent {
    background: transparent !important;
    color: #fff;
}

/* Quando está no topo, a opção transparente coloca a barra sobre o banner superior. */
.portalnews-top-bar.is-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    background: linear-gradient(to bottom, rgba(0,0,0,.42), rgba(0,0,0,0)) !important;
}

.admin-bar .portalnews-top-bar.is-overlay {
    top: 32px;
}

.portalnews-top-bar.width-full .portalnews-top-bar-inner {
    width: 100%;
    max-width: none;
}

.portalnews-top-bar.width-site .portalnews-top-bar-inner {
    width: min(100%, 1360px);
    max-width: 1360px;
}

.portalnews-top-bar.width-custom .portalnews-top-bar-inner {
    width: min(100%, var(--pn-topbar-custom-width, 1100px));
    max-width: var(--pn-topbar-custom-width, 1100px);
}

/* Mantém a largura escolhida mesmo quando a Top Bar fica abaixo do menu. */
.site-header .header-container > .portalnews-top-bar.width-full .portalnews-top-bar-inner {
    width: 100%;
    max-width: none;
}
.site-header .header-container > .portalnews-top-bar.width-site .portalnews-top-bar-inner {
    width: min(100%, 1360px);
    max-width: 1360px;
}
.site-header .header-container > .portalnews-top-bar.width-custom .portalnews-top-bar-inner {
    width: min(100%, var(--pn-topbar-custom-width, 1100px));
    max-width: var(--pn-topbar-custom-width, 1100px);
}

.portalnews-topbar-elements {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    width: 100%;
}

.portalnews-top-bar.align-left .portalnews-topbar-elements { justify-content: flex-start; }
.portalnews-top-bar.align-center .portalnews-topbar-elements { justify-content: center; }
.portalnews-top-bar.align-right .portalnews-topbar-elements { justify-content: flex-end; }

.portalnews-topbar-item,
.portalnews-topbar-search {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.portalnews-topbar-weather-icon {
    line-height: 1;
}

.portalnews-topbar-login a,
.portalnews-topbar-search summary {
    color: inherit;
    font-weight: 700;
}

.portalnews-topbar-search {
    position: relative;
}

.portalnews-topbar-search summary {
    list-style: none;
    cursor: pointer;
    white-space: nowrap;
}
.portalnews-topbar-search summary::-webkit-details-marker { display: none; }

.portalnews-topbar-search-form {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 10010;
    display: flex;
    width: min(360px, 82vw);
    padding: 8px;
    background: var(--pn-surface, #fff);
    border: 1px solid var(--pn-border, #e5e5e5);
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.portalnews-top-bar.align-left .portalnews-topbar-search-form {
    right: auto;
    left: 0;
}

.portalnews-topbar-search-form input {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid var(--pn-border, #ddd);
    background: #fff;
    color: var(--pn-text, #222);
}

.portalnews-topbar-search-form button {
    flex: 0 0 auto;
    padding: 8px 12px;
}

.portalnews-topbar-widget-area .widget {
    margin: 0 !important;
}

/* Redes sociais ficam compactas dentro da barra. */
.portalnews-topbar-social .portalnews-social-list {
    display: flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 782px) {
    .admin-bar .portalnews-top-bar.is-overlay { top: 46px; }
}

@media (max-width: 768px) {
    .portalnews-top-bar-inner {
        padding: 6px 12px;
    }
    .portalnews-topbar-elements {
        gap: 7px 12px;
    }
    .portalnews-topbar-search summary span {
        display: none;
    }
}


/* =========================================================
   PORTALNEWS 2.3.3 — EFEITO CARD NOS WIDGETS PADRONIZADOS
   Movimento no hover sem reintroduzir bordas/contornos.
========================================================= */
.portalnews-standard-card {
    transition: transform .22s ease, opacity .22s ease !important;
    will-change: transform;
}

.portalnews-standard-card:hover {
    transform: translateY(-3px);
}

/* Leve zoom da foto reforça a sensação de card sem alterar borda/sombra. */
.portalnews-standard-card .portalnews-standard-thumb img {
    transition: transform .32s ease !important;
}

.portalnews-standard-card:hover .portalnews-standard-thumb img {
    transform: scale(1.025);
}

/* O Slider é um único card: movimenta o contêiner inteiro. */
.portalnews-standard-widget.portalnews-layout-slider {
    transition: transform .22s ease !important;
    will-change: transform;
}

.portalnews-standard-widget.portalnews-layout-slider:hover {
    transform: translateY(-3px);
}

/* Mantém acessibilidade para quem prefere reduzir animações. */
@media (prefers-reduced-motion: reduce) {
    .portalnews-standard-card,
    .portalnews-standard-card .portalnews-standard-thumb img,
    .portalnews-standard-widget.portalnews-layout-slider {
        transition: none !important;
    }

    .portalnews-standard-card:hover,
    .portalnews-standard-widget.portalnews-layout-slider:hover,
    .portalnews-standard-card:hover .portalnews-standard-thumb img {
        transform: none !important;
    }
}

/* =========================================================
   MAIS LIDAS DESTAQUE — v2.3.4
   Visual editorial inspirado em cards de ranking com foto.
========================================================= */
.mais-lidas-destaque {
    display: grid;
    grid-template-columns: repeat(var(--mld-columns, 1), minmax(min(100%, var(--mld-min-width, 260px)), 1fr));
    gap: var(--mld-card-gap, 10px);
    width: 100%;

    /* Contêiner neutro: borda/sombra pertencem somente aos cards. */
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.mais-lidas-destaque::before,
.mais-lidas-destaque::after {
    content: none !important;
    display: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

.mais-lidas-destaque-card {
    position: relative;
    min-width: 0;
    height: var(--mld-card-height, 355px);
    overflow: hidden;
    background-color: #222;
    background-position: center;
    background-size: cover;
    border-radius: var(--mld-border-radius, 8px);
    box-shadow: var(--mld-card-shadow, none);
    transition: transform .25s ease, box-shadow .25s ease;
}

.mais-lidas-destaque-card:hover {
    transform: translateY(-3px);
}

.mais-lidas-destaque-card:hover .mais-lidas-destaque-link {
    transform: scale(1.015);
}

.mais-lidas-destaque-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    transition: transform .35s ease;
}

.mais-lidas-destaque-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 48%, rgba(0,0,0,.12) 100%);
}

.mais-lidas-destaque-numero {
    position: absolute;
    z-index: 2;
    top: 22px;
    left: 20px;
    color: #fff;
    font-size: clamp(58px, 8vw, 92px);
    font-weight: 300;
    line-height: .9;
    text-shadow: 0 2px 10px rgba(0,0,0,.35);
}

.mais-lidas-destaque-conteudo {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: var(--mld-content-gap, 20px);
    text-align: var(--mld-text-align, left);
}

.mais-lidas-destaque-categoria {
    color: var(--mld-category-color, #fff);
    font-size: var(--mld-category-size, 11px);
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    opacity: .9;
}

.mais-lidas-destaque-titulo {
    display: block;
    color: var(--mld-title-color, #fff);
    font-size: var(--mld-title-size, 24px);
    font-weight: var(--mld-title-weight, 800);
    line-height: var(--mld-title-line, 1.2);
    text-transform: var(--mld-title-transform, none);
    text-shadow: 0 2px 9px rgba(0,0,0,.65);
}

.mais-lidas-destaque-resumo {
    display: block;
    color: var(--mld-excerpt-color, rgba(255,255,255,.92));
    font-size: var(--mld-excerpt-size, 14px);
    line-height: var(--mld-excerpt-line, 1.45);
    text-shadow: 0 1px 6px rgba(0,0,0,.6);
}

.mais-lidas-destaque-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    color: var(--mld-date-color, #fff);
    font-size: var(--mld-date-size, 13px);
    line-height: 1.25;
    text-shadow: 0 1px 5px rgba(0,0,0,.75);
}

.mais-lidas-destaque-meta time,
.mais-lidas-destaque-views {
    color: inherit;
}

.mais-lidas-destaque-card.sem-imagem {
    background: linear-gradient(135deg, var(--pn-secondary, #027a3d), var(--pn-primary, #03A250));
}

@media (max-width: 640px) {
    .mais-lidas-destaque {
        grid-template-columns: 1fr;
    }
    .mais-lidas-destaque-card {
        min-height: 260px;
        height: min(var(--mld-card-height, 355px), 420px);
    }
    .mais-lidas-destaque-numero {
        top: 18px;
        left: 16px;
        font-size: clamp(54px, 18vw, 78px);
    }
    .mais-lidas-destaque-conteudo {
        padding: min(var(--mld-content-gap, 20px), 18px);
    }
    .mais-lidas-destaque-titulo {
        font-size: min(var(--mld-title-size, 24px), 22px);
    }
}


/* =========================================================
   PORTALNEWS 2.4.0 — Painel de Cores Completo
   As cores finais são publicadas pelo Customizer em wp_head.
========================================================= */
:root {
    --pn-text-secondary: #666666;
    --pn-link: var(--pn-primary, #03A250);
    --pn-link-hover: var(--pn-secondary, #027a3d);
    --pn-card-bg: var(--pn-surface, #ffffff);
    --pn-card-title: var(--pn-text, #222222);
    --pn-card-category: var(--pn-primary, #03A250);
    --pn-card-date: #666666;
    --pn-card-excerpt: #555555;
    --pn-card-border: var(--pn-border, #e5e5e5);
}


/* =========================================================
   FOOTER PERSONALIZÁVEL — v2.4.2
   Footer 1–4 = colunas de widgets
   Site Footer = faixa independente de widgets
========================================================= */
.site-footer {
    --pn-footer-content-width: 1360px;
    --pn-footer-columns-gap: 28px;
    --pn-footer-padding-top: 30px;
    --pn-footer-padding-bottom: 18px;
    --pn-site-footer-padding-y: 16px;
    --pn-footer-columns-align: left;
    --pn-site-footer-align: center;
}

.site-footer .site-footer-container,
.site-footer .site-footer-bottom-inner {
    width: 100%;
    max-width: var(--pn-footer-content-width, 1360px);
    margin-left: auto;
    margin-right: auto;
}

.site-footer .site-footer-container {
    padding: var(--pn-footer-padding-top, 30px) 20px var(--pn-footer-padding-bottom, 18px);
}

.site-footer .footer-container.site-footer-columns {
    width: 100%;
    max-width: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(var(--pn-footer-columns-count, 4), minmax(0, 1fr));
    gap: var(--pn-footer-columns-gap, 28px);
    text-align: var(--pn-footer-columns-align, left);
}

.site-footer .site-footer-column {
    min-width: 0;
    text-align: inherit;
}

/* O wrapper das áreas deve ser neutro; o conteúdo vem dos widgets. */
.site-footer .site-footer-column .footer-widget,
.site-footer .site-footer-bottom .site-footer-widget {
    margin: 0;
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

.site-footer .site-footer-bottom {
    width: 100%;
    border-top: 1px solid color-mix(in srgb, var(--pn-footer-text, #fff) 18%, transparent);
}

.site-footer .site-footer-bottom-inner {
    padding: var(--pn-site-footer-padding-y, 16px) 20px;
    text-align: var(--pn-site-footer-align, center);
}

.site-footer .site-footer-bottom .widget,
.site-footer .site-footer-bottom .site-footer-widget,
.site-footer .site-footer-bottom p,
.site-footer .site-footer-bottom ul,
.site-footer .site-footer-bottom ol {
    margin-top: 0;
    margin-bottom: 0;
}

.site-footer .site-footer-bottom .site-footer-widget + .site-footer-widget {
    margin-top: 10px;
}

.site-footer .footer-copyright-fallback {
    margin: 0;
    text-align: var(--pn-site-footer-align, center);
}

@media (max-width: 1024px) {
    .site-footer .footer-container.site-footer-columns {
        grid-template-columns: repeat(min(2, var(--pn-footer-columns-count, 4)), minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .site-footer .footer-container.site-footer-columns {
        grid-template-columns: 1fr;
    }
    .site-footer .site-footer-container,
    .site-footer .site-footer-bottom-inner {
        padding-left: 14px;
        padding-right: 14px;
    }
}

/* =========================================================
   PORTALNEWS 2.4.4 — SLIDER DE NOTÍCIAS AVANÇADO
========================================================= */
.portalnews-layout-slider {
    --pn-slider-arrow-color: #fff;
    --pn-slider-arrow-bg: rgba(0,0,0,.48);
}

.portalnews-layout-slider .pn-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 8;
    width: var(--pn-slider-arrow-size, 36px);
    height: var(--pn-slider-arrow-size, 36px);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    margin: 0;
    padding: 0;
    border: 0 !important;
    color: var(--pn-slider-arrow-color, #fff) !important;
    background: var(--pn-slider-arrow-bg, rgba(0,0,0,.48)) !important;
    font-size: calc(var(--pn-slider-arrow-size, 36px) * .58);
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,.18) !important;
    opacity: .9;
    transition: opacity .2s ease, transform .2s ease, background .2s ease;
}

.portalnews-layout-slider .pn-slider-arrow:hover,
.portalnews-layout-slider .pn-slider-arrow:focus-visible {
    opacity: 1;
    transform: translateY(-50%) scale(1.07);
}

.portalnews-layout-slider .pn-slider-arrow:disabled {
    opacity: .3;
    cursor: default;
}

.portalnews-layout-slider .pn-slider-prev { left: 12px; }
.portalnews-layout-slider .pn-slider-next { right: 12px; }
.portalnews-layout-slider.pn-arrow-circle .pn-slider-arrow { border-radius: 999px !important; }
.portalnews-layout-slider.pn-arrow-square .pn-slider-arrow { border-radius: 4px !important; }
.portalnews-layout-slider.pn-arrow-transparent .pn-slider-arrow {
    background: transparent !important;
    box-shadow: none !important;
    text-shadow: 0 2px 7px rgba(0,0,0,.9);
}

.portalnews-layout-slider .pn-slider-dots {
    position: absolute;
    z-index: 8;
    right: 16px;
    bottom: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.portalnews-layout-slider .pn-slider-dot {
    width: 9px;
    height: 9px;
    min-width: 9px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.92) !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.28) !important;
    box-shadow: none !important;
    cursor: pointer;
}

.portalnews-layout-slider .pn-slider-dot.active {
    background: #fff !important;
    transform: scale(1.18);
}

.portalnews-layout-slider .pn-slider-counter {
    position: absolute;
    z-index: 8;
    top: 12px;
    right: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    color: #fff;
    background: rgba(0,0,0,.52);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.portalnews-layout-slider .pn-slider-progress {
    position: absolute;
    z-index: 9;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    overflow: hidden;
    background: rgba(255,255,255,.18);
}

.portalnews-layout-slider .pn-slider-progress > span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--pn-primary, #03A250);
}

/* Fade: preserva o comportamento visual já usado pelo tema. */
.portalnews-layout-slider.pn-transition-fade > .portalnews-standard-slide {
    transition: opacity var(--pn-slider-speed, 650ms) ease, visibility var(--pn-slider-speed, 650ms) ease !important;
}

/* Deslizar horizontal. */
.portalnews-layout-slider.pn-transition-slide > .portalnews-standard-slide {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(100%);
    pointer-events: none;
    transition: transform var(--pn-slider-speed, 650ms) cubic-bezier(.22,.61,.36,1) !important;
}
.portalnews-layout-slider.pn-transition-slide > .portalnews-standard-slide.active {
    transform: translateX(0);
    pointer-events: auto;
    z-index: 2;
}
.portalnews-layout-slider.pn-transition-slide[data-direction="prev"] > .portalnews-standard-slide:not(.active) {
    transform: translateX(-100%);
}

@media (max-width: 640px) {
    .portalnews-layout-slider .pn-slider-arrow {
        width: min(var(--pn-slider-arrow-size, 36px), 34px);
        height: min(var(--pn-slider-arrow-size, 36px), 34px);
    }
    .portalnews-layout-slider .pn-slider-prev { left: 8px; }
    .portalnews-layout-slider .pn-slider-next { right: 8px; }
    .portalnews-layout-slider .pn-slider-dots { right: 10px; bottom: 10px; }
}


/* =========================================================
   PORTALNEWS 2.4.6 — TÍTULOS DAS WIDGETS PERSONALIZÁVEIS
   Mantém o visual do tema quando a opção está em "Padrão do tema".
========================================================= */
.portalnews-widget-title-scope.pn-widget-heading-size-custom > .widget-title,
.portalnews-widget-title-scope.pn-widget-heading-size-custom > h2,
.portalnews-widget-title-scope.pn-widget-heading-size-custom > h3 {
    font-size: var(--pn-widget-heading-size) !important;
}
.portalnews-widget-title-scope.pn-widget-heading-line-custom > .widget-title,
.portalnews-widget-title-scope.pn-widget-heading-line-custom > h2,
.portalnews-widget-title-scope.pn-widget-heading-line-custom > h3 {
    line-height: var(--pn-widget-heading-line) !important;
}
.portalnews-widget-title-scope.pn-widget-heading-weight-custom > .widget-title,
.portalnews-widget-title-scope.pn-widget-heading-weight-custom > h2,
.portalnews-widget-title-scope.pn-widget-heading-weight-custom > h3 {
    font-weight: var(--pn-widget-heading-weight) !important;
}
.portalnews-widget-title-scope.pn-widget-heading-transform-custom > .widget-title,
.portalnews-widget-title-scope.pn-widget-heading-transform-custom > h2,
.portalnews-widget-title-scope.pn-widget-heading-transform-custom > h3 {
    text-transform: var(--pn-widget-heading-transform) !important;
}
.portalnews-widget-title-scope.pn-widget-heading-letter-custom > .widget-title,
.portalnews-widget-title-scope.pn-widget-heading-letter-custom > h2,
.portalnews-widget-title-scope.pn-widget-heading-letter-custom > h3 {
    letter-spacing: var(--pn-widget-heading-letter) !important;
}
.portalnews-widget-title-scope.pn-widget-heading-align-custom > .widget-title,
.portalnews-widget-title-scope.pn-widget-heading-align-custom > h2,
.portalnews-widget-title-scope.pn-widget-heading-align-custom > h3 {
    text-align: var(--pn-widget-heading-align) !important;
}
.portalnews-widget-title-scope.pn-widget-heading-color-custom > .widget-title,
.portalnews-widget-title-scope.pn-widget-heading-color-custom > h2,
.portalnews-widget-title-scope.pn-widget-heading-color-custom > h3 {
    color: var(--pn-widget-heading-color) !important;
}
.portalnews-widget-title-scope.pn-widget-heading-margin-custom > .widget-title,
.portalnews-widget-title-scope.pn-widget-heading-margin-custom > h2,
.portalnews-widget-title-scope.pn-widget-heading-margin-custom > h3 {
    margin-bottom: var(--pn-widget-heading-margin-bottom) !important;
}

/* Linha curta decorativa gerada pelo tema. */
.portalnews-widget-title-scope.pn-widget-heading-line-hide > .widget-title::after,
.portalnews-widget-title-scope.pn-widget-heading-line-hide > h2::after,
.portalnews-widget-title-scope.pn-widget-heading-line-hide > h3::after {
    display: none !important;
    content: none !important;
}
.portalnews-widget-title-scope.pn-widget-heading-line-show > .widget-title,
.portalnews-widget-title-scope.pn-widget-heading-line-show > h2,
.portalnews-widget-title-scope.pn-widget-heading-line-show > h3 {
    position: relative;
}
.portalnews-widget-title-scope.pn-widget-heading-line-show > .widget-title::after,
.portalnews-widget-title-scope.pn-widget-heading-line-show > h2::after,
.portalnews-widget-title-scope.pn-widget-heading-line-show > h3::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    bottom: -2px !important;
    width: var(--pn-widget-heading-decoration-width, 40px) !important;
    height: var(--pn-widget-heading-decoration-height, 2px) !important;
    background: var(--pn-widget-heading-decoration-color, var(--pn-primary, #03A250)) !important;
}
.portalnews-widget-title-scope.pn-widget-heading-line-show.pn-widget-heading-align-custom > .widget-title::after,
.portalnews-widget-title-scope.pn-widget-heading-line-show.pn-widget-heading-align-custom > h2::after,
.portalnews-widget-title-scope.pn-widget-heading-line-show.pn-widget-heading-align-custom > h3::after {
    left: 0;
}
.portalnews-widget-title-scope.pn-widget-heading-line-show[style*="--pn-widget-heading-align:center"] > .widget-title::after,
.portalnews-widget-title-scope.pn-widget-heading-line-show[style*="--pn-widget-heading-align:center"] > h2::after,
.portalnews-widget-title-scope.pn-widget-heading-line-show[style*="--pn-widget-heading-align:center"] > h3::after {
    left: 50% !important;
    transform: translateX(-50%);
}
.portalnews-widget-title-scope.pn-widget-heading-line-show[style*="--pn-widget-heading-align:right"] > .widget-title::after,
.portalnews-widget-title-scope.pn-widget-heading-line-show[style*="--pn-widget-heading-align:right"] > h2::after,
.portalnews-widget-title-scope.pn-widget-heading-line-show[style*="--pn-widget-heading-align:right"] > h3::after {
    left: auto !important;
    right: 0 !important;
}
