/*
 Theme Name:   Conectado
 Theme URI:    https://conectado.com.ar
 Description:  Red hiperlocal de comunidades vecinales en Argentina
 Author:       Conectado
 Version:      3.3.0
 Text Domain:  conectado
*/

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --azul:        #002E5E;
  --celeste:     #20C4F4;
  --verde:       #5BBD72;
  --verde-dark:  #00A258;
  --azul-medio:  #1268B3;
  --gris-fondo:  #f0f2f5;
  --gris-borde:  #e0e6ee;
  --texto:       #1a1a2e;
  --texto-suave: #555;
  --blanco:      #ffffff;
  --font-display: 'Sora', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --radius-card: 20px;
  --radius-pill: 40px;
  --shadow-card: 0 2px 20px rgba(0,46,94,0.08);
  --nav-h: 60px;
  --content-max: 1200px;
  --sidebar-w: 300px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--texto);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--azul-medio); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); color: var(--azul); margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* WordPress admin bar compensation */
.admin-bar .site-nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-nav { top: 46px; }
}

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 20px;
  background: rgba(240,242,245,0.97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gris-borde);
}
.site-nav__inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.site-nav__logo {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1;
  color: var(--azul);
  display: inline-flex;
  align-items: baseline;
}
.logo-ciudad { color: var(--celeste); }
.logo-base   { color: var(--azul); }

.site-nav__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Desktop links — ocultos en mobile */
.site-nav__links {
  display: none;
  align-items: center;
  gap: 2px;
}
.site-nav__link {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--texto-suave);
  padding: 8px 14px;
  border-radius: 10px;
  transition: all .15s;
  white-space: nowrap;
}
.site-nav__link:hover { color: var(--azul); background: rgba(0,46,94,.06); }
.site-nav__link.is-active { color: var(--azul); }
.site-nav__cta {
  background: var(--azul);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  border: none;
  white-space: nowrap;
  transition: background .2s;
}
.site-nav__cta:hover { background: #00213f; color: #fff; }

/* Botón volver (ciudad/nota) */
.site-nav__back {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(0,46,94,.07);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s;
}
.site-nav__back:hover { background: rgba(0,46,94,.14); }
.site-nav__back svg { width: 16px; height: 16px; }

/* Hamburguesa */
.site-nav__burger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 6px;
  flex-shrink: 0;
}
.site-nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--azul);
  border-radius: 2px;
}

@media (min-width: 900px) {
  .site-nav__links { display: flex; }
}

