/* Layout de página (do mockup home-institucional) */
body { background: #fff; }
.mk { padding: var(--space-8) 0; }
.mk--alt { background: var(--atc-gray-50); }

/* Logo do header — preservar proporção (tagline-cinza, sem achatar) */
.atc-navbar__logo img { height: 54px; width: auto; max-width: 100%; object-fit: contain; }
.atc-navbar__main .atc-container { min-height: 84px; }

/* Páginas internas (listagem + post) */
.pagehero { background: var(--atc-gradient-blue); color: #fff; padding: var(--space-7) 0; }
.pagehero h1 { color: #fff; margin: 8px 0 0; }
.filterbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 14px; box-shadow: var(--shadow-xs); }
.chip { font-family: var(--font-display); font-weight: 600; font-size: 13px; padding: 7px 14px; border-radius: var(--radius-pill); border: 1px solid var(--color-border); background: #fff; color: var(--color-text-muted); cursor: pointer; text-decoration: none; }
.chip.is-active { background: var(--atc-blue-700); color: #fff; border-color: var(--atc-blue-700); }
.prose p { font-size: 1.0625rem; line-height: 1.8; color: var(--atc-gray-800); margin: 0 0 1.2rem; }
.prose h2 { font-size: 1.6rem; margin: 2rem 0 1rem; }
.prose blockquote { border-left: 4px solid var(--atc-cyan-500); background: var(--atc-cyan-100); margin: 1.5rem 0; padding: 1rem 1.5rem; border-radius: 0 8px 8px 0; font-style: italic; }
.atc-card__media { position: relative; }

/* Carrossel de banners (topo da home) */
.atc-carousel { position: relative; }
.atc-carousel__track { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.atc-carousel__slide { display: none; min-height: 220px; align-items: center; justify-content: center; text-align: center; padding: 24px; color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; }
/* Variante full width (edge-to-edge) */
.atc-carousel--full { width: 100%; }
.atc-carousel--full .atc-carousel__track { border-radius: 0; box-shadow: none; }
.atc-carousel--full .atc-carousel__slide { min-height: 450px; font-size: 2rem; }
.atc-carousel--full .atc-carousel__dots { position: absolute; left: 0; right: 0; bottom: 16px; margin: 0; }
.atc-carousel--full .atc-carousel__dots button { background: rgba(255,255,255,.5); }
.atc-carousel--full .atc-carousel__dots button.is-active { background: #fff; }
.atc-carousel__slide.is-active { display: flex; animation: atc-fade .5s ease; }
@keyframes atc-fade { from { opacity: .3 } to { opacity: 1 } }
.atc-carousel__dots { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.atc-carousel__dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: var(--atc-gray-300); cursor: pointer; padding: 0; }
.atc-carousel__dots button.is-active { background: var(--color-primary, var(--atc-blue-700)); }

/* Faixa de banners (Patrocínios — Advanced Ads) */
.atc-banners .atc-banner-slot a { display: block; }
.atc-banners .atc-banner-slot a > div { min-height: 200px; display: flex; align-items: center; justify-content: center; }

/* Landings de subsite */
.sub-hero { color: #fff; padding: var(--space-8) 0; }
.sub-hero h1 { color: #fff; font-size: 2.6rem; margin: 8px 0 10px; }
.sub-hero p { color: rgba(255,255,255,.9); max-width: 60ch; font-size: 1.1rem; }
.sub-bignum { font-family: var(--font-display); font-weight: 800; font-size: 4rem; line-height: 1; color: #fff; }
.ods-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 12px; }
.ods-cell { border-radius: var(--radius-md); padding: 16px; color: #fff; min-height: 96px; display: flex; flex-direction: column; justify-content: space-between; font-family: var(--font-display); }
.ods-cell b { font-size: 1.8rem; }
