.home-news-carousel { position:relative; height:420px; }
.news-feature { position:relative; grid-column:span 2; grid-row:span 2; min-width:0; overflow:hidden; background:#15191d; touch-action:pan-y; }
body.home-template-servicos-destaque .latest-news-grid .news-feature .news-feature-slide { position:absolute; inset:0; width:100%; height:100%; opacity:0; pointer-events:none; }
body.home-template-servicos-destaque .latest-news-grid .news-feature .news-feature-slide.is-active { opacity:1; pointer-events:auto; }
body.home-template-servicos-destaque .latest-news-grid .news-feature .news-feature-slide .story-caption { padding:24px; }
body.home-template-servicos-destaque .latest-news-grid .news-feature .news-feature-slide h3 { font-size:32px; margin:0; }
.news-feature-controls { position:absolute; z-index:4; top:50%; transform:translateY(-50%); left:8px; right:8px; display:flex; justify-content:space-between; pointer-events:none; }
.news-feature-controls button { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; padding:0; border:0; border-radius:0; background:transparent; color:white; cursor:pointer; pointer-events:auto; }
.news-feature-controls button svg { width:26px; height:26px; filter:drop-shadow(0 1px 3px #000); }
.news-feature-controls button:focus-visible { outline:2px solid white; outline-offset:2px; }
@media(max-width:650px) { .news-feature { grid-column:1; grid-row:auto; height:360px; } body.home-template-servicos-destaque .latest-news-grid .news-feature .news-feature-slide h3 { font-size:25px; } }
@media(prefers-reduced-motion:reduce) { body.home-template-servicos-destaque .latest-news-grid .news-feature .news-feature-slide { transition:none; } }
.home-news-carousel .home-news-slide { position:absolute; inset:0; min-height:0; opacity:0; pointer-events:none; transition:opacity .25s ease; }
.home-news-carousel .home-news-slide.is-active { opacity:1; pointer-events:auto; }
.home-news-carousel .arrow { z-index:5; top:40%; }
.home-news-secondary { display:grid; gap:16px; grid-template-columns:repeat(2,minmax(0,1fr)); }
.home-news-secondary .latest-card { min-height:230px; }
.home-news-more { display:inline-block; margin-top:18px; color:var(--theme-primary,#1351b4); font-size:14px; font-weight:700; }
body.home-template-servicos-destaque .latest-card.latest-more { display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-start; gap:8px; padding:20px 24px; background:#edf0f2; color:#39434b; border:1px solid #dce1e5; text-decoration:none; transition:background-color .2s ease; }
body.home-template-servicos-destaque .latest-card.latest-more::after { display:none; }
.latest-more-icon { display:flex; flex:1; align-items:center; min-height:68px; }
.latest-more-icon svg { width:62px; height:62px; color:#2174bc; transform-origin:50% 80%; animation:news-icon-wave 3.2s ease-in-out infinite; }
.latest-more-icon svg path:last-child { stroke:#16a085; }
body .latest-more strong { max-width:100%; margin-top:auto; font-size:20px; line-height:1.25; }
.latest-more-action { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; margin-top:8px; font-size:14px; font-weight:500; }
.latest-more-action>span { color:#168875; font-size:24px; animation:news-arrow-drift 3.2s ease-in-out infinite; }
body.home-template-servicos-destaque .latest-card.latest-more:hover { background:#e3e9ed; }
.latest-more:focus-visible { outline:3px solid #536d7c; outline-offset:4px; }
@keyframes news-icon-wave { 0%,55%,100% { transform:translateY(0) rotate(0); } 63% { transform:translateY(-5px) rotate(-9deg); } 72% { transform:translateY(-5px) rotate(9deg); } 81% { transform:translateY(-3px) rotate(-5deg); } 90% { transform:translateY(0) rotate(0); } }
@keyframes news-arrow-drift { 0%,55%,100% { transform:translateX(0); } 65%,85% { transform:translateX(8px); } 75%,95% { transform:translateX(0); } }
@media(prefers-reduced-motion:reduce) { body .latest-card.latest-more,.latest-more-action>span,.latest-more-icon svg { transition:none; animation:none; } }
.home-template-cidade-verde .managed-home-news { border-radius:0; box-shadow:none; }
.showcase-grid:not(:has(.story-small)) { grid-template-columns:1fr; }
body .showcase.home-news-without-title { padding-top:16px; }
body .home-modules > .home-module:has(> .home-news-without-title) { margin-top:min(var(--module-gap,32px),16px); }
body .latest-box.home-news-without-title { padding-top:0; }
body.home-template-servicos-destaque .hero-search-anchor + .home-modules > .home-module:nth-child(1 of .home-module):has(> .home-news-without-title) { margin-top:0; }
@media(max-width:650px) { .home-news-secondary { grid-template-columns:1fr; } .home-news-carousel { height:320px; } }
@media(prefers-reduced-motion:reduce) { .home-news-carousel .home-news-slide { transition:none; } }
