/* news.css - styles specific to the news homepage */

/* Ticker */
.news-top-ticker { background:#fafafa;border:1px solid #eee;padding:8px 12px;margin-bottom:14px;border-radius:6px;overflow:hidden; }
.ticker-inner { display:flex;gap:36px;animation:scrollTicker 18s linear infinite;white-space:nowrap;align-items:center;font-size:13px;color:#444; }
.ticker-item{ display:inline-block;padding-right:6px;border-right:1px solid #e6e6e6;margin-right:6px;padding-left:6px}
@keyframes scrollTicker { 0%{transform:translateX(0)} 100%{transform:translateX(-40%)} }
@media (max-width:900px){ .ticker-inner{animation:none;flex-direction:column;gap:6px} .ticker-item{border:none} }

/* Layout */.news-layout { display:grid;grid-template-columns:1fr 540px;gap:2px;align-items:start; }
.news-left, .news-right { width:100%; }
.card { background:#fff;border:1px solid #e8e8e8;border-radius:6px;padding:12px;box-shadow:0 6px 18px rgba(10,20,30,0.03); }

/* Hero */
.news-hero .hero-image { width:100%;height:360px; background-size:cover;background-position:center;border-radius:4px; }
.news-hero .hero-title { margin:12px 0 6px;font-size:22px;color:#1f3f78;font-weight:700;line-height:1.15; }
.news-hero .meta{color:#777;font-size:13px;margin-bottom:10px}

/* Small grid */
.small-grid { display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:12px; }
.small-card { display:flex;gap:10px;align-items:flex-start;background:#fff;padding:8px;border-radius:6px;border:1px solid #f0f0f0 }
.small-thumb { width:90px;height:64px;object-fit:cover;border-radius:4px }
.small-body h4{ margin:0;font-size:14px }
.small-body .meta{ font-size:12px;color:#888;margin-top:6px }

/* list section */
.news-section .list-cards{ display:grid;grid-template-columns:1fr;gap:12px;margin-top:12px }
.list-item { display:flex; gap:12px; background:#fff;border-radius:6px;padding:10px;border:1px solid #f2f2f2 }
.list-thumb{ width:140px;height:96px;object-fit:cover;border-radius:6px }
.list-body h4{ margin:0 0 6px;font-size:16px }
.list-body .meta{ color:#777;font-size:13px }

/* Right column featured list */
.featured-news h3{ margin-top:0;font-size:18px;color:#1f3f78;padding-bottom:6px }
.rank-list{ list-style:none;padding:0;margin:0 }
.rank-list li{ display:flex; gap:12px; align-items:flex-start; padding:10px 6px; border-top:1px dashed #eee }
.rank-num{ width:30px;height:30px;border-radius:50%;background:#0b66c2;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:700;margin-right:6px }
.rtext a{ font-weight:700;color:#074a83;text-decoration:none }
.rtext .meta{ font-size:12px;color:#888 }

/* widgets */
.widget .tool-btn{ display:inline-block;margin:6px 6px 6px 0;padding:8px 10px;border-radius:8px;border:1px solid #e6e6e6;text-decoration:none;color:#074a83;background:#fbfdff }
.subscribe-input{ width:100%;padding:10px;border:1px solid #e6e6e6;border-radius:6px;margin-bottom:8px }
.subscribe-btn{ width:100%;padding:10px;border-radius:6px;border:none;background:#0b66c2;color:#fff;font-weight:700 }

/* Responsive */
@media (max-width:900px){
  .news-layout{ grid-template-columns:1fr; }
  .news-hero .hero-image{ height:220px }
  .small-grid{ grid-template-columns:1fr 1fr }
  .featured-news{ order:2 }
  .news-left{ order:1 }
}
@media (max-width:520px){
  .small-grid{ grid-template-columns:1fr }
  .list-thumb{ width:110px;height:80px }
  .rank-num{ width:26px;height:26px;font-size:13px }
}



