/*
Theme Name: Sindvigilância
Theme URI: https://sindvigilanciapiracicaba.org.br/
Author: Sindvigilância Piracicaba
Description: Tema clássico do portal Sindvigilância Piracicaba, com widgets Elementor (versão gratuita) e fallback nativo. Requer o plugin companheiro "Sindvigilância Conteúdo".
Version: 1.0.2
Requires at least: 6.7
Requires PHP: 8.2
License: GPL-2.0-or-later
Text Domain: sindvigilancia
Domain Path: /languages
*/

:root {
  --blue: #0c3f80; --blue-d: #0a2a52; --blue-l: #e3ecf7; --red: #c4202e; --red-d: #a01824;
  --paper: #f5f2eb; --card2: #fffdf8; --ink: #13233a; --soft: #50607a; --line: #dde2e8; --gold: #b08a2e;
  --font-d: 'Bricolage Grotesque', sans-serif; --font-s: 'Figtree', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { font-family: var(--font-s); -webkit-font-smoothing: antialiased; background: var(--paper); color: var(--ink); margin: 0; font-size: 17px; overflow-x: clip; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }
a { color: var(--blue); }
.wrap { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.d, h1, h2, h3, h4 { font-family: var(--font-d); letter-spacing: -.015em; }
.skip { position: absolute; left: -9999px; z-index: 100; background: var(--red); color: #fff; padding: .7rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }
img { max-width: 100%; height: auto; }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sv-ico { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* header */
.topbar { background: var(--blue-d); }
.topbar ul { display: flex; flex-wrap: wrap; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.topbar a { display: block; color: #d6e2f1; text-decoration: none; font-size: .82rem; font-weight: 600; padding: .55rem .75rem; border-radius: 6px; transition: color .2s, background .2s; }
.topbar a:hover { color: #fff; background: rgba(255,255,255,.08); }
.topbar .current-menu-item > a { color: #fff; box-shadow: inset 0 -3px 0 var(--red); border-radius: 0; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.topbar .tel { color: #fff; font-size: .82rem; font-weight: 700; white-space: nowrap; display: inline-flex; gap: .4rem; align-items: center; padding: .55rem 0; }
.topbar .tel:hover { background: none; }
.head { background: var(--card2); border-bottom: 1px solid var(--line); }
.head-in { display: grid; grid-template-columns: auto 1fr minmax(240px, 300px); gap: 2rem; align-items: center; padding: 1.3rem 0; }
.logo img, .logo .custom-logo { height: 74px; width: auto; display: block; }
.logo { text-decoration: none; }
.logo-txt { font-family: var(--font-d); font-weight: 800; color: var(--blue); font-size: 1.4rem; }
.slogan { text-align: center; }
.slogan b { display: block; font-family: var(--font-d); font-size: clamp(1.3rem, 2.4vw, 1.85rem); color: var(--blue); line-height: 1.05; font-weight: 800; }
.slogan span { display: block; color: var(--soft); font-size: .86rem; margin-top: .35rem; }
.slogan i { font-style: normal; color: var(--red); }
.hsearch { display: flex; align-items: center; background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 0 .35rem 0 1rem; transition: border-color .2s; }
.hsearch:focus-within { border-color: var(--blue); }
.hsearch input { flex: 1; min-width: 0; border: 0; background: transparent; min-height: 44px; outline: 0; color: var(--ink); }
.hsearch button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; display: grid; place-items: center; cursor: pointer; }
.hsearch button:hover { background: var(--red); }
.cnav { background: var(--blue); position: sticky; top: 0; z-index: 40; box-shadow: 0 6px 20px -12px rgba(10,42,82,.6); }
.admin-bar .cnav { top: 32px; }
.cnav-in { display: flex; align-items: center; gap: .6rem; min-height: 54px; }
.cnav ul { display: flex; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.cnav ul a { display: block; color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; padding: .5rem .7rem; border-radius: 8px; transition: background .2s; }
.cnav ul a:hover { background: rgba(255,255,255,.12); }
.cnav ul .current-menu-item > a { background: #fff; color: var(--blue); }
.cnav ul ul { display: none; }
.sind { margin-left: auto; background: var(--red); color: #fff; text-decoration: none; font-weight: 800; padding: .6rem 1.1rem; border-radius: 999px; white-space: nowrap; font-family: var(--font-d); transition: transform .2s, background .2s; display: inline-flex; gap: .4rem; align-items: center; }
.sind:hover { background: var(--red-d); transform: translateY(-1px); }
.burger { display: none; background: transparent; border: 1.5px solid rgba(255,255,255,.5); color: #fff; border-radius: 8px; padding: .45rem .8rem; font-weight: 700; gap: .4rem; align-items: center; cursor: pointer; }
.drawer { background: var(--blue-d); padding: .6rem 0 1.2rem; }
.drawer[hidden] { display: none; }
.drawer h2 { color: #9fb6d6; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; margin: 1rem 0 .3rem; font-family: var(--font-s); }
.drawer ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .2rem; }
.drawer a { display: block; color: #fff; text-decoration: none; padding: .7rem .5rem; border-radius: 6px; font-weight: 600; }
.drawer .current-menu-item > a { background: rgba(255,255,255,.12); }

/* panels */
.panel { background: var(--card2); border: 1px solid var(--line); border-radius: 14px; padding: 1.25rem; }
.ph2 { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 2px solid var(--blue-l); padding-bottom: .65rem; margin-bottom: 1rem; position: relative; }
.ph2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 44px; height: 2px; background: var(--red); }
.ph2 h2 { margin: 0; font-size: 1.3rem; color: var(--blue); font-weight: 800; }
.more { color: var(--red); font-weight: 700; font-size: .84rem; text-decoration: none; white-space: nowrap; display: inline-flex; gap: .25rem; align-items: center; }
.more:hover { text-decoration: underline; }
.date { font-size: .78rem; color: var(--gold); font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.tag { display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: .15rem .5rem; border-radius: 999px; background: var(--blue-l); color: var(--blue); }
.tag.red { background: #fbe4e6; color: var(--red-d); }
.tag.arch { background: #efe8d6; color: #6e5512; }

/* home layout */
.home-grid { display: grid; grid-template-columns: 3fr 1fr; gap: 1.5rem; padding: 1.6rem 0 3rem; align-items: start; }
.left { display: grid; gap: 1.5rem; min-width: 0; }
.left-split { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; align-items: start; }
.col, .side { display: grid; gap: 1.5rem; min-width: 0; }
.sv-elementor-page { padding: 1.6rem 0 3rem; }
.elementor-widget-container > .panel, .elementor-widget-container > .feat, .elementor-widget-container > .nh { margin: 0; }

/* campaigns */
.feat { background: var(--blue-d); color: #fff; border-radius: 18px; overflow: hidden; min-width: 0; position: relative; }
.feat-slide { display: block; }
.feat-slide[hidden] { display: none; }
body .feat-slide img { display: block; width: 100%; height: clamp(208px, calc(18vw + 58px), 298px); object-fit: cover; animation: fade .45s ease both; }
.feat-ctl { position: absolute; right: .75rem; bottom: .65rem; display: flex; gap: .4rem; align-items: center; padding: .3rem .45rem; border-radius: 99px; background: rgba(8, 30, 60, .72); }
.feat-ctl button, .nh-ctl button { border: 0; cursor: pointer; }
.arrow, .nh-arrow { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.arrow:hover, .nh-arrow:hover { background: var(--red); }
.dotb, .nh-dot { width: 28px; height: 28px; background: transparent; display: grid; place-items: center; padding: 0; }
.dotb span, .nh-dot span { width: 9px; height: 9px; border-radius: 99px; background: rgba(255,255,255,.4); transition: width .25s, background .25s; }
.dotb[aria-current="true"] span, .nh-dot[aria-current="true"] span { width: 22px; background: #fff; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* news highlights */
.nh { display: grid; grid-template-columns: 1.7fr 1fr; gap: 1rem; min-width: 0; height: clamp(340px, 34vw, 436px); align-items: stretch; }
.nh.single { grid-template-columns: 1fr; }
.nh-main { background: var(--blue-d); border-radius: 16px; overflow: hidden; min-width: 0; display: flex; flex-direction: column; }
.nh-stage { flex: 1; min-height: 0; }
.nh-stage > [hidden] { display: none; }
.nh-card { display: flex; flex-direction: column; text-decoration: none; border-radius: 14px; overflow: hidden; height: 100%; }
.nh-fig { display: block; position: relative; background: var(--blue-d); overflow: hidden; }
body .nh-fig img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .35s; }
.nh-card:hover .nh-fig img { transform: scale(1.02); }
.nh-big { position: relative; border-radius: 0; color: #fff; }
.nh-big .nh-fig { height: 100%; }
.nh-big .nh-fig img { animation: fade .45s ease both; }
.nh-big .nh-cap { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: .35rem; justify-items: start; padding: 3.2rem 1.2rem 1rem; background: linear-gradient(180deg, rgba(10,42,82,0) 0%, rgba(10,42,82,.82) 45%, rgba(8,30,60,.96) 100%); }
.nh-big h2 { margin: 0; color: #fff; font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.12; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.nh-big:hover h2 { text-decoration: underline; }
.nh-small { background: var(--card2); border: 1px solid var(--line); color: var(--ink); box-shadow: 0 8px 20px -16px rgba(10,42,82,.5); }
.nh-small .nh-fig { flex: 1 1 0; min-height: 0; }
.nh-small .nh-cap { display: grid; gap: .25rem; justify-items: start; padding: .65rem .85rem .75rem; border-top: 3px solid var(--red); }
.nh-small h3 { margin: 0; font-size: 1rem; line-height: 1.18; color: var(--ink); }
.nh-small:hover h3 { color: var(--blue); text-decoration: underline; }
.nh-meta { font-size: .74rem; font-weight: 700; color: var(--gold); }
.nh-big .nh-meta { color: #f0d48c; }
.nh-ctl { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .45rem .8rem .55rem; }
.nh-dots { display: flex; gap: .15rem; }
.nh-side { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-rows: repeat(2, minmax(0, 1fr)); min-width: 0; height: 100%; }
.nh-side li { min-height: 0; }
.nh-side li[hidden] { display: none; }
.nh-noimg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--blue-d), var(--blue)); }

/* lists */
.nlist { list-style: none; margin: 0; padding: 0; display: grid; }
.nlist li + li { border-top: 1px dashed var(--line); }
.nitem { display: grid; grid-template-columns: 112px 1fr; gap: 1rem; padding: .85rem 0; text-decoration: none; color: inherit; align-items: center; }
body .nitem img, .nitem .ph-img { width: 112px; height: 84px; object-fit: cover; border-radius: 8px; background: var(--blue-l); transition: transform .3s; display: block; }
.nitem:hover img { transform: scale(1.03); }
.nitem h3 { margin: .2rem 0 0; font-size: 1.08rem; line-height: 1.2; color: var(--ink); }
.nitem:hover h3 { color: var(--blue); text-decoration: underline; }
.nitem p { margin: .3rem 0 0; font-size: .9rem; color: var(--soft); line-height: 1.45; }
.src { font-size: .74rem; color: var(--soft); }
.hint { font-size: .82rem; color: var(--soft); margin: .2rem 0 .6rem; line-height: 1.5; }
.jornal img { width: 100%; border-radius: 8px; border: 1px solid var(--line); display: block; aspect-ratio: 4/3.1; object-fit: cover; object-position: top; transition: transform .3s; }
.jornal a:hover img { transform: translateY(-2px); }
.jornal h3 { font-size: 1.02rem; margin: .7rem 0 .5rem; }
.row { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .7rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 44px; padding: .55rem 1rem; border-radius: 999px; font-weight: 700; font-size: .9rem; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background .2s, color .2s, transform .2s; background: var(--blue); color: #fff; }
.btn:hover { transform: translateY(-1px); }
.b-blue { background: var(--blue); color: #fff; } .b-blue:hover { background: var(--blue-d); }
.b-red { background: var(--red); color: #fff; } .b-red:hover { background: var(--red-d); }
.b-line { border-color: var(--blue); color: var(--blue); background: transparent; } .b-line:hover { background: var(--blue); color: #fff; }
.emptyp { text-align: center; padding: 1rem .5rem; color: var(--soft); border: 1.5px dashed var(--line); border-radius: 10px; font-size: .92rem; }
.emptyp b { display: block; color: var(--blue); font-family: var(--font-d); font-size: 1.05rem; margin-bottom: .2rem; }
.notice, .sv-notice { background: #fff5dc; border: 1px solid #ecd48f; color: #5b4510; border-radius: 10px; padding: .7rem .85rem; font-size: .85rem; line-height: 1.45; }
.notice a, .sv-notice a { color: inherit; font-weight: 700; }
.sv-notice.success, .sv-notice.ok { background: #e4f3ea; border-color: #b7dcc5; color: #145c37; }
.sv-notice.error { background: #fbe4e6; border-color: #f0b5bb; color: var(--red-d); }

/* forms (plugin shortcodes) */
.sv-form, .mform { display: grid; gap: .6rem; }
.sv-field { display: grid; gap: .3rem; }
.sv-field label { font-weight: 700; font-size: .86rem; color: var(--blue); }
.sv-form input:not([type=radio]):not([type=checkbox]):not([type=submit]), .sv-form select, .sv-form textarea { width: 100%; border: 1.5px solid var(--line); background: #fff; border-radius: 8px; padding: .65rem .8rem; color: var(--ink); }
.sv-form :is(input,select,textarea):focus { border-color: var(--blue); outline: 0; }
.sv-form textarea { min-height: 120px; }
.sv-form button, .sv-form input[type=submit] { justify-self: start; }

/* sidebar media */
.ext { font-size: .72rem; color: var(--soft); }
.partner { display: flex; gap: .7rem; align-items: center; padding: .6rem 0; border-top: 1px dashed var(--line); text-decoration: none; color: var(--ink); }
.partner:first-child { border-top: 0; }
.partner .pm { width: 64px; height: 44px; border-radius: 6px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 800; font-size: .62rem; color: var(--blue); flex-shrink: 0; overflow: hidden; text-align: center; }
.partner .pm img { max-width: 100%; max-height: 100%; object-fit: contain; }
.partner b { font-size: .9rem; } .partner:hover b { color: var(--blue); text-decoration: underline; }
.partner .sv-ico { margin-left: auto; }

/* inner pages */
.ph { color: #fff; }
.ph .ph-in { width: min(1140px, 100%); background: linear-gradient(115deg, var(--blue-d), var(--blue)); padding: 2.4rem 32px 2.2rem; }
@media (max-width: 760px) { .ph .ph-in { padding: 2rem 16px 1.8rem; } }
.crumb { font-size: .82rem; color: #a9bfdd; } .crumb a { color: #fff; }
.ph h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: .4rem 0 .5rem; line-height: 1.05; }
.ph p { margin: 0; color: #d0dcec; max-width: 680px; line-height: 1.55; }
.page-grid { display: grid; grid-template-columns: 3fr 1fr; gap: 1.5rem; padding: 1.8rem 0 3rem; align-items: start; }
.page-grid > * { min-width: 0; }
.page-full { padding: 1.8rem 0 3rem; }
.stack { display: grid; gap: 1rem; }
.prose { line-height: 1.7; color: #33435a; }
.prose p, .prose li { line-height: 1.7; }
.prose h2 { color: var(--blue); font-size: 1.4rem; margin: 1.2rem 0 .5rem; }
.prose h3 { color: var(--blue); }
.prose img { border-radius: 8px; }
.prose > :first-child { margin-top: 0; }
.alignwide, .alignfull { max-width: 100%; }
/* Páginas internas: texto em cartão, tipografia do tema (inclusive no Elementor) */
.page-body .elementor-widget-text-editor { background: var(--card2); border: 1px solid var(--line); border-radius: 14px; padding: 1.6rem 1.8rem; color: #33435a; font-family: var(--font-s); font-size: 1.05rem; line-height: 1.75; }
.page-body .elementor-widget-text-editor > .elementor-widget-container { padding: 0; }
.page-body .elementor-widget-text-editor p:first-child { font-size: 1.15rem; color: var(--ink); }
.prose h2 { font-family: var(--font-d); border-left: 4px solid var(--red); padding-left: .7rem; line-height: 1.2; margin-top: 1.8rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin: .35rem 0; }
.prose li::marker { color: var(--red); font-weight: 700; }
.prose strong { color: var(--ink); }
.prose a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (max-width: 760px) { .page-body .elementor-widget-text-editor { padding: 1.2rem; } }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
.alignleft { float: left; margin: 0 1rem 1rem 0; } .alignright { float: right; margin: 0 0 1rem 1rem; }
.wp-caption-text, .wp-element-caption { font-size: .8rem; color: var(--soft); }
.count { font-size: .85rem; color: var(--soft); margin: 0 0 .5rem; }
.tools { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: 1rem; }
.tools .hsearch { flex: 1 1 260px; }
.fbtn { border: 1.5px solid var(--blue); background: transparent; color: var(--blue); border-radius: 999px; padding: .45rem .9rem; font-weight: 700; font-size: .86rem; text-decoration: none; }
.fbtn[aria-current="page"] { background: var(--blue); color: #fff; }
.doc { display: grid; grid-template-columns: 90px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-top: 1px dashed var(--line); }
.doc:first-child { border-top: 0; }
.doc .yr { font-family: var(--font-d); font-weight: 800; color: var(--red); font-size: 1.25rem; }
.doc h3 { margin: 0 0 .15rem; font-size: 1.02rem; } .doc h3 a { color: var(--ink); text-decoration: none; } .doc h3 a:hover { color: var(--blue); text-decoration: underline; }
.doc p { margin: 0; font-size: .88rem; color: var(--soft); }
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gal a { text-decoration: none; color: var(--ink); }
.gal img, .gal .ph-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; transition: transform .3s; display: block; background: var(--blue-l); }
.gal a:hover img { transform: scale(1.02); }
.gal b { display: block; margin-top: .45rem; font-size: .95rem; }
.art-fig { margin: 0 0 1rem; text-align: center; background: var(--blue-l); border-radius: 12px; padding: 1rem; }
.art-fig img { max-height: 520px; width: auto; border-radius: 8px; }
.art-meta { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 1rem; }
.source-box { margin-top: 1.4rem; padding: .9rem 1rem; border-left: 4px solid var(--red); background: var(--blue-l); border-radius: 0 10px 10px 0; font-size: .9rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .6rem; }
.contact-list b { display: block; color: var(--blue); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.pagination, .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.2rem; }
.page-numbers { display: inline-grid; place-items: center; min-width: 42px; min-height: 42px; padding: 0 .7rem; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; color: var(--blue); font-weight: 700; background: var(--card2); }
.page-numbers.current { background: var(--blue); color: #fff; border-color: var(--blue); }
a.page-numbers:hover { border-color: var(--blue); }
.post-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; flex-wrap: wrap; }

/* footer */
.ftr { background: var(--blue-d); color: #c7d4e6; margin-top: 1rem; }
.ftr-g { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; padding: 2.6rem 0 2rem; }
.ftr-logo { background: var(--card2); border-radius: 10px; padding: .5rem .7rem; display: inline-block; }
.ftr-logo img { height: 58px; width: auto; display: block; }
.ftr h2 { color: #fff; font-size: 1rem; margin: 0 0 .7rem; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.ftr a { color: #c7d4e6; text-decoration: none; } .ftr a:hover { color: #fff; text-decoration: underline; }
.ftr p { font-size: .88rem; line-height: 1.55; }
.ftr-b { border-top: 1px solid rgba(255,255,255,.12); padding: 1.1rem 0 1.4rem; font-size: .82rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 1140px) { .cnav .desk { display: none; } .burger { display: inline-flex; } .topbar ul { display: none; } }
@media (max-width: 1000px) { .home-grid, .page-grid { grid-template-columns: 1fr; } .side { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
@media (max-width: 782px) { .admin-bar .cnav { top: 0; } }
@media (max-width: 760px) {
  .head-in { grid-template-columns: auto 1fr; gap: 1rem; } .hsearch.top { grid-column: 1 / -1; }
  .logo img, .logo .custom-logo { height: 54px; } .slogan { text-align: left; } .slogan span { display: none; }
  .left-split, .ftr-g { grid-template-columns: 1fr; }
  body .feat-slide img { height: auto; }
  .gal { grid-template-columns: 1fr 1fr; }
  .doc { grid-template-columns: 1fr; gap: .4rem; }
  .sind span { display: none; }
  .nh { grid-template-columns: 1fr; height: auto; }
  .nh-stage { flex: none; }
  .nh-big .nh-fig { height: auto; aspect-ratio: 4 / 3; }
  .nh-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: .75rem; height: auto; }
  .nh-small .nh-fig { flex: none; aspect-ratio: 4 / 3; }
  .nh-small .nh-cap { padding: .55rem .65rem; }
  .nh-small h3 { font-size: .9rem; }
}
@media (max-width: 420px) { .nitem { grid-template-columns: 84px 1fr; } body .nitem img, .nitem .ph-img { width: 84px; height: 63px; } .drawer ul { grid-template-columns: 1fr; } .nh-side { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Benefícios (barra lateral) */
.benef { list-style: none; margin: .2rem 0 0; padding: 0; }
.benef li + li { border-top: 1px dashed var(--line); }
.benef a { display: grid; grid-template-columns: 34px 1fr 16px; gap: .7rem; align-items: center; padding: .65rem 0; color: var(--ink); text-decoration: none; }
.benef .bi { width: 34px; height: 34px; border-radius: 50%; background: var(--blue-l); color: var(--blue); display: grid; place-items: center; }
.benef .bi .sv-ico { width: 18px; height: 18px; }
.benef .bt b { display: block; font-size: .92rem; line-height: 1.25; }
.benef .bt small { display: block; color: var(--soft); font-size: .8rem; line-height: 1.3; margin-top: .15rem; }
.benef a > .sv-ico { width: 16px; height: 16px; color: var(--red); }
.benef a:hover b, .benef a:focus-visible b { color: var(--blue); text-decoration: underline; }

/* Notícias do Sindicato: duas colunas quando o bloco ocupa a largura toda */
.sv-noticias { container-type: inline-size; }
@container (min-width: 620px) {
  .sv-noticias .nlist { grid-template-columns: 1fr 1fr; column-gap: 1.8rem; }
  .sv-noticias .nlist li + li { border-top: 0; }
  .sv-noticias .nlist li:nth-child(n+3) { border-top: 1px dashed var(--line); }
}

/* Canal de Denúncias: destaque na lateral */
.sv-denuncia { position: relative; overflow: hidden; background: var(--blue-d); color: #fff; border-radius: 14px; padding: 1.4rem 1.25rem 1.15rem; }
.sv-denuncia::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--red); }
.sv-denuncia .dn-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--red); display: grid; place-items: center; margin-bottom: .75rem; }
.sv-denuncia .dn-ico .sv-ico { width: 22px; height: 22px; color: #fff; }
.sv-denuncia h2 { color: #fff; font-size: 1.3rem; line-height: 1.15; margin: 0 0 .45rem; }
.sv-denuncia p { color: #d6e2f1; font-size: .9rem; line-height: 1.45; margin: 0 0 1rem; }
.sv-denuncia .dn-btn { width: 100%; background: var(--red); color: #fff; }
.sv-denuncia .dn-btn:hover { background: var(--red-d); color: #fff; }
.sv-denuncia small { display: block; margin-top: .65rem; font-size: .75rem; color: #9fb6d6; text-align: center; }
/* Formulário de denúncia */
.sv-report-form .sv-fs { border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.1rem 1.15rem; margin: 0 0 .5rem; display: grid; gap: .75rem; background: #fff; min-width: 0; }
.sv-report-form legend { font-family: var(--font-d); font-weight: 700; font-size: 1.05rem; color: var(--blue); padding: 0 .4rem; }
.sv-report-form .sv-field { font-weight: 700; font-size: .9rem; color: var(--blue); }
.sv-report-form .sv-field :is(input, select, textarea), .sv-report-form .sv-field .hint { font-weight: 400; }
.sv-report-form .sv-fs > .hint { margin: 0; }
.sv-report-form input[type=file] { width: 100%; padding: .55rem; border: 1.5px dashed var(--line); border-radius: 8px; background: var(--card2); color: var(--ink); }
.sv-report-ok { background: #e4f3ea; border-color: #b7dcc5; color: #145c37; font-size: .95rem; }
.sv-report-ok p { margin: .2rem 0; }

/* WhatsApp no topo, ao lado do telefone */
.tb-contacts { display: flex; align-items: center; gap: 1.1rem; margin-left: auto; }
.topbar .tel.wa { color: #fff; }
.topbar .tel.wa .sv-ico { color: #25d366; width: 1.15em; height: 1.15em; }
.topbar .tel.wa .wa-l { color: #9fe3b8; font-weight: 700; }
.topbar .tel.wa:hover .wa-l { color: #fff; }
@media (max-width: 560px) { .tb-contacts { gap: .7rem; } .topbar .tel.wa .wa-l { display: none; } }
