﻿/**
 * ESTILOS DE PÁGINA COMPLETA DE NOTICIA — ESTUDIANTINA ONLINE
 * Diseño periodístico profesional. Layout editorial limpio, lectura optimizada.
 * v2 — 2026-09-16
 */

/* comunidad.css ya se carga desde noticia.html (antes se importaba dos veces) */

body.page-noticia {
  background-color: var(--bg-base);
  color: var(--text-light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.noticia-progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--red-hot), var(--gold-bright));
  z-index: 9999;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ── SUBNAV STICKY ── */
.noticia-subnav {
  position: sticky;
  top: 0;
  background: rgba(10, 11, 15, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dim);
  z-index: 850;
  transition: box-shadow 0.25s ease;
}

.noticia-subnav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0.55rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.noticia-subnav-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.noticia-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s;
  flex-shrink: 0;
}
.noticia-back-btn:hover { color: var(--text-white); }
.noticia-back-btn .back-arrow { font-size: 0.9rem; opacity: 0.7; }

.noticia-subnav-cat {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--red-hot);
  white-space: nowrap;
}

.noticia-subnav-right {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.noticia-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.8rem;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s;
  border: 1px solid var(--border-dim);
  background: transparent;
  color: var(--text-muted);
}
.noticia-nav-btn:hover { background: var(--bg-card); color: var(--text-white); border-color: var(--border-soft); }
.noticia-nav-btn-share { color: var(--red-hot); border-color: rgba(230,57,70,0.3); }
.noticia-nav-btn-share:hover { background: var(--red-hot); color: #fff; border-color: var(--red-hot); }
.noticia-nav-btn-admin-edit { color: var(--gold-bright); border-color: rgba(255,215,0,0.3); }
.noticia-nav-btn-admin-edit:hover { background: var(--gold-bright); color: #000; }
.noticia-nav-btn-admin-del { color: #ff6b6b; border-color: rgba(230,57,70,0.3); }
.noticia-nav-btn-admin-del:hover { background: #c92a2a; color: #fff; }

/* ── CONTENEDOR PRINCIPAL ── */
.noticia-main { flex: 1; padding: 2.5rem 1rem 4rem; }

.noticia-article-container { max-width: 740px; margin: 0 auto; }

/* ── BREADCRUMBS ── */
.noticia-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.noticia-breadcrumbs a { color: var(--text-muted); text-decoration: none; transition: color 0.15s; }
.noticia-breadcrumbs a:hover { color: var(--text-light); }
.noticia-breadcrumbs .sep { opacity: 0.35; margin: 0 0.1rem; }
.noticia-breadcrumbs .current {
  color: var(--text-light); font-weight: 500;
  max-width: 280px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── HEADER DEL ARTÍCULO ── */
.noticia-header { margin-bottom: 2rem; }

.noticia-meta-badges { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }

.noticia-cat-pill {
  display: inline-block; padding: 3px 10px; border-radius: 3px;
  font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.7px;
  background: var(--red-hot); color: #fff;
}

.noticia-breaking-pill {
  display: inline-block; padding: 3px 10px; border-radius: 3px;
  font-size: 0.68rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.7px;
  background: var(--gold-bright); color: #000;
  animation: pulseBreaking 2.5s ease-in-out infinite;
}
@keyframes pulseBreaking { 0%,100% { opacity: 1; } 50% { opacity: 0.75; } }

.noticia-headline {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.6rem);
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.12;
  margin-bottom: 1.15rem;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.noticia-lead-paragraph {
  font-size: 1.12rem; line-height: 1.7; color: #94a3b8;
  font-weight: 400; margin-bottom: 0; font-style: italic;
}

/* ── BYLINE ── */
.noticia-byline {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1rem 0;
  border-top: 1px solid var(--border-dim); border-bottom: 1px solid var(--border-dim);
  margin: 1.5rem 0 0; flex-wrap: wrap;
}
.noticia-author-box { display: flex; align-items: center; gap: 0.65rem; }
.noticia-author-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-card); border: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden; color: var(--text-muted);
}
.noticia-author-info { display: flex; flex-direction: column; gap: 1px; }
.noticia-author-name { font-size: 0.85rem; font-weight: 700; color: var(--text-white); }
.noticia-author-meta { font-size: 0.73rem; color: var(--text-muted); line-height: 1.3; }

.noticia-share-quick-bar { display: flex; align-items: center; gap: 0.3rem; }
.btn-quick-share {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border-dim); background: transparent; color: var(--text-muted);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.18s; text-decoration: none;
}
.btn-quick-share:hover { background: var(--bg-card); border-color: var(--border-soft); color: var(--text-white); transform: translateY(-1px); }
.btn-quick-share.share-whatsapp:hover { background: #25d366; border-color: #25d366; color: #fff; }
.btn-quick-share.share-x:hover { background: #000; border-color: #333; color: #fff; }
.btn-quick-share.share-copy:hover { background: var(--red-hot); border-color: var(--red-hot); color: #fff; }

/* ── PORTADA ── */
.noticia-cover-figure {
  margin: 2rem 0; border-radius: var(--r-md); overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--border-dim);
}
.noticia-cover-img { width: 100%; max-height: 480px; object-fit: cover; display: block; cursor: zoom-in; transition: transform 0.4s ease; }
.noticia-cover-img:hover { transform: scale(1.01); }
.noticia-cover-caption { padding: 0.65rem 1rem; font-size: 0.75rem; color: var(--text-muted); font-style: italic; border-top: 1px solid var(--border-dim); }

/* ── PESTAÑAS ── */
.noticia-tabs-wrapper {
  position: sticky;
  top: 48px;
  background: rgba(10, 11, 15, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 80;
  border-bottom: 1px solid var(--border-dim);
  margin: 0 -1rem 2rem;
  padding: 0 1rem;
}
.noticia-tabs-nav { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.noticia-tabs-nav::-webkit-scrollbar { display: none; }
.noticia-tab-btn {
  background: transparent; border: none; border-bottom: 2px solid transparent;
  color: var(--text-muted); font-family: var(--font-body); font-size: 0.82rem; font-weight: 700;
  padding: 0.85rem 1rem; cursor: pointer; white-space: nowrap;
  transition: color 0.18s, border-color 0.18s;
  display: inline-flex; align-items: center; gap: 0.4rem; letter-spacing: 0.01em;
}
.noticia-tab-btn:hover { color: var(--text-light); }
.noticia-tab-btn.active { color: var(--text-white); border-bottom-color: var(--red-hot); }
.noticia-tab-panel { display: none; animation: fadeInPanel 0.2s ease; }
.noticia-tab-panel.active { display: block; }
@keyframes fadeInPanel { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* ── CUERPO EDITORIAL ── */
.noticia-body-editorial { font-size: 1.05rem; line-height: 1.85; color: #cbd5e1; letter-spacing: 0.01em; }
.noticia-body-editorial p { margin: 0 0 1.6rem; text-align: left; }
.noticia-body-editorial p:first-of-type::first-letter {
  font-family: var(--font-display); font-size: 3.6rem; font-weight: 900;
  line-height: 0.78; float: left; margin: 0.1em 0.14em 0 0; color: var(--red-hot);
}

/* ── IMÁGENES INLINE ── */
.noticia-inline-image-block {
  margin: 2.5rem -1.5rem; overflow: hidden;
  border-top: 1px solid var(--border-dim); border-bottom: 1px solid var(--border-dim);
  background: var(--bg-card);
}
.noticia-inline-image-block img { width: 100%; max-height: 500px; object-fit: cover; display: block; cursor: zoom-in; transition: transform 0.3s; }
.noticia-inline-image-block img:hover { transform: scale(1.01); }
.noticia-inline-caption { padding: 0.6rem 1.25rem; font-size: 0.75rem; color: var(--text-muted); font-style: italic; border-top: 1px solid var(--border-dim); }

/* ── PULL QUOTES ── */
.noticia-pullquote-block {
  border-left: 3px solid var(--gold-bright); margin: 2.5rem 0; padding: 1rem 1.5rem;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  color: var(--gold-bright); font-style: italic; line-height: 1.5;
  background: rgba(255,215,0,0.04);
}

/* ── TAGS ── */
.noticia-tags-box { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin: 2.5rem 0 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border-dim); }
.noticia-tags-label { font-size: 0.72rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-right: 0.25rem; }
.noticia-tag-item {
  display: inline-block; padding: 3px 10px; background: var(--bg-card);
  border: 1px solid var(--border-dim); border-radius: var(--r-pill);
  font-size: 0.72rem; color: var(--text-muted); text-decoration: none; font-weight: 600; transition: all 0.15s;
}
.noticia-tag-item:hover { border-color: var(--red-hot); color: var(--red-hot); background: rgba(230,57,70,0.07); }

/* ── GALERÍA ── */
.noticia-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.75rem; margin: 1.5rem 0; }
.noticia-gallery-item { aspect-ratio: 4/3; border-radius: var(--r-sm); overflow: hidden; background: var(--bg-card); border: 1px solid var(--border-dim); position: relative; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.noticia-gallery-item:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.45); border-color: var(--border-soft); }
.noticia-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.noticia-gallery-item-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 0.5rem 0.75rem; background: linear-gradient(transparent, rgba(0,0,0,0.8)); font-size: 0.72rem; color: rgba(255,255,255,0.9); }
.noticia-gallery-empty { text-align: center; padding: 3rem 1rem; color: var(--text-muted); background: var(--bg-card); border-radius: var(--r-md); border: 1px dashed var(--border-dim); grid-column: 1 / -1; font-size: 0.9rem; }

/* ── CTA FORO ── */
.btn-cta-foro { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--red-hot); color: #fff; font-weight: 800; padding: 0.7rem 1.4rem; border-radius: var(--r-pill); text-decoration: none; font-size: 0.88rem; transition: all 0.18s; }
.btn-cta-foro:hover { background: #d62828; transform: translateY(-1px); }

/* ── RELACIONADAS ── */
.noticia-related-section { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border-dim); }
.noticia-related-title {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 800;
  color: var(--text-white); margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 0.03em;
  display: flex; align-items: center; gap: 0.5rem;
}
.noticia-related-title::before { content: ''; display: inline-block; width: 14px; height: 3px; background: var(--red-hot); border-radius: 2px; }
.noticia-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.noticia-related-card { background: var(--bg-card); border: 1px solid var(--border-dim); border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: border-color 0.18s, transform 0.18s; }
.noticia-related-card:hover { transform: translateY(-2px); border-color: var(--border-soft); }
.noticia-related-thumb-wrap { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-elevated); }
.noticia-related-thumb-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.noticia-related-card:hover .noticia-related-thumb-wrap img { transform: scale(1.04); }
.noticia-related-content { padding: 0.85rem; display: flex; flex-direction: column; flex: 1; gap: 0.3rem; }
.noticia-related-cat { font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; color: var(--red-hot); }
.noticia-related-heading { font-size: 0.88rem; font-weight: 700; line-height: 1.35; color: var(--text-white); }
.noticia-related-footer { margin-top: auto; font-size: 0.68rem; color: var(--text-muted); padding-top: 0.5rem; }

/* ── MOBILE BAR ── */
.noticia-mobile-bar { display: none; }

@media (max-width: 768px) {
  .noticia-mobile-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0;
    background: rgba(10,11,15,0.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-soft); padding: 0.55rem 1rem;
    z-index: 950; align-items: center; justify-content: space-between; gap: 0.5rem;
  }
  .noticia-mobile-bar-btn {
    display: flex; align-items: center; gap: 0.35rem;
    background: var(--bg-card); border: 1px solid var(--border-soft);
    color: var(--text-light); padding: 0.45rem 0.8rem; border-radius: var(--r-pill);
    font-size: 0.75rem; font-weight: 700; text-decoration: none; cursor: pointer;
    transition: all 0.15s; white-space: nowrap;
  }
  .noticia-mobile-bar-btn.btn-whatsapp { background: #25d366; color: #fff; border-color: #25d366; }
  .noticia-mobile-bar-btn.btn-top { width: 36px; height: 36px; padding: 0; justify-content: center; flex-shrink: 0; }
  .noticia-main { padding-bottom: 5.5rem; }
  .noticia-tabs-wrapper { top: 44px; margin: 0 -1rem 1.5rem; padding: 0 1rem; }
  .noticia-tab-btn { font-size: 0.78rem; padding: 0.75rem 0.75rem; }
  .noticia-headline { font-size: 1.75rem; letter-spacing: -0.02em; }
  .noticia-lead-paragraph { font-size: 1rem; }
  .noticia-inline-image-block { margin: 2rem -1rem; }
  .noticia-cover-figure { margin: 1.5rem -1rem; border-radius: 0; border-left: none; border-right: none; }
  .noticia-subnav-cat { display: none; }
  .noticia-body-editorial p:first-of-type::first-letter { font-size: 3rem; }
}

/* ── LIGHTBOX ── */
.noticia-lightbox-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.96); z-index: 99999; display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.noticia-lightbox-modal.active { display: flex; animation: fadeInLightbox 0.2s ease; }
@keyframes fadeInLightbox { from { opacity: 0; } to { opacity: 1; } }
.noticia-lightbox-content { max-width: 90vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; position: relative; }
.noticia-lightbox-img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: var(--r-sm); }
.noticia-lightbox-caption { margin-top: 0.75rem; color: rgba(255,255,255,0.65); font-size: 0.8rem; text-align: center; max-width: 560px; }
.noticia-lightbox-close { position: absolute; top: -40px; right: 0; background: transparent; border: none; color: rgba(255,255,255,0.7); font-size: 1.4rem; cursor: pointer; padding: 6px; line-height: 1; transition: color 0.15s; }
.noticia-lightbox-close:hover { color: #fff; }

/* ── TOAST ── */
.toast-notification {
  position: fixed; bottom: 5rem; left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(30,32,48,0.97); border: 1px solid var(--border-soft);
  color: var(--text-white); padding: 0.65rem 1.25rem; border-radius: var(--r-pill);
  font-size: 0.85rem; font-weight: 600; opacity: 0; pointer-events: none;
  transition: opacity 0.2s, transform 0.2s; z-index: 99000;
  white-space: nowrap; max-width: calc(100vw - 2rem); text-align: center; backdrop-filter: blur(12px);
}
.toast-notification.active { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── COMENTARIOS ── */
.noticia-comments-section { margin-top: 2rem; padding: 1.5rem; background: var(--bg-card); border: 1px solid var(--border-dim); border-radius: var(--r-md); }
.noticia-comments-header { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--border-dim); margin-bottom: 1.25rem; }
.noticia-comments-header-left { display: flex; align-items: center; gap: 0.65rem; }
.noticia-comments-icon { font-size: 1.4rem; background: var(--bg-elevated); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--border-soft); flex-shrink: 0; }
.noticia-comments-title { margin: 0; font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; color: #fff; }
.noticia-comments-subtitle { margin: 0.15rem 0 0; font-size: 0.76rem; color: var(--text-muted); }
.noticia-comments-forum-link { display: inline-flex; align-items: center; gap: 5px; color: var(--text-muted); border: 1px solid var(--border-dim); padding: 5px 12px; border-radius: var(--r-pill); font-size: 0.78rem; font-weight: 700; text-decoration: none; transition: all 0.18s; flex-shrink: 0; }
.noticia-comments-forum-link:hover { background: var(--bg-elevated); color: var(--text-white); border-color: var(--border-soft); }
.noticia-comment-login-card { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 1.1rem 1.25rem; background: var(--bg-elevated); border: 1px solid var(--border-soft); border-radius: var(--r-md); margin-bottom: 1.5rem; }
.noticia-login-info { display: flex; align-items: center; gap: 0.75rem; }
.noticia-login-icon { font-size: 1.6rem; }
.noticia-login-text h4 { margin: 0 0 0.15rem; font-size: 0.92rem; color: #fff; font-weight: 700; }
.noticia-login-text p { margin: 0; font-size: 0.78rem; color: var(--text-muted); }
.btn-noticia-google-login { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #1f2937; font-weight: 700; font-size: 0.82rem; padding: 7px 14px; border-radius: var(--r-pill); border: none; cursor: pointer; transition: all 0.18s; }
.btn-noticia-google-login:hover { background: #f1f5f9; transform: translateY(-1px); }
.noticia-comment-form-wrap { padding: 1.1rem; background: var(--bg-elevated); border: 1px solid var(--border-soft); border-radius: var(--r-md); margin-bottom: 1.5rem; }
.noticia-comment-user-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.65rem; margin-bottom: 0.75rem; }
.noticia-comment-user-info { display: flex; align-items: center; gap: 0.55rem; }
.noticia-comment-user-avatar { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--border-soft); object-fit: cover; }
.noticia-comment-user-name { font-size: 0.85rem; font-weight: 700; color: #fff; }
.noticia-comment-school-badge { font-size: 0.7rem; font-weight: 700; padding: 2px 7px; border-radius: var(--r-pill); background: var(--bg-card); border: 1px solid var(--border-soft); color: var(--text-light); }
.noticia-school-selector-wrap select { background: var(--bg-card); color: #e2e8f0; border: 1px solid var(--border-soft); border-radius: var(--r-pill); padding: 3px 9px; font-size: 0.75rem; outline: none; cursor: pointer; }
.noticia-comment-textarea { width: 100%; min-height: 80px; background: var(--bg-card); border: 1px solid var(--border-soft); border-radius: var(--r-sm); padding: 0.75rem; color: #fff; font-family: inherit; font-size: 0.85rem; resize: vertical; outline: none; transition: border-color 0.18s; box-sizing: border-box; }
.noticia-comment-textarea:focus { border-color: var(--red-hot); }
.noticia-comment-form-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 0.65rem; gap: 0.5rem; flex-wrap: wrap; }
.noticia-comment-hint { font-size: 0.72rem; color: var(--text-muted); }
.btn-noticia-submit-comment { display: inline-flex; align-items: center; gap: 6px; background: var(--red-hot); color: #fff; border: none; border-radius: var(--r-pill); padding: 6px 16px; font-size: 0.82rem; font-weight: 800; cursor: pointer; transition: all 0.18s; }
.btn-noticia-submit-comment:hover { background: #d62828; transform: translateY(-1px); }
.btn-noticia-submit-comment:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.noticia-comments-list { display: flex; flex-direction: column; gap: 0.6rem; }
.noticia-comment-card { background: var(--bg-elevated); border: 1px solid var(--border-dim); border-radius: var(--r-sm); padding: 0.85rem 1rem; transition: border-color 0.15s; }
.noticia-comment-card:hover { border-color: var(--border-soft); }
.noticia-comment-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; gap: 0.5rem; }
.noticia-comment-author-box { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.noticia-comment-author-avatar { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border-soft); object-fit: cover; flex-shrink: 0; }
.noticia-comment-author-name { font-size: 0.82rem; font-weight: 700; color: #fff; }
.noticia-comment-date { font-size: 0.7rem; color: var(--text-muted); flex-shrink: 0; }
.noticia-comment-body { font-size: 0.85rem; line-height: 1.55; color: #cbd5e1; margin: 0 0 0.65rem; word-break: break-word; }
.noticia-comment-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border-dim); padding-top: 0.45rem; }
.noticia-vote-pill { display: inline-flex; align-items: center; gap: 4px; background: transparent; border: 1px solid var(--border-dim); color: var(--text-muted); border-radius: var(--r-pill); padding: 2px 9px; font-size: 0.74rem; font-weight: 700; cursor: pointer; transition: all 0.15s; }
.noticia-vote-pill:hover { border-color: var(--border-soft); color: var(--text-white); }
.noticia-vote-pill.has-voted { background: rgba(230,57,70,0.12); border-color: rgba(230,57,70,0.4); color: var(--red-hot); }
.noticia-report-btn { background: transparent; border: none; color: var(--text-muted); font-size: 0.72rem; cursor: pointer; transition: color 0.15s; padding: 2px 4px; }
.noticia-report-btn:hover { color: #ef4444; }
.noticia-comments-empty { text-align: center; padding: 2rem 1rem; color: var(--text-muted); font-size: 0.88rem; }
.noticia-comments-empty-icon { font-size: 2rem; margin-bottom: 0.4rem; display: block; }
.tab-badge { display: inline-flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 800; background: var(--bg-elevated); color: var(--text-muted); padding: 1px 5px; border-radius: 4px; min-width: 18px; }

@media (max-width: 640px) {
  .noticia-comments-section { padding: 1rem; }
  .noticia-comment-login-card { flex-direction: column; align-items: flex-start; }
  .btn-noticia-google-login { width: 100%; justify-content: center; }
  .noticia-comment-form-actions { flex-direction: column; align-items: stretch; }
  .btn-noticia-submit-comment { width: 100%; justify-content: center; }
  .noticia-related-grid { grid-template-columns: 1fr; }
}