/* CAIZUN News List V19 — complete rewrite.
   This file styles ONLY page content. Header/footer/modal continue to use
   home_2026.css, widget_home_footer2026.css and widget_home_modal2026.css.
   Bootstrap 5's standard .container and 12-column grid are not overridden. */
body.cz-news-2026 {
    --cz-news-ink: var(--cz-ink, #111111);
    --cz-news-muted: #77736d;
    --cz-news-line: #e7e6e3;
    --cz-news-soft: #f6f5f3;
    color: var(--cz-news-ink);
    background: #fff;
}
body.cz-news-2026 .cz-news-banner { width:100%; max-height:24rem; overflow:hidden; background:#171717; }
body.cz-news-2026 .cz-news-banner img { display:block; width:100%; max-height:24rem; height:auto; object-fit:cover; object-position:center; }
body.cz-news-2026 .cz-news-main { padding: 1.75rem 0 clamp(4rem,6vw,6rem); }
/* Only when CMS has no banner, reserve space beneath the shared overlay header.
   Never modify or override the header itself. */
body.cz-news-2026.cz-news-no-banner .cz-news-main { padding-top:clamp(7.75rem,11vw,10.5rem); }
body.cz-news-2026 .cz-news-breadcrumb { display:flex; flex-wrap:wrap; align-items:center; gap:.65rem; margin:0 0 2.25rem; color:#898680; font-size:.8rem; line-height:1.5; }
body.cz-news-2026 .cz-news-breadcrumb a { color:#77736d; text-decoration:none; }
body.cz-news-2026 .cz-news-breadcrumb a:hover { color:#111; }
body.cz-news-2026 .cz-news-breadcrumb span[aria-hidden] { font-size:1.1rem; color:#b0ada8; }
body.cz-news-2026 .cz-news-layout { min-width:0; }
/* Left sidebar: same elegant white/line-based vocabulary as Products V15.1. */
body.cz-news-2026 .cz-news-sidebar__box { border:1px solid var(--cz-news-line); background:#fff; }
body.cz-news-2026 .cz-news-sidebar__head { position:relative; border-bottom:1px solid var(--cz-news-line); padding:1.45rem 1.3rem 1.25rem; }
body.cz-news-2026 .cz-news-sidebar__kicker,
body.cz-news-2026 .cz-news-content__eyebrow { display:block; margin-bottom:.6rem; color:#8c877f; font:600 .625rem/1.5 var(--cz-font-sans,Arial,sans-serif); letter-spacing:.14em; }
body.cz-news-2026 .cz-news-sidebar__head h2 { margin:0; font:500 clamp(1.4rem,2vw,1.65rem)/1.25 var(--cz-font-serif,Georgia,serif); letter-spacing:-.02em; }
body.cz-news-2026 .cz-news-sidebar__toggle { display:none; }
body.cz-news-2026 .cz-news-sidebar__nav { padding:.3rem 0; }
body.cz-news-2026 .cz-news-sidebar__list,
body.cz-news-2026 .cz-news-sidebar__sublist { padding:0; margin:0; list-style:none; }
body.cz-news-2026 .cz-news-sidebar__item { position:relative; margin:0; padding:0; border-bottom:1px solid #f0efed; }
body.cz-news-2026 .cz-news-sidebar__item:last-child { border-bottom:0; }
body.cz-news-2026 .cz-news-sidebar__item > a { position:relative; display:flex; align-items:center; justify-content:space-between; gap:.75rem; min-height:3.45rem; padding:.85rem 1.25rem; color:#444; text-decoration:none; font:500 .84rem/1.5 var(--cz-font-sans,Arial,sans-serif); transition:background .2s,color .2s; }
body.cz-news-2026 .cz-news-sidebar__item > a::before { content:""; position:absolute; left:0; inset-block:0; width:2px; background:#111; transform:scaleY(0); transition:transform .2s; }
body.cz-news-2026 .cz-news-sidebar__item.is-current > a,
body.cz-news-2026 .cz-news-sidebar__item > a:hover,
body.cz-news-2026 .cz-news-sidebar__item > a:focus-visible { background:var(--cz-news-soft); color:#111; }
body.cz-news-2026 .cz-news-sidebar__item.is-current > a { font-weight:600; }
body.cz-news-2026 .cz-news-sidebar__item.is-current > a::before,
body.cz-news-2026 .cz-news-sidebar__item > a:hover::before { transform:scaleY(1); }
body.cz-news-2026 .cz-news-sidebar__arrow { flex:none; opacity:0; transition:opacity .2s; }
body.cz-news-2026 .cz-news-sidebar__item.is-current .cz-news-sidebar__arrow,
body.cz-news-2026 .cz-news-sidebar__item > a:hover .cz-news-sidebar__arrow { opacity:1; }
body.cz-news-2026 .cz-news-sidebar__sublist { margin:0 1.25rem .8rem 1.45rem; padding-left:.9rem; border-left:1px solid var(--cz-news-line); }
body.cz-news-2026 .cz-news-sidebar__sublist li a { display:block; padding:.48rem .3rem; color:#77736d; font:400 .78rem/1.5 var(--cz-font-sans,Arial,sans-serif); text-decoration:none; }
body.cz-news-2026 .cz-news-sidebar__sublist li.is-current a,
body.cz-news-2026 .cz-news-sidebar__sublist li a:hover { color:#111; font-weight:600; }
/* Articles are deliberately text-only: no thumbnail containers or image rules. */
body.cz-news-2026 .cz-news-content { min-width:0; }
body.cz-news-2026 .cz-news-content__head { display:flex; align-items:end; justify-content:space-between; gap:1rem; flex-wrap:wrap; padding:0 0 1.4rem; border-bottom:1px solid var(--cz-news-line); }
body.cz-news-2026 .cz-news-content__head h1 { margin:0; font:500 clamp(2rem,3.1vw,2.9rem)/1.15 var(--cz-font-serif,Georgia,serif); letter-spacing:-.03em; }
body.cz-news-2026 .cz-news-content__count { padding-bottom:.25rem; white-space:nowrap; color:#94908a; font-size:.72rem; }
body.cz-news-2026 .cz-news-article { padding:1.7rem 0 1.85rem; border-bottom:1px solid var(--cz-news-line); }
body.cz-news-2026 .cz-news-article__meta { margin-bottom:.75rem; color:#99948e; font:.73rem/1.5 var(--cz-font-sans,Arial,sans-serif); letter-spacing:.035em; }
body.cz-news-2026 .cz-news-article__title { margin:0 0 .8rem; font:500 clamp(1.25rem,1.55vw,1.55rem)/1.36 var(--cz-font-serif,Georgia,serif); letter-spacing:-.015em; }
body.cz-news-2026 .cz-news-article__title a { color:#171717; text-decoration:none; }
body.cz-news-2026 .cz-news-article__title a:hover { color:#666057; }
body.cz-news-2026 .cz-news-article__excerpt { margin:0 0 1rem; max-width:65ch; color:#77736d; font-size:.84rem; line-height:1.8; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
body.cz-news-2026 .cz-news-article__readmore { display:inline-flex; gap:.55rem; align-items:center; padding-bottom:.2rem; border-bottom:1px solid #111; color:#111; text-decoration:none; text-transform:uppercase; font-size:.675rem; font-weight:600; letter-spacing:.05em; }
body.cz-news-2026 .cz-news-article__readmore:hover { color:#77736d; border-color:#77736d; }
body.cz-news-2026 .cz-news-empty { padding:3rem 0; color:var(--cz-news-muted); }
/* Original backend pagination: retain $PageList markup and URLs. */
body.cz-news-2026 .cz-news-pagination { margin:2.15rem 0 0; }
body.cz-news-2026 .cz-news-pagination .page-nav { display:flex; flex-wrap:wrap; justify-content:flex-start; gap:.45rem; margin:0; padding:0; text-align:left; font-size:.8rem; }
body.cz-news-2026 .cz-news-pagination .page-nav > a,
body.cz-news-2026 .cz-news-pagination .page-nav > span { display:inline-flex; align-items:center; justify-content:center; min-width:2.5rem; min-height:2.5rem; width:auto; margin:0; padding:.55rem .85rem; border:1px solid var(--cz-news-line); border-radius:0; background:#fff; color:#555; font:500 .78rem/1.35 var(--cz-font-sans,Arial,sans-serif); text-decoration:none; }
body.cz-news-2026 .cz-news-pagination .page-nav > a:hover,
body.cz-news-2026 .cz-news-pagination .page-nav > .current { border-color:#171717; background:#171717; color:#fff; }
@media(max-width:991.98px) {
    body.cz-news-2026 .cz-news-breadcrumb { margin-bottom:1.5rem; }
    body.cz-news-2026 .cz-news-sidebar__head { display:flex; align-items:center; justify-content:space-between; gap:.75rem; padding:1rem 1.2rem; }
    body.cz-news-2026 .cz-news-sidebar__kicker { display:none; }
    body.cz-news-2026 .cz-news-sidebar__toggle { display:inline-flex; align-items:center; justify-content:center; width:2.25rem; height:2.25rem; flex:none; border:1px solid var(--cz-news-line); background:#fff; color:#111; cursor:pointer; }
    body.cz-news-2026 .cz-news-sidebar__toggle span { font-size:1.1rem; line-height:1; transition:transform .2s; }
    body.cz-news-2026 .cz-news-sidebar.is-open .cz-news-sidebar__toggle span { transform:rotate(180deg); }
    body.cz-news-2026 .cz-news-sidebar.is-mobile-ready:not(.is-open) .cz-news-sidebar__nav { display:none; }
}
@media(max-width:575.98px) {
    body.cz-news-2026 .cz-news-banner { max-height:15rem; }
    body.cz-news-2026 .cz-news-banner img { min-height:10rem; max-height:15rem; object-fit:cover; }
    body.cz-news-2026 .cz-news-main { padding-bottom:3.5rem; }
    body.cz-news-2026 .cz-news-breadcrumb { font-size:.75rem; }
    body.cz-news-2026 .cz-news-article { padding:1.4rem 0; }
    body.cz-news-2026 .cz-news-article__title { font-size:1.29rem; }
}
@media(prefers-reduced-motion:reduce) {
    body.cz-news-2026 .cz-news-sidebar__item > a,
    body.cz-news-2026 .cz-news-sidebar__item > a::before { transition:none; }
}
