/* Rich news blocks (2026-11-15, first use: CNC / Cesare Ragazzi news). Loaded by blog_inner.twig only when the text has nr- blocks. */
.blog-article .nr-lead { font-size:19px; line-height:1.55; color:#000; text-align:left; margin:6px 0 30px; padding-left:20px; border-left:2px solid #000; }
.blog-article .nr-lead a { text-decoration:underline; text-underline-offset:3px; }
.blog-article .content-holder h2 { font-family:KelsonSansRU, sans-serif; font-weight:700; text-transform:uppercase; font-size:22px; line-height:1.15; letter-spacing:.01em; margin:52px 0 18px; }
.blog-article .nr-fig { margin:30px 0; }
.blog-article .nr-fig img { display:block; width:100%; height:auto; }
.blog-article .nr-fig figcaption, .blog-article .nr-ba figcaption, .blog-article .nr-pairs__cap { font-size:13px; line-height:1.5; color:#777; margin-top:10px; text-align:left; }

/* figures */
.blog-article .nr-facts { list-style:none; margin:30px 0 8px; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:2px; background:#e4e2e1; border:2px solid #e4e2e1; }
.blog-article .nr-facts li { background:#fff; padding:20px 18px 22px; margin:0; text-align:left; }
.blog-article .nr-facts li::before { display:none; }
.blog-article .nr-facts b { display:block; font-family:KelsonSansRU, sans-serif; font-weight:700; font-size:34px; line-height:1; color:#000; margin-bottom:10px; white-space:nowrap; }
.blog-article .nr-facts span { display:block; font-size:14px; line-height:1.45; color:#555; }

/* before / after slider */
.blog-article .nr-ba { margin:24px 0 10px; }
.nr-ba__stage { position:relative; overflow:hidden; background:#ddd; user-select:none; -webkit-user-select:none; touch-action:pan-y; cursor:ew-resize; aspect-ratio:1000/1100; }
.nr-ba__stage img { display:block; width:100%; height:100%; object-fit:cover; pointer-events:none; }
.nr-ba__a { position:absolute; inset:0; }
.nr-ba__b { position:absolute; inset:0; clip-path:inset(0 calc(100% - var(--p)) 0 0); }
.nr-ba__line { position:absolute; top:0; bottom:0; left:var(--p); width:2px; margin-left:-1px; background:#fff; pointer-events:none; }
.nr-ba__line i { position:absolute; top:50%; left:50%; width:46px; height:46px; margin:-23px 0 0 -23px; border-radius:50%; background:#fff; box-shadow:0 4px 18px rgba(0,0,0,.25); }
.nr-ba__line i::before, .nr-ba__line i::after { content:""; position:absolute; top:50%; width:0; height:0; margin-top:-6px; border:6px solid transparent; }
.nr-ba__line i::before { left:7px; border-right-color:#000; }
.nr-ba__line i::after { right:7px; border-left-color:#000; }
.nr-ba__t { position:absolute; top:14px; padding:6px 10px; background:rgba(0,0,0,.72); color:#fff; font-family:KelsonSansRU, sans-serif; font-weight:700; font-size:12px; letter-spacing:.14em; text-transform:uppercase; pointer-events:none; }
.nr-ba__t--b { left:14px; }
.nr-ba__t--a { right:14px; }
.nr-ba__range { position:absolute; left:0; right:0; bottom:0; width:100%; height:1px; margin:0; opacity:0; pointer-events:none; }
.nr-ba__stage:focus-within .nr-ba__line i { outline:2px solid #000; outline-offset:3px; }
.nr-ba__hint { color:#000; font-weight:700; }

/* lists */
.blog-article .nr-list { list-style:none; margin:0 0 20px; padding:0; }
.blog-article .nr-list li { position:relative; padding:12px 0 12px 34px; border-top:1px solid #e1dfde; margin:0; text-align:left; }
.blog-article .nr-list li:last-child { border-bottom:1px solid #e1dfde; }
.blog-article .nr-list li::before { content:""; position:absolute; left:4px; top:23px; width:16px; height:2px; background:#000; }
.blog-article .nr-steps { list-style:none; margin:10px 0 0; padding:0; counter-reset:nr; }
.blog-article .nr-steps li { counter-increment:nr; display:grid; grid-template-columns:52px 1fr; gap:4px 14px; padding:20px 0; border-top:1px solid #e1dfde; margin:0; text-align:left; }
.blog-article .nr-steps li:last-child { border-bottom:1px solid #e1dfde; }
.blog-article .nr-steps li::before { content:counter(nr, decimal-leading-zero); grid-row:1 / span 2; font-family:KelsonSansRU, sans-serif; font-weight:700; font-size:26px; line-height:1; color:#bdb9b8; position:static; width:auto; height:auto; background:none; }
.blog-article .nr-steps b { font-family:KelsonSansRU, sans-serif; font-weight:700; font-size:18px; text-transform:uppercase; letter-spacing:.02em; }
.blog-article .nr-steps span { font-size:15px; line-height:1.6; color:#444; }

/* more pairs: one pair per view, swipe or arrows */
.nr-pairs { position:relative; margin:18px 0 6px; }
.nr-pairs__track { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; gap:12px; }
.nr-pairs__track::-webkit-scrollbar { display:none; }
.blog-article .nr-pair { flex:0 0 100%; scroll-snap-align:start; margin:0; }
.nr-pair__ph { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.nr-pair__ph div { position:relative; aspect-ratio:3/4; background:#ddd; overflow:hidden; }
.nr-pair__ph img { display:block; width:100%; height:100%; object-fit:cover; }
.nr-pair__ph span { position:absolute; left:10px; bottom:10px; padding:5px 9px; background:rgba(0,0,0,.72); color:#fff; font-family:KelsonSansRU, sans-serif; font-weight:700; font-size:11px; letter-spacing:.14em; text-transform:uppercase; }
.nr-pairs__nav { display:flex; align-items:center; gap:14px; margin-top:12px; }
.nr-pairs__nav button { width:44px; height:44px; border:1px solid #000; background:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; padding:0; transition:background .25s, color .25s; color:#000; }
.nr-pairs__nav button:hover:not(:disabled) { background:#000; color:#fff; }
.nr-pairs__nav button:disabled { opacity:.3; cursor:default; }
.nr-pairs__nav svg { width:18px; height:12px; stroke:currentColor; fill:none; stroke-width:1.6; }
.nr-pairs__nav .nr-pairs__prev svg { transform:scaleX(-1); }
.nr-pairs__count { font-family:KelsonSansRU, sans-serif; font-weight:700; font-size:14px; letter-spacing:.1em; }
.nr-pairs__count i { font-style:normal; color:#999; }
.nr-pairs__nav + .nr-pairs__cap, .nr-pairs .nr-pairs__cap { margin-top:10px; }

/* quote and request */
.blog-article .nr-quote { margin:46px 0; padding:0; border:0; }
.blog-article .nr-quote p { font-family:KelsonSansRU, sans-serif; font-weight:700; text-transform:uppercase; font-size:24px; line-height:1.2; color:#000; text-align:left; margin:0; }
.blog-article .nr-quote p::before { content:""; display:block; width:56px; height:2px; background:#000; margin-bottom:20px; }
.blog-article .nr-cta { background:#111; color:#fff; padding:34px 26px 36px; margin:40px 0 50px; }
.blog-article .nr-cta h3 { font-family:KelsonSansRU, sans-serif; font-weight:700; text-transform:uppercase; font-size:28px; line-height:1.1; color:#fff; margin:0 0 14px; }
.blog-article .nr-cta p { color:rgba(255,255,255,.78); text-align:left; margin:0 0 24px; }
.nr-cta__row { display:flex; flex-wrap:wrap; align-items:center; gap:14px 28px; }
.blog-article .nr-cta__btn.btn { background:#fff; color:#111; height:50px; min-width:0; padding:0 28px; transition:background .3s, color .3s; }
.blog-article .nr-cta__btn.btn:hover { background:#49141d; color:#fff; }
.blog-article .nr-cta__link { color:#fff; font-weight:700; text-decoration:none; border-bottom:1px solid rgba(255,255,255,.4); padding-bottom:3px; }
.blog-article .nr-cta__link:hover { border-bottom-color:#fff; }
@media (max-width:767px) {
  .blog-article .nr-cta__btn.btn { width:100%; }
  .blog-article .nr-fig--wide, .blog-article .nr-ba { margin-left:-20px; margin-right:-20px; }
  .blog-article .nr-fig--wide figcaption, .blog-article .nr-ba figcaption { padding:0 20px; }
}
@media (min-width:768px) {
  .blog-article .nr-lead { font-size:21px; }
  .blog-article .content-holder h2 { font-size:26px; }
  .blog-article .nr-facts { grid-template-columns:repeat(4, 1fr); }
  .blog-article .nr-facts b { font-size:30px; }
  .blog-article .nr-quote p { font-size:30px; }
  .blog-article .nr-cta { padding:46px 44px 48px; }
  .blog-article .nr-cta h3 { font-size:34px; }
}
@media (min-width:1200px) {
  .blog-article .nr-facts b { font-size:34px; }
}

/* film: poster with a play button; the click puts the video in its place (news-rich.js), without JS the link opens the mp4 */
.blog-article .nr-film { margin:34px 0; }
.nr-film__a, .nr-film video { position:relative; display:block; width:100%; aspect-ratio:16/9; background:#111; overflow:hidden; }
.nr-film__a img { display:block; width:100%; height:100%; object-fit:cover; transition:transform 1.2s cubic-bezier(.2,.7,.2,1); }
.nr-film__a::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55)); }
.nr-film__a:hover img { transform:scale(1.03); }
.nr-film__play { position:absolute; z-index:1; top:50%; left:50%; width:84px; height:84px; margin:-42px 0 0 -42px; border-radius:50%; background:rgba(255,255,255,.92); box-shadow:0 0 0 14px rgba(255,255,255,.18); transition:box-shadow .4s, transform .4s; }
.nr-film__play::before { content:""; position:absolute; top:50%; left:50%; margin:-11px 0 0 -6px; border-style:solid; border-width:11px 0 11px 18px; border-color:transparent transparent transparent #111; }
.nr-film__a:hover .nr-film__play { box-shadow:0 0 0 22px rgba(255,255,255,.14); transform:scale(1.04); }
.nr-film__label { position:absolute; z-index:1; left:20px; bottom:16px; color:#fff; font-family:KelsonSansRU, sans-serif; font-weight:700; font-size:13px; letter-spacing:.14em; text-transform:uppercase; }
.nr-film__label i { font-style:normal; opacity:.7; margin-left:8px; letter-spacing:.06em; }
.blog-article .nr-film figcaption { font-size:13px; line-height:1.5; color:#777; margin-top:10px; text-align:left; }
.nr-film video { height:auto; object-fit:contain; }
@media (max-width:767px) {
  .blog-article .nr-film { margin-left:-20px; margin-right:-20px; }
  .blog-article .nr-film figcaption { padding:0 20px; }
  .nr-film__play { width:64px; height:64px; margin:-32px 0 0 -32px; box-shadow:0 0 0 10px rgba(255,255,255,.18); }
}
