.news-section{padding-top:10px}
.news-section-head{max-width:none;display:flex;align-items:flex-end;justify-content:space-between;gap:22px}
.news-section-head>div{max-width:720px}
.news-join{flex:none;min-height:46px;padding-inline:16px;margin-bottom:2px}
.news-shell{overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-xl);background:linear-gradient(135deg,rgba(68,184,234,.055),rgba(79,132,238,.045)),var(--surface);box-shadow:var(--shadow);backdrop-filter:blur(24px)}
.news-feed{max-height:520px;overflow-y:auto;overscroll-behavior:contain;padding:9px;scrollbar-width:thin;scrollbar-color:rgba(79,132,238,.32) transparent;scrollbar-gutter:stable}
.news-feed::-webkit-scrollbar{width:7px}
.news-feed::-webkit-scrollbar-track{background:transparent}
.news-feed::-webkit-scrollbar-thumb{background:rgba(79,132,238,.24);border-radius:999px}
.news-item{margin:0 0 8px;overflow:hidden;border:1px solid var(--line);border-radius:21px;background:rgba(255,255,255,.56);transition:border-color .2s ease,background .25s ease}
.news-item:last-child{margin-bottom:0}
.news-item[open]{border-color:rgba(79,132,238,.20);background:rgba(255,255,255,.74)}
.news-item-summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:16px 17px;-webkit-tap-highlight-color:transparent}
.news-item-summary::-webkit-details-marker{display:none}
.news-summary-main{min-width:0}
.news-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;color:var(--muted);font-size:.76rem;font-weight:650}
.news-meta-dot{width:3px;height:3px;border-radius:50%;background:currentColor;opacity:.55}
.news-summary-text{margin:7px 0 0;color:var(--text);font-size:.96rem;line-height:1.52;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;white-space:pre-line}
.news-content{padding:0 17px 17px;border-top:1px solid var(--line)}
.news-post-text{margin:15px 0 0;color:var(--text);font-size:.96rem;line-height:1.62;white-space:pre-wrap;overflow-wrap:anywhere}
.news-media-link{display:block;margin-top:14px;border-radius:17px;overflow:hidden;border:1px solid var(--line);background:var(--surface-soft)}
.news-media{width:100%;max-height:340px;object-fit:cover}
.news-post-link{display:inline-flex;align-items:center;gap:7px;margin-top:14px;color:var(--blue-2);font-size:.86rem;font-weight:750}
.news-post-link i{font-size:16px}
.news-feed-footer{min-height:52px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;border-top:1px solid var(--line);color:var(--muted);font-size:.82rem}
.news-feed-footer>a{display:inline-flex;align-items:center;gap:7px;color:var(--blue-2);font-weight:750;white-space:nowrap}
.news-loading,.news-error{min-height:190px;display:flex;align-items:center;justify-content:center;gap:11px;padding:28px;text-align:center;color:var(--muted)}
.news-loading{flex-direction:column}
.news-spinner{width:24px;height:24px;border-radius:50%;border:2px solid rgba(79,132,238,.18);border-top-color:var(--blue-2);animation:newsSpin .8s linear infinite}
.news-error{flex-direction:column}
.news-error strong{color:var(--text);font-size:1rem}
.news-error p{margin:0;max-width:440px;line-height:1.55}
.news-error a{display:inline-flex;align-items:center;gap:7px;margin-top:4px;color:var(--blue-2);font-weight:750}
html[data-theme="dark"] .news-item{background:rgba(21,26,36,.62)}
html[data-theme="dark"] .news-item[open]{background:rgba(21,26,36,.84)}
@keyframes newsSpin{to{transform:rotate(360deg)}}
@media(max-width:680px){
  .news-section{padding-top:4px}
  .news-section-head{align-items:stretch;flex-direction:column;gap:14px}
  .news-section-head .news-join{width:100%;margin:0}
  .news-shell{border-radius:24px}
  .news-feed{max-height:470px;padding:7px}
  .news-item{border-radius:18px}
  .news-item-summary{padding:14px 14px;gap:10px}
  .news-content{padding:0 14px 15px}
  .news-summary-text,.news-post-text{font-size:.93rem}
  .news-feed-footer{align-items:flex-start;flex-direction:column;padding:11px 14px}
}
@media(prefers-reduced-motion:reduce){.news-spinner{animation:none}.news-summary-action i{transition:none}}


