/*
Theme Name: Sintoma
Theme URI: https://sintoma.pt
Description: Tema filho do GeneratePress para a revista de saúde Sintoma. Fundo creme, uma cor de destaque, títulos em Newsreader e interface em Instrument Sans.
Author: Sintoma
Template: generatepress
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: sintoma
*/

/* ==========================================================================
   Tipos de letra (alojados no tema; licença SIL OFL, ver assets/fonts)
   ========================================================================== */
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 300; font-display: swap; src: url('assets/fonts/newsreader-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 300; font-display: swap; src: url('assets/fonts/newsreader-latin-300-italic.woff2') format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/newsreader-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 400; font-display: swap; src: url('assets/fonts/newsreader-latin-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/newsreader-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/instrument-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('assets/fonts/instrument-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('assets/fonts/instrument-sans-latin-600-normal.woff2') format('woff2'); }

/* ==========================================================================
   Variáveis
   ========================================================================== */
:root {
	--bg: #FBF6EE;
	--card: #F3EBDD;
	--sand: #EADFCB;
	--line: #E3D7C2;
	--dash: #CDBE9F;
	--ink: #1E2622;
	--muted: #535A54;
	--accent: #1F6B5E;
	--accent-dark: #185347;
	--tint: #DCEAE3;
	--on-accent: #FBF6EE;
	--band: #16332D;
	--band-text: #FBF6EE;
	--band-link: #D3CBC1;
	--band-muted: #B9C2BC;
	--band-line: rgba(251, 246, 238, 0.18);
	--accent-on-band: #8FD0BE;

	--serif: 'Newsreader', Georgia, 'Times New Roman', serif;
	--sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--gutter: 20px;
	--maxw: 1440px;
}
@media (min-width: 768px)  { :root { --gutter: 40px; } }
@media (min-width: 1100px) { :root { --gutter: 72px; } }
@media (min-width: 1360px) { :root { --gutter: 120px; } }

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.has-overlay { overflow: hidden; }
[hidden] { display: none !important; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; cursor: pointer; }
em { font-style: italic; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.site-footer :focus-visible { outline-color: var(--accent-on-band); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 100001; padding: 12px 20px; border-radius: 999px;
	background: var(--accent); color: var(--on-accent); font: 600 15px/1 var(--sans); text-decoration: none;
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 900px; }

.site-main { padding-bottom: clamp(72px, 7.8vw, 112px); }
.eyebrow { font: 600 12px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.eyebrow--band { color: var(--band-muted); }
.meta { font: 400 14px/1.4 var(--sans); color: var(--muted); }
.empty { font: 400 18px/1.6 var(--sans); color: var(--muted); padding: 24px 0; }

/* ==========================================================================
   Componentes: logótipo, botões, etiquetas
   ========================================================================== */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo svg { color: var(--accent); flex-shrink: 0; }
.logo__text { font: 600 21px/1 var(--sans); letter-spacing: -0.01em; }
.logo__tld { font-weight: 400; color: var(--accent); }
.logo--on-band { color: var(--band-text); }
.logo--on-band svg, .logo--on-band .logo__tld { color: var(--accent-on-band); }
@media (min-width: 1024px) { .logo__text { font-size: 22px; } }

.pill {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px;
	border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 600 15px/1 var(--sans);
	text-decoration: none; white-space: nowrap;
}
.pill:hover { background: var(--accent-dark); }
.pill--sm { height: 44px; }

.icon-btn {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
	border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink);
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }

.kicker { font: 600 12px/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.kicker--pill { display: inline-flex; align-self: flex-start; padding: 8px 14px; border-radius: 999px; background: var(--tint); line-height: 1; }
.kicker-link { align-self: flex-start; text-decoration: none; display: inline-flex; }

/* Espaço para fotografias */
.ph { position: relative; display: block; overflow: hidden; background: var(--tint); flex-shrink: 0; }
.ph__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ph__pulse { position: absolute; left: 50%; top: 50%; width: 58%; transform: translate(-50%, -50%); opacity: 0.4; color: var(--accent); }
.ph--32 { aspect-ratio: 3 / 2; }
.ph--43 { aspect-ratio: 4 / 3; }

.section { padding-top: clamp(72px, 7.2vw, 104px); }
.section--tight { padding-top: clamp(28px, 3.3vw, 48px); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: clamp(24px, 2.5vw, 36px); }
.section__title { font: 400 clamp(32px, 3.06vw, 44px)/1.05 var(--serif); letter-spacing: -0.02em; }
.section__title em, .hero__title em, .page-head__title em, .article__title em, .card__title em, .feature__title em { color: var(--accent); font-style: italic; }
.more-link { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--sans); color: var(--accent); text-decoration: none; white-space: nowrap; }
.more-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================================
   Cabeçalho
   ========================================================================== */
.site-header__in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
@media (min-width: 1024px) { .site-header__in { height: 96px; } }
.site-header__right { display: flex; align-items: center; gap: 8px; }
.main-nav, .header-cta { display: none; }
@media (min-width: 1024px) {
	.site-header__right { gap: 32px; }
	.main-nav { display: flex; align-items: center; gap: 32px; }
	.main-nav a { font: 500 15px/1 var(--sans); color: var(--ink); text-decoration: none; }
	.main-nav a:hover, .main-nav a[aria-current] { color: var(--accent); }
	.header-cta { display: inline-flex; }
	.icon-btn--menu { display: none; }
}

/* Menu e pesquisa em ecrã inteiro */
.overlay { position: fixed; inset: 0; z-index: 100000; display: flex; flex-direction: column; overflow-y: auto; background: var(--bg); }
.overlay__head { display: flex; align-items: center; justify-content: space-between; height: 72px; flex-shrink: 0; }
@media (min-width: 1024px) { .overlay__head { height: 96px; } }
.overlay .overlay__body { max-width: 820px; margin-inline: 0; padding-bottom: 32px; }
@media (min-width: 900px) { .overlay .overlay__body { margin-inline: auto; } }
.search-field { position: relative; margin: 4px 0 24px; }
.search-field input[type="search"] {
	width: 100%; height: 52px; padding: 0 20px 0 48px; border-radius: 999px; border: 1px solid var(--line);
	background: var(--card); font: 400 16px/1 var(--sans); color: var(--ink); -webkit-appearance: none; appearance: none;
}
.search-field input[type="search"]::placeholder { color: var(--muted); opacity: 1; }
.search-field__icon { position: absolute; left: 18px; top: 17px; color: var(--muted); pointer-events: none; }
.search-field--page { max-width: 640px; margin: 0 0 40px; }
.theme-list { border-bottom: 1px solid var(--line); margin-top: 12px; }
.theme-list li { border-top: 1px solid var(--line); }
.theme-list a { display: flex; align-items: center; gap: 16px; padding: 11px 0; text-decoration: none; color: var(--ink); }
.theme-list a:hover .theme-list__name { color: var(--accent); }
.theme-list__n { width: 24px; flex-shrink: 0; font: 600 13px/1 var(--sans); color: var(--accent); }
.theme-list__name { flex-grow: 1; font: 400 24px/1.15 var(--serif); letter-spacing: -0.01em; }
.theme-list svg { color: var(--accent); flex-shrink: 0; }
.overlay__links { display: flex; gap: 28px; margin-top: auto; padding: 28px 0 8px; font: 500 16px/1 var(--sans); }
.overlay__links a { text-decoration: none; }
.overlay__links a:hover { color: var(--accent); }

/* Migalhas de pão */
.crumbs { max-width: var(--maxw); margin-inline: auto; padding: 4px var(--gutter) 0; font: 400 13px/1.3 var(--sans); }
@media (min-width: 768px) { .crumbs { padding-top: 8px; font-size: 14px; } }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.crumbs li { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); }
.crumbs li + li::before { content: '/'; color: var(--dash); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--ink); }
@media (max-width: 767px) { .crumbs--post li:last-child { display: none; } }

/* ==========================================================================
   Página inicial
   ========================================================================== */
.hero { display: flex; flex-direction: column; padding-top: 8px; }
.hero__media { order: -1; border-radius: 24px; }
.hero__text { display: flex; flex-direction: column; gap: 18px; padding-top: 24px; }
.hero__title { font: 300 clamp(40px, 4.17vw, 60px)/1.05 var(--serif); letter-spacing: -0.025em; }
.hero__stand { font: 400 17px/1.55 var(--sans); color: var(--muted); max-width: 540px; }
.hero__cta { display: flex; flex-direction: column; gap: 16px; padding-top: 4px; }
.hero__cta .pill { height: 52px; font-size: 16px; }
@media (min-width: 900px) {
	.hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; padding-top: 40px; }
	.hero__text { grid-column: 1 / span 6; grid-row: 1; padding: 0 40px 0 0; gap: 26px; }
	.hero__media { order: 0; grid-column: 7 / span 6; grid-row: 1; border-radius: 36px; }
	.hero__stand { font-size: 19px; max-width: 520px; }
	.hero__cta { flex-direction: row; align-items: center; gap: 20px; padding-top: 6px; }
	.hero__cta .pill { height: 48px; font-size: 15px; }
}
@media (max-width: 899px) { .hero__cta .meta { display: none; } }

