/* =====================================================================
   LA SAGRA NOTICIAS — Estilos públicos
   Fuentes del sistema (sin peticiones externas) para un buen LCP.
   ===================================================================== */
:root {
  --navy: #12284a;
  --navy-2: #1c3a66;
  --navy-dark: #0b1a31;
  --red: #c8102e;
  --red-dark: #a10c24;
  --ink: #1f2933;
  --text: #333d48;
  --muted: #66707b;
  --line: #e3e7ec;
  --soft: #f4f6f9;
  --bg: #ffffff;
  --serif: Georgia, "Times New Roman", "Liberation Serif", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --gap: 24px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--navy-2); }
:focus-visible { outline: 3px solid #4d8ef7; outline-offset: 2px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 820px; }
.muted { color: var(--muted); font-size: .9rem; }
mark.pending { background: #fff3c4; color: #7a5300; padding: 0 4px; border-radius: 3px; font-size: .92em; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--navy); color: #fff; border: 0; border-radius: var(--radius);
  padding: 11px 20px; font-weight: 600; font-size: .95rem; line-height: 1.2; transition: background .15s; }
.btn:hover { background: var(--navy-2); color: #fff; }
.btn--block { width: 100%; }
.icon-btn { background: none; border: 0; color: var(--navy); width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; }
.icon-btn:hover { background: var(--soft); }

/* ---------- Barra superior ---------- */
.topbar { background: var(--navy-dark); color: #c9d3e1; font-size: .8rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 12px; }
.topbar__links { display: flex; gap: 18px; }
.topbar__links a:hover { color: #fff; }

/* ---------- Cabecera ---------- */
.masthead { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.masthead__in { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding-top: 18px; padding-bottom: 14px; }
.masthead__menu { visibility: hidden; }
.brand { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; justify-self: center; }
.brand img { max-height: 72px; width: auto; }
.brand .brand__logo { width: 380px; max-width: 100%; height: auto; max-height: none; }
.brand__name { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: clamp(1.8rem, 5vw, 3.1rem); letter-spacing: -.01em; line-height: 1; text-transform: uppercase; }
.brand__accent { color: var(--red); }
.brand__tag { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: .95rem; }
.brand:hover .brand__name { color: var(--navy); }

.searchbar { border-top: 1px solid var(--line); background: var(--soft); }
.searchbar__form { display: flex; gap: 8px; padding-top: 12px; padding-bottom: 12px; }
.searchbar input, .search-inline input { flex: 1; min-width: 0; border: 1px solid #c8cfd8; border-radius: var(--radius); padding: 10px 12px; font: inherit; background: #fff; }

/* ---------- Navegación ---------- */
.nav { border-top: 3px solid var(--navy); background: #fff; }
.nav__list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; }
.nav__list > li > a, .nav__mun > button { display: block; padding: 12px 13px; font-weight: 600; font-size: .9rem; color: var(--ink); background: none; border: 0; text-transform: uppercase; letter-spacing: .02em; }
.nav__list > li > a:hover, .nav__mun > button:hover, .nav__list a[aria-current="page"] { color: var(--red); }
.nav__mun { position: relative; }
.mun-menu { position: absolute; right: 0; top: 100%; width: min(640px, 92vw); background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(11, 26, 49, .14); padding: 16px; border-radius: 0 0 6px 6px; }
.mun-menu ul { list-style: none; columns: 3; column-gap: 16px; }
.mun-menu li a { display: block; padding: 6px 4px; font-size: .92rem; }
.mun-menu li a:hover { color: var(--red); }
.mun-menu__all { display: inline-block; margin-top: 10px; font-weight: 600; color: var(--navy); font-size: .9rem; }

/* ---------- Última hora ---------- */
.breaking { background: var(--red); color: #fff; }
.breaking__in { display: flex; align-items: center; gap: 14px; min-height: 42px; overflow: hidden; }
.breaking__label { background: #fff; color: var(--red); text-transform: uppercase; font-size: .75rem; letter-spacing: .06em; padding: 4px 8px; border-radius: 2px; flex: none; }
.breaking__list { list-style: none; display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; font-weight: 600; font-size: .92rem; }
.breaking__list::-webkit-scrollbar { display: none; }
.breaking__list a:hover { color: #fff; text-decoration: underline; }
.breaking__list { min-width: 0; }
.breaking__label--scores { background: var(--navy-dark); color: #fff; }
.breaking__list--scores { gap: 22px; font-weight: 500; }
.score { display: inline-flex; align-items: center; gap: 8px; }
.score__state { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; background: rgba(255, 255, 255, .16); padding: 2px 7px; border-radius: 2px; }
.score--live .score__state { background: #fff; color: var(--red); }
.score__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: score-pulse 1.4s ease-in-out infinite; }
.score__teams b { font-weight: 800; padding: 0 3px; }
@keyframes score-pulse { 50% { opacity: .25; } }
.breaking__group { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1 1 0; }
.breaking__group + .breaking__group { border-left: 1px solid rgba(255, 255, 255, .3); padding-left: 14px; }
@media (max-width: 900px) {
  .breaking__in { flex-direction: column; align-items: stretch; gap: 0; }
  .breaking__group { min-height: 40px; flex: none; }
  .breaking__group + .breaking__group { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .3); }
}

/* ---------- Estructura ---------- */
.main { padding: 24px 0 40px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; margin-top: 28px; }
.layout--article { margin-top: 8px; }
.layout__main { min-width: 0; }
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.list { display: grid; }
.list > .card--row + .card--row { border-top: 1px solid var(--line); }

/* ---------- Bloques ---------- */
.block { margin-bottom: 36px; }
.block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 3px solid var(--navy); padding-top: 10px; margin-bottom: 18px; }
.block__title { font-family: var(--sans); text-transform: uppercase; font-size: 1rem; letter-spacing: .05em; color: var(--navy); font-weight: 800; }
.block__title--red, .block__title--red a { color: var(--red); }
.block__more { font-size: .85rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.block__more::after { content: " →"; }
.block__more:hover { color: var(--red); }
.block__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--gap); }

/* ---------- Tarjetas ---------- */
.card { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.card__img { display: block; overflow: hidden; background: var(--soft); aspect-ratio: 16 / 9; border-radius: 2px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.card:hover .card__img img { transform: scale(1.025); }
.card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.card__kicker { font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--red); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.card__kicker a:hover { color: var(--red-dark); }
.card__title { font-family: var(--serif); font-weight: 700; font-size: 1.18rem; line-height: 1.25; overflow-wrap: anywhere; }
.card__title a:hover { color: var(--navy-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.card__sum { color: var(--text); font-size: .95rem; }
.card__meta { color: var(--muted); font-size: .8rem; }
.tag-breaking { background: var(--red); color: #fff; padding: 2px 6px; border-radius: 2px; font-size: .68rem; }

.card--lead .card__title { font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.12; letter-spacing: -.01em; }
.card--lead .card__sum { font-size: 1.08rem; color: #46505b; }
.card--lead .card__img { aspect-ratio: 16 / 9; }
.card--big .card__title { font-size: 1.4rem; }
.card--row { flex-direction: row-reverse; justify-content: space-between; gap: 16px; padding: 14px 0; }
.card--row .card__img { flex: 0 0 132px; aspect-ratio: 4 / 3; align-self: flex-start; }
.card--row .card__title { font-size: 1.05rem; }
.block__grid .card--row .card__img { flex-basis: 100px; }
.card--mini .card__title { font-size: 1rem; }
.card--breaking .card__title a { color: var(--ink); }

/* ---------- Portada ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.hero__side { display: grid; grid-template-columns: 1fr; align-content: start; gap: 18px; }
.hero__side .card--std .card__img { aspect-ratio: 16 / 9; }
.hero__side .card--std + .card--std, .hero__side .card--row { border-top: 1px solid var(--line); padding-top: 16px; }
.hero__side .card--std .card__sum { display: none; }
.empty-home { text-align: center; padding: 70px 16px; background: var(--soft); border-radius: 8px; margin: 20px 0 40px; }
.empty-home h2 { font-family: var(--serif); font-size: 1.8rem; color: var(--navy); margin-bottom: 10px; }
.empty-home p { margin-bottom: 20px; }

.mun-board { margin-top: 12px; }
.mun-board__grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 24px; }
.mun-board__item { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.mun-board__name { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; color: var(--navy); }
.mun-board__name:hover { color: var(--red); }
.mun-board__last { font-family: var(--serif); font-weight: 700; font-size: .98rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mun-board__none { color: var(--muted); font-size: .88rem; }

/* ---------- Barra lateral ---------- */
.sidebar { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.widget__title { font-family: var(--sans); text-transform: uppercase; letter-spacing: .05em; font-size: .92rem; font-weight: 800; color: var(--navy); border-top: 3px solid var(--navy); padding-top: 10px; margin-bottom: 14px; }
.ranking { list-style: none; counter-reset: rk; }
.ranking li { counter-increment: rk; display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ranking li::before { content: counter(rk); grid-row: span 2; font-family: var(--serif); font-size: 1.9rem; font-weight: 700; color: var(--red); line-height: 1; }
.ranking a { font-family: var(--serif); font-weight: 700; line-height: 1.28; color: var(--ink); }
.ranking a:hover { color: var(--navy-2); }
.ranking__meta { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; border: 1px solid #cdd4dd; border-radius: 999px; padding: 5px 12px; font-size: .85rem; color: var(--navy); background: #fff; }
.chips a:hover, .chips a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; margin-top: 4px; scrollbar-width: thin; }
.chips--scroll li { flex: none; }
.widget--cta { background: var(--soft); padding: 0 18px 20px; border-top: 3px solid var(--red); }
.widget--cta .widget__title { border-top: 0; color: var(--red); }
.widget--cta p { margin-bottom: 14px; font-size: .95rem; }

/* ---------- Publicidad ---------- */
.ad { margin: 24px auto; text-align: center; max-width: 100%; }
.ad__label { display: block; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: #8a929b; margin-bottom: 6px; }
.ad a, .ad picture { display: inline-block; max-width: 100%; }
.ad img { margin: 0 auto; }
.ad--adsense { min-height: 120px; }
.ad--sidebar { margin: 0; }
.ad--sidebar.ad--adsense { min-height: 280px; }
.ad--article { margin: 32px 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ad--article.ad--adsense { min-height: 280px; }
.ad--top { margin-top: 18px; margin-bottom: 0; }

/* ---------- Secciones y listados ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: #a5adb6; }
.crumbs a:hover { color: var(--red); }
.section-head { border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 14px; }
.section-head__kicker { color: var(--red); text-transform: uppercase; font-weight: 800; font-size: .78rem; letter-spacing: .08em; margin-bottom: 6px; }
.section-head__title { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--navy); }
.section-head__intro { margin-top: 10px; font-size: 1.05rem; max-width: 760px; color: #46505b; }
.listing-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--gap); padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.list--wide .card--row .card__img { flex-basis: 200px; aspect-ratio: 16 / 10; }
.list--wide .card--row .card__title { font-size: 1.22rem; }
.empty { background: var(--soft); padding: 28px; border-radius: 6px; text-align: center; color: #46505b; }
.pagination { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .92rem; }
.pagination a { font-weight: 700; color: var(--navy); border: 1px solid var(--line); padding: 9px 14px; border-radius: var(--radius); }
.pagination a:hover { border-color: var(--navy); }
.search-inline { display: flex; gap: 8px; margin-top: 16px; max-width: 560px; }

.mun-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 24px; }
.mun-grid a { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line); border-left: 4px solid var(--navy); padding: 16px; border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; }
.mun-grid a:hover { border-left-color: var(--red); box-shadow: 0 4px 14px rgba(11, 26, 49, .08); color: inherit; }
.mun-grid__name { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.mun-grid__count { font-size: .85rem; color: var(--muted); }

/* ---------- Noticia ---------- */
.article { min-width: 0; }
.article__head { margin-bottom: 22px; }
.article__kicker { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--red); text-transform: uppercase; font-weight: 800; font-size: .8rem; letter-spacing: .06em; margin-bottom: 12px; }
.article__title { font-family: var(--serif); font-size: clamp(1.85rem, 4.6vw, 2.9rem); line-height: 1.12; letter-spacing: -.012em; color: var(--ink); overflow-wrap: anywhere; }
.article__subtitle { font-family: var(--serif); font-size: clamp(1.1rem, 2.2vw, 1.32rem); line-height: 1.45; color: #4a5561; margin-top: 14px; }
.article__byline { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; margin-top: 20px; font-size: .88rem; color: var(--muted); }
.byline__author { display: block; font-weight: 700; color: var(--ink); }
.byline__author a { color: var(--navy); }
.article__figure { margin: 0 0 26px; }
.article__figure img { width: 100%; }
.article__figure figcaption { font-size: .85rem; color: var(--muted); padding-top: 8px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.credit { font-style: italic; }
.credit::before { content: "· "; }

.prose { font-family: var(--serif); font-size: 1.16rem; line-height: 1.72; color: #262f38; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; color: var(--ink); }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose h4 { font-size: 1.08rem; margin-top: 1.3em; }
.prose a { color: var(--navy-2); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--red); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin-left: 0; margin-right: 0; border-left: 4px solid var(--red); padding: 4px 0 4px 20px; font-style: italic; color: #3c4651; font-size: 1.2rem; }
.prose figure { margin-left: 0; margin-right: 0; }
.prose figcaption { font-family: var(--sans); font-size: .85rem; color: var(--muted); margin-top: 6px; }
.prose img { border-radius: 2px; }
.prose table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--soft); }
.prose hr { border: 0; border-top: 1px solid var(--line); }
.static .prose { font-family: var(--sans); font-size: 1.02rem; line-height: 1.7; }
.static .prose h2 { font-family: var(--serif); font-size: 1.35rem; }
.static .section-head__title { margin-bottom: 20px; }
.static__updated { margin-top: 32px; }

.article__source { margin-top: 26px; font-size: .92rem; color: var(--muted); }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 26px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; color: var(--navy); margin-right: 6px; }
.share__btn { display: inline-flex; align-items: center; gap: 7px; border: 0; background: var(--navy); color: #fff; padding: 8px 14px 8px 10px; border-radius: 999px; font-size: .85rem; font-weight: 700; line-height: 1; cursor: pointer; transition: transform .12s, filter .12s; }
.share__btn svg { width: 18px; height: 18px; flex: none; }
.share__btn:hover { color: #fff; filter: brightness(1.1); transform: translateY(-1px); }
.share__btn--wa { background: #1f9d55; }
.share__btn--fb { background: #1877f2; }
.share__btn--x { background: #111; }
.share__btn--tg { background: #229ed9; }
.share__btn--copy { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1px #cdd4dd; }
.share__btn--copy:hover { color: var(--navy); }
.share__btn--copy.is-copied { background: #e7f6ec; color: #13753d; box-shadow: inset 0 0 0 2px #1f9d55; }
@media (max-width: 640px) {
  .share { gap: 10px; }
  .share__label { width: 100%; }
  .share__btn { padding: 0; width: 44px; height: 44px; justify-content: center; }
  .share__btn svg { width: 22px; height: 22px; }
  .share__btn .share__txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
.article__note { background: var(--soft); padding: 14px 16px; font-size: .9rem; border-radius: var(--radius); margin-bottom: 36px; }
.article__note a { color: var(--navy); text-decoration: underline; }
.preview-bar { background: #fff3c4; color: #5c3f00; text-align: center; padding: 10px 16px; font-weight: 600; margin: -24px 0 20px; }
.preview-bar a { text-decoration: underline; }

/* ---------- Formularios ---------- */
.form-card { margin-top: 36px; border: 1px solid var(--line); border-top: 4px solid var(--navy); padding: 24px; border-radius: var(--radius); }
.form-card h2 { font-family: var(--serif); color: var(--navy); font-size: 1.4rem; margin-bottom: 16px; }
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; border: 1px solid #c8cfd8; border-radius: var(--radius); padding: 11px 12px; font: inherit; font-weight: 400; background: #fff; color: var(--ink); }
.form textarea { resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.form .check a { color: var(--navy); text-decoration: underline; }
.form__legal { font-size: .78rem; color: var(--muted); }
.form .btn { justify-self: start; padding-left: 32px; padding-right: 32px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 16px; font-size: .95rem; }
.alert ul { padding-left: 18px; }
.alert--ok { background: #e7f6ec; color: #135c2c; border: 1px solid #b8e2c6; }
.alert--error { background: #fdecee; color: #8a1023; border: 1px solid #f4c2ca; }
.notfound { text-align: center; padding: 40px 0; }
.notfound .search-inline { margin: 20px auto; }
.notfound p a { color: var(--navy); font-weight: 700; text-decoration: underline; }

/* ---------- Pie ---------- */
.footer { background: var(--navy-dark); color: #b9c4d3; margin-top: 30px; font-size: .9rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.6fr 1fr; gap: 32px; padding-top: 44px; padding-bottom: 36px; }
.footer ul { list-style: none; }
.footer li { padding: 3px 0; }
.footer a:hover { color: #fff; }
.footer__title { color: #fff; font-family: var(--sans); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.footer__mun ul { columns: 2; column-gap: 16px; }
.brand--footer { align-items: flex-start; text-align: left; margin-bottom: 12px; }
.brand--footer .brand__name { font-size: 1.7rem; color: #fff; }
.brand--footer:hover .brand__name { color: #fff; }
.brand--footer .brand__accent { color: #ff5a6e; }
.footer__social { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 16px; }
.footer__social a { color: #fff; font-weight: 600; }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer__legal-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; padding-top: 16px; padding-bottom: 16px; font-size: .82rem; }
.footer__legal nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1080px) {
  .layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .masthead__menu { visibility: visible; }
  .masthead__in { padding-top: 12px; padding-bottom: 10px; }
  .brand__tag { font-size: .8rem; }
  .nav { display: none; border-top: 1px solid var(--line); }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; padding: 6px 0 12px; }
  .nav__list > li > a, .nav__mun > button { padding: 13px 4px; border-bottom: 1px solid var(--line); width: 100%; text-align: left; font-size: .95rem; }
  .mun-menu { position: static; width: 100%; box-shadow: none; border: 0; padding: 8px 4px 4px; }
  .mun-menu ul { columns: 2; }
  .hero { grid-template-columns: 1fr; gap: 22px; }
  .hero__side { grid-template-columns: 1fr 1fr; }
  .hero__side .card--row { grid-column: 1 / -1; }
  .hero__side .card--std + .card--std { border-top: 0; padding-top: 0; }
  .layout { grid-template-columns: 1fr; gap: 12px; }
  .sidebar { border-top: 1px solid var(--line); padding-top: 24px; }
  .topbar__links a:nth-child(3) { display: none; }
}

@media (max-width: 640px) {
  :root { --gap: 18px; }
  body { font-size: 16px; }
  .main { padding-top: 16px; }
  .topbar__in { font-size: .75rem; }
  .topbar__links { gap: 12px; }
  .brand__name { font-size: 1.75rem; }
  .brand .brand__logo { width: 220px; }
  .hero__side, .grid--2, .block__grid, .listing-top, .form__row { grid-template-columns: 1fr; }
  .hero__side .card--std + .card--std, .hero__side .card--row { border-top: 0; padding-top: 0; }
  .hero__side .card--row { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
  .card--lead .card__title { font-size: 1.65rem; }
  .card--lead .card__img { aspect-ratio: 16 / 10; margin: 0 -16px; border-radius: 0; }
  .card--row .card__img, .list--wide .card--row .card__img { flex-basis: 108px; aspect-ratio: 1 / 1; }
  .card--row .card__title, .list--wide .card--row .card__title { font-size: 1.02rem; }
  .grid--2 .card--std, .hero__side .card--std { flex-direction: row-reverse; justify-content: space-between; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
  .grid--2 .card--std .card__img, .hero__side .card--std .card__img { flex: 0 0 108px; aspect-ratio: 1 / 1; }
  .grid--2 .card--std .card__sum, .hero__side .card--std .card__sum { display: none; }
  .article__figure { margin-left: -16px; margin-right: -16px; }
  .article__figure figcaption { padding-left: 16px; padding-right: 16px; }
  .prose { font-size: 1.1rem; line-height: 1.68; }
  .mun-board__grid { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .mun-grid { grid-template-columns: 1fr 1fr; }
  .mun-grid a { padding: 12px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .form-card { padding: 18px; }
  .form .btn { justify-self: stretch; }
  .pagination { font-size: .85rem; }
  .pagination span { display: none; }
  .crumbs li[aria-current] { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .topbar, .nav, .masthead__menu, .masthead__search, .sidebar, .share, .ad, .footer, .breaking, .related { display: none !important; }
  .layout { display: block; }
}
