/*
Theme Name: Gazeta do Valor Leve
Description: Tema editorial nativo, responsivo e sem construtor de páginas para o Gazeta do Valor.
Version: 1.0.0
Author: Douglas Chagas
Text Domain: gazeta-valor-leve
*/
:root{--blue:#07518b;--ink:#18232d;--muted:#65717c;--line:#dfe5e9;--paper:#fff;--soft:#f2f6f8}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.55}a{color:inherit;text-decoration:none}a:hover{color:var(--blue)}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #1584d3;outline-offset:4px}img{max-width:100%;height:auto;display:block}.wrap{max-width:1180px;margin:auto;padding:0 26px}.skip{position:absolute;left:20px;top:-100px;background:#fff;padding:12px;z-index:10000}.skip:focus{top:10px}.topbar{background:var(--blue);color:white;font-size:12px;letter-spacing:.04em}.topbar .wrap{display:flex;justify-content:space-between;gap:16px;padding-top:8px;padding-bottom:8px}.topbar a:hover{color:white;text-decoration:underline}.brand{display:flex;align-items:center;justify-content:space-between;padding-top:27px;padding-bottom:27px;gap:24px}.brand img{width:180px;height:auto}.tagline{font-size:13px;color:var(--muted);border-left:1px solid var(--line);padding-left:24px;max-width:290px}.navline{border-top:1px solid var(--line);border-bottom:2px solid var(--blue)}.nav-inner{display:flex;align-items:center;justify-content:space-between;gap:22px}.desktop-nav{display:flex;gap:24px;align-items:center;min-height:53px;flex-wrap:wrap}.desktop-nav a{font-size:12px;font-weight:400;letter-spacing:.06em;text-transform:uppercase}.search details{position:relative}.search summary{cursor:pointer;font-size:13px;list-style:none;padding:12px 0}.search summary::-webkit-details-marker{display:none}.search form{position:absolute;right:0;top:45px;background:white;padding:18px;border:1px solid var(--line);z-index:20;box-shadow:0 8px 24px #18334d15;width:300px}.search label{font-size:12px;display:block}.search input{width:100%;padding:10px;border:1px solid #abb8c2;margin:8px 0}.search button{background:var(--blue);color:white;border:0;padding:9px 16px;cursor:pointer}.mobile-nav{display:none}.section-top{display:flex;justify-content:space-between;align-items:center;gap:18px;border-bottom:1px solid var(--line);margin:32px 0 22px;padding-bottom:10px}.section-top h1,.section-top h2{font-size:15px;text-transform:uppercase;letter-spacing:.09em;margin:0}.section-top a{font-size:12px;color:var(--blue)}.hero{display:grid;grid-template-columns:1.5fr 1fr;gap:32px}.hero-side{display:grid;grid-template-columns:1fr 1fr;gap:22px}.story{min-width:0}.story-image{display:block;background:var(--soft);overflow:hidden;margin-bottom:13px;aspect-ratio:16/10}.story-image img{width:100%;height:100%;object-fit:cover;transition:transform .2s}.story-image:hover img{transform:scale(1.025)}.eyebrow{color:var(--blue);font-size:10px;text-transform:uppercase;letter-spacing:.09em;font-weight:700}.story h2{font-family:Georgia,'Times New Roman',serif;font-size:22px;line-height:1.25;letter-spacing:-.02em;margin:7px 0 10px}.story time{font-size:11px;color:var(--muted)}.story-featured .story-image{aspect-ratio:16/9}.story-featured h2{font-size:34px}.excerpt{font-size:14px;color:var(--muted);margin:12px 0}.hero-side .story h2{font-size:19px}.hero-side .story-image{aspect-ratio:16/10}.editorial-note{padding:15px 20px;margin:30px 0;background:var(--soft);font-size:13px;color:var(--muted);border-left:3px solid var(--blue)}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.topic{padding-bottom:10px}.topic .section-top h2{color:var(--blue)}main{padding-bottom:48px}.article-wrap{max-width:800px;margin:42px auto;padding:0 26px}.breadcrumb{font-size:12px;color:var(--muted);margin-bottom:22px}.article-title{font-family:Georgia,'Times New Roman',serif;font-size:44px;line-height:1.15;letter-spacing:-.025em;margin:15px 0 22px}.byline{display:flex;gap:14px;flex-wrap:wrap;font-size:12px;color:var(--muted);padding:0 0 22px;border-bottom:1px solid var(--line);margin-bottom:26px}.article-cover{margin:0 0 28px}.article-cover img{width:100%;max-height:520px;object-fit:cover}.article-cover figcaption{font-size:11px;color:var(--muted);padding-top:8px}.entry-content{font-size:18px;line-height:1.85;overflow-wrap:anywhere}.entry-content a{color:var(--blue);text-decoration:underline}.entry-content h2,.entry-content h3{font-family:Georgia,serif;line-height:1.3;margin-top:32px}.entry-content img{height:auto}.entry-content iframe{max-width:100%}.entry-content table{display:block;overflow-x:auto;max-width:100%}.entry-content blockquote{border-left:3px solid var(--blue);padding-left:22px;margin-left:0;color:var(--muted)}.entry-content:after{content:'';display:block;clear:both}.entry-content .alignleft{float:left;margin:0 20px 15px 0}.entry-content .alignright{float:right;margin:0 0 15px 20px}.pagination{margin:35px 0;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.pagination .page-numbers{padding:8px 14px;border:1px solid var(--line)}.pagination .current{background:var(--blue);color:white}.page-intro{color:var(--muted);margin-bottom:28px}.footer{background:#112738;color:#e9f0f5;padding:40px 0 18px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:40px}.footer-logo{background:transparent;padding:0;width:160px;filter:brightness(0) invert(1)}.footer h2{font-size:12px;text-transform:uppercase;letter-spacing:.08em;margin:0 0 15px}.footer p{font-size:13px;color:#bdcbd6;max-width:350px}.footer a{font-size:13px}.footer a:hover{color:white;text-decoration:underline}.footer ul{list-style:none;padding:0;margin:0}.footer li{margin:9px 0}.copyright{border-top:1px solid #ffffff25;margin-top:30px;padding-top:16px;font-size:11px;color:#b5c5d0}.empty{padding:45px 0;color:var(--muted)}
@media(max-width:1000px){.desktop-nav{gap:15px}.desktop-nav a{font-size:10px}.hero{gap:23px}.story-featured h2{font-size:29px}.hero-side .story h2{font-size:17px}.grid{gap:21px}}
@media(max-width:720px){.wrap{padding-left:20px;padding-right:20px}.topbar .wrap{font-size:10px}.topbar .top-email{display:none}.brand{padding-top:22px;padding-bottom:22px;justify-content:center}.brand img{width:140px}.tagline,.desktop-nav{display:none}.nav-inner{min-height:48px}.mobile-nav{display:block;flex:1}.mobile-nav summary{font-size:12px;font-weight:400;cursor:pointer;padding:13px 0;list-style:none}.mobile-nav summary::-webkit-details-marker{display:none}.mobile-nav nav{display:grid;gap:0;padding-bottom:12px}.mobile-nav nav a{padding:9px 0;border-top:1px solid var(--line);font-size:13px}.search form{width:min(300px,calc(100vw - 40px))}.hero{grid-template-columns:1fr}.story-featured h2{font-size:30px}.hero-side{gap:22px 18px}.hero-side .story h2{font-size:18px}.grid{grid-template-columns:1fr;gap:23px}.grid .story{display:grid;grid-template-columns:120px 1fr;gap:16px}.grid .story:has(.story-image) .story-image{margin:0;aspect-ratio:1.15}.grid .story:not(:has(.story-image)){display:block}.grid .story h2{font-size:21px}.section-top{margin-top:29px}.article-wrap{margin-top:28px;padding:0 20px}.article-title{font-size:33px}.entry-content{font-size:17px;line-height:1.8}.footer-grid{grid-template-columns:1fr;gap:27px}.footer{padding-top:30px}.editorial-note{font-size:12px}.entry-content .alignleft,.entry-content .alignright{float:none;margin:15px 0}}

.story-copy{min-width:0;overflow-wrap:anywhere}
@media(max-width:720px){.grid .story{grid-template-columns:minmax(0,100px) minmax(0,1fr)}}

/* Navegação institucional, redes sociais e autoria. */
.utility-nav{display:flex;align-items:center;gap:0;flex-wrap:nowrap;font-size:14px;font-weight:600;letter-spacing:0}.utility-nav a{display:inline-block;padding:3px 18px;line-height:1.5;white-space:nowrap}.utility-nav a:first-child{padding-left:0}.utility-nav a+a{border-left:1px solid rgba(255,255,255,.45)}.topbar .wrap{align-items:center;flex-wrap:wrap}.social-links{display:flex;align-items:center;gap:14px}.social-links a{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:36px;height:36px;min-width:36px;min-height:36px;color:inherit;border:1px solid currentColor;border-radius:50%;text-decoration:none}.social-links svg{display:block;width:20px;height:20px;max-width:none;fill:currentColor;flex:0 0 20px;opacity:1;visibility:visible;overflow:visible}.social-links a:hover{opacity:.78}.footer-social{margin-top:18px!important}.footer .social-links{gap:12px}.footer .social-links a{font-size:inherit}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.home .hero{margin-top:28px}.byline a{color:var(--blue);font-weight:700}.author-box{display:flex;align-items:flex-start;gap:20px;margin-top:38px;padding:25px;background:var(--soft);border:1px solid var(--line);border-radius:4px}.author-initials{display:flex;align-items:center;justify-content:center;flex:0 0 58px;height:58px;border-radius:50%;background:var(--blue);color:white;font-size:18px;font-weight:700}.author-label{display:block;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.08em}.author-box h2{font-family:Georgia,serif;font-size:23px;line-height:1.2;margin:5px 0 10px}.author-box p{font-size:14px;line-height:1.65;margin:0 0 10px;color:var(--muted)}.author-posts{font-size:12px;font-weight:700;color:var(--blue)}
@media(max-width:720px){.topbar .wrap{justify-content:space-between;gap:10px;padding-top:10px;padding-bottom:10px}.utility-nav{justify-content:flex-start;gap:0;width:100%;font-size:14px}.utility-nav a{padding:4px 16px}.utility-nav a:first-child{padding-left:0}.topbar .social-links{gap:16px;margin-left:auto}.topbar .social-links a{min-height:36px;width:36px}.brand{padding-top:16px;padding-bottom:16px}.brand img{width:140px}.home .hero{margin-top:22px}.author-box{padding:20px;gap:14px}.author-initials{flex-basis:44px;height:44px;font-size:15px}.author-box h2{font-size:21px}}

.topbar .social-links{color:#fff}.footer .social-links{color:#fff}.contact-social{margin-top:32px;padding-top:24px;border-top:1px solid var(--line);color:var(--blue)}.contact-social h2{font-family:Georgia,serif;font-size:23px;color:var(--ink);margin:0 0 16px}.contact-social .social-links{gap:16px}.contact-social .social-links a{width:42px;height:42px}

/* Cabeçalho compacto: serviços, marca e navegação. */
.brand-social{display:none}
@media(max-width:720px){.topbar{background:var(--soft);color:#425462;border-bottom:1px solid var(--line)}.topbar .wrap{padding-top:5px;padding-bottom:5px;gap:0}.topbar .social-links{display:none}.utility-nav{font-size:13px;font-weight:500}.utility-nav a{padding:5px 14px;line-height:1.5}.utility-nav a:first-child{padding-left:0}.utility-nav a+a{border-left:1px solid #cfd9df}.topbar a:hover{color:var(--blue)}.brand{justify-content:space-between;align-items:center;gap:12px;padding-top:18px;padding-bottom:18px}.brand img{width:120px}.brand-social{display:block;color:var(--blue);flex:0 0 auto}.brand-social .social-links{gap:5px}.brand-social .social-links a{width:28px;min-width:28px;height:32px;min-height:32px;border:0;border-radius:0}.brand-social .social-links svg{width:19px;height:19px;flex-basis:19px}.navline{border-top:1px solid var(--line);border-bottom:2px solid var(--blue)}.nav-inner{min-height:46px}.mobile-nav summary{padding:12px 0}.home .hero{margin-top:20px}}

/* Rodapé editorial, alinhado ao cabeçalho. */
.footer{background:#102a3b;border-top:3px solid var(--blue);padding:36px 0 18px}.footer-masthead{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:24px;margin-bottom:26px;border-bottom:1px solid #ffffff20}.footer-logo{width:165px;padding:0;background:transparent}.footer-masthead .social-links{gap:12px}.footer-masthead .social-links a{width:32px;min-width:32px;height:32px;min-height:32px;border:0;border-radius:0}.footer-masthead .social-links svg{width:20px;height:20px;flex-basis:20px}.footer-grid{grid-template-columns:1.5fr 1fr 1fr;gap:40px}.footer-about p{margin:0 0 12px;font-size:13px;line-height:1.7;max-width:340px}.footer-about .footer-promise{font-family:Georgia,serif;font-size:19px;color:#fff;margin-bottom:8px}.footer-email{display:inline-block;color:#dbe7ef;margin-top:3px;overflow-wrap:anywhere}.footer h2{color:#a8bfce;font-size:10px;font-weight:700;letter-spacing:.12em;margin:0 0 13px}.footer li{margin:0 0 7px}.footer nav a{display:inline-block;padding:3px 0;line-height:1.55;color:#edf3f7}.footer .copyright{border-top:1px solid #ffffff20;margin-top:26px;padding-top:17px;line-height:1.6;color:#9fb5c3}
@media(max-width:720px){.footer{padding-top:26px;padding-bottom:18px}.footer-masthead{gap:12px;padding-bottom:20px;margin-bottom:22px}.footer-logo{width:120px}.footer-masthead .social-links{gap:5px}.footer-masthead .social-links a{width:28px;min-width:28px;height:32px;min-height:32px}.footer-masthead .social-links svg{width:19px;height:19px;flex-basis:19px}.footer-grid{grid-template-columns:1fr 1.3fr;gap:26px 18px}.footer-about{grid-column:1 / -1}.footer-about .footer-promise{font-size:19px}.footer-about p{font-size:13px;margin-bottom:8px}.footer nav a{font-size:12px;line-height:1.6}.footer h2{font-size:10px;margin-bottom:10px}.footer li{margin-bottom:7px}.footer .copyright{font-size:10px;margin-top:22px;padding-top:16px}}

/* Legendas editoriais e fundo inferior no Safari. */
html{background:#102a3b}
.entry-content figure{margin:30px 0}
.article-cover figcaption,.entry-content figcaption{font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:1.55;color:#526674;margin:10px 0 0;padding:0 0 0 12px;border-left:2px solid #c4d9e7;font-style:normal;letter-spacing:.01em;text-align:left}
.entry-content figcaption p{font-size:inherit;line-height:inherit;margin:0}
@media(max-width:720px){.article-cover figcaption,.entry-content figcaption{font-size:12px;line-height:1.6}.footer{padding-bottom:calc(18px + env(safe-area-inset-bottom,0px))}}

/* Redes de contato: ícone e perfil na mesma linha. */
.contact-social-list{list-style:none;padding:0;margin:0;display:grid;gap:8px}.contact-social-list li{margin:0}.contact-social-list a{display:inline-flex;align-items:center;gap:12px;min-height:42px;color:var(--blue);font-size:15px;line-height:1.5}.contact-social-list svg{display:block;width:22px;height:22px;flex:0 0 22px;fill:currentColor}.contact-social-list span{font-weight:500}.contact-social-list a:hover span{text-decoration:underline}

/* Nas listas mobile, a imagem acompanha a altura editorial do texto. */
@media(max-width:720px){.grid .story:has(.story-image){align-items:stretch}.grid .story:has(.story-image) .story-image{position:relative;align-self:stretch;aspect-ratio:auto;min-height:100px;margin:0}.grid .story:has(.story-image) .story-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.grid .story-copy{align-self:start}}

/* Cabeçalho desktop mais compacto e chamadas editoriais completas. */
@media(min-width:721px){.brand img{width:145px}.topbar .social-links{gap:12px}.topbar .social-links a{width:28px;height:28px;min-width:28px;min-height:28px}.topbar .social-links svg{width:16px;height:16px;flex-basis:16px}.footer .social-links a{width:30px;height:30px;min-width:30px;min-height:30px}.footer .social-links svg{width:17px;height:17px;flex-basis:17px}}
.story .excerpt{font-size:14px;line-height:1.65;margin:10px 0 12px;display:block}.hero-side .excerpt{font-size:13px;line-height:1.6}.story-featured .excerpt{font-size:16px;line-height:1.65}
@media(max-width:720px){.grid .story .excerpt{font-size:13px;line-height:1.6}.hero-side .excerpt{font-size:12px}.story-featured .excerpt{font-size:15px}}

/* Linha fina jornalística entre o título e a autoria. */
.article-deck{font-family:Arial,Helvetica,sans-serif;font-size:21px;line-height:1.55;font-weight:400;color:#526674;margin:-4px 0 26px;letter-spacing:0;overflow-wrap:anywhere}
@media(max-width:720px){.article-deck{font-size:18px;line-height:1.6;margin:0 0 22px}}

/* Redes sociais do topo sem moldura. */
header .topbar .social-links a,header .brand-social .social-links a{border:0;border-radius:0;background:transparent}

/* Tipografia leve dos menus do cabeçalho. */
header .utility-nav a,header .desktop-nav a,header .mobile-nav summary,header .mobile-nav nav a{font-family:"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-weight:400;}

/* Separadores curtos e discretos no menu institucional. */
header .utility-nav a+a{border-left:0;position:relative}header .utility-nav a+a::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);height:10px;width:1px;background:currentColor;opacity:.35}

/* Logotipo do rodapé mais discreto em todas as telas. */
.footer .footer-logo{width:110px;height:auto}
