/* ===== Farol Editorial — home: grade de seções e componentes editoriais ===== */
.fe-home { padding-top: 24px; }
.fe-home-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 28px; row-gap: 40px; align-items: start; }
.fe-cell { grid-column: span var(--fe-span, 12); order: var(--fe-order, 50); min-width: 0; }
.fe-cell > .fe-ad { margin: 0 auto; }
.fe-sec { min-width: 0; }

/* Abertura */
.fe-hero__lead { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--fe-border); }
.fe-hero__lead .fe-kicker { font-size: 10px; }
.fe-hero__title { margin: 0; font-size: clamp(26px, 3vw, 34px); line-height: 1.22; font-weight: 700; }
.fe-hero__title a { color: var(--fe-heading); }
.fe-hero__title a:hover { color: var(--fe-primary); }
.fe-hero__excerpt { margin: 12px 0 0; color: var(--fe-muted); }
.fe-hero__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.fe-hero__photo .fe-photo { height: 100%; }
.fe-photo--tall .fe-photo__media { aspect-ratio: 4 / 5; }
.fe-photo--tall .fe-photo__title { font-size: 19px; }
.fe-hero__list .fe-item:first-child { padding-top: 4px; }

/* Lateral regional */
.fe-side .fe-ad { margin: 0 0 20px; }
.fe-side .fe-sec__head { margin-bottom: 4px; }
.fe-side .fe-sec__title { font-size: 14px; font-weight: 600; }
.fe-list--side .fe-item { align-items: center; padding: 12px 0; }
.fe-list--side .fe-item__thumb { width: 64px; aspect-ratio: 1; }
.fe-list--side .fe-item__title { font-size: 15px; }

/* Cena Política: mosaico 1 + 4 */
.fe-mosaic { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 10px; }
.fe-mosaic__big .fe-photo, .fe-mosaic__big .fe-photo__link { height: 100%; }
.fe-mosaic__big .fe-photo__media { height: 100%; aspect-ratio: auto; min-height: 330px; }
.fe-mosaic__big .fe-photo__title { font-size: clamp(20px, 2.2vw, 26px); }
.fe-mosaic__small { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 10px; }
.fe-photo--small .fe-photo__media { aspect-ratio: auto; height: 100%; min-height: 160px; }
.fe-photo--small, .fe-photo--small .fe-photo__link { height: 100%; }
.fe-photo--small .fe-photo__body { padding: 10px 12px 12px; gap: 5px; }
.fe-photo--small .fe-photo__title { font-size: 13.5px; font-weight: 600; -webkit-line-clamp: 3; }
.fe-photo--small .fe-pill { font-size: 9px; background: transparent; padding: 0; color: #fff; letter-spacing: .08em; opacity: .9; }
.fe-mosaic--single { grid-template-columns: 1fr; }

/* Manchete textual + miniaturas (Giro, Destaques) */
.fe-headthumbs__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.fe-headthumbs.has-side .fe-headthumbs__body { grid-template-columns: minmax(0, 1fr) 336px; align-items: start; }
.fe-headthumbs__side { min-width: 0; }
.fe-headthumbs__side .fe-ad { margin: 0 auto; }
.fe-headthumbs__lead { padding-bottom: 14px; border-bottom: 1px solid var(--fe-border); }
.fe-headthumbs__title { margin: 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.2; font-weight: 700; }
.fe-headthumbs__title a { color: var(--fe-heading); }
.fe-headthumbs__title a:hover { color: var(--fe-primary); }
.fe-headthumbs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.fe-headthumbs__grid .fe-item { padding: 14px 0; }
.fe-headthumbs__grid .fe-item:first-child { padding-top: 14px; }
.fe-headthumbs__grid .fe-item__thumb { width: 96px; aspect-ratio: 4 / 3; }

/* Grade de fotos */
.fe-grid { display: grid; gap: 10px; }
.fe-grid--1 { grid-template-columns: 1fr; }
.fe-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fe-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fe-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fe-photogrid .fe-photo__media { aspect-ratio: 4 / 3; }
.fe-grid--3 .fe-photo__media { aspect-ratio: 16 / 11; }

/* Listas textuais */
.fe-textlist .fe-item { padding: 13px 0; }
.fe-textlist .fe-item:first-child { padding-top: 0; }
.fe-textlist .fe-item__thumb { width: 88px; aspect-ratio: 4 / 3; }
.fe-textlist .fe-item__title { font-size: 16px; font-weight: 500; }
.fe-textlist .fe-item--thumb .fe-item__title { font-weight: 500; }

/* Carrossel (Informe Publicitário, A Voz do Leitor) */
.fe-carousel { position: relative; }
.fe-carousel__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 2px; }
.fe-carousel__track::-webkit-scrollbar { display: none; }
.fe-carousel__track:focus-visible { outline-offset: 0; }
.fe-carousel__slide { flex: 0 0 calc((100% - 32px) / 3); min-width: 0; scroll-snap-align: start; }
.fe-carousel__slide .fe-photo, .fe-carousel__slide .fe-photo__link { height: 100%; }
.fe-informe .fe-photo__media { aspect-ratio: 5 / 6; }
.fe-carousel__btn { position: absolute; top: 50%; z-index: 5; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-top: -18px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .6); color: #fff; cursor: pointer; }
.fe-carousel__btn:hover { background: var(--fe-primary); }
.fe-carousel__btn--prev { left: 8px; }
.fe-carousel__btn--next { right: 8px; }
.fe-carousel__btn[disabled] { opacity: .35; cursor: default; }
.fe-carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.fe-carousel__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: var(--fe-border); cursor: pointer; }
.fe-carousel__dots button[aria-current="true"] { background: var(--fe-primary); }
.fe-carousel--voz .fe-carousel__slide { flex-basis: 88%; }
.fe-voz .fe-photo__media { aspect-ratio: 4 / 5; }
.fe-voz__cta { margin-top: 14px; }
.fe-voz__form { margin-top: 16px; }

