/*
Theme Name:  Lamarque Noticias
Theme URI:   https://lamarque.gob.ar/noticias/
Author:      Estepa Digital Studio
Author URI:  https://estepadigitalstudio.com/
Description: Tema WordPress del portal de noticias del Municipio de Lamarque.
Version:     2.0.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lamarque-noticias
*/

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --ln-dark:         #1C1B15;
  --ln-dark-soft:    #0F1210;
  --ln-blue:         #243FF0;
  --ln-indigo:       #7182F5;
  --ln-mint:         #8CEFBC;
  --ln-footer-bg:    #0B0F0C;
  --ln-dropdown-bg:  rgba(15,18,16,0.97);

  --ln-white-10:     rgba(255,255,255,0.10);
  --ln-white-20:     rgba(255,255,255,0.20);
  --ln-white-30:     rgba(255,255,255,0.30);
  --ln-white-35:     rgba(255,255,255,0.35);
  --ln-white-40:     rgba(255,255,255,0.40);
  --ln-white-60:     rgba(255,255,255,0.60);
  --ln-white-70:     rgba(255,255,255,0.70);
  --ln-white-80:     rgba(255,255,255,0.80);

  --ln-indigo-300:   #a5b4fc;
  --ln-emerald-300:  #6ee7b7;
  --ln-orange-300:   #fdba74;
  --ln-blue-300:     #93c5fd;

  --ln-topbar-max: 1152px;
  --ln-navbar-max: 1280px;
  --ln-topbar-h:  40px;
  --ln-navbar-h:  80px;
  --ln-total-h:   120px;
  --ln-mega-left-w: 380px;
  --ln-mega-right-w: 460px;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--ln-dark);
  color: #fff;
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; }

/* ============================================================
   SITE WRAPPER
   ============================================================ */
.ln-site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ============================================================
   TOP TICKER BAR
   ============================================================ */
.ln-topbar {
  position: sticky;
  top: 0;
  z-index: 1001;
  background: var(--ln-dark);
  height: var(--ln-topbar-h);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ln-topbar__inner {
  max-width: var(--ln-topbar-max);
  margin: 0 auto;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Left: clock */
.ln-topbar__left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  white-space: nowrap;
}
.ln-clock-day  { font-weight: 800; color: #fff; }
.ln-clock-sep  { color: var(--ln-white-40); }
.ln-clock-time { color: var(--ln-mint); font-weight: 800; }

/* Right: radio controls */
.ln-topbar__right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ln-radio-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 28px;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.10);
  font-size: 0.75rem;
  font-weight: 800;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.ln-radio-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.30);
}

.ln-radio-dot-wrap {
  position: relative;
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}
.ln-radio-dot {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #ef4444;
}
.ln-radio-ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #ef4444;
  animation: ln-ping 1.4s cubic-bezier(0,0,0.2,1) infinite;
}

@keyframes ln-ping {
  0%        { transform: scale(1);   opacity: 0.75; }
  80%, 100% { transform: scale(2.2); opacity: 0; }
}

.ln-sep {
  width: 1px;
  height: 18px;
  background: var(--ln-white-20);
  flex-shrink: 0;
}

.ln-vol-btn,
.ln-play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
  background: rgba(255,255,255,0.10);
}
.ln-vol-btn:hover,
.ln-play-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.15);
}
.ln-vol-btn:disabled,
.ln-play-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.ln-play-btn {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.10);
  color: #fff;
}
.ln-play-btn.is-playing {
  border-color: rgba(248,113,113,0.45);
  background: rgba(239,68,68,0.20);
  color: #fca5a5;
}
.ln-play-btn:disabled { background: rgba(255,255,255,0.08); }

