/* Pagina de stiri (news.php) si pagina unei stiri (news-article.php) */
.news-hero{ display:flex; align-items:center; gap:18px; margin-bottom:18px; position:relative; overflow:hidden; }
.news-hero::after{ content:""; position:absolute; right:-60px; top:-60px; width:220px; height:220px; border-radius:50%; background:var(--accent); opacity:.08; }
.news-hero-icon{ width:58px; height:58px; border-radius:16px; flex-shrink:0; display:flex; align-items:center; justify-content:center; color:#fff; background:linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.news-hero h1{ margin:0 0 4px; font-size:24px; }
.news-hero p{ margin:0; color:var(--text-dim); font-size:14px; }

.news-cats{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px; }
.news-cats a{ padding:7px 14px; border-radius:20px; background:var(--card-bg); border:1px solid var(--card-border); font-size:13px; font-weight:600; color:var(--text-dim); }
.news-cats a small{ opacity:.7; margin-left:2px; }
.news-cats a.on, .news-cats a:hover{ background:var(--accent); border-color:var(--accent); color:#fff; }

.news-grid{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:18px; }
.news-card{ display:flex; flex-direction:column; background:var(--card-bg); border:1px solid var(--card-border); border-radius:var(--radius-lg); overflow:hidden; transition:transform .15s, border-color .15s; }
.news-card:hover{ transform:translateY(-3px); border-color:var(--accent); }
.news-card-img{ position:relative; display:block; aspect-ratio:16/9; background:linear-gradient(135deg, var(--accent), var(--accent-dark)); overflow:hidden; }
.news-card-img img{ width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.news-card:hover .news-card-img img{ transform:scale(1.04); }
.news-card-ph{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.9);
  background:radial-gradient(circle at 25% 20%, rgba(255,255,255,.22), transparent 55%), repeating-radial-gradient(circle at 50% 120%, rgba(255,255,255,.08) 0 2px, transparent 2px 22px); }
.news-tag{ position:absolute; left:12px; top:12px; padding:4px 10px; border-radius:20px; background:rgba(0,0,0,.6); backdrop-filter:blur(4px); color:#fff; font-size:11.5px; font-weight:700; }
.news-tag.static{ position:static; display:inline-block; background:var(--accent); margin-bottom:12px; }
.news-card-body{ padding:16px 18px 18px; display:flex; flex-direction:column; flex:1; }
.news-meta{ display:flex; align-items:center; gap:5px; flex-wrap:wrap; font-size:12.5px; color:var(--text-dimmer); margin-bottom:8px; }
.news-card h2{ font-size:16.5px; line-height:1.35; margin:0 0 8px; }
.news-card h2 a:hover{ color:var(--accent); }
.news-card p{ margin:0 0 14px; font-size:14px; color:var(--text-dim); line-height:1.6; }
.news-more{ margin-top:auto; display:inline-flex; align-items:center; gap:6px; font-size:13.5px; font-weight:700; color:var(--accent); }

.news-card.featured{ grid-column:1 / -1; flex-direction:row; }
.news-card.featured .news-card-img{ flex:1.15; aspect-ratio:auto; min-height:300px; }
.news-card.featured .news-card-body{ flex:1; padding:28px 30px; justify-content:center; }
.news-card.featured h2{ font-size:24px; }
.news-card.featured p{ font-size:15px; }

.news-grid.small .news-card h2{ font-size:15px; }

.news-pagination{ display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:6px; margin:28px 0 8px; }
.news-pagination a, .news-pagination span{ min-width:40px; height:40px; padding:0 12px; display:inline-flex; align-items:center; justify-content:center;
  border-radius:10px; background:var(--card-bg); border:1px solid var(--card-border); font-size:14px; font-weight:600; }
.news-pagination a:hover{ border-color:var(--accent); color:var(--accent); }
.news-pagination .current{ background:var(--accent); border-color:var(--accent); color:#fff; }
.news-pagination .dots{ background:none; border:none; min-width:20px; color:var(--text-dimmer); }
.news-pagination .disabled{ opacity:.4; }

.news-crumbs{ font-size:13px; color:var(--text-dimmer); margin-bottom:14px; }
.news-crumbs a{ color:var(--text-dim); }
.news-crumbs a:hover{ color:var(--accent); }
.news-article{ max-width:860px; padding:32px 36px; }
.news-article h1{ font-size:30px; line-height:1.25; margin:0 0 12px; }
.news-article-img{ width:100%; border-radius:var(--radius-lg); margin:18px 0 6px; }
.news-lead{ font-size:17px; color:var(--text); font-weight:500; line-height:1.65; margin:18px 0 0; padding-left:14px; border-left:3px solid var(--accent); }
.news-content{ font-size:16px; line-height:1.8; color:var(--text); margin-top:18px; overflow-wrap:anywhere; }
.news-content h2{ font-size:22px; margin:28px 0 10px; }
.news-content h3{ font-size:18px; margin:22px 0 8px; }
.news-content p{ margin:0 0 16px; }
.news-content a{ color:var(--accent); text-decoration:underline; }
.news-content ul, .news-content ol{ padding-left:22px; margin:0 0 16px; }
.news-content li{ margin-bottom:8px; }
.news-content img{ max-width:100%; height:auto; border-radius:12px; }
.news-content blockquote{ margin:20px 0; padding:14px 18px; border-left:3px solid var(--accent); background:var(--bg-alt); border-radius:0 12px 12px 0; color:var(--text-dim); }
.news-content blockquote p:last-child{ margin:0; }
.news-content table{ width:100%; border-collapse:collapse; margin:0 0 16px; }
.news-content td, .news-content th{ border:1px solid var(--card-border); padding:8px 10px; }
.news-content hr{ border:none; border-top:1px solid var(--card-border); margin:24px 0; }
.news-content iframe{ max-width:100%; border-radius:12px; }
.news-share{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:26px; padding-top:18px; border-top:1px solid var(--card-border); font-size:13.5px; }
.news-share span{ color:var(--text-dim); font-weight:600; margin-right:4px; }
.news-share a, .news-share button{ padding:7px 14px; border-radius:20px; background:var(--bg-alt); border:1px solid var(--card-border); color:var(--text); font-size:13px; font-weight:600; cursor:pointer; font-family:inherit; }
.news-share a:hover, .news-share button:hover{ border-color:var(--accent); color:var(--accent); }

@media (max-width:1100px){ .news-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (max-width:760px){
  .news-grid{ grid-template-columns:1fr; }
  .news-card.featured{ flex-direction:column; }
  .news-card.featured .news-card-img{ min-height:0; aspect-ratio:16/9; }
  .news-card.featured .news-card-body{ padding:18px; }
  .news-card.featured h2{ font-size:20px; }
  .news-article{ padding:20px 18px; }
  .news-article h1{ font-size:23px; }
}

/* ---------- Hero animat pe pagina de stiri (unde radio, egalizator, disc, banda cu titluri) ---------- */
.nh{ position:relative; overflow:hidden; display:grid; grid-template-columns:minmax(0, 1.25fr) minmax(0, 1fr); gap:24px; align-items:center;
  padding:34px 36px 0; margin-bottom:20px; border-radius:22px; border:1px solid var(--card-border);
  background:radial-gradient(120% 140% at 100% 0%, rgba(var(--accent-rgb, 255,138,30), .28), transparent 55%),
             radial-gradient(90% 120% at 0% 100%, rgba(139,92,246,.18), transparent 60%), var(--card-bg); }
.nh-bg{ position:absolute; inset:0; pointer-events:none; }
.nh-ring{ position:absolute; right:12%; top:42%; width:120px; height:120px; margin:-60px; border-radius:50%; border:2px solid var(--accent); opacity:0; animation:nhRing 4.5s ease-out infinite; }
.nh-ring:nth-child(2){ animation-delay:1.5s; }
.nh-ring:nth-child(3){ animation-delay:3s; }
@keyframes nhRing{ 0%{ transform:scale(.6); opacity:.55; } 100%{ transform:scale(4.2); opacity:0; } }
.nh-note{ position:absolute; bottom:-30px; font-size:26px; color:var(--accent); opacity:0; animation:nhNote 9s linear infinite; }
.nh-note.n1{ left:52%; } .nh-note.n2{ left:66%; animation-delay:2.2s; font-size:20px; } .nh-note.n3{ left:80%; animation-delay:4.4s; } .nh-note.n4{ left:92%; animation-delay:6.6s; font-size:22px; }
@keyframes nhNote{ 0%{ transform:translateY(0) rotate(-10deg); opacity:0; } 15%{ opacity:.7; } 100%{ transform:translateY(-330px) rotate(20deg); opacity:0; } }

.nh-text{ position:relative; z-index:1; padding-bottom:30px; }
.nh-live{ display:inline-flex; align-items:center; gap:8px; padding:6px 12px; border-radius:20px; background:rgba(239,68,68,.14); color:#f87171;
  font-size:12px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.nh-dot{ width:8px; height:8px; border-radius:50%; background:#ef4444; box-shadow:0 0 0 0 rgba(239,68,68,.7); animation:nhDot 1.6s infinite; }
@keyframes nhDot{ 70%{ box-shadow:0 0 0 10px rgba(239,68,68,0); } 100%{ box-shadow:0 0 0 0 rgba(239,68,68,0); } }
.nh h1{ font-size:40px; line-height:1.12; margin:16px 0 12px; letter-spacing:-.02em; }
.nh h1 span{ background:linear-gradient(90deg, var(--accent), #f472b6, var(--accent)); background-size:200% auto; -webkit-background-clip:text; background-clip:text; color:transparent; animation:nhShine 5s linear infinite; }
@keyframes nhShine{ to{ background-position:200% center; } }
.nh p{ margin:0; color:var(--text-dim); font-size:15.5px; max-width:520px; }
.nh-stats{ display:flex; gap:12px; flex-wrap:wrap; margin-top:22px; }
.nh-stats div{ padding:10px 16px; border-radius:14px; background:rgba(255,255,255,.04); border:1px solid var(--card-border); backdrop-filter:blur(6px); }
.nh-stats b{ display:block; font-size:22px; font-weight:800; line-height:1.1; }
.nh-stats small{ font-size:12px; color:var(--text-dim); }

.nh-visual{ position:relative; z-index:1; height:250px; display:flex; align-items:flex-end; justify-content:center; }
.nh-disc{ position:absolute; top:6px; right:14%; width:150px; height:150px; border-radius:50%;
  background:repeating-radial-gradient(circle, #15171d 0 3px, #1d2029 3px 5px); box-shadow:0 20px 50px rgba(0,0,0,.45), inset 0 0 0 2px rgba(255,255,255,.04);
  animation:nhSpin 6s linear infinite; }
.nh-disc::after{ content:""; position:absolute; inset:0; border-radius:50%; background:conic-gradient(from 0deg, transparent 0 40%, rgba(255,255,255,.12) 48%, transparent 56%); }
.nh-disc span{ position:absolute; inset:50px; border-radius:50%; background:linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.nh-disc span::after{ content:""; position:absolute; inset:21px; border-radius:50%; background:var(--card-bg); }
@keyframes nhSpin{ to{ transform:rotate(360deg); } }
.nh-eq{ display:flex; align-items:flex-end; gap:6px; height:120px; width:100%; max-width:380px; }
.nh-eq i{ flex:1; height:var(--h); border-radius:6px 6px 0 0; background:linear-gradient(180deg, var(--accent), rgba(var(--accent-rgb, 255,138,30), .25));
  transform-origin:bottom; animation:nhEq 1.1s ease-in-out infinite alternate; animation-delay:calc(var(--d) * -1); }
@keyframes nhEq{ 0%{ transform:scaleY(.25); } 50%{ transform:scaleY(1); } 100%{ transform:scaleY(.55); } }

.nh-ticker{ grid-column:1 / -1; position:relative; z-index:1; display:flex; align-items:center; margin:0 -36px; border-top:1px solid var(--card-border); background:rgba(0,0,0,.18); }
.nh-ticker-label{ flex-shrink:0; display:inline-flex; align-items:center; gap:6px; padding:12px 18px; background:var(--accent); color:#fff; font-size:12.5px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.nh-ticker-track{ flex:1; overflow:hidden; -webkit-mask-image:linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image:linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.nh-ticker-move{ display:flex; width:max-content; animation:nhTicker 40s linear infinite; }
.nh-ticker:hover .nh-ticker-move{ animation-play-state:paused; }
.nh-ticker-move a{ padding:12px 0; margin-right:34px; font-size:14px; font-weight:600; white-space:nowrap; color:var(--text); }
.nh-ticker-move a::before{ content:"●"; color:var(--accent); font-size:9px; margin-right:12px; vertical-align:2px; }
.nh-ticker-move a:hover{ color:var(--accent); }
@keyframes nhTicker{ to{ transform:translateX(-50%); } }

/* sursa si pozele din articol */
.news-content .news-source{ margin-top:22px; font-size:13px; color:var(--text-dimmer); }
.news-content figure{ margin:22px 0; }
.news-content figcaption{ font-size:13px; color:var(--text-dim); text-align:center; margin-top:8px; }

@media (max-width:900px){
  .nh{ grid-template-columns:1fr; padding:26px 20px 0; }
  .nh-visual{ height:150px; order:-1; }
  .nh-disc{ width:110px; height:110px; right:6%; top:0; }
  .nh-disc span{ inset:36px; } .nh-disc span::after{ inset:15px; }
  .nh-eq{ height:80px; max-width:60%; margin-right:auto; }
  .nh h1{ font-size:30px; }
  .nh-ticker{ margin:0 -20px; }
}
@media (prefers-reduced-motion: reduce){
  .nh *, .nh *::after{ animation:none !important; }
  .nh-ring, .nh-note{ display:none; }
}