/* ============================================================
   DRAWER (menú lateral)
   ============================================================ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0,20,50,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 999;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: var(--azul);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.drawer.is-open {
  transform: translateX(0);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  min-height: var(--nav-h);
  border-bottom: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
}
.drawer__logo {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  color: #fff;
}
.drawer__logo span { color: var(--celeste); }
.drawer__close {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.drawer__close svg { width: 16px; height: 16px; }

.drawer__body {
  flex: 1;
  padding: 20px;
}

.drawer__label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,.3);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin: 20px 0 12px;
}
.drawer__label:first-child { margin-top: 0; }

.drawer__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.drawer__item-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.drawer__item-icon svg {
  width: 16px;
  height: 16px;
  stroke: rgba(255,255,255,.6);
  fill: none;
  stroke-width: 1.8;
}
.drawer__item-text {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.drawer__item-sub {
  font-size: 11px;
  color: rgba(255,255,255,.4);
}

.drawer__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 8px;
}
.drawer__chip {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.75);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  transition: all .2s;
}
.drawer__chip:hover {
  background: var(--celeste);
  color: var(--azul);
  border-color: var(--celeste);
}

.drawer__foot {
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
}
.drawer__social {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.drawer__soc {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.drawer__soc svg {
  width: 14px;
  height: 14px;
  fill: rgba(255,255,255,.6);
}
.drawer__copy {
  font-size: 11px;
  color: rgba(255,255,255,.25);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-pill);
  border: none;
  transition: all .15s;
}
.btn--dark {
  background: var(--azul);
  color: #fff;
  padding: 13px 24px;
}
.btn--dark:hover { background: #00213f; color: #fff; transform: translateY(-1px); }
.btn--outline {
  background: transparent;
  color: var(--azul);
  border: 1.5px solid var(--azul);
  padding: 13px 22px;
}
.btn--outline:hover { background: var(--azul); color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--gris-fondo);
  position: relative;
  overflow: hidden;
  padding: 40px 20px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(32,196,244,.08);
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin: 0 auto;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(32,196,244,.12);
  color: var(--azul-medio);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  letter-spacing: .4px;
}
.hero__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--celeste);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero__title {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--azul);
  margin-bottom: 14px;
}
.hero__title .accent { color: var(--celeste); }
.hero__desc {
  font-size: 15px;
  color: var(--texto-suave);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 340px;
}
.hero__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__visual { display: none; }

@media (min-width: 900px) {
  .hero { padding: 0; min-height: 460px; display: flex; align-items: center; }
  .hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 40px;
    width: 100%;
  }
  .hero__title { font-size: 56px; }
  .hero__visual { display: block; }
  .hero__visual-card {
    position: relative;
    height: 340px;
    border-radius: 24px;
    overflow: hidden;
  }
  .hero__visual-card img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
  }
  .hero__visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,20,50,.85), rgba(0,30,70,.2));
  }
  .hero__visual-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 28px;
  }
  .hero__visual-stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.12);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 10px 16px;
    margin-bottom: 12px;
  }
  .hero__visual-stat strong {
    font-family: var(--font-display);
    color: #fff;
    font-size: 22px;
    font-weight: 900;
  }
  .hero__visual-stat span { color: rgba(255,255,255,.6); font-size: 12px; }
  .hero__visual-chips { display: flex; flex-wrap: wrap; gap: 8px; }
  .hero__visual-chip {
    background: rgba(255,255,255,.15);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
  }
}

/* ============================================================
   STRIP CHIPS CIUDADES
   ============================================================ */
.strip {
  background: var(--gris-fondo);
  border-bottom: 1px solid var(--gris-borde);
  padding: 4px 20px 24px;
}
.strip__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}
.strip__label {
  font-size: 10px;
  font-weight: 700;
  color: #aaa;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.strip__row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.strip__row::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--gris-borde);
  color: var(--texto-suave);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: all .2s;
}
.chip:hover { border-color: var(--celeste); color: var(--azul); }
.chip.is-active {
  background: var(--azul);
  color: #fff;
  border-color: var(--azul);
  font-weight: 700;
}