.latest { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 900px) { .latest { grid-template-columns: 1.12fr 1fr; column-gap: 64px; } }

.card__link { display: flex; text-decoration: none; color: var(--ink); }
.card__body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card__title { font-family: var(--serif); letter-spacing: -0.012em; }
.card__link:hover .card__title { color: var(--accent); }

.card--big .card__link { flex-direction: column; gap: 18px; }
.card--big .ph { aspect-ratio: 3 / 2; border-radius: 24px; }
.card--big .card__title { font-size: clamp(27px, 2.36vw, 34px); line-height: 1.14; letter-spacing: -0.015em; }
@media (min-width: 900px) { .card--big .card__link { gap: 22px; } .card--big .ph { border-radius: 28px; } .card--big .card__body { gap: 12px; } }

.card--row .card__link { gap: 16px; align-items: flex-start; }
.card--row .ph { width: 112px; aspect-ratio: 4 / 3; border-radius: 16px; }
.card--row .card__title { font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; }
.card--row .kicker { font-size: 11px; }
.card--row { padding: 18px 0; border-top: 1px solid var(--line); }
.card--row:first-child { padding-top: 0; border-top: 0; }
@media (min-width: 768px) {
	.card--row .card__link { gap: 24px; align-items: center; }
	.card--row .ph { width: 172px; aspect-ratio: 3 / 2; border-radius: 18px; }
	.card--row .card__title { font-size: 24px; }
	.card--row .kicker { font-size: 12px; }
	.card--row { padding: 24px 0; }
}
.latest__rows--wide .card--row:first-child { padding-top: 0; }

