/* ==========================================================================
   BMT News Portal Pro Theme (layout_7)
   Editorial News Grid: Breaking Ticker + 3-Zone Hero + 5 Distinct Sections
   ========================================================================== */

.np7-root {
  --np7-accent: var(--inf-main-color, #c90606);
  --np7-ink: #111827;
  --np7-ink-2: #374151;
  --np7-muted: #595959;
  --np7-border: #e5e7eb;
  --np7-surface: #ffffff;
  --np7-surface-alt: #f8fafc;
  --np7-dark-bg: #0f172a;
  --np7-dark-card: #1e293b;
  --np7-radius: 6px;
  padding-top: 14px;
  padding-bottom: 36px;
}

.np7-dark {
  --np7-ink: #f1f5f9;
  --np7-ink-2: #cbd5e1;
  --np7-muted: #94a3b8;
  --np7-border: #2c3444;
  --np7-surface: #1b2230;
  --np7-surface-alt: #151b26;
}

.np7-root a {
  text-decoration: none;
  transition: color 0.16s ease, opacity 0.16s ease, transform 0.2s ease;
}

/* ---------- 1. Breaking News Ticker Bar ---------- */
.np7-ticker-wrap {
  background: var(--np7-surface);
  border: 1px solid var(--np7-border);
  border-left: 4px solid var(--np7-accent);
  border-radius: var(--np7-radius);
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 18px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.np7-ticker-badge {
  background: var(--np7-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 0 14px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  flex-shrink: 0;
}

.np7-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
  animation: np7Pulse 1.5s infinite;
}

@keyframes np7Pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

.np7-ticker-viewport {
  flex: 1;
  min-width: 0;
  padding: 0 14px;
  position: relative;
  height: 44px;
  overflow: hidden;
}

.np7-ticker-item {
  position: absolute;
  inset: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.np7-ticker-item.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.np7-ticker-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--np7-accent);
  background: rgba(201, 6, 6, 0.08);
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.np7-ticker-link {
  color: var(--np7-ink);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.np7-ticker-link:hover {
  color: var(--np7-accent);
}

.np7-ticker-time {
  font-size: 12px;
  color: var(--np7-muted);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}

.np7-ticker-controls {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  border-left: 1px solid var(--np7-border);
  height: 44px;
  flex-shrink: 0;
}

.np7-ticker-btn {
  width: 26px;
  height: 26px;
  border: 1px solid var(--np7-border);
  background: var(--np7-surface-alt);
  color: var(--np7-ink-2);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0;
}

.np7-ticker-btn:hover {
  background: var(--np7-accent);
  border-color: var(--np7-accent);
  color: #fff;
}

.np7-ticker-date {
  font-size: 12px;
  color: var(--np7-muted);
  padding: 0 14px;
  border-left: 1px solid var(--np7-border);
  height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 500;
}

/* ---------- Shared Media / Image Helpers ---------- */
.np7-thumb {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--np7-radius);
  background: #e2e8f0;
}

.np7-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.np7-card:hover .np7-thumb img,
.np7-thumb:hover img {
  transform: scale(1.035);
}

.np7-ratio-16x9 { aspect-ratio: 16 / 9; }
.np7-ratio-hero { aspect-ratio: 16 / 8.8; }
.np7-ratio-16x10 { aspect-ratio: 16 / 10; }
.np7-ratio-3x2 { aspect-ratio: 3 / 2; }

.np7-cat-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 3px 9px;
  border-radius: 3px;
  background: var(--np7-accent);
  color: #fff !important;
  line-height: 1.3;
}

.np7-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--np7-muted);
  margin-top: 6px;
}

.np7-meta a {
  color: var(--np7-muted);
  font-weight: 600;
}

.np7-meta a:hover {
  color: var(--np7-accent);
}

/* ---------- 2. Editorial 3-Zone Hero Section ---------- */
.np7-hero {
  margin-bottom: 20px;
}

.np7-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.np7-hero-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.np7-hero-lead {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #0f172a;
  margin-bottom: 0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.np7-hero-lead .np7-thumb {
  border-radius: 8px;
}

.np7-hero-lead::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 24, 0.94) 0%, rgba(10, 14, 24, 0.48) 46%, rgba(10, 14, 24, 0.04) 100%);
  pointer-events: none;
}

.np7-hero-lead-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px 24px 20px;
}

.np7-hero-lead-title {
  margin: 8px 0 6px;
  font-size: 24px;
  line-height: 1.28;
  font-weight: 700;
}

