/* =========================================================
   Portal News - estilos
   As cores e fontes vêm do Personalizar (variáveis em :root)
   ========================================================= */
:root {
	--pn-primary: #c4161c;
	--pn-accent: #0f3b73;
	--pn-header-bg: #fff;
	--pn-nav-bg: #0f3b73;
	--pn-nav-text: #fff;
	--pn-footer-bg: #0d1b2e;
	--pn-text: #1c1f24;
	--pn-muted: #5f6670;
	--pn-line: #e3e6ea;
	--pn-soft: #f4f6f8;
	--pn-font-head: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--pn-font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--pn-radius: 4px;
	--pn-gap: 24px;
	--pn-max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: #fff;
	color: var(--pn-text);
	font: 400 17px/1.55 var(--pn-font-body);
	-webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--pn-primary); }
:focus-visible { outline: 3px solid var(--pn-primary); outline-offset: 2px; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--pn-font-head); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.01em; }

.container { width: 100%; max-width: var(--pn-max); margin: 0 auto; padding: 0 20px; }
.section { padding-top: 32px; padding-bottom: 32px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: #fff; padding: 8px 14px; }
.skip-link:focus { left: 8px; }

.pn-icon { width: 1.25em; height: 1.25em; fill: currentColor; display: block; }

/* ---------- Topo ---------- */
.site-header { display: contents; }
.topbar, .masthead { background: var(--pn-header-bg); }
.topbar { border-bottom: 1px solid var(--pn-line); font-size: 14px; color: var(--pn-muted); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 12px; }
.social { display: flex; gap: 6px; align-items: center; }
.social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.social .pn-icon { width: 17px; height: 17px; }
.topbar-social a { color: var(--pn-muted); }
.topbar-social a:hover { color: var(--pn-primary); }

.masthead-inner { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; min-height: 104px; }
.brand { text-align: center; }
.brand .custom-logo-link { display: inline-block; }
.brand .custom-logo { max-height: 74px; width: auto; margin: 0 auto; }
.brand-text { font-family: var(--pn-font-head); font-weight: 800; font-size: clamp(28px, 4vw, 42px); color: var(--pn-accent); letter-spacing: -.02em; }
.icon-btn {
	display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
	background: none; border: 0; border-radius: 50%; color: var(--pn-text);
}
.icon-btn:hover { background: var(--pn-soft); color: var(--pn-primary); }
.icon-btn .pn-icon { width: 24px; height: 24px; }

.main-nav { background: var(--pn-nav-bg); color: var(--pn-nav-text); z-index: 50; }
.has-sticky-nav .main-nav { position: sticky; top: 0; }
.admin-bar.has-sticky-nav .main-nav { top: 32px; }
.is-scrolled .main-nav { box-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.nav-menu { display: flex; justify-content: center; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-menu a {
	display: block; padding: 14px 18px; color: var(--pn-nav-text);
	font-family: var(--pn-font-head); font-weight: 700; font-size: 15.5px;
}
.nav-menu > li > a { border-bottom: 3px solid transparent; }
.nav-menu > li > a:hover,
.nav-menu > .current-menu-item > a,
.nav-menu > .current-menu-ancestor > a,
.nav-menu > .current-post-ancestor > a { color: var(--pn-nav-text); border-bottom-color: var(--pn-primary); }
.nav-menu .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 6px 0;
	background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .14); border-top: 3px solid var(--pn-primary);
	visibility: hidden; opacity: 0; transform: translateY(6px); transition: .16s ease;
}
.nav-menu li:hover > .sub-menu, .nav-menu li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.nav-menu .sub-menu a { color: var(--pn-text); padding: 9px 16px; font-weight: 600; font-size: 15px; }
.nav-menu .sub-menu a:hover { color: var(--pn-primary); background: var(--pn-soft); }

/* Faixa de urgente */
.ticker { background: var(--pn-soft); border-bottom: 1px solid var(--pn-line); font-size: 15px; }
.ticker-inner { display: flex; align-items: center; gap: 14px; min-height: 42px; overflow: hidden; }
.ticker-label {
	flex: none; background: var(--pn-primary); color: #fff; font-family: var(--pn-font-head);
	font-weight: 800; font-size: 13px; padding: 4px 10px; border-radius: var(--pn-radius);
}
.ticker-track { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 90%, transparent); }
.ticker-list { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; white-space: nowrap; width: max-content; animation: pn-ticker 45s linear infinite; }
.ticker-list:hover { animation-play-state: paused; }
.ticker-list time { color: var(--pn-primary); font-weight: 700; margin-right: 4px; }
@keyframes pn-ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Menu lateral e busca ---------- */
.offcanvas { position: fixed; inset: 0; z-index: 200; }
.offcanvas-backdrop { position: absolute; inset: 0; background: rgba(8, 14, 24, .55); opacity: 0; transition: opacity .2s; }
.offcanvas-panel {
	position: absolute; top: 0; left: 0; bottom: 0; width: min(360px, 88vw); background: #fff;
	overflow-y: auto; padding: 18px 20px 32px; transform: translateX(-100%); transition: transform .22s ease;
}
.offcanvas.is-open .offcanvas-backdrop { opacity: 1; }
.offcanvas.is-open .offcanvas-panel { transform: none; }
.offcanvas-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.brand-small { text-align: left; }
.brand-small .custom-logo { max-height: 44px; margin: 0; }
.brand-small .brand-text { font-size: 24px; }
.offcanvas-menu, .offcanvas-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.offcanvas-menu { margin: 18px 0; border-top: 1px solid var(--pn-line); }
.offcanvas-menu li { position: relative; border-bottom: 1px solid var(--pn-line); }
.offcanvas-menu a { display: block; padding: 13px 44px 13px 0; font-family: var(--pn-font-head); font-weight: 700; }
.offcanvas-menu .sub-menu { display: none; padding-left: 14px; border-top: 1px solid var(--pn-line); }
.offcanvas-menu .sub-menu li:last-child { border-bottom: 0; }
.offcanvas-menu .sub-menu a { font-weight: 600; font-size: 15px; }
.offcanvas-menu .is-open > .sub-menu { display: block; }
.submenu-toggle {
	position: absolute; right: 0; top: 4px; width: 40px; height: 40px; border: 0; background: none;
}
.submenu-toggle::before {
	content: ""; display: block; width: 9px; height: 9px; margin: auto;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .15s;
}
.is-open > .submenu-toggle::before { transform: rotate(-135deg); }
.offcanvas-social a { background: var(--pn-soft); color: var(--pn-accent); }

