/* =========================================================
   FlipMilhas — Estilos principais
   ========================================================= */

:root {
	--fm-accent: #fe5025;
	--fm-accent-dark: #0a2540;
	--fm-text: #16202b;
	--fm-muted: #6b7785;
	--fm-border: #e6e9ee;
	--fm-bg: #ffffff;
	--fm-bg-alt: #f4f6f9;
	--fm-radius: 10px;
	--fm-shadow: 0 6px 24px rgba(10, 37, 64, .08);
	--fm-container: 1360px;
	--fm-header-h: 70px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: var(--fm-text);
	background: var(--fm-bg);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: 'Sora', sans-serif; line-height: 1.2; margin: 0 0 .4em; }

.fm-container {
	width: 100%;
	max-width: var(--fm-container);
	margin: 0 auto;
	padding: 0 20px;
}

.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: -999px; top: 0; z-index: 9999; background: #fff; padding: 8px 16px; }
.skip-link:focus { left: 10px; top: 10px; }

.fm-btn {
	display: inline-block;
	background: var(--fm-accent);
	color: #fff;
	padding: 12px 22px;
	border-radius: 999px;
	font-weight: 600;
	transition: transform .15s ease, box-shadow .15s ease;
}
.fm-btn:hover { transform: translateY(-2px); box-shadow: var(--fm-shadow); }

/* =========================================================
   MINI BARRAS (mini cabeçalho / mini rodapé)
   ========================================================= */
.fm-minibar {
	font-size: .8rem;
	width: 100%;
}
.fm-minibar .fm-container {
	display: flex;
	align-items: center;
	min-height: 34px;
}
.fm-minibar--bottom .fm-container { justify-content: center; }
.fm-minibar__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	align-items: center;
}
.fm-minibar__menu a {
	font-weight: 500;
	opacity: .85;
	transition: opacity .2s ease, color .2s ease;
}
.fm-minibar__menu a:hover { opacity: 1; color: var(--fm-accent); }
.fm-minibar--top { border-bottom: 1px solid rgba(255,255,255,.08); }
/* Mini rodapé colado no rodapé: o espaçamento fica ACIMA da mini barra,
   e o rodapé logo abaixo dela perde o margin-top (zero gap entre eles). */
.fm-minibar--bottom { margin-top: 40px; border-top: 1px solid rgba(255,255,255,.08); }
.fm-minibar--bottom + .site-footer { margin-top: 0; }

/* =========================================================
   CABEÇALHO
   ========================================================= */
.site-header {
	color: #fff;
	z-index: 1000;
	width: 100%;
}
.site-header.is-sticky { position: sticky; top: 0; }
body.fm-sticky-header { /* hook para JS, sem efeito visual */ }

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	min-height: var(--fm-header-h);
}

.site-branding { flex-shrink: 0; }
.site-branding img { max-height: 48px; width: auto; }
.site-title {
	font-family: 'Sora', sans-serif;
	font-weight: 800;
	font-size: 1.6rem;
	color: #fff;
	letter-spacing: -.5px;
}
.site-title span { color: var(--fm-accent); }

.main-navigation { flex: 1; }
.main-navigation ul {
	list-style: none;
	margin: 0; padding: 0;
	display: flex;
	gap: 26px;
	align-items: center;
}
.main-navigation li { position: relative; }
.main-navigation a {
	font-weight: 600;
	font-size: .95rem;
	padding: 6px 4px;
	display: inline-block;
}
/* Submenus dropdown */
.main-navigation ul ul {
	display: block;
	position: absolute;
	top: 100%; left: 0;
	background: var(--fm-accent-dark);
	min-width: 200px;
	padding: 8px 0;
	border-radius: 8px;
	box-shadow: var(--fm-shadow);
	opacity: 0; visibility: hidden;
	transform: translateY(8px);
	transition: all .2s ease;
	z-index: 50;
}
.main-navigation li:hover > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.main-navigation ul ul li { display: block; }
.main-navigation ul ul a { display: block; padding: 8px 18px; }

