/* News detail: same palette and components as the v2 product pages. */
.nd {
	--nd-ink: #1F2A33;
	--nd-text: #2E3A44;
	--nd-muted: #5E6A73;
	--nd-soft: #6F7A82;
	--nd-gold: #A07E4F;
	--nd-sand: #F7F5F1;
	--nd-line: #DCD6CC;
	--nd-blue: #1E5BD8;
	color: var(--nd-ink);
	font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
.nd *, .nd *::before, .nd *::after { box-sizing: border-box; }
.nd h1, .nd h2, .nd h3, .nd p, .nd figure, .nd ul { margin: 0; padding: 0; }
.nd-col { width: min(760px, calc(100% - 48px)); margin-inline: auto; }
.nd-shell { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Title block */
.nd-hero { padding: 8px 0 40px; background: radial-gradient(120% 90% at 78% 30%, #fff 0, var(--nd-sand) 62%); }
.nd-crumb { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; color: var(--nd-soft); }
.nd-crumb a { flex: none; padding: 13px 0; color: var(--nd-soft); text-decoration: none; }
.nd-crumb a:hover { color: var(--nd-ink); }
.nd-crumb strong { min-width: 0; overflow: hidden; font-weight: 400; color: var(--nd-ink); text-overflow: ellipsis; white-space: nowrap; }
.nd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; font-size: 14px; color: var(--nd-soft); }
.nd-tag { padding: 4px 12px; border: 1px solid var(--nd-line); border-radius: 999px; background: rgba(255, 255, 255, .7); font-size: 13px; font-weight: 700; color: var(--nd-gold); }
.nd h1 { margin-top: 18px; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.3; font-weight: 800; color: var(--nd-ink); text-wrap: balance; }
.nd-lead { margin-top: 20px !important; padding-left: 18px; border-left: 3px solid var(--nd-gold); font-size: 17px; line-height: 1.8; color: var(--nd-muted); }

/* Media: cover and landscape photos share one width; portraits stay readable-sized. */
.nd .nd-cover { width: min(960px, calc(100% - 48px)); margin: 40px auto 0; }
.nd-cover img, .nd .nd-body figure.leyi-insight-inline-media img { display: block; width: 100%; height: auto; border-radius: 12px; background: var(--nd-sand); object-fit: cover; }
.nd .nd-body figure.leyi-insight-inline-media { margin: 40px auto !important; padding: 0 !important; border-radius: 12px; background: none !important; box-shadow: none !important; }
.nd .nd-body figure.leyi-insight-inline-media.is-landscape { width: min(960px, calc(100vw - 48px)) !important; max-width: none !important; margin-left: calc((100% - min(960px, 100vw - 48px)) / 2) !important; margin-right: 0 !important; left: auto !important; right: auto !important; transform: none !important; }
.nd .nd-body figure.leyi-insight-inline-media.is-portrait { width: min(520px, 100%) !important; max-width: 100% !important; left: auto !important; transform: none !important; }
.nd .nd-body figure.leyi-insight-inline-media picture { display: block; }

/* Article text */
.nd-body { padding: 56px 0 8px; }
.nd .nd-body > p { margin: 0 0 1.4em !important; font-size: 17px !important; line-height: 1.9 !important; color: var(--nd-text); }
.nd .nd-body > h2 { margin: 48px 0 16px !important; padding-left: 14px; border-left: 3px solid var(--nd-gold); font-size: 22px !important; line-height: 1.45 !important; font-weight: 800 !important; color: var(--nd-ink); }
.nd .nd-body > ul { margin: 0 0 1.4em !important; list-style: none; }
.nd .nd-body > ul li { position: relative; padding: 10px 0 10px 22px; border-bottom: 1px solid #ECE7DF; font-size: 17px; line-height: 1.8; color: var(--nd-text); }
.nd .nd-body > ul li:last-child { border-bottom: 0; }
.nd .nd-body > ul li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 7px; height: 7px; border-radius: 50%; background: var(--nd-gold); }
.nd .nd-body > ul li strong { color: var(--nd-ink); }

.nd-foot { padding: 8px 0 72px; }
.nd .nd-note { padding-top: 20px; border-top: 1px solid var(--nd-line); font-size: 13px !important; line-height: 1.75 !important; color: var(--nd-soft); }
.nd-back { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 10px 0; font-size: 15px; font-weight: 700; color: var(--nd-ink) !important; text-decoration: none !important; }
.nd-back span { transition: transform .2s ease; }
.nd-back:hover span { transform: translateX(-3px); }

/* Related news */
.nd-related { padding: 88px 0 96px; background: var(--nd-sand); }
.nd-related__head { margin-bottom: 40px; text-align: center; }
.nd .nd-kicker { font-family: Barlow, "Noto Sans SC", sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .22em; color: var(--nd-gold); }
.nd-related__head h2 { margin-top: 10px; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.2; font-weight: 800; color: var(--nd-ink); }
.nd-cards { display: grid; grid-template-columns: repeat(var(--nd-n, 3), minmax(0, 340px)); justify-content: center; gap: 28px; list-style: none; }
.nd-cards a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--nd-line); border-radius: 12px; background: #fff; color: var(--nd-ink) !important; text-decoration: none !important; transition: transform .25s ease, box-shadow .25s ease; }
.nd-cards a:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(18, 32, 43, .1); }
.nd-cards__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #ECE7DF; }
.nd-cards__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.nd-cards a:hover .nd-cards__media img { transform: scale(1.04); }
.nd-cards__meta { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 20px 0; font-size: 13px; color: var(--nd-soft); }
.nd-cards__meta span { font-weight: 700; color: var(--nd-gold); }
.nd-cards__title { display: -webkit-box; margin: 8px 20px 22px; overflow: hidden; font-size: 17px; line-height: 1.6; font-weight: 800; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

/* Closing call to action */
.nd-cta { padding: 96px 0; background: var(--nd-ink); color: #fff; text-align: center; }
.nd-cta h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.25; font-weight: 800; color: #fff; text-wrap: balance; }
.nd .nd-cta p { max-width: 620px; margin: 16px auto 0 !important; font-size: 17px !important; line-height: 1.8 !important; color: rgba(255, 255, 255, .72); }
.nd-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 28px; margin-top: 32px; }
.nd-btn { display: inline-flex; padding: 14px 28px; border-radius: 999px; background: var(--nd-blue); color: #fff !important; font-size: 16px; font-weight: 700; text-decoration: none !important; transition: background .2s ease, transform .2s ease; }
.nd-btn:hover { background: #174BB8; transform: translateY(-1px); }
.nd-link { display: inline-flex; gap: 6px; padding: 12px 0; color: #fff !important; font-size: 16px; font-weight: 700; text-decoration: none !important; }
.nd-link span { transition: transform .2s ease; }
.nd-link:hover span { transform: translateX(3px); }

/* The site-wide alignment layer forces 64px h1 / 40px 900 h2; keep article sizes instead. */
html body.leyi-home-aligned .nd h1 { font-size: clamp(28px, 3.2vw, 40px) !important; font-weight: 800 !important; line-height: 1.3 !important; }
html body.leyi-home-aligned .nd .nd-body > h2 { font-size: 22px !important; font-weight: 800 !important; line-height: 1.45 !important; }
html body.leyi-home-aligned .nd :is(.nd-related__head, .nd-cta) h2 { font-weight: 800 !important; }

@media (max-width: 1080px) {
	.nd-cards { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 760px) {
	.nd-hero { padding-bottom: 32px; }
	.nd-meta { margin-top: 16px; }
	.nd .nd-cover { margin-top: 28px; }
	.nd-body { padding-top: 40px; }
	.nd .nd-body > p, .nd .nd-body > ul li { font-size: 16px !important; }
	.nd .nd-body > h2 { margin-top: 36px !important; }
	html body.leyi-home-aligned .nd .nd-body > h2 { font-size: 20px !important; }
	.nd .nd-body figure.leyi-insight-inline-media { margin: 28px auto !important; }
	.nd .nd-body figure.leyi-insight-inline-media.is-portrait { width: 100% !important; }
	.nd-foot { padding-bottom: 56px; }
	.nd-related, .nd-cta { padding: 64px 0; }
	.nd-related__head { margin-bottom: 28px; }
	.nd-cards { grid-template-columns: 1fr; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.nd-cards a, .nd-cards__media img, .nd-btn, .nd-link span, .nd-back span { transition: none; }
	.nd-cards a:hover, .nd-cards a:hover .nd-cards__media img, .nd-btn:hover { transform: none; }
}
