/* APPM Theme — site público. Cores, fontes e raios vêm de APPM › Configurações (variáveis CSS). */

:root {
	--appm-primary: #16305A;
	--appm-primary-dark: #0B1B36;
	--appm-accent: #F2B705;
	--appm-secondary: #1F7FCC;
	--appm-alt: #F3F6FB;
	--appm-flag-1: #C8102E;
	--appm-flag-2: #F2B705;
	--appm-flag-3: #2E8B57;
	--appm-radius: 16px;
	--appm-btn-radius: 999px;
	--appm-font-head: "Montserrat", system-ui, sans-serif;
	--appm-font-body: "Inter", system-ui, sans-serif;
	--text: #1C2433;
	--muted: #4F5B70;
	--line: #E1E7F0;
	--soft: #E8EEF8;
	--warm: #FFF7DB;
	--eyebrow: #8A6100;
	--shadow: 0 4px 14px rgba(11, 27, 54, .06);
	--shadow-hover: 0 10px 26px rgba(11, 27, 54, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--appm-font-body); color: var(--text); background: #fff; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--appm-primary); }
a:hover { color: var(--appm-primary-dark); }
h1, h2, h3, h4 { font-family: var(--appm-font-head); color: var(--appm-primary); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; }
h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--appm-accent); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
#conteudo:focus { outline: none; }