.ln-vol-range {
  -webkit-appearance: none;
  appearance: none;
  width: 96px;
  height: 3px;
  border-radius: 2px;
  background: var(--ln-white-20);
  outline: none;
  cursor: pointer;
}
.ln-vol-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--ln-mint);
  cursor: pointer;
}
.ln-vol-range::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--ln-mint);
  border: none;
  cursor: pointer;
}

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.ln-header {
  position: sticky;
  top: var(--ln-topbar-h);
  z-index: 1000;
  background: linear-gradient(90deg, var(--ln-blue) 0%, var(--ln-indigo) 50%, var(--ln-blue) 100%);
  height: var(--ln-navbar-h);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

body.admin-bar .ln-topbar { top: 32px; }
body.admin-bar .ln-header  { top: calc(var(--ln-topbar-h) + 32px); }
body.admin-bar .ln-mobile-nav { top: calc(var(--ln-total-h) + 32px); }

.ln-navbar__inner {
  max-width: var(--ln-navbar-max);
  margin: 0 auto;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ln-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.ln-brand img {
  height: 64px;
  max-width: 220px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.22));
}

/* ============================================================
   DESKTOP NAV
   ============================================================ */
.ln-desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  justify-content: flex-end;
}

.ln-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.ln-menu__item {
  position: relative;
}

.ln-menu__link,
.ln-menu__trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  border-radius: 12px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  letter-spacing: 0.01em;
  cursor: pointer;
  background: none;
  border: none;
  text-decoration: none;
}
.ln-menu__link:hover,
.ln-menu__trigger:hover,
.ln-menu__item:hover > .ln-menu__link,
.ln-menu__item:hover > .ln-menu__trigger {
  background: rgba(255,255,255,0.13);
  color: #fff;
}
.ln-menu__link.is-active,
.ln-mobile-link.is-active {
  background: var(--ln-blue);
  color: #fff;
}

.ln-menu__chevron {
  transition: transform 0.2s;
  opacity: 0.8;
  flex-shrink: 0;
  pointer-events: none;
}
.ln-menu__item:hover > .ln-menu__trigger .ln-menu__chevron {
  transform: rotate(180deg);
}

/* ---- Dropdown ---- */
.ln-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 320px;
  background: var(--ln-dropdown-bg);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out, visibility 0.2s;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  z-index: 10000;
  backdrop-filter: blur(12px);
}

.ln-menu__item:hover > .ln-dropdown,
.ln-menu__item.is-open > .ln-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ln-dropdown__link {
  display: block;
  padding: 0.625rem 1rem;
  transition: background 0.15s;
  border-radius: 12px;
  margin: 0 0.25rem;
  text-decoration: none;
}
.ln-dropdown__link:hover {
  background: rgba(255,255,255,0.08);
}
.ln-dropdown__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
}
.ln-dropdown__desc {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.15rem;
  line-height: 1.4;
}

/* ---- Mega-menu Tramites ---- */
.ln-dropdown--mega {
  position: fixed;
  top: 0;
  left: 0;
  width: min(95vw, var(--ln-mega-left-w));
  max-height: calc(100vh - 140px);
  padding: 0;
  overflow: hidden;
  transform-origin: top left;
  z-index: 999999;
}
.ln-dropdown--mega.has-active-area {
  width: min(95vw, calc(var(--ln-mega-left-w) + var(--ln-mega-right-w)));
}
.ln-dropdown--mega-scroll {
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}
.ln-dropdown--mega-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.ln-dropdown--mega.has-active-area .ln-dropdown--mega-inner {
  grid-template-columns: minmax(0, var(--ln-mega-left-w)) minmax(0, var(--ln-mega-right-w));
}
.ln-mega-primary {
  padding: 0.5rem;
}
.ln-mega-secondary {
  display: none;
  padding: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.ln-dropdown--mega.has-active-area .ln-mega-secondary {
  display: block;
  border-top: none;
  border-left: 1px solid rgba(255,255,255,0.10);
}
.ln-mega-divider {
  height: 1px;
  margin: 0.5rem 0;
  background: rgba(255,255,255,0.10);
}
.ln-mega-section-label {
  padding: 0.3rem 0.75rem 0.4rem;
  font-size: 0.625rem;
  font-weight: 800;
  color: rgba(255,255,255,0.40);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.ln-mega-stack,
.ln-mega-area-list,
.ln-mega-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.ln-mega-quick-link,
.ln-mega-area-btn,
.ln-mega-card {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255,255,255,0.85);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none;
}
.ln-mega-area-btn:hover,
.ln-mega-area-btn.is-active,
.ln-mega-quick-link:hover {
  background: rgba(255,255,255,0.10);
  color: #fff;
}
.ln-mega-card {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.10);
}
.ln-mega-card:hover {
  background: rgba(255,255,255,0.10);
  color: #fff;
}
.ln-mega-item-title {
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.25;
}
.ln-mega-item-desc {
  margin-top: 0.2rem;
  font-size: 0.6875rem;
  line-height: 1.4;
  color: rgba(255,255,255,0.55);
}
.ln-mega-panel {
  display: none;
}
.ln-mega-panel.is-active {
  display: block;
}
.ln-mega-panel__title {
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
}
.ln-mega-card-list {
  margin-top: 0.75rem;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 0.25rem;
}
.ln-mega-note {
  margin-top: 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  font-size: 0.6875rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.62);
}