@media (min-width: 900px) {
  .strip__inner {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .strip__label { margin-bottom: 0; white-space: nowrap; }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 48px 20px;
}
.section--gray { background: var(--gris-fondo); }
.section--white { background: var(--blanco); }
.section--dark { background: var(--azul); }
.section__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--celeste);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.eyebrow--green { color: var(--verde-dark); }
.eyebrow--white { color: rgba(255,255,255,.5); }
.title {
  font-size: 26px;
  font-weight: 900;
  color: var(--azul);
  line-height: 1.15;
  letter-spacing: -.5px;
  margin-bottom: 6px;
}
.title em { color: var(--verde); font-style: normal; }
.title--white { color: #fff; }
.title--white em { color: var(--celeste); }
.subtitle {
  font-size: 14px;
  color: var(--texto-suave);
  line-height: 1.65;
  margin-bottom: 24px;
}
.subtitle--white { color: rgba(255,255,255,.55); }

@media (min-width: 900px) {
  .section { padding: 60px 40px; }
  .title { font-size: 32px; }
}

/* ============================================================
   CARDS DESTACADAS
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 700px) {
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: #fff;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--gris-borde);
  box-shadow: var(--shadow-card);
  transition: transform .2s;
  display: block;
  color: inherit;
}
.card:hover { transform: translateY(-2px); }
.card__img {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
}
.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.5), transparent 55%);
}
.card__tag {
  position: absolute;
  bottom: 14px; left: 14px;
  z-index: 2;
  background: rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 10px;
}
.card__body { padding: 16px 18px; }
.card__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--texto);
  line-height: 1.35;
  margin-bottom: 8px;
}
.card__meta { font-size: 12px; color: #aaa; margin-bottom: 10px; }
.card__read { font-size: 13px; font-weight: 700; color: var(--azul-medio); }

/* ============================================================
   STATS
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (min-width: 700px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}
.stat {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 18px 16px;
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.stat__num sup { color: var(--celeste); font-size: 18px; }
.stat__label { font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.3; }
.stat__award { color: var(--verde); font-size: 15px; font-weight: 800; }

/* ============================================================
   CIUDADES GRID
   ============================================================ */
.ciudades {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (min-width: 700px) {
  .ciudades { grid-template-columns: repeat(3, 1fr); }
}
.ciudad {
  position: relative;
  overflow: hidden;
  background: var(--azul);
  border-radius: var(--radius-card);
  padding: 22px 18px;
  min-height: 150px;
  display: block;
  transition: transform .2s, box-shadow .2s;
}
.ciudad:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,46,94,.25);
}
.ciudad::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(32,196,244,.12);
  transition: transform .3s;
}
.ciudad:hover::before { transform: scale(1.2); }
.ciudad__zona {
  position: relative;
  z-index: 1;
  font-size: 9px;
  color: rgba(255,255,255,.5);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.ciudad__logo {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 12px;
}
.ciudad__logo .logo-ciudad { color: var(--celeste); }
.ciudad__logo .logo-base { color: #fff; }
.ciudad__ver {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  color: var(--verde);
}
.ciudad--ghost {
  background: #e8eef5;
  border: 1.5px dashed #b8c8d8;
}
.ciudad--ghost::before { display: none; }
.ciudad--ghost .ciudad__zona { color: #aaa; }
.ciudad--ghost .ciudad__logo .logo-ciudad { color: #b0c0d0; }
.ciudad--ghost .ciudad__logo .logo-base { color: #bbb; }
.ciudad--ghost .ciudad__ver { color: #c0c8d0; }

/* ============================================================
   STREAMING
   ============================================================ */
.streaming {
  position: relative;
  overflow: hidden;
  background: var(--azul);
  border-radius: var(--radius-card);
  padding: 22px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.streaming::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(32,196,244,.1);
}
.streaming__icon {
  position: relative;
  z-index: 1;
  width: 50px; height: 50px;
  background: var(--celeste);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.streaming__play {
  width: 0; height: 0;
  border-style: solid;
  border-width: 8px 0 8px 16px;
  border-color: transparent transparent transparent var(--azul);
  margin-left: 3px;
}
.streaming__info { position: relative; z-index: 1; }
.streaming__live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 10px;
  margin-bottom: 6px;
}
.streaming__live-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #ff4444;
  animation: pulse 1.5s infinite;
}
.streaming__title {
  font-family: var(--font-display);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 3px;
}
.streaming__sub { color: rgba(255,255,255,.55); font-size: 12px; }
.streaming__btn {
  display: inline-block;
  background: var(--celeste);
  color: var(--azul);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-top: 10px;
}

/* ============================================================
   EVENTOS
   ============================================================ */
.eventos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 700px) {
  .eventos { grid-template-columns: repeat(3, 1fr); }
}
.evento {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--gris-borde);
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.evento__fecha {
  flex-shrink: 0;
  background: var(--azul);
  color: #fff;
  border-radius: 12px;
  padding: 8px 12px;
  text-align: center;
  min-width: 50px;
}
.evento__dia { font-family: var(--font-display); font-size: 22px; font-weight: 900; line-height: 1; }
.evento__mes { font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; opacity: .7; }
.evento__ciudad { font-size: 10px; font-weight: 700; color: var(--celeste); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 4px; }
.evento__titulo { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--texto); margin-bottom: 5px; line-height: 1.3; }
.evento__lugar { font-size: 12px; color: #aaa; }
.evento__link { font-size: 12px; font-weight: 700; color: var(--verde-dark); display: block; margin-top: 8px; }

/* ============================================================
   NOTICIAS ROW
   ============================================================ */
.noticias {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 700px) {
  .noticias { grid-template-columns: 1fr 1fr; gap: 16px; }
}
.noticia {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gris-borde);
  color: inherit;
}
.noticia:hover { background: var(--gris-fondo); }
.noticia__thumb {
  flex-shrink: 0;
  width: 80px; height: 80px;
  border-radius: 12px;
  overflow: hidden;
}
.noticia__thumb img { width: 100%; height: 100%; object-fit: cover; }
.noticia__tag {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--celeste);
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.noticia__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--texto);
  line-height: 1.3;
  margin-bottom: 5px;
}
.noticia__meta { font-size: 11px; color: #bbb; }

@media (min-width: 700px) {
  .noticia {
    flex-direction: column;
    border: 1px solid var(--gris-borde);
    border-radius: 14px;
    padding: 12px;
  }
  .noticia:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
  }
  .noticia__thumb { width: 100%; height: 120px; }
}

/* ============================================================
   ANUNCIANTES
   ============================================================ */
.anuncios {
  padding: 28px 20px;
  background: #fff;
  border-top: 1px solid var(--gris-borde);
}
.anuncios__label {
  font-size: 10px;
  font-weight: 700;
  color: #bbb;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 16px;
}
.anuncios__box {
  position: relative;
  width: 300px;
  height: 250px;
  max-width: 100%;
  margin: 0 auto;
}
.anuncios__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}
.anuncios__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.anuncios__box img {
  width: 300px;
  height: 250px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,46,94,.12);
}
/* Si hay un solo anunciante, no necesita posición absoluta */
.anuncios__box:has(.anuncios__slide:only-child) { position: static; }
.anuncios__box .anuncios__slide:only-child { position: relative; opacity: 1; }

