/* =============================================
   PARAGUAY EN VIVO — Main Stylesheet v4
   Deewan / The Burboh Group
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Rounded+Mplus+1c:wght@400;500;700;800;900&display=swap');

:root {
  --red:        #D42B2B;
  --red-dark:   #A81E1E;
  --blue:       #1A3FAF;
  --blue-dark:  #122E8A;
  --gold:       #F5C518;
  --blue-light: #EEF2FF;
  --red-light:  #FEF0F0;
  --text:       #111111;
  --muted:      #666666;
  --border:     #E0E0E0;
  --bg:         #F4F4F2;
  --white:      #ffffff;
  --dept-concepcion:    #1A6B3A; --dept-concepcion-dk:  #124A28;
  --dept-sanpedro:      #2E86AB; --dept-sanpedro-dk:    #1E5C78;
  --dept-cordillera:    #7B4F2E; --dept-cordillera-dk:  #553620;
  --dept-guaira:        #8B2FC9; --dept-guaira-dk:      #5E1F88;
  --dept-caaguazu:      #D4820A; --dept-caaguazu-dk:    #9A5E07;
  --dept-caazapa:       #2E7D52; --dept-caazapa-dk:     #1E5438;
  --dept-itapua:        #922B21; --dept-itapua-dk:      #6B1E17;
  --dept-misiones:      #1565A6; --dept-misiones-dk:    #0D4472;
  --dept-paraguari:     #5C7A2E; --dept-paraguari-dk:   #3E5420;
  --dept-altopa:        #1A6B8A; --dept-altopa-dk:      #114A60;
  --dept-central:       #1A3FAF; --dept-central-dk:     #122E8A;
  --dept-neembucu:      #4A7A9B; --dept-neembucu-dk:    #31546A;
  --dept-amambay:       #B5451B; --dept-amambay-dk:     #7D2F12;
  --dept-canindeyu:     #2A7A3E; --dept-canindeyu-dk:   #1A5228;
  --dept-ptehayes:      #C49A1A; --dept-ptehayes-dk:    #8A6B12;
  --dept-altopy:        #6B5B3E; --dept-altopy-dk:      #4A3F2A;
  --dept-boqueron:      #C47A1A; --dept-boqueron-dk:    #8A5412;
  --font: 'Rounded Mplus 1c', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ---- HEADER ---- */
.site-header {
  background: linear-gradient(90deg, var(--red) 50%, var(--blue) 50%);
  height: 56px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}