/* Noticias: aprovechar mejor el espacio disponible */
body[data-rocla-view="news"] #noticias.wrap{width:min(1360px,calc(100% - 32px))}
body[data-rocla-view="news"] .news-section-head>div{max-width:900px}
body[data-rocla-view="news"] .news-shell{border-radius:30px}
body[data-rocla-view="news"] .news-feed{padding:14px;max-height:calc(100svh - 286px)}
body[data-rocla-view="news"] .news-item{margin-bottom:12px;border-radius:24px}
body[data-rocla-view="news"] .news-item-summary{padding:20px 22px;gap:18px}
body[data-rocla-view="news"] .news-summary-text{font-size:1.02rem;line-height:1.58;-webkit-line-clamp:4}
body[data-rocla-view="news"] .news-meta{font-size:.79rem}
body[data-rocla-view="news"] .news-summary-action{width:38px;height:38px}
body[data-rocla-view="news"] .news-content{padding:0 22px 22px}
body[data-rocla-view="news"] .news-post-text{font-size:1.01rem;line-height:1.68}
body[data-rocla-view="news"] .news-media{max-height:520px;object-fit:contain;background:rgba(0,0,0,.025)}
body[data-rocla-view="news"] .news-feed-footer{padding:12px 20px}
@media(min-width:1180px){
  body[data-rocla-view="news"] .news-feed{padding:16px}
  body[data-rocla-view="news"] .news-item-summary{padding:22px 26px}
  body[data-rocla-view="news"] .news-content{padding:0 26px 24px}
}
@media(max-width:680px){
  body[data-rocla-view="news"] #noticias.wrap{width:min(100% - 14px,640px)}
  body[data-rocla-view="news"] .news-shell{border-radius:22px}
  body[data-rocla-view="news"] .news-feed{padding:6px;max-height:calc(100svh - 274px)}
  body[data-rocla-view="news"] .news-item{margin-bottom:7px;border-radius:18px}
  body[data-rocla-view="news"] .news-item-summary{padding:15px 15px;gap:10px}
  body[data-rocla-view="news"] .news-summary-text{font-size:.96rem;line-height:1.56;-webkit-line-clamp:4}
  body[data-rocla-view="news"] .news-content{padding:0 15px 16px}
  body[data-rocla-view="news"] .news-post-text{font-size:.96rem;line-height:1.62}
  body[data-rocla-view="news"] .news-media{max-height:460px}
}


/* Noticias siempre expandidas */
.news-item{padding:0}
.news-item-header{padding:18px 22px 0}
.news-item-summary{display:none!important}
.news-content{border-top:0;padding:0 22px 22px}
.news-post-text{margin-top:10px}
body[data-rocla-view="news"] .news-item-header{padding:20px 26px 0}
body[data-rocla-view="news"] .news-content{padding:0 26px 24px}
@media(max-width:680px){
  .news-item-header{padding:14px 15px 0}
  .news-content{padding:0 15px 16px}
  body[data-rocla-view="news"] .news-item-header{padding:14px 15px 0}
  body[data-rocla-view="news"] .news-content{padding:0 15px 16px}
}


