/* =========================================================
   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; background-color: #ffffff; }

/* Fundo branco forçado na página inteira */
html, body { background-color: #ffffff !important; }

body {
	margin: 0;
	font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: var(--fm-text);
	background-color: #ffffff;
	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); }
/* Visibilidade por dispositivo das mini barras */
@media (max-width: 768px) { .fm-minibar--only-desktop { display: none !important; } }
@media (min-width: 769px) { .fm-minibar--only-mobile { display: none !important; } }
/* 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%;
}
/* O header e a barra de promoção grudam juntos e ficam fixos ao rolar. */
.fm-header-stack.is-sticky { position: sticky; top: 0; z-index: 1000; }
.site-header.is-sticky { position: sticky; top: 0; } /* compat. legado */
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; display: flex; align-items: center; gap: 10px; }

/* Botões do cabeçalho (cores vêm de variáveis inline definidas no PHP) */
.fm-header-btn {
	display: inline-flex;
	align-items: center;        /* texto centralizado na vertical */
	justify-content: center;    /* texto centralizado na horizontal */
	background-color: var(--btn-bg, #ffffff);
	color: var(--btn-color, #0a2540);
	height: var(--btn-h, 40px);
	width: var(--btn-w, auto);
	padding: 0 16px;
	border-radius: 999px;
	font-weight: 600;
	font-size: .88rem;
	line-height: 1;
	white-space: nowrap;
	transition: background-color .2s ease, color .2s ease, transform .15s ease;
}
.fm-header-btn:hover {
	background-color: var(--btn-hover-bg, #0a2540);
	color: var(--btn-hover-color, #ffffff);
	transform: translateY(-1px);
}
/* Botão "FAQ" (contorno, com ícone de interrogação) */
.fm-header-btn--faq {
	gap: 7px;
	background: transparent;
	color: #ffffff;
	border: 1px solid rgba(255,255,255,.55);
}
.fm-header-btn--faq:hover { background: rgba(255,255,255,.14); color: #ffffff; }
.fm-header-btn--faq svg { flex-shrink: 0; }

/* Botões dentro do dropdown no mobile (empilhados, um embaixo do outro) */
.fm-header-btns-mobile {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	padding: 16px 0 6px !important;
	border-bottom: none !important;
}
/* Seletor com #primary-menu para vencer a regra do link do menu mobile
   (que deixava display:block e o texto à esquerda) e centralizar o texto. */
.main-navigation #primary-menu .fm-header-btns-mobile .fm-header-btn,
.main-navigation #primary-menu .fm-header-btns-mobile .fm-header-btn:hover,
.main-navigation #primary-menu .fm-header-btns-mobile .fm-header-btn:focus,
.main-navigation #primary-menu .fm-header-btns-mobile .fm-header-btn:active {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 0 16px;
	text-align: center;
	/* Mantém as cores escolhidas no toque/clique (o hover do menu não sobrepõe) */
	background-color: var(--btn-bg, #ffffff);
	color: var(--btn-color, #0a2540);
	transform: none;
}
/* Remove o sublinhado da animação do menu nos botões */
.main-navigation #primary-menu .fm-header-btns-mobile .fm-header-btn::after { display: none !important; }

/* Utilitário de visibilidade por dispositivo (reutilizável) */
@media (max-width: 768px) { .fm-only-desktop { display: none !important; } }
@media (min-width: 769px) { .fm-only-mobile { display: none !important; } }
.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; }

/* =========================================================
   BARRA DE PROMOÇÃO (countdown)
   ========================================================= */
.fm-promo-bar {
	background-color: var(--promo-bg, #f5c518);
	color: var(--promo-color, #0a2540);
	font-weight: 700;
}
.fm-promo-bar__viewport {
	display: flex;
	justify-content: center;    /* centraliza no desktop */
	align-items: center;
	min-height: 44px;
	overflow: hidden;           /* contém o marquee no mobile */
	letter-spacing: .3px;
	line-height: 1.2;
	/* Tamanho editável; texto exibido como digitado (sem forçar maiúsculas) */
	font-size: var(--promo-font-size, 14px);
}
.fm-promo-bar__track { display: flex; align-items: center; }
.fm-promo-bar__group {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	padding: 8px 0;
}
.fm-promo-bar__text { display: inline-flex; align-items: center; white-space: nowrap; }
.fm-promo-bar__coupon {
	position: relative;
	display: inline-flex;
	align-items: center;
	line-height: 1;             /* texto 100% centralizado dentro do retângulo */
	background-color: var(--promo-coupon-bg, #0a2540);
	color: var(--promo-coupon-color, #ffffff);
	border: 2px dashed var(--promo-coupon-border, #ffffff);
	padding: 5px 12px;
	border-radius: 6px;
	font-weight: 800;
	font-family: inherit;
	font-size: inherit;
	cursor: pointer;
	transition: transform .12s ease;
}
.fm-promo-bar__coupon:hover { transform: scale(1.04); }
.fm-promo-bar__coupon.is-copied::after {
	content: 'Copiado!';
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%);
	background: #0a2540;
	color: #fff;
	font-size: .68rem;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 4px;
	white-space: nowrap;
	text-transform: none;
	letter-spacing: 0;
}
.fm-promo-timer {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	background-color: var(--promo-timer-bg, #0a2540);
	color: var(--promo-timer-color, #ffffff);
	padding: 5px 10px;
	border-radius: 6px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
	min-width: 62px;
}
/* No mobile o conteúdo rola infinitamente (marquee) para ler tudo */
@media (max-width: 768px) {
	.fm-promo-bar__viewport { justify-content: flex-start; }
	.fm-promo-bar.is-marquee .fm-promo-bar__track { width: max-content; animation: fm-promo-scroll 18s linear infinite; }
	.fm-promo-bar.is-marquee .fm-promo-bar__group { padding-right: 44px; }
}
@keyframes fm-promo-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

/* =========================================================
   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;
	transition: transform .55s ease;
}
/* Desativa a transição apenas no instante do "salto" do loop infinito */
.fm-banners__track.fm-no-anim { transition: none; }
/* 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; }
/* Sem banners: dá um respiro entre o cabeçalho e as primeiras notícias */
.fm-main--no-banner { padding-top: 36px; }
.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--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; }

/* Duas colunas de postagens (uma única categoria) — reaproveita .fm-column */
.fm-postcols__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.fm-postcols__more { display: inline-block; margin-top: 18px; }

/* =========================================================
   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: 44px; }
.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__title { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 18px; }

/* Resumo do post (com barra lateral, como no exemplo) */
.fm-single__excerpt {
	font-size: 1.15rem;
	line-height: 1.6;
	color: var(--fm-muted);
	border-left: 4px solid var(--fm-accent);
	padding-left: 18px;
	margin: 0 0 24px;
}

/* Meta: avatar + autor + data + tempo de leitura */
.fm-single__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.fm-single__avatar img { width: 44px; height: 44px; border-radius: 50%; display: block; }
.fm-single__meta-text { display: flex; flex-direction: column; line-height: 1.3; }
.fm-single__author { font-size: .95rem; }
.fm-single__sub { font-size: .82rem; color: var(--fm-muted); }
.fm-single__dot { margin: 0 4px; }

/* Botões de compartilhamento */
.fm-share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.fm-share__label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--fm-muted); }
.fm-share__btn {
	width: 38px; height: 38px;
	display: grid; place-items: center;
	border-radius: 50%;
	color: #fff;
	transition: transform .15s ease, opacity .2s ease;
}
.fm-share__btn:hover { transform: translateY(-2px); opacity: .92; }
.fm-share__btn svg { width: 18px; height: 18px; }
.fm-share__btn--whatsapp { background: #25d366; }
.fm-share__btn--facebook { background: #1877f2; }
.fm-share__btn--twitter  { background: #111111; }
.fm-share__btn--telegram { background: #29a9eb; }
.fm-share__btn--linkedin { background: #0a66c2; }
.fm-share__btn--email    { background: #6b7785; }

.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; }
/* Links dentro do texto da postagem */
.fm-single__content a {
	color: #0c2746;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
}
.fm-single__content a:hover { text-decoration-thickness: 2.5px; }
/* Índice (Table of Contents) */
.fm-toc {
	display: inline-block;       /* fechado = botão compacto; aberto = cresce p/ o índice */
	max-width: 100%;
	vertical-align: top;
	background: #fff;
	border: 1px solid var(--fm-border);
	border-radius: var(--fm-radius);
	box-shadow: var(--fm-shadow);
	margin: 0 0 28px;
	overflow: hidden;
}
.fm-toc__toggle {
	display: flex; align-items: center; gap: 8px;
	width: 100%;
	background: none; border: none; cursor: pointer;
	padding: 10px 16px;
	font-family: 'Sora', sans-serif;
	font-weight: 700; font-size: .92rem;
	color: var(--fm-text);
	text-align: left;
	white-space: nowrap;
}
.fm-toc__icon { color: var(--fm-text); flex-shrink: 0; }
.fm-toc__list {
	list-style: none; margin: 0;
	padding: 6px 16px 12px;
	border-top: 1px solid var(--fm-border);
}
.fm-toc.is-collapsed .fm-toc__list { display: none; }
.fm-toc__item { margin: 0; }
.fm-toc__item a {
	display: block; padding: 8px 0;
	color: var(--fm-text);
	font-size: 1rem; line-height: 1.3;
	transition: color .2s ease;
}
.fm-toc__item--h3 a { padding-left: 22px; color: var(--fm-muted); font-size: .95rem; }
.fm-toc__item a:hover,
.fm-toc__item a.is-active { color: var(--fm-accent); }

/* ===== Vídeos e embeds responsivos (YouTube/Vimeo) no conteúdo ===== */
.fm-single__content .wp-block-embed { margin: 1.6em 0; }
.fm-single__content .wp-block-embed figcaption { font-size: .85rem; color: var(--fm-muted); text-align: center; margin-top: 8px; }
/* Bloco de embed do Gutenberg — neutraliza o "hack" de padding do core e força
   uma proporção limpa (evita altura dupla = bordas pretas e corte). */
.fm-single__content .wp-block-embed__wrapper { width: 100%; position: relative; }
.fm-single__content .wp-block-embed.is-type-video .wp-block-embed__wrapper,
.fm-single__content .wp-embed-aspect-16-9 .wp-block-embed__wrapper { aspect-ratio: 16 / 9 !important; height: auto !important; padding: 0 !important; }
.fm-single__content .wp-embed-aspect-4-3 .wp-block-embed__wrapper { aspect-ratio: 4 / 3 !important; height: auto !important; padding: 0 !important; }
.fm-single__content .wp-embed-aspect-1-1 .wp-block-embed__wrapper { aspect-ratio: 1 / 1 !important; height: auto !important; padding: 0 !important; }
.fm-single__content .wp-block-embed__wrapper::before { display: none !important; content: none !important; padding-top: 0 !important; }
.fm-single__content .wp-block-embed__wrapper iframe { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; border: 0; display: block; }
/* iframes diretos (HTML personalizado) — força 16:9 responsivo sem cortar o vídeo */
.fm-single__content iframe { max-width: 100%; border: 0; }
.fm-single__content iframe[src*="youtube.com"],
.fm-single__content iframe[src*="youtube-nocookie.com"],
.fm-single__content iframe[src*="youtu.be"],
.fm-single__content iframe[src*="vimeo.com"] {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	margin: 1.6em auto;
}

/* Imagem de capa inserida no meio do conteúdo */
.fm-single__cover { margin: 8px 0 26px; border-radius: var(--fm-radius); overflow: hidden; }
.fm-single__cover img { width: 100%; display: block; }

/* Rodapé do post */
.fm-single__footer { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--fm-border); }
.fm-single__footer .fm-ad { margin: 24px 0; }
.fm-single__cats, .fm-single__tags { margin: 18px 0; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.fm-single__cats-label, .fm-single__tags-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--fm-muted); margin-right: 2px; }
.fm-single__cat-badge { display: inline-block; background: var(--fm-accent); color: #fff; padding: 5px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.fm-single__cat-badge:hover { opacity: .9; }
.fm-single__tags a { display: inline-block; background: var(--fm-bg-alt); color: var(--fm-text); padding: 5px 14px; border-radius: 999px; font-size: .82rem; }
.fm-single__tags a:hover { background: var(--fm-border); }

/* Caixa do autor */
.fm-author-box { display: flex; gap: 18px; align-items: flex-start; background: var(--fm-bg-alt); border-radius: var(--fm-radius); padding: 22px; margin-top: 28px; }
.fm-author-box__avatar img { width: 72px; height: 72px; border-radius: 50%; display: block; }
.fm-author-box__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; color: var(--fm-muted); font-weight: 700; }
.fm-author-box__name { font-size: 1.2rem; margin: 2px 0 8px; }
.fm-author-box__bio { margin: 0; color: var(--fm-muted); font-size: .95rem; line-height: 1.6; }

/* Avatares: sempre circulares, sem distorção (corrige o "esticado" da foto do autor).
   object-fit: cover recorta; max-width: none evita o encolhimento do img { max-width:100% } global. */
.fm-single__avatar,
.fm-author-box__avatar,
.fm-comment__avatar,
.fm-comment-form__avatar { flex-shrink: 0; }
.fm-single__avatar img,
.fm-author-box__avatar img,
.fm-comment__avatar img,
.fm-comment-form__avatar img { object-fit: cover; max-width: none; }

/* Anúncios da barra lateral (acima de "Mais recentes") */
.fm-sidebar-ads { margin-bottom: 28px; }

/* Final das páginas: anúncio + "Outras pessoas estão lendo" */
.fm-endpage { margin-top: 16px; }
.fm-endpage .fm-ad { margin-bottom: 28px; }
.fm-also {
	background: var(--fm-bg-alt);
	border-radius: var(--fm-radius);
	padding: 26px;
}
.fm-also__title { font-size: 1.3rem; margin: 0 0 18px; }
.fm-also__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fm-also__card {
	position: relative;
	display: block;
	border-radius: var(--fm-radius);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--fm-bg-alt);
}
.fm-also__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.fm-also__card:hover img { transform: scale(1.06); }
.fm-also__card .fm-card__noimg { position: absolute; inset: 0; }
.fm-also__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,25,43,.9) 8%, rgba(6,25,43,.1) 60%, transparent); }
.fm-also__title-text {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	padding: 14px;
	color: #fff;
	font-family: 'Sora', sans-serif;
	font-weight: 700;
	font-size: .98rem;
	line-height: 1.25;
	text-align: center;
}
@media (max-width: 768px) {
	.fm-also__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.fm-also { padding: 18px; }
}

/* 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 (estilo moderno)
   ========================================================= */
.fm-comments { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--fm-border); }
.fm-comments__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.fm-comments__title { font-size: 1.4rem; margin: 0; }

/* Formulário */
.fm-comment-form { margin-bottom: 32px; position: relative; }
.fm-comment-form .comment-form-comment,
.fm-comment-form p.comment-form-comment { margin: 0; }
.fm-comment-form__inner { display: flex; align-items: flex-start; gap: 14px; }
.fm-comment-form__avatar img { width: 44px; height: 44px; border-radius: 50%; display: block; }
.fm-comment-form__field { flex: 1; position: relative; }
.fm-comment-form__field textarea {
	width: 100%;
	min-height: 96px;
	border: 1px solid var(--fm-border);
	background: var(--fm-bg-alt);
	border-radius: 16px;
	padding: 16px 60px 16px 18px;
	font: inherit;
	font-size: .98rem;
	resize: vertical;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.fm-comment-form__field textarea:focus { outline: none; border-color: var(--fm-accent); box-shadow: 0 0 0 3px rgba(254,80,37,.12); background: #fff; }
.fm-comment-form .form-submit { position: absolute; right: 14px; bottom: 14px; margin: 0; }
.fm-comment-send {
	width: 44px; height: 44px;
	border: none; cursor: pointer;
	border-radius: 50%;
	background: var(--fm-accent);
	color: #fff;
	display: grid; place-items: center;
	transition: transform .15s ease, opacity .2s ease;
}
.fm-comment-send:hover { transform: scale(1.06); }
/* Campos extras (nome/e-mail para visitantes não logados) */
.fm-comment-form .comment-form-author,
.fm-comment-form .comment-form-email,
.fm-comment-form .comment-form-url { margin: 12px 0 0; }
.fm-comment-form .comment-form-author input,
.fm-comment-form .comment-form-email input,
.fm-comment-form .comment-form-url input { width: 100%; max-width: 340px; padding: 10px 14px; border: 1px solid var(--fm-border); border-radius: 10px; font: inherit; }

/* Lista de comentários */
.fm-comment-list { list-style: none; margin: 0; padding: 0; }
.fm-comment-list .children { list-style: none; margin: 8px 0 0; padding: 0 0 0 56px; }
.fm-comment { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--fm-border); }
.fm-comment__avatar img { width: 44px; height: 44px; border-radius: 50%; display: block; }
.fm-comment__body { flex: 1; min-width: 0; }
.fm-comment__head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.fm-comment__author { font-weight: 700; }
.fm-comment__date { font-size: .8rem; color: var(--fm-muted); }
.fm-comment__text { color: var(--fm-text); line-height: 1.6; }
.fm-comment__text p { margin: 0 0 .6em; }
.fm-comment__moderation { font-size: .82rem; color: var(--fm-accent); font-style: italic; }
.fm-comment__actions { margin-top: 8px; }
.fm-comment__actions a {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: .85rem; font-weight: 700; color: var(--fm-accent);
}
.fm-comment__actions a:hover { text-decoration: underline; }
.fm-comments__closed { color: var(--fm-muted); }
@media (max-width: 768px) {
	.fm-comment-list .children { padding-left: 28px; }
}

/* =========================================================
   FAIXA DE PROGRESSO DE LEITURA (na postagem)
   ========================================================= */
.fm-reading-progress { height: 4px; width: 100%; background: rgba(255,255,255,.18); }
.fm-reading-progress__bar { display: block; height: 100%; width: 0; background: var(--fm-accent); transition: width .1s linear; }

/* =========================================================
   PERGUNTAS FREQUENTES (FAQ)
   ========================================================= */
.fm-faq { margin: 56px 0; scroll-margin-top: 100px; }
.fm-faq__heading { margin-bottom: 20px; }
.fm-faq__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.fm-faq__item {
	background: var(--faq-bg, #ffffff);
	border: 1px solid var(--fm-border);
	border-radius: 12px;
	transition: background-color .2s ease, border-color .2s ease;
}
.fm-faq__q {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	width: 100%;
	background: none; border: none; cursor: pointer;
	padding: 18px 22px;
	font-family: 'Sora', sans-serif;
	font-weight: 700; font-size: 1rem;
	color: var(--faq-title, #16202b);
	text-align: left;
	line-height: 1.35;
}
.fm-faq__chevron { flex-shrink: 0; color: var(--fm-muted); transition: transform .25s ease, color .2s ease; }
.fm-faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.fm-faq__a-inner { overflow: hidden; }
.fm-faq__a-text { padding: 0 22px 20px; color: var(--faq-text, #6b7785); line-height: 1.65; }
.fm-faq__a-text p { margin: 0 0 .8em; }
.fm-faq__a-text p:last-child { margin-bottom: 0; }
/* Aberto */
.fm-faq__item.is-open {
	background: var(--faq-open-bg, #fdecec);
	border-color: var(--faq-accent, #e5484d);
}
.fm-faq__item.is-open .fm-faq__q { color: var(--faq-accent, #e5484d); }
.fm-faq__item.is-open .fm-faq__chevron { transform: rotate(90deg); color: var(--faq-accent, #e5484d); }
.fm-faq__item.is-open .fm-faq__a { grid-template-rows: 1fr; }
@media (max-width: 768px) { .fm-faq__list { grid-template-columns: 1fr; } }

/* =========================================================
   CENTRAL DE AJUDA (abaixo do FAQ)
   ========================================================= */
.fm-help { margin: 56px 0; }
.fm-help__card {
	background: var(--help-bg, #16202b);
	border-radius: 20px;
	padding: 48px 40px;
	text-align: center;
	display: flex; flex-direction: column; align-items: center;
}
.fm-help__icon {
	width: 64px; height: 64px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,.1);
	color: var(--help-btn-bg, #fe5025);
	margin-bottom: 18px;
}
.fm-help__title {
	margin: 0 0 10px; font-size: 1.6rem; font-weight: 800;
	color: var(--help-title, #fff);
}
.fm-help__text {
	margin: 0 0 22px; max-width: 560px;
	color: var(--help-text, #c7d0da); font-size: 1.02rem; line-height: 1.6;
}
.fm-help__text p { margin: 0 0 8px; }
.fm-help__text p:last-child { margin-bottom: 0; }
.fm-help__btn {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--help-btn-bg, #fe5025); color: var(--help-btn-color, #fff);
	padding: 13px 30px; border-radius: 999px;
	font-weight: 700; font-size: .98rem;
	transition: transform .15s ease, opacity .15s ease;
}
.fm-help__btn:hover { transform: translateY(-2px); opacity: .93; }
@media (max-width: 768px) {
	.fm-help__card { padding: 36px 22px; }
	.fm-help__title { font-size: 1.35rem; }
}

/* =========================================================
   AVISO DE COOKIES (LGPD)
   ========================================================= */
.fm-cookie {
	position: fixed;
	left: 20px; bottom: 20px;
	z-index: 1100;
	width: 420px;
	max-width: calc(100% - 40px);
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .3s ease, transform .3s ease;
}
.fm-cookie.is-visible { opacity: 1; transform: none; }
.fm-cookie__box {
	background: var(--ck-bg, #0a2540);
	color: var(--ck-color, #cfe0ee);
	border-radius: 16px;
	padding: 22px;
	box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.fm-cookie__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.fm-cookie__icon {
	width: 40px; height: 40px;
	flex-shrink: 0;
	border-radius: 10px;
	background: var(--ck-icon-bg, #f5c518);
	display: grid; place-items: center;
	font-size: 1.2rem;
}
.fm-cookie__title { color: var(--ck-title, #fff); font-size: 1.15rem; margin: 0; }
.fm-cookie__text { font-size: .9rem; line-height: 1.55; margin: 0 0 16px; }
.fm-cookie__text a { color: var(--ck-link, #f5c518); font-weight: 700; text-decoration: underline; }
.fm-cookie__actions { display: flex; gap: 10px; }
.fm-cookie__btn {
	flex: 1;
	padding: 11px 16px;
	border-radius: 999px;
	font-weight: 700;
	font-size: .92rem;
	cursor: pointer;
	transition: background-color .2s ease, transform .15s ease, filter .2s ease;
}
.fm-cookie__btn--essential { background: var(--ck-ess-bg, transparent); color: var(--ck-ess-color, #cfe0ee); border: 1px solid var(--ck-ess-border, rgba(255,255,255,.4)); }
.fm-cookie__btn--essential:hover { filter: brightness(1.1); }
.fm-cookie__btn--all { background: var(--ck-accept-bg, #f5c518); color: var(--ck-accept-color, #0a2540); border: none; }
.fm-cookie__btn--all:hover { transform: translateY(-1px); filter: brightness(1.05); }
@media (max-width: 600px) {
	.fm-cookie { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; }
}

/* =========================================================
   BOTÃO "SUBIR PÁGINA"
   ========================================================= */
.fm-to-top {
	position: fixed;
	right: 22px; bottom: 22px;
	width: 48px; height: 48px;
	border: none; cursor: pointer;
	border-radius: 50%;
	background: var(--fm-accent);
	color: #fff;
	display: grid; place-items: center;
	box-shadow: 0 6px 20px rgba(10,37,64,.25);
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
	z-index: 900;
}
.fm-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.fm-to-top:hover { transform: translateY(-3px); }
@media (max-width: 768px) {
	.fm-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* 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); }

.footer-custom-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.footer-custom-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 11px 20px; border-radius: 999px;
	font-weight: 600; font-size: .9rem;
	transition: transform .15s ease, opacity .15s ease;
}
.footer-custom-btn:hover { transform: translateY(-2px); opacity: .92; }

.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-postcols__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; }
}
