/* News-only presentation layer. Loaded only when an_news.nws_mode = 0. */
#lenta.cnng-news-mode0 .news-publication-meta { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:16px; color:var(--gray); font-size:.9em; line-height:1.5; }
@media(max-width:800px) { #lenta.cnng-news-mode0 .news-publication-meta { justify-content:center; } }

#lenta.cnng-news-mode0 .box-nws .img-nws .other-img { margin-right:5px; }
#lenta.cnng-news-mode0 .box-nws .img-nws .other-img:last-child { margin-right:0; }
#lenta.cnng-news-mode0 .area-nws .box-nws .txt p.gallery-note { color:#a0a0a0; font-size:13px; line-height:1.45; margin:12px 0 20px; }

#lenta.cnng-news-mode0 .img-nws .news-gallery-interactive { position:relative; touch-action:pan-y pinch-zoom; }
#lenta.cnng-news-mode0 .img-nws .news-gallery-arrow { position:absolute; top:50%; transform:translateY(-50%); width:48px; height:64px; padding:0; margin:0; border:0; border-radius:0; background:transparent; color:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center; z-index:2; box-shadow:none; }
#lenta.cnng-news-mode0 .img-nws .news-gallery-arrow::before { content:''; display:block; width:17px; height:17px; border-top:3px solid currentColor; border-right:3px solid currentColor; filter:drop-shadow(0 1px 2px rgba(0,0,0,.55)); }
#lenta.cnng-news-mode0 .img-nws .news-gallery-arrow.is-prev { left:6px; }
#lenta.cnng-news-mode0 .img-nws .news-gallery-arrow.is-next { right:6px; }
#lenta.cnng-news-mode0 .img-nws .news-gallery-arrow.is-prev::before { transform:rotate(-135deg); }
#lenta.cnng-news-mode0 .img-nws .news-gallery-arrow.is-next::before { transform:rotate(45deg); }
#lenta.cnng-news-mode0 .img-nws .news-gallery-arrow:focus-visible { outline:2px solid #fff; outline-offset:-5px; }
#lenta.cnng-news-mode0 .news-gallery-status { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }

#lenta.cnng-news-mode0 .area-nws .box-nws .txt p.news-source-note { color:#a0a0a0; }

#lenta.cnng-news-mode0 .area-nws.with-news-contents { position:relative; --contents-width:280px; --contents-gap:32px; }
#lenta.cnng-news-mode0 .area-nws.with-news-contents .box-nws { width:calc(100% - var(--contents-width) - var(--contents-gap)); margin-right:0; min-width:0; }
#lenta.cnng-news-mode0 .news-gallery-row { display:block; }
#lenta.cnng-news-mode0 .news-gallery-media { min-width:0; }
#lenta.cnng-news-mode0 .news-contents { padding:0; background:none; }
#lenta.cnng-news-mode0 .news-contents-title { margin:0 0 20px; font-size:1.4em; font-weight:500; line-height:1.25; }
#lenta.cnng-news-mode0 .news-contents ol { margin:0; padding:0; list-style:none; }
#lenta.cnng-news-mode0 .news-contents li { display:grid; grid-template-columns:2ch minmax(0,1fr); column-gap:14px; align-items:baseline; margin:0 0 10px; padding:0; line-height:1.5; }
#lenta.cnng-news-mode0 .news-contents-number { color:#909090; font-variant-numeric:tabular-nums; }
#lenta.cnng-news-mode0 .news-contents li:last-child { margin-bottom:0; }
#lenta.cnng-news-mode0 .news-contents a { color:var(--blue); text-decoration:none; overflow-wrap:anywhere; }
#lenta.cnng-news-mode0 .news-contents a:hover { color:#165b88; text-decoration:none; }
#lenta.cnng-news-mode0 .news-contents a:focus-visible { outline:2px solid var(--blue); outline-offset:4px; border-radius:2px; }
#lenta.cnng-news-mode0 .has-news-contents h2[id] { scroll-margin-top:24px; }
#lenta.cnng-news-mode0 .has-news-contents h2[id]:focus-visible { outline:2px solid var(--blue); outline-offset:5px; }
@media(min-width:1001px) {
  #lenta.cnng-news-mode0 .area-nws.with-news-contents { --contents-width:364px; }
  #lenta.cnng-news-mode0 .news-right-column { position:absolute; top:0; right:0; width:var(--contents-width); }
  #lenta.cnng-news-mode0 .with-news-contents .news-right-column .news-contents { position:static; width:100%; }
}
@media(max-width:1000px) {
  #lenta.cnng-news-mode0 .area-nws.with-news-contents .box-nws { width:100%; }
  #lenta.cnng-news-mode0 .news-gallery-row { margin-bottom:24px; }
}

#lenta.cnng-news-mode0 .area-nws .box-nws .txt.border { background:none; border:0; padding:0; }
#lenta.cnng-news-mode0 .area-nws .box-nws > .txt.border { margin-bottom:0; }
#lenta.cnng-news-mode0 .area-nws .box-nws .txt p.news-intro { position:relative; margin:0 0 24px; padding-left:22px; font-size:1.08em; line-height:1.55; white-space:pre-line; }
#lenta.cnng-news-mode0 .news-intro::before { content:''; position:absolute; top:0; bottom:0; left:0; width:5px; border-radius:3px; background:var(--deepblue); }
@media(max-width:540px) {
  #lenta.cnng-news-mode0 .area-nws .box-nws .txt p.news-intro { padding-left:16px; font-size:1.04em; }
  #lenta.cnng-news-mode0 .news-intro::before { width:4px; }
}

#lenta.cnng-news-mode0 .area-nws .box-nws .txt h2 { line-height:1.3; margin:36px 0 24px; }

#lenta.cnng-news-mode0 .news-max-card { container-type:inline-size; margin:28px 0 0; padding:24px; border-radius:5px; background:linear-gradient(120deg,#eef8ff 0%,#dcefff 100%); color:#18212d; overflow:hidden; }
#lenta.cnng-news-mode0 .news-max-brand { display:flex; align-items:center; gap:16px; font-size:16px; font-weight:600; line-height:1.2; }
#lenta.cnng-news-mode0 .news-max-badge { display:inline-flex; align-items:center; justify-content:center; padding:7px 12px; border-radius:9px; background:linear-gradient(110deg,#008dff 5%,#4b4bff 60%,#9525ff); color:#fff; font-size:22px; font-weight:700; letter-spacing:.2px; }
#lenta.cnng-news-mode0 .news-max-brand > span:last-child { border-left:1px solid #8daac7; padding-left:16px; }
#lenta.cnng-news-mode0 .news-max-body { position:relative; padding:24px 0; min-height:180px; }
#lenta.cnng-news-mode0 .news-max-card h3 { position:relative; z-index:1; width:70%; margin:0; padding:0; color:#18212d; font-size:28px; font-weight:600; line-height:1.15; }
#lenta.cnng-news-mode0 .news-max-card .news-max-subtitle { position:relative; z-index:1; width:62%; margin:20px 0 0; padding:0; font-size:16px; line-height:1.45; color:#4d5c6b; }
#lenta.cnng-news-mode0 .news-max-card .news-max-art { position:absolute; right:0; bottom:6px; width:38%; height:auto; max-width:none; pointer-events:none; }
#lenta.cnng-news-mode0 .news-max-actions { display:grid; grid-template-columns:1.25fr .9fr .9fr 1.6fr; gap:10px; }
#lenta.cnng-news-mode0 .news-max-benefit { display:flex; align-items:center; justify-content:center; gap:9px; padding:10px; min-width:0; min-height:52px; border-radius:10px; background:#fff; font-size:15px; font-weight:500; line-height:1.15; }
#lenta.cnng-news-mode0 .news-max-benefit svg { flex:none; width:26px; height:26px; color:#0786f5; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
#lenta.cnng-news-mode0 .news-max-card a.news-max-cta { display:flex; align-items:center; justify-content:center; gap:10px; min-height:52px; padding:10px 12px; margin:0; border:2px solid var(--deepblue); border-radius:10px; background:var(--deepblue); color:#fff; font-size:16px; font-weight:600; line-height:1.2; text-decoration:none; white-space:nowrap; }
#lenta.cnng-news-mode0 .news-max-card a.news-max-cta:hover { border-color:var(--blue); background:var(--blue); color:#fff; text-decoration:none; }
#lenta.cnng-news-mode0 .news-max-card a.news-max-cta:focus-visible { outline:3px solid #5344d7; outline-offset:3px; }
#lenta.cnng-news-mode0 .news-max-cta svg { width:24px; height:24px; flex:none; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
@container (min-width:651px) {
  #lenta.cnng-news-mode0 .news-max-body { min-height:156px; padding-bottom:16px; }
  #lenta.cnng-news-mode0 .news-max-card .news-max-subtitle { margin-top:28px; }
}
@container (max-width:650px) {
  #lenta.cnng-news-mode0 .news-max-actions { grid-template-columns:1.25fr 1fr 1fr; gap:8px; }
  #lenta.cnng-news-mode0 .news-max-card a.news-max-cta { grid-column:1/-1; margin-top:4px; }
}
@media(max-width:600px) { #lenta.cnng-news-mode0 .news-max-card { padding:16px 12px; border-radius:5px; } }
@container (max-width:420px) {
  #lenta.cnng-news-mode0 .news-max-brand { gap:10px; font-size:13px; }
  #lenta.cnng-news-mode0 .news-max-badge { padding:6px 9px; font-size:18px; border-radius:7px; }
  #lenta.cnng-news-mode0 .news-max-brand > span:last-child { padding-left:10px; }
  #lenta.cnng-news-mode0 .news-max-body { padding:22px 0; min-height:0; }
  #lenta.cnng-news-mode0 .news-max-card h3 { width:100%; font-size:23px; max-width:320px; }
  #lenta.cnng-news-mode0 .news-max-card .news-max-subtitle { width:58%; margin-top:20px; font-size:14px; line-height:1.4; }
  #lenta.cnng-news-mode0 .news-max-card .news-max-art { width:40%; height:96px; object-fit:cover; object-position:right bottom; right:0; bottom:22px; }
  #lenta.cnng-news-mode0 .news-max-benefit { padding:8px 5px; gap:5px; min-height:48px; font-size:12px; border-radius:8px; }
  #lenta.cnng-news-mode0 .news-max-benefit svg { width:20px; height:20px; }
  #lenta.cnng-news-mode0 .news-max-card a.news-max-cta { min-height:48px; font-size:16px; border-radius:8px; }
}
@container (max-width:260px) {
  #lenta.cnng-news-mode0 .news-max-brand { font-size:12px; gap:8px; }
  #lenta.cnng-news-mode0 .news-max-card h3 { font-size:21px; }
  #lenta.cnng-news-mode0 .news-max-benefit { flex-direction:column; gap:6px; text-align:center; }
}