/* Feed editorial: separación, jerarquía y lectura cómoda */
body[data-rocla-view="news"] .news-shell{
  background:#eef3f8;
  border-color:rgba(31,42,71,.07);
  box-shadow:none;
  padding:0;
}
html[data-theme="dark"] body[data-rocla-view="news"] .news-shell{
  background:#111720;
  border-color:rgba(255,255,255,.055);
}
body[data-rocla-view="news"] .news-feed{
  display:flex;
  flex-direction:column;
  gap:18px;
  padding:18px;
}
body[data-rocla-view="news"] .news-item{
  margin:0;
  overflow:hidden;
  border:1px solid rgba(31,42,71,.075);
  border-radius:24px;
  background:#fff;
  box-shadow:0 3px 12px rgba(31,42,71,.055);
}
html[data-theme="dark"] body[data-rocla-view="news"] .news-item{
  background:#1a202a;
  border-color:rgba(255,255,255,.075);
  box-shadow:0 3px 14px rgba(0,0,0,.18);
}
body[data-rocla-view="news"] .news-item-header{
  padding:20px 24px 0;
}
.news-item-identity{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.news-item-avatar{
  width:42px;
  height:42px;
  flex:none;
  object-fit:contain;
  border-radius:13px;
  background:rgba(79,132,238,.07);
}
.news-item-identity-copy{
  min-width:0;
  display:grid;
  gap:3px;
}
.news-item-channel{
  color:var(--text);
  font-size:.98rem;
  line-height:1.2;
  letter-spacing:-.02em;
}
body[data-rocla-view="news"] .news-meta{
  font-size:.76rem;
  font-weight:600;
  line-height:1.35;
}
body[data-rocla-view="news"] .news-content{
  padding:0 24px 22px;
}
body[data-rocla-view="news"] .news-post-text{
  max-width:70ch;
  margin:16px 0 0;
  font-size:1rem;
  line-height:1.7;
}
body[data-rocla-view="news"] .news-media-link{
  margin-top:18px;
  border-radius:18px;
  background:#f4f7fb;
}
html[data-theme="dark"] body[data-rocla-view="news"] .news-media-link{
  background:#111720;
}
body[data-rocla-view="news"] .news-media{
  width:100%;
  max-height:560px;
  object-fit:contain;
}
.news-item-footer{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  min-height:54px;
  padding:9px 20px;
  border-top:1px solid rgba(31,42,71,.07);
  background:rgba(247,249,252,.72);
}
html[data-theme="dark"] .news-item-footer{
  border-top-color:rgba(255,255,255,.065);
  background:rgba(14,19,27,.34);
}
body[data-rocla-view="news"] .news-post-link{
  margin:0;
  min-height:36px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(52,133,255,.09);
  color:#3485ff;
  font-size:.84rem;
  font-weight:760;
}
body[data-rocla-view="news"] .news-feed-footer{
  background:transparent;
  border-top-color:rgba(31,42,71,.07);
}
html[data-theme="dark"] body[data-rocla-view="news"] .news-feed-footer{
  border-top-color:rgba(255,255,255,.06);
}
@media(max-width:680px){
  body[data-rocla-view="news"] .news-feed{
    gap:13px;
    padding:8px;
  }
  body[data-rocla-view="news"] .news-item{
    border-radius:19px;
  }
  body[data-rocla-view="news"] .news-item-header{
    padding:15px 15px 0;
  }
  .news-item-avatar{
    width:38px;
    height:38px;
    border-radius:12px;
  }
  body[data-rocla-view="news"] .news-content{
    padding:0 15px 17px;
  }
  body[data-rocla-view="news"] .news-post-text{
    margin-top:13px;
    max-width:none;
    font-size:.96rem;
    line-height:1.64;
  }
  body[data-rocla-view="news"] .news-media-link{
    margin-top:15px;
    border-radius:15px;
  }
  .news-item-footer{
    min-height:50px;
    padding:7px 12px;
  }
}


/* Feed de página: un solo scroll, sin contenedor maestro */
body[data-rocla-view="news"] .support-fab{display:none}
body[data-rocla-view="news"] #noticias.wrap{
  width:min(980px,calc(100% - 28px));
}
body[data-rocla-view="news"] #noticias{
  min-height:0;
  padding-top:18px;
  padding-bottom:42px;
}
body[data-rocla-view="news"] .news-section-head{
  max-width:920px;
  margin-bottom:22px;
  align-items:flex-end;
  gap:18px;
}
body[data-rocla-view="news"] .news-section-head>div{
  max-width:720px;
}
body[data-rocla-view="news"] .news-section-head h2{
  margin-top:8px;
  margin-bottom:6px;
  font-size:clamp(2.1rem,5vw,3.3rem);
}
body[data-rocla-view="news"] .news-section-head p{
  max-width:640px;
  line-height:1.5;
}
body[data-rocla-view="news"] .news-join{
  width:auto;
  min-height:42px;
  padding:0 15px;
  margin:0;
  align-self:flex-end;
}
body[data-rocla-view="news"] .news-shell,
html[data-theme="dark"] body[data-rocla-view="news"] .news-shell{
  overflow:visible;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  padding:0;
}
body[data-rocla-view="news"] .news-feed{
  display:flex;
  flex-direction:column;
  gap:18px;
  max-height:none;
  min-height:0;
  overflow:visible;
  overscroll-behavior:auto;
  padding:0;
  scrollbar-width:auto;
  scrollbar-gutter:auto;
}
body[data-rocla-view="news"] .news-item{
  margin:0;
  border:1px solid rgba(31,42,71,.075);
  border-radius:22px;
  background:#fff;
  box-shadow:0 4px 14px rgba(31,42,71,.05);
}
html[data-theme="dark"] body[data-rocla-view="news"] .news-item{
  background:#1a202a;
  border-color:rgba(255,255,255,.07);
  box-shadow:0 4px 16px rgba(0,0,0,.16);
}
body[data-rocla-view="news"] .news-item-header{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:14px;
  padding:18px 22px 0;
}
body[data-rocla-view="news"] .news-item-channel{
  flex:none;
  font-size:.95rem;
  font-weight:760;
}
body[data-rocla-view="news"] .news-meta{
  justify-content:flex-end;
  text-align:right;
  font-size:.74rem;
}
body[data-rocla-view="news"] .news-content{
  padding:0 22px 20px;
}
body[data-rocla-view="news"] .news-post-text{
  max-width:70ch;
  margin:14px 0 0;
  font-size:1rem;
  line-height:1.68;
}
body[data-rocla-view="news"] .news-media-link{
  margin-top:17px;
  border-radius:16px;
}
body[data-rocla-view="news"] .news-media{
  width:100%;
  max-height:580px;
  object-fit:contain;
}
body[data-rocla-view="news"] .news-item-footer{
  min-height:50px;
  padding:7px 14px;
  background:transparent;
}
body[data-rocla-view="news"] .news-post-link{
  min-height:34px;
  padding:0 10px;
  background:transparent;
}
.news-feed-footer{display:none!important}

