/* ══════════════════════════════════════════
   Norte Grande 365 — main.css v1.3
   ══════════════════════════════════════════ */

:root {
  --g:  #1f7a5c;
  --c:  #c65a3d;
  --a:  #d9a21b;
  --cr: #f7f5f0;
  --dk: #1a1a1a;
  --f:  'M PLUS Rounded 1c', sans-serif;
  --max: 1280px;
  --pad: 28px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--f); background: var(--cr); color: var(--dk); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--f); }

.ng-wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); width: 100%; }

/* ── HEADER ── */
.ng-header {
  background: var(--dk) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 200 !important;
  width: 100% !important;
}
.ng-header-inner {
  max-width: var(--max) !important;
  margin: 0 auto !important;
  padding: 0 var(--pad) !important;
  height: 72px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  /* reset cualquier text-align o margin que venga del tema anterior */
  text-align: left !important;
  float: none !important;
}
.ng-logo {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}
.ng-logo img {
  height: 56px !important;
  width: auto !important;
  max-width: none !important;
  display: block !important;
  margin: 0 !important;
}
.ng-header-actions { display: flex; align-items: center; gap: 10px; }
.ng-search-form { position: relative; display: flex; align-items: center; }
.ng-search-form i { position: absolute; left: 10px; color: #555; font-size: 15px; pointer-events: none; }
.ng-search-form input {
  background: #2a2a2a; border: none; border-radius: 20px;
  padding: 7px 14px 7px 34px; color: #aaa; font-size: 12px;
  font-family: var(--f); width: 210px; outline: none; transition: background 0.2s;
}
.ng-search-form input:focus { background: #333; color: #eee; }
.ng-hamburger { display: none; background: none; border: none; color: #aaa; font-size: 24px; padding: 4px; }

/* ── NAV ── */
.ng-nav { background: #1e1e1e; }
.ng-nav-row1 { border-bottom: 1px solid #2a2a2a; width: 100%; }
.ng-nav-row2 { background: #161616; border-bottom: 2px solid var(--g); width: 100%; }
.ng-nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.ng-nav-inner::-webkit-scrollbar { display: none; }

.ng-ni {
  color: #b8b8b8; font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  padding: 11px 13px; white-space: nowrap; flex-shrink: 0;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color 0.15s; display: inline-block;
}
.ng-ni:hover { color: white; }
.ng-ni.act { color: white; border-bottom-color: var(--g); }
.ng-ni.nacmun { color: #f0f0f0; font-weight: 900; }
.ng-nsep { color: #333; padding: 0 3px; font-size: 15px; user-select: none; flex-shrink: 0; }

.ng-nc {
  color: #777; font-size: 11px; font-weight: 600; letter-spacing: 0.05em;
  padding: 8px 13px; white-space: nowrap; flex-shrink: 0;
  transition: color 0.15s; display: inline-block;
}
.ng-nc:hover { color: #bbb; }
.ng-nc.act { color: #ddd; }
.ng-nc.eco { color: var(--a); font-weight: 700; }
.ng-nc.eco:hover { color: #f0be40; }
.ng-ncsep { color: #2a2a2a; padding: 0 1px; font-size: 13px; user-select: none; flex-shrink: 0; }

/* ── TICKER — tricolor ── */
.ng-ticker {
  display: flex; align-items: center; overflow: hidden; height: 32px;
  background: linear-gradient(90deg, var(--g) 0%, var(--g) 60%, var(--c) 80%, var(--a) 100%);
}
.ng-ticker-label {
  background: #e8000d; color: white; font-size: 9px; font-weight: 900;
  padding: 0 14px; letter-spacing: 0.12em; white-space: nowrap; flex-shrink: 0;
  height: 100%; display: flex; align-items: center;
}
.ng-ticker-track { display: flex; overflow: hidden; flex: 1; height: 100%; }
.ng-ticker-text {
  color: white; font-size: 12px; font-weight: 600; white-space: nowrap;
  padding: 0 40px; display: flex; align-items: center;
  animation: ng-tick 50s linear infinite;
}
@keyframes ng-tick { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── BADGE ── */
.ng-badge {
  display: inline-flex; align-items: stretch; margin-bottom: 10px;
  border-radius: 4px; overflow: hidden; font-size: 9px; font-weight: 900;
  letter-spacing: 0.07em; line-height: 1.2;
}
.ng-badge .bp { padding: 4px 9px; color: white; display: flex; align-items: center; }
.ng-badge .bt { padding: 4px 9px; font-weight: 700; display: flex; align-items: center; }
.ng-badge .bt-dark  { background: rgba(255,255,255,0.14); color: rgba(255,255,255,0.85); }
.ng-badge .bt-light { background: #ece9e1; color: #666; }

/* ── MAIN ── */
.ng-main { width: 100%; }

/* ── HERO ── */
.ng-hero-outer { border-bottom: 1px solid #ddd9cf; }
.ng-hero {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.ng-hero-main { position: relative; overflow: hidden; border-right: 1px solid #2a2a2a; min-height: 460px; background: #111; }
.ng-hero-main-link { display: block; height: 100%; min-height: 460px; }
.ng-hero-main-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ng-hero-main-overlay { position: absolute; inset: 0; background: linear-gradient(transparent 15%, rgba(0,0,0,0.92)); }
.ng-hero-main-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 26px; }
.ng-hero-main-title { color: white; font-size: 22px; font-weight: 900; line-height: 1.25; margin-bottom: 10px; }
.ng-hero-main-meta { color: #888; font-size: 11px; }
.ng-hero-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.ng-hero-placeholder i { font-size: 40px; color: rgba(255,255,255,0.12); }
.ng-hero-card { border-right: 1px solid rgba(255,255,255,0.15); display: flex; flex-direction: column; overflow: hidden; min-height: 460px; }
.ng-hero-card--last { border-right: none; }
.ng-hero-card:nth-child(2) { background: var(--g); }
.ng-hero-card:nth-child(3) { background: var(--c); }
.ng-hero-card:nth-child(4) { background: var(--a); }
.ng-hero-card-link { display: flex; flex-direction: column; height: 100%; }
.ng-hero-card:hover .ng-hero-card-title { color: rgba(255,255,255,0.75); }
.ng-hero-card-img { flex-shrink: 0; height: 240px; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.ng-hero-card-img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: 0.6; }
.ng-hero-card-body { padding: 15px 17px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.ng-hero-card-title { font-size: 14px; font-weight: 800; line-height: 1.35; color: white; transition: color 0.15s; }
.ng-hero-card-meta { font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 8px; }
/* badge sobre fondo de color */
.ng-hero-card .ng-badge .bt-light { background: rgba(255,255,255,0.2); color: rgba(255,255,255,0.85); }
.ng-hero-card .ng-badge .bp { opacity: 0.9; }

/* ── FEED ── */
.ng-feed-section { padding: 28px var(--pad); max-width: var(--max); margin: 0 auto; }
.ng-feed-section--archive { padding-top: 0; }
.ng-feed-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 3px solid var(--g); flex-wrap: wrap; gap: 12px; }
.ng-feed-title { font-size: 13px; font-weight: 900; letter-spacing: 0.12em; }
.ng-feed-filters { display: flex; gap: 8px; flex-wrap: wrap; }

/* Filtros — tricolor rotativo */
.ng-ff {
  font-size: 11px; font-weight: 700; padding: 5px 16px;
  border-radius: 20px; border: 2px solid #ddd; color: #888; background: white;
  transition: all 0.15s;
}
.ng-ff:hover { border-color: var(--g); color: var(--g); }
.ng-ff.on                   { background: var(--g);  color: white; border-color: var(--g); }
.ng-ff:nth-child(2).on      { background: var(--c);  color: white; border-color: var(--c); }
.ng-ff:nth-child(3).on      { background: var(--a);  color: white; border-color: var(--a); }
.ng-ff:nth-child(4).on      { background: var(--g);  color: white; border-color: var(--g); }
.ng-ff:nth-child(5).on      { background: var(--c);  color: white; border-color: var(--c); }

.ng-feed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

/* Card small */
.ng-card { background: white; border-radius: 8px; overflow: hidden; border: 1px solid #e8e4dc; display: flex; flex-direction: column; }
.ng-card:hover .ng-card-title a { color: var(--g); }
.ng-card-img-link { display: block; flex-shrink: 0; }
.ng-card-img { height: 160px; overflow: hidden; position: relative; }
.ng-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; display: block; }
.ng-card:hover .ng-card-img img { transform: scale(1.03); }
.ng-card-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.ng-card-img-placeholder i { font-size: 28px; color: rgba(255,255,255,0.22); }
.ng-card-body { padding: 15px; flex: 1; display: flex; flex-direction: column; }
.ng-card-title { font-size: 14px; font-weight: 800; line-height: 1.35; color: var(--dk); flex: 1; }
.ng-card-title a { color: inherit; transition: color 0.15s; }
.ng-card-meta { font-size: 11px; color: #bbb; margin-top: 10px; }

/* Card featured */
.ng-card-feat { grid-column: 1 / 3; display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 8px; overflow: hidden; border: 1px solid #e8e4dc; background: white; }
.ng-card-feat:hover .ng-card-title a { color: var(--g); }
.ng-card-feat-img-link { display: block; }
.ng-card-feat-img { height: 100%; min-height: 240px; overflow: hidden; position: relative; }
.ng-card-feat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; display: block; }
.ng-card-feat:hover .ng-card-feat-img img { transform: scale(1.03); }
.ng-card-feat-img-placeholder { width: 100%; height: 100%; min-height: 240px; display: flex; align-items: center; justify-content: center; }
.ng-card-feat-img-placeholder i { font-size: 36px; color: rgba(255,255,255,0.22); }
.ng-card-feat-body { padding: 22px; display: flex; flex-direction: column; justify-content: space-between; }

/* Card featured — color solo en el panel de texto, foto intacta */
.ng-card-feat .ng-card-title--lg a { color: white; }
.ng-card-feat:hover .ng-card-title--lg a { color: rgba(255,255,255,0.75); }
.ng-card-feat .ng-card-excerpt { color: rgba(255,255,255,0.85); }
.ng-card-feat .ng-card-meta { color: rgba(255,255,255,0.55); }
.ng-card-feat .ng-badge .bt-light { background: rgba(255,255,255,0.2); color: rgba(255,255,255,0.9); }
.ng-card-title--lg { font-size: 17px; line-height: 1.3; }
.ng-card-excerpt { font-size: 12px; color: #666; line-height: 1.55; margin-top: 8px; }

/* Load more */
.ng-load-more-wrap { text-align: center; padding: 20px 0 4px; }
.ng-load-more { background: transparent; border: none; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: #aaa; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 4px; transition: color 0.15s; }
.ng-load-more:hover { color: var(--g); }
.ng-load-more i { font-size: 15px; }

/* ── ARCHIVE ── */
.ng-archive-header { padding: 22px var(--pad) 18px; max-width: var(--max); margin: 0 auto; }
.ng-archive-title { font-size: 24px; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.ng-archive-prov-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.ng-archive-desc { font-size: 13px; color: #666; margin-top: 6px; }
.ng-no-results { grid-column: 1/-1; color: #888; font-size: 13px; padding: 20px 0; }

/* ── SINGLE ── */
.ng-single { max-width: 780px; margin: 0 auto; padding: 30px var(--pad) 52px; }
.ng-single-header { margin-bottom: 22px; }
.ng-single-title { font-size: 28px; font-weight: 900; line-height: 1.2; margin-bottom: 14px; }
.ng-single-meta { font-size: 12px; color: #888; display: flex; gap: 14px; flex-wrap: wrap; }
.ng-single-meta time, .ng-read-time { color: #aaa; }
.ng-single-hero-img { margin-bottom: 26px; border-radius: 8px; overflow: hidden; }
.ng-single-hero-img img { width: 100%; max-height: 500px; object-fit: cover; }
.ng-photo-credit { font-size: 11px; color: #aaa; margin-top: 4px; }
.ng-single-body { font-size: 17px; line-height: 1.8; color: #2a2a2a; }
.ng-single-body p { margin-bottom: 1.25em; }
.ng-single-body h2 { font-size: 21px; font-weight: 800; margin: 1.5em 0 0.5em; }
.ng-single-body h3 { font-size: 18px; font-weight: 700; margin: 1.25em 0 0.4em; }
.ng-single-body a { color: var(--g); text-decoration: underline; }
.ng-single-body blockquote { border-left: 3px solid var(--g); padding: 8px 16px; margin: 1em 0; color: #555; font-style: italic; }
.ng-single-body img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  margin: 1em 0;
}
.ng-single-body figure { max-width: 100%; }
.ng-single-body iframe, .ng-single-body video, .ng-single-body embed {
  max-width: 100%;
}
.ng-single-body * { max-width: 100%; }
.ng-single-body table { display: block; overflow-x: auto; }
.ng-single-footer { margin-top: 30px; padding-top: 18px; border-top: 1px solid #e8e4dc; }
.ng-single-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ng-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; background: #ece9e1; color: #555; padding: 5px 14px; border-radius: 20px; transition: background 0.15s; }
.ng-tag:hover { background: var(--g); color: white; }

/* ── RELATED ── */
.ng-related { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) 44px; }
.ng-related-title { font-size: 13px; font-weight: 900; letter-spacing: 0.1em; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 3px solid var(--g); }

/* ── FOOTER — fondo oscuro con accentos tricolor ── */
.ng-footer { background: var(--dk); }
.ng-footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* Barra tricolor en el top del footer */
.ng-footer::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--g) 0%, var(--g) 40%, var(--c) 60%, var(--a) 100%);
}

.ng-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 36px 0 28px;
  border-bottom: 1px solid #272727;
}
.ng-footer-logo { height: 56px; width: auto; margin-bottom: 16px; }
.ng-footer-desc { color: #f6f4ee; font-size: 11px; line-height: 1.7; margin-bottom: 10px; }
.ng-footer-url { color: #f6f4ee; font-size: 11px; }

.ng-footer-col-title {
  font-size: 11px; font-weight: 900; letter-spacing: 0.12em; margin-bottom: 14px;
  padding-bottom: 8px; border-bottom: 2px solid;
}
/* Cada columna con su color de acento */
.ng-footer-col:nth-child(2) .ng-footer-col-title { color: var(--g);  border-color: var(--g); }
.ng-footer-col:nth-child(3) .ng-footer-col-title { color: var(--c);  border-color: var(--c); }
.ng-footer-col:nth-child(4) .ng-footer-col-title { color: var(--a);  border-color: var(--a); }
.ng-footer-col:nth-child(5) .ng-footer-col-title { color: var(--g);  border-color: var(--g); }

.ng-footer-link { display: block; color: #f6f4ee; font-size: 11px; margin-bottom: 8px; transition: color 0.15s; }
.ng-footer-link:hover { color: #999; }

.ng-footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; }
.ng-footer-copy { color: #f6f4ee; font-size: 11px; }
.ng-social { display: flex; gap: 8px; }
.ng-social-btn { width: 32px; height: 32px; background: #222; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #555; font-size: 15px; transition: all 0.15s; }
.ng-social-btn:nth-child(1):hover { background: var(--g); color: white; }
.ng-social-btn:nth-child(2):hover { background: var(--dk); color: white; border: 1px solid #555; }
.ng-social-btn:nth-child(3):hover { background: var(--c); color: white; }
.ng-social-btn:nth-child(4):hover { background: var(--c); color: white; }
.ng-social-btn:nth-child(5):hover { background: var(--g); color: white; }

/* ── RESPONSIVE ── */
@media ( max-width: 1100px ) { :root { --pad: 20px; } }

@media ( max-width: 900px ) {
  .ng-hero { grid-template-columns: 1.5fr 1fr; }
  .ng-hero-card--last { display: none; }
  /* En 900px solo se oculta la 3ra; en 700px se reactivan todas */
  .ng-feed-grid { grid-template-columns: 1fr 1fr; }
  .ng-card-feat { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .ng-card-feat-img { min-height: 200px; height: 200px; }
  .ng-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .ng-footer-col:first-child { grid-column: 1 / -1; }
}

@media ( max-width: 700px ) {
  :root { --pad: 16px; }
  .ng-search-form { display: none; }
  .ng-hamburger { display: flex; }
  .ng-nav { display: none; }
  .ng-nav.open { display: block; }
  .ng-nav-row1 .ng-nav-inner,
  .ng-nav-row2 .ng-nav-inner { flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; overflow-x: visible; }
  .ng-ni, .ng-nc { padding: 6px 10px; font-size: 13px; }
  .ng-nsep { display: none; }
  .ng-hero { grid-template-columns: 1fr; }
  .ng-hero-card { display: flex !important; border-right: none; border-top: 1px solid rgba(255,255,255,0.1); min-height: auto; }
  .ng-hero-card--last { display: flex !important; border-top: 1px solid rgba(255,255,255,0.1); }
  .ng-hero-card-img { height: 180px; }
  .ng-hero-main { min-height: 260px; }
  .ng-hero-main-link { min-height: 260px; }
  .ng-hero-main-title { font-size: 19px; }
  .ng-feed-grid { grid-template-columns: 1fr 1fr; }
  .ng-card-feat { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .ng-card-feat-img { height: 200px; min-height: 200px; }
  .ng-single { padding: 18px 16px 36px; }
  .ng-single-title { font-size: 22px; }
  .ng-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media ( max-width: 480px ) {
  .ng-feed-grid { grid-template-columns: 1fr; }
  .ng-footer-grid { grid-template-columns: 1fr; }
}

/* ── CRÉDITOS BURBOH ── */
.ng-footer-credits {
  border-top: 1px solid #272727;
  padding: 20px 0;
}
.ng-footer-credits-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 24px;
}
.ng-burboh-logo {
  flex-shrink: 0;
  display: block;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  padding: 10px 14px;
}
.ng-burboh-logo img {
  height: 44px;
  width: auto;
  display: block;
  filter: brightness(0.85);
  transition: filter 0.2s;
}
.ng-burboh-logo:hover img { filter: brightness(1); }
.ng-burboh-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ng-burboh-info p {
  font-size: 12px;
  color: #555;
  line-height: 1.4;
}
.ng-burboh-info p strong { color: #888; font-weight: 700; }
.ng-burboh-info a { transition: color 0.15s; }
.ng-burboh-info a:hover strong { color: var(--g); }
.ng-burboh-tagline {
  font-size: 11px !important;
  color: #3a3a3a !important;
  margin-top: 4px;
  font-style: italic;
}

@media ( max-width: 480px ) {
  .ng-footer-credits-inner { flex-direction: column; align-items: flex-start; }
}

/* ── Menú de WordPress en fila 2 ── */
.ng-nav-cats-menu { display: contents; }
/* wp_nav_menu puede agregar clases extra — asegurar herencia */
.ng-nav-row2 .ng-nav-inner a { /* ya cubierto por .ng-nc */ }

/* ── WIDGET CLIMA ── */
.ng-clima-widget {
  margin: 28px 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.ng-clima-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  background: var(--dk);
  color: var(--cr);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}
.ng-clima-header i { font-size: 16px; color: var(--a); }
.ng-clima-update { margin-left: auto; font-size: 10px; color: #666; font-weight: 400; letter-spacing: 0; }
.ng-clima-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  background: rgba(0,0,0,0.15);
  padding: 3px;
}
.ng-clima-card {
  position: relative;
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 130px;
  overflow: hidden;
  cursor: default;
  transition: filter 0.2s;
  background: #1f7a5c;
  color: white;
  border-radius: 2px;
}
.ng-clima-card:hover { filter: brightness(1.08); }

/* Patrón sutil de fondo */
.ng-clima-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.04) 0,
    rgba(255,255,255,0.04) 1px,
    transparent 0,
    transparent 50%
  );
  background-size: 12px 12px;
  pointer-events: none;
}

/* Ícono decorativo grande de fondo */
.ng-clima-card::after {
  content: '';
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 70px;
  height: 70px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  pointer-events: none;
}

.ng-clima-prov {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.95) !important;
  margin-bottom: 2px;
  text-transform: uppercase;
}
.ng-clima-ciudad {
  font-size: 10px;
  color: rgba(255,255,255,0.7) !important;
  margin-bottom: 10px;
}
.ng-clima-temp {
  font-size: 32px;
  font-weight: 900;
  color: white !important;
  line-height: 1;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ng-clima-icon {
  font-size: 26px;
  opacity: 0.9;
}
.ng-clima-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.95) !important;
  font-weight: 600;
  margin-bottom: 6px;
}
.ng-clima-extra {
  font-size: 10px;
  color: rgba(255,255,255,0.8) !important;
  margin-top: auto;
  display: flex;
  gap: 10px;
}
.ng-clima-extra span {
  display: flex;
  align-items: center;
  gap: 3px;
}
.ng-clima-loading {
  color: rgba(255,255,255,0.4);
  animation: ng-spin 1s linear infinite;
  display: inline-block;
  font-size: 24px;
}
@keyframes ng-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

@media ( max-width: 700px ) {
  .ng-clima-grid { grid-template-columns: repeat(2, 1fr); }
  .ng-clima-card { min-height: 120px; padding: 14px 14px 12px; }
  .ng-clima-temp { font-size: 26px; }
}

/* ── SECCIONES POR PROVINCIA ── */
.ng-secciones-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) 48px;
}
.ng-seccion {
  margin-bottom: 48px;
}
.ng-seccion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--seccion-color, var(--g));
}
.ng-seccion-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ng-seccion-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}
.ng-seccion-title {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--dk);
  text-transform: uppercase;
}
.ng-seccion-ver-mas {
  font-size: 11px;
  font-weight: 700;
  color: var(--seccion-color, var(--g));
  letter-spacing: 0.04em;
  transition: opacity 0.15s;
}
.ng-seccion-ver-mas:hover { opacity: 0.7; }
.ng-seccion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media ( max-width: 900px ) {
  .ng-seccion-grid { grid-template-columns: repeat(2, 1fr); }
  .ng-seccion-grid .ng-card:last-child { display: none; }
}
@media ( max-width: 480px ) {
  .ng-seccion-grid { grid-template-columns: 1fr; }
  .ng-seccion-grid .ng-card:last-child { display: flex; }
}

/* ── SECCIONES POR PROVINCIA ── */
.ng-secciones-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) 40px;
}
.ng-seccion {
  margin-bottom: 40px;
}
.ng-seccion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 18px;
  border-bottom: 3px solid var(--seccion-color, var(--g));
}
.ng-seccion-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ng-seccion-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ng-seccion-title {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dk);
}
.ng-seccion-ver-mas {
  font-size: 11px;
  font-weight: 700;
  color: var(--seccion-color, var(--g));
  transition: opacity 0.15s;
  white-space: nowrap;
}
.ng-seccion-ver-mas:hover { opacity: 0.7; }
.ng-seccion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media ( max-width: 700px ) {
  .ng-seccion-grid { grid-template-columns: 1fr 1fr; }
  .ng-secciones-wrap { padding-bottom: 24px; }
}
@media ( max-width: 480px ) {
  .ng-seccion-grid { grid-template-columns: 1fr; }
}

/* Sección Deportes — fondo completo de color */
.ng-seccion--deportes .ng-card {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.15);
}
.ng-seccion--deportes .ng-card:hover .ng-card-title a { color: rgba(255,255,255,0.75); }
.ng-seccion--deportes .ng-card-title a { color: white; }
.ng-seccion--deportes .ng-card-meta { color: rgba(255,255,255,0.55); }
.ng-seccion--deportes .ng-badge .bt-light { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.85); }
.ng-seccion-grid--deportes { gap: 16px; }

/* ── PÁGINA HISTORIAL ── */
.ng-historial-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px var(--pad) 50px;
}
.ng-historial-header {
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--g);
}
.ng-historial-title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--dk);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.ng-historial-title i { font-size: 26px; color: var(--g); }
.ng-historial-sub {
  font-size: 13px;
  color: #888;
}
.ng-historial-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ng-historial-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 12px;
  border-radius: 8px;
  transition: background 0.15s;
}
.ng-historial-item:hover { background: white; }
.ng-historial-item:not(:last-child) { border-bottom: 1px solid #ece8df; }
.ng-historial-img-link { flex-shrink: 0; }
.ng-historial-img {
  width: 110px;
  height: 74px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.ng-historial-img img { width: 100%; height: 100%; object-fit: cover; }
.ng-historial-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.ng-historial-img-placeholder i { font-size: 22px; color: rgba(0,0,0,0.25); }
.ng-historial-body { flex: 1; min-width: 0; }
.ng-historial-item-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  margin: 6px 0 6px;
}
.ng-historial-item-title a { color: var(--dk); transition: color 0.15s; }
.ng-historial-item:hover .ng-historial-item-title a { color: var(--g); }
.ng-historial-meta {
  font-size: 11px;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 3px;
  flex-wrap: wrap;
}
.ng-historial-meta i { font-size: 13px; }

@media ( max-width: 600px ) {
  .ng-historial-img { width: 84px; height: 60px; }
  .ng-historial-item { gap: 12px; padding: 10px 8px; }
  .ng-historial-item-title { font-size: 13px; }
  .ng-historial-title { font-size: 19px; }
}

/* ── BOTONES DE SHARE ── */
.ng-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 28px 0 20px;
  flex-wrap: wrap;
}
.ng-share-label {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: #aaa;
  text-transform: uppercase;
  margin-right: 4px;
}
.ng-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  color: white;
}
.ng-share-btn:hover { opacity: 0.88; transform: translateY(-1px); color: white; }
.ng-share-btn i { font-size: 16px; }
.ng-share-fb { background: #1877f2; }
.ng-share-wa { background: #25d366; }
.ng-share-x  { background: #1a1a1a; }