/* ---- Tomate button ---- */
.ln-tomate-btn {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 800;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.10);
  border-radius: 12px;
  transition: background 0.15s, border-color 0.15s;
  white-space: nowrap;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.ln-tomate-btn:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.55);
}

/* ---- Search button ---- */
.ln-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.75);
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
}
.ln-search-btn:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* ============================================================
   MOBILE TOGGLE
   ============================================================ */
.ln-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #fff;
  background: rgba(255,255,255,0.10);
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  flex-shrink: 0;
}
.ln-mobile-toggle:hover { background: rgba(255,255,255,0.20); }

/* ============================================================
   MOBILE NAV PANEL
   ============================================================ */
.ln-mobile-nav {
  display: none;
  position: fixed;
  top: var(--ln-total-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ln-dark-soft);
  overflow-y: auto;
  z-index: 999;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 2rem;
}
.ln-mobile-nav.is-open { display: block; }

.ln-mobile-nav__inner {
  max-width: var(--ln-navbar-max);
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ln-mobile-link {
  display: block;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  border-radius: 12px;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}
.ln-mobile-link:hover { color: #fff; background: rgba(255,255,255,0.10); }
.ln-mobile-link--tomate {
  color: #fff;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.10);
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.ln-mobile-group {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  overflow: hidden;
}
.ln-mobile-group > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  list-style: none;
  transition: color 0.15s, background 0.15s;
}
.ln-mobile-group > summary::-webkit-details-marker { display: none; }
.ln-mobile-group > summary:hover { color: #fff; background: rgba(255,255,255,0.06); }
.ln-mobile-group[open] > summary { color: #fff; }

.ln-mob-chevron {
  transition: transform 0.2s;
  flex-shrink: 0;
}
.ln-mobile-group[open] > summary .ln-mob-chevron {
  transform: rotate(180deg);
}

.ln-mobile-sub {
  padding: 0.25rem 0.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.ln-mobile-sub > a {
  display: block;
  padding: 0.45rem 0.75rem;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.80);
  border-radius: 12px;
  transition: background 0.12s, color 0.12s;
  text-decoration: none;
}
.ln-mobile-sub > a:hover {
  background: rgba(255,255,255,0.10);
  color: #fff;
}
.ln-mobile-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(255,255,255,0.02);
  transition: background 0.15s, color 0.15s;
}
.ln-mobile-radio:hover {
  background: rgba(255,255,255,0.10);
  color: #fff;
}

/* nested details in mobile sub (Tramites groups) */
.ln-mobile-sub details {
  border-radius: 12px;
}
.ln-mobile-sub details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--ln-white-70);
  padding: 0.45rem 0.5rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  border: none;
  transition: color 0.12s;
}
.ln-mobile-sub details > summary::-webkit-details-marker { display: none; }
.ln-mobile-sub details[open] > summary { color: #fff; }
.ln-mobile-sub details[open] > summary .ln-mob-chevron { transform: rotate(180deg); }

.ln-mobile-sub details .ln-mobile-sub {
  padding-left: 1rem;
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.ln-main { flex: 1; }

.ln-single-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

body.single {
  background: #F4F6FF;
  color: #1C1B15;
}

body.single .ln-site,
body.single .ln-main,
body.single .ln-single-shell {
  background: transparent;
}

body.single .ln-single-meta,
body.single .ln-back-link {
  color: rgba(28,27,21,0.55);
}

body.single .ln-single-title,
body.single .ln-single-content,
body.single .ln-single-content h1,
body.single .ln-single-content h2,
body.single .ln-single-content h3,
body.single .ln-single-content h4 {
  color: #1C1B15;
}

body.single .ln-single-content a {
  color: var(--ln-blue);
}

body.single .ln-single-content blockquote {
  background: rgba(28,27,21,0.04);
  color: rgba(28,27,21,0.75);
}

.ln-page-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

body.blog,
body.archive,
body.home.post-type-archive-post {
  background: #F4F6FF;
  color: #1C1B15;
}

body.blog .ln-site,
body.archive .ln-site,
body.home.post-type-archive-post .ln-site,
body.blog .ln-main,
body.archive .ln-main,
body.home.post-type-archive-post .ln-main {
  background: transparent;
}

.ln-posts-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
}

/* ============================================================
   ARTICLE CARDS
   ============================================================ */
.ln-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.ln-card {
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(28,27,21,0.08);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.08);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.ln-card:hover {
  border-color: rgba(36,63,240,0.15);
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.12);
  transform: translateY(-3px);
}

.ln-card__media {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #dfe6ff;
}
.ln-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.ln-card:hover .ln-card__media img { transform: scale(1.04); }

.ln-card__body {
  padding: 1rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.ln-card__date {
  font-size: 0.76rem;
  color: #5f6b85;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ln-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
}
.ln-card__title a { color: #1C1B15; transition: color 0.15s; }
.ln-card__title a:hover { color: var(--ln-blue); }

.ln-card__excerpt {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.6;
  flex: 1;
}

/* Buttons */
.ln-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  text-decoration: none;
  cursor: pointer;
  border: none;
  width: fit-content;
}
.ln-button--ghost {
  border: 1px solid rgba(36,63,240,0.14);
  color: var(--ln-blue);
  background: #eef2ff;
}
.ln-button--ghost:hover {
  border-color: rgba(36,63,240,0.28);
  color: #1833dc;
  background: #e4eaff;
}
.ln-button--primary {
  background: var(--ln-blue);
  color: #fff;
}
.ln-button--primary:hover { background: var(--ln-indigo); }

/* ============================================================
   PAGINATION
   ============================================================ */
.ln-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 2rem 0;
}
.ln-pagination a,
.ln-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.5rem;
  border-radius: 7px;
  font-size: 0.84rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--ln-white-70);
  transition: background 0.15s, color 0.15s;
}
.ln-pagination a:hover {
  background: rgba(255,255,255,0.10);
  color: #fff;
}
.ln-pagination .current {
  background: var(--ln-blue);
  color: #fff;
  border-color: var(--ln-blue);
}

