/* ===========================================================================
   Na Chapada — protótipo v2 · linguagem de PORTAL DE NOTÍCIAS (G1/UOL/Folha)
   Vermelho-jornal + preto/branco/cinza, Archivo (manchetes) + Inter (texto).
   =========================================================================== */

:root {
  --red: #c4170c;
  --red-d: #9e1209;
  --ink: #1a1a1a;
  --ink2: #3a3a3a;
  --muted: #767676;
  --bg: #ffffff;
  --bg2: #f4f4f4;
  --bg3: #eaeaea;
  --surface: #ffffff;
  --border: #e2e2e2;
  --border-d: #d0d0d0;
  --util: #1b1b1b;
  --green: #1a7a3a;
  --maxw: 1200px;
  --font: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-head: "Archivo", "Inter", system-ui, sans-serif;
}
html[data-theme="dark"] {
  --ink: #ededed; --ink2: #cfcfcf; --muted: #9a9a9a;
  --bg: #121212; --bg2: #181818; --bg3: #202020; --surface: #1b1b1b;
  --border: #2b2b2b; --border-d: #353535; --util: #000;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg2); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.08; letter-spacing: -.01em; margin: 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }

.kick { font-family: var(--font-head); font-weight: 700; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--red); display: inline-block; }
.time { color: var(--muted); font-size: 12.5px; }
.dot::before { content: "•"; margin: 0 6px; color: var(--border-d); }

/* masthead */
.masthead { background: var(--surface); position: sticky; top: 0; z-index: 40; box-shadow: 0 1px 0 var(--border); }
.util { background: var(--util); color: #fff; font-size: 12.5px; }
.util-in { display: flex; align-items: center; justify-content: space-between; height: 34px; }
.util .live { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.util .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); display: inline-block; animation: blink 1.4s infinite; }
.util .l { display: flex; gap: 14px; align-items: center; }
.util .date { color: #bdbdbd; text-transform: capitalize; }
.util .r { display: flex; gap: 8px; align-items: center; }
.util .r a { color: #ddd; }
.util .r a:hover { color: #fff; }
.util .ibtn { width: 30px; height: 30px; display: grid; place-items: center; border: 0; background: transparent; color: #ddd; border-radius: 4px; }
.util .ibtn:hover { background: rgba(255,255,255,.12); color: #fff; }
.logobar { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-family: var(--font-head); font-weight: 900; font-size: 34px; letter-spacing: -.02em; color: var(--ink); line-height: 1; }
.logo .dotr { color: var(--red); }
.logo-tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; border-left: 3px solid var(--red); padding-left: 10px; }
.editorias { border-top: 1px solid var(--border); border-bottom: 3px solid var(--red); }
.editorias-in { display: flex; gap: 2px; height: 44px; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.editorias-in::-webkit-scrollbar { display: none; }
.editorias a { display: flex; align-items: center; padding: 0 13px; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: .01em; color: var(--ink); white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -3px; }
.editorias a:hover { color: var(--red); }
.editorias a.active { color: var(--red); border-bottom-color: var(--red); }

/* últimas */
.ulast { background: var(--red); color: #fff; overflow: hidden; }
.ulast-in { display: flex; align-items: center; height: 36px; }
.ulast-tag { font-family: var(--font-head); font-weight: 800; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 0 13px; background: var(--red-d); align-self: stretch; display: flex; align-items: center; flex-shrink: 0; }
.ulast-mask { overflow: hidden; flex: 1; }
.ulast-track { display: inline-flex; white-space: nowrap; padding-left: 20px; animation: marquee 34s linear infinite; }
.ulast:hover .ulast-track { animation-play-state: paused; }
.ulast-track span { font-size: 13.5px; font-weight: 500; }
.ulast-track span::before { content: "›"; margin: 0 18px; font-weight: 800; opacity: .7; }

/* layout */
.page { background: var(--bg); }
.news-grid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; padding: 22px 0 0; align-items: start; }
.rail-col { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 150px; }
.lead-grid { display: grid; grid-template-columns: 1.75fr 1fr; gap: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.lead-media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--bg3); margin-bottom: 12px; }
.lead-media .ph, .lead-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.lead:hover .lead-media img, .lead:hover .lead-media .ph { transform: scale(1.03); }
.lead h1 { font-size: clamp(26px, 3.5vw, 42px); font-weight: 900; margin: 8px 0; }
.lead:hover h1 { color: var(--red); }
.lead .lide { color: var(--ink2); font-size: 16.5px; line-height: 1.5; }
.lead .meta { margin-top: 8px; }
.hpanel { display: flex; flex-direction: column; }
.hpanel-h { font-family: var(--font-head); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); padding-bottom: 8px; border-bottom: 3px solid var(--ink); margin-bottom: 4px; }
.hitem { display: flex; gap: 11px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.hitem:last-child { border-bottom: 0; }
.hitem .hthumb { width: 88px; height: 60px; flex-shrink: 0; overflow: hidden; background: var(--bg3); }
.hitem .hthumb .ph, .hitem .hthumb img { width: 100%; height: 100%; object-fit: cover; }
.hitem .htitle { font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.2; }
.hitem:hover .htitle { color: var(--red); }
.subgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--border); }

/* news card */
.ncard { display: flex; flex-direction: column; }
.ncard-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--bg3); margin-bottom: 9px; }
.ncard-media .ph, .ncard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ncard:hover .ncard-media img, .ncard:hover .ncard-media .ph { transform: scale(1.05); }
.ncard h3 { font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.16; margin-top: 2px; }
.ncard:hover h3 { color: var(--red); }
.ncard .nmeta { margin-top: 7px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 12.5px; color: var(--muted); }
.ntag { position: absolute; left: 0; top: 0; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; padding: 4px 8px; }
.ntag.green { background: var(--green); }
.ntag.date { background: rgba(0,0,0,.78); display: grid; place-items: center; text-align: center; line-height: 1; padding: 6px 9px; }
.ntag.date b { font-size: 16px; display: block; }