.card--col .card__link { flex-direction: column; gap: 20px; }
.card--col .ph { aspect-ratio: 3 / 2; border-radius: 24px; }
.card--col .card__title { font-size: clamp(22px, 1.8vw, 26px); line-height: 1.18; }

.grid { display: grid; gap: 28px; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px)  { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; } }
.tile {
	display: flex; flex-direction: column; justify-content: space-between; height: 100%; min-height: 132px; padding: 16px;
	border-radius: 20px; background: var(--card); text-decoration: none; color: var(--ink);
}
.tile:hover { background: var(--sand); }
.tile__top { display: flex; align-items: center; justify-content: space-between; font: 600 13px/1 var(--sans); color: var(--accent); }
.tile__name { font: 400 19px/1.15 var(--serif); letter-spacing: -0.01em; }
@media (min-width: 900px) {
	.tile { min-height: 176px; padding: 24px; border-radius: 24px; }
	.tile__top { font-size: 14px; }
	.tile__name { font-size: 24px; }
}

/* ==========================================================================
   Páginas de tema e de pesquisa
   ========================================================================== */
.page-head { display: flex; flex-direction: column; gap: 18px; padding-top: 32px; }
.page-head__title { font: 300 clamp(48px, 5.83vw, 84px)/1 var(--serif); letter-spacing: -0.03em; }
.page-head__desc { font: 400 17px/1.55 var(--sans); color: var(--muted); max-width: 620px; }
.page-head__desc p + p { margin-top: 12px; }
@media (min-width: 768px) { .page-head { gap: 24px; padding-top: 48px; } .page-head__desc { font-size: 20px; } }