.site-header__actions { flex-shrink: 0; }
.header-search-toggle {
	background: rgba(255,255,255,.12);
	border: none; color: #fff;
	width: 42px; height: 42px;
	border-radius: 50%;
	cursor: pointer;
	display: grid; place-items: center;
	transition: background .2s ease;
}
.header-search-toggle:hover { background: rgba(255,255,255,.24); }

.header-search-panel {
	background: rgba(0,0,0,.2);
	padding: 14px 0;
	border-top: 1px solid rgba(255,255,255,.12);
}

.menu-toggle { display: none; }

/* =========================================================
   TICKER DE MILHAS
   ========================================================= */
.milhas-ticker {
	font-size: .82rem;
	border-top: 1px solid rgba(255,255,255,.08);
	overflow: hidden;
}
.milhas-ticker__inner {
	display: flex;
	align-items: center;
	gap: 18px;
	height: 38px;
}
.milhas-ticker__label {
	font-weight: 700;
	white-space: nowrap;
	flex-shrink: 0;
	text-transform: uppercase;
	letter-spacing: .5px;
	font-size: .72rem;
	opacity: .9;
}
.milhas-ticker__track {
	flex: 1;
	overflow: hidden;
	display: flex;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 36px), transparent);
	        mask-image: linear-gradient(to right, transparent, #000 36px, #000 calc(100% - 36px), transparent);
}
/* Marquee de rolagem infinita: 2 grupos idênticos deslizando -50% em loop */
.milhas-ticker__marquee {
	display: flex;
	flex-shrink: 0;
	animation: fm-ticker 32s linear infinite;
}
.milhas-ticker__group {
	display: flex;
	gap: 28px;
	padding-right: 28px;
	flex-shrink: 0;
}
.milhas-ticker:hover .milhas-ticker__marquee { animation-play-state: paused; }
.milhas-ticker__item { white-space: nowrap; display: inline-flex; gap: 6px; align-items: baseline; }
.milhas-ticker__item strong { font-weight: 700; }
.milhas-ticker__item em { font-style: normal; opacity: .85; }