@media(max-width:680px){
  body[data-rocla-view="news"] #noticias.wrap{
    width:calc(100% - 24px);
  }
  body[data-rocla-view="news"] #noticias{
    padding-top:10px;
    padding-bottom:28px;
  }
  body[data-rocla-view="news"] .news-section-head{
    gap:10px;
    margin-bottom:18px;
  }
  body[data-rocla-view="news"] .news-section-head h2{
    font-size:clamp(2rem,10vw,2.75rem);
  }
  body[data-rocla-view="news"] .news-section-head p{
    font-size:.96rem;
    line-height:1.5;
  }
  body[data-rocla-view="news"] .news-join{
    width:auto!important;
    min-height:40px;
    padding:0 14px;
    align-self:flex-start;
  }
  body[data-rocla-view="news"] .news-feed{
    gap:14px;
  }
  body[data-rocla-view="news"] .news-item{
    border-radius:18px;
  }
  body[data-rocla-view="news"] .news-item-header{
    align-items:flex-start;
    justify-content:flex-start;
    flex-direction:column;
    gap:4px;
    padding:14px 15px 0;
  }
  body[data-rocla-view="news"] .news-meta{
    justify-content:flex-start;
    text-align:left;
  }
  body[data-rocla-view="news"] .news-content{
    padding:0 15px 16px;
  }
  body[data-rocla-view="news"] .news-post-text{
    margin-top:12px;
    max-width:none;
    font-size:.96rem;
    line-height:1.62;
  }
  body[data-rocla-view="news"] .news-media-link{
    margin-top:14px;
    border-radius:14px;
  }
  body[data-rocla-view="news"] .news-item-footer{
    min-height:46px;
    padding:6px 10px;
  }
}