/* ============================================================
   CTA PUBLICIDAD
   ============================================================ */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--gris-fondo);
  border: 1px solid var(--gris-borde);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  text-align: center;
}
.cta::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: rgba(32,196,244,.07);
}
.cta h3 {
  position: relative;
  z-index: 1;
  font-size: 20px;
  font-weight: 900;
  color: var(--azul);
  margin-bottom: 8px;
}
.cta h3 em { color: var(--celeste); font-style: normal; }
.cta p {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: var(--texto-suave);
  margin-bottom: 20px;
  line-height: 1.6;
}
.cta .btn { position: relative; z-index: 1; }

/* ============================================================
   CIUDAD HERO
   ============================================================ */
.ciudad-hero {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.ciudad-hero img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.ciudad-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,20,50,.85), rgba(0,30,70,.3) 60%, rgba(0,20,50,.15));
}
.ciudad-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
  padding: 28px 20px 24px;
}
.ciudad-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.75);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  letter-spacing: .5px;
}
.ciudad-hero__logo {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: #fff;
}
.ciudad-hero__logo .logo-ciudad { color: var(--celeste); display: block; }
.ciudad-hero__logo .logo-base { color: #fff; display: block; }
.ciudad-hero__stats { display: flex; gap: 20px; }
.ciudad-hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}
.ciudad-hero__stat span { font-size: 11px; color: rgba(255,255,255,.5); }

@media (min-width: 900px) {
  .ciudad-hero { min-height: 340px; }
  .ciudad-hero__logo { font-size: 52px; }
  .ciudad-hero__content { padding: 40px; }
}

/* ============================================================
   CIUDAD REDES
   ============================================================ */