.np7-hero-lead-title a {
  color: #fff;
}

.np7-hero-lead-title a:hover {
  color: #fde68a;
}

.np7-hero-lead-desc {
  color: #e2e8f0;
  font-size: 13.8px;
  line-height: 1.48;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.np7-hero-lead .np7-meta,
.np7-hero-lead .np7-meta a {
  color: #cbd5e1;
}

.np7-hero-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  flex: 1;
}

.np7-hero-subcard {
  background: var(--np7-surface);
  border: 1px solid var(--np7-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.np7-hero-subcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  border-color: rgba(201, 6, 6, 0.35);
}

.np7-hero-subcard .np7-thumb {
  border-radius: 0;
}

.np7-sub-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  background: rgba(15, 23, 42, 0.82);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  padding: 3px 8px;
  border-radius: 3px;
  border-left: 3px solid var(--np7-accent);
  backdrop-filter: blur(4px);
}

.np7-hero-subcard-body {
  padding: 12px 14px 13px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.np7-hero-subcard-title {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.38;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.np7-hero-subcard-title a {
  color: var(--np7-ink);
}

.np7-hero-subcard-title a:hover {
  color: var(--np7-accent);
}

/* Right Column: Live Latest Stream (stretched flush to match Left Hero height) */
.np7-stream-box {
  background: var(--np7-surface);
  border: 1px solid var(--np7-border);
  border-top: 3px solid var(--np7-accent);
  border-radius: 8px;
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.np7-stream-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--np7-border);
}

.np7-stream-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--np7-ink);
  display: flex;
  align-items: center;
  gap: 7px;
}

.np7-stream-live-tag {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--np7-accent);
  background: rgba(201, 6, 6, 0.08);
  padding: 2px 7px;
  border-radius: 999px;
}

.np7-stream-head .np7-pulse-red {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--np7-accent);
  display: inline-block;
  animation: np7Pulse 1.5s infinite;
}

.np7-stream-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.np7-stream-item {
  display: flex;
  gap: 11px;
  padding: 9px 0;
  border-bottom: 1px solid var(--np7-border);
  align-items: center;
}

.np7-stream-item:first-child { padding-top: 4px; }
.np7-stream-item:last-child { border-bottom: 0; padding-bottom: 4px; }

.np7-stream-thumb {
  width: 96px;
  height: 64px;
  flex-shrink: 0;
}

.np7-stream-info {
  flex: 1;
  min-width: 0;
}

.np7-stream-cat {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--np7-accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.np7-stream-title {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.36;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.np7-stream-title a {
  color: var(--np7-ink);
}

.np7-stream-title a:hover {
  color: var(--np7-accent);
}

.np7-stream-foot {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--np7-border);
  text-align: center;
}

.np7-stream-foot a {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--np7-accent);
}

.np7-stream-foot a:hover {
  text-decoration: underline;
}

/* ---------- 3. Quick Topic Ribbon ---------- */
.np7-topic-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 14px;
  background: var(--np7-surface-alt);
  border: 1px solid var(--np7-border);
  border-radius: var(--np7-radius);
  margin-bottom: 26px;
  scrollbar-width: none;
}

.np7-topic-bar::-webkit-scrollbar { display: none; }

.np7-topic-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--np7-accent);
  text-transform: uppercase;
  white-space: nowrap;
  margin-right: 4px;
}

.np7-topic-pill {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--np7-ink-2);
  background: var(--np7-surface);
  border: 1px solid var(--np7-border);
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.np7-topic-pill:hover {
  background: var(--np7-accent);
  border-color: var(--np7-accent);
  color: #fff;
}

/* ---------- Shared Section Header ---------- */
.np7-section {
  margin-bottom: 32px;
  content-visibility: auto;
  contain-intrinsic-size: auto 480px;
}

.np7-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 2px solid var(--np7-border);
  margin-bottom: 18px;
  padding-bottom: 10px;
  position: relative;
}

.np7-sec-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.np7-sec-title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--np7-ink);
  padding-left: 11px;
  border-left: 4px solid var(--np7-accent);
  line-height: 1.2;
}

.np7-sec-title a {
  color: inherit;
}

.np7-sec-title a:hover {
  color: var(--np7-accent);
}

.np7-sec-subs {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.np7-sec-subs a {
  font-size: 13px;
  color: var(--np7-muted);
  font-weight: 500;
}

.np7-sec-subs a:hover {
  color: var(--np7-accent);
}

.np7-sec-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--np7-accent);
  white-space: nowrap;
}