/* Ajustes de CTA e icono de Noticias */
body[data-rocla-view="news"] .news-section-head{
  align-items:flex-end;
}
body[data-rocla-view="news"] .news-join{
  margin-left:auto;
  align-self:flex-end;
  background:#3485ff;
  color:#fff;
  border-color:transparent;
  box-shadow:0 8px 20px rgba(52,133,255,.22);
}
body[data-rocla-view="news"] .news-join:hover{
  background:#2f7bf0;
  color:#fff;
  border-color:transparent;
}
body[data-rocla-view="news"] .news-join:focus-visible{
  outline:3px solid rgba(52,133,255,.24);
  outline-offset:3px;
}
.news-entry-icon{
  position:relative;
}
.news-entry-icon::after{
  content:"";
  position:absolute;
  top:-2px;
  right:-2px;
  width:9px;
  height:9px;
  border-radius:50%;
  background:#ff3b30;
  border:2px solid var(--bg);
  box-shadow:0 1px 4px rgba(255,59,48,.28);
}
@media(max-width:680px){
  body[data-rocla-view="news"] .news-section-head{
    align-items:stretch;
  }
  body[data-rocla-view="news"] .news-join{
    align-self:flex-end;
    margin-left:auto;
  }
}


/* Noticias en el encabezado */
.header-news-button{
  position:relative;
  width:40px;
  height:40px;
  flex:none;
  display:grid;
  place-items:center;
  border-radius:50%;
  border:1px solid rgba(79,132,238,.12);
  background:rgba(255,255,255,.62);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  color:var(--text);
  transition:transform .18s ease,background .25s ease,border-color .25s ease,color .25s ease;
}
.header-news-button:hover{
  transform:translateY(-1px);
  border-color:rgba(79,132,238,.24);
}
.header-news-button:focus-visible{
  outline:3px solid rgba(79,132,238,.24);
  outline-offset:3px;
}
.header-news-button i{
  font-size:19px;
  line-height:1;
}
.header-news-dot{
  position:absolute;
  top:5px;
  right:5px;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#ff3b30;
  border:2px solid var(--bg);
  box-shadow:0 1px 4px rgba(255,59,48,.28);
}
html[data-theme="dark"] .header-news-button{
  background:rgba(24,29,40,.72);
  border-color:rgba(255,255,255,.08);
}
@media(max-width:680px){
  .header-news-button{
    width:38px;
    height:38px;
  }
  .header-news-button i{
    font-size:18px;
  }
  .header-news-dot{
    top:4px;
    right:4px;
  }
}
@media(max-width:380px){
  .header-news-button{
    width:36px;
    height:36px;
  }
  .header-news-button i{
    font-size:17px;
  }
}


/* Campana alineada exactamente con Luna/Sol */
.site-header .header-news-button{
  width:46px;
  height:46px;
  border-radius:50%;
  border:1px solid rgba(79,132,238,.12);
  background:rgba(255,255,255,.66);
  box-shadow:none;
  color:var(--muted);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
.site-header .header-news-button:hover{
  transform:none;
  border-color:rgba(79,132,238,.12);
  background:rgba(255,255,255,.72);
  box-shadow:none;
}
.site-header .header-news-button i{
  font-size:18px;
  line-height:1;
  font-weight:400;
}
html[data-theme="dark"] .site-header .header-news-button{
  background:rgba(24,29,40,.78);
  border-color:rgba(255,255,255,.12);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.035);
  color:var(--muted);
}
@media(max-width:680px){
  .site-header .header-news-button{
    width:42px;
    height:42px;
  }
}
@media(max-width:380px){
  .site-header .header-news-button{
    width:40px;
    height:40px;
  }
}