/* Responsivo da home */
@media (max-width: 1023px) {
	.fe-home-grid { row-gap: 32px; }
	.fe-cell { grid-column: 1 / -1; }
	.fe-mosaic { grid-template-columns: minmax(0, 1fr); }
	.fe-mosaic__big .fe-photo__media { min-height: 0; aspect-ratio: 16 / 10; }
	.fe-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fe-carousel__slide { flex-basis: calc((100% - 16px) / 2); }
	.fe-carousel--voz .fe-carousel__slide { flex-basis: 60%; }
}
@media (max-width: 767px) {
	.fe-home { padding-top: 16px; }
	.fe-hero__row { grid-template-columns: minmax(0, 1fr); }
	.fe-hero__title { font-size: 25px; }
	.fe-hero__photo .fe-photo__media { aspect-ratio: 4 / 3; }
	.fe-grid--3 { grid-template-columns: minmax(0, 1fr); }
	.fe-grid--3 .fe-photo__media, .fe-grid--4 .fe-photo__media { aspect-ratio: 16 / 10; }
	.fe-headthumbs.has-side .fe-headthumbs__body { grid-template-columns: minmax(0, 1fr); }
	.fe-headthumbs__grid { grid-template-columns: minmax(0, 1fr); }
	.fe-carousel__slide { flex-basis: 82%; }
	.fe-carousel--voz .fe-carousel__slide { flex-basis: 88%; }
	.fe-photo--small .fe-photo__media { min-height: 140px; }
	.fe-photo--small .fe-photo__title { font-size: 12.5px; }
	.fe-photo__title { font-size: 16px; }
}
@media (max-width: 479px) {
	.fe-grid--4 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 359px) {
	.fe-mosaic__small { grid-template-columns: minmax(0, 1fr); }
}