.np7-sec-more:hover {
  text-decoration: underline;
}

/* ---------- SECTION 1: Magazine Split (1 Large Left + 4 Compact Stack Right) ---------- */
.np7-s1-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.np7-s1-lead {
  background: var(--np7-surface);
  border: 1px solid var(--np7-border);
  border-radius: var(--np7-radius);
  overflow: hidden;
}

.np7-s1-lead .np7-thumb { border-radius: 0; }

.np7-s1-lead-body {
  padding: 16px 18px 18px;
}

.np7-s1-lead-title {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
}

.np7-s1-lead-title a { color: var(--np7-ink); }
.np7-s1-lead-title a:hover { color: var(--np7-accent); }

.np7-s1-lead-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--np7-muted);
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.np7-s1-list {
  display: flex;
  flex-direction: column;
}

.np7-s1-item {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--np7-border);
  align-items: flex-start;
}

.np7-s1-item:first-child { padding-top: 0; }
.np7-s1-item:last-child { border-bottom: 0; padding-bottom: 0; }

.np7-s1-thumb {
  width: 132px;
  height: 88px;
  flex-shrink: 0;
}

.np7-s1-item-title {
  margin: 0 0 5px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.np7-s1-item-title a { color: var(--np7-ink); }
.np7-s1-item-title a:hover { color: var(--np7-accent); }

/* ---------- SECTION 2: 3-Column Editorial Grid + Bottom 3 Strips ---------- */
.np7-s2-top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 18px;
}