/* Indicador de noticia destacado */
.site-header .header-news-dot{
  width:12px;
  height:12px;
  top:3px;
  right:3px;
  border-width:2px;
}
@media(max-width:680px){
  .site-header .header-news-dot{
    width:12px;
    height:12px;
    top:2px;
    right:2px;
  }
}


/* Noticias solo bajo acceso explícito desde la campana */
#noticias{
  display:none!important;
}
body[data-rocla-view="news"] main>section:not(#noticias){
  display:none!important;
}
body[data-rocla-view="news"] #noticias{
  display:block!important;
}
body[data-rocla-view="news"] .site-footer{
  display:none!important;
}


/* Foto del canal y enlaces dentro de publicaciones */
body[data-rocla-view="news"] .news-item-header{
  align-items:center;
}
.news-item-channel-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-width:0;
  color:inherit;
  text-decoration:none;
}
.news-item-channel-link:hover .news-item-channel{
  color:var(--blue-2);
}
.news-item-avatar{
  width:42px;
  height:42px;
  flex:0 0 42px;
  border-radius:50%;
  object-fit:cover;
  background:var(--surface-soft);
  border:1px solid var(--line);
}
.news-item-channel-copy{
  min-width:0;
  display:grid;
  gap:2px;
}
.news-inline-link{
  color:#3485ff;
  font-weight:680;
  text-decoration:none;
  overflow-wrap:anywhere;
}
.news-inline-link:hover{
  text-decoration:underline;
  text-underline-offset:2px;
}
html[data-theme="dark"] .news-inline-link{
  color:#66a2ff;
}
@media(max-width:680px){
  body[data-rocla-view="news"] .news-item-header{
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    gap:10px;
  }
  .news-item-avatar{
    width:38px;
    height:38px;
    flex-basis:38px;
  }
  body[data-rocla-view="news"] .news-meta{
    margin-left:auto;
    justify-content:flex-end;
    text-align:right;
  }
}
@media(max-width:460px){
  body[data-rocla-view="news"] .news-item-header{
    align-items:flex-start;
  }
  body[data-rocla-view="news"] .news-meta{
    max-width:48%;
  }
}


/* Metadata social: fecha, hora y vistas */
body[data-rocla-view="news"] .news-meta{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:7px 11px;
  color:var(--muted);
  font-size:.73rem;
  font-weight:620;
  line-height:1.25;
}
.news-meta-item{
  display:inline-flex;
  align-items:center;
  gap:4px;
  white-space:nowrap;
}
.news-meta-item i{
  flex:none;
  font-size:13px;
  line-height:1;
  opacity:.82;
}
.news-meta-item span{
  line-height:1.2;
}
.news-meta-dot{
  display:none!important;
}
@media(max-width:680px){
  body[data-rocla-view="news"] .news-meta{
    gap:6px 9px;
    font-size:.7rem;
  }
  .news-meta-item{
    gap:3px;
  }
  .news-meta-item i{
    font-size:12px;
  }
}
@media(max-width:460px){
  body[data-rocla-view="news"] .news-meta{
    max-width:none;
    width:100%;
    justify-content:flex-start;
    text-align:left;
    margin-left:48px;
    margin-top:-3px;
  }
}