.search-overlay {
	position: fixed; inset: 0; z-index: 210; background: rgba(255, 255, 255, .98);
	display: grid; place-items: center; padding: 20px; opacity: 0; transition: opacity .2s;
}
.search-overlay.is-open { opacity: 1; }
.search-close { position: absolute; top: 18px; right: 18px; }
.search-overlay-form { width: min(760px, 100%); }
.search-overlay-form input {
	width: 100%; border: 0; border-bottom: 3px solid var(--pn-text); background: none; padding: 10px 0;
	font: 700 clamp(26px, 5vw, 44px)/1.2 var(--pn-font-head); color: var(--pn-text);
}
.search-overlay-form input:focus { outline: none; border-bottom-color: var(--pn-primary); }
.search-hint { color: var(--pn-muted); font-size: 15px; margin-top: 12px; }

.search-form { display: flex; border: 1px solid var(--pn-line); border-radius: var(--pn-radius); overflow: hidden; }
.search-field { flex: 1; min-width: 0; border: 0; padding: 11px 12px; font: inherit; font-size: 16px; }
.search-field:focus { outline: none; }
.search-form:focus-within { border-color: var(--pn-accent); }
.search-submit { border: 0; background: var(--pn-accent); color: #fff; padding: 0 14px; }

/* ---------- Títulos de seção ---------- */
.section-head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
	border-bottom: 2px solid var(--pn-line); margin-bottom: 22px;
}
.section-title {
	position: relative; margin: 0 0 -2px; padding-bottom: 9px;
	font-size: 23px; font-weight: 800; color: var(--pn-accent); border-bottom: 2px solid var(--pn-primary);
}
.section-more { font-size: 14.5px; font-weight: 700; color: var(--pn-primary); padding-bottom: 10px; }
.section-more:hover { text-decoration: underline; }

/* ---------- Cartões ---------- */
.card { position: relative; }
.thumb { display: block; position: relative; overflow: hidden; background: var(--pn-soft); border-radius: var(--pn-radius); aspect-ratio: 16 / 9; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .thumb img { transform: scale(1.03); }
.thumb-placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--pn-soft), var(--pn-line)); }
.play-badge {
	position: absolute; left: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%;
	display: grid; place-items: center; background: var(--pn-primary); color: #fff;
}
.play-badge .pn-icon { width: 20px; height: 20px; margin-left: 2px; }