.wrap { max-width: 1232px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 860px; }
.wrap--page { max-width: 960px; }
.row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.grow { flex: 1 1 320px; }
.muted { color: var(--muted); font-size: 14px; }
.eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--eyebrow); margin-bottom: 6px; }
.more { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--appm-accent); padding-bottom: 2px; white-space: nowrap; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 2px solid var(--appm-primary); border-radius: var(--appm-btn-radius); background: #fff; color: var(--appm-primary); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.1; white-space: nowrap; }
.btn:hover { background: var(--soft); color: var(--appm-primary); }
.btn--primary { background: var(--appm-primary); color: #fff; }
.btn--primary:hover { background: var(--appm-primary-dark); color: #fff; }
.btn--accent { background: var(--appm-accent); border-color: var(--appm-accent); color: #1C2433; }
.btn--accent:hover { filter: brightness(1.08); background: var(--appm-accent); color: #1C2433; }
.btn--ghost-light { background: transparent; border-color: #fff; color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.ibtn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--appm-alt); color: var(--appm-primary); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 22px; line-height: 1; }
.ibtn:hover { background: var(--soft); }
.ibtn--sm { width: 36px; height: 36px; }

/* Barra superior */
.util { background: var(--appm-primary-dark); color: #DCE5F4; font-size: 13px; }
.util a { color: #DCE5F4; text-decoration: none; }
.util a:hover { color: #fff; }
.util__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; min-height: 40px; }
.util__sp { flex: 1 1 auto; }
.util-social, .footer-social { display: flex; gap: 8px; }
.util-social__link, .footer-social__link { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); display: inline-flex; align-items: center; justify-content: center; color: #fff !important; }

/* Cabeçalho */
.site-header { background: #fff; box-shadow: 0 2px 12px rgba(11, 27, 54, .08); position: relative; z-index: 50; }
.has-sticky-header .site-header { position: sticky; top: 0; }
.admin-bar.has-sticky-header .site-header { top: 32px; }
.site-header > .wrap { max-width: 1380px; }
.hrow { display: flex; align-items: center; gap: 20px; min-height: 84px; flex-wrap: nowrap; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo__text b { display: block; font-family: var(--appm-font-head); font-weight: 800; font-size: 30px; line-height: 1; color: var(--appm-primary); letter-spacing: .02em; }
.logo__text small { display: block; max-width: 180px; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1.3; margin-top: 3px; }
.logo--dark .logo__text b { color: #fff; }
.nav { flex: 1 1 auto; display: flex; justify-content: center; }
.nav { min-width: 0; }
.nav .menu { list-style: none; display: flex; gap: clamp(12px, 1.5vw, 24px); margin: 0; padding: 0; white-space: nowrap; }
.nav .menu > li { position: relative; }
.nav .menu a { display: block; padding: 10px 2px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--appm-primary); border-bottom: 3px solid transparent; }
.nav .menu a:hover, .nav .menu .current-menu-item > a, .nav .menu .current-menu-ancestor > a { border-bottom-color: var(--appm-accent); }
.nav .sub-menu { display: none; position: absolute; top: 100%; left: -12px; min-width: 220px; list-style: none; margin: 0; padding: 8px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-hover); }
.nav .menu > li:hover > .sub-menu, .nav .menu > li:focus-within > .sub-menu { display: block; }
.nav .sub-menu a { padding: 8px 10px; border: 0; border-radius: 8px; }
.nav .sub-menu a:hover { background: var(--soft); }
.nav__mobile-actions { display: none; }
.acts { flex: none; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.menu-toggle { display: none; }
.search-panel { border-top: 1px solid var(--line); padding: 16px 0; background: #fff; }
.search-form { display: flex; gap: 10px; }
.search-form input { flex: 1; min-height: 48px; border: 1px solid #8A97AD; border-radius: 999px; padding: 0 20px; font: inherit; }
.flag { height: 5px; background: linear-gradient(90deg, var(--appm-flag-1) 0 33.3%, var(--appm-flag-2) 33.3% 66.6%, var(--appm-flag-3) 66.6%); }

@media (max-width: 1320px) {
	.nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: #fff; flex-direction: column; justify-content: flex-start; padding: 90px 24px 24px; box-shadow: -10px 0 30px rgba(11, 27, 54, .2); transform: translateX(105%); transition: transform .2s; z-index: 60; overflow-y: auto; }
	.nav.is-open { transform: none; }
	.nav .menu { flex-direction: column; gap: 0; white-space: normal; }
	.nav .menu a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
	.nav .sub-menu { display: block; position: static; box-shadow: none; padding: 0 0 0 12px; }
	.nav__mobile-actions { display: flex; margin-top: 18px; }
	.menu-toggle { display: inline-flex; position: relative; z-index: 70; }
	.hrow { justify-content: space-between; }
	body.menu-open::after { content: ""; position: fixed; inset: 0; background: rgba(11, 27, 54, .45); z-index: 55; }
	/* O cabeçalho (onde fica o menu) precisa ficar acima da camada escura. */
	body.menu-open .site-header { z-index: 60; }
}
@media (max-width: 640px) {
	.btn--portal { display: none; }
	.logo__text small { display: none; }
	.hrow { min-height: 70px; gap: 12px; }
	.util { display: none; }
}

/* Abertura */
.hero { background: var(--appm-primary); color: #fff; position: relative; overflow: hidden; }
.hero[style*="--hero-bg"] { background: linear-gradient(rgba(11, 27, 54, .82), rgba(11, 27, 54, .82)), var(--hero-bg) center / cover, var(--appm-primary); }
.hero h1, .hero h2 { color: #fff; }
.hero .eyebrow { color: var(--appm-accent); }
.hero__net { position: absolute; right: -40px; top: 0; width: 780px; height: 100%; color: #8FB0E3; opacity: .55; pointer-events: none; }
.hero__nodes { fill: var(--appm-accent); }
.hero__row { position: relative; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 110px; }
.hero__text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 18px; }
.hero__text h1 { margin: 0; }
.hero__lead { margin: 0; font-size: 19px; color: #DCE5F4; max-width: 580px; }
.feat { flex: 1 1 400px; max-width: 520px; background: #fff; color: var(--text); border-radius: 18px; overflow: hidden; box-shadow: 0 18px 40px rgba(11, 27, 54, .35); }
.feat__slide { display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.feat__slide[hidden] { display: none; }
.feat__img { aspect-ratio: 16 / 8; background: var(--soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.feat__img img { width: 100%; height: 100%; object-fit: cover; }
.feat__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.feat__body h2 { font-size: 22px; margin: 0; color: var(--appm-primary); }
.feat__ctrl { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 22px 18px; }
.feat__dots { display: flex; gap: 6px; }
.dot { width: 12px; height: 8px; border-radius: 4px; border: 0; background: #C9D5EA; cursor: pointer; padding: 0; }
.dot.is-on { width: 28px; background: var(--appm-accent); }

.tag { display: inline-flex; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: var(--soft); color: var(--appm-primary); text-decoration: none; width: max-content; max-width: 100%; }
.tag--soft { background: var(--appm-alt); color: var(--muted); }
.tag--light { background: rgba(255, 255, 255, .15); color: #fff; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* Atalhos */
.tiles-wrap { margin-top: -56px; position: relative; z-index: 2; }
.tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 6px 20px rgba(11, 27, 54, .1); padding: 18px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--appm-primary); font-weight: 600; transition: box-shadow .15s, transform .15s; }
.tile:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); color: var(--appm-primary); }
.tile .muted { font-weight: 400; }
.tile__ic { width: 46px; height: 46px; border-radius: 12px; background: var(--soft); display: flex; align-items: center; justify-content: center; color: var(--appm-primary); }

/* Seções */
.sec { padding: 72px 0; }
.sec--tight { padding: 40px 16px 64px; }
.wrap.sec--tight { padding-left: 16px; padding-right: 16px; }
.sec--alt { background: var(--appm-alt); }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 20px; margin-bottom: 28px; }
.sec-head > div { flex: 1 1 300px; }
.sec-head h2 { margin: 0; }
.split { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.split__main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.split__side { flex: 1 1 320px; display: flex; flex-direction: column; gap: 20px; }
.split__filter { flex: 1 1 250px; max-width: 300px; }
.grid-3 { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.list { display: flex; flex-direction: column; gap: 16px; }

/* Cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--appm-radius); box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.card--link { text-decoration: none; color: var(--text); transition: box-shadow .15s; }
.card--link:hover { box-shadow: var(--shadow-hover); color: var(--text); }
.card--link:hover h3 { text-decoration: underline; }
.card--split { flex-direction: row; flex-wrap: wrap; padding: 0; overflow: hidden; gap: 0; }
.card--split .card__img { flex: 1 1 240px; min-height: 240px; }
.card--split .card__body { flex: 1 1 300px; padding: 26px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.card--warm { background: var(--warm); border-color: #F2D877; }
.card__img { background: var(--soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph { display: flex; align-items: center; justify-content: center; color: var(--appm-primary); opacity: .6; }
.news-card { padding: 0; overflow: hidden; gap: 0; }
.news-card .card__img { aspect-ratio: 16 / 9; }
.news-card--big .card__img { aspect-ratio: 16 / 7; }
.news-card .card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.news-card h3 { margin: 0; font-size: 19px; }
.news-card--big h3 { font-size: 24px; }
.date { display: flex; align-items: center; gap: 10px; color: var(--appm-secondary); font-size: 14px; font-weight: 600; }
.date::after { content: ""; flex: 1; height: 1px; background: #C9D5EA; }
.news-row { display: flex; flex-wrap: wrap; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.news-row:hover h3 { text-decoration: underline; }
.news-row__img { width: 200px; height: 130px; border-radius: 12px; overflow: hidden; background: var(--soft); flex: none; display: flex; align-items: center; justify-content: center; }
.news-row__img img { width: 100%; height: 100%; object-fit: cover; }
.news-row__body { flex: 1 1 280px; display: flex; flex-direction: column; gap: 6px; }
.news-row__body h3 { margin: 0; }
.news-row__body p { margin: 0; }
.news-layout { display: flex; flex-direction: column; gap: 22px; }

.cta { background: var(--appm-secondary); color: #fff; border-radius: 18px; overflow: hidden; }
.cta__img img { width: 100%; height: 160px; object-fit: cover; display: block; }
.cta__body { padding: 26px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta h2 { color: #fff; font-size: 24px; margin: 0; }
.cta .eyebrow { color: #FFE07A; }
.cta ul { margin: 0; padding-left: 18px; }
.cta li { margin-bottom: 6px; }

.cal { width: 64px; flex: none; border-radius: 12px; background: var(--appm-primary); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 0; }
.cal b { font-family: var(--appm-font-head); font-size: 24px; line-height: 1; }
.cal span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--appm-accent); font-weight: 700; }
.cal--lg { width: 80px; padding: 12px 0; }
.cal--lg b { font-size: 30px; }
.ev-mini { display: flex; gap: 14px; align-items: center; text-decoration: none; color: var(--text); padding: 6px 0; }
.ev-mini:hover strong { text-decoration: underline; }
.ev-row { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 14px; }
.ev-row__body { flex: 1 1 320px; display: flex; flex-direction: column; gap: 4px; }
.ev-row__title { font-family: var(--appm-font-head); font-size: 18px; color: var(--appm-primary); }
.month { font-size: 20px; margin: 28px 0 14px; text-transform: capitalize; }

/* Representatividade */
.hero--rep .rep { position: relative; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.rep__text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 22px; }
.rep__text h2 { margin: 0; }
.rep__map { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.rep__info { background: rgba(255, 255, 255, .08); border-radius: 12px; padding: 12px 14px; min-height: 20px; font-size: 14px; }
.rep__info:empty { display: none; }
.rep__info strong { color: #fff; display: block; }
.nums { display: grid; gap: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.num { color: #DCE5F4; }
.num b { display: block; font-family: var(--appm-font-head); font-size: clamp(36px, 4vw, 46px); font-weight: 800; color: var(--appm-accent); line-height: 1.1; }
.num small { font-size: 22px; }
.map-box { background: #22406F; border-radius: 18px; padding: 16px; min-height: 300px; }
.map-box .muted, .map-box .appm-map__legend { color: #DCE5F4; }
.map-box--light { background: var(--appm-alt); }
.map-box--light .muted, .map-box--light .appm-map__legend { color: var(--muted); }
.map-box path { stroke: #22406F; }
.map-box--light path { stroke: #fff; }
.pill-input { min-height: 48px; border: 1px solid #8A97AD; border-radius: 999px; padding: 0 18px; font: inherit; background: #fff; flex: 1 1 220px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; align-items: center; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1px solid #B9C6DB; border-radius: 999px; background: #fff; color: var(--appm-primary); font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.chip.is-on, .chip:hover { background: var(--appm-primary); border-color: var(--appm-primary); color: #fff; }
.hero .chip { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero .chip.is-on, .hero .chip:hover { background: var(--appm-accent); border-color: var(--appm-accent); color: #1C2433; }
.map-info { font-size: 14px; margin: 8px 0; }

/* Publicações */
.pub-card h3 { font-size: 20px; margin: 4px 0; }
.pub-card h3 a { text-decoration: none; }
.pub-card h3 a:hover { text-decoration: underline; }
.author { display: flex; gap: 12px; align-items: center; margin-top: 6px; font-size: 14px; }
.author a { text-decoration: none; }
.avatar { width: 52px; height: 52px; border-radius: 50%; flex: none; background: var(--soft); border: 3px solid var(--appm-accent); display: inline-flex; align-items: center; justify-content: center; font-family: var(--appm-font-head); font-weight: 800; font-size: 20px; color: var(--appm-primary); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar--lg { width: 72px; height: 72px; font-size: 28px; }
.avatar--xl { width: 110px; height: 110px; font-size: 42px; }
.disclaimer { font-size: 13px; color: var(--muted); margin-top: 18px; }
p.card.disclaimer { display: block; background: var(--appm-alt); }

/* Escola */
.escola { display: flex; flex-wrap: wrap; gap: 28px; align-items: stretch; }
.escola__main { flex: 2 1 520px; }
.escola__side { flex: 1 1 300px; justify-content: center; align-items: flex-start; }
.escola__side h3 { font-size: 22px; margin: 0; }
.newsletter { gap: 24px; }
.newsletter h2 { font-size: 26px; margin: 0; }
.newsletter__form { flex: 1 1 440px; }

/* Páginas internas */
.page-hero { background: var(--appm-primary); color: #fff; position: relative; }
.page-hero .wrap { padding-top: 40px; padding-bottom: 44px; }
.page-hero h1 { color: #fff; margin: 8px 0 10px; }
.page-hero p { color: #DCE5F4; max-width: 760px; }
.page-hero .meta { font-size: 15px; }
.page-hero .meta a { color: #fff; }
.page-hero .search-form { max-width: 720px; margin-top: 12px; }
.page-hero .btn--accent { margin-top: 6px; }
.crumb { font-size: 13px; color: #B9C9E4; }
.crumb a { color: #DCE5F4; }
.author-hero { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.filters { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.filter-card fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.filter-card legend { font-weight: 700; color: var(--appm-primary); margin-bottom: 6px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; padding: 3px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--appm-primary); flex: none; margin-top: 2px; }
.field { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.field select { min-height: 42px; border: 1px solid #8A97AD; border-radius: 10px; padding: 0 10px; font: inherit; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tab { padding: 12px 16px; text-decoration: none; font-weight: 600; color: var(--muted); border-bottom: 3px solid transparent; }
.tab.is-active { color: var(--appm-primary); border-bottom-color: var(--appm-accent); }
.empty { text-align: center; }
.article__body { padding-top: 36px; padding-bottom: 56px; }
.article__img { margin: 0 0 24px; border-radius: var(--appm-radius); overflow: hidden; }
.lead { font-size: 19px; color: var(--muted); }
.prose { font-size: 17px; line-height: 1.75; }
.prose h2 { font-size: 26px; margin-top: 1.6em; }
.prose h3 { font-size: 21px; margin-top: 1.4em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--appm-accent); color: var(--muted); font-style: italic; }
.prose img { border-radius: 12px; }
.prose a { text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose .wp-block-file { background: var(--appm-alt); padding: 12px 16px; border-radius: 12px; }
.abstract { background: var(--appm-alt); }
.refs { font-size: 14px; color: var(--muted); }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 22px 0; }
.author-box { align-items: flex-start; }
.author-box h2 { font-size: 20px; margin: 4px 0 0; }
.ev-box .dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0 0 14px; font-size: 15px; }
.ev-box dt { color: var(--muted); }
.ev-box dd { margin: 0; font-weight: 600; }
.program li { margin-bottom: 6px; }
.search-item h2 { font-size: 20px; margin: 0; }
.pagination { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 28px; }
.pagination a, .pagination span { min-width: 42px; min-height: 42px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; background: #fff; }
.pagination .current { background: var(--appm-primary); color: #fff; border-color: var(--appm-primary); }

/* Formulários do plugin dentro do tema */
.appm-scope { margin: 8px 0; }
.appm-filiacao { max-width: 900px; }

/* Rodapé */
.site-footer { background: var(--appm-primary-dark); color: #DCE5F4; padding: 56px 0 28px; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1.4fr repeat(3, 1fr); }
.footer-brand p { font-size: 14px; margin: 12px 0; }
.footer-small { font-size: 13px; color: #B9C9E4; }
.footer-title { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--appm-accent); margin: 0 0 12px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 20px; border-top: 1px solid #2A3F66; font-size: 13px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
	.footer-grid { grid-template-columns: 1fr; }
	.sec { padding: 48px 0; }
	.hero__row { padding-top: 48px; padding-bottom: 96px; }
	.news-row__img { width: 100%; height: 180px; }
	.nums { gap: 16px; }
	.search-form { flex-direction: column; }
	.split__filter { max-width: none; }
}

@media print {
	.site-header, .site-footer, .util, .share, .split__side, .flag { display: none !important; }
	.page-hero { background: none; color: #000; }
	.page-hero h1, .page-hero p, .page-hero .meta, .page-hero .meta a { color: #000; }
}
@media (prefers-reduced-motion: reduce) {
	*, html { transition: none !important; scroll-behavior: auto !important; }
}

/* Quem Somos e membros */
.about { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.about__text { flex: 999 1 560px; min-width: 0; }
.about__side { flex: 1 1 280px; }
.about__ph p { color: var(--muted); }
.about__facts { gap: 14px; }
.about__num b { display: block; font-family: var(--appm-font-head); font-size: 36px; font-weight: 800; color: var(--appm-primary); line-height: 1.1; }
.about__num small { font-size: 18px; }
.about__num span { color: var(--muted); font-size: 14px; }
.member-hero { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; }
.member-hero__photo { width: 220px; height: 220px; border-radius: 50%; overflow: hidden; border: 5px solid var(--appm-accent); flex: none; background: #DCE5F2; }
.member-hero__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member-hero__text { flex: 1 1 380px; }
.member-hero__desc { font-size: 17px; }
.member-hero .eyebrow { color: var(--appm-accent); }
@media (max-width: 560px) { .member-hero__photo { width: 160px; height: 160px; } }

/* Imagens destacadas inteiras (sem cortar banners): sobra preenchida com a própria imagem desfocada. */
.fit-img { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; }
.fit-img::before { content: ""; position: absolute; inset: -24px; background: var(--fit-bg) center / cover no-repeat; filter: blur(18px) saturate(1.1); opacity: .85; }
.feat__img .fit-img__img, .card__img .fit-img__img, .news-row__img .fit-img__img { position: relative; width: 100%; height: 100%; object-fit: contain; display: block; }
.article__img { text-align: center; background: var(--soft); }
.article__img img { width: auto; max-width: 100%; height: auto; max-height: 80vh; display: inline-block; vertical-align: top; }

/* A imagem ocupa toda a largura e o espaço acompanha a altura dela (sem cortar, sem distorcer, sem faixas). */
.card__img:has(.fit-img), .feat__img:has(.fit-img) { aspect-ratio: auto; min-height: 0; height: auto; display: block; }
.card__img .fit-img, .feat__img .fit-img { height: auto; }
.card__img .fit-img::before, .feat__img .fit-img::before { display: none; }
.card__img .fit-img__img, .feat__img .fit-img__img { width: 100%; height: auto; object-fit: initial; }