.np7-s2-card {
  background: var(--np7-surface);
  border: 1px solid var(--np7-border);
  border-radius: var(--np7-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.np7-s2-card .np7-thumb { border-radius: 0; }

.np7-s2-body {
  padding: 14px 15px 15px;
  flex: 1;
}

.np7-s2-title {
  margin: 0 0 7px;
  font-size: 16px;
  line-height: 1.38;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.np7-s2-title a { color: var(--np7-ink); }
.np7-s2-title a:hover { color: var(--np7-accent); }

.np7-s2-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--np7-muted);
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.np7-s2-bottom {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--np7-border);
}

.np7-s2-mini {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.np7-s2-mini-thumb {
  width: 86px;
  height: 60px;
  flex-shrink: 0;
}

.np7-s2-mini-title {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.38;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.np7-s2-mini-title a { color: var(--np7-ink); }
.np7-s2-mini-title a:hover { color: var(--np7-accent); }

/* ---------- SECTION 3: Dark Editorial Spotlight Band ---------- */
.np7-s3-band {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: 10px;
  padding: 24px 24px 26px;
  color: #f8fafc;
}

.np7-s3-band .np7-sec-head {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.np7-s3-band .np7-sec-title,
.np7-s3-band .np7-sec-title a {
  color: #ffffff;
}

.np7-s3-band .np7-sec-more {
  color: #fca5a5;
}

.np7-s3-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.np7-s3-lead {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #020617;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.np7-s3-lead .np7-thumb {
  flex: 1;
  border-radius: 0;
}

.np7-s3-lead-body {
  padding: 16px 18px 18px;
  background: rgba(15, 23, 42, 0.92);
}

.np7-s3-lead-title {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
}

.np7-s3-lead-title a { color: #ffffff; }
.np7-s3-lead-title a:hover { color: #fde68a; }

.np7-s3-lead-desc {
  margin: 0 0 8px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #cbd5e1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.np7-s3-band .np7-meta,
.np7-s3-band .np7-meta a {
  color: #94a3b8;
}

.np7-s3-subgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.np7-s3-mini {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--np7-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.np7-s3-mini .np7-thumb { border-radius: 0; }

.np7-s3-mini-body {
  padding: 10px 12px 12px;
}

.np7-s3-mini-title {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.38;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.np7-s3-mini-title a { color: #f1f5f9; }
.np7-s3-mini-title a:hover { color: #fde68a; }

/* ---------- SECTION 4: Dual Feature Showcase + Numbered 01-04 Briefs ---------- */
.np7-s4-top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 18px;
}

.np7-s4-card {
  display: grid;
  grid-template-columns: 44% 1fr;
  gap: 15px;
  background: var(--np7-surface);
  border: 1px solid var(--np7-border);
  border-radius: var(--np7-radius);
  overflow: hidden;
  align-items: stretch;
}

.np7-s4-card .np7-thumb {
  border-radius: 0;
  min-height: 165px;
}

.np7-s4-body {
  padding: 14px 16px 14px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.np7-s4-title {
  margin: 0 0 7px;
  font-size: 16.5px;
  line-height: 1.36;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.np7-s4-title a { color: var(--np7-ink); }
.np7-s4-title a:hover { color: var(--np7-accent); }

.np7-s4-desc {
  font-size: 13px;
  line-height: 1.48;
  color: var(--np7-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.np7-s4-numbered {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  background: var(--np7-surface-alt);
  border: 1px solid var(--np7-border);
  border-radius: var(--np7-radius);
  padding: 14px 18px;
}

.np7-s4-num-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.np7-s4-num {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--np7-accent);
  opacity: 0.85;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.np7-s4-num-title {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
}

.np7-s4-num-title a { color: var(--np7-ink); }
.np7-s4-num-title a:hover { color: var(--np7-accent); }

/* ---------- SECTION 5: Asymmetric News Feed + Sticky Editorial Sidebar ---------- */
.np7-s5-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.np7-feed-item {
  display: flex;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--np7-border);
  align-items: flex-start;
}

.np7-feed-item:first-child { padding-top: 0; }

.np7-feed-thumb {
  width: 235px;
  height: 148px;
  flex-shrink: 0;
}

.np7-feed-body {
  flex: 1;
  min-width: 0;
}

.np7-feed-cat {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--np7-accent);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: inline-block;
  margin-bottom: 4px;
}

.np7-feed-title {
  margin: 0 0 7px;
  font-size: 17.5px;
  line-height: 1.38;
  font-weight: 700;
}

.np7-feed-title a { color: var(--np7-ink); }
.np7-feed-title a:hover { color: var(--np7-accent); }

.np7-feed-desc {
  font-size: 13.8px;
  line-height: 1.52;
  color: var(--np7-muted);
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Sticky Sidebar & Ranked Most-Read Widget */
.np7-sidebar {
  position: sticky;
  top: 20px;
}

.np7-rank-box {
  background: var(--np7-surface);
  border: 1px solid var(--np7-border);
  border-top: 3px solid var(--np7-accent);
  border-radius: var(--np7-radius);
  padding: 16px 16px 12px;
  margin-bottom: 24px;
}

.np7-rank-box h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--np7-ink);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--np7-border);
}

.np7-rank-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.np7-rank-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--np7-border);
  align-items: flex-start;
}

.np7-rank-item:last-child { border-bottom: 0; padding-bottom: 0; }

.np7-rank-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--np7-surface-alt);
  border: 1px solid var(--np7-border);
  color: var(--np7-ink);
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.np7-rank-item:nth-child(1) .np7-rank-num { background: #c90606; border-color: #c90606; color: #fff; }
.np7-rank-item:nth-child(2) .np7-rank-num { background: #1e293b; border-color: #1e293b; color: #fff; }
.np7-rank-item:nth-child(3) .np7-rank-num { background: #475569; border-color: #475569; color: #fff; }

.np7-rank-title {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
}

.np7-rank-title a { color: var(--np7-ink); }
.np7-rank-title a:hover { color: var(--np7-accent); }

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 991px) {
  .np7-ticker-date { display: none; }
  .np7-hero-grid,
  .np7-s1-grid,
  .np7-s3-grid,
  .np7-s5-layout {
    grid-template-columns: 1fr;
  }
  .np7-s2-top,
  .np7-s2-bottom,
  .np7-s4-top,
  .np7-s4-numbered {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .np7-s4-card {
    grid-template-columns: 1fr;
  }
  .np7-s4-body {
    padding: 12px 14px 14px;
  }
  .np7-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .np7-ticker-cat,
  .np7-ticker-time { display: none; }
  .np7-hero-lead-body { padding: 16px 16px 14px; }
  .np7-hero-lead-title { font-size: 19px; }
  .np7-hero-lead-desc { display: none; }
  .np7-hero-subgrid,
  .np7-s2-top,
  .np7-s2-bottom,
  .np7-s3-subgrid,
  .np7-s4-top,
  .np7-s4-numbered {
    grid-template-columns: 1fr;
  }
  .np7-s3-band { padding: 16px 14px 18px; }
  .np7-feed-item { gap: 12px; }
  .np7-feed-thumb { width: 120px; height: 84px; }
  .np7-feed-title { font-size: 15px; }
  .np7-feed-desc { display: none; }
}
