/* ===== Farol Editorial — categoria, tag, autor, busca e arquivos ===== */
.fe-archive { padding-top: 24px; }
.fe-archive__head { margin-bottom: 20px; }
.fe-archive__title { margin: 0; font-size: clamp(28px, 4vw, 40px); line-height: 1.15; font-weight: 800; color: var(--fe-heading); }
.fe-archive__desc { margin-top: 10px; color: var(--fe-muted); max-width: 70ch; }
.fe-archive__desc p:last-child { margin-bottom: 0; }

/* Lista textual (padrão): sem imagens */
.fe-entries--text, .fe-entries--list_img { display: flex; flex-direction: column; }
.fe-entry { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--fe-border); }
.fe-entry:first-child { padding-top: 12px; }
.fe-entry__thumb { flex: none; width: 280px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--fe-radius-card); background: var(--fe-surface-muted); }
.fe-entry__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fe-entry__main { min-width: 0; flex: 1; }
.fe-entry__title { margin: 0 0 12px; font-size: clamp(21px, 2.4vw, 26px); line-height: 1.25; font-weight: 800; }
.fe-entry__title a { color: var(--fe-heading); }
.fe-entry__title a:hover { color: var(--fe-primary); }
.fe-entry .fe-meta { margin-bottom: 12px; }
.fe-entry__excerpt { margin: 0 0 16px; font-size: var(--fe-cat-excerpt, 15px); color: var(--fe-text); line-height: 1.65; }
.fe-entry__more { min-height: 34px; padding: 6px 14px; font-size: 12px; border-radius: 6px; }
.fe-entries__ad { width: 100%; grid-column: 1 / -1; padding: 12px 0; }

/* Layouts alternativos */
.fe-entries--grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fe-entries--grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fe-entries--mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fe-entries--mosaic > .fe-photo--big { grid-column: span 2; grid-row: span 2; }
.fe-entries--mosaic > .fe-photo--big .fe-photo__media { aspect-ratio: auto; height: 100%; min-height: 300px; }
.fe-entries--lead_list { display: flex; flex-direction: column; }
.fe-entries--lead_list > .fe-photo--big { margin-bottom: 8px; }
.fe-entries--lead_list > .fe-photo--big .fe-photo__title { font-size: clamp(22px, 3vw, 30px); }

/* Carregar mais */
.fe-loadmore { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 28px 0 0; }
.fe-loadmore__status { margin: 0; min-height: 1.2em; font-size: 13px; color: var(--fe-muted); }
.fe-loadmore.is-enhanced + .fe-pagination { display: none; }
.fe-empty { padding: 32px 0; color: var(--fe-muted); }
.fe-notfound { padding: 48px 20px; max-width: 640px; }
.fe-notfound .fe-search { height: 46px; border: 1px solid var(--fe-border); background: var(--fe-field-bg); margin: 16px 0 24px; }
.fe-notfound .fe-search__input { color: var(--fe-text); font-size: 16px; }
.fe-notfound .fe-search__btn { color: var(--fe-text); width: 46px; }
.fe-empty .fe-search { height: 46px; border: 1px solid var(--fe-border); background: var(--fe-field-bg); max-width: 420px; }
.fe-empty .fe-search__input { color: var(--fe-text); font-size: 16px; }
.fe-empty .fe-search__btn { color: var(--fe-text); width: 46px; }

@media (max-width: 1023px) {
	.fe-entries--grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.fe-archive { padding-top: 16px; }
	.fe-entry { flex-direction: column; gap: 14px; padding: 22px 0; }
	.fe-entry__thumb { width: 100%; }
	.fe-entry__title { font-size: 21px; }
	.fe-entries--grid2, .fe-entries--grid3 { grid-template-columns: minmax(0, 1fr); }
	.fe-entries--mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fe-entries--mosaic > .fe-photo--big { grid-column: 1 / -1; grid-row: auto; }
	.fe-entries--mosaic > .fe-photo--big .fe-photo__media { min-height: 0; aspect-ratio: 16 / 10; }
	.fe-pagination li > .page-numbers { min-width: 36px; height: 36px; padding: 0 9px; }
}