.site-logo {
  display: flex;
  align-items: center;
  grid-column: 2;
  justify-self: center;
}
.site-logo .logo-py   { color: #fff; font-weight: 900; font-size: 18px; }
.site-logo .logo-star { color: var(--gold); font-size: 22px; padding: 0 2px; }
.site-logo .logo-ev   { color: #fff; font-weight: 900; font-size: 18px; }
.header-right {
  grid-column: 3;
  justify-self: end;
  display: flex;
  gap: 12px;
  align-items: center;
}
.header-search {
  background: rgba(255,255,255,.18); border: none; border-radius: 20px;
  padding: 6px 14px; font-family: var(--font); font-size: 12px;
  color: #fff; width: 160px; outline: none;
}
.header-search::placeholder { color: rgba(255,255,255,.65); }
.header-btn {
  background: rgba(255,255,255,.15); color: #fff; border: none;
  border-radius: 20px; padding: 6px 14px; font-family: var(--font);
  font-size: 12px; font-weight: 700; cursor: pointer;
}
.header-btn-camaras {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #F5C518, #E6A800);
  color: #111;
  border: none;
  border-radius: 20px;
  padding: 7px 16px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(245,197,24,.4);
  transition: transform .15s, box-shadow .15s;
  letter-spacing: .2px;
}
.header-btn-camaras:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245,197,24,.55);
  color: #111;
}
.header-hamburger { display: none; color: #fff; font-size: 22px; cursor: pointer; padding: 4px; background: none; border: none; }

/* ---- BREAKING NEWS ---- */
.breaking-bar {
  background: #F5C518;
  color: #111;
  display: flex;
  align-items: center;
  padding: 7px 20px;
  gap: 12px;
  overflow: hidden;
  width: 100%;
}
.breaking-label {
  background: #D42B2B;
  color: #fff;
  font-weight: 900;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.breaking-track { flex: 1; overflow: hidden; }
.breaking-inner {
  display: inline-block;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  color: #111;
  animation: ticker 60s linear infinite;
  padding-left: 100%;
}
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* ---- MAIN NAV ---- */
.main-nav {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  display: flex;
  justify-content: center;
  width: 100%;
}
.main-nav-inner {
  display: flex;
  padding: 0 16px;
  justify-content: center;
  width: 100%;
  max-width: 1400px;
}
.nav-item {
  display: inline-flex; align-items: center; padding: 12px 14px;
  font-size: 11px; font-weight: 800; color: var(--muted); cursor: pointer;
  border-bottom: 3px solid transparent; text-transform: uppercase;
  letter-spacing: .5px; transition: all .15s; white-space: nowrap;
}
.nav-item:hover { color: var(--red); border-bottom-color: var(--red); }
.nav-item.active { color: var(--blue); border-bottom-color: var(--blue); }
.nav-item.nav-nacionales { color: var(--red); font-size: 12px; }
.nav-item.nav-nacionales.active { border-bottom-color: var(--red); }
.nav-divider { width: 1px; background: var(--border); margin: 8px 4px; align-self: stretch; display: inline-block; }

/* ---- FILTER STRIP ---- */
.filter-strip {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  display: flex;
  justify-content: center;
  width: 100%;
}
.filter-strip-inner {
  width: 100%;
  max-width: 1400px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}
.filter-row {
  display: grid;
  grid-template-columns: 52px repeat(10, 1fr);
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.filter-row:last-child { border-bottom: none; }
.filter-row.filter-row-2 {
  grid-template-columns: 52px repeat(8, 1fr);
}
.filter-row.filter-row-cats {
  grid-template-columns: 52px repeat(12, 1fr);
}
.filter-label {
  font-size: 10px; font-weight: 900; color: var(--muted);
  text-transform: uppercase; letter-spacing: .8px;
  white-space: nowrap;
}
.pill-dept {
  display: flex; border-radius: 20px; overflow: hidden;
  border: 1.5px solid var(--border); font-size: 11px; font-weight: 700;
  cursor: pointer; transition: all .15s; width: 100%;
}
.pill-dept .pl { flex: 1; }
.pill-dept:hover { border-color: var(--blue); transform: translateY(-1px); }
.pill-dept .pl { padding: 4px 9px 4px 12px; background: var(--white); color: var(--muted); border-right: 1px solid var(--border); }
.pill-dept .pr { padding: 4px 9px 4px 7px; background: var(--white); color: var(--muted); }
.pill-dept.active .pl { background: var(--blue); color: #fff; border-right-color: var(--blue-dark); }
.pill-dept.active .pr { background: var(--blue-dark); color: #fff; }
.pill-dept.active { border-color: var(--blue); }
.pill-cat {
  display: flex; justify-content: center; border-radius: 20px; padding: 4px 8px;
  background: var(--white); border: 1.5px solid var(--border);
  font-size: 11px; font-weight: 700; color: var(--muted);
  cursor: pointer; transition: all .15s; text-align: center;
}
.pill-cat:hover, .pill-cat.active { background: var(--gold); color: #111; border-color: var(--gold); }

/* ---- LAYOUT ---- */
.site-main { max-width: 1400px; margin: 0 auto; padding: 20px; }
.section-label {
  font-size: 10px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 1.5px; color: var(--muted); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ---- NEWS CARDS ---- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px; }
.news-card {
  background: var(--white); border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border); cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.news-card:hover { transform: translateY(-2px); box-shadow: 0 5px 18px rgba(0,0,0,.09); }
.news-card.featured { grid-column: span 2; }
.card-thumbnail { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.card-thumbnail.featured { aspect-ratio: unset; height: 320px; object-fit: cover; }
.card-body { padding: 12px; }
.card-body.featured { padding: 16px; }
.card-tag { display: inline-flex; border-radius: 20px; overflow: hidden; margin-bottom: 8px; font-size: 9px; font-weight: 900; letter-spacing: .5px; }
.card-tag .tag-dept { padding: 3px 8px; background: var(--blue); color: #fff; }
.card-tag .tag-cat  { padding: 3px 8px; background: var(--blue-dark); color: #fff; }
.card-title { font-size: 14px; font-weight: 800; line-height: 1.35; color: var(--text); margin-bottom: 5px; }
.card-title.featured { font-size: 20px; line-height: 1.2; }
.card-meta { font-size: 10px; color: var(--muted); font-weight: 600; }
.tag-breaking { background: var(--red); color: #fff; border-radius: 4px; padding: 3px 8px; font-size: 10px; font-weight: 900; letter-spacing: 1px; display: inline-block; margin-bottom: 8px; animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.65} }

/* ---- DEPT GRID ---- */
.dept-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 20px; }
.dept-card { border-radius: 10px; overflow: hidden; cursor: pointer; transition: transform .2s; }
.dept-card:hover { transform: translateY(-2px); }
.dept-card-inner { padding: 10px 10px 8px; display: flex; flex-direction: column; gap: 3px; }
.dept-card-name { font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .5px; color: #fff; line-height: 1.1; }
.dept-card-bar { height: 3px; border-radius: 2px; margin-top: 4px; background: rgba(255,255,255,.22); }
.dept-card-bar-fill { height: 100%; border-radius: 2px; background: rgba(255,255,255,.85); }

/* ---- LIVE TICKER ---- */
/* ---- LIVE TICKER ---- */
.live-ticker {
  background: var(--blue); color: #fff; padding: 7px 18px;
  display: flex; align-items: center; gap: 10px;
  border-radius: 10px; margin-bottom: 20px;
  overflow: hidden;
}
.ticker-label { background: var(--gold); color: #111; font-weight: 900; font-size: 9px; padding: 2px 7px; border-radius: 3px; white-space: nowrap; letter-spacing: 1px; flex-shrink: 0; }
.ticker-track { flex: 1; overflow: hidden; min-width: 0; }
.ticker-text { display: inline-block; font-size: 11px; font-weight: 600; white-space: nowrap; animation: ticker 60s linear infinite; padding-left: 100%; }

/* ---- TWO COLUMN ---- */
.two-col { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 20px; }

/* ---- LIST CARD — grilla 3 columnas full width ---- */
.list-card {
  background: transparent;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.list-item {
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border);
  cursor: pointer; transition: transform .2s, box-shadow .2s; overflow: hidden;
}
.list-item:hover { transform: translateY(-2px); box-shadow: 0 5px 18px rgba(0,0,0,.09); }
.list-item:hover { background: #F8F8F8; }
.list-thumb { width: 100%; height: 200px; object-fit: cover; display: block; flex-shrink: 0; }
.list-thumb.placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900; color: #fff; height: 200px; width: 100%;
}
.list-content { padding: 12px; }
.list-title { font-size: 13px; font-weight: 800; line-height: 1.35; color: var(--text); }
.list-meta { font-size: 10px; color: var(--muted); margin-top: 6px; font-weight: 600; }

/* ---- SIDEBAR ---- */
.sidebar-card { background: var(--white); border-radius: 10px; border: 1px solid var(--border); overflow: hidden; }
.sidebar-header { padding: 10px 14px; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 7px; }
.sidebar-header .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.sidebar-item { padding: 9px 14px; border-bottom: 1px solid var(--border); display: flex; gap: 9px; align-items: flex-start; cursor: pointer; transition: background .15s; }
.sidebar-item:last-child { border-bottom: none; }
.sidebar-item:hover { background: #F8F8F8; }
.sidebar-num { font-size: 18px; font-weight: 900; color: var(--border); min-width: 26px; line-height: 1; }
.sidebar-title { font-size: 12px; font-weight: 700; line-height: 1.3; }
.sidebar-meta { font-size: 10px; color: var(--muted); margin-top: 2px; }

/* ---- DEPT SECTION PAGE ---- */
.dept-hero { padding: 20px 24px 0; }
.dept-breadcrumb { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.6); margin-bottom: 6px; }
.dept-breadcrumb a { color: #fff; }
.dept-title { font-size: 32px; font-weight: 900; color: #fff; line-height: 1; margin-bottom: 12px; }
.dept-count { font-size: 12px; font-weight: 700; color: rgba(255,255,255,.7); padding-bottom: 16px; }
.dept-cat-nav { padding: 0 24px; display: flex; overflow-x: auto; scrollbar-width: none; }
.dept-cat-nav::-webkit-scrollbar { display: none; }
.dept-cat-item { padding: 11px 16px; font-size: 11px; font-weight: 800; color: rgba(255,255,255,.6); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; text-transform: uppercase; letter-spacing: .5px; transition: all .15s; }
.dept-cat-item:hover { color: #fff; }
.dept-cat-item.active { color: #fff; border-bottom-color: var(--gold); }
.news-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.news-grid-4 .news-card.featured { grid-column: span 2; }

/* ---- ARTICLE ---- */
.article-wrap { max-width: 720px; margin: 0 auto; padding: 28px 20px 40px; }
.article-tags { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.article-title { font-size: 28px; font-weight: 900; line-height: 1.18; margin-bottom: 14px; }
.article-bajada { font-size: 16px; font-weight: 500; line-height: 1.65; color: var(--muted); border-left: 4px solid var(--red); padding-left: 14px; margin-bottom: 18px; }
.article-meta { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.author-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px; color: #fff; flex-shrink: 0; }
.author-name { font-size: 12px; font-weight: 800; }
.author-role { font-size: 10px; color: var(--muted); font-weight: 600; }
.article-time { margin-left: auto; text-align: right; font-size: 11px; color: var(--muted); font-weight: 600; }
.article-time strong { display: block; font-size: 12px; color: var(--text); }
.share-bar { display: flex; gap: 7px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.share-label { font-size: 10px; font-weight: 900; color: var(--muted); text-transform: uppercase; letter-spacing: .8px; }
.share-btn { border: none; border-radius: 20px; padding: 6px 13px; font-family: var(--font); font-size: 11px; font-weight: 800; cursor: pointer; }
.share-wa   { background: #25D366; color: #fff; }
.share-tw   { background: #000; color: #fff; }
.share-fb   { background: #1877F2; color: #fff; }
.share-copy { background: var(--white); color: var(--text); border: 1.5px solid var(--border); }
.hero-image { width: 100%; border-radius: 12px; object-fit: cover; margin-bottom: 8px; }
.image-caption { font-size: 11px; color: var(--muted); font-weight: 600; margin-bottom: 22px; }
.update-badge { background: #FFF8E1; border: 1.5px solid var(--gold); border-radius: 8px; padding: 9px 14px; margin-bottom: 18px; display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; color: #7A5C00; }
.update-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.article-body { font-size: 15px; line-height: 1.85; color: #222; }
.article-body p { margin-bottom: 18px; }
.article-body h2 { font-size: 18px; font-weight: 900; margin: 28px 0 12px; padding-left: 12px; border-left: 4px solid var(--gold); }
.article-body blockquote { background: #F8F8F6; border-left: 4px solid var(--red); padding: 16px 18px; border-radius: 0 10px 10px 0; margin: 22px 0; font-size: 15px; font-weight: 700; font-style: italic; }
.article-body blockquote cite { display: block; font-size: 11px; font-weight: 800; color: var(--muted); font-style: normal; margin-top: 8px; }
.data-box { background: var(--blue); color: #fff; border-radius: 12px; padding: 18px 20px; margin: 24px 0; }
.data-box-title { font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; opacity: .65; margin-bottom: 12px; }
.data-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.data-row:last-child { border: none; }
.data-label { font-size: 12px; font-weight: 700; opacity: .85; }
.data-val { font-size: 16px; font-weight: 900; }
.article-footer-tags { display: flex; gap: 6px; flex-wrap: wrap; margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--border); }
.footer-tag { background: var(--white); border: 1.5px solid var(--border); border-radius: 20px; padding: 4px 12px; font-size: 11px; font-weight: 700; color: var(--muted); cursor: pointer; }
.footer-tag:hover { border-color: var(--blue); color: var(--blue); }
.related-grid { max-width: 720px; margin: 0 auto; padding: 0 20px 40px; }
.related-grid .news-grid { grid-template-columns: repeat(3, 1fr); }

/* ---- PAGINATION ---- */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.page-btn { background: var(--white); border: 1.5px solid var(--border); border-radius: 8px; padding: 7px 13px; font-family: var(--font); font-size: 12px; font-weight: 700; cursor: pointer; color: var(--muted); transition: all .15s; }
.page-btn:hover { border-color: var(--blue); color: var(--blue); }
.page-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }


/* ---- MOBILE DRAWER ---- */
.drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 200; }
.drawer-overlay.open { display: block; }
.drawer { position: fixed; top: 0; right: -100%; width: 85%; max-width: 340px; height: 100%; background: var(--white); z-index: 201; transition: right .3s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; overflow: hidden; }
.drawer.open { right: 0; }
.drawer-header { background: linear-gradient(90deg, var(--red) 50%, var(--blue) 50%); padding: 48px 16px 14px; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.drawer-close { color: #fff; font-size: 22px; cursor: pointer; font-weight: 900; background: none; border: none; }
.drawer-body { flex: 1; overflow-y: auto; scrollbar-width: none; padding-bottom: 20px; }
.drawer-body::-webkit-scrollbar { display: none; }
.drawer-section-title { padding: 12px 16px 6px; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); border-bottom: 1px solid var(--border); }
.drawer-link { display: flex; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--border); cursor: pointer; gap: 10px; transition: background .15s; }
.drawer-link:hover { background: #F8F8F8; }
.drawer-link .icon { font-size: 16px; width: 20px; text-align: center; }
.drawer-link .label { font-size: 13px; font-weight: 800; color: var(--text); flex: 1; }
.drawer-link .arrow { font-size: 10px; color: var(--muted); }
.drawer-link.highlight .label { color: var(--red); }
.drawer-cats { padding: 10px 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.drawer-dept { display: flex; align-items: center; padding: 9px 16px; border-bottom: 1px solid var(--border); cursor: pointer; gap: 10px; transition: background .15s; }
.drawer-dept:hover { background: #F8F8F8; }
.dept-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.dept-name { font-size: 12px; font-weight: 800; color: var(--text); flex: 1; }

/* ---- MOBILE BOTTOM NAV ---- */
.mobile-bottom-nav { display: none; background: var(--white); border-top: 1px solid var(--border); position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; }
.mobile-bottom-nav-inner { display: flex; }
.mbn-item { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 7px 4px; font-size: 8px; font-weight: 800; color: var(--muted); cursor: pointer; gap: 2px; text-transform: uppercase; letter-spacing: .4px; background: none; border: none; font-family: var(--font); }
.mbn-item.active { color: var(--red); }
.mbn-icon { font-size: 18px; line-height: 1; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .header-search, .header-btn { display: none; }
  .header-hamburger { display: block; }
  .main-nav { display: none; }
  .filter-strip { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card.featured { grid-column: span 1; }
  .card-title.featured { font-size: 16px; }
  .dept-grid { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .list-card { grid-template-columns: 1fr; }
  .intl-strip { grid-template-columns: 1fr; }
  .site-main { padding: 12px; }
  .article-wrap { padding: 16px 14px 24px; }
  .article-title { font-size: 22px; }
  .news-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .news-grid-4 .news-card.featured { grid-column: span 2; }
  .related-grid .news-grid { grid-template-columns: 1fr; }
  .mobile-bottom-nav { display: block; }
  body { padding-bottom: 56px; }
  .dept-title { font-size: 24px; }
}
@media (max-width: 480px) {
  .news-grid-4 { grid-template-columns: 1fr; }
  .news-grid-4 .news-card.featured { grid-column: span 1; }
  .dept-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---- FOOTER COMPLETO ---- */
.site-footer {
  background: #111 !important;
  color: #ccc !important;
  margin-top: 20px !important;
}

.footer-top {
  background: #111 !important;
  border-bottom: 1px solid #2a2a2a !important;
  padding: 40px 0 32px !important;
}
.footer-top-inner {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr 1fr !important;
  gap: 32px !important;
  text-align: left !important;
}
.footer-brand { text-align: left !important; }
.footer-logo {
  font-weight: 900 !important;
  font-size: 18px !important;
  color: #fff !important;
  margin-bottom: 10px !important;
  background: none !important;
  display: block !important;
  text-align: left !important;
  letter-spacing: -.5px !important;
}
.footer-logo .star { color: #F5C518 !important; }
.footer-desc {
  font-size: 12px !important;
  line-height: 1.6 !important;
  color: #999 !important;
  margin-bottom: 8px !important;
  max-width: 260px !important;
  text-align: left !important;
  display: block !important;
}
.footer-url {
  font-size: 11px !important;
  color: #666 !important;
  font-weight: 700 !important;
  text-align: left !important;
  display: block !important;
}
.footer-col { text-align: left !important; }
.footer-col-title {
  font-size: 10px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.2px !important;
  color: #fff !important;
  margin-bottom: 10px !important;
  padding-bottom: 6px !important;
  border-bottom: 1px solid #2a2a2a !important;
  display: block !important;
  text-align: left !important;
}
.footer-link {
  display: block !important;
  font-size: 12px !important;
  color: #999 !important;
  padding: 3px 0 !important;
  font-weight: 600 !important;
  text-align: left !important;
  background: none !important;
}
.footer-link:hover { color: #F5C518 !important; }

.footer-copyright {
  background: #0a0a0a !important;
  padding: 12px 0 !important;
}
.footer-copyright-inner {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}
.footer-copyright span { font-size: 11px !important; color: #555 !important; font-weight: 600 !important; }
.footer-social { display: flex !important; gap: 8px !important; }
.footer-social-btn {
  background: #1a1a1a !important;
  color: #999 !important;
  border-radius: 6px !important;
  padding: 5px 9px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}
.footer-social-btn:hover { background: #D42B2B !important; color: #fff !important; }

.footer-burboh {
  background: #070707 !important;
  border-top: 1px solid #1a1a1a !important;
  padding: 14px 0 !important;
}
.footer-burboh-inner {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
}
.burboh-logo {
  height: 38px !important;
  width: auto !important;
  display: block !important;
  opacity: .85 !important;
}
.burboh-info {
  font-size: 12px !important;
  color: #666 !important;
  line-height: 1.8 !important;
  text-align: right !important;
}
.burboh-info a { color: #999 !important; font-weight: 700 !important; }
.burboh-info a:hover { color: #F5C518 !important; }

@media (max-width: 768px) {
  .footer-top-inner { grid-template-columns: 1fr 1fr !important; gap: 24px !important; }
  .footer-burboh-inner { flex-direction: column !important; text-align: center !important; }
  .burboh-info { text-align: center !important; }
  .footer-copyright-inner { flex-direction: column !important; gap: 8px !important; text-align: center !important; }
}
@media (max-width: 480px) {
  .footer-top-inner { grid-template-columns: 1fr !important; }
}

/* ---- PÁGINA CÁMARAS EN VIVO ---- */
.camaras-header {
  margin-bottom: 20px;
}
.camaras-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.2;
}
.camaras-subtitle {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}
.camaras-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.camara-card {
  background: #111;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #222;
}
.camara-label {
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  padding: 7px 14px;
  letter-spacing: .5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.camara-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  animation: pulse 1.5s ease-in-out infinite;
}
.camara-player-wrap {
  position: relative;
  background: #000;
  aspect-ratio: 16/9;
}
.camara-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}
.camara-info {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1a1a1a;
  flex-wrap: wrap;
}
.camara-badge {
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 800;
}
.camara-badge.py { background: var(--red); color: #fff; }
.camara-badge.br { background: #006600; color: #fff; }
.camara-arrow { color: #555; font-size: 14px; font-weight: 900; }
.camara-loc { font-size: 10px; color: #555; font-weight: 600; margin-left: auto; }

.camaras-credit {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border);
}
.camaras-credit-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.portaldacidade-logo {
  height: 36px;
  width: auto;
  display: block;
}
.camaras-note {
  background: var(--blue-light);
  border: 1.5px solid var(--blue);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 12px;
  color: var(--blue-dark);
  font-weight: 600;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .camaras-grid { grid-template-columns: 1fr; }
  .camaras-title { font-size: 20px; }
}

/* ---- CLIMA WIDGET ---- */
.clima-widget {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}
.clima-header {
  background: #111;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.clima-header-title {
  font-size: 11px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.clima-updated {
  font-size: 10px;
  color: #666;
  font-weight: 600;
}
.clima-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.clima-card {
  padding: 18px 16px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: filter .2s;
  min-height: 160px;
}
.clima-card:hover { filter: brightness(1.1); }
.clima-skeleton {
  background: #2a2a2a;
  animation: shimmer 1.5s ease-in-out infinite;
}
@keyframes shimmer { 0%,100%{opacity:1} 50%{opacity:.5} }
.clima-dept {
  font-size: 10px;
  font-weight: 900;
  color: rgba(255,255,255,.9);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 2px;
}
.clima-ciudad {
  font-size: 10px;
  color: rgba(255,255,255,.55);
  font-weight: 600;
  margin-bottom: 10px;
}
.clima-temp-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}
.clima-icon { font-size: 22px; line-height: 1; }
.clima-temp {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.clima-desc {
  font-size: 11px;
  color: rgba(255,255,255,.8);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}
.clima-details {
  display: flex;
  gap: 10px;
  font-size: 10px;
  color: rgba(255,255,255,.6);
  font-weight: 600;
}
.clima-bg-circle {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  pointer-events: none;
}

@media (max-width: 768px) {
  .clima-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .clima-grid { grid-template-columns: 1fr 1fr; }
}