.cat-badge {
	display: inline-block; font-family: var(--pn-font-head); font-weight: 800; font-size: 13.5px;
	color: var(--pn-primary); margin-bottom: 6px;
}
.cat-badge:hover { text-decoration: underline; }
.card-title { font-size: 19px; font-weight: 700; margin: 0 0 8px; }
.card-title a:hover { color: var(--pn-primary); }
.card-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--pn-muted); }
.card-excerpt { color: #3b414a; margin: 8px 0 0; font-size: 16.5px; }
.card-body { padding-top: 12px; }

/* Destaque principal (texto sobre a imagem) */
.card--hero { position: relative; height: 100%; border-radius: var(--pn-radius); overflow: hidden; background: #111; }
.card--hero .thumb { aspect-ratio: auto; height: 100%; min-height: 420px; border-radius: 0; }
.card--hero .card-body {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 90px 28px 26px;
	background: linear-gradient(to top, rgba(0, 0, 0, .88) 10%, rgba(0, 0, 0, .55) 55%, transparent);
	color: #fff; pointer-events: none;
}
.card--hero .card-body a { pointer-events: auto; }
.card--hero .cat-badge { background: var(--pn-primary); color: #fff; padding: 3px 9px; border-radius: var(--pn-radius); }
.card--hero .card-title { font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin-bottom: 10px; }
.card--hero .card-title a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.card--hero .card-excerpt { color: rgba(255, 255, 255, .88); max-width: 62ch; }
.card--hero .card-meta { color: rgba(255, 255, 255, .78); margin-top: 10px; }

/* Lateral (imagem pequena à esquerda) */
.card--side { display: grid; grid-template-columns: 132px 1fr; gap: 14px; align-items: start; }
.card--side .card-body { padding-top: 0; }
.card--side .card-title { font-size: 17px; line-height: 1.25; }
.card--side .read-time { display: none; }

/* Feed */
.card--feed { display: grid; grid-template-columns: 300px 1fr; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--pn-line); }
.card--feed:first-child { padding-top: 0; }
.card--feed .card-body { padding-top: 0; }
.card--feed .card-title { font-size: 22px; }

/* ---------- Blocos da home ---------- */
.block-hero { padding-top: 26px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: var(--pn-gap); }
.hero-side { display: grid; gap: 18px; align-content: start; }
.hero-side .card--side + .card--side { border-top: 1px solid var(--pn-line); padding-top: 18px; }

.lead-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--pn-gap); }
.lead-main .card--hero .thumb { min-height: 380px; }
.lead-list { display: grid; gap: 18px; align-content: start; }
.lead-list .card--side + .card--side { border-top: 1px solid var(--pn-line); padding-top: 18px; }

.block-video { background: var(--pn-footer-bg); color: #fff; margin: 16px 0; padding: 40px 0 44px; }
.block-video .section-head { border-bottom-color: rgba(255, 255, 255, .16); }
.block-video .section-title { color: #fff; }
.block-video .section-more { color: #fff; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px var(--pn-gap); }
.card--video .card-title { font-size: 18px; }
.card--video .card-title a:hover { color: #fff; text-decoration: underline; }
.card--video .card-meta { color: rgba(255, 255, 255, .65); }
.card--video:first-child { grid-column: span 2; grid-row: span 2; }
.card--video:first-child .card-title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; }
.card--video:first-child .play-badge { width: 64px; height: 64px; left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%); }
.card--video:first-child .play-badge .pn-icon { width: 32px; height: 32px; }

.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px var(--pn-gap); }
.card-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.load-more-wrap { text-align: center; margin-top: 28px; }
.btn {
	display: inline-block; border: 2px solid var(--pn-primary); background: var(--pn-primary); color: #fff;
	font-family: var(--pn-font-head); font-weight: 700; font-size: 16px; padding: 12px 34px; border-radius: var(--pn-radius);
}
.btn:hover { background: #fff; color: var(--pn-primary); }
.btn:disabled { opacity: .6; cursor: default; }

/* ---------- Conteúdo + barra lateral ---------- */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; }
.sidebar-inner { position: sticky; top: 72px; display: grid; gap: 30px; }
.widget-title { font-size: 20px; font-weight: 800; color: var(--pn-accent); border-bottom: 2px solid var(--pn-line); margin-bottom: 16px; }
.widget-title span { display: inline-block; padding-bottom: 8px; margin-bottom: -2px; border-bottom: 2px solid var(--pn-primary); }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--pn-line); }