/* ============================================================
   SINGLE ARTICLE
   ============================================================ */
.ln-single-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--ln-white-40);
  margin-bottom: 1.25rem;
}
.ln-single-meta strong { color: var(--ln-mint); }

.ln-single-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1.5rem;
}

.ln-single-featured {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
  aspect-ratio: 16/9;
}
.ln-single-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ln-single-content {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ln-white-80);
}
.ln-single-content p { margin-bottom: 1.1rem; }
.ln-single-content h1,
.ln-single-content h2,
.ln-single-content h3,
.ln-single-content h4 {
  color: #fff;
  font-weight: 700;
  margin: 1.75rem 0 0.75rem;
  line-height: 1.3;
}
.ln-single-content h2 { font-size: 1.35rem; }
.ln-single-content h3 { font-size: 1.15rem; }
.ln-single-content a { color: var(--ln-indigo-300); text-decoration: underline; }
.ln-single-content ul,
.ln-single-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.ln-single-content ul { list-style: disc; }
.ln-single-content ol { list-style: decimal; }
.ln-single-content li { margin-bottom: 0.35rem; }
.ln-single-content blockquote {
  border-left: 3px solid var(--ln-indigo);
  padding: 0.75rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border-radius: 0 8px 8px 0;
  margin: 1.25rem 0;
  color: var(--ln-white-70);
  font-style: italic;
}
.ln-single-content img {
  border-radius: 8px;
  margin: 1rem 0;
  max-width: 100%;
}

