/**
 * Páginas da cidade no desenho de Morro do Chapéu (07/10/2026): ajustes do Chapada Guia por cima de
 * mg-hub.css e mg-hub-cidade.css (que vêm do Morro Guia já na paleta verde). Só o que lá não existe:
 * o véu verde do herói, a faixa de atalhos como menu (item atual, número variável de itens, versão
 * solta), a lista de negócios do trio, os posts, a história com linha do tempo e o mapa dentro do bloco.
 *
 * @package GuiaWP
 * @since   2026-10-07
 */

/* Herói: o véu do Morro é azul-marinho; aqui, o verde da marca. */
.mg-hub-cidade .mg-cid-hero::after { background: linear-gradient(94deg, rgba(8, 40, 25, .95) 0%, rgba(8, 40, 25, .86) 38%, rgba(8, 40, 25, .55) 68%, rgba(8, 40, 25, .25) 100%); }
.mg-cid-hero > .rh-cred { position: absolute; top: auto; bottom: 96px; right: 20px; z-index: 2; }
.mg-cid-hero > .rh-cred .rh-cred__txt { top: auto; bottom: 32px; }

/* Atalhos como menu da cidade. */
@media (min-width: 1100px) {
	.mg-cid-atalhos--7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
	.mg-cid-atalhos--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.mg-cid-atalhos--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.mg-cid-atalho.is-atual { background: var(--mg-azul-suave, #e5f1e9); box-shadow: inset 0 -3px 0 var(--mg-azul, #0f5132); }
.mg-cid-atalho.is-atual .mg-cid-atalho__nome { color: var(--mg-azul, #0f5132); }
.mg-cid-atalhos-faixa--solta { margin-top: 0; padding-top: 24px; }
.mg-cid-atalho:focus-visible { outline: 3px solid var(--mg-laranja, #ff7a00); outline-offset: -3px; }

/* Anúncios em destaque sem anúncio. */
.hp-vazio { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.hp-vazio p { margin: 0; color: var(--mg-texto-2, #5a6660); }
.hp .hc-trilho { margin-top: 4px; }

/* O que fazer: atrativo sem foto. */
.mg-cid-lugar__foto.is-sem { display: flex; align-items: center; justify-content: center; background: #f1ece2; color: #b29c79; }
.mg-cid-lugar__foto.is-sem svg { width: 36px; height: 36px; }

/* Onde fica: só um painel. */
@media (min-width: 960px) { .mg-cid-onde--um { grid-template-columns: minmax(0, 1fr); } }
.mg-cid-painel h3 + .mg-cid-bairros + h3 { margin-top: 22px; }

/* Trio: os negócios de cada categoria. */
.hp-negocios { list-style: none; margin: 12px 0 4px; padding: 0; }
.hp-negocios li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--mg-borda, #eae5db); }
.hp-negocios li:last-child { border-bottom: 0; }
.hp-negocios a { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; text-decoration: none; color: var(--mg-texto, #3d4a43); }
.hp-negocios b { font-size: 15px; font-weight: 700; color: var(--mg-marinho, #0b3a25); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-negocios a:hover b { color: var(--mg-azul, #0f5132); text-decoration: underline; text-underline-offset: 3px; }
.hp-negocios span { font-size: 13px; color: var(--mg-texto-2, #5a6660); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hp-negocios em { flex: none; font-style: normal; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; background: var(--mg-laranja, #ff7a00); color: #2e2e2e; }

/* Mais sobre a cidade: posts. */
.hp-posts { list-style: none; margin: 4px 0 0; padding: 0; }
.hp-posts li + li { border-top: 1px solid var(--mg-borda, #eae5db); }
.hp-posts a { display: flex; gap: 12px; align-items: center; padding: 10px 0; text-decoration: none; }
.hp-posts__foto { flex: none; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: #ebe7de; }
.hp-posts__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-posts__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hp-posts b { font-size: 14.5px; line-height: 1.35; color: var(--mg-marinho, #0b3a25); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hp-posts a:hover b { color: var(--mg-azul, #0f5132); text-decoration: underline; }
.hp-posts small { font-size: 12.5px; color: var(--mg-texto-2, #5a6660); }

/* Mapa dentro do bloco. */
.hp-mapa { margin: 4px 0 12px; }
.hp-mapa .hc-btn .material-symbols-outlined { font-size: 20px; }

/* FAQ dentro do bloco. */
.hp-faq__h2 { margin-bottom: 14px; }
.hp-faq.mg-cid-faq { padding: 0; max-width: none; }

}
.hp-clima { margin: 6px 0 14px; font-size: 15px; line-height: 1.65; color: var(--mg-texto, #3d4a43); }

/* Guias no desenho das páginas de turismo do Morro. */
.mg-tur .rh-gsec { padding: 34px 0; }
@media (min-width: 1024px) { .mg-tur .rh-gsec { padding: 44px 0; } }
.mg-tur .rh-gsec__h { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; line-height: 1.15; letter-spacing: -.025em; color: var(--hub-marinho, #0b3a25); }
.mg-tur .rh-gsec__sub { font-size: 14.5px; color: var(--hub-texto-2, #5a6660); }
.mg-tur .rh-gsec--areia { background: var(--hub-fundo, #f8f6f1); }
@media (min-width: 1180px) {
	.mg-hub-exps.rh-exps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.mg-hub-exps.rh-exps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.mg-hub-exps.rh-exps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.mg-hub-exp__foto.is-sem { display: grid; place-items: center; background: linear-gradient(140deg, #22a06b 0%, #0b3a25 100%); color: rgba(255, 255, 255, .5); }
.mg-hub-exp__foto.is-sem svg { width: 44px; height: 44px; }
.mg-hub-atr__foto--cor svg { width: 54px; height: 54px; opacity: .45; }
.mg-hub-atr { position: relative; }
.mg-hub-atr .rh-cred { top: 10px; right: 10px; z-index: 3; }
.mg-hub-hero > .rh-cred { position: absolute; top: auto; bottom: 18px; right: 20px; z-index: 3; }
.mg-hub-hero > .rh-cred .rh-cred__txt { top: auto; bottom: 32px; }
.mg-hub-disco svg { width: 20px; height: 20px; }
.mg-hub-plan__ico svg { width: 20px; height: 20px; }

/* Artigos de "Para planejar sua viagem". */
.hp-artigos > li { display: flex; }
.hp-artigo { position: relative; display: flex; flex: 1; flex-direction: column; overflow: hidden; border: 1px solid var(--mg-borda, #eae5db); border-radius: 14px; background: #fff; transition: transform .2s, box-shadow .2s; }
.hp-artigo:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(11, 58, 37, .1); }
.hp-artigo__foto { aspect-ratio: 16 / 9; overflow: hidden; background: #e2ddd2; }
.hp-artigo__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-artigo__corpo { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 16px 16px; }
.hp-artigo h3 { margin: 0; font-size: 16px; font-weight: 800; line-height: 1.3; }
.hp-artigo h3 a { color: var(--hub-marinho, #0b3a25); text-decoration: none; }
.hp-artigo h3 a::after { content: ""; position: absolute; inset: 0; }
.hp-artigo:hover h3 a { color: var(--hub-azul, #0f5132); }
.hp-artigo p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--hub-texto-2, #5a6660); }
.hp-artigo__ir { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--hub-azul, #0f5132); }
.hp-artigo__ir svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.mg-cach-intro__texto p + p { margin-top: 12px; }
.rh-listapag .mg-cid-atalhos-faixa--solta { padding-top: 8px; padding-bottom: 8px; }

/* Lista de anúncios da cidade (lista-anuncios.php). */
.la-grade { margin-top: 4px; }
.la-grade > .hc-linha__convite { min-height: 100%; }
.la-vazio { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; padding: 22px 24px; border: 2px dashed #dccbb0; border-radius: 16px; background: #fffaf2; }
.la-vazio > div { flex: 1; min-width: 220px; }
.la-vazio b { display: block; font-size: 17px; font-weight: 800; color: var(--hub-marinho, #0b3a25); }
.la-vazio p { margin: 4px 0 0; color: var(--hub-texto-2, #5a6660); }
.la-vazio .hc-linha__ic { background: var(--areia, #f5ebdd); color: var(--verde, #0f5132); }
.la-viz { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.la-viz a { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 14px 16px; border: 1px solid var(--hub-borda, #eae5db); border-radius: 14px; background: #fff; text-decoration: none; color: var(--hub-marinho, #0b3a25); transition: border-color .2s, box-shadow .2s, transform .2s; }
.la-viz a:hover { border-color: #b9dcc8; box-shadow: 0 12px 26px rgba(11, 58, 37, .08); transform: translateY(-2px); }
.la-viz a:focus-visible { outline: 3px solid var(--laranja, #ff7a00); outline-offset: 2px; }
.la-viz__ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--mg-azul-suave, #e5f1e9); color: var(--verde, #0f5132); }
.la-viz__ic svg { width: 20px; height: 20px; }
.la-viz__txt { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.la-viz b { font-size: 16px; font-weight: 800; }
.la-viz small { font-size: 13px; color: var(--hub-texto-2, #5a6660); }
.la-viz a > svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rh-listapag--anuncios .rh-mais { padding-top: 34px; }
@media (max-width: 767.98px) {
	.la-grade.hc-trilho.hc-g4 { grid-template-columns: minmax(0, 1fr); grid-auto-flow: row; overflow: visible; margin-right: 0; padding-right: 0; }
	.la-grade > .hc-linha__convite { grid-column: auto; }
}
.mg-hub .rh-mais__grade { margin-top: 0; }
.mg-cach-hero .mg-hub-hero__h1, .mg-tur-hero .mg-hub-hero__h1 { max-width: 24ch; }
.rh-listapag--anuncios .rh-mais { padding-top: 0; }

/* ================================================================== *
 * Identidade do Tem na Chapada (manual da marca 1.0) nas páginas da cidade, 07/10/2026.
 * O Morro Guia é a referência de estrutura; aqui a cara é da Chapada: Montserrat 700/800 nos
 * títulos, Poppins no resto; Verde Chapada como cor de marca, Laranja Guia só em ação e selo
 * (botão laranja com texto grafite), Areia nos fundos grandes, ícones de uma cor só.
 * ================================================================== */
.mg-hub { --cg-verde: #0f5132; --cg-vale: #22a06b; --cg-laranja: #ff7a00; --cg-laranja-txt: #b85400; --cg-areia: #f5ebdd; --cg-areia-2: #fbf8f3; --cg-grafite: #2e2e2e; --cg-mudo: #5e6a64; --cg-linha: #e5dccd; --cg-titulo: Montserrat, Poppins, system-ui, sans-serif; color: var(--cg-grafite); }

/* Títulos */
.mg-hub :is(h1, h2, h3),
.mg-hub :is(.mg-cid-h2, .mg-cid-hero__h1, .mg-hub-hero__h1, .mg-cid-cta__h2, .mg-cid-atalho__nome, .mg-cid-lugar__titulo, .mg-hub-atr__titulo, .mg-hub-exp__titulo, .mg-hub-busca__titulo, .mg-cid-ficha b, .mg-cid-cartao__titulo, .rh-mais__txt b, .hc-linha__abre h2, .hc-linha__convite b) {
	font-family: var(--cg-titulo);
}
.mg-hub :is(.mg-cid-h2, .mg-hub-cab h2, .mg-hub-busca__titulo, .hp-hist2__h2) { font-weight: 800; letter-spacing: -.02em; color: var(--cg-verde); }
.mg-hub .mg-cid-h2 span { color: var(--cg-verde); }
.mg-hub :is(.mg-cid-eyebrow, .mg-hub-eyebrow) { color: var(--cg-laranja-txt); letter-spacing: .14em; }
.mg-hub .mg-cid-eyebrow .material-symbols-outlined { color: var(--cg-laranja); }
.mg-hub :is(.mg-cid-sub, .mg-hub-cab p, .mg-hub-busca__texto) { color: var(--cg-mudo); }

/* Herói: véu Verde Chapada, selo laranja, título branco. */
.mg-hub .mg-hub-hero::after { background: linear-gradient(180deg, rgba(8, 40, 25, .45) 0%, rgba(8, 40, 25, .35) 35%, rgba(8, 40, 25, .7) 75%, rgba(8, 40, 25, .9) 100%); }
.mg-hub .mg-hub-hero__selo { color: #ffd0a1; letter-spacing: .14em; }
.mg-hub :is(.mg-hub-hero__h1, .mg-cid-hero__h1) { font-weight: 800; letter-spacing: -.025em; }
.mg-hub .mg-hub-disco--verde { background: var(--cg-verde); box-shadow: 0 0 0 3px rgba(255, 255, 255, .16); }
.mg-hub .mg-tur-dest:hover .mg-hub-disco { background: var(--cg-laranja); color: var(--cg-grafite); }
.mg-hub .mg-cid-busca button { color: var(--cg-grafite); }
.mg-hub .mg-cid-busca button .material-symbols-outlined { color: var(--cg-grafite); }

/* Botões: laranja leva texto grafite (manual: branco sobre laranja não passa no contraste). */
.mg-hub .mg-hub-btn--laranja, .mg-hub .mg-hub-btn--laranja:hover, .mg-hub .mg-cid-cta__btn, .mg-hub .mg-cid-cta__btn:hover, .mg-hub .hc-linha__btn { color: var(--cg-grafite); }
.mg-hub .mg-cid-cta__btn svg, .mg-hub .mg-hub-btn--laranja svg { stroke: currentColor; }
.mg-hub .mg-hub-btn--cheio { background: var(--cg-verde); color: #fff; }

/* Atalhos da cidade: ícone de uma cor (Verde Chapada) num ladrilho Areia; o atual em verde cheio. */
.mg-hub .mg-cid-atalhos .mg-cid-ico, .mg-hub .mg-cid-atalhos [class*="mg-cid-ico--"] {
	display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
	background: var(--cg-areia); color: var(--cg-verde); font-size: 26px; margin-bottom: 4px;
	transition: background-color .2s, color .2s;
}
.mg-hub .mg-cid-atalho { border-radius: 16px; transition: background-color .2s, box-shadow .2s; }
.mg-hub .mg-cid-atalho:hover .mg-cid-ico { background: var(--cg-verde); color: #fff; }
.mg-hub .mg-cid-atalho__nome { font-size: 14.5px; font-weight: 700; color: var(--cg-verde); }
.mg-hub .mg-cid-atalho__texto { color: var(--cg-mudo); }
.mg-hub .mg-cid-atalho.is-atual { background: var(--cg-verde); box-shadow: none; }
.mg-hub .mg-cid-atalho.is-atual .mg-cid-atalho__nome { color: #fff; }
.mg-hub .mg-cid-atalho.is-atual .mg-cid-atalho__texto { color: rgba(255, 255, 255, .82); }
.mg-hub .mg-cid-atalho.is-atual .mg-cid-ico { background: var(--cg-laranja); color: var(--cg-grafite); }

/* Todos os outros ícones de bloco: uma cor só, em ladrilho. */
.mg-hub :is(.mg-cid-mini-cab__t, .mg-cid-atalho-bloco, .mg-cid-camada) [class*="mg-cid-ico--"] { color: var(--cg-verde); }
.mg-hub :is(.mg-cid-mini-cab__t, .mg-cid-atalho-bloco) .mg-cid-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--cg-areia); font-size: 24px; }
.mg-hub .mg-cid-camada .mg-cid-ico { font-size: 20px; }

/* Blocos e painéis */
.mg-hub .mg-cid-bloco { border-color: var(--cg-linha); }
.mg-hub .mg-cid-painel { background: var(--cg-areia-2); }
.mg-hub .mg-cid-painel--escuro { background: var(--cg-verde); color: rgba(255, 255, 255, .85); }
.mg-hub .mg-cid-barras i { background: rgba(255, 255, 255, .14); }
.mg-hub .mg-cid-ficha b { color: var(--cg-verde); font-weight: 800; }
.mg-hub .mg-cid-ficha li { border-top-color: var(--cg-laranja); }
.mg-hub .mg-cid-vermais, .mg-hub .mg-hub-vermais, .mg-hub .mg-cid-cartao__ir { color: var(--cg-verde); font-weight: 700; }
.mg-hub .mg-hub-chips a { background: #fff; border-color: var(--cg-linha); color: var(--cg-verde); }
.mg-hub .mg-hub-chips a:hover { background: var(--cg-verde); border-color: var(--cg-verde); color: #fff; }
.mg-hub .mg-hub-busca { background: var(--cg-areia-2); border-color: var(--cg-linha); }
.mg-hub .mg-hub-atr__selo { background: var(--cg-verde); color: #fff; }
.mg-hub .mg-hub-atr__dados svg, .mg-hub .mg-hub-atr__local svg { stroke: var(--cg-vale); }
.mg-hub .mg-hub-plan__ico { background: var(--cg-areia); color: var(--cg-verde); }

/* ───────── História (hub/sobre-historia.php) ───────── */
.hp-hist2 { margin-top: 56px; padding: 64px 0; background: var(--cg-areia, #f5ebdd); }
.hp-hist2__grade { display: grid; gap: 28px; }
@media (min-width: 960px) {
	.hp-hist2__grade { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
	.hp-hist2__grade.is-sem-foto { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
	.hp-hist2__lado { position: sticky; top: calc(var(--rh-cab, 0px) + 24px); }
}
.hp-hist2__h2 { margin: 4px 0 20px; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; }
.hp-hist2__foto { position: relative; margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: #e9dfcf; }
.hp-hist2__foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hp-hist2__foto figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 18px 14px; font-size: 13px; color: #fff; background: linear-gradient(180deg, rgba(8, 40, 25, 0), rgba(8, 40, 25, .8)); }
.hp-hist2__foto .rh-cred { top: 12px; right: 12px; }
.hp-hist2__texto { max-width: 66ch; }
.hp-hist2__texto p { margin: 0 0 18px; font-size: 16.5px; line-height: 1.8; color: var(--cg-grafite, #2e2e2e); }
.hp-hist2__texto .hp-hist2__lead { font-family: var(--cg-titulo); font-size: clamp(19px, 1.7vw, 22px); font-weight: 600; line-height: 1.55; color: var(--cg-verde, #0f5132); }
.hp-hist2__fonte { font-size: 13px !important; color: var(--cg-mudo, #5e6a64) !important; }
.hp-marcos { margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(15, 81, 50, .15); }
.hp-marcos__h3 { margin: 0 0 22px; font-family: var(--cg-titulo); font-size: 20px; font-weight: 800; color: var(--cg-verde, #0f5132); }
.hp-marcos__lista { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 6px; }
.hp-marcos__lista li { position: relative; scroll-snap-align: start; padding: 26px 20px 20px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(15, 81, 50, .05); }
.hp-marcos__lista li::before { content: ""; position: absolute; left: 20px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--cg-laranja, #ff7a00); box-shadow: 0 0 0 4px var(--cg-areia, #f5ebdd); }
.hp-marcos__lista b { display: block; margin-bottom: 8px; font-family: var(--cg-titulo); font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--cg-verde, #0f5132); }
.hp-marcos__lista span { display: block; font-size: 14.5px; line-height: 1.55; color: var(--cg-grafite, #2e2e2e); }
@media (max-width: 767.98px) {
	.hp-hist2 { padding: 44px 0; }
	.hp-hist2__foto { aspect-ratio: 16 / 10; }
	.hp-marcos__lista { grid-auto-columns: 78%; margin-right: -16px; padding-right: 16px; }
}
/* Marcos: cabem na largura no computador (sem barra de rolagem); traço laranja no topo de cada um. */
.hp-marcos__lista { grid-auto-columns: minmax(0, 1fr); overflow: visible; padding-bottom: 0; }
.hp-marcos__lista li { border-top: 4px solid var(--cg-laranja, #ff7a00); padding-top: 20px; }
.hp-marcos__lista li::before { display: none; }
.hp-marcos__lista b { font-size: 26px; }
.hp-hist2__h2 + .hp-hist2__foto { margin-top: 8px; }
@media (max-width: 1023.98px) {
	.hp-marcos__lista { grid-auto-columns: 40%; overflow-x: auto; padding-bottom: 6px; }
}
@media (max-width: 767.98px) {
	.hp-marcos__lista { grid-auto-columns: 78%; }
}