.most-read { counter-reset: mr; list-style: none; margin: 0; padding: 0; }
.most-read li { counter-increment: mr; display: grid; grid-template-columns: 38px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--pn-line); }
.most-read li::before {
	content: counter(mr); font: 800 30px/1 var(--pn-font-head); color: var(--pn-primary);
}
.most-read a { font-family: var(--pn-font-head); font-weight: 700; font-size: 16px; line-height: 1.3; }

.pn-ad { text-align: center; margin: 24px auto; }
.pn-ad img { margin: 0 auto; }
.pn-ad-label { display: block; font-size: 11px; color: var(--pn-muted); margin-bottom: 4px; }

/* ---------- Arquivos ---------- */
.archive-header { border-bottom: 2px solid var(--pn-line); margin-bottom: 26px; padding-bottom: 14px; }
.archive-kicker { color: var(--pn-primary); font-weight: 700; font-family: var(--pn-font-head); margin: 0 0 4px; }
.archive-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; color: var(--pn-accent); margin: 0; }
.archive-desc { color: var(--pn-muted); margin-top: 8px; }
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; padding: 0; margin: 30px 0 0; }
.pagination a, .pagination span {
	display: block; min-width: 42px; text-align: center; padding: 8px 12px;
	border: 1px solid var(--pn-line); border-radius: var(--pn-radius); font-weight: 700;
}
.pagination .current { background: var(--pn-primary); border-color: var(--pn-primary); color: #fff; }
.empty-state { padding: 20px 0; max-width: 560px; }
.empty-state .search-form { margin: 16px 0; }
.empty-404 { margin: 20px auto 40px; text-align: center; }

/* ---------- Matéria ---------- */
.single-article .entry-header { margin-bottom: 24px; }
.entry-title { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; letter-spacing: -.02em; margin: 4px 0 14px; }
.entry-subtitle { font-size: clamp(19px, 2vw, 22px); line-height: 1.45; color: #3b414a; margin: 0 0 18px; }
.entry-meta {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
	padding: 14px 0; border-top: 1px solid var(--pn-line); border-bottom: 1px solid var(--pn-line);
}
.entry-meta-info { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 15px; color: var(--pn-muted); }
.entry-author a { color: var(--pn-text); font-weight: 700; }
.share { display: flex; align-items: center; gap: 6px; }
.share-label { font-size: 14px; font-weight: 700; margin-right: 4px; }
.share a, .share button {
	display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
	border: 0; color: #fff; background: var(--pn-accent);
}
.share .pn-icon { width: 18px; height: 18px; }
.share-whatsapp { background: #1da851 !important; }
.share-facebook { background: #1664d9 !important; }
.share-x { background: #111 !important; }
.share-copy { background: var(--pn-muted) !important; }
.share-copy.is-done { background: #1da851 !important; }
.share a:hover { color: #fff; opacity: .88; }

.entry-media { margin: 0 0 26px; }
.entry-media img { width: 100%; border-radius: var(--pn-radius); }
.entry-media figcaption, .wp-caption-text, .wp-element-caption { font-size: 14px; color: var(--pn-muted); margin-top: 8px; }

.entry-content { font-size: 19px; line-height: 1.7; }
.entry-content > * { max-width: 720px; }
.entry-content p { margin: 0 0 1.2em; }
.entry-content a { color: var(--pn-accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--pn-primary); }
.entry-content h2 { font-size: 27px; margin-top: 1.4em; }
.entry-content h3 { font-size: 22px; margin-top: 1.3em; }
.entry-content blockquote {
	margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--pn-primary);
	font-family: var(--pn-font-head); font-size: 22px; font-weight: 600; line-height: 1.4;
}
.entry-content img, .entry-content figure { border-radius: var(--pn-radius); }
.entry-content figure { margin: 1.5em 0; }
.entry-content iframe { width: 100%; }
.entry-content .wp-block-embed__wrapper iframe { aspect-ratio: 16 / 9; height: auto; }
.alignleft { float: left; margin: .3em 1.2em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.2em; }
.aligncenter { margin-left: auto; margin-right: auto; }

.entry-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; margin: 30px 0; padding-top: 18px; border-top: 1px solid var(--pn-line); }
.entry-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 14px; }
.entry-tags span { font-weight: 700; }
.entry-tags a { background: var(--pn-soft); padding: 5px 10px; border-radius: var(--pn-radius); }
.related { margin-top: 36px; }

.page-article { max-width: 820px; margin: 0 auto; }

/* Comentários */
.comments-area { margin-top: 44px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--pn-line); }
.comment-author img { float: left; margin-right: 10px; border-radius: 50%; }
.comment-metadata { font-size: 13px; color: var(--pn-muted); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 10px; border: 1px solid var(--pn-line); border-radius: var(--pn-radius); font: inherit;
}
.comment-form .submit { border: 0; background: var(--pn-primary); color: #fff; padding: 12px 26px; border-radius: var(--pn-radius); font-weight: 700; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--pn-footer-bg); color: rgba(255, 255, 255, .78); margin-top: 40px; padding: 48px 0 24px; font-size: 15.5px; }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; padding-bottom: 32px; }
.footer-brand .custom-logo, .footer-logo { max-height: 60px; width: auto; }
.footer-brand .brand-text { color: #fff; }
.footer-about { margin: 14px 0; max-width: 42ch; }
.footer-social a { background: rgba(255, 255, 255, .1); color: #fff; }
.footer-social a:hover { background: var(--pn-primary); }
.footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; }
.footer-widget .widget-title { color: #fff; font-size: 17px; border: 0; }
.footer-widget li { border-color: rgba(255, 255, 255, .1); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 20px; }
.footer-nav .menu { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 0; padding: 0; font-weight: 600; }
.copyright { margin: 0; font-size: 14px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
	.with-sidebar { grid-template-columns: minmax(0, 1fr) 280px; gap: 30px; }
	.card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.card--feed { grid-template-columns: 240px 1fr; }
}

@media (max-width: 900px) {
	/* No celular o menu fica só no botão hambúrguer */
	.main-nav { display: none; }
	.masthead { border-bottom: 3px solid var(--pn-nav-bg); }
	.has-sticky-nav .masthead { position: sticky; top: 0; z-index: 50; }
	.is-scrolled .masthead { box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
	.admin-bar.has-sticky-nav .masthead { top: 32px; }
	.hero-grid, .lead-grid, .with-sidebar, .footer-top { grid-template-columns: 1fr; }
	.card--hero .thumb, .lead-main .card--hero .thumb { min-height: 340px; }
	.hero-side { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px var(--pn-gap); }
	.hero-side .card--side + .card--side { border-top: 0; padding-top: 0; }
	.hero-side .card--side { grid-template-columns: 1fr; }
	.hero-side .card--side .card-body { padding-top: 10px; }
	.video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sidebar-inner { position: static; }
}

@media (max-width: 782px) {
	.admin-bar.has-sticky-nav .masthead { top: 46px; }
}

@media (max-width: 600px) {
	.admin-bar.has-sticky-nav .masthead { top: 0; }
	body { font-size: 16.5px; }
	.container { padding: 0 16px; }
	.topbar-date { font-size: 13px; }
	.topbar-social { display: none; }
	.masthead-inner { min-height: 76px; grid-template-columns: 44px 1fr 44px; }
	.brand .custom-logo { max-height: 50px; }
	.section { padding-top: 24px; padding-bottom: 24px; }
	.card--hero .thumb, .lead-main .card--hero .thumb { min-height: 300px; }
	.card--hero .card-body { padding: 70px 18px 18px; }
	.card--hero .card-excerpt { display: none; }
	.hero-side { grid-template-columns: 1fr; }
	.hero-side .card--side { grid-template-columns: 112px 1fr; }
	.hero-side .card--side .card-body { padding-top: 0; }
	.card--side { grid-template-columns: 112px 1fr; gap: 12px; }
	.card--side .card-title { font-size: 16px; }
	.video-grid { grid-template-columns: 1fr; }
	.card--video:first-child { grid-column: auto; grid-row: auto; }
	.card-grid, .card-grid-2 { grid-template-columns: 1fr; }
	.card--feed { grid-template-columns: 1fr; gap: 12px; }
	.card--feed .card-title { font-size: 20px; }
	.card--feed .card-excerpt { display: none; }
	.entry-content { font-size: 18px; }
	.entry-meta { flex-direction: column; align-items: flex-start; }
	.footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
	.ticker-list { flex-wrap: wrap; width: auto; white-space: normal; gap: 6px 24px; }
}

[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { .ticker-clone { display: none; } }

/* ---------- Home: Mais lidas ---------- */
.mostread-row {
	counter-reset: mrr; list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(var(--pn-cols, 5), minmax(0, 1fr)); gap: 26px var(--pn-gap);
}
.mostread-item { counter-increment: mrr; position: relative; }
.mostread-item::before {
	content: counter(mrr); position: absolute; z-index: 2; left: 0; top: 0;
	min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 8px;
	background: var(--pn-primary); color: #fff; font: 800 24px/1 var(--pn-font-head);
	border-radius: var(--pn-radius) 0 var(--pn-radius) 0;
}
.mostread-body { padding-top: 12px; }
.mostread-item .card-title { font-size: 17px; line-height: 1.28; }
.mostread-item .card-title a:hover { color: var(--pn-primary); }

@media (max-width: 1080px) {
	.mostread-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
	.mostread-row {
		grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%;
		overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
	}
	.mostread-item { scroll-snap-align: start; }
}

/* ---------- Destaques: fundo e estilo "título abaixo" ---------- */
.block-hero { background: var(--pn-hero-bg, transparent); padding-bottom: 32px; }
.card--hero-below { background: none; overflow: visible; height: auto; }
.card--hero-below .thumb { aspect-ratio: 16 / 9; height: auto; min-height: 0; border-radius: 8px; }
.card--hero-below .card-body {
	position: static; padding: 16px 0 0; background: none; color: var(--pn-text); pointer-events: auto;
}
.card--hero-below .cat-badge { background: var(--pn-primary); color: #fff; padding: 4px 12px; border-radius: var(--pn-radius); }
.card--hero-below .card-title { font-size: clamp(24px, 2.6vw, 34px); margin-top: 6px; }
.card--hero-below .card-title a:hover { color: var(--pn-primary); text-decoration: none; }
.card--hero-below .card-excerpt { color: #3b414a; }
.card--hero-below .card-meta { color: var(--pn-muted); }
@media (max-width: 900px) { .card--hero-below .thumb { min-height: 0 !important; } }

/* ---------- Widgets em bloco do WordPress na barra lateral e rodapé ---------- */
.sidebar .wp-block-heading, .sidebar .widget > h2 {
	font-size: 20px; font-weight: 800; color: var(--pn-accent);
	border-bottom: 2px solid var(--pn-line); padding-bottom: 8px; margin-bottom: 16px;
}
.wp-block-search__inside-wrapper { display: flex; border: 1px solid var(--pn-line); border-radius: var(--pn-radius); overflow: hidden; }
.wp-block-search__input { flex: 1; min-width: 0; border: 0; padding: 11px 12px; font: inherit; font-size: 16px; }
.wp-block-search__input:focus { outline: none; }
.wp-block-search__button { border: 0; margin: 0; background: var(--pn-accent); color: #fff; padding: 0 16px; font-weight: 700; }
.wp-block-search__label { display: block; font-weight: 700; margin-bottom: 6px; }
.wp-block-latest-posts, .wp-block-categories, .wp-block-archives, .wp-block-latest-comments { list-style: none; margin: 0; padding: 0; }
.wp-block-latest-posts li, .wp-block-categories li, .wp-block-archives li, .wp-block-latest-comments li { padding: 8px 0; border-bottom: 1px solid var(--pn-line); }
.wp-block-latest-posts a { font-weight: 600; }
.footer-widgets .wp-block-heading { color: #fff; font-size: 17px; }

/* ---------- Botão de destaque no menu ---------- */
.main-nav .container { display: flex; align-items: center; justify-content: center; gap: 10px; }
.navbtn {
	display: inline-flex; align-items: center; gap: 8px; flex: none;
	background: var(--pn-btn-bg, #1565c0); color: var(--pn-btn-color, #fff);
	font: 800 14px/1 var(--pn-font-head); text-transform: uppercase; letter-spacing: .02em;
	padding: 5px 16px 5px 5px; border-radius: 999px; white-space: nowrap;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, .18);
}
.navbtn:hover { color: var(--pn-btn-color, #fff); filter: brightness(1.12); }
.navbtn-icon {
	display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
	background: var(--pn-btn-accent, #f5c518); color: var(--pn-btn-bg, #1565c0); overflow: hidden;
}
.navbtn-icon svg { width: 17px; height: 17px; fill: currentColor; }
.navbtn-icon-img { background: transparent; }
.navbtn-icon-img img { width: 100%; height: 100%; object-fit: contain; }
.navbtn:not(:has(.navbtn-icon)) { padding-left: 16px; }
.navbtn-offcanvas { margin-top: 16px; }
.navbtn-mobile-bar { display: none; }
@media (max-width: 900px) {
	.navbtn-mobile-bar { display: flex; justify-content: center; padding: 10px 16px; background: var(--pn-header-bg); border-bottom: 1px solid var(--pn-line); }
}
