
.nw-featured { padding: 0 0 100px; background: var(--jx-white); }

.nw-featured__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 16px;
  align-items: start;
}

/* 首张跨 2 列 */
.nw-featured__grid > .nw-feat:first-child {
  grid-column: 1 / span 2;
}

.nw-feat {
  position: relative;
  display: flex;
  flex-direction: column;
}

.nw-feat__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 344 / 267;
  background: var(--jx-light);
}

.nw-featured__grid > .nw-feat:first-child .nw-feat__image {
  aspect-ratio: 1.6 / 1;
}

.nw-feat__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.nw-feat:hover .nw-feat__image img { transform: scale(1.06); }

.nw-feat__body { padding-top: 24px; }

.nw-feat__title {
  margin: 16px 0 0;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--jx-text);
}

.nw-featured__grid > .nw-feat:first-child .nw-feat__title {
  font-size: 2.6rem;
}

.nw-feat__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.nw-feat__title a:hover { color: var(--jx-primary); }

.nw-feat__author {
  margin-top: 16px;
  font-size: 1.3rem;
  color: var(--jx-text-muted);
}

/* ---------- 单列横向列表 ---------- */
.nw-list { padding: 0 0 100px; background: var(--jx-white); }

.nw-list__inner { max-width: 940px; margin-left: auto; margin-right: auto; }

.nw-row {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--jx-border);
}

.nw-row:first-child { padding-top: 0; }
.nw-row:last-child { border-bottom: 0; padding-bottom: 0; }

.nw-row__image {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  aspect-ratio: 344 / 267;
  background: var(--jx-light);
}

.nw-row__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.nw-row:hover .nw-row__image img { transform: scale(1.06); }

.nw-row__content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.nw-row__title {
  margin: 12px 0 0;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--jx-text);
}

.nw-row__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.nw-row__title a:hover { color: var(--jx-primary); }

.nw-row__summary {
  margin: 12px 0 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  font-size: 1.5rem;
  line-height: 1.7;
  color: var(--jx-text-secondary);
  overflow-wrap: anywhere;
}

.nw-row__meta {
  margin-top: 12px;
  font-size: 1.3rem;
  color: var(--jx-text-muted);
}

/* ---------- 详情页 ---------- */
.nw-detail-header {
  padding: 180px 0 64px;
  background: var(--jx-white);
}

.nw-detail-header__crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  font-size: 1.4rem;
  color: var(--jx-text-muted);
}

.nw-detail-header__crumb a:hover { color: var(--jx-primary); }
.nw-detail-header__crumb .sep { opacity: 0.5; }

.nw-detail-header__title {
  max-width: 960px;
  font-size: 4.4rem;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--jx-text);
}

.nw-detail-header__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  font-size: 1.4rem;
  color: var(--jx-text-muted);
}

.nw-detail-cover {
  margin: 0 0 56px;
  overflow: hidden;
  background: var(--jx-light);
}

.nw-detail-cover img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.nw-detail-body { padding: 0 0 100px; background: var(--jx-white); }

.nw-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 72px;
  align-items: start;
}

.nw-article {
  font-size: 1.7rem;
  line-height: 1.9;
  color: var(--jx-text);
}

.nw-article h3 {
  margin: 56px 0 16px;
  font-size: 2.4rem;
  line-height: 1.3;
  color: var(--jx-text);
}

.nw-article h3:first-child { margin-top: 0; }
.nw-article p { margin: 0 0 22px; }
.nw-article img { margin: 32px 0; }

.nw-aside { position: sticky; top: 100px; }
.nw-aside__block + .nw-aside__block { margin-top: 48px; }

.nw-aside__title {
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--jx-primary);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--jx-text);
}

.nw-aside__list li + li { border-top: 1px solid var(--jx-border); }

.nw-aside__list a {
  display: block;
  padding: 14px 0;
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--jx-text-secondary);
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.nw-aside__list a:hover,
.nw-aside__list a.is-active { padding-left: 8px; color: var(--jx-primary); }

.nw-aside__list a.is-active { font-weight: 600; }

.nw-aside__cta {
  padding: 36px 32px;
  background: var(--jx-black);
  color: var(--jx-white);
}

.nw-aside__cta p {
  margin: 0 0 24px;
  font-size: 1.5rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.nw-aside__phone {
  display: block;
  margin-bottom: 20px;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--jx-accent);
  font-family: "Akshar", inherit;
}

.nw-neighbor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--jx-border);
}

.nw-neighbor__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 32px;
  border: 1px solid var(--jx-border);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.nw-neighbor__item:hover { border-color: var(--jx-primary); background: var(--jx-light); }
.nw-neighbor__item--next { text-align: right; }

.nw-neighbor__label {
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: var(--jx-text-muted);
}

.nw-neighbor__title {
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--jx-primary);
}

.nw-neighbor__item.is-empty { opacity: 0.5; pointer-events: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .nw-featured__grid { grid-template-columns: repeat(2, 1fr); }
  .nw-featured__grid > .nw-feat:first-child { grid-column: 1 / span 2; }
  .nw-detail-header { padding: 140px 0 48px; }
  .nw-detail-header__title { font-size: 3.2rem; }
  .nw-detail-layout { grid-template-columns: 1fr; }
  .nw-aside { position: static; }
}

@media (max-width: 640px) {
  .nw-featured__grid { grid-template-columns: 1fr; }
  .nw-featured__grid > .nw-feat:first-child { grid-column: 1; }
  .nw-featured__grid > .nw-feat:first-child .nw-feat__title { font-size: 2rem; }
  .nw-row { flex-direction: column; }
  .nw-row__title { font-size: 1.8rem; }
  .nw-detail-header__title { font-size: 2.4rem; }
  .nw-neighbor { grid-template-columns: 1fr; }
  .nw-neighbor__item--next { text-align: left; }
  .nw-article { font-size: 1.6rem; }
}

@media (min-width: 768px) {
  .nw-row { flex-direction: row; gap: 16px; }
  .nw-row__image { width: 344px; min-width: 344px; }
  .nw-row__content { padding-top: 0; }
}
