/* Leitura de artigos: hierarquia e largura confortável. */
.cms-editorial{max-width:1120px;margin:auto;padding:140px 6vw 80px;color:#242120}
.cms-editorial>h1{font-size:clamp(38px,4.8vw,64px);line-height:1.12;letter-spacing:-.025em;margin:24px 0;max-width:940px}
.cms-editorial>.kicker{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#542b38;margin:24px 0 12px}
.cms-editorial>p:not(.kicker){font-size:clamp(18px,1.6vw,22px);line-height:1.65;max-width:850px;color:#615853;margin-bottom:32px}
.cms-editorial article{max-width:760px;margin:48px auto;font-size:18px;line-height:1.85}
.cms-editorial article h2{font-size:clamp(28px,3vw,36px);line-height:1.25;letter-spacing:-.015em;margin:48px 0 20px;font-weight:400}
.cms-editorial article h3{font-size:clamp(22px,2vw,26px);line-height:1.35;letter-spacing:0;margin:32px 0 14px;font-weight:400}
.cms-editorial article p,.cms-editorial article li{font-size:18px;line-height:1.85;margin:0 0 22px;max-width:none}
.cms-editorial article ul{padding-left:24px;margin:24px 0}.cms-editorial article li{margin-bottom:10px}
.cms-editorial article a{color:#542b38;text-decoration:underline;text-underline-offset:3px}
.cms-editorial>img{width:100%;max-height:560px;object-fit:cover;border-radius:12px}
.cms-blog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin-top:40px}
.cms-blog-card{display:block;padding:20px;border:1px solid #b89b6255;border-radius:14px;text-decoration:none}
.cms-blog-card img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:8px}.cms-blog-card h2{font-size:30px;line-height:1.25;margin:14px 0}.cms-blog-card span{display:block;margin:16px 0;font-size:12px}.cms-blog-card p{font-size:16px;line-height:1.7}
@media(max-width:650px){.cms-blog-grid{grid-template-columns:1fr}.cms-editorial{padding:104px 22px 56px}.cms-editorial article{margin:32px auto;font-size:17px}.cms-editorial article p,.cms-editorial article li{font-size:17px;line-height:1.8}.cms-editorial article h2{margin-top:36px}.cms-editorial>img{max-height:380px}}
/* Cards de artigos com chamada explícita e seção automática na home. */
.cms-blog-card{display:flex;flex-direction:column;background:#fffdf8;color:#242120;transition:transform .25s,border-color .25s,box-shadow .25s}
.cms-blog-card:hover{transform:translateY(-4px);border-color:#b89b62;box-shadow:0 12px 28px #542b3810}
.cms-blog-card:focus-visible{outline:2px solid #542b38;outline-offset:5px}
.cms-blog-card .cms-blog-topic{letter-spacing:.1em;text-transform:uppercase;color:#655951}
.cms-blog-card .cms-blog-read{align-self:flex-start;display:inline-flex;align-items:center;gap:18px;margin:24px 0 0;padding:12px 20px;border-radius:6px;background:#542b38;color:#fff;font-size:14px;line-height:1.4;font-weight:600}
.cms-blog-card .cms-blog-read span{display:inline;margin:0;font-size:18px}
.cms-blog-card p{flex:1;margin-bottom:0}
.cms-home-editorial{padding:88px 6vw;background:#eee9e1;border-top:1px solid #b89b6233}
.cms-home-editorial-heading{display:flex;align-items:end;justify-content:space-between;gap:32px;max-width:1180px;margin:auto}
.cms-home-editorial-heading h2{font-size:clamp(34px,4vw,52px);line-height:1.12;margin:16px 0 0}
.cms-home-editorial .cms-blog-grid{max-width:1180px;margin:40px auto 0;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.cms-home-editorial .cms-blog-card{max-width:580px}
.cms-home-editorial .cms-blog-card h2{font-size:clamp(25px,2.2vw,30px)}
@media(max-width:650px){.cms-home-editorial{padding:56px 22px}.cms-home-editorial-heading{align-items:start;flex-direction:column;gap:24px}.cms-home-editorial .cms-blog-grid{margin-top:28px}.cms-blog-card{padding:18px}.cms-blog-card:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.cms-blog-card{transition:none}.cms-blog-card:hover{transform:none}}
/* Destaque editorial, filtros e resumos compactos. */
.cms-blog-card-copy{display:flex;flex-direction:column;flex:1}
.cms-blog-card[hidden],[data-blog-feature][hidden],[data-blog-empty][hidden],[data-blog-more][hidden]{display:none!important}
.cms-blog-featured{display:grid;grid-template-columns:1.15fr 1fr;gap:36px;padding:24px;margin-top:16px}
.cms-blog-featured img{height:100%;min-height:310px;aspect-ratio:auto}
.cms-blog-featured .cms-blog-card-copy{justify-content:center;padding:12px 12px 12px 0}
.cms-blog-featured h2{font-size:clamp(30px,3vw,40px)}
.cms-blog-tools{margin:40px 0 36px;padding:24px 0;border-top:1px solid #b89b6244;border-bottom:1px solid #b89b6244}
.cms-blog-tools label{display:block;font-size:14px;color:#615853;max-width:500px}
.cms-blog-tools input{display:block;width:100%;margin-top:10px;background:#fffdf8;border:1px solid #b89b6270;border-radius:8px;padding:14px 16px;font:inherit;font-size:16px;color:#242120}
.cms-blog-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.cms-blog-tags button,.cms-blog-more{background:transparent;color:#542b38;border:1px solid #b89b6280;padding:10px 18px;border-radius:24px;font:inherit;font-size:14px;cursor:pointer;min-height:44px}
.cms-blog-tags button.is-active{background:#542b38;color:#fff;border-color:#542b38}
.cms-blog-tags button:hover{border-color:#542b38}.cms-blog-tags button:focus-visible,.cms-blog-tools input:focus-visible,.cms-blog-more:focus-visible{outline:2px solid #542b38;outline-offset:3px}
.cms-blog-card-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.cms-blog-card-tags span{margin:0;background:#eee9e1;padding:5px 9px;border-radius:4px;font-size:12px}
.cms-blog-more{display:block;margin:32px auto 0}
.cms-home-editorial .cms-blog-card p{max-width:48ch}
@media(max-width:650px){.cms-blog-featured{grid-template-columns:1fr;gap:18px;padding:18px}.cms-blog-featured img{min-height:0;height:auto;aspect-ratio:16/10}.cms-blog-featured .cms-blog-card-copy{padding:0}.cms-blog-featured h2{font-size:28px}.cms-blog-tools{margin-top:28px}}
/* A biblioteca ocupa a página; o texto do artigo mantém largura de leitura. */
body:has(.cms-blog-tools) main{padding-top:0}
.cms-editorial:has(.cms-blog-tools){max-width:1440px;padding:138px 5vw 72px}
.cms-editorial:has(.cms-blog-tools)>h1{max-width:none}
.cms-editorial:has(.cms-blog-tools) .cms-blog-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:28px}
.cms-editorial:has(.cms-blog-tools) .cms-blog-tools{display:grid;grid-template-columns:minmax(280px,430px) 1fr;align-items:end;gap:32px}
.cms-editorial:has(.cms-blog-tools) .cms-blog-tags{margin:0;justify-content:flex-end}
.cms-editorial:has(.cms-blog-tools) .cms-blog-featured{grid-template-columns:1.15fr 1fr;max-width:none}
.cms-editorial:has(.cms-blog-tools) .cms-blog-featured img{max-height:440px;min-height:360px}
.cms-editorial:has(.cms-blog-tools) .cms-blog-featured .cms-blog-card-copy{max-width:560px;padding:24px}
.cms-editorial article blockquote{border-left:3px solid #b89b62;padding-left:24px;margin:28px 0;color:#615853}.cms-editorial article ol{padding-left:24px}
@media(max-width:650px){.cms-editorial:has(.cms-blog-tools){padding:104px 22px 56px}.cms-editorial:has(.cms-blog-tools) .cms-blog-tools{grid-template-columns:1fr;gap:20px}.cms-editorial:has(.cms-blog-tools) .cms-blog-tags{justify-content:flex-start}.cms-editorial:has(.cms-blog-tools) .cms-blog-featured{grid-template-columns:1fr}.cms-editorial:has(.cms-blog-tools) .cms-blog-featured img{min-height:0;max-height:320px}.cms-editorial:has(.cms-blog-tools) .cms-blog-featured .cms-blog-card-copy{padding:0}}
/* Home: convite compacto à leitura. */
.cms-home-editorial{padding:64px 6vw}.cms-home-editorial .cms-blog-grid{gap:24px;grid-template-columns:repeat(3,minmax(0,1fr))}.cms-home-editorial .cms-blog-card{max-width:none;padding:16px}.cms-home-editorial .cms-blog-card img{aspect-ratio:16/9;height:170px}.cms-home-editorial .cms-blog-card h2{font-size:24px;line-height:1.2;margin:10px 0}.cms-home-editorial .cms-blog-card p{font-size:14px;line-height:1.65;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;flex:initial}.cms-home-editorial .cms-blog-topic{font-size:10px;margin:14px 0 8px}.cms-home-editorial .cms-blog-read{font-size:13px;padding:10px 16px;margin-top:18px}.cms-home-editorial .cms-blog-card-tags{display:none}
@media(min-width:901px){.cms-home-editorial:has(.cms-blog-grid>.cms-blog-card:only-child){display:grid;grid-template-columns:1fr minmax(300px,420px);gap:64px;align-items:center}.cms-home-editorial:has(.cms-blog-grid>.cms-blog-card:only-child) .cms-home-editorial-heading{display:block;width:100%;max-width:620px;margin-left:auto}.cms-home-editorial:has(.cms-blog-grid>.cms-blog-card:only-child) .cms-home-editorial-heading .read{display:inline-block;margin-top:24px}.cms-home-editorial:has(.cms-blog-grid>.cms-blog-card:only-child) .cms-blog-grid{display:block;margin:0;max-width:420px}.cms-home-editorial-heading h2{font-size:clamp(32px,3vw,44px)}}
@media(max-width:900px){.cms-home-editorial .cms-blog-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}.cms-home-editorial .cms-blog-card{max-width:420px}.cms-home-editorial{padding:48px 22px}.cms-home-editorial .cms-blog-card img{height:155px}.cms-home-editorial .cms-blog-card h2{font-size:23px}}
.cms-editorial:has(.cms-blog-tools){padding-top:48px}.cms-editorial:has(.cms-blog-tools)>.kicker{margin-top:0}.cms-editorial:has(.cms-blog-tools)>h1{font-size:clamp(38px,4vw,56px);margin-top:16px}
@media(max-width:650px){.cms-editorial:has(.cms-blog-tools){padding-top:28px}}

.cms-geisa-bio{display:grid;grid-template-columns:150px 1fr;gap:32px;align-items:center;margin:56px auto 0;padding:32px;border-top:1px solid #d6c9b8;max-width:850px;background:#eee9e1;border-radius:4px}.cms-geisa-bio img{width:150px;height:185px;object-fit:cover;object-position:center 25%;border-radius:3px}.cms-geisa-bio h2{font-size:30px;margin:10px 0}.cms-geisa-bio p{font-size:16px;line-height:1.75;margin:0}.cms-geisa-links{display:flex;gap:14px 24px;flex-wrap:wrap;margin-top:20px}.cms-geisa-links a{font-size:13px;color:#522d3e;text-decoration:underline;text-underline-offset:4px}@media(max-width:600px){.cms-geisa-bio{grid-template-columns:1fr;padding:24px;gap:20px;margin-top:36px}.cms-geisa-bio img{width:110px;height:140px}.cms-geisa-bio h2{font-size:27px}.cms-geisa-links{flex-direction:column;gap:15px}}

/* Busca e temas: controles compactos, sem mosaico de tags. */
.cms-editorial:has(.cms-blog-tools) .cms-blog-tools{grid-template-columns:minmax(0,1fr) minmax(240px,320px);gap:24px;margin:32px 0 14px;padding:22px 0}.cms-blog-tools label{max-width:none}.cms-blog-tools select{display:block;width:100%;min-height:50px;margin-top:10px;background:#fffdf8;border:1px solid #b89b6270;border-radius:8px;padding:14px 16px;font:inherit;font-size:16px;color:#242120;cursor:pointer}.cms-blog-tools select:focus-visible{outline:2px solid #542b38;outline-offset:3px}.cms-blog-filter-status{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px;min-height:28px;color:#615853;font-size:13px}.cms-blog-filter-status button{border:0;background:none;padding:6px 0;color:#542b38;text-decoration:underline;text-underline-offset:4px;font:inherit;cursor:pointer}.cms-blog-filter-status [hidden]{display:none!important}@media(max-width:650px){.cms-editorial:has(.cms-blog-tools) .cms-blog-tools{grid-template-columns:1fr;gap:18px;padding:18px 0}.cms-blog-tools input,.cms-blog-tools select{min-height:48px}.cms-blog-filter-status{margin-bottom:22px}}

/* Delicadeza e unidade com os elementos arredondados do site. */
.cms-editorial:has(.cms-blog-tools) .cms-blog-tools{align-items:start;border:1px solid #b89b622a;border-radius:24px;background:#eee9e144;padding:22px 24px;gap:24px}.cms-blog-tools label{font-size:13px;line-height:20px}.cms-blog-tools input,.cms-blog-tools select{box-sizing:border-box;height:54px;min-height:54px;padding:0 20px;margin-top:9px;border-radius:27px;line-height:normal;border-color:#b89b6248;background:#fffdf9;box-shadow:none}.cms-blog-tools input:focus,.cms-blog-tools select:focus{border-color:#b89b62}.cms-blog-card{border-radius:24px;border-color:#b89b6238;background:#fffdf9}.cms-blog-card img{border-radius:17px}.cms-blog-card .cms-blog-read{border-radius:999px;font-size:13px;padding:11px 19px;background:#542b38}.cms-blog-card-tags{gap:7px}.cms-blog-card-tags span{border-radius:999px;background:#eee9e177;color:#655951;padding:5px 11px;font-size:11px}.cms-blog-card:hover{box-shadow:0 10px 26px #542b3809}.cms-blog-featured{gap:28px}.cms-geisa-bio{border-radius:24px;border-top-color:#b89b6233}.cms-geisa-bio img{border-radius:16px}.cms-blog-more{border-color:#b89b6248;padding:12px 22px}@media(max-width:650px){.cms-editorial:has(.cms-blog-tools) .cms-blog-tools{padding:19px 17px;gap:17px;border-radius:22px}.cms-blog-tools input,.cms-blog-tools select{height:52px;min-height:52px;padding-inline:17px;border-radius:26px}.cms-blog-card{border-radius:22px}.cms-blog-card img{border-radius:15px}.cms-blog-featured{gap:20px}}
