/* Movimento discreto; nenhum efeito controla a disponibilidade do conteúdo. */
.ce-portal .ce-grid{grid-auto-rows:1fr;align-items:stretch}
.ce-portal .ce-card{display:flex;flex-direction:column;position:relative;min-width:0;height:100%;box-shadow:0 3px 12px rgb(23 62 53 / 7%)}
.ce-card-media{display:block;flex:none;height:180px;overflow:hidden;border-radius:6px;margin-bottom:12px;background:#f5f7f1}
.ce-card-media img{display:block;width:100%;height:100%;object-fit:cover;margin:0;border-radius:0}
.ce-card-bottom{margin-top:auto;padding-top:12px}
.ce-card-bottom h3{margin:0 0 12px}
.ce-card-bottom h3 a::after{content:"";position:absolute;inset:0;border-radius:12px}
.ce-card-more{display:block;font-weight:700;color:var(--ce-green)}
.ce-card:focus-within{outline:3px solid #986918;outline-offset:4px}
.ce-brand .ce-hero{box-shadow:0 6px 20px rgb(23 62 53 / 12%)}
/* Fundo explícito impede que estilos do tema reduzam o contraste deste botão. */
.ce-brand .ce-hero .ce-button-light{background:#173e35;color:#fff;border-color:#c5a153;font-weight:700}
@media(prefers-reduced-motion:no-preference){
 html:has(body.ce-brand){scroll-behavior:smooth}
 .ce-brand :where(a,button,input,select,textarea,summary,.ce-card,tr,td,th){transition:color .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease,filter .18s ease,transform .18s ease}
 .ce-card-media img{transition:transform .2s ease}
 .ce-brand :is(.ce-button,button,.wp-block-button__link,input[type=submit]):active{transform:translateY(1px)}
 .ce-brand .ce-portal{animation:ce-content-in .32s ease-out}
 /* Somente links editoriais de texto; botões e navegação mantêm sua aparência. */
 .ce-brand :is(.ce-section-heading,.ce-event-purpose,.ce-event-links,.ce-details,.ce-coverage) a:not(.ce-button),
 .ce-brand .wp-block-post-content>p a:not(.ce-button){background-image:linear-gradient(currentColor,currentColor);background-repeat:no-repeat;background-position:left bottom;background-size:0 1px;text-decoration:none;transition:background-size .18s ease,color .18s ease}
 .ce-brand :is(.ce-section-heading,.ce-event-purpose,.ce-event-links,.ce-details,.ce-coverage) a:not(.ce-button):is(:hover,:focus-visible),
 .ce-brand .wp-block-post-content>p a:not(.ce-button):is(:hover,:focus-visible){background-size:100% 1px}
 @media(hover:hover) and (pointer:fine){
  .ce-portal .ce-card:hover{transform:translateY(-4px);box-shadow:0 10px 24px rgb(23 62 53 / 13%)}
  .ce-card:hover .ce-card-media img{transform:scale(1.035)}
 }
 .ce-card:focus-within .ce-card-media img{transform:scale(1.035)}
}
@keyframes ce-content-in{from{opacity:.65}to{opacity:1}}
@media(prefers-reduced-motion:reduce){
 html:has(body.ce-brand),.ce-brand *{scroll-behavior:auto!important}
 .ce-brand *,.ce-brand *::before,.ce-brand *::after{animation:none!important;transition:none!important}
}
@media print{
 html:has(body.ce-brand){scroll-behavior:auto}
 .ce-brand *{animation:none!important;transition:none!important}
 .ce-portal .ce-card,.ce-brand .ce-hero{box-shadow:none;transform:none}
 .ce-card-media img{transform:none!important}
}
