/* News page */
.news-hero .sp-art { aspect-ratio: 240 / 160; background: radial-gradient(circle at 50% 30%, #ffffff, #e0ecff 70%, #ede9fe); }
.news-h { font-size: 1.35rem; margin: 36px 0 18px; }
.news-bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-top: 48px; }
.news-bar .news-h { margin: 0; }
.news-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.news-filter .muted { font-size: 0.85rem; margin-inline-end: 4px; }
.news-chip {
  border: 1px solid #cbd5e1; background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 16px;
  font: inherit; font-size: 0.88rem; font-weight: 700; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.news-chip:hover { border-color: var(--blue); color: var(--blue); }
.news-chip.on { background: linear-gradient(135deg, var(--blue), var(--violet)); border-color: transparent; color: #fff; }

.news-featured { display: grid; gap: 28px; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 26px; margin-top: 24px; }

.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 10px 30px -18px rgba(15, 40, 120, 0.3); transition: transform 0.2s, box-shadow 0.2s;
}
.news-card[hidden] { display: none; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 22px 46px -20px rgba(37, 99, 235, 0.4); }
.news-art { display: block; height: 180px; padding: 12px 18px; }
.news-art > svg, .news-art > img, .news-art > .art-ph { width: 100%; height: 100%; }
.news-art > img { object-fit: cover; border-radius: 12px; }
.news-art.art-storixx, .news-art.art-storixx-ai { background: radial-gradient(120% 120% at 20% 20%, #123a8a 0%, #071a45 45%, #020818 100%); }
.news-art.art-devices { background: radial-gradient(circle at 50% 30%, #ffffff, #e0ecff 75%); }
.news-body { padding: 18px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--muted); }
.news-meta time, .post-meta time { font-weight: 600; }
.news-cat { background: #eef2ff; color: var(--blue); font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.news-pin { background: #fef3c7; color: #b45309; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.news-label { font-weight: 800; padding: 3px 10px; border-radius: 999px; color: #fff; background: #64748b; }
.news-label.l-new-launch { background: linear-gradient(135deg, #ef4444, #f97316); }
.news-label.l-coming-soon { background: #7c3aed; }
.news-label.l-in-development { background: #0d9488; }
.news-label.l-update { background: #2563eb; }
.news-kicker { margin: 12px 0 0; font-size: 0.82rem; font-weight: 700; color: var(--violet); letter-spacing: 0.02em; }
.news-body h3 { font-size: 1.2rem; margin: 6px 0 8px; }
.news-body h3 a { color: var(--ink); text-decoration: none; }
.news-body h3 a:hover { color: var(--blue); }
.news-body p:not(.news-kicker) { margin: 0; font-size: 0.95rem; }
.news-body .more { margin-top: auto; padding-top: 16px; font-weight: 700; font-size: 0.92rem; color: var(--blue); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.news-body .more i { font-style: normal; transition: transform 0.2s; }
.news-card:hover .more i { transform: translateX(5px); }
html[dir="rtl"] .news-body .more i { transform: scaleX(-1); }
html[dir="rtl"] .news-card:hover .more i { transform: scaleX(-1) translateX(5px); }

/* featured: big two-column card */
.news-feature { flex-direction: row; border-radius: 28px; }
.news-feature .news-art { width: 46%; height: auto; min-height: 260px; padding: 18px 26px; display: grid; place-items: center; }
.news-feature .news-body { padding: 30px 34px; justify-content: center; }
.news-feature .news-body h3 { font-size: 1.7rem; }
.news-feature .news-body p:not(.news-kicker) { font-size: 1.05rem; }
.news-featured .news-card:nth-child(even) { flex-direction: row-reverse; }
.news-empty { text-align: center; margin: 30px 0 0; }
.news-social { justify-content: center; margin-top: 22px; }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 0.85rem; color: var(--muted); }

@media (max-width: 800px) {
  .news-feature, .news-featured .news-card:nth-child(even) { flex-direction: column; }
  .news-feature .news-art { width: 100%; min-height: 200px; }
  .news-feature .news-body { padding: 22px; }
}
html[dir="rtl"] .news-body h3, html[dir="rtl"] .news-body p { line-height: 1.9; }
html[dir="rtl"] .news-kicker { letter-spacing: 0; }