/* section block */
.ed { padding: 22px 0; border-bottom: 1px solid var(--border); }
.ed-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.ed-head h2 { font-size: 20px; text-transform: uppercase; letter-spacing: .01em; display: flex; align-items: center; gap: 10px; }
.ed-head h2::before { content: ""; width: 6px; height: 22px; background: var(--red); display: inline-block; }
.ed-head a { font-family: var(--font-head); font-weight: 700; font-size: 12.5px; text-transform: uppercase; color: var(--red); }
.ed-grid { display: grid; grid-template-columns: 2fr 2fr 1.4fr; gap: 20px; }
.ed-grid .side { display: flex; flex-direction: column; }
.ed-grid .side .hpanel-h { border-bottom-color: var(--red); font-size: 12px; }

/* rail */
.rpanel { background: var(--surface); border: 1px solid var(--border); }
.rpanel-h { font-family: var(--font-head); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .03em; color: #fff; background: var(--ink); padding: 9px 13px; }
.rpanel-h.red { background: var(--red); }
.rpanel-b { padding: 6px 13px 12px; }
.ranked { list-style: none; margin: 0; padding: 0; }
.ranked li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.ranked li:last-child { border-bottom: 0; }
.ranked .n { font-family: var(--font-head); font-weight: 900; font-size: 26px; color: var(--red); line-height: .85; width: 24px; flex-shrink: 0; }
.ranked .t { font-family: var(--font-head); font-weight: 600; font-size: 14px; line-height: 1.22; }
.ranked li:hover .t { color: var(--red); }
.rlist { list-style: none; margin: 0; padding: 0; }
.rlist li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.rlist li:last-child { border-bottom: 0; }
.rlist .tel { color: var(--red); font-weight: 700; white-space: nowrap; }
.rradio { display: flex; gap: 12px; align-items: center; }
.rradio .cov { width: 50px; height: 50px; background: var(--red); display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.rplay { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; border: 0; display: grid; place-items: center; flex-shrink: 0; }
.rplay:hover { background: var(--red); }

/* inputs / buttons */
.input { width: 100%; padding: 9px 11px; border: 1px solid var(--border-d); background: var(--bg); color: var(--ink); font-family: inherit; font-size: 14px; }
.input:focus { outline: 2px solid var(--red); outline-offset: -1px; }
.btn { padding: 9px 15px; border: 0; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: .02em; display: inline-flex; align-items: center; gap: 7px; }
.btn:hover { background: var(--red-d); }
.btn.dark { background: var(--ink); } .btn.dark:hover { background: #000; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--border-d); }
.btn.ghost:hover { border-color: var(--red); color: var(--red); }
.btn.block { width: 100%; justify-content: center; }

/* badges */
.b-open { color: var(--green); font-weight: 700; font-size: 12.5px; display: inline-flex; align-items: center; gap: 5px; }
.b-open i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; }
.b-closed { color: var(--red); font-weight: 700; font-size: 12.5px; }
.b-free { background: var(--green); color: #fff; font-weight: 700; font-size: 11px; padding: 2px 7px; text-transform: uppercase; }
.stars { color: #e0a200; font-size: 12.5px; font-weight: 700; }
.price b { color: var(--ink); } .price .off { opacity: .3; }

/* page heads / generic */
.phead { padding: 22px 0 6px; border-bottom: 3px solid var(--red); margin-bottom: 18px; }
.phead h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 900; text-transform: uppercase; }
.phead .lide { color: var(--muted); font-size: 16px; margin-top: 6px; }
.filters { display: flex; gap: 7px; flex-wrap: wrap; margin: 0 0 18px; align-items: center; }
.chip { padding: 7px 13px; border: 1px solid var(--border-d); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--ink); }
.chip:hover { border-color: var(--red); }
.chip.on { background: var(--red); color: #fff; border-color: var(--red); }
.toggle { display: inline-flex; border: 1px solid var(--border-d); }
.toggle button { padding: 7px 13px; background: var(--surface); border: 0; font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; }
.toggle button.on { background: var(--ink); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* list rows */
.rows { display: flex; flex-direction: column; }
.lrow { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); align-items: center; }
.lrow .th { width: 132px; height: 80px; flex-shrink: 0; overflow: hidden; background: var(--bg3); }
.lrow .th .ph, .lrow .th img { width: 100%; height: 100%; object-fit: cover; }
.lrow h3 { font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.lrow:hover h3 { color: var(--red); }

/* job */
.job { display: flex; gap: 14px; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--border); }
.job .ji { width: 44px; height: 44px; background: var(--bg2); display: grid; place-items: center; color: var(--red); flex-shrink: 0; }
.job .jt { font-family: var(--font-head); font-weight: 700; font-size: 16px; }

/* detail */
.crumb { font-size: 12.5px; color: var(--muted); padding: 16px 0 10px; text-transform: uppercase; letter-spacing: .02em; font-weight: 600; }
.crumb a:hover { color: var(--red); }
.dhero { position: relative; aspect-ratio: 16/8; overflow: hidden; background: var(--bg3); }
.dhero .ph, .dhero img { width: 100%; height: 100%; object-fit: cover; }
.dgrid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; margin-top: 16px; }
.detail h1 { font-size: clamp(24px, 3.4vw, 38px); font-weight: 900; margin: 10px 0 6px; }
.infoline { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin: 12px 0; font-size: 13.5px; color: var(--muted); padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.dbody { font-size: 16.5px; line-height: 1.7; }
.h-sec { font-family: var(--font-head); font-weight: 800; font-size: 18px; text-transform: uppercase; margin: 24px 0 10px; padding-left: 10px; border-left: 5px solid var(--red); }
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.gallery .g { aspect-ratio: 4/3; overflow: hidden; background: var(--bg3); }
.gallery .g .ph, .gallery .g img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery .g:hover .ph, .gallery .g:hover img { transform: scale(1.06); }
.amen { display: flex; gap: 8px; flex-wrap: wrap; }
.amen .a { padding: 7px 11px; background: var(--bg2); font-size: 13px; font-weight: 500; border: 1px solid var(--border); }
.minimap { aspect-ratio: 16/8; border: 1px solid var(--border); position: relative; background: repeating-linear-gradient(0deg, var(--border) 0 1px, transparent 1px 30px), repeating-linear-gradient(90deg, var(--border) 0 1px, transparent 1px 30px), var(--bg2); }
.minimap .pin { position: absolute; left: 48%; top: 46%; transform: translate(-50%,-100%); color: var(--red); }
.review { padding: 14px 0; border-bottom: 1px solid var(--border); }
.review .who { display: flex; align-items: center; gap: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.icard { border: 1px solid var(--border); }
.icard .row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 13px; border-top: 1px solid var(--border); font-size: 13.5px; }
.icard .row:first-child { border-top: 0; }

/* article */
.art { max-width: 720px; margin: 0 auto; padding: 6px 0 36px; }
.art h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; margin: 8px 0; }
.art .lide { font-size: 19px; color: var(--ink2); line-height: 1.45; margin: 12px 0; font-weight: 500; }
.art-meta { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--muted); padding: 12px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.art-hero { aspect-ratio: 16/9; overflow: hidden; background: var(--bg3); margin: 16px 0 4px; }
.art-hero .ph, .art-hero img { width: 100%; height: 100%; object-fit: cover; }
.art p { font-size: 17.5px; line-height: 1.75; margin: 0 0 18px; }
.fcred { font-size: 12px; color: var(--muted); margin-bottom: 18px; }

/* agenda */
.cal { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; }
.cal .dow { font-family: var(--font-head); font-weight: 700; font-size: 11px; text-transform: uppercase; color: var(--muted); text-align: center; padding: 4px; }
.cal .cell { min-height: 92px; border: 1px solid var(--border); padding: 5px; background: var(--surface); font-size: 12px; }
.cal .cell.out { background: var(--bg2); opacity: .6; }
.cal .dn { color: var(--muted); font-weight: 700; }
.cal .ev { margin-top: 4px; padding: 3px 6px; font-size: 11px; color: #fff; font-weight: 600; background: var(--red); cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal .ev.g { background: var(--green); } .cal .ev.k { background: var(--ink); }

/* map */
.mapwrap { display: grid; grid-template-columns: 320px 1fr; border: 1px solid var(--border); height: 560px; }
.mapside { border-right: 1px solid var(--border); overflow-y: auto; background: var(--surface); }
.mrow { display: flex; gap: 10px; padding: 11px 13px; border-bottom: 1px solid var(--border); cursor: pointer; }
.mrow:hover, .mrow.hot { background: var(--bg2); }
.mrow .mt { font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.mapcanvas { position: relative; background: repeating-linear-gradient(0deg, var(--border) 0 1px, transparent 1px 38px), repeating-linear-gradient(90deg, var(--border) 0 1px, transparent 1px 38px), var(--bg2); }
.mpin { position: absolute; transform: translate(-50%,-100%); cursor: pointer; }
.mpin .d { width: 20px; height: 20px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--red); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.mpin:hover, .mpin.hot { z-index: 3; } .mpin:hover .d, .mpin.hot .d { background: var(--ink); }

/* planeje */
.timeline { border-left: 3px solid var(--border-d); margin-left: 6px; padding-left: 18px; }
.timeline .step { position: relative; padding: 8px 0 14px; }
.timeline .step::before { content: ""; position: absolute; left: -25px; top: 11px; width: 11px; height: 11px; background: var(--red); border: 2px solid var(--surface); }

/* radio */
.radio-hero { display: flex; gap: 20px; align-items: center; padding: 22px; background: var(--ink); color: #fff; }
.radio-hero .bigc { width: 120px; height: 120px; background: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.radio-hero .plg { width: 60px; height: 60px; border-radius: 50%; background: #fff; color: var(--ink); border: 0; display: grid; place-items: center; }
.radio-hero .plg:hover { color: var(--red); }
.prow { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.prow .ph-h { font-family: var(--font-head); font-weight: 800; color: var(--red); width: 46px; flex-shrink: 0; }

/* concierge */
.cfab { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; align-items: center; gap: 9px; padding: 12px 17px; background: var(--red); color: #fff; border: 0; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: 13px; box-shadow: 0 8px 28px rgba(0,0,0,.28); }
.cfab:hover { background: var(--red-d); }
.cpanel { position: fixed; right: 20px; bottom: 20px; z-index: 51; width: min(380px, calc(100vw - 28px)); height: min(560px, calc(100vh - 56px)); background: var(--surface); border: 1px solid var(--border-d); display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.4); animation: pop .2s ease; }
.chead { background: var(--red); color: #fff; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; }
.chead .t { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; font-size: 15px; }
.cbody { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg2); }
.msg { max-width: 86%; padding: 9px 12px; font-size: 14px; line-height: 1.4; animation: msgin .25s ease; }
.msg.bot { background: var(--surface); border: 1px solid var(--border); align-self: flex-start; }
.msg.user { background: var(--ink); color: #fff; align-self: flex-end; }
.sug { background: var(--surface); border: 1px solid var(--border); padding: 9px; display: flex; gap: 10px; align-items: center; }
.sug:hover { border-color: var(--red); }
.sug .sg { width: 44px; height: 44px; overflow: hidden; flex-shrink: 0; background: var(--bg3); }
.sug .sg .ph, .sug .sg img { width: 100%; height: 100%; object-fit: cover; }
.cfoot { padding: 11px; border-top: 1px solid var(--border); display: flex; gap: 7px; }
.typing { display: flex; gap: 4px; padding: 11px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2){animation-delay:.2s} .typing i:nth-child(3){animation-delay:.4s}

/* search */
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.5); display: flex; justify-content: center; align-items: flex-start; padding-top: 84px; animation: fade .15s; }
.sbox { width: min(640px, calc(100vw - 28px)); background: var(--surface); box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.sbox input { width: 100%; padding: 17px 18px; border: 0; border-bottom: 3px solid var(--red); font-size: 18px; background: var(--surface); color: var(--ink); font-family: inherit; }
.sbox input:focus { outline: 0; }
.sres { max-height: 52vh; overflow-y: auto; }
.sres .grp { font-family: var(--font-head); font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--red); padding: 12px 18px 4px; }
.sres a { display: flex; gap: 9px; padding: 9px 18px; align-items: center; font-size: 14.5px; }
.sres a:hover { background: var(--bg2); }

/* footer */
.foot { margin-top: 36px; background: var(--ink); color: #cfcfcf; padding: 36px 0 22px; }
.foot .logo { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 26px; }
.foot h5 { font-family: var(--font-head); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #fff; margin: 0 0 10px; }
.foot a { display: block; padding: 4px 0; font-size: 13.5px; color: #cfcfcf; }
.foot a:hover { color: #fff; }
.foot-bottom { margin-top: 26px; padding-top: 16px; border-top: 1px solid #333; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12.5px; color: #9a9a9a; }

/* placeholder */
.ph { background: var(--bg3); position: relative; overflow: hidden; }
.ph[data-grad="1"]{ background: linear-gradient(135deg,#3a3a3a,#777); }
.ph[data-grad="2"]{ background: linear-gradient(135deg,#1f4d6b,#3a7a5a); }
.ph[data-grad="3"]{ background: linear-gradient(135deg,#9e1209,#e0773a); }
.ph[data-grad="4"]{ background: linear-gradient(135deg,#2a2438,#6d4d7a); }
.ph[data-grad="0"]{ background: linear-gradient(135deg,#2d5d3a,#4d7a3a); }
.ph-label { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.92); font-family: var(--font-head); font-weight: 800; font-size: 15px; text-align: center; padding: 12px; text-shadow: 0 1px 6px rgba(0,0,0,.4); }

/* keyframes */
@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(-50%);} }
@keyframes blink { 0%,100%{ opacity: .35;} 50%{ opacity: 1;} }
@keyframes pop { from { opacity: 0; transform: translateY(14px);} to { opacity: 1; transform: none;} }
@keyframes msgin { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: none;} }
@keyframes fade { from { opacity: 0;} to { opacity: 1;} }
@keyframes pagein { from { opacity: 0;} to { opacity: 1;} }
.page-enter { animation: pagein .25s ease; }
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .45s, transform .45s; }
.reveal.in { opacity: 1; transform: none; }

/* responsive */
@media (max-width: 980px) {
  .news-grid, .dgrid { grid-template-columns: 1fr; }
  .rail-col { position: static; flex-direction: row; flex-wrap: wrap; }
  .rail-col > * { flex: 1; min-width: 280px; }
  .lead-grid { grid-template-columns: 1fr; }
  .subgrid { grid-template-columns: repeat(2,1fr); }
  .ed-grid { grid-template-columns: 1fr 1fr; }
  .ed-grid .side { grid-column: 1 / -1; }
  .mapwrap { grid-template-columns: 1fr; height: auto; }
  .mapcanvas { height: 340px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .grid, .subgrid, .ed-grid { grid-template-columns: 1fr 1fr; }
  .logo { font-size: 27px; } .logo-tag { display: none; }
  .util .date { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .cal { font-size: 10px; } .cal .cell { min-height: 60px; }
  .radio-hero { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, .ulast-track { animation: none !important; transition-duration: .12s !important; }
  .reveal { opacity: 1; transform: none; }
}