.ln-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
  transition: color 0.15s;
  text-decoration: none;
}
.ln-back-link:hover { color: #fff; }

/* ============================================================
   ARCHIVE HEADER
   ============================================================ */
.ln-archive-header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(28,27,21,0.08);
}
.ln-archive-header h1 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #1C1B15;
}
.ln-archive-header p {
  max-width: 720px;
  font-size: 0.95rem;
  color: #5f6b85;
  margin-top: 0.45rem;
  line-height: 1.65;
}

/* ============================================================
   FOOTER
   ============================================================ */
.ln-footer {
  background: var(--ln-footer-bg);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 3rem 1.25rem 2rem;
}

.ln-footer__inner {
  max-width: 72rem;
  margin: 0 auto;
}

/* ---- Emergencies ---- */
.ln-emerg {
  margin-bottom: 3rem;
}
.ln-emerg__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}
.ln-emerg__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.ln-emerg-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  overflow: hidden;
  position: relative;
}
.ln-emerg-card:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.20);
}
.ln-emerg-card__left {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}
.ln-emerg-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.ln-emerg-card__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
}
.ln-emerg-card--policia   .ln-emerg-card__icon { color: var(--ln-indigo-300); }
.ln-emerg-card--ambulancia .ln-emerg-card__icon { color: var(--ln-emerald-300); }
.ln-emerg-card--bomberos  .ln-emerg-card__icon { color: var(--ln-orange-300); }

.ln-emerg-card__name {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}
.ln-emerg-card__sub {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.ln-emerg-card__right {
  text-align: right;
  flex-shrink: 0;
  line-height: 1;
}
.ln-emerg-card__number {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  display: block;
  line-height: 1;
}
.ln-emerg-card__hint {
  font-size: 0.65rem;
  color: var(--ln-white-30);
  letter-spacing: 0.03em;
  display: block;
  margin-top: 0.5rem;
}

/* ---- Footer grid ---- */
.ln-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1fr 1.4fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

/* Col 1 — Brand */
.ln-footer-brand__logo {
  height: 80px;
  width: auto;
  margin-bottom: 1rem;
}
.ln-footer-brand__desc {
  font-size: 0.82rem;
  color: var(--ln-white-60);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}
.ln-footer-brand__legal {
  font-size: 0.7rem;
  color: var(--ln-white-35);
  line-height: 1.55;
}

/* Col 2 — Contact */
.ln-footer-col__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}
.ln-footer-contact__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.ln-footer-contact__row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
}
.ln-footer-contact__row svg { flex-shrink: 0; margin-top: 2px; }
.ln-footer-contact__row a {
  line-height: 1.4;
  text-decoration: none;
  transition: opacity 0.15s;
}
.ln-footer-contact__row a:hover { opacity: 0.8; text-decoration: underline; }
.ln-footer-contact__row span { line-height: 1.4; }

.ln-color-blue    { color: var(--ln-blue-300); }
.ln-color-emerald { color: var(--ln-emerald-300); }
.ln-color-orange  { color: var(--ln-orange-300); }
.ln-color-indigo  { color: var(--ln-indigo-300); }

