/*
Theme Name: Litoral Norte Hoje
Theme URI: https://litoralnortehoje.com.br
Author: Litoral Norte Hoje
Description: Tema leve e mobile-first para o portal Litoral Norte Hoje.
Version: 3.1.2
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: litoral-norte-hoje
*/

:root {
  color-scheme: light;
  --lnh-ink: #122a37;
  --lnh-muted: #5a6d77;
  --lnh-blue: #07566b;
  --lnh-deep-blue: #073447;
  --lnh-sea: #e9f2f3;
  --lnh-line: #d8e2e5;
  --lnh-paper: #fff;
  --lnh-soft: #f4f7f8;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body { margin: 0; color: var(--lnh-ink); background: var(--lnh-paper); font-size: 1rem; line-height: 1.55; overflow-wrap: anywhere; }
a { color: var(--lnh-blue); text-underline-offset: .15em; }
a:hover { text-decoration-thickness: 2px; }
img, video, iframe { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; }
button, summary, select { cursor: pointer; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.17; }

.skip-link { position: absolute; z-index: 20; top: .5rem; left: -9999px; padding: .7rem 1rem; color: #fff; background: var(--lnh-deep-blue); }
.skip-link:focus { left: .5rem; }
.utility-bar { color: #eaf2f4; background: var(--lnh-deep-blue); font-size: .78rem; }
.utility-inner, .header-inner, .primary-nav, .now-inner, .site-main, .footer-inner { width: min(calc(100% - 2rem), 1200px); min-width: 0; margin-inline: auto; }
.utility-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem 1rem; min-height: 2rem; padding-block: .3rem; }
.utility-inner time { text-transform: capitalize; }
.weather-strip { display: flex; flex-wrap: wrap; gap: .25rem .8rem; }
.weather-item { display: inline-flex; flex-wrap: wrap; gap: .3rem; }

.site-header { border-bottom: 1px solid var(--lnh-line); }
.header-inner { display: flex; flex-direction: column; align-items: stretch; gap: .75rem; padding-block: .9rem; }
.site-brand { display: inline-grid; align-self: flex-start; color: var(--lnh-ink); text-decoration: none; line-height: 1.15; }
.brand-lockup { display: flex; align-items: center; gap: .55rem; }
.brand-lockup img { width: 2.65rem; height: 2.65rem; }
.brand-name { font-size: clamp(1.2rem, 4vw, 1.55rem); font-weight: 850; letter-spacing: -.045em; }
.brand-tagline { margin-top: .25rem; color: var(--lnh-muted); font-size: .78rem; }
.city-picker { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.city-picker label { font-size: .83rem; font-weight: 700; }
.city-picker select, .search-form input[type="search"] { min-width: 0; max-width: 100%; padding: .55rem .65rem; border: 1px solid #aab9bc; border-radius: .3rem; color: var(--lnh-ink); background: #fff; }
.city-picker button, .search-form button, .search-form input[type="submit"] { padding: .55rem .75rem; border: 0; border-radius: .3rem; color: #fff; background: var(--lnh-blue); font-weight: 700; }
.search-toggle { position: relative; align-self: flex-start; }
.search-toggle summary { position: relative; padding: .45rem .7rem; border: 1px solid var(--lnh-line); border-radius: .3rem; color: var(--lnh-blue); font-size: .9rem; font-weight: 700; list-style: none; }
.search-toggle summary::-webkit-details-marker { display: none; }
.search-toggle[open] .search-form { position: absolute; z-index: 8; top: calc(100% + .35rem); right: 0; width: min(88vw, 24rem); padding: .65rem; border: 1px solid var(--lnh-line); border-radius: .4rem; background: #fff; box-shadow: 0 .5rem 1.5rem #122a3720; }
.search-form { display: flex; gap: .45rem; margin: 0; }
.search-form input[type="search"] { flex: 1; }
.primary-nav { overflow-x: auto; scrollbar-width: thin; }
.primary-nav ul { display: flex; width: max-content; min-width: 100%; gap: .2rem 1.15rem; margin: 0; padding: .15rem 0 .7rem; list-style: none; }
.primary-nav a { color: var(--lnh-ink); font-size: .88rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.primary-nav a:hover { color: var(--lnh-blue); text-decoration: underline; }

.now-strip { color: #fff; background: #0b5369; }
.now-inner { display: flex; align-items: center; gap: .8rem; overflow-x: auto; padding-block: .55rem; scrollbar-width: thin; white-space: nowrap; }
.now-label { flex: 0 0 auto; margin-top: .1rem; color: #ffda75; font-size: .72rem; letter-spacing: .08em; }
.now-inner ul { display: flex; flex: 0 0 auto; flex-wrap: nowrap; gap: .25rem 1rem; margin: 0; padding: 0; list-style: none; }
.now-inner li { display: inline-flex; flex: 0 0 auto; gap: .35rem; font-size: .78rem; line-height: 1.4; white-space: nowrap; }
.now-inner time { flex: 0 0 auto; color: #bcdce2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.now-inner a { color: #fff; text-decoration: none; }
.now-inner a:hover { text-decoration: underline; }

.site-main { min-height: 65vh; }
.content-section { padding-block: 1.4rem; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; border-bottom: 2px solid var(--lnh-blue); }
.section-heading h1, .section-heading h2 { margin: 0 0 .55rem; font-size: clamp(1.35rem, 4vw, 1.8rem); letter-spacing: -.025em; }
.section-heading > a { flex: 0 0 auto; font-size: .83rem; font-weight: 700; }

.home-lead { display: grid; grid-template-columns: minmax(0, 1fr); gap: .8rem; padding-top: 1.25rem; }
.headline-story { position: relative; min-width: 0; overflow: hidden; min-height: 17rem; border-radius: .55rem; background: #183b4a; }
.headline-link { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; }
.headline-link > img, .headline-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: linear-gradient(135deg, #07566b, #183b4a); }
.headline-story-ccm-artesp { min-height: 0; background: #fff; }
.headline-story-ccm-artesp .headline-link { position: relative; inset: auto; color: var(--lnh-ink); }
.headline-story-ccm-artesp .headline-link::after { content: none; }
.headline-story-ccm-artesp .headline-link > img.lnh-ccm-image { position: relative; inset: auto; width: 100%; height: auto; object-fit: contain; background: #fff; }
.headline-story-ccm-artesp .headline-overlay { position: relative; inset: auto; color: var(--lnh-ink); }
.headline-story-ccm-artesp .headline-excerpt { color: var(--lnh-muted); }
.headline-link::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, #06172000 25%, #06172030 48%, #061720e8 100%); }
.headline-overlay { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; display: grid; justify-items: start; gap: .55rem; padding: 1rem; }
.editorial-badge { display: inline-flex; width: fit-content; align-items: center; padding: .22rem .55rem; border-radius: 99px; color: #fff; background: var(--editorial-color, var(--lnh-blue)); font-size: .7rem; font-weight: 800; line-height: 1.3; text-decoration: none; }
.headline-title { max-width: 22ch; font-size: clamp(1.45rem, 5vw, 2.5rem); font-weight: 850; letter-spacing: -.035em; line-height: 1.07; }
.headline-excerpt { max-width: 55ch; color: #e4ecee; font-size: .9rem; }
.lead-calls { display: grid; grid-template-columns: minmax(0, 1fr); gap: .65rem; }
.lead-call { display: flex; min-width: 0; gap: .7rem; align-items: center; padding: .6rem; border: 1px solid var(--lnh-line); border-radius: .45rem; background: #fff; }
.lead-call-image { flex: 0 0 4.2rem; width: 4.2rem; aspect-ratio: 1; overflow: hidden; border-radius: .3rem; background: var(--lnh-sea); }
.lead-call-image img, .image-placeholder { width: 100%; height: 100%; object-fit: cover; background: var(--lnh-sea); }
.lead-call-image img.lnh-ccm-image { aspect-ratio: 1; object-fit: contain; }
.lead-call-image img.lnh-faixa-image { object-fit: contain; background: var(--lnh-soft); }
.lead-call-copy { order: 1; min-width: 0; flex: 1 1 auto; }
.lead-call-image { order: 2; }
.lead-call-copy .editorial-badge { padding: .16rem .4rem; font-size: .62rem; }
.lead-call h2 { margin: .3rem 0 0; font-size: .88rem; line-height: 1.25; }
.lead-call h2 a { color: var(--lnh-ink); text-decoration: none; }
.lead-call h2 a:hover { color: var(--lnh-blue); text-decoration: underline; }

.service-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; padding: .85rem; border-radius: .5rem; background: var(--lnh-soft); }
.service-item { display: grid; min-width: 0; gap: .12rem; padding: .35rem .5rem; border-left: 3px solid var(--lnh-blue); }
.service-item span { color: var(--lnh-muted); font-size: .72rem; font-weight: 700; }
.service-item strong { font-size: .9rem; }

.home-latest-layout, .archive-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.home-latest, .archive-main { min-width: 0; }
.story-list { display: grid; }
.story-row { display: flex; min-width: 0; gap: .8rem; padding-block: .9rem; border-bottom: 1px solid var(--lnh-line); }
.story-row:first-child { padding-top: 0; }
.story-image { flex: 0 0 5.5rem; width: 5.5rem; height: 5.5rem; overflow: hidden; border-radius: .35rem; background: var(--lnh-sea); }
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-image img.lnh-ccm-image { object-fit: contain; }
.story-image img.lnh-faixa-image { object-fit: contain; background: var(--lnh-soft); }
.story-copy { min-width: 0; }
.story-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; }
.story-kicker time { color: var(--lnh-muted); font-size: .7rem; }
.story-kicker .editorial-badge { padding: .15rem .4rem; font-size: .62rem; }
.story-copy h2 { margin: .28rem 0; font-size: 1rem; letter-spacing: -.015em; }
.story-copy h2 a { color: var(--lnh-ink); text-decoration: none; }
.story-copy h2 a:hover { color: var(--lnh-blue); text-decoration: underline; }
.story-copy p { margin: 0; color: var(--lnh-muted); font-size: .83rem; }

.news-sidebar { display: grid; min-width: 0; gap: 1rem; }
.sidebar-card, .sidebar-card { min-width: 0; padding: 1rem; border: 1px solid var(--lnh-line); border-radius: .45rem; background: #fff; }
.sidebar-card h2 { margin: 0 0 .7rem; font-size: 1.15rem; }
.popular-list { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; counter-reset: popular; }
.popular-list li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr); gap: .55rem; align-items: start; }
.popular-rank { color: var(--lnh-blue); font-size: 1.05rem; font-weight: 850; }
.popular-list a { color: var(--lnh-ink); font-size: .88rem; font-weight: 700; text-decoration: none; }
.popular-list a:hover { text-decoration: underline; }

.article-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.article-card { min-width: 0; overflow: hidden; border: 1px solid var(--lnh-line); border-radius: .5rem; background: #fff; }
.card-link { display: block; height: 100%; color: inherit; text-decoration: none; }
.card-link img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--lnh-sea); }
.card-link img.lnh-ccm-image { height: auto; aspect-ratio: auto; object-fit: contain; background: #fff; }
.card-link img.lnh-faixa-image { object-fit: contain; padding: .75rem; background: var(--lnh-soft); }
.card-copy { padding: .85rem; }
.card-copy > .editorial-badge { display: flex; margin-bottom: .45rem; }
.card-date { color: var(--lnh-muted); font-size: .76rem; }
.card-copy h2 { margin: .3rem 0; font-size: 1rem; }
.card-copy p { margin: .4rem 0 0; color: var(--lnh-muted); font-size: .83rem; }
.article-card:hover { border-color: #a4bdc4; }
.home-editorial-section { border-top: 1px solid var(--lnh-line); }
.home-editorial-section .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-editorial-section .card-copy { padding: .65rem; }
.home-editorial-section .card-copy h2 { font-size: .9rem; }

.article-single { width: min(100%, 800px); min-width: 0; margin: 1.2rem auto 2rem; }
.page-single { width: min(100%, 800px); min-width: 0; margin: 1.2rem auto 2rem; }
.page-header { margin-bottom: 1.25rem; }
.page-title { margin: .25rem 0 .6rem; font-size: clamp(2rem, 7vw, 3.25rem); letter-spacing: -.045em; }
.page-content { width: 100%; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .9rem; color: var(--lnh-muted); font-size: .8rem; }
.breadcrumbs a { text-decoration: none; }
.article-header > .editorial-badge { margin-bottom: .4rem; }
.article-header h1 { margin: .25rem 0 .6rem; font-size: clamp(2rem, 7vw, 3.25rem); letter-spacing: -.045em; }
.article-deck { margin: 0 0 .9rem; color: #405965; font-size: clamp(1.05rem, 3vw, 1.25rem); line-height: 1.4; }
.article-byline { display: flex; flex-wrap: wrap; gap: .35rem 1rem; padding-block: .65rem; border-top: 1px solid var(--lnh-line); border-bottom: 1px solid var(--lnh-line); color: var(--lnh-muted); font-size: .82rem; }
.article-source { margin-top: 1rem; color: var(--lnh-muted); font-size: .78rem; font-weight: 500; }
.article-updated { color: #a5232d; font-weight: 800; }
.share-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-block: .85rem; }
.share-actions a, .share-actions button { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .55rem .75rem; border: 1px solid var(--lnh-line); border-radius: .32rem; color: var(--lnh-ink); background: #fff; font-size: .82rem; font-weight: 750; text-decoration: none; }
.share-actions .share-whatsapp { border-color: #168653; color: #fff; background: #087b4d; }
.share-actions [hidden] { display: none; }
.share-status { color: var(--lnh-muted); font-size: .78rem; }
.article-featured { position: relative; margin: 1rem 0; }
.article-featured > img { width: 100%; height: auto; border-radius: .35rem; }
.article-featured-ccm-artesp > img { height: auto; object-fit: contain; border-radius: 0; }
.article-featured figcaption { margin-top: .4rem; color: var(--lnh-muted); font-size: .78rem; }
.article-featured-faixa { display: flex; flex-direction: column; align-items: center; padding: 1.25rem 1rem .75rem; border-radius: .35rem; background: var(--lnh-soft); }
.article-featured-faixa > img { width: auto; max-width: 100%; height: auto; border-radius: 0; }
.article-featured-faixa figcaption { align-self: stretch; }
.video-image-label { position: absolute; top: .6rem; left: .6rem; padding: .3rem .55rem; border-radius: .25rem; color: #fff; background: #102632d9; font-size: .73rem; font-weight: 700; }
.article-content { max-width: 760px; margin-inline: auto; font-size: 18px; line-height: 1.75; }
.article-content > * { max-width: 100%; }
.article-content img { height: auto; }
.article-content iframe { width: 100%; }
.article-content h2, .article-content h3 { margin-top: 1.7em; }
.article-content blockquote { margin-inline: 0; padding-left: 1rem; border-left: 3px solid var(--lnh-blue); color: #405965; }
.is-style-lnh-current-status { padding: 1rem; border: 1px solid var(--lnh-line); border-radius: .4rem; background: #f1f4f5; }
.is-style-lnh-current-status::before { display: block; margin-bottom: .4rem; color: #53656d; content: "COMO ESTÁ AGORA"; font-size: .72rem; font-weight: 850; letter-spacing: .08em; }
.is-style-lnh-current-status > :first-child { margin-top: 0; }
.is-style-lnh-current-status > :last-child { margin-bottom: 0; }

.related-stories { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--lnh-line); }

.archive-description { margin: -.3rem 0 1rem; color: var(--lnh-muted); }
.pagination { margin-top: 1.5rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; }
.pagination a, .pagination span { padding: .35rem .6rem; border: 1px solid var(--lnh-line); border-radius: .25rem; text-decoration: none; }
.pagination .current { color: #fff; border-color: var(--lnh-blue); background: var(--lnh-blue); }
.site-footer { margin-top: 2rem; color: #eaf2f4; background: var(--lnh-deep-blue); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; padding-block: 1.15rem; }
.footer-inner p { margin: 0; font-size: .82rem; }
.lnh-banner-slot { min-width: 0; margin-block: 1rem; }
.lnh-banner img { width: 100%; height: auto; }
.lnh-banner-link { display: block; }

@media (min-width: 620px) {
  .header-inner { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .city-picker { margin-left: auto; }
  .search-toggle { align-self: center; }
  .service-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-editorial-section .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-editorial-section .card-copy { padding: .85rem; }
}

@media (min-width: 850px) {
  .home-lead { grid-template-columns: minmax(0, 1.7fr) minmax(18rem, 1fr); }
  .headline-story { min-height: 25rem; }
  .lead-call { align-items: center; }
  .lead-call-image { flex-basis: 5.2rem; width: 5.2rem; }
  .headline-overlay { padding: 1.5rem; }
  .headline-title { font-size: clamp(2rem, 3vw, 3rem); }
  .home-latest-layout, .archive-layout { grid-template-columns: minmax(0, 2fr) minmax(15rem, .9fr); gap: 2rem; }
  .story-image { flex-basis: 6rem; width: 6rem; height: 6rem; }
  .article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-editorial-section .article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 639px) {
  .header-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .brand-tagline, .city-picker, .primary-nav { display: none; }
  .search-toggle { align-self: center; }
  .search-toggle summary { width: 2.6rem; height: 2.6rem; overflow: hidden; padding: 0; border: 0; font-size: 0; }
  .search-toggle summary::before { display: block; width: 1rem; height: 1rem; margin: .65rem; border: 2px solid var(--lnh-blue); border-radius: 50%; content: ""; }
  .search-toggle summary::after { position: absolute; top: 1.5rem; right: .62rem; width: .55rem; height: 2px; transform: rotate(45deg); transform-origin: left center; background: var(--lnh-blue); content: ""; }
  .home-editorial-section .article-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 980px) {
  .article-content { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

:root {
  color-scheme: light;
  --lnh-ink: #15232b;
  --lnh-muted: #66727a;
  --lnh-blue: #08748a;
  --lnh-deep-blue: #10232d;
  --lnh-sea: #e6f2f4;
  --lnh-line: #dce3e6;
  --lnh-paper: #fff;
  --lnh-soft: #f4f6f7;
  --lnh-accent: #d8334b;
  --lnh-card: #fff;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --lnh-ink: #f0f4f5;
    --lnh-muted: #a9b7bd;
    --lnh-blue: #5bc5d7;
    --lnh-deep-blue: #0a171d;
    --lnh-sea: #20363f;
    --lnh-line: #33454d;
    --lnh-paper: #101c22;
    --lnh-soft: #17272f;
    --lnh-accent: #ff687a;
    --lnh-card: #17272f;
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --lnh-ink: #f0f4f5;
  --lnh-muted: #a9b7bd;
  --lnh-blue: #5bc5d7;
  --lnh-deep-blue: #0a171d;
  --lnh-sea: #20363f;
  --lnh-line: #33454d;
  --lnh-paper: #101c22;
  --lnh-soft: #17272f;
  --lnh-accent: #ff687a;
  --lnh-card: #17272f;
}

:root[data-theme="light"] {
  color-scheme: light;
}

body { font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--lnh-blue); }
button, select, input, textarea, summary, a { touch-action: manipulation; }
:focus-visible { outline: 3px solid #e09113; outline-offset: 3px; }
.lnh-icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.site-header { position: sticky; z-index: 40; top: env(safe-area-inset-top, 0px); background: var(--lnh-paper); }
.utility-bar { color: #f3f7f8; background: #10232d; }
.utility-inner { flex-wrap: nowrap; min-height: 2.1rem; }
.weather-strip { flex-wrap: nowrap; justify-content: flex-end; gap: .3rem 1rem; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.weather-item { flex-wrap: nowrap; gap: .3rem; white-space: nowrap; }
.header-inner { flex-direction: row; align-items: center; gap: .65rem; padding-block: .55rem; }
.site-brand { align-self: center; }
.brand-name { font-family: "Inter Tight", Inter, system-ui, sans-serif; }
.brand-lockup img { border-radius: .5rem; }
.header-actions { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.icon-button { display: inline-grid; flex: 0 0 2.75rem; width: 2.75rem; height: 2.75rem; place-items: center; padding: .55rem; border: 1px solid var(--lnh-line); border-radius: 50%; color: var(--lnh-ink); background: var(--lnh-card); }
.icon-button svg, .mobile-bottom-nav svg { width: 1.25rem; height: 1.25rem; }
.icon-button [hidden] { display: none; }
.mobile-menu-button { display: inline-grid; }
.city-picker { margin-left: auto; }
.city-picker select, .search-form input[type="search"] { border-color: var(--lnh-line); color: var(--lnh-ink); background: var(--lnh-card); }
.city-picker button, .search-form button, .search-form input[type="submit"] { min-height: 2.75rem; }
.primary-nav { width: 100%; max-width: 1200px; }
.primary-nav ul { gap: 0; padding-block: 0; }
.primary-nav a { display: flex; min-height: 2.75rem; align-items: center; padding-inline: .8rem; }
.now-strip { background: var(--lnh-card); color: var(--lnh-ink); border-block: 1px solid var(--lnh-line); }
.now-inner { min-height: 2.8rem; gap: .6rem; padding-block: .35rem; overflow: hidden; }
.now-label { padding: .28rem .55rem; border-radius: .35rem; color: #fff; background: var(--lnh-accent); letter-spacing: .04em; }
.ticker-viewport { flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; scroll-behavior: auto; }
.ticker-viewport::-webkit-scrollbar { display: none; }
.ticker-viewport ul { display: flex; width: max-content; gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.ticker-viewport li { display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap; }
.ticker-viewport time { color: var(--lnh-accent); font-weight: 850; white-space: nowrap; }
.ticker-viewport a { color: var(--lnh-ink); text-decoration: none; }
.ticker-arrow { display: none; width: 2.25rem; height: 2.25rem; border: 1px solid var(--lnh-line); border-radius: 50%; color: var(--lnh-ink); background: var(--lnh-card); font-size: 1.4rem; }
.ticker-pause { min-height: 2.4rem; border: 1px solid var(--lnh-line); border-radius: 99px; color: var(--lnh-ink); background: var(--lnh-card); }
.lnh-drawer, .lnh-search-dialog { width: min(92vw, 28rem); max-width: none; max-height: min(85dvh, 48rem); margin: 0 0 0 auto; padding: 1.25rem; border: 0; border-radius: 1rem 0 0 1rem; color: var(--lnh-ink); background: var(--lnh-card); box-shadow: 0 0 0 100vmax #07131a88; }
.lnh-drawer[open], .lnh-search-dialog[open] { position: fixed; inset: 0 0 0 auto; overflow-y: auto; }
.lnh-drawer::backdrop, .lnh-search-dialog::backdrop { background: #07131a88; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .85rem; border-bottom: 1px solid var(--lnh-line); }
.lnh-drawer h2 { margin: 1.2rem 0 .5rem; font-size: 1rem; }
.drawer-links, .lnh-drawer .menu { display: grid; gap: .3rem; margin: 0; padding: 0; list-style: none; }
.drawer-links a, .lnh-drawer .menu a { display: flex; min-height: 2.75rem; align-items: center; padding: .5rem; border-radius: .3rem; color: var(--lnh-ink); text-decoration: none; }
.lnh-drawer .menu ul { display: none; }
.lnh-search-dialog { inset: 10vh 0 auto; margin-inline: auto; border-radius: 1rem; }
.lnh-search-dialog[open] { inset: 10vh 0 auto; }
.lnh-search-dialog .search-form { margin-top: 1rem; }
.mobile-bottom-nav { position: fixed; z-index: 45; inset: auto 0 0; display: grid; grid-template-columns: repeat(3, 1fr); padding: .35rem .35rem max(.35rem, env(safe-area-inset-bottom)); border-top: 1px solid var(--lnh-line); background: var(--lnh-card); box-shadow: 0 -.3rem 1rem #07131a12; }
.mobile-bottom-nav a, .mobile-bottom-nav button { display: grid; min-height: 3rem; justify-items: center; align-content: center; gap: .15rem; border: 0; color: var(--lnh-muted); background: transparent; font-size: .68rem; font-weight: 700; text-decoration: none; }
.footer-inner { align-items: start; }
.footer-brand { display: grid; gap: .35rem; }
.credibility-links { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; }
.credibility-links strong { flex-basis: 100%; }
.credibility-links a { color: #f3f7f8; font-size: .82rem; }
.service-strip { background: var(--lnh-soft); }
.service-button { display: grid; min-height: 4rem; gap: .1rem; padding: .4rem .55rem; border: 0; border-left: 3px solid var(--lnh-blue); color: var(--lnh-ink); background: transparent; text-align: left; }
.service-button span { color: var(--lnh-muted); font-size: .73rem; font-weight: 700; }
.service-button strong { font-size: .9rem; }
.service-detail { grid-column: 1 / -1; padding: .8rem; border: 1px solid var(--lnh-line); border-radius: .35rem; background: var(--lnh-card); }
.service-detail[hidden] { display: none; }
.sidebar-card, .article-card, .lead-call { color: var(--lnh-ink); background: var(--lnh-card); }
.article-deck, .article-content blockquote { color: var(--lnh-muted); }

@media (min-width: 700px) {
  .mobile-menu-button, .mobile-bottom-nav { display: none; }
  .header-inner { flex-wrap: nowrap; }
  .header-actions { margin-left: 0; }
  .ticker-arrow { display: inline-grid; place-items: center; flex: 0 0 auto; }
}

@media (max-width: 699px) {
  body { padding-bottom: calc(3.75rem + env(safe-area-inset-bottom)); }
  .utility-inner { width: 100%; padding-inline: .75rem; }
  .utility-inner > time { flex: 0 0 auto; }
  .weather-strip { justify-content: flex-start; }
  .header-inner { width: calc(100% - 1rem); justify-content: flex-start; }
  .brand-tagline, .city-picker, .primary-nav { display: none; }
  .site-brand { min-width: 0; }
  .brand-name { font-size: 1.08rem; }
  .brand-lockup { gap: .3rem; }
  .brand-lockup img { width: 2.25rem; height: 2.25rem; }
  .brand-tagline, .city-picker, .primary-nav { display: none; }
  .header-actions { gap: .15rem; }
  .header-actions .icon-button { width: 2.5rem; height: 2.5rem; flex-basis: 2.5rem; border: 0; }
  .now-inner { width: 100%; padding-inline: .6rem; }
  .ticker-arrow { display: none; }
  .ticker-pause { padding-inline: .55rem; font-size: .7rem; }
  .home-editorial-section .article-grid { grid-template-columns: minmax(0, 1fr); }
  .credibility-links { gap: .4rem .75rem; }
}

@media (min-width: 850px) {
  .article-content { font-size: 19px; }
}

.headline-meta { display: flex; flex-wrap: wrap; gap: .25rem .9rem; font-size: .76rem; font-weight: 650; }
.headline-story:not(.headline-story-ccm-artesp) .headline-meta { color: #eef5f6; }
.status-live { display: inline-flex; align-items: center; width: fit-content; padding: .18rem .48rem; border-radius: 99px; color: #fff; background: var(--lnh-accent); font-size: .65rem; font-weight: 850; line-height: 1.3; text-transform: uppercase; letter-spacing: .04em; }
.headline-overlay .status-live { margin-top: .1rem; }
.latest-heading { align-items: center; flex-wrap: wrap; }
.feed-updated { color: var(--lnh-muted); font-size: .75rem; white-space: nowrap; }
.feed-city-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-block: .7rem; padding: .7rem; border-radius: .4rem; color: var(--lnh-ink); background: var(--lnh-sea); font-size: .83rem; }
.feed-city-notice[hidden] { display: none; }
.feed-city-notice form { margin: 0; }
.feed-city-notice button, .load-more-button, .sidebar-action { min-height: 2.75rem; padding: .45rem .75rem; border: 1px solid var(--lnh-blue); border-radius: .35rem; color: #fff; background: var(--lnh-blue); font-weight: 750; }
.feed-tabs { display: flex; gap: .35rem; overflow-x: auto; margin-bottom: .7rem; padding-block: .25rem; scrollbar-width: thin; }
.feed-tabs button { flex: 0 0 auto; min-height: 2.6rem; padding-inline: .75rem; border: 1px solid var(--lnh-line); border-radius: 99px; color: var(--lnh-ink); background: var(--lnh-card); font-size: .8rem; font-weight: 700; }
.feed-tabs button[aria-selected="true"] { border-color: var(--lnh-blue); color: #fff; background: var(--lnh-blue); }
.story-source { display: inline-block; margin-top: .35rem; color: var(--lnh-muted); font-size: .76rem; }
.story-row-urgent { border-left: 3px solid var(--lnh-accent); padding-left: .6rem; }
.load-more-button { display: block; margin: 1rem auto 0; }
.load-more-button:disabled { opacity: .7; cursor: wait; }
.load-more-button[hidden] { display: none; }
.service-section .section-heading { margin-bottom: .7rem; }
.service-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .35rem; }
.service-detail p { margin: 0; }
.service-detail .service-source { margin-top: .55rem; }
.primary-nav ul.menu { justify-content: flex-start; }
.site-footer { margin-top: 2.5rem; }

@media (min-width: 700px) {
  .service-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 399px) {
  .service-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feed-city-notice { align-items: flex-start; }
  .feed-city-notice form { width: 100%; }
}

.reading-progress { position: fixed; z-index: 60; inset: 0 auto auto 0; width: 100%; height: 3px; transform: scaleX(0); transform-origin: left center; background: var(--lnh-accent); }
.article-statuses { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin-block: .75rem; }
.article-statuses .article-updated { padding: .22rem .55rem; border: 1px solid var(--lnh-line); border-radius: 99px; color: var(--lnh-ink); font-size: .78rem; }
.article-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem .8rem; }
.article-tools .share-actions { margin-block: .6rem; }
.font-controls { display: flex; gap: .3rem; }
.font-controls button { min-width: 2.75rem; min-height: 2.75rem; border: 1px solid var(--lnh-line); border-radius: .35rem; color: var(--lnh-ink); background: var(--lnh-card); font-weight: 800; }
.article-timeline { margin-block: 1.5rem; padding: 1rem; border: 1px solid var(--lnh-line); border-radius: .5rem; background: var(--lnh-soft); }
.article-timeline h2 { margin: 0 0 .75rem; font-size: 1.15rem; }
.article-timeline ol { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.article-timeline li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: .55rem; }
.article-timeline time { color: var(--lnh-accent); font-weight: 850; }
.article-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 1rem; }
.article-tags a { padding: .35rem .65rem; border: 1px solid var(--lnh-line); border-radius: 99px; color: var(--lnh-blue); background: var(--lnh-card); font-size: .82rem; text-decoration: none; }
.share-actions a, .share-actions button, .font-controls button, .feed-tabs button, .article-tags a { background-color: var(--lnh-card); }
.share-actions .share-whatsapp { color: #fff; background: #087b4d; }
.search-suggestions { max-height: 60vh; overflow-y: auto; }
.search-suggestion-list { display: grid; gap: .35rem; margin: .75rem 0 0; padding: 0; list-style: none; }
.search-suggestion-list a { display: grid; gap: .25rem; padding: .7rem; border-bottom: 1px solid var(--lnh-line); color: var(--lnh-ink); text-decoration: none; }
.search-suggestion-list a:hover { background: var(--lnh-soft); }
.search-suggestion-list span { color: var(--lnh-muted); font-size: .82rem; }
.search-suggestion-list mark { color: inherit; background: #f5dc7b; }
.back-to-top { position: fixed; z-index: 42; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); display: inline-flex; min-height: 2.75rem; align-items: center; gap: .4rem; padding: .5rem .75rem; border: 1px solid var(--lnh-line); border-radius: 99px; color: var(--lnh-ink); background: var(--lnh-card); box-shadow: 0 .2rem .8rem #07131a25; font-size: .8rem; font-weight: 750; }
.back-to-top svg { width: 1rem; height: 1rem; }
.back-to-top[hidden] { display: none; }
@media (max-width: 699px) {
  .back-to-top { bottom: calc(4.2rem + env(safe-area-inset-bottom)); }
}
