/* jp088 news — clean editorial layout */
body.jp088-news {
  --jn-accent: #c2410c;
  --jn-accent-soft: rgba(194, 65, 12, 0.1);
  --jn-card: #ffffff;
  --jn-muted: #64748b;
  --jn-line: rgba(15, 23, 42, 0.09);
  background: #f1f5f9;
  min-height: 100vh;
}
body.jp088-news .nav { background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(12px); }
.jn-wrap { max-width: 1180px; margin: 0 auto; padding: 96px 16px 48px; }
.jn-hero {
  position: relative;
  border-radius: 20px;
  padding: 28px 28px 24px;
  margin-bottom: 20px;
  overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, #1e293b 0%, #0f172a 55%, #020617 100%);
  color: #f8fafc;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}
.jn-hero::after {
  content: "";
  position: absolute;
  inset: -40% 30% auto -20%;
  height: 120%;
  background: radial-gradient(circle, rgba(232, 93, 4, 0.35), transparent 65%);
  pointer-events: none;
}
.jn-hero__inner { position: relative; z-index: 1; }
.jn-crumb { font-size: 13px; opacity: 0.85; margin-bottom: 10px; }
.jn-crumb a { color: #fde68a; }
.jn-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
}
.jn-hero p { margin: 0; color: #cbd5e1; max-width: 52ch; line-height: 1.55; }
.jn-hero--lite {
  padding: 22px 24px 20px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}
.jn-hero--lite::after { display: none; }
.jn-hero--lite h1 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); margin: 8px 0; }
.jn-hero__sub { color: #cbd5e1 !important; max-width: 62ch !important; font-size: 14px; }
.jn-hero__sub a { color: #fde68a; }
.jn-feed--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 768px) { .jn-feed--grid { grid-template-columns: 1fr; } }
.jn-feed--grid .jn-card {
  grid-template-columns: 132px 1fr;
  min-height: 132px;
  align-items: stretch;
}
.jn-feed--grid .jn-card__thumb { min-height: 100%; }
.jn-feed--grid .jn-card__thumb .jn-cover { height: 100%; min-height: 116px; object-fit: cover; }
.jn-feed--grid .jn-card--hot {
  grid-template-columns: 88px 1fr;
  min-height: 96px;
  padding: 12px 14px;
}
.jn-feed--grid .jn-card--hot .jn-card__thumb .jn-cover { min-height: 72px; height: 72px; }
.jn-card--hot .jn-card__body p { display: none; }
.jn-card--hot .jn-card__body h3 { font-size: 15px; margin: 4px 0 6px; }
.jn-page-head {
  margin-bottom: 16px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--jn-card);
  border: 1px solid var(--jn-line);
}
.jn-page-head .jn-crumb {
  font-size: 13px;
  color: var(--jn-muted);
  margin-bottom: 8px;
}
.jn-page-head .jn-crumb a { color: #334155; }
.jn-crumb__sep { margin: 0 6px; opacity: 0.45; }
.jn-page-head__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
}
.jn-page-head h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}
.jn-page-head p {
  margin: 0;
  font-size: 14px;
  color: var(--jn-muted);
}
.jn-page-head p a { color: var(--jn-accent); }
.jn-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}
.jn-tabs--sticky {
  position: sticky;
  top: 72px;
  z-index: 20;
  padding: 10px 0;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #f1f5f9 70%, rgba(241, 245, 249, 0));
}
.jn-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  background: var(--jn-card);
  border: 1px solid var(--jn-line);
  color: #334155;
  transition: 0.2s ease;
}
.jn-tab:hover { border-color: var(--jn-accent); color: var(--jn-accent); }
.jn-tab.is-active {
  background: var(--jn-accent);
  border-color: var(--jn-accent);
  color: #fff;
  box-shadow: none;
}
.jn-layout { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 992px) { .jn-layout { grid-template-columns: minmax(0, 1fr) 300px; } }
.jn-feed--magazine {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.jn-feed--magazine .jn-card {
  grid-template-columns: minmax(140px, 200px) 1fr;
  padding: 12px 14px;
  border-radius: 12px;
}
.jn-feed--magazine .jn-card__thumb .jn-cover {
  height: 112px;
  border-radius: 10px;
}
.jn-tag--plain {
  background: transparent;
  color: var(--jn-muted);
  padding: 0;
  font-size: 12px;
  margin-bottom: 4px;
}
.jn-hot-board {
  margin: 8px 0 20px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--jn-card);
  border: 1px solid var(--jn-line);
}
.jn-hot-board__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--jn-line);
}
.jn-hot-board__head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}
.jn-hot-board__hint {
  font-size: 12px;
  color: var(--jn-muted);
}
.jn-hot-board__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
@media (min-width: 768px) {
  .jn-hot-board__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
}
.jn-hot-board__row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 4px;
  border-bottom: 1px dashed var(--jn-line);
  color: inherit;
  text-decoration: none;
}
.jn-hot-board__row:hover { color: var(--jn-accent); text-decoration: none; }
.jn-hot-board__rank {
  font-size: 13px;
  font-weight: 700;
  color: var(--jn-accent);
  text-align: center;
}
.jn-hot-board__title {
  font-size: 14px;
  line-height: 1.4;
  color: #1e293b;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jn-hot-board__time {
  font-size: 11px;
  color: var(--jn-muted);
  flex-shrink: 0;
}
.jn-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--jn-card);
  border: 1px solid var(--jn-line);
  box-shadow: none;
  color: inherit;
}
.jn-featured--compact {
  display: block;
  margin-bottom: 14px;
}
.jn-featured--compact .jn-featured__body { padding: 16px 18px; }
@media (min-width: 768px) { .jn-featured { grid-template-columns: 1.1fr 1fr; } }
.jn-featured__media { position: relative; min-height: 200px; background: #0f172a; }
.jn-featured__media .jn-cover { width: 100%; height: 100%; object-fit: cover; min-height: 200px; }
.jn-featured__badge {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  background: var(--jn-accent);
  color: #fff;
}
.jn-featured__body { padding: 20px 22px; display: flex; flex-direction: column; justify-content: center; }
.jn-featured__body h2 { margin: 0 0 10px; font-size: 1.35rem; line-height: 1.35; color: #0f172a; }
.jn-featured__body p { margin: 0 0 12px; color: var(--jn-muted); font-size: 14px; line-height: 1.6; }
.jn-meta { font-size: 12px; color: var(--jn-muted); display: flex; gap: 12px; flex-wrap: wrap; }
.jn-feed { display: grid; gap: 12px; }
.jn-card {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  background: var(--jn-card);
  border: 1px solid var(--jn-line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: inherit;
}
.jn-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  border-color: rgba(232, 93, 4, 0.25);
}
.jn-card__thumb { position: relative; border-radius: 12px; overflow: hidden; background: #e2e8f0; }
.jn-card__thumb .jn-cover { width: 100%; height: 88px; object-fit: cover; }
.jn-type {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 2;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 6px;
  color: #fff;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
}
.jn-type--lg { position: static; display: inline-block; margin-bottom: 8px; font-size: 12px; padding: 4px 10px; }
.jn-type--video { background: rgba(37, 99, 235, 0.92); }
.jn-type--hot { background: rgba(220, 38, 38, 0.92); }
.jn-type--image { background: rgba(5, 150, 105, 0.92); }
.jn-video-embed {
  position: relative;
  width: 100%;
  margin: 0 0 20px;
  border-radius: 14px;
  overflow: hidden;
  background: #0f172a;
  aspect-ratio: 16 / 9;
}
.jn-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.jn-hot-lead { font-size: 16px; line-height: 1.65; color: #334155; }
.jn-hot-go {
  display: inline-flex;
  margin-top: 12px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--jn-accent-soft);
  color: var(--jn-accent);
  font-weight: 600;
}
.jn-card--hot .jn-card__thumb { background: linear-gradient(135deg, #fff7ed, #fee2e2); }
.jn-card--video .jn-card__thumb { background: #1e293b; }
.jn-tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--jn-accent-soft);
  color: var(--jn-accent);
  margin-bottom: 6px;
}
.jn-card h3 { margin: 0 0 6px; font-size: 15px; line-height: 1.4; color: #0f172a; }
.jn-card p { margin: 0; font-size: 13px; color: var(--jn-muted); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jn-side { display: flex; flex-direction: column; gap: 14px; }
.jn-panel {
  background: var(--jn-card);
  border: 1px solid var(--jn-line);
  border-radius: 16px;
  padding: 16px;
}
.jn-panel h4 { margin: 0 0 12px; font-size: 14px; color: #0f172a; }
.jn-rank { list-style: none; margin: 0; padding: 0; }
.jn-rank li { margin: 0 0 10px; font-size: 13px; line-height: 1.45; }
.jn-rank a { color: #334155; }
.jn-rank a:hover { color: var(--jn-accent); }
.jn-pager { margin-top: 16px; }
.jn-pager a, .jn-pager span {
  display: inline-block;
  margin: 2px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--jn-line);
  font-size: 13px;
  background: #fff;
}
.jn-pager a:hover { border-color: var(--jn-accent); color: var(--jn-accent); }
.jn-article {
  background: var(--jn-card);
  border-radius: 20px;
  border: 1px solid var(--jn-line);
  padding: 28px 24px 32px;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.06);
}
.jn-article h1 { margin: 12px 0 16px; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.3; color: #0f172a; }
.jn-article__lead {
  font-size: 16px;
  color: #475569;
  border-left: 4px solid var(--jn-accent);
  padding-left: 14px;
  margin: 0 0 20px;
}
.jn-article__cover { margin: 0 0 20px; border-radius: 14px; overflow: hidden; }
.jn-article__cover .jn-cover { width: 100%; max-height: 420px; object-fit: cover; }
.jn-article__body { font-size: 16px; line-height: 1.75; color: #1e293b; }
.jn-article__body img { max-width: 100%; height: auto; border-radius: 10px; }
.jn-source {
  margin-top: 24px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  font-size: 13px;
  color: #64748b;
}
.jn-nav-prevnext {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  font-size: 13px;
}
@media (min-width: 640px) { .jn-nav-prevnext { grid-template-columns: 1fr 1fr; } }
.jn-main { min-width: 0; }
.jn-card__body { min-width: 0; }
.jn-empty {
  text-align: center;
  padding: 48px 20px;
  border-radius: 16px;
  border: 1px dashed var(--jn-line);
  background: rgba(255, 255, 255, 0.6);
  color: #64748b;
}
.jn-empty i { font-size: 28px; margin-bottom: 12px; color: var(--jn-accent); }
.jn-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.jn-chip {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--jn-line);
  background: #fff;
  color: #334155;
}
.jn-chip:hover { border-color: var(--jn-accent); color: var(--jn-accent); text-decoration: none; }
.jn-chip--hot { border-color: rgba(220, 38, 38, 0.25); color: #dc2626; }
.jn-article__labels { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; }
.jn-meta--article { margin-bottom: 16px; }
.jn-article__body--video .jn-video-embed { display: none; }
.jn-article__body--video .jp088-source { margin-top: 16px; }
.jn-related { margin-top: 28px; }
.jn-related__title { margin: 0 0 14px; font-size: 1.1rem; color: #0f172a; }
.jn-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.jn-rel-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--jn-line);
  background: var(--jn-card);
  color: inherit;
  min-height: 100%;
}
.jn-rel-card:hover { border-color: rgba(232, 93, 4, 0.35); box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08); text-decoration: none; }
.jn-rel-card__thumb { height: 96px; background: #e2e8f0; }
.jn-rel-card__thumb .jn-cover { width: 100%; height: 96px; object-fit: cover; }
.jn-rel-card__body { padding: 12px 14px 14px; }
.jn-rel-card__body h3 { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: #0f172a; }
.jn-nav-item { line-height: 1.5; word-break: break-word; }
@media (max-width: 991px) {
  .jn-layout--article { grid-template-columns: 1fr; }
}
