/* CAIZUN News Detail V20
 * Only page content. Shared Header/Footer must come from home_2026.css etc.
 * Nothing here targets .cz-home-header or .cz-home-footer.
 */
body.cz-news-detail-2026 {
    --cz-nd-ink: #151515;
    --cz-nd-secondary: #77736d;
    --cz-nd-border: #e5e4e1;
    --cz-nd-cream: #f6f6f4;
    background: #fff;
}
.cz-news-detail-2026 .cz-news-detail__banner {
    width: 100%;
    height: clamp(11.5rem, 20vw, 17.5rem);
    background: #232323;
    overflow: hidden;
}
.cz-news-detail-2026 .cz-news-detail__banner img {
    display: block; width: 100%; height: 100%; object-fit: cover;
}
.cz-news-detail-2026 .cz-news-detail__banner--empty {
    height: 7rem; /* Reserve room for overlay Header without changing Header styling. */
}
.cz-news-detail-2026 .cz-news-detail__main {
    padding: 0 0 clamp(3.5rem, 6vw, 6rem);
}
.cz-news-detail-2026 .cz-news-detail__breadcrumb {
    display: flex; align-items: center; flex-wrap: wrap;
    gap: .625rem; min-width: 0;
    border-bottom: 1px solid var(--cz-nd-border);
    padding: 1.35rem 0;
    margin: 0 0 clamp(2.25rem, 5vw, 4.5rem);
    font: 400 .8rem/1.7 var(--cz-font-sans, Arial, sans-serif);
    color: var(--cz-nd-secondary);
}
.cz-news-detail-2026 .cz-news-detail__breadcrumb a { color: #555; text-decoration: none; transition: color .2s; }
.cz-news-detail-2026 .cz-news-detail__breadcrumb a:hover { color: #111; }
.cz-news-detail-2026 .cz-news-detail__breadcrumb [aria-current] {
    min-width: 0; max-width: min(42ch, 100%); overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.cz-news-detail-2026 .cz-news-detail__article { max-width: 920px; margin: 0 auto; min-width: 0; }
.cz-news-detail-2026 .cz-news-detail__head {
    text-align: center; border-bottom: 1px solid var(--cz-nd-border);
    padding: 0 0 clamp(1.5rem, 3vw, 2.5rem);
    margin: 0 0 clamp(2rem, 4vw, 3.25rem);
}
.cz-news-detail-2026 .cz-news-detail__eyebrow {
    display: inline-block; margin: 0 0 1rem;
    color: #79746e; letter-spacing: .13em;
    font: 600 .72rem/1.5 var(--cz-font-sans, Arial, sans-serif);
    text-transform: uppercase;
}
.cz-news-detail-2026 .cz-news-detail__head h1 {
    font: 500 clamp(2.1rem, 3.55vw, 3.4rem)/1.18 var(--cz-font-serif, Georgia, serif);
    color: var(--cz-nd-ink); letter-spacing: -.023em; overflow-wrap: anywhere;
    margin: 0 auto 1.25rem; max-width: 21ch;
}
.cz-news-detail-2026 .cz-news-detail__meta {
    display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
    color: #999; font: 400 .78rem/1.6 var(--cz-font-sans, Arial, sans-serif);
}
.cz-news-detail-2026 .cz-news-detail__richtext {
    color: #444; font: 400 1rem/1.95 var(--cz-font-sans, Arial, sans-serif);
    overflow-wrap: anywhere;
}
.cz-news-detail-2026 .cz-news-detail__richtext :is(p, ul, ol, blockquote, figure, table, iframe, video) { margin-bottom: 1.5rem; }
.cz-news-detail-2026 .cz-news-detail__richtext h2 {
    font: 500 clamp(1.5rem, 2.1vw, 2rem)/1.35 var(--cz-font-serif, Georgia, serif);
    color: var(--cz-nd-ink); margin: 2.7rem 0 1rem; scroll-margin-top: 7rem;
}
.cz-news-detail-2026 .cz-news-detail__richtext h3 {
    font: 600 clamp(1.13rem, 1.65vw, 1.4rem)/1.45 var(--cz-font-sans, Arial, sans-serif);
    color: var(--cz-nd-ink); margin: 2rem 0 .85rem; scroll-margin-top: 7rem;
}
.cz-news-detail-2026 .cz-news-detail__richtext h4 {
    font-weight: 600; color: var(--cz-nd-ink); margin: 1.75rem 0 .75rem;
}
.cz-news-detail-2026 .cz-news-detail__richtext :is(img, video) { max-width: 100%; height: auto; }
.cz-news-detail-2026 .cz-news-detail__richtext img { display: inline-block; object-fit: contain; }
.cz-news-detail-2026 .cz-news-detail__richtext iframe { display: block; width: 100%; max-width: 100%; aspect-ratio: 16/9; height: auto; min-height: 220px; }
.cz-news-detail-2026 .cz-news-detail__richtext table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.cz-news-detail-2026 .cz-news-detail__richtext :is(th, td) { padding: .75rem 1rem; border: 1px solid var(--cz-nd-border); }
.cz-news-detail-2026 .cz-news-detail__richtext th { color: #111; background: var(--cz-nd-cream); font-weight: 600; }
.cz-news-detail-2026 .cz-news-detail__richtext :is(ul, ol) { padding-left: 1.5rem; }
.cz-news-detail-2026 .cz-news-detail__richtext ul li { list-style: disc; }
.cz-news-detail-2026 .cz-news-detail__richtext ol li { list-style: decimal; }
.cz-news-detail-2026 .cz-news-detail__richtext li { margin-bottom: .45rem; }
.cz-news-detail-2026 .cz-news-detail__richtext blockquote { border-left: 3px solid #333; background: #f7f7f6; padding: 1rem 1.5rem; }
.cz-news-detail-2026 .cz-news-detail__richtext a { color: #222; text-decoration: underline; text-underline-offset: 3px; }
.cz-news-detail-2026 .cz-news-detail__richtext a:hover { color: #777; }
/* Original H2/H3 TOC, now styled consistently with homepage. */
.cz-news-detail-2026 .cz-news-detail__toc {
    border: 1px solid var(--cz-nd-border);
    background: var(--cz-nd-cream);
    margin: 0 0 2.5rem;
    padding: clamp(1.25rem, 3vw, 2rem);
}
.cz-news-detail-2026 .cz-news-detail__toc-title {
    font: 500 1.45rem/1.4 var(--cz-font-serif, Georgia, serif);
    color: #111; margin: 0 0 1rem!important;
}
.cz-news-detail-2026 .cz-news-detail__toc :is(ul, ul ul) { padding-left: 1.25rem; margin: 0; }
.cz-news-detail-2026 .cz-news-detail__toc li { margin: .25rem 0; list-style: none; }
.cz-news-detail-2026 .cz-news-detail__toc a {
    font: 400 .875rem/1.8 var(--cz-font-sans, Arial, sans-serif);
    display: inline-block; padding: .2rem 0; color: #444; text-decoration: none;
}
.cz-news-detail-2026 .cz-news-detail__toc a:hover { color: #111; text-decoration: underline; }
.cz-news-detail-2026 .cz-news-detail__toc ul ul a { color: #777; font-size: .84rem; }
/* Previous / next retain original CMS $page_up_record and $page_down_record. */
.cz-news-detail-2026 .cz-news-detail__nav {
    border-top: 1px solid var(--cz-nd-border);
    border-bottom: 1px solid var(--cz-nd-border);
    margin-top: clamp(3rem, 5vw, 4.25rem); padding: 1.55rem 0;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem;
}
.cz-news-detail-2026 .cz-news-detail__nav-link { display: block; text-decoration: none; min-width: 0; }
.cz-news-detail-2026 .cz-news-detail__nav-link span {
    color: #888; display: block; font: 600 .7rem/1.5 var(--cz-font-sans, Arial, sans-serif);
    letter-spacing: .07em; margin-bottom: .55rem;
}
.cz-news-detail-2026 .cz-news-detail__nav-link strong {
    color: #222; font: 500 1.13rem/1.45 var(--cz-font-serif, Georgia, serif);
    display: block; overflow-wrap: anywhere;
}
.cz-news-detail-2026 .cz-news-detail__nav-link:hover strong { color: #858077; }
.cz-news-detail-2026 .cz-news-detail__nav-link--next { text-align: right; }
.cz-news-detail-2026 .cz-news-detail__back { text-align: center; margin-top: 2rem; }
.cz-news-detail-2026 .cz-news-detail__back a {
    display: inline-flex; align-items: center; min-height: 2.75rem; color: #333;
    border-bottom: 1px solid #333; font: 600 .75rem/1.5 var(--cz-font-sans, Arial, sans-serif);
    text-decoration: none; letter-spacing: .04em;
}
.cz-news-detail-2026 .cz-news-detail__back a:hover { color: #777; border-color: #777; }
@media(max-width:767.98px) {
    .cz-news-detail-2026 .cz-news-detail__banner { height: 12rem; }
    .cz-news-detail-2026 .cz-news-detail__banner--empty { height: 4.5rem; }
    .cz-news-detail-2026 .cz-news-detail__head h1 { max-width: none; }
    .cz-news-detail-2026 .cz-news-detail__breadcrumb { margin-bottom: 2rem; }
    .cz-news-detail-2026 .cz-news-detail__richtext { font-size: .925rem; line-height: 1.8; }
    .cz-news-detail-2026 .cz-news-detail__nav { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .cz-news-detail-2026 .cz-news-detail__nav-link--next { text-align: left; }
    .cz-news-detail-2026 .cz-news-detail__nav-placeholder { display: none; }
}
@media(prefers-reduced-motion: reduce) { .cz-news-detail-2026 * { scroll-behavior: auto; } }