.ciudad-redes {
  display: flex;
  gap: 10px;
  padding: 14px 20px;
  background: var(--gris-fondo);
  border-bottom: 1px solid var(--gris-borde);
  max-width: var(--content-max);
  margin: 0 auto;
}
.red-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--gris-borde);
  border-radius: 12px;
  padding: 10px 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--azul);
  transition: all .2s;
}
.red-btn:hover { background: var(--azul); color: #fff; }
.red-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ============================================================
   CIUDAD LAYOUT (main + sidebar)
   ============================================================ */
.ciudad-layout {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 32px 20px;
}
.ciudad-layout__sidebar { display: none; }

@media (min-width: 900px) {
  .ciudad-layout {
    display: grid;
    grid-template-columns: 1fr var(--sidebar-w);
    gap: 32px;
    padding: 32px 40px;
    align-items: start;
  }
  .ciudad-layout__sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: calc(var(--nav-h) + 16px);
  }
}
.sidebar-card {
  background: var(--gris-fondo);
  border: 1px solid var(--gris-borde);
  border-radius: var(--radius-card);
  padding: 20px;
}
.sidebar-card__title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--azul);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 14px;
}
.sidebar-evento {
  padding: 10px 0;
  border-bottom: 1px solid var(--gris-borde);
}
.sidebar-evento:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-evento__fecha { font-size: 10px; color: var(--celeste); font-weight: 700; margin-bottom: 3px; }
.sidebar-evento__titulo { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--texto); line-height: 1.3; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #fff;
  border-bottom: 1px solid var(--gris-borde);
  font-size: 13px;
  max-width: var(--content-max);
  margin: 0 auto;
}
.breadcrumb a {
  color: var(--azul-medio);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.breadcrumb a:hover { color: var(--azul); text-decoration: underline; }
.breadcrumb a svg { width: 13px; height: 13px; stroke: var(--azul-medio); fill: none; stroke-width: 2.5; }
.breadcrumb__sep { color: #ccc; }
.breadcrumb__current { color: var(--texto-suave); }

/* ============================================================
   NOTA
   ============================================================ */
.nota-hero {
  position: relative;
  height: 280px;
  overflow: hidden;
}
.nota-hero img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.nota-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,.1) 60%);
}
.nota-hero__content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  max-width: 860px;
  margin: 0 auto;
}
.nota-hero__tag {
  display: inline-block;
  background: var(--celeste);
  color: var(--azul);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 10px;
  margin-bottom: 10px;
}
.nota-hero__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -.3px;
}
@media (min-width: 900px) {
  .nota-hero { height: 420px; }
  .nota-hero__title { font-size: 32px; }
}