/* Col 3 — Social */
.ln-footer-social__desc {
  font-size: 0.82rem;
  color: var(--ln-white-60);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.ln-footer-social__btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.ln-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.80);
  background: rgba(255,255,255,0.10);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.ln-social-btn:hover {
  color: #fff;
  transform: scale(1.03);
}
.ln-social-btn:active { transform: scale(0.98); }
.ln-social-btn--fb:hover { background: #1877F2; border-color: #1877F2; }
.ln-social-btn--ig:hover { background: #E1306C; border-color: #E1306C; }

/* Col 4 — Map */
.ln-footer-map__iframe-wrap {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  margin-bottom: 0.75rem;
}
.ln-footer-map__iframe-wrap iframe {
  display: block;
  width: 100%;
  height: 160px;
  border: none;
}
.ln-footer-map__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ln-indigo-300);
  text-decoration: none;
  transition: color 0.15s;
}
.ln-footer-map__btn:hover { color: #fff; }

/* ---- Footer divider ---- */
.ln-footer__divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin: 0 0 1.5rem;
}

/* ---- Footer bottom ---- */
.ln-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ln-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.6rem;
  font-size: 0.72rem;
  color: var(--ln-white-40);
}
.ln-footer__legal-links a {
  color: var(--ln-white-40);
  text-decoration: none;
  transition: color 0.15s;
}
.ln-footer__legal-links a:hover { color: var(--ln-white-70); }
.ln-footer__legal-sep { color: var(--ln-white-20); }

.ln-footer__copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--ln-white-30);
}
.ln-footer__copy-row a {
  color: var(--ln-white-30);
  text-decoration: underline;
  transition: color 0.15s;
}
.ln-footer__copy-row a:hover { color: var(--ln-white-60); }

/* ============================================================
   MEDIA QUERIES
   ============================================================ */

/* <= 1100px */
@media (max-width: 1100px) {
  .ln-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
}

/* <= 920px: switch to mobile nav */
@media (max-width: 920px) {
  .ln-desktop-nav { display: none; }
  .ln-mobile-toggle { display: flex; }

  .ln-vol-range { display: none; }

  .ln-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* <= 720px */
@media (max-width: 720px) {
  .ln-topbar__left {
    gap: 0.35rem;
    font-size: 0.75rem;
  }
  .ln-brand img {
    height: 56px;
    max-width: 200px;
  }

  .ln-emerg__grid {
    grid-template-columns: 1fr;
  }
  .ln-emerg-card__number { font-size: 1.6rem; }

  .ln-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ln-footer__copy-row {
    flex-direction: column;
    text-align: center;
  }

  .ln-cards-grid {
    grid-template-columns: 1fr;
  }

  .ln-single-shell,
  .ln-page-shell,
  .ln-posts-section {
    padding: 1.5rem 1rem 2rem;
  }
}

/* <= 480px */
@media (max-width: 480px) {
  .ln-radio-label { display: none; }

  .ln-clock-day,
  .ln-clock-date,
  .ln-clock-time,
  .ln-clock-sep {
    display: inline-flex !important;
  }

  .ln-topbar__left {
    font-size: 0.72rem;
    gap: 0.2rem;
  }

  .ln-footer__legal-links {
    justify-content: center;
  }
}

@media (min-width: 640px) {
  .ln-topbar__inner,
  .ln-navbar__inner,
  .ln-mobile-nav__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .ln-topbar__left {
    font-size: 0.875rem;
  }
}

@media (min-width: 1024px) {
  .ln-topbar__inner,
  .ln-navbar__inner,
  .ln-mobile-nav__inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ============================================================
   FIX FOOTER CONTACTO - IGUAL AL SITIO PRINCIPAL
   ============================================================ */

.ln-color-blue,
.ln-color-emerald,
.ln-color-orange,
.ln-color-indigo {
  color: rgba(255,255,255,.72) !important;
}

.ln-footer-contact__row a,
.ln-footer-contact__row span {
  color: rgba(255,255,255,.72) !important;
}

.ln-footer-contact__row svg {
  color: rgba(255,255,255,.72) !important;
}

.ln-footer-contact__row a:hover {
  color: #ffffff !important;
}