.chips { display: flex; gap: 8px; padding-top: 28px; padding-bottom: 4px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
	flex-shrink: 0; display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px;
	border: 1px solid var(--line); color: var(--ink); font: 500 14px/1 var(--sans); text-decoration: none; white-space: nowrap;
}
.chip:hover { border-color: var(--accent); }
.chip.is-current { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
@media (min-width: 900px) {
	.chips { flex-wrap: wrap; gap: 10px; padding-top: 48px; overflow: visible; }
	.chip { height: 42px; padding: 0 20px; }
}

.feature { display: flex; flex-direction: column; gap: 20px; padding: 14px 14px 24px; border-radius: 28px; background: var(--card); }
.feature__media { border-radius: 20px; }
.feature__text { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 0 6px; }
.feature__title { font: 400 30px/1.1 var(--serif); letter-spacing: -0.02em; }
.feature__title a { text-decoration: none; }
.feature__title a:hover { color: var(--accent); }
.feature__stand { font: 400 16px/1.55 var(--sans); color: var(--muted); }
.feature__text .pill { width: 100%; height: 52px; font-size: 16px; }
.feature__text > div { width: 100%; padding-top: 4px; }
@media (min-width: 900px) {
	.feature { display: grid; grid-template-columns: 1.1fr 1fr; column-gap: 56px; align-items: center; padding: 24px; border-radius: 36px; }
	.feature__media { border-radius: 26px; }
	.feature__text { gap: 22px; padding: 16px 32px 16px 0; }
	.feature__title { font-size: 42px; }
	.feature__stand { font-size: 18px; }
	.feature__text > div { width: auto; }
	.feature__text .pill { width: auto; height: 48px; font-size: 15px; }
}

.pagination { margin-top: 56px; }
.pagination ul { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px;
	border-radius: 999px; border: 1px solid var(--line); font: 500 15px/1 var(--sans); text-decoration: none; color: var(--ink);
}
.pagination a.page-numbers:hover { border-color: var(--accent); }
.pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

/* ==========================================================================
   Artigo
   ========================================================================== */
.article__head { display: flex; flex-direction: column; gap: 20px; padding-top: 24px; }
.article__title { font: 300 clamp(38px, 4.72vw, 68px)/1.05 var(--serif); letter-spacing: -0.03em; max-width: 980px; }
.article__stand { font: italic 300 clamp(20px, 1.74vw, 25px)/1.5 var(--serif); color: var(--muted); max-width: 780px; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font: 400 13px/1 var(--sans); color: var(--muted); }
.byline__author { color: var(--ink); font-weight: 600; }
@media (min-width: 900px) { .article__head { gap: 28px; padding-top: 32px; } .byline { font-size: 14px; gap: 14px; } }

.article__cover { padding-top: 28px; }
.ph--cover { aspect-ratio: 3 / 2; border-radius: 24px; }
@media (min-width: 900px) { .article__cover { padding-top: 48px; } .ph--cover { aspect-ratio: 1200 / 540; border-radius: 36px; } }

.article__grid { display: flex; flex-direction: column; padding-top: 36px; }
.toc { margin-bottom: 28px; padding: 20px; border-radius: 20px; background: var(--card); }
.toc .eyebrow { margin-bottom: 16px; }
.toc__list { display: flex; flex-direction: column; gap: 12px; }
.toc__list a { display: flex; gap: 14px; font: 500 15px/1.4 var(--sans); color: var(--ink); text-decoration: none; }
.toc__list a:hover span:last-child { color: var(--accent); }
.toc__n { color: var(--accent); font-weight: 600; }
@media (min-width: 900px) {
	.article__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding-top: 72px; }
	.toc { grid-column: 1 / span 3; grid-row: 1; position: sticky; top: 24px; align-self: start; margin: 0; padding: 0 24px 0 0; border-radius: 0; background: none; }
	.toc .eyebrow { margin-bottom: 20px; }
	.toc__list { gap: 16px; }
	.article__main { grid-column: 4 / span 7; grid-row: 1; min-width: 0; }
}
body.admin-bar .toc { top: 56px; }

/* Texto dos artigos e das páginas */
.entry-content { font: 400 clamp(18px, 1.4vw, 20px)/1.7 var(--serif); color: var(--ink); overflow-wrap: break-word; }
.entry-content > * { margin-top: 0; margin-bottom: 28px; }
.entry-content h2 { margin: 64px 0 24px; font: 400 clamp(28px, 2.5vw, 36px)/1.12 var(--serif); letter-spacing: -0.02em; scroll-margin-top: 24px; }
.entry-content > h2:first-child { margin-top: 0; }
.entry-content h3 { margin: 40px 0 16px; font: 400 clamp(23px, 1.8vw, 26px)/1.2 var(--serif); letter-spacing: -0.01em; }
.entry-content h4 { margin: 32px 0 12px; font: 600 17px/1.4 var(--sans); }
.entry-content strong, .entry-content b { font-weight: 600; }
.entry-content a { color: var(--accent); text-underline-offset: 3px; }
.entry-content a:hover { color: var(--accent-dark); }
.entry-content ul, .entry-content ol { margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.entry-content li { position: relative; padding: 18px 0 18px 28px; border-top: 1px solid var(--line); font-size: 0.95em; line-height: 1.6; }
.entry-content ul > li::before { content: ''; position: absolute; left: 0; top: 1.55em; width: 10px; height: 10px; border-radius: 999px; background: var(--accent); }
.entry-content ol { counter-reset: n; }
.entry-content ol > li { counter-increment: n; padding-left: 40px; }
.entry-content ol > li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 1.2em; font: 600 14px/1.6 var(--sans); color: var(--accent); }
.entry-content li ul, .entry-content li ol { margin: 12px 0 0; border-bottom: 0; }
.entry-content li li { padding: 8px 0 8px 24px; border-top: 0; }
.entry-content li li::before { top: 1em; width: 6px; height: 6px; }
.entry-content blockquote {
	margin: 40px 0; padding: 24px 0 0; border: 0; border-top: 1px solid var(--line); font: italic 300 clamp(20px, 1.7vw, 23px)/1.5 var(--serif);
}
.entry-content blockquote p { margin: 0 0 12px; }
.entry-content blockquote cite { display: block; font: 400 14px/1.4 var(--sans); font-style: normal; color: var(--muted); }
.entry-content img { border-radius: 24px; }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption { margin-top: 12px; font: 400 14px/1.5 var(--sans); color: var(--muted); }
.entry-content small { font-size: 15px; line-height: 1.6; color: var(--muted); }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
.entry-content table { width: 100%; border-collapse: collapse; font: 400 16px/1.5 var(--sans); }
.entry-content th, .entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content th { background: var(--tint); font-weight: 600; }
.entry-content .alignwide, .entry-content .alignfull { max-width: 100%; }
.entry-content .alignleft { float: left; margin: 0 24px 16px 0; }
.entry-content .alignright { float: right; margin: 0 0 16px 24px; }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content .wp-block-columns { gap: 20px; }

