/*
Theme Name: ELASCE
Theme URI: https://elasce.com.br/
Author: ELASCE
Description: Tema da ELASCE — Mulheres que crescem juntas. Recriado a partir do site original no Hostinger Horizons, com os artigos como posts do WordPress e os temas (O EU, O MEU, O NOSSO, O MUNDO, O IMPACTO) como categorias.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elasce
*/

/* O visual principal está em assets/css/elasce.css (copiado do site original).
   Abaixo, só os ajustes necessários para o WordPress. */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.article-card[hidden],
.empty-state[hidden],
.path-detail[hidden] {
	display: none !important;
}

/* Os filtros de tema são links (funcionam sem JavaScript) com o visual dos botões originais */
a.topic {
	display: inline-flex;
	align-items: center;
}

.search input[type="search"] {
	-webkit-appearance: none;
	appearance: none;
}

.path-icon {
	display: inline-flex;
}

/* Conteúdo vindo do editor de blocos dentro do artigo */
.reading-text > *:not(p):not(figure) {
	margin-bottom: 1.2em;
}

.reading-text h2,
.reading-text h3 {
	font-family: "Cormorant Garamond", serif;
	font-weight: 500;
	line-height: 1.15;
	margin-top: 1.6em;
}

.reading-text h2 { font-size: 34px; }
.reading-text h3 { font-size: 26px; }

.reading-text ul,
.reading-text ol {
	padding-left: 1.3em;
	list-style: revert;
}

.reading-text a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.reading-text .wp-block-image {
	margin: 32px 0;
}

.reading-text .wp-block-image img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 2px;
}

.reading-text .wp-block-image figcaption {
	font-size: 11px;
	line-height: 1.7;
	color: var(--ink-soft);
	margin-top: 10px;
	margin-bottom: 0;
	font-style: italic;
	text-align: left;
}

/* Rodapé com os links institucionais */
.footer-bottom > div {
	flex-wrap: wrap;
	row-gap: 6px;
}

.reading-text li {
	font-size: 16px;
	line-height: 1.9;
	margin-bottom: 8px;
}

.archive-header {
	padding: 70px 0 10px;
}

.pagination {
	display: flex;
	gap: 18px;
	justify-content: center;
	padding: 40px 0 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
}
