/*
Theme Name: Guerra Institucional
Description: Tema editorial para notícias e atuação institucional.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: guerra-institucional
*/
:root{--blue:#233f91;--ink:#152642;--green:#2d783c;--paper:#f5f6f3;--line:#dce2e6}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:white;font:17px/1.65 system-ui,sans-serif}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}img{max-width:100%;height:auto}button,input,select{font:inherit}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #cf9b22;outline-offset:4px}.wrap{width:min(1200px,90%);margin:auto}.skip{position:absolute;left:-9999px}.skip:focus{left:12px;top:12px;background:white;z-index:9;padding:15px}.topline{background:var(--blue);color:white;font-size:12px;letter-spacing:.12em;padding:8px 0}.header{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:22px 0}.brand img{width:230px;display:block}.navigation ul{display:flex;gap:28px;list-style:none;padding:0;margin:0}.navigation{font-size:15px;font-weight:650}.hero{background:var(--paper);position:relative}.hero-grid{display:grid;grid-template-columns:1fr 1.15fr;min-height:570px}.hero-copy{padding:75px 55px 75px 0;align-self:center}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:12px;font-weight:750;color:var(--green)}h1,h2,h3{line-height:1.12;letter-spacing:-.035em}h1{font-size:clamp(38px,5vw,68px);margin:22px 0}h2{font-size:clamp(30px,3vw,42px);margin:14px 0}h3{font-size:24px}.hero-copy p{max-width:450px;color:#526074}.hero-photo{width:100%;height:100%;object-fit:cover;object-position:35% center;min-height:420px}.button{display:inline-block;background:var(--blue);color:white;padding:14px 23px;margin-top:22px;border:0;cursor:pointer;font-size:15px;font-weight:650}.section{padding:75px 0}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:32px}.text-link{font-size:15px;color:var(--blue);font-weight:700}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}.card{border-bottom:1px solid var(--line);padding-bottom:26px}.card-image{width:100%;aspect-ratio:16/10;object-fit:cover;background:var(--paper)}.card time{display:block;margin-top:18px;font-size:13px;color:#5c6676}.card h3{margin:12px 0 18px}.card p{font-size:15px;color:#526074}.archive-band{background:var(--blue);color:white;padding:60px 0}.archive-band .wrap{display:flex;justify-content:space-between;align-items:center;gap:30px}.archive-band .button{background:white;color:var(--blue)}.filters{display:flex;gap:12px;flex-wrap:wrap;margin:30px 0}.filters input,.filters select{border:1px solid #a9b4bf;background:white;padding:12px;max-width:100%}.filters input{flex:1;min-width:180px}.filters .button{margin:0}.article{max-width:790px;margin:auto;padding:65px 0}.article h1{font-size:clamp(34px,4vw,55px)}.article a{text-decoration:underline;color:var(--blue)}.article-content{overflow-wrap:anywhere}.article-content iframe{max-width:100%}.article-content img{height:auto}.article-content h2{font-size:32px}.meta{font-size:14px;color:#647082}.pagination{padding:35px 0}.page-numbers{display:inline-block;padding:8px 14px;border:1px solid var(--line);margin:3px}.page-numbers.current{background:var(--blue);color:white}.footer{background:#14233e;color:#e4e9f2;padding:45px 0;font-size:14px}.footer .wrap{display:flex;justify-content:space-between;gap:35px}.footer strong{font-size:21px}.empty{padding:35px;background:var(--paper)}@media(max-width:760px){.header{flex-direction:column;align-items:flex-start;gap:20px}.brand img{width:205px}.navigation ul{gap:12px 22px;flex-wrap:wrap}.hero-grid{grid-template-columns:1fr}.hero-copy{padding:45px 0}.hero-photo{min-height:0;height:310px}.grid{grid-template-columns:1fr}.section{padding:45px 0}.section-heading,.archive-band .wrap,.footer .wrap{align-items:flex-start;flex-direction:column}.article{padding:35px 0}.card-image{aspect-ratio:16/9}}

/* Editorial layout */
:root{--blue:#163d76;--ink:#152d3a;--green:#27754c;--paper:#f4f3ee}body{font-size:16px}.wrap{width:min(1260px,90%)}.topline{background:#123d37;font-size:10px;letter-spacing:.18em}.topline .wrap{display:flex;justify-content:space-between}.header{padding:22px 0}.brand img{width:200px}.navigation ul{gap:30px}.hero{background:#133d37;color:white;overflow:hidden}.hero-grid{grid-template-columns: .95fr 1.05fr;min-height:590px;position:relative}.hero-copy{position:relative;z-index:1;padding:65px 45px 90px 0}.hero-copy h1{font-size:clamp(46px,5.4vw,78px);font-weight:750;letter-spacing:-.055em;line-height:1.02;max-width:570px}.hero-copy h1 em{color:#b7d58c;font-style:normal}.hero-copy .eyebrow{color:#b7d58c}.hero-copy p{color:#e0e8e1;font-size:18px;max-width:370px}.hero-photo{min-height:590px;object-position:25% center;mask-image:linear-gradient(to right,transparent,black 20%);width:calc(100% + 8vw);max-width:none}.hero .button{background:#c9e4a6;color:#143d36;padding:16px 24px}.hero .text-link{color:white;display:inline-block;margin-left:20px;font-size:13px}.hero-caption{position:absolute;bottom:20px;right:0;font-size:10px;letter-spacing:.13em;color:white}.quick-nav{display:grid;grid-template-columns:repeat(3,1fr);background:white;border-bottom:1px solid var(--line)}.quick-nav a{padding:25px 30px;border-right:1px solid var(--line);display:flex;justify-content:space-between;gap:20px}.quick-nav small{display:block;color:#62716f;font-size:12px}.quick-nav b{font-size:16px}.quick-nav span{color:var(--green);font-size:26px}.section{padding:85px 0}.eyebrow{font-size:10px;letter-spacing:.2em}h2{font-size:clamp(32px,3.3vw,48px);font-weight:650}.section-heading{margin-bottom:38px}.news-layout{display:grid;grid-template-columns:1.25fr 1fr;gap:40px}.lead-story img{aspect-ratio:16/10;width:100%;object-fit:cover;border-radius:3px}.lead-story h3{font-size:32px;margin:13px 0}.story-meta{font-size:11px;color:#61726a;text-transform:uppercase;letter-spacing:.08em;margin:16px 0 8px}.story-meta b{color:var(--green)}.side-stories{display:flex;flex-direction:column;gap:25px}.side-story{display:grid;grid-template-columns:170px 1fr;gap:24px;border-bottom:1px solid var(--line);padding-bottom:25px}.side-story img{width:170px;aspect-ratio:1.3;object-fit:cover}.side-story h3{font-size:20px;line-height:1.25;margin:8px 0}.side-story .story-meta{margin:0}.topics{background:var(--paper)}.topic-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.topic{padding:30px;background:white;min-height:225px;border-top:3px solid var(--green);display:flex;flex-direction:column;align-items:start}.topic-number{font-size:12px;color:#718175}.topic h3{font-size:27px;margin:15px 0}.topic p{color:#61716b;font-size:14px;margin:0 0 25px}.topic a{margin-top:auto}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.about-grid img{aspect-ratio:1.2;object-fit:cover;width:100%}.about-grid p{color:#596b64}.about-grid h2{font-size:48px}.archive-band{background:#173e38;padding:70px 0}.archive-band h2{max-width:600px}.archive-band .eyebrow{color:#bdd99c}.archive-band .button{white-space:nowrap;background:#c9e4a6;color:#173e38}.archive-controls{max-width:550px}.archive-controls input{padding:16px;background:white;border:0;width:100%;color:var(--ink)}.archive-controls button{margin-top:12px}.footer{background:#102e2b;padding:50px 0}.footer-links{display:flex;gap:25px;font-size:13px}.preview-note{font-size:11px;color:#a8bfb8;margin-top:30px}.card h3{font-size:22px}.card-image{border-radius:3px}.button{border-radius:3px}a img{transition:filter .2s}a:hover img{filter:brightness(.94)}@media(max-width:900px){.side-story{grid-template-columns:110px 1fr;gap:16px}.side-story img{width:110px}.about-grid{gap:35px}.navigation ul{gap:16px}}@media(max-width:760px){.topline .wrap span:last-child{display:none}.header{gap:16px}.navigation{font-size:13px}.hero-grid{display:flex;flex-direction:column;min-height:0}.hero-copy{padding:45px 0 20px}.hero-copy h1{font-size:52px}.hero-photo{height:310px;min-height:0;width:100%;mask-image:linear-gradient(to bottom,transparent,black 20%);object-position:center 40%}.hero-caption{bottom:10px;font-size:8px}.hero .text-link{margin-left:10px}.quick-nav{grid-template-columns:1fr}.quick-nav a{padding:16px 6px}.news-layout,.topic-grid,.about-grid{grid-template-columns:1fr}.section{padding:50px 0}.lead-story h3{font-size:27px}.side-story{grid-template-columns:110px 1fr}.side-story h3{font-size:18px}.about-grid h2{font-size:36px}.footer-links{flex-wrap:wrap}.archive-band{padding:45px 0}.archive-controls{width:100%}}
.article-cover{width:100%;max-height:580px;object-fit:contain;background:var(--paper);margin:20px 0}.article-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:35px}.article-gallery img{width:100%;height:260px;object-fit:cover}.card[hidden]{display:none}.pagination button{cursor:pointer;background:white;color:var(--ink)}.pagination button.current{background:var(--blue);color:white}@media(max-width:600px){.article-gallery{grid-template-columns:1fr}.article-gallery img{height:auto}}