/* Separador de fecha estilo Telegram */
.news-post-group{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.news-date-separator{
  align-self:center;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 11px;
  border-radius:999px;
  background:rgba(102,113,134,.11);
  color:var(--muted);
  font-size:.72rem;
  font-weight:720;
  line-height:1;
  letter-spacing:-.01em;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}
html[data-theme="dark"] .news-date-separator{
  background:rgba(255,255,255,.075);
  color:#aeb7c8;
}
body[data-rocla-view="news"] .news-feed{
  gap:16px;
}
@media(max-width:680px){
  .news-post-group{
    gap:7px;
  }
  .news-date-separator{
    min-height:26px;
    padding:0 10px;
    font-size:.69rem;
  }
  body[data-rocla-view="news"] .news-feed{
    gap:14px;
  }
}


/* Telegram Channel post layout */
body[data-rocla-view="news"] .news-item-header{
  display:block;
  padding:16px 18px 0;
}
.news-item-channel-link{
  display:inline-flex;
  align-items:center;
  gap:10px;
  max-width:100%;
}
.news-item-channel-copy{
  display:block;
  min-width:0;
}
body[data-rocla-view="news"] .news-item-channel{
  display:block;
  min-width:0;
  overflow:hidden;
  color:#3390ec;
  font-size:.98rem;
  font-weight:760;
  line-height:1.2;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.news-item-channel-link:hover .news-item-channel{
  color:#2b7fcf;
}
body[data-rocla-view="news"] .news-item-avatar{
  width:40px;
  height:40px;
  flex:0 0 40px;
}
body[data-rocla-view="news"] .news-content{
  padding:0 18px 8px;
}
body[data-rocla-view="news"] .news-post-text{
  margin-top:13px;
}
body[data-rocla-view="news"] .news-item-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  min-height:38px;
  padding:0 18px 13px;
  border-top:0;
  background:transparent;
}
body[data-rocla-view="news"] .news-post-link{
  flex:none;
  min-height:0;
  margin:0;
  padding:0;
  border-radius:0;
  background:transparent;
  color:#3390ec;
  font-size:.76rem;
  font-weight:650;
}
body[data-rocla-view="news"] .news-post-link i{
  font-size:13px;
}
.news-telegram-meta{
  margin-left:auto;
  display:inline-flex;
  align-items:center;
  justify-content:flex-end;
  gap:5px;
  color:#8b95a7;
  font-size:.72rem;
  font-weight:560;
  line-height:1;
  white-space:nowrap;
}
.news-telegram-views{
  display:inline-flex;
  align-items:center;
  gap:3px;
}
.news-telegram-views i{
  font-size:12px;
  line-height:1;
  opacity:.88;
}
.news-telegram-meta-separator{
  opacity:.62;
}
.news-telegram-time{
  font:inherit;
  color:inherit;
}
html[data-theme="dark"] .news-telegram-meta{
  color:#8993a5;
}
html[data-theme="dark"] body[data-rocla-view="news"] .news-item-channel{
  color:#5ba7f0;
}
@media(max-width:680px){
  body[data-rocla-view="news"] .news-item-header{
    display:block;
    padding:14px 15px 0;
  }
  body[data-rocla-view="news"] .news-item-avatar{
    width:38px;
    height:38px;
    flex-basis:38px;
  }
  body[data-rocla-view="news"] .news-content{
    padding:0 15px 7px;
  }
  body[data-rocla-view="news"] .news-item-footer{
    min-height:36px;
    padding:0 15px 12px;
  }
  body[data-rocla-view="news"] .news-item-channel{
    font-size:.95rem;
  }
  .news-telegram-meta{
    font-size:.69rem;
    gap:4px;
  }
  .news-telegram-views i{
    font-size:11px;
  }
}


/* Botón adjunto estilo Telegram */
.news-channel-action{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:44px;
  margin:0 18px;
  border-top:1px solid rgba(51,144,236,.14);
  border-bottom:1px solid rgba(51,144,236,.14);
  color:#3390ec;
  background:rgba(51,144,236,.045);
  font-size:.86rem;
  font-weight:720;
  line-height:1;
  text-decoration:none;
  -webkit-tap-highlight-color:transparent;
  transition:background .16s ease,color .16s ease;
}
.news-channel-action i{
  font-size:17px;
  line-height:1;
}
.news-channel-action:hover,
.news-channel-action:active{
  background:rgba(51,144,236,.10);
  color:#2784da;
}
html[data-theme="dark"] .news-channel-action{
  background:rgba(51,144,236,.07);
  border-color:rgba(91,167,240,.16);
  color:#5ba7f0;
}
body[data-rocla-view="news"] .news-content{
  padding-bottom:12px;
}
body[data-rocla-view="news"] .news-item-footer{
  padding-top:9px;
}
@media(max-width:680px){
  .news-channel-action{
    min-height:42px;
    margin:0 15px;
    font-size:.82rem;
  }
  .news-channel-action i{
    font-size:16px;
  }
}


/* Pie Telegram: solo hora y vistas */
body[data-rocla-view="news"] .news-item-footer{
  justify-content:flex-end;
}


/* Título de Noticias siempre en una sola línea */
body[data-rocla-view="news"] .news-section-head h2{
  white-space:nowrap;
  text-wrap:nowrap;
}
@media(max-width:680px){
  body[data-rocla-view="news"] .news-section-head h2{
    font-size:clamp(1.7rem,7.8vw,2.35rem);
    letter-spacing:-.045em;
  }
}
@media(max-width:380px){
  body[data-rocla-view="news"] .news-section-head h2{
    font-size:clamp(1.58rem,7.4vw,2rem);
  }
}


/* Citas de Telegram preservadas como bloques */
.news-post-quote{
  margin:12px 0 0;
  padding:9px 12px;
  border:0;
  border-left:3px solid #3390ec;
  border-radius:4px 10px 10px 4px;
  background:rgba(51,144,236,.075);
  color:var(--text);
  font-size:.95rem;
  line-height:1.55;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
}
.news-post-text + .news-post-quote,
.news-post-quote + .news-post-text,
.news-post-quote + .news-post-quote{
  margin-top:10px;
}
html[data-theme="dark"] .news-post-quote{
  border-left-color:#5ba7f0;
  background:rgba(91,167,240,.09);
}
@media(max-width:680px){
  .news-post-quote{
    margin-top:10px;
    padding:8px 10px;
    font-size:.92rem;
    line-height:1.52;
  }
}


/* Formato original de Telegram */
.news-inline-bold{
  font-weight:700;
  color:inherit;
}

/* Botón de canal: patrón tipo Telegram inline keyboard */
body[data-rocla-view="news"] .news-channel-action{
  min-height:48px;
  margin:2px 18px 6px;
  padding:0 16px;
  gap:8px;
  border:1px solid rgba(31,42,71,.07);
  border-radius:12px;
  background:rgba(31,42,71,.055);
  color:var(--text);
  font-size:.88rem;
  font-weight:740;
  line-height:1;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.34);
  transition:
    background .14s ease,
    border-color .14s ease,
    transform .08s ease;
}
body[data-rocla-view="news"] .news-channel-action i{
  flex:0 0 auto;
  font-size:18px;
  color:#3390ec;
}
body[data-rocla-view="news"] .news-channel-action:hover{
  background:rgba(31,42,71,.085);
  color:var(--text);
}
body[data-rocla-view="news"] .news-channel-action:active{
  background:rgba(31,42,71,.12);
  color:var(--text);
  transform:scale(.995);
}
html[data-theme="dark"] body[data-rocla-view="news"] .news-channel-action{
  border-color:rgba(255,255,255,.055);
  background:rgba(255,255,255,.055);
  color:#f4f6f8;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.025);
}
html[data-theme="dark"] body[data-rocla-view="news"] .news-channel-action:hover{
  background:rgba(255,255,255,.08);
  color:#fff;
}
html[data-theme="dark"] body[data-rocla-view="news"] .news-channel-action:active{
  background:rgba(255,255,255,.105);
  color:#fff;
}
body[data-rocla-view="news"] .news-channel-action:focus-visible{
  outline:2px solid rgba(51,144,236,.72);
  outline-offset:2px;
}
body[data-rocla-view="news"] .news-channel-action + .news-item-footer{
  padding-top:5px;
}
@media(max-width:680px){
  body[data-rocla-view="news"] .news-channel-action{
    min-height:48px;
    margin:2px 15px 6px;
    padding:0 14px;
    border-radius:12px;
    font-size:.87rem;
  }
  body[data-rocla-view="news"] .news-channel-action i{
    font-size:18px;
  }
}
