/* Novovyatka: UI-kit modules and the existing case gallery. */
.single-zg3_portfolio:has(.nov-case) .zg3-art-h1 { margin-bottom:24px; text-wrap:balance; }
.single-zg3_portfolio:has(.nov-case) .zg3-art-cover__img { object-position:center 55%; }
.nov-case { --nov-line:rgba(34,34,34,.12); }
.nov-case section { margin-top:48px; }
.zg3-prose .nov-case section > .art-h2 { margin:0 0 24px !important; }
.zg3-prose .nov-case :is(.concept-bento__title,.finale-bento__title) { margin:16px 0 24px !important; }
.nov-case .nov-nav { display:flex; flex-wrap:wrap; gap:10px 24px; margin:0 0 28px; }
.zg3-prose .nov-case .nov-nav a { font-size:14px; line-height:1.5; text-underline-offset:5px; }
.nov-case .bento-date-card { min-height:180px; }
.nov-case .bento-date-card:first-child { background:var(--zg3-primary); }
.nov-case .bento-date-card:first-child :is(svg,strong,span) { color:var(--zg3-white); }
.nov-case .bento-date-card__value { font-size:clamp(25px,3vw,40px); line-height:1.08; }
.nov-case .bento-date-card__sub { margin-top:10px; }
.nov-case .nov-program-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:28px 0; }
.nov-case .nov-program-grid .production-card { padding:28px; }
.zg3-prose .nov-case .production-card__sub { color:var(--zg3-black); opacity:.78; }
.nov-case .nov-eyebrow { display:block; margin-bottom:14px; font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; color:var(--zg3-primary); }
.nov-case .nov-concept { padding:clamp(24px,4vw,48px); }
.zg3-prose .nov-case .concept-bento__title { margin:16px 0 24px; color:var(--zg3-white); font-size:clamp(30px,5vw,56px); line-height:1.05; text-wrap:balance; }
.zg3-prose .nov-case .concept-bento__desc { margin:0; color:rgba(255,255,255,.8); font-size:clamp(16px,2vw,20px); line-height:1.65; }
.nov-case .nov-concept .concept-keywords { margin-top:28px; }
.nov-case .nov-timeline { list-style:none; margin-left:6px; padding-left:28px; }
.zg3-prose .nov-case .timeline-item::before { content:none; }
.nov-case .timeline-content__tag { font-variant-numeric:tabular-nums; }
.zg3-prose .nov-case .timeline-content__title { margin:8px 0; font-size:22px; line-height:1.2; }
.zg3-prose .nov-case .timeline-content__desc { margin:0; color:var(--zg3-black); opacity:.75; font-size:15px; line-height:1.65; }
.nov-case .nov-timeline .timeline-item:last-child { padding-bottom:0; }
.nov-case .nov-prep-grid { margin-top:28px; }
.nov-case .wc-gallery__slide { scroll-snap-stop:normal; }
.zg3-prose .nov-case .wc-gallery__zoom img { aspect-ratio:var(--wc-photo-ratio); height:auto; object-fit:contain; }
.zg3-prose .nov-case .finale-bento__title { margin:16px 0 24px; color:var(--zg3-white); font-size:clamp(28px,4vw,44px); line-height:1.1; }
.zg3-prose .nov-case .finale-bento__quote { margin:0; color:rgba(255,255,255,.8); font-size:16px; line-height:1.75; }
.zg3-prose .nov-case .art-cta__title { margin:10px 0 0; color:var(--zg3-white); }
.zg3-prose .nov-case .art-cta__desc { margin:14px 0 0; }
.zg3-prose .nov-case .art-cta__btn { text-decoration:none; color:var(--zg3-black); }
.nov-case :is(h2,h3) { scroll-margin-top:100px; }
@media(max-width:760px) {
 .nov-case section { margin-top:36px; }
 .nov-case .nov-nav { gap:10px 20px; }
 .nov-case .bento-date-card { min-height:164px; padding:20px; }
 .nov-case .bento-date-card__value { font-size:30px; }
 .nov-case .nov-program-grid { grid-template-columns:1fr; }
 .nov-case .nov-program-grid .production-card { padding:24px; }
 .zg3-prose .nov-case .timeline-content__title { font-size:20px; }
 .nov-case .wc-gallery figcaption { padding-inline:0; }
 .nov-case .art-cta__btn { white-space:normal; }
}
@media(prefers-reduced-motion:reduce) { .nov-case .wc-gallery__track { scroll-behavior:auto; } }
@media(max-width:360px) {
 .nov-case .bento-date-card { padding:16px; }
 .nov-case .bento-date-card__value { font-size:24px; }
}
