/* Nos Vales News — versão clara do tema-base + itens próprios do portal. */

:root { color-scheme: light; --nap-line: #E5E7EB; --nap-soft: #F3F5F8; --nap-ink: #0B1A33; }

/* ---------- Faixa superior ---------- */
.nap-topbar { background: var(--nap-ink); color: rgba(255,255,255,.82); font: 500 13px/1 var(--f-label); }
.nap-topbar__inner { display: flex; align-items: center; gap: 18px; min-height: 36px; }
.nap-topbar__region { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 12px; }
.nap-topbar__region svg { color: #7FB4FF; }
.nap-topbar__social { margin-left: auto; display: inline-flex; gap: 14px; font-size: 16px; }
.nap-topbar__social a:hover { color: #fff; }
@media (max-width: 640px) { .nap-topbar__date { display: none; } .nap-topbar__inner { justify-content: center; } .nap-topbar__social { margin-left: 0; } }

/* ---------- Cabeçalho: logo + busca (linha 1) e barra de editorias (linha 2) ---------- */
.nap-header .mt-header__inner { min-height: 96px; gap: 28px; }
.nap-logo__img { display: block; height: 64px; width: auto; }
.nap-header__search { margin-left: auto; width: min(420px, 38vw); }
.nap-header__search .mt-searchform { border-width: 1px; border-color: var(--nap-line); background: var(--nap-soft); }
.nap-header__search .mt-searchform__input { padding: 12px 18px; font-size: 15px; }
.nap-header__search .mt-searchform__btn { padding: 0 18px; font-size: 18px; }
.nap-header .mt-header__actions { margin-left: 0; }
.nap-header .mt-header__search-btn { display: none; }

/* Barra azul de editorias (computador e tablet) */
@media (min-width: 901px) {
	.nap-header .mt-header__toggle { display: none; }
	.nap-header .nap-nav { position: static; transform: none; width: auto; padding: 0; overflow: visible; background: var(--mt-primary); flex: none; box-shadow: none; }
	.nap-header .nap-nav .mt-nav__close, .nap-header .nap-nav .mt-nav__search { display: none; }
	.nap-header .nap-nav__inner { display: flex; }
	.nap-header .nap-nav .mt-nav__list { flex-direction: row; flex-wrap: nowrap; gap: 0; overflow-x: auto; scrollbar-width: none; }
	.nap-header .nap-nav .mt-nav__list::-webkit-scrollbar { display: none; }
	.nap-header .nap-nav .mt-nav__list > li > a { color: #fff; padding: 15px 16px 13px; font-size: 14px; letter-spacing: .04em; border: 0; }
	.nap-header .nap-nav .mt-nav__list > li > a::after { background: #fff; bottom: 0; left: 16px; right: calc(100% - 16px); }
	.nap-header .nap-nav .mt-nav__list > li > a:hover::after,
	.nap-header .nap-nav .mt-nav__list > .current-menu-item > a::after,
	.nap-header .nap-nav .mt-nav__list > .current-category-ancestor > a::after,
	.nap-header .nap-nav .mt-nav__list > .current-menu-parent > a::after { right: 16px; }
	.nap-header .nap-nav .mt-nav__list > li > a:hover { color: #fff; background: rgba(255,255,255,.08); }
	.nap-header .nap-nav .mt-nav__list .sub-menu { position: absolute; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; min-width: 240px; padding: 8px 0; box-shadow: 0 14px 30px rgba(11,26,51,.16); left: 0; top: 100%; background: #fff; border-top: 3px solid var(--nap-ink); }
	.nap-header .nap-nav .mt-nav__list .sub-menu a { color: var(--nap-ink); padding: 11px 18px; border: 0; }
	.nap-header .nap-nav .mt-nav__list .sub-menu a:hover { color: var(--mt-primary); background: var(--nap-soft); }
	.nap-header .nap-nav .mt-nav__list > .menu-item-has-children > a { padding-right: 28px; }
	.nap-header .nap-nav .mt-nav__list > .menu-item-has-children > a::before { content: "▾"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 11px; opacity: .8; }
	.nap-header .nap-nav .mt-nav__list { overflow: visible; }
	.nap-header .nap-nav .mt-nav__list li:hover > .sub-menu, .nap-header .nap-nav .mt-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 900px) {
	.nap-header .mt-header__inner { min-height: 68px; gap: 12px; }
	.nap-logo__img { height: 44px; max-width: calc(100vw - 130px); }
	.nap-header__search { display: none; }
	.nap-header .mt-header__search-btn { display: flex; }
	.nap-header .mt-header__toggle { display: flex; }
	.nap-header .nap-nav { position: fixed; top: 0; left: 0; bottom: 0; width: min(86vw, 360px); z-index: 200; background: #fff; padding: 72px 24px 24px; overflow-y: auto; transform: translateX(-100%); transition: transform .25s ease; }
	.nap-header .nap-nav.is-open { transform: none; }
	.nap-header .nap-nav .mt-nav__close { display: flex; }
	.nap-header .nap-nav .mt-nav__search { display: block; margin-bottom: 12px; }
	.nap-header .nap-nav__inner { padding: 0; }
	.nap-header .nap-nav .mt-nav__list { flex-direction: column; }
	.nap-header .nap-nav .mt-nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; background: transparent; }
}

/* ---------- Cabeçalho claro ---------- */
.mt-header { background: #fff; color: var(--nap-ink); border-bottom: 1px solid var(--nap-line); box-shadow: 0 1px 0 rgba(11,26,51,.02); }
.mt-header__toggle, .mt-header__search-btn { color: var(--nap-ink); }
.mt-nav__list a { color: var(--nap-ink); }
.mt-nav__list a:hover { color: var(--mt-primary); }
.mt-nav__list .sub-menu { background: #fff; box-shadow: 0 12px 30px rgba(11,26,51,.12); }
.mt-nav__list .sub-menu a:hover { background: var(--nap-soft); }
.mt-logo__img { max-height: 52px; }
.mt-search { background: var(--nap-soft); border-top: 1px solid var(--nap-line); }
@media (max-width: 1260px) {
	.mt-nav { background: #fff; }
	.mt-nav.is-open { box-shadow: 20px 0 60px rgba(11,26,51,.25); }
	.mt-nav__close { color: var(--nap-ink); }
	.mt-nav__list a { border-bottom-color: var(--nap-line); }
	.mt-nav-backdrop { background: rgba(11,26,51,.45); }
}
@media (max-width: 640px) {
	.mt-logo__img { max-height: 40px; max-width: calc(100vw - 130px); object-fit: contain; object-position: left center; }
}

/* ---------- Carrossel de destaques: editoria + título + linha fina sobre a foto ---------- */
.mt-hero__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,10,25,0) 35%, rgba(5,10,25,.55) 62%, rgba(5,10,25,.9) 100%); pointer-events: none; }
.mt-hero__content { z-index: 2; }
.mt-hero .mt-hero__title { font-size: clamp(26px, 3.2vw, 46px); line-height: 1.08; letter-spacing: -0.02em; margin: 10px 0 12px; color: #fff; max-width: 22ch; text-wrap: balance; }
.mt-hero .mt-hero__excerpt { max-width: 56ch; margin-bottom: 18px; font-size: clamp(15px, 1.3vw, 19px); }
.mt-hero__cat { display: inline-block; padding: 6px 10px; border-radius: 4px; background: var(--cat, var(--mt-primary)); color: #fff; font: 700 12px/1 var(--f-label); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 700px) {
	/* No celular o destaque fica em pé, para caber editoria + título + botão sobre a foto. */
	.mt-hero.mt-slider { aspect-ratio: 4 / 5; }
	.mt-hero .mt-hero__title { font-size: 25px; max-width: none; }
	.mt-hero .mt-hero__excerpt { display: none; }
}

/* ---------- Rodapé ---------- */
.nap-footer { margin-top: clamp(64px, 8vw, 110px); background: var(--nap-ink); color: rgba(255,255,255,.78); border-top: 4px solid var(--mt-primary); }
.nap-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px 48px; padding-top: 56px; padding-bottom: 44px; }
.nap-footer__logo img { display: block; height: 52px; width: auto; }
.nap-footer__about { margin: 20px 0 0; max-width: 38ch; font-size: 15px; line-height: 1.6; }
.nap-footer__social { display: flex; gap: 12px; margin-top: 22px; font-size: 18px; }
.nap-footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; transition: background .2s; }
.nap-footer__social a:hover { background: var(--mt-primary); }
.nap-footer__title { margin: 4px 0 18px; color: #fff; font: 800 13px/1 var(--f-label); text-transform: uppercase; letter-spacing: .1em; }
.nap-footer__title::after { content: ""; display: block; width: 28px; height: 3px; margin-top: 10px; background: var(--mt-primary); border-radius: 2px; }
.nap-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.nap-footer__col a { font-size: 15px; color: rgba(255,255,255,.78); transition: color .15s; }
.nap-footer__col a:hover { color: #fff; }
.nap-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.nap-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; padding-bottom: 18px; font-size: 13px; color: rgba(255,255,255,.6); }
.nap-footer__top { color: rgba(255,255,255,.8); }
.nap-footer__top:hover { color: #fff; }
@media (max-width: 900px) { .nap-footer__grid { grid-template-columns: 1fr 1fr; } .nap-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .nap-footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Matéria: cidades e fontes ---------- */
.mt-single__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.nap-city { display: inline-block; padding: 5px 9px; border-radius: 4px; background: var(--mt-accent); color: var(--nap-ink); font: 700 12px/1 var(--f-label); text-transform: uppercase; letter-spacing: .04em; }
.nap-city:hover { filter: brightness(.95); color: var(--nap-ink); }
.nap-sources { margin: 32px 0 8px; padding: 18px 20px; background: var(--nap-soft); border-left: 4px solid var(--mt-primary); border-radius: 10px; }
.nap-sources h2 { margin: 0 0 10px; font: 800 14px/1 var(--f-label); text-transform: uppercase; letter-spacing: .06em; }
.nap-sources ul { margin: 0; padding-left: 1.1em; }
.nap-sources a { color: var(--mt-primary); text-decoration: underline; text-underline-offset: 3px; }
.nap-cities { display: flex; flex-wrap: wrap; gap: 8px; }