.nota-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--gris-fondo);
  border-bottom: 1px solid var(--gris-borde);
  max-width: 860px;
  margin: 0 auto;
}
.nota-meta__avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--celeste), var(--azul));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 900;
  color: #fff;
}
.nota-meta__nombre { font-size: 12px; font-weight: 700; color: var(--azul); }
.nota-meta__fecha { font-size: 11px; color: #aaa; }

.nota-share {
  display: flex;
  gap: 8px;
  padding: 14px 20px;
  background: #fff;
  border-bottom: 1px solid var(--gris-borde);
  max-width: 860px;
  margin: 0 auto;
}
.nota-share__label {
  font-size: 11px;
  font-weight: 700;
  color: #aaa;
  letter-spacing: .8px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}
.share-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 8px;
  border-radius: 12px;
  transition: all .2s;
}
.share-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.share-btn--wa { background: #e8f7ef; color: #128C7E; }
.share-btn--wa:hover { background: #128C7E; color: #fff; }
.share-btn--fb { background: #e8eef7; color: #1877F2; }
.share-btn--fb:hover { background: #1877F2; color: #fff; }
.share-btn--copy { background: var(--gris-fondo); color: var(--azul); }
.share-btn--copy:hover { background: var(--azul); color: #fff; }

.nota-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px;
}
.nota-body p { font-size: 15px; color: var(--texto-suave); line-height: 1.75; margin-bottom: 16px; }
.nota-body h2, .nota-body h3 { color: var(--azul); margin: 24px 0 12px; }
.nota-bajada {
  font-size: 16px;
  font-weight: 500;
  color: var(--texto);
  line-height: 1.6;
  margin-bottom: 20px;
  border-left: 3px solid var(--celeste);
  padding-left: 14px;
}
.nota-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}
.nota-tag {
  background: var(--gris-fondo);
  color: var(--azul-medio);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gris-borde);
}
.nota-tag:hover { background: var(--azul); color: #fff; }

/* Relacionadas */
.relacionadas {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px;
}
.relacionadas__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 900;
  color: var(--azul);
  margin-bottom: 14px;
}
.rel {
  display: flex;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--gris-borde);
  border-radius: 14px;
  margin-bottom: 10px;
  align-items: center;
  color: inherit;
}
.rel:hover { transform: translateY(-1px); box-shadow: var(--shadow-card); }
.rel__thumb {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 10px;
  overflow: hidden;
}
.rel__thumb img { width: 100%; height: 100%; object-fit: cover; }
.rel__title { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--texto); line-height: 1.3; margin-bottom: 4px; }
.rel__meta { font-size: 11px; color: #bbb; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--azul);
}
.footer-full {
  padding: 40px 20px 28px;
}
.footer-full__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}
.footer-full__logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.5px;
  margin-bottom: 8px;
}
.footer-full__logo .logo-base { color: #fff; }
.footer-full__logo .logo-ciudad { color: var(--celeste); }
.footer-full__tagline { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.5; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; margin-bottom: 28px; }
.footer-soc {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-soc svg { width: 16px; height: 16px; fill: rgba(255,255,255,.7); }
.footer-nav { margin-bottom: 28px; }
.footer-nav a { color: rgba(255,255,255,.55); font-size: 13px; line-height: 2.2; display: block; }
.footer-nav a:hover { color: #fff; }
.footer-ciudades-title {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,.3);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-ciudades { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.footer-chip {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.5);
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 20px;
}
.footer-chip:hover { background: rgba(255,255,255,.12); color: #fff; }
.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,.25);
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
}

@media (min-width: 900px) {
  .footer-full { padding: 60px 40px 40px; }
  .footer-full__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
  }
  .footer-social { margin-bottom: 0; }
  .footer-nav { margin-bottom: 0; }
  .footer-ciudades { margin-bottom: 0; }
}

/* Footer compacto */
.footer-compact {
  padding: 24px 20px;
  max-width: var(--content-max);
  margin: 0 auto;
}
.footer-compact__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.footer-compact__logo { font-family: var(--font-display); font-size: 15px; font-weight: 900; }
.footer-compact__logo .logo-ciudad { color: var(--celeste); }
.footer-compact__logo .logo-base { color: #fff; }
.footer-compact__social { display: flex; gap: 8px; }
.footer-compact__nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.footer-compact__nav a { color: rgba(255,255,255,.5); font-size: 12px; }
.footer-compact__nav a:hover { color: #fff; }
.footer-compact__red { font-size: 12px; color: rgba(255,255,255,.35); text-align: center; margin-bottom: 8px; }
.footer-compact__red a { color: var(--celeste); font-weight: 600; }
.footer-compact__copy { font-size: 11px; color: rgba(255,255,255,.2); text-align: center; }

/* ============================================================
   UTILITIES
   ============================================================ */
.is-hidden { display: none !important; }

/* ============================================================
   PAGE CONTENT (páginas genéricas: Nosotros, etc.)
   ============================================================ */
.page-content { font-size: 16px; color: var(--texto-suave); line-height: 1.75; }
.page-content p { margin-bottom: 16px; }
.page-content h2,
.page-content h3 { color: var(--azul); margin: 28px 0 12px; }
.page-content h2 { font-size: 24px; }
.page-content h3 { font-size: 19px; }
.page-content ul,
.page-content ol { margin: 0 0 16px 20px; }
.page-content ul li { list-style: disc; margin-bottom: 6px; }
.page-content ol li { list-style: decimal; margin-bottom: 6px; }
.page-content a { color: var(--azul-medio); text-decoration: underline; }
.page-content img { border-radius: 12px; margin: 16px 0; }
.page-content blockquote {
  border-left: 3px solid var(--celeste);
  padding-left: 16px;
  margin: 20px 0;
  color: var(--texto);
  font-style: italic;
}

/* ============================================================
   WIDGET AREAS
   ============================================================ */
.nota-widgets {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.nota-widgets .widget { margin: 0; }
/* Widgets nativos de WP dentro de sidebar-card */
.widget ul { margin: 0; padding: 0; }
.widget ul li { list-style: none; padding: 6px 0; border-bottom: 1px solid var(--gris-borde); }
.widget ul li:last-child { border-bottom: none; }
.widget a { color: var(--azul-medio); }
.widget select { width: 100%; padding: 8px; border-radius: 8px; border: 1px solid var(--gris-borde); }
.widget p { font-size: 14px; color: var(--texto-suave); line-height: 1.6; }
.home-extra .widget,
.widget_text { font-size: 15px; color: var(--texto-suave); line-height: 1.7; }