@keyframes fm-ticker {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

/* =========================================================
   BANNERS
   ========================================================= */
.fm-banners {
	position: relative;
	margin: 0 0 36px;
	overflow: hidden;
	padding: 14px 0 18px;
}
.fm-banners__track {
	display: flex;
	align-items: center;
	will-change: transform;
}
/* Banner menor: dimensionado pela ALTURA (mantém a mesma proporção, sem cortar).
   A largura é derivada do aspect-ratio; sobra espaço dos lados para a prévia. */
.fm-banner {
	position: relative;
	flex: 0 0 auto;
	width: auto;
	height: clamp(170px, 21vw, 285px);
	margin: 0 12px;
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 1240 / 420;
	background: var(--fm-bg-alt);
	opacity: .4;
	transform: scale(.9);
	transition: opacity .5s ease, transform .5s ease;
	box-shadow: 0 12px 32px rgba(10, 37, 64, .14);
	cursor: pointer;
}
.fm-banner.is-active {
	opacity: 1;
	transform: scale(1);
	cursor: default;
}
.fm-banner__link { display: block; width: 100%; height: 100%; }
.fm-banner img { width: 100%; height: 100%; object-fit: cover; }
.fm-banner__caption {
	position: absolute;
	left: 0; bottom: 0;
	width: 100%;
	padding: 60px 8% 28px;
	background: linear-gradient(to top, rgba(6,25,43,.85), transparent);
	color: #fff;
}
.fm-banner__caption h2 { font-size: clamp(1.4rem, 3vw, 2.4rem); margin: 0 0 .2em; }
.fm-banner__caption p { margin: 0; font-size: 1.05rem; opacity: .9; }

.fm-banners__nav {
	position: absolute;
	top: 50%; transform: translateY(-50%);
	background: rgba(0,0,0,.4);
	color: #fff; border: none;
	width: 46px; height: 46px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 1.1rem;
	transition: background .2s ease;
}
.fm-banners__nav:hover { background: rgba(0,0,0,.7); }
.fm-banners__nav--prev { left: 16px; }
.fm-banners__nav--next { right: 16px; }

.fm-banners__dots {
	position: absolute;
	bottom: 14px; left: 50%; transform: translateX(-50%);
	display: flex; gap: 8px;
}
.fm-banners__dot {
	width: 10px; height: 10px;
	border-radius: 50%;
	border: none;
	background: rgba(255,255,255,.5);
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}
.fm-banners__dot.is-active { background: #fff; transform: scale(1.25); }

/* =========================================================
   ESTRUTURA GERAL
   ========================================================= */
.fm-main { padding-bottom: 40px; }
.fm-section { margin-bottom: 44px; }

.fm-section__title {
	font-size: 1.5rem;
	margin-bottom: 20px;
	position: relative;
}
.fm-section__title--bar { display: inline-block; }
.fm-section__title--bar::after {
	content: '';
	display: block;
	width: 60px; height: 4px;
	background: var(--fm-accent);
	margin-top: 8px;
	border-radius: 2px;
}

/* Cards */
.fm-card { background: var(--fm-bg); }
.fm-card__media {
	display: block;
	position: relative;
	border-radius: var(--fm-radius);
	overflow: hidden;
	background: var(--fm-bg-alt);
	aspect-ratio: 16/10;
}
.fm-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.fm-card:hover .fm-card__media img { transform: scale(1.06); }
.fm-card__noimg { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #dfe6ee, #c4cfdd); }
.fm-card__cat {
	position: absolute; top: 10px; left: 10px;
	background: var(--fm-accent);
	color: #fff;
	font-size: .68rem; font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	padding: 4px 10px;
	border-radius: 4px;
}
.fm-card__body { padding: 12px 2px; }
.fm-card__title { font-size: 1.05rem; line-height: 1.3; margin: 0 0 6px; }
.fm-card__title a:hover { color: var(--fm-accent); }
.fm-card__excerpt { color: var(--fm-muted); font-size: .9rem; margin: 0 0 8px; }
.fm-card__date { font-size: .76rem; color: var(--fm-muted); }

/* Lista compacta */
.fm-list-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--fm-border); }
.fm-list-item__thumb { flex-shrink: 0; width: 92px; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; background: var(--fm-bg-alt); }
.fm-list-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.fm-list-item__title { font-size: .92rem; margin: 0; font-family: 'Sora', sans-serif; font-weight: 600; line-height: 1.3; }
.fm-list-item__title a:hover { color: var(--fm-accent); }

/* =========================================================
   ANÚNCIOS
   ========================================================= */
.fm-ad { position: relative; border-radius: var(--fm-radius); overflow: hidden; }
.fm-ad img { width: 100%; display: block; }
.fm-ad__tag {
	position: absolute; top: 6px; right: 6px;
	font-size: .6rem; text-transform: uppercase; letter-spacing: .5px;
	color: #fff; background: rgba(0,0,0,.45);
	padding: 2px 7px; border-radius: 3px;
}
.fm-ad--box { margin-bottom: 20px; }
.fm-ad--wide img { width: 100%; }
.fm-ad--placeholder {
	background: repeating-linear-gradient(45deg, #eef1f5, #eef1f5 12px, #e4e9ef 12px, #e4e9ef 24px);
	border: 2px dashed #c3ccd6;
	min-height: 120px;
	display: grid; place-items: center;
	color: #8a96a3; font-size: .85rem; font-weight: 600;
	text-align: center; padding: 16px;
}
.fm-ad--wide.fm-ad--placeholder { min-height: 90px; }
/* Visibilidade por dispositivo (escolhida em cada anúncio no Personalizar) */
@media (max-width: 768px) {
	.fm-ad--only-desktop { display: none !important; }
}
@media (min-width: 769px) {
	.fm-ad--only-mobile { display: none !important; }
}

/* =========================================================
   SEÇÃO: ÚLTIMAS POSTAGENS
   ========================================================= */
.fm-latest__grid { display: grid; grid-template-columns: 1fr 320px; gap: 32px; }
.fm-latest__featured { display: grid; gap: 24px; }
/* Primeira postagem: card horizontal (imagem menor à esquerda, texto ao lado) */
.fm-latest__hero .fm-card {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 24px;
	align-items: center;
}
.fm-latest__hero .fm-card__media { aspect-ratio: 16 / 10; }
.fm-latest__hero .fm-card__body { padding: 0; }
.fm-latest__hero .fm-card__title { font-size: 1.55rem; line-height: 1.25; }
.fm-latest__hero .fm-card__excerpt { font-size: 1rem; }
.fm-latest__hero-side { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fm-latest__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fm-latest__row .fm-card__title { font-size: .95rem; }
.fm-latest__aside { align-self: start; }

/* =========================================================
   SEÇÃO: PROPAGANDA
   ========================================================= */
.fm-promos__row { margin-bottom: 20px; }
.fm-promos__row--single .fm-ad { width: 100%; }
.fm-promos__row--triple { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* =========================================================
   SEÇÃO: 3 COLUNAS
   ========================================================= */
.fm-columns__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.fm-column { border-top: 3px solid var(--fm-col-accent, var(--fm-accent)); padding-top: 16px; }
.fm-column__title { font-size: 1.35rem; margin-bottom: 14px; }
.fm-column__title span { color: var(--fm-col-accent, var(--fm-accent)); }
.fm-column__title a:hover { color: var(--fm-col-accent, var(--fm-accent)); }
.fm-column__lead { display: block; margin-bottom: 14px; }
.fm-column__lead img { border-radius: 8px; aspect-ratio: 16/9; object-fit: cover; width: 100%; margin-bottom: 10px; }
.fm-column__lead-title { font-weight: 700; font-size: 1.05rem; font-family: 'Sora', sans-serif; }
.fm-column__lead:hover .fm-column__lead-title { color: var(--fm-col-accent, var(--fm-accent)); }
.fm-column__list { list-style: none; margin: 0 0 14px; padding: 0; }
.fm-column__more { font-weight: 600; color: var(--fm-col-accent, var(--fm-accent)); font-size: .9rem; }
.fm-column__empty { color: var(--fm-muted); font-size: .9rem; }

/* =========================================================
   SEÇÃO FINAL POR CATEGORIA
   ========================================================= */
.fm-feature__grid { display: grid; grid-template-columns: 1fr 300px; gap: 32px; }
.fm-feature__posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fm-feature__aside { align-self: start; }

/* =========================================================
   ARQUIVOS / SINGLE
   ========================================================= */
.fm-archive__wrap { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding-top: 24px; }
.fm-archive__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.fm-archive__header { margin-bottom: 24px; }
.fm-archive__sidebar { align-self: start; }
/* Evita conteúdo "vazando" para fora da tela (scroll horizontal) em posts/páginas.
   min-width:0 deixa as colunas do grid encolherem; o resto contém mídia/código/tabelas largas. */
.fm-archive__main, .fm-archive__sidebar { min-width: 0; }
.fm-single__title, .fm-single__content { overflow-wrap: break-word; word-wrap: break-word; }
.fm-single__content img,
.fm-single__content iframe,
.fm-single__content video,
.fm-single__content embed,
.fm-single__content object { max-width: 100%; height: auto; }
.fm-single__content pre { max-width: 100%; overflow-x: auto; white-space: pre-wrap; }
.fm-single__content table { display: block; max-width: 100%; overflow-x: auto; }

.fm-single__article { padding-top: 10px; }
.fm-single__cat { display: inline-block; background: var(--fm-accent); color: #fff; padding: 4px 12px; border-radius: 4px; font-size: .75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 14px; }
.fm-single__title { font-size: clamp(1.6rem, 4vw, 2.6rem); }
.fm-single__meta { color: var(--fm-muted); font-size: .85rem; display: flex; gap: 16px; margin-bottom: 20px; }
.fm-single__thumb { margin: 0 0 24px; border-radius: var(--fm-radius); overflow: hidden; }
.fm-single__content { font-size: 1.06rem; line-height: 1.75; }
.fm-single__content p { margin: 0 0 1.2em; }
.fm-single__content img { border-radius: 8px; margin: 1em 0; }
.fm-single__tags { margin-top: 24px; }
.fm-single__tags a { display: inline-block; background: var(--fm-bg-alt); padding: 4px 12px; border-radius: 999px; font-size: .82rem; margin: 0 6px 6px 0; }

/* Widgets */
.widget { margin-bottom: 30px; }
.widget-title { font-size: 1.1rem; border-left: 4px solid var(--fm-accent); padding-left: 10px; margin-bottom: 14px; }
.fm-sidebar-recent { list-style: none; margin: 0; padding: 0; }

/* Paginação */
.pagination, .nav-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.pagination .page-numbers, .nav-links .page-numbers {
	display: inline-grid; place-items: center;
	min-width: 40px; height: 40px; padding: 0 10px;
	border: 1px solid var(--fm-border); border-radius: 8px;
	font-weight: 600;
}
.pagination .current { background: var(--fm-accent); color: #fff; border-color: var(--fm-accent); }

/* Busca */
.fm-search-form { display: flex; gap: 8px; max-width: 560px; }
.fm-search-form__input { flex: 1; padding: 12px 16px; border: 1px solid var(--fm-border); border-radius: 999px; font-size: 1rem; }
.fm-search-form__submit { background: var(--fm-accent); border: none; color: #fff; width: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }

/* 404 */
.fm-404 { padding: 80px 0; text-align: center; }
.fm-404__box { max-width: 560px; margin: 0 auto; }
.fm-404__box h1 { font-size: 6rem; color: var(--fm-accent); margin: 0; }
.fm-404 .fm-search-form { margin: 24px auto; }

/* Comentários */
.fm-comments { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--fm-border); }
.comment-list { list-style: none; padding: 0; }

/* Aviso de seção vazia (visível só para administradores) */
.fm-empty-notice {
	background: #fff8e1;
	border: 1px solid #f5d98a;
	color: #7a5b00;
	padding: 16px 18px;
	border-radius: var(--fm-radius);
	font-size: .92rem;
}

/* =========================================================
   SOBRE A FLIPMILHAS
   ========================================================= */
.fm-about { padding: 60px 0; margin-top: 8px; }
.fm-about__inner { display: block; }
.fm-about--with-image .fm-about__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
}
.fm-about__media img { width: 100%; border-radius: var(--fm-radius); box-shadow: var(--fm-shadow); display: block; }
.fm-about__eyebrow {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: .75rem;
	font-weight: 700;
	color: var(--fm-accent);
	margin-bottom: 10px;
}
.fm-about__title { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 14px; }
.fm-about__text { color: var(--fm-muted); font-size: 1.05rem; line-height: 1.75; max-width: 760px; }
.fm-about--with-image .fm-about__text { max-width: none; }
.fm-about__text p { margin: 0 0 1em; }
.fm-about__text a { color: var(--fm-accent); font-weight: 600; }
.fm-about__btn { margin-top: 22px; }

/* =========================================================
   RODAPÉ
   ========================================================= */
.site-footer { color: #cfe0ee; margin-top: 40px; }
.site-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 36px;
	padding: 50px 20px 40px;
}
.footer-col__title { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer-logo { max-height: 50px; margin-bottom: 16px; }
.footer-logo-text { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.5rem; color: #fff; display: block; margin-bottom: 14px; }
.footer-logo-text span { color: var(--fm-accent); }
.footer-brand-text { font-size: .95rem; line-height: 1.6; opacity: .85; max-width: 280px; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 10px; }
.footer-menu a { font-size: .92rem; opacity: .85; transition: opacity .2s ease, color .2s ease; }
.footer-menu a:hover { opacity: 1; color: var(--fm-accent); }

.footer-social { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.footer-social a {
	width: 40px; height: 40px;
	display: grid; place-items: center;
	background: rgba(255,255,255,.1);
	border-radius: 50%;
	color: #fff;
	transition: background .2s ease, transform .2s ease;
}
.footer-social a:hover { background: var(--fm-accent); transform: translateY(-3px); }
.footer-app-btn {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--fm-accent); color: #fff;
	padding: 11px 20px; border-radius: 999px;
	font-weight: 600; font-size: .9rem;
	transition: transform .15s ease;
}
.footer-app-btn:hover { transform: translateY(-2px); }

.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; }
.site-footer__bottom .fm-container { display: flex; flex-direction: column; gap: 4px; }
.footer-copyright { margin: 0; font-size: .85rem; font-weight: 600; color: #fff; }
.footer-address { margin: 0; font-size: .8rem; opacity: .7; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1024px) {
	.fm-latest__grid { grid-template-columns: 1fr; }
	.fm-latest__aside { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
	.fm-feature__grid { grid-template-columns: 1fr; }
	.fm-feature__posts { grid-template-columns: repeat(2, 1fr); }
	.fm-columns__grid { grid-template-columns: 1fr; gap: 28px; }
	.fm-archive__wrap { grid-template-columns: 1fr; }
	.fm-archive__grid { grid-template-columns: repeat(2, 1fr); }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
	.menu-toggle {
		display: inline-flex; flex-direction: column; gap: 5px;
		background: none; border: none; cursor: pointer; padding: 8px;
		margin-left: 0;
	}
	.menu-toggle__bar { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
	.main-navigation { position: static; }
	.main-navigation ul#primary-menu {
		display: none;
		position: absolute;
		top: 100%; left: 0; right: 0;
		background: var(--fm-header-bg, #0a2540);
		flex-direction: column;
		gap: 0;
		padding: 10px 20px 20px;
		box-shadow: var(--fm-shadow);
	}
	.main-navigation.is-open ul#primary-menu { display: flex; }
	.main-navigation ul#primary-menu > li { width: 100%; border-bottom: 1px solid rgba(255,255,255,.1); }
	.main-navigation ul#primary-menu > li a { display: block; padding: 12px 0; }
	.main-navigation ul ul { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(0,0,0,.2); }

	/* Ordem no mobile: busca (esquerda) · logo (centro) · menu hambúrguer (direita) */
	.site-header__inner { flex-wrap: nowrap; justify-content: space-between; gap: 8px; }
	.site-header__actions { order: -1; }
	.site-branding { order: 1; flex: 1 1 auto; display: flex; justify-content: center; }
	.main-navigation { order: 3; flex: 0 0 auto; }
	.fm-latest__hero-side, .fm-latest__row { grid-template-columns: 1fr 1fr; }
	.fm-latest__hero .fm-card { grid-template-columns: 1fr; gap: 14px; }
	.fm-latest__hero .fm-card__title { font-size: 1.3rem; }
	.fm-promos__row--triple { grid-template-columns: 1fr; }
	.fm-feature__posts { grid-template-columns: 1fr; }
	.fm-archive__grid { grid-template-columns: 1fr; }
	.fm-latest__aside { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 28px; text-align: left; }
	/* Banner mobile: menor, mas mantendo a MESMA proporção do desktop (1240/420) */
	.fm-banner { flex: 0 0 88%; width: auto; height: auto; margin: 0 5px; aspect-ratio: 1240 / 420; }
	.fm-banner__caption { padding: 24px 16px 12px; }
	.fm-banner__caption h2 { font-size: 1.1rem; }
	.fm-banner__caption p { font-size: .85rem; }
	.fm-about--with-image .fm-about__inner { grid-template-columns: 1fr; gap: 28px; }
}