/* Estilos de bloco: Cartão e Nota verde */
.entry-content .is-style-sintoma-cartao { padding: clamp(24px, 2.5vw, 36px); border-radius: 32px; background: var(--card); }
.entry-content .is-style-sintoma-nota { padding: 18px 22px; border-radius: 16px; background: var(--tint); font: 400 15px/1.6 var(--sans); }
.entry-content .is-style-sintoma-cartao > :first-child, .entry-content .is-style-sintoma-nota > :first-child { margin-top: 0; }
.entry-content .is-style-sintoma-cartao > :last-child, .entry-content .is-style-sintoma-nota > :last-child { margin-bottom: 0; }

/* Páginas (Sobre, Contacto) */
.page-article .entry-content { padding-top: 40px; }
.entry-content--page { max-width: 760px; }

/* ==========================================================================
   Rodapé
   ========================================================================== */
.site-footer { background: var(--band); color: var(--band-text); padding: 64px 0 32px; }
.site-footer__title { font: 300 clamp(36px, 4.03vw, 58px)/1.07 var(--serif); letter-spacing: -0.02em; max-width: 900px; color: var(--band-text); }
.site-footer__title em { color: var(--accent-on-band); font-style: italic; }
.site-footer__note { margin-top: 20px; font: 400 16px/1.5 var(--sans); color: var(--band-link); }
.site-footer__rule { height: 1px; margin: 44px 0 36px; border: 0; background: var(--band-line); }
.site-footer__brand { display: flex; flex-direction: column; gap: 20px; }
.site-footer__brand p { max-width: 300px; font: 400 14px/1.55 var(--sans); color: var(--band-muted); }
.site-footer__themes, .site-footer__mag { margin-top: 36px; }
.site-footer .eyebrow { margin-bottom: 16px; }
.site-footer__themes ul { columns: 2; column-gap: 20px; }
.site-footer__themes li, .site-footer__mag li { margin: 0 0 12px; break-inside: avoid; }
.site-footer__mag ul { display: flex; flex-wrap: wrap; gap: 0 24px; }
.site-footer a { font: 400 14px/1.3 var(--sans); color: var(--band-link); text-decoration: none; }
.site-footer a:hover { color: var(--band-text); text-decoration: underline; text-underline-offset: 4px; }
.site-footer .logo { font-size: inherit; }
.site-footer__copy { padding-top: 40px; font: 400 12px/1 var(--sans); color: var(--band-muted); }
@media (min-width: 900px) {
	.site-footer { padding: 96px 0 48px; }
	.site-footer__note { margin-top: 24px; font-size: 18px; }
	.site-footer__rule { margin: 72px 0 48px; }
	.site-footer__cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
	.site-footer__brand { grid-column: 1 / span 4; }
	.site-footer__themes { grid-column: 6 / span 5; margin-top: 0; }
	.site-footer__mag { grid-column: 11 / span 2; margin-top: 0; }
	.site-footer__mag ul { flex-direction: column; gap: 0; }
	.site-footer .eyebrow { margin-bottom: 20px; }
	.site-footer a { font-size: 15px; }
	.site-footer__themes li, .site-footer__mag li { margin-bottom: 12px; }
	.site-footer__copy { padding-top: 64px; font-size: 13px; }
}

/* ==========================================================================
   Movimento
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
	.pill, .icon-btn, .chip, .tile, .card__title, .more-link { transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
