/* =========================================================
   PRIMICIAS 365 — hoja de estilos compartida
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --red:         #e2261f;
  --black:       #1c1c1c;
  --teal:        #17a5b8;
  --teal-dark:   #128797;
  --blue-grad-1: #eaf3fb;
  --blue-grad-2: #4a90c9;
  --bg:          #ffffff;
  --bg-soft:     #f4f6f8;
  --text:        #262626;
  --text-soft:   #6b7178;
  --rule:        #e8eaed;
  --font-head:   'Poppins', 'Segoe UI', sans-serif;
  --font-body:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --maxw:        1280px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display:block; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family: inherit; }

.wrap{ max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------
   TOP BAR
   --------------------------------------------------------- */
.top-bar{
  background: var(--black);
  color:#fff;
  font-size:.78rem;
}
.top-bar .wrap{
  display:flex; justify-content:flex-end; gap:20px;
  height:30px; align-items:center;
}
.top-bar a{ color:#ddd; }
.top-bar a:hover{ color:#fff; }

/* ---------------------------------------------------------
   HEADER
   --------------------------------------------------------- */
.site-header{
  background: linear-gradient(100deg, var(--blue-grad-1) 0%, var(--blue-grad-2) 100%);
  padding: 18px 0;
}
.site-header .wrap{
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
}
.logo img{ height:90px; width:auto; }

.social-mini{ display:flex; align-items:center; gap:10px; }
.social-mini a{
  width:30px; height:30px; border-radius:50%;
  background: rgba(255,255,255,.75);
  display:flex; align-items:center; justify-content:center;
  color: var(--black);
}
.social-mini a svg{ width:15px; height:15px; }

.header-ad{
  flex:1; min-width:240px; max-width:640px;
  background:#fff; border-radius:6px; overflow:hidden;
  display:flex; align-items:center; height:64px;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.header-ad img{ width:100%; height:100%; object-fit:cover; }

/* ---------------------------------------------------------
   MAIN NAV + MEGA MENU
   --------------------------------------------------------- */
.main-nav-bar{
  background:#fff;
  border-bottom:1px solid var(--rule);
  position: sticky; top:0; z-index:200;
  box-shadow: 0 1px 0 rgba(0,0,0,.03);
}
.main-nav-bar .wrap{ display:flex; align-items:center; justify-content:center; height:52px; position:relative; }
.main-nav{ display:flex; align-items:center; gap:2px; height:100%; }
.main-nav > li{ height:100%; display:flex; align-items:center; }
.main-nav > li > a{
  display:flex; align-items:center; gap:4px; height:100%;
  padding:0 14px;
  font-family: var(--font-head); font-weight:600; font-size:.82rem;
  letter-spacing:.02em; text-transform:uppercase;
  color: var(--text); border-bottom:2px solid transparent;
}
.main-nav > li > a:hover, .main-nav > li.open > a{ color: var(--teal-dark); border-bottom-color: var(--teal); }
.main-nav .caret{ width:9px; height:9px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); margin-top:-3px; }

.nav-toggle{ display:none; background:none; border:none; cursor:pointer; }
.nav-toggle svg{ width:24px; height:24px; }

/* mega menu de Provincias — ancla al .wrap del nav (la grilla), no al <li> */
.mega-menu{
  display:none;
  position:absolute; top:calc(100% + 1px); left:0; right:0;
  z-index:50;
}
/* el :hover solo en dispositivos con mouse: en el celular el tap deja el
   hover "pegado" y el menú no se podía volver a cerrar */
@media (hover:hover){
  .main-nav li.tiene-mega:hover .mega-menu{ display:block; }
}
.main-nav li.tiene-mega.open .mega-menu{ display:block; }
.mega-menu-inner{
  background:#fff; border-radius:0 0 12px 12px;
  box-shadow: 0 20px 44px rgba(15,30,45,.16);
  padding:14px 40px 30px;
  width:100%; max-width:100%;
  margin:0;
}
/* columnas tipo diario: se leen de arriba hacia abajo y cada provincia
   lleva su línea de subrayado, como el menú del sitio viejo */
.mega-menu .mega-grid{
  display:grid; grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, auto); grid-auto-flow: column;
  gap:0 44px;
}
.mega-menu .mega-grid a{
  font-family: var(--font-head);
  font-size:.82rem; font-weight:700; color: var(--text);
  padding:13px 2px 11px; border-bottom:1px solid var(--rule);
  border-radius:0; line-height:1.3;
}
.mega-menu .mega-grid a:hover{ background:none; color: var(--teal-dark); }
@media(max-width:860px){
  .mega-menu .mega-grid{ grid-template-columns:repeat(2,1fr); grid-template-rows:none; grid-auto-flow:row; gap:0 20px; }
}

/* ---------------------------------------------------------
   TAG / BADGE
   --------------------------------------------------------- */
.tag{
  display:inline-block;
  background: var(--teal);
  color:#fff;
  font-family: var(--font-head);
  font-weight:700;
  font-size:.66rem;
  letter-spacing:.04em;
  text-transform:uppercase;
  padding:5px 11px;
  border-radius:3px;
}

/* ---------------------------------------------------------
   BOTONES GENERALES
   --------------------------------------------------------- */
.btn-ver-mas{
  display:inline-block;
  border:1.5px solid var(--black);
  color: var(--black);
  font-family: var(--font-head);
  font-weight:700;
  font-size:.68rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  padding:8px 16px;
  border-radius:2px;
  transition: background .15s ease, color .15s ease;
}
.btn-ver-mas:hover{ background: var(--black); color:#fff; }

/* ---------------------------------------------------------
   HOME
   --------------------------------------------------------- */
.home-main{ padding-bottom: 20px; }

.section-head{
  display:flex; align-items:center; justify-content:space-between;
  margin: 0 0 20px;
}
.section-head .titulo{
  display:flex; align-items:center; gap:10px;
  font-family: var(--font-head); font-weight:800; font-size:1.15rem; color: var(--black);
}
.section-head .titulo::before{
  content:''; width:7px; height:22px; border-radius:3px; background: var(--teal); display:block;
}
.section-head .ver-todas{
  font-family: var(--font-head); font-weight:700; font-size:.74rem; letter-spacing:.03em;
  text-transform:uppercase; color: var(--teal-dark);
}
.section-head .ver-todas:hover{ color: var(--black); }

.home-section{ margin-bottom: 44px; }

.ad-full{ margin: 0 0 40px; border-radius:8px; overflow:hidden; height:130px; background: var(--bg-soft); display:flex; align-items:center; justify-content:center; }
.ad-full img{ width:100%; height:100%; object-fit:cover; }

.home-layout{ display:grid; grid-template-columns: 1fr 300px; gap:50px; align-items:start; padding-bottom:20px; }

.grid-noticias{ display:grid; grid-template-columns: repeat(3, 1fr); gap:22px; align-items:stretch; }
.card-noticia{
  display:flex; flex-direction:column; height:100%;
  background:#fff; border:1px solid var(--rule); border-radius:10px;
  overflow:hidden; transition: box-shadow .18s ease, transform .18s ease;
}
.card-noticia:hover{ box-shadow: 0 14px 30px rgba(15,30,45,.1); transform: translateY(-3px); }
/* todas las miniaturas del home con exactamente la misma medida (16:10):
   la caja fija la proporción con padding-bottom y la imagen se recorta
   con object-fit, sea vertical u horizontal */
.card-noticia .thumb{ position:relative; flex:none; height:0; padding-bottom:62.5%; overflow:hidden; background:#ddd; margin:0; border-radius:0; display:block; }
.card-noticia .thumb img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.card-noticia .thumb .tag{ position:absolute; left:12px; bottom:12px; }
.card-noticia .cuerpo{ padding:16px; flex:1; display:flex; flex-direction:column; }
.card-noticia h3{ font-family: var(--font-head); font-weight:700; font-size:1rem; line-height:1.35; margin:0 0 8px; color: var(--text) !important; }
.card-noticia:hover h3{ color: var(--teal-dark) !important; }
.card-noticia p{ margin:0; font-size:.82rem; color: var(--text-soft) !important; line-height:1.5; }

.lista-noticias{ display:flex; flex-direction:column; }
.lista-noticias .post-list-item{ grid-template-columns:170px 1fr; padding:20px 0; }
.lista-noticias .post-list-item h2{ font-size:1.02rem; }
.lista-noticias .post-list-item p{ -webkit-line-clamp:2; display:-webkit-box; -webkit-box-orient:vertical; overflow:hidden; }

.ad-triple{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin: 0 0 44px; align-items:stretch; }
.ad-triple .ad-card{ display:flex; flex-direction:column; border:1px solid var(--rule); border-radius:10px; overflow:hidden; background:#fff; }
.ad-triple .ad-slot-label{
  display:flex; align-items:center; gap:8px; padding:10px 14px; height:38px;
  font-family: var(--font-head); font-weight:700; font-size:.72rem; text-transform:uppercase; letter-spacing:.02em; color: var(--text-soft);
  border-bottom:1px solid var(--rule);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.ad-triple .ad-slot-label .dots{ display:flex; gap:3px; flex:none; }
.ad-triple .ad-slot-label .dots span{ width:5px; height:5px; border-radius:50%; background: var(--teal); display:block; }
.ad-triple .ad-img{ flex:1; height:150px; display:flex; align-items:center; justify-content:center; background: var(--bg-soft); }
.ad-triple .ad-img img{ width:100%; height:100%; object-fit:cover; display:block; }

/* ticker */
.tendencia{
  display:flex; align-items:center; gap:16px;
  background: var(--black); border-radius:8px;
  padding:12px 18px; margin-bottom: 44px;
}
.tendencia .etiqueta{
  display:flex; align-items:center; gap:8px; flex:none;
  background: var(--teal); color:#fff; font-family: var(--font-head); font-weight:700;
  font-size:.72rem; text-transform:uppercase; letter-spacing:.03em;
  padding:8px 14px; border-radius:5px; white-space:nowrap;
}
.tendencia .items{ flex:1; overflow:hidden; white-space:nowrap; display:flex; align-items:center; gap:8px; }
.tendencia .items a{ font-size:.85rem; font-weight:600; color:#fff; display:none; overflow:hidden; text-overflow:ellipsis; }
.tendencia .items a.visible{ display:inline-block; max-width:100%; }
.tendencia .items a:hover{ color: var(--teal); }
.tendencia .items .hora{ color:#9aa2ab; font-size:.78rem; margin-right:18px; }
.tendencia .flechas{ display:flex; gap:6px; flex:none; }
.tendencia .flechas button{
  width:26px; height:26px; border-radius:50%; border:1px solid #3a3a3a; background:#262626; color:#fff; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
}

/* ---------------------------------------------------------
   CATEGORY / LISTADO — hero + lista
   --------------------------------------------------------- */
.cat-hero-grid{
  display:grid; grid-template-columns: 1.4fr 1fr; gap:16px;
  margin: 28px 0 46px;
}
.cat-hero-grid .principal{
  position:relative; border-radius:6px; overflow:hidden; min-height:400px; background:#666;
}
.cat-hero-grid .principal img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.cat-hero-grid .principal .overlay{ position:absolute; inset:0; background: linear-gradient(0deg, rgba(0,0,0,.78) 10%, rgba(0,0,0,0) 60%); }
.cat-hero-grid .principal .cap{ position:absolute; left:0; right:0; bottom:0; padding:22px; }
.cat-hero-grid .principal h2{ color:#fff; font-family: var(--font-head); font-weight:700; font-size:1.4rem; line-height:1.3; margin:10px 0 0; }

.cat-hero-side{ display:grid; grid-template-rows:1fr 1fr; gap:16px; }
.cat-hero-side .card{
  position:relative; border-radius:6px; overflow:hidden; min-height:190px; background:#666;
}
.cat-hero-side .card img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.cat-hero-side .card .overlay{ position:absolute; inset:0; background: linear-gradient(0deg, rgba(0,0,0,.75) 15%, rgba(0,0,0,0) 65%); }
.cat-hero-side .card .cap{ position:absolute; left:0; right:0; bottom:0; padding:16px; }
.cat-hero-side .card h3{ color:#fff; font-family: var(--font-head); font-weight:700; font-size:.98rem; line-height:1.3; margin:8px 0 0; }

.cat-layout{ display:grid; grid-template-columns: 1fr 300px; gap:50px; align-items:start; padding-bottom:60px; }

.cat-titulo{ font-family: var(--font-head); font-weight:800; font-size:1.7rem; margin:0 0 26px; }

.post-list-item{
  display:grid; grid-template-columns: 220px 1fr; gap:24px;
  padding: 26px 0; border-bottom:1px solid var(--rule);
}
.post-list-item:first-child{ padding-top:0; }
.post-list-item .thumb{ width:100%; aspect-ratio:4/3; border-radius:5px; overflow:hidden; background:#ddd; position:relative; }
.post-list-item .thumb img{ width:100%; height:100%; object-fit:cover; }
.post-list-item .thumb .tag{ position:absolute; left:10px; top:10px; }
.post-list-item h2{ font-family: var(--font-head); font-weight:700; font-size:1.18rem; line-height:1.35; margin:0 0 10px; }
.post-list-item h2 a:hover{ color: var(--teal-dark); }
.post-list-item p{ color: var(--text-soft); font-size:.9rem; line-height:1.55; margin:0 0 14px; }

.pagination{ display:flex; align-items:center; gap:8px; margin-top:10px; }
.pagination a, .pagination span{
  display:flex; align-items:center; justify-content:center;
  min-width:34px; height:34px; padding:0 4px;
  border-radius:4px; font-family: var(--font-head); font-weight:600; font-size:.85rem; color: var(--text);
}
.pagination .current{ background: var(--teal); color:#fff; }
.pagination a:hover{ background: var(--bg-soft); }

/* sidebar trending */
.sidebar{ position: sticky; top: 72px; }
.sidebar h3.tag{ font-size:.72rem; margin-bottom:16px; }
.sidebar-item{ display:flex; gap:12px; padding:14px 0; border-bottom:1px solid var(--rule); }
.sidebar-item:first-child{ padding-top:0; }
.sidebar-item .thumb{ width:64px; height:64px; flex:none; border-radius:5px; overflow:hidden; background:#ddd; }
.sidebar-item .thumb img{ width:100%; height:100%; object-fit:cover; }
.sidebar-item h4{ margin:0 0 4px; font-family: var(--font-head); font-weight:700; font-size:.84rem; line-height:1.35; }
.sidebar-item h4:hover{ color: var(--teal-dark); }

/* ---------------------------------------------------------
   NOTICIA INDIVIDUAL
   --------------------------------------------------------- */
.post-layout{ display:grid; grid-template-columns: 1fr 300px; gap:50px; align-items:start; padding:34px 0 60px; }
.post-header h1{
  font-family: var(--font-head); font-weight:800; font-size:2rem; line-height:1.25;
  color: var(--black); margin: 6px 0 10px;
}
.post-meta{ display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
.post-meta .fecha{ color: var(--text-soft); font-size:.85rem; }
.post-meta .iconos{ display:flex; gap:8px; }
.post-meta .iconos button{
  width:30px; height:30px; border-radius:4px; border:1px solid var(--rule); background:#fff; cursor:pointer;
  display:flex; align-items:center; justify-content:center; color: var(--text-soft);
}
.post-figure{ border-radius:6px; overflow:hidden; margin-bottom:20px; }

.share-row{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:26px; }
.share-row a, .share-row button{
  display:flex; align-items:center; gap:8px;
  padding:10px 16px; border-radius:5px; border:none; cursor:pointer;
  color:#fff; font-family: var(--font-head); font-weight:700; font-size:.78rem;
}
.share-row svg{ width:15px; height:15px; }
.share-fb{ background:#3b5998; }
.share-tw{ background:#4aa8e0; }
.share-wa{ background:#1fa855; }
.share-tg{ background:#0088cc; }

.post-body p{ font-size:1.02rem; line-height:1.75; color:#2a2a2a; margin:0 0 20px; }
.post-body h2{ font-family: var(--font-head); font-weight:700; font-size:1.3rem; margin:30px 0 14px; }

.btn-escuchar{
  display:inline-flex; align-items:center; gap:9px;
  background:#fff; border:1.5px solid var(--teal); color: var(--black);
  border-radius:999px; padding:11px 20px; margin:0 0 22px;
  font-family: var(--font-head); font-weight:700; font-size:.78rem; letter-spacing:.03em;
  cursor:pointer; box-shadow: 0 2px 6px rgba(0,0,0,.06);
  transition: background .15s ease, border-color .15s ease;
}
.btn-escuchar svg{ width:16px; height:16px; flex:none; }
.btn-escuchar:hover{ background: rgba(23,165,184,.08); border-color: var(--teal-dark); }

/* caja lateral al pie: autor + escuchar + compartir + relacionada */
.post-footer-box{
  border:1px solid var(--rule); border-radius:10px; padding:22px;
  margin-top: 30px;
  display:flex; flex-direction:column; gap:18px;
}
.autor-box{ display:flex; align-items:center; gap:12px; }
.autor-box .avatar{
  width:46px; height:46px; border-radius:50%; flex:none;
  background: var(--teal); color:#fff; display:flex; align-items:center; justify-content:center;
  font-family: var(--font-head); font-weight:700; font-size:1.05rem;
}
.autor-box .datos{ display:flex; flex-direction:column; }
.autor-box .datos small{ color: var(--text-soft); font-size:.72rem; text-transform:uppercase; letter-spacing:.03em; }
.autor-box .datos strong{ font-family: var(--font-head); font-size:.95rem; }

.btn-relacionada{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  background: var(--bg-soft); border-radius:8px; padding:14px 16px;
  font-family: var(--font-head); font-weight:700; font-size:.85rem; color: var(--black);
}
.btn-relacionada:hover{ background: #eef2f4; }
.btn-relacionada svg{ width:16px; height:16px; flex:none; color: var(--teal-dark); }

.share-feedback{ font-size:.8rem; color: var(--teal-dark); font-weight:600; }

/* ---------------------------------------------------------
   MODAL — Envianos tu noticia (WhatsApp)
   --------------------------------------------------------- */
.modal-overlay{
  display:none; position:fixed; inset:0; background:rgba(15,20,25,.55);
  z-index:300; align-items:center; justify-content:center; padding:20px;
}
.modal-overlay.abierto{ display:flex; }
.modal-box{
  background:#fff; border-radius:14px; padding:28px 30px; width:100%; max-width:440px;
  box-shadow:0 20px 50px rgba(0,0,0,.3); max-height:90vh; overflow-y:auto; position:relative;
}
.modal-box h3{ font-family: var(--font-head); font-weight:800; font-size:1.3rem; margin:0 0 4px; }
.modal-box .modal-subtitulo{ color: var(--text-soft); font-size:.85rem; margin:0 0 20px; }
.modal-cerrar{
  position:absolute; top:16px; right:16px; background:none; border:none; cursor:pointer;
  width:30px; height:30px; display:flex; align-items:center; justify-content:center; color: var(--text-soft);
}
.modal-box .field{ margin-bottom:14px; }
.modal-box label{ display:block; font-size:.82rem; font-weight:600; margin-bottom:6px; }
.modal-box input, .modal-box textarea{
  width:100%; border:1px solid var(--rule); border-radius:6px; padding:10px 12px;
  font-family: var(--font-body); font-size:.92rem;
}
.modal-box textarea{ resize:vertical; min-height:100px; }
.btn-enviar-wa{
  display:flex; align-items:center; justify-content:center; gap:8px; width:100%;
  background:#25d366; color:#fff; border:none; border-radius:6px; padding:13px;
  font-family: var(--font-head); font-weight:700; font-size:.88rem; cursor:pointer; margin-top:6px;
}
.btn-enviar-wa svg{ width:17px; height:17px; }

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */
.site-footer{ background: var(--bg-soft); padding: 40px 0 24px; text-align:center; margin-top:40px; }
.site-footer .redes-titulo{ font-family: var(--font-head); font-weight:700; margin-bottom:14px; }
.site-footer .redes{ display:flex; justify-content:center; gap:10px; margin-bottom:30px; }
.site-footer .redes a{
  width:38px; height:38px; border-radius:50%; background:#e2e6ea;
  display:flex; align-items:center; justify-content:center; color: var(--black);
}
.footer-credito{ display:flex; justify-content:center; padding-bottom:30px; }
.footer-credito img{ width:182px; height:42px; }

.back-to-top{
  position:fixed; right:24px; bottom:24px; width:44px; height:44px; border-radius:50%;
  background: var(--teal); display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 16px rgba(0,0,0,.2); cursor:pointer; z-index:50;
}
.back-to-top svg{ width:18px; height:18px; color:#fff; }

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */
@media (max-width: 980px){
  .grid-noticias, .ad-triple{ grid-template-columns: repeat(2,1fr); }
  .home-layout{ grid-template-columns: 1fr; }
  .cat-hero-grid{ grid-template-columns: 1fr; }
  .cat-layout, .post-layout{ grid-template-columns: 1fr; }
  .sidebar{ position:static; }
  /* menú hamburguesa */
  .main-nav-bar .wrap{ position:relative; justify-content:flex-start; }
  .nav-toggle{ display:flex; align-items:center; padding:8px 4px; }
  .main-nav{ display:none; position:absolute; top:100%; left:0; right:0; background:#fff; flex-direction:column; align-items:stretch; gap:0; height:auto; border-bottom:1px solid var(--rule); padding:6px 20px 14px; box-shadow:0 16px 28px rgba(15,30,45,.14); z-index:80; }
  .main-nav.open{ display:flex; }
  .main-nav > li{ height:auto; display:block; border-bottom:1px solid var(--rule); }
  .main-nav > li:last-child{ border-bottom:none; }
  .main-nav > li > a{ height:auto; display:flex; align-items:center; gap:8px; padding:13px 2px; border-bottom:none; font-size:.82rem; }
  .mega-menu{ position:static; width:auto; max-width:none; transform:none; box-shadow:none; border-radius:0; padding:0; }
  .mega-menu-inner{ width:auto; max-width:none; padding:0 0 12px 10px; box-shadow:none; border-radius:0; background:transparent; }
  .mega-menu .mega-grid{ grid-template-columns:repeat(2,1fr); grid-template-rows:none; grid-auto-flow:row; gap:0 18px; }
  .mega-menu .mega-grid a{ padding:10px 2px 9px; font-size:.8rem; }
  .header-ad{ display:none; }
}
@media (max-width: 620px){
  .grid-noticias, .ad-triple{ grid-template-columns: 1fr; }
  /* los 4 botones de compartir en una sola línea, solo con "Compartir":
     ícono arriba y texto abajo para que entren sin desborde lateral */
  .share-row{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
  .share-row a, .share-row button{
    flex-direction:column; justify-content:center; gap:5px;
    min-width:0; max-width:100%; overflow:hidden;
    padding:9px 2px; font-size:.66rem; letter-spacing:0;
  }
  .share-row svg{ width:16px; height:16px; flex:none; }
  .share-row .share-red{ display:none; }
  .post-list-item{ grid-template-columns: 1fr; }
  .post-header h1{ font-size:1.5rem; }
  .cat-titulo{ font-size:1.4rem; }
}

/* ---------------------------------------------------------
   WIDGET DE CLIMA (código propio, datos de Open-Meteo)
   --------------------------------------------------------- */
.clima-widget{
  display:flex; align-items:center; gap:16px;
  background:#fff; border:1px solid var(--rule); border-radius:8px;
  padding:12px 18px; margin-bottom:44px;
}
.clima-widget .clima-etiqueta{
  display:flex; align-items:center; gap:8px; flex:none;
  background: var(--teal); color:#fff; font-family: var(--font-head); font-weight:700;
  font-size:.72rem; text-transform:uppercase; letter-spacing:.03em;
  padding:8px 14px; border-radius:5px; white-space:nowrap;
}
.clima-widget .clima-datos{ flex:1; display:flex; align-items:center; justify-content:space-between; gap:18px; min-width:0; }
.clima-widget .clima-cargando{ color: var(--text-soft); font-size:.85rem; }
.clima-widget .clima-ahora{ display:flex; align-items:center; gap:12px; min-width:0; }
.clima-widget .clima-ico{ font-size:1.6rem; line-height:1; }
.clima-widget .clima-temp{ font-family: var(--font-head); font-weight:800; font-size:1.7rem; line-height:1; }
.clima-widget .clima-info{ display:flex; flex-direction:column; min-width:0; }
.clima-widget .clima-info b{ font-family: var(--font-head); font-size:.88rem; }
.clima-widget .clima-info span{ color: var(--text-soft); font-size:.78rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.clima-widget .clima-dias{ display:flex; gap:22px; flex:none; }
.clima-widget .clima-dia{ display:flex; flex-direction:column; align-items:center; gap:2px; }
.clima-widget .clima-dia .d{ font-family: var(--font-head); font-weight:700; font-size:.68rem; color: var(--text-soft); }
.clima-widget .clima-dia .i{ font-size:1.05rem; line-height:1.2; }
.clima-widget .clima-dia .t{ font-size:.74rem; font-weight:600; }
@media(max-width:700px){
  .clima-widget .clima-dias{ display:none; }
}

/* video de YouTube dentro del cuerpo de la nota */
.video-embed{ position:relative; width:100%; aspect-ratio:16/9; margin:18px 0 22px; border-radius:8px; overflow:hidden; background:#000; }
.video-embed iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }