

/* Start:/local/components/yousteel/news.list/templates/.default/style.css?179257026213914*/
/* =========================================================
   YOUSTEEL — Блог (yousteel:news.list). Базовые стили используются и детальной страницей.
   ---------------------------------------------------------
   YOUSTEEL — Блог. Палитра: #111010 (фон) и #ffffff (текст/границы).
   Все классы с префиксом ysb-, чтобы не конфликтовать с шаблоном сайта.
   ========================================================= */
.ysb{--ysb-bg:#111010;--ysb-fg:#ffffff;--ysb-fg-60:rgba(255,255,255,.6);--ysb-fg-40:rgba(255,255,255,.4);--ysb-fg-15:rgba(255,255,255,.15);--ysb-fg-08:rgba(255,255,255,.08);--ysb-head:Montserrat,system-ui,sans-serif;--ysb-body:Montserrat,system-ui,sans-serif;--ysb-radius:20px;--ysb-pill:999px;--ysb-gap:clamp(16px,2.4vw,28px);--ysb-ease:cubic-bezier(.22,.61,.36,1);
  background:var(--ysb-bg);color:var(--ysb-fg);font-family:var(--ysb-body);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
.ysb *,.ysb *::before,.ysb *::after{box-sizing:border-box}
.ysb a,.ysb a:hover{color:inherit;text-decoration:none}
.ysb img{display:block;max-width:100%}
.ysb button,.ysb input{font:inherit;color:inherit}
.ysb button{cursor:pointer;background:none;border:0;padding:0}
.ysb h1,.ysb h2,.ysb h3,.ysb p{color:inherit}
.ysb :focus-visible{outline:2px solid var(--ysb-fg);outline-offset:3px}
.ysb ::selection{background:var(--ysb-fg);color:var(--ysb-bg)}
.ysb-container{width:100%;max-width:1320px;margin:0 auto;padding:0 clamp(16px,4vw,40px)}

/* Buttons */
.ysb-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:52px;padding:0 32px;border-radius:var(--ysb-pill);font-weight:700;font-size:14px;letter-spacing:.06em;text-transform:uppercase;transition:background .3s var(--ysb-ease), color .3s var(--ysb-ease), opacity .3s var(--ysb-ease)}
.ysb .ysb-btn--ghost{border:1px solid var(--ysb-fg);color:var(--ysb-fg)}
.ysb .ysb-btn--ghost:hover{background:var(--ysb-fg);color:var(--ysb-bg)}
.ysb .ysb-btn--dark{background:var(--ysb-bg);color:var(--ysb-fg);border:1px solid var(--ysb-bg)}
.ysb .ysb-btn--dark:hover{background:transparent;color:var(--ysb-bg)}
.ysb-btn.is-loading{opacity:.5;pointer-events:none}

/* Hero */
.ysb-hero{padding:clamp(32px,6vw,72px) 0 0}
.ysb-hero__row{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;flex-wrap:wrap}
.ysb .ysb-hero__title{margin:0;font-family:var(--ysb-head);font-weight:800;font-size:clamp(42px,8.5vw,120px);line-height:.95;text-transform:uppercase;letter-spacing:-.02em}
.ysb-outline{color:transparent;-webkit-text-stroke:1.5px var(--ysb-fg)}
.ysb .ysb-hero__text{max-width:400px;margin:0;color:var(--ysb-fg-60);font-size:17px}
.ysb-marquee{margin-top:clamp(36px,5vw,64px);border-top:1px solid var(--ysb-fg-15);border-bottom:1px solid var(--ysb-fg-15);overflow:hidden;padding:16px 0}
.ysb-marquee__track{display:flex;width:max-content;animation:ysb-marquee 40s linear infinite}
.ysb-marquee__track span{font-family:var(--ysb-head);font-size:15px;font-weight:500;text-transform:uppercase;letter-spacing:.08em;padding:0 28px;white-space:nowrap;display:flex;align-items:center;gap:56px}
.ysb-marquee__track span::after{content:"✦";color:var(--ysb-fg-40);font-size:12px}
@keyframes ysb-marquee{to{transform:translateX(-50%)}}

/* Media */
.ysb-media{position:relative;overflow:hidden;background:var(--ysb-fg-08)}
.ysb-media img{width:100%;height:100%;object-fit:cover;filter:grayscale(100%) contrast(1.05);transition:transform .3s var(--ysb-ease), filter .3s var(--ysb-ease)}
.ysb-media--ph{background:repeating-linear-gradient(135deg,var(--ysb-fg-08) 0 2px,transparent 2px 18px),var(--ysb-bg)}
.ysb-media__label{position:absolute;inset:0;display:grid;place-items:center;padding:16px;text-align:center;font-family:var(--ysb-head);font-weight:800;font-size:clamp(26px,3.6vw,48px);color:transparent;-webkit-text-stroke:1px var(--ysb-fg-40);text-transform:uppercase;letter-spacing:.04em;line-height:1.1;transition:transform .3s var(--ysb-ease)}

/* Tags */
.ysb-tags{display:flex;flex-wrap:wrap;gap:8px}
.ysb .ysb-tag{display:inline-flex;align-items:center;height:30px;padding:0 14px;border:1px solid var(--ysb-fg-40);border-radius:var(--ysb-pill);font-size:12px;font-weight:600;letter-spacing:.03em;white-space:nowrap;color:var(--ysb-fg);transition:background .3s var(--ysb-ease), color .3s var(--ysb-ease), border-color .3s var(--ysb-ease);position:relative;z-index:2}
.ysb .ysb-tag:hover,.ysb .ysb-tag.is-active{background:var(--ysb-fg);color:var(--ysb-bg);border-color:var(--ysb-fg)}

/* Featured */
.ysb-featured{display:grid;grid-template-columns:1.25fr 1fr;margin-top:clamp(32px,5vw,56px);border:1px solid var(--ysb-fg-15);border-radius:var(--ysb-radius);overflow:hidden;position:relative;transition:border-color .3s var(--ysb-ease)}
.ysb-featured:hover{border-color:var(--ysb-fg)}
.ysb-featured .ysb-media{min-height:420px}
.ysb-featured:hover .ysb-media img{transform:scale(1.04);filter:grayscale(0%)}
.ysb-featured__body{display:flex;flex-direction:column;gap:20px;padding:clamp(24px,4vw,48px)}
.ysb-featured__badge{align-self:flex-start;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;background:var(--ysb-fg);color:var(--ysb-bg);padding:6px 12px;border-radius:var(--ysb-pill)}
.ysb .ysb-featured__title{margin:0;font-family:var(--ysb-head);font-weight:700;font-size:clamp(24px,3vw,40px);line-height:1.15}
.ysb .ysb-featured__excerpt{margin:0;color:var(--ysb-fg-60);font-size:17px}
.ysb-featured__footer{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}

/* Arrow */
.ysb-arrow{flex:none;width:52px;height:52px;border:1px solid var(--ysb-fg);border-radius:50%;display:grid;place-items:center;transition:background .3s var(--ysb-ease), color .3s var(--ysb-ease)}
.ysb-arrow svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;transition:transform .3s var(--ysb-ease)}
.ysb-featured:hover .ysb-arrow,.ysb-card:hover .ysb-arrow{background:var(--ysb-fg);color:var(--ysb-bg)}
.ysb-featured:hover .ysb-arrow svg,.ysb-card:hover .ysb-arrow svg{transform:rotate(-45deg)}
.ysb-stretched::after{content:"";position:absolute;inset:0;z-index:1}

/* Meta */
.ysb-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;font-size:13px;color:var(--ysb-fg-40)}
.ysb-meta span{display:inline-flex;align-items:center;gap:6px}
.ysb-meta svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:1.8}

/* Toolbar */
.ysb-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:clamp(40px,6vw,72px);padding-bottom:24px;border-bottom:1px solid var(--ysb-fg-15);scroll-margin-top:100px}
.ysb-tags-filter{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;max-width:100%}
.ysb-tags-filter::-webkit-scrollbar{display:none}
.ysb .ysb-tags-filter .ysb-tag{height:40px;padding:0 18px;font-size:13px}
.ysb-tag__count{margin-left:8px;opacity:.5;font-weight:500}
.ysb-toolbar__right{display:flex;gap:12px;align-items:center}
.ysb-search{display:flex;align-items:center;gap:10px;height:44px;padding:0 18px;margin:0;border:1px solid var(--ysb-fg-40);border-radius:var(--ysb-pill);min-width:240px;transition:border-color .3s var(--ysb-ease)}
.ysb-search:focus-within{border-color:var(--ysb-fg)}
.ysb-search svg{width:18px;height:18px;stroke:var(--ysb-fg-60);fill:none;stroke-width:1.8;flex:none}
.ysb .ysb-search input[type="search"]{border:0;outline:0;background:transparent;box-shadow:none;width:100%;height:auto;padding:0;font-size:14px;color:var(--ysb-fg)}
.ysb-search input::placeholder{color:var(--ysb-fg-40)}
.ysb-search input::-webkit-search-cancel-button{filter:invert(1)}
.ysb-view{display:flex;border:1px solid var(--ysb-fg-40);border-radius:var(--ysb-pill);padding:3px}
.ysb .ysb-view__btn{width:38px;height:36px;border-radius:var(--ysb-pill);display:grid;place-items:center;color:var(--ysb-fg-60);transition:background .3s var(--ysb-ease), color .3s var(--ysb-ease)}
.ysb-view__btn svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8}
.ysb .ysb-view__btn.is-active{background:var(--ysb-fg);color:var(--ysb-bg)}

/* Layout */
.ysb-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:clamp(28px,4vw,56px);padding-top:24px;padding-bottom:clamp(60px,8vw,120px)}
.ysb .ysb-results{margin:0 0 20px;font-size:13px;color:var(--ysb-fg-40)}

/* Cards */
.ysb-posts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--ysb-gap)}
.ysb-card{position:relative;display:flex;flex-direction:column;border:1px solid var(--ysb-fg-15);border-radius:var(--ysb-radius);overflow:hidden;transition:border-color .3s var(--ysb-ease), transform .3s var(--ysb-ease);animation:ysb-card-in .6s var(--ysb-ease) both}
.ysb-card:hover{border-color:var(--ysb-fg);transform:translateY(-4px)}
.ysb-card .ysb-media{aspect-ratio:16/10}
.ysb-card:hover .ysb-media img{transform:scale(1.06);filter:grayscale(0%)}
.ysb-card:hover .ysb-media__label{transform:scale(1.06)}
.ysb-card__body{display:flex;flex-direction:column;gap:14px;padding:24px;flex:1}
.ysb .ysb-card__title{margin:0;font-family:var(--ysb-head);font-weight:500;font-size:19px;line-height:1.3}
.ysb .ysb-card__excerpt{margin:0;color:var(--ysb-fg-60);font-size:15px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.ysb-card__footer{margin-top:auto;padding-top:8px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.ysb-card .ysb-arrow{width:44px;height:44px}
@keyframes ysb-card-in{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
.ysb-posts.is-list{grid-template-columns:1fr}
.ysb-posts.is-list .ysb-card{flex-direction:row}
.ysb-posts.is-list .ysb-card .ysb-media{width:38%;flex:none;aspect-ratio:auto;min-height:220px}

/* Empty / more */
.ysb-empty{text-align:center;padding:64px 24px;border:1px dashed var(--ysb-fg-40);border-radius:var(--ysb-radius);color:var(--ysb-fg-60)}
.ysb .ysb-empty__title{font-family:var(--ysb-head);font-size:22px;color:var(--ysb-fg);margin:0 0 8px}
.ysb-empty .ysb-btn{margin-top:16px}
.ysb-more{display:flex;justify-content:center;margin-top:40px}

/* Sidebar */
.ysb-sidebar{display:flex;flex-direction:column;gap:20px;position:sticky;top:100px;align-self:start}
.ysb-widget{border:1px solid var(--ysb-fg-15);border-radius:var(--ysb-radius);padding:28px}
.ysb .ysb-widget__title{margin:0 0 20px;font-family:var(--ysb-head);font-size:16px;font-weight:700;line-height:1.3;text-transform:uppercase;letter-spacing:.04em}
.ysb-popular{list-style:none;margin:0;padding:0;counter-reset:ysb-pop;display:flex;flex-direction:column}
.ysb-popular li{counter-increment:ysb-pop;display:flex;gap:16px;padding:14px 0;border-top:1px solid var(--ysb-fg-15)}
.ysb-popular li:first-child{border-top:0;padding-top:0}
.ysb-popular li::before{content:"0" counter(ysb-pop);font-family:var(--ysb-head);font-weight:800;font-size:22px;line-height:1;color:transparent;-webkit-text-stroke:1px var(--ysb-fg);flex:none}
.ysb .ysb-popular a{font-size:14px;font-weight:600;line-height:1.4}
.ysb .ysb-popular a:hover{text-decoration:underline;text-underline-offset:3px}
.ysb-popular small{display:block;margin-top:4px;color:var(--ysb-fg-40);font-size:12px}
.ysb .ysb-widget--invert{background:var(--ysb-fg);color:var(--ysb-bg);border-color:var(--ysb-fg)}
.ysb .ysb-widget--invert p{margin:0 0 18px;font-size:14px;opacity:.7}
.ysb-subscribe{display:flex;flex-direction:column;gap:10px;margin:0}
.ysb .ysb-subscribe input{height:50px;padding:0 20px;border:1px solid var(--ysb-bg);border-radius:var(--ysb-pill);background:transparent;color:var(--ysb-bg);outline:0;box-shadow:none}
.ysb-subscribe input::placeholder{color:var(--ysb-bg);opacity:.5}
.ysb-subscribe input.is-error{border-width:2px}
.ysb .ysb-subscribe__msg{margin:0;min-height:20px;font-size:13px;font-weight:600;opacity:1}

/* To top */
.ysb .ysb-to-top{position:fixed;right:24px;bottom:24px;z-index:40;width:52px;height:52px;border-radius:50%;background:var(--ysb-fg);color:var(--ysb-bg);display:grid;place-items:center;opacity:0;visibility:hidden;transform:translateY(16px);transition:opacity .3s var(--ysb-ease), transform .3s var(--ysb-ease), visibility .3s var(--ysb-ease)}
.ysb .ysb-to-top.is-visible{opacity:1;visibility:visible;transform:none}
.ysb-to-top svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2}

/* Адаптив */
@media (max-width:1024px){
  .ysb-layout{grid-template-columns:1fr}
  .ysb-sidebar{position:static;display:grid;grid-template-columns:repeat(2,1fr)}
  .ysb-sidebar .ysb-widget--invert{grid-column:1/-1}
  .ysb-featured{grid-template-columns:1fr}
  .ysb-featured .ysb-media{min-height:0;aspect-ratio:16/9}
}
@media (max-width:900px){
  .ysb-toolbar{flex-direction:column;align-items:stretch}
  .ysb-toolbar__right{width:100%}
  .ysb-search{flex:1;min-width:0}
}
@media (max-width:680px){
  .ysb-posts{grid-template-columns:1fr}
  .ysb-posts.is-list .ysb-card{flex-direction:column}
  .ysb-posts.is-list .ysb-card .ysb-media{width:100%;min-height:0;aspect-ratio:16/10}
  .ysb-view{display:none}
  .ysb-sidebar{grid-template-columns:1fr}
  .ysb-card__body{padding:20px}
  .ysb .ysb-hero__text{font-size:15px}
  .ysb .ysb-to-top{right:16px;bottom:80px;width:46px;height:46px}
}
@media (prefers-reduced-motion:reduce){
  .ysb *,.ysb *::before,.ysb *::after{animation:none!important;transition:none!important}
}
.footer::before {
	top:0;
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    right: 0;
    background: #252525;
}
	section::after {
		display:none !important;
	}

/* Шрифт сайта — только внутри блога, шапку и подвал не трогаем */
.ysb,.ysb *{font-family:Montserrat,sans-serif!important}

/* End */


/* Start:/local/components/yousteel/news.detail/templates/.default/style.css?179257026213949*/
/* =========================================================
   YOUSTEEL — Блог: детальная новость (yousteel:news.detail).
   Базовые переменные, теги, карточки и кнопки — в style.css шаблона yousteel:news.list,
   он подключается компонентом автоматически.
   ========================================================= */

.ysb--detail { padding-bottom: clamp(60px, 8vw, 120px); }

/* ---------- Head: слева мессенджеры, справа заголовок и анонс ---------- */
.ysb-article__head {
  max-width: 1320px;
  padding-top: clamp(32px, 6vw, 72px);
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.ysb-article__intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.ysb .ysb-back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ysb-fg-60);
  transition: color .3s var(--ysb-ease);
}
.ysb .ysb-back:hover { color: var(--ysb-fg); }
.ysb-back svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; transition: transform .3s var(--ysb-ease); }
.ysb-back:hover svg { transform: translateX(-4px); }

.ysb .ysb-article__title {
  margin: 0;
  font-family: var(--ysb-head);
  font-weight: 800;
  font-size: clamp(30px, 5.2vw, 68px);
  line-height: 1.05;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.ysb .ysb-article__lead {
  margin: 0;
  max-width: 760px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ysb-fg-60);
}
.ysb-article__head .ysb-meta { font-size: 14px; }

/* ---------- Cover ---------- */
.ysb-article__cover {
  margin: clamp(32px, 5vw, 56px) 0 0;
  border: 1px solid var(--ysb-fg-15);
  border-radius: var(--ysb-radius);
  overflow: hidden;
  background: var(--ysb-fg-08);
}
.ysb-article__cover img { width: 100%; max-height: 720px; object-fit: cover; }

/* ---------- Body ---------- */
.ysb-article__layout {
  display: grid;
  grid-template-columns: 120px minmax(0, 760px);
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(40px, 6vw, 72px);
}

.ysb-article__layout .ysb-content { grid-column: 2; }

.ysb-share {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-top: 6px;
}
.ysb-share__label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ysb-fg-40); margin-bottom: 4px; }
.ysb .ysb-share__btn {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid var(--ysb-fg-40);
  border-radius: 50%;
  font-size: 13px; font-weight: 700;
  color: var(--ysb-fg);
  transition: background .3s var(--ysb-ease), color .3s var(--ysb-ease), border-color .3s var(--ysb-ease);
}
.ysb .ysb-share__btn:hover,
.ysb .ysb-share__btn.is-done { background: var(--ysb-fg); color: var(--ysb-bg); border-color: var(--ysb-fg); }
.ysb-share__btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* ---------- Оглавление по h2/h3 ---------- */
.ysb-toc[hidden] { display: none; }
.ysb-toc {
  max-width: 760px;
  padding: 20px 24px;
  border: 1px solid var(--ysb-fg-15);
  border-radius: var(--ysb-radius);
}
.ysb-toc__title {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ysb-fg-40);
}
.ysb .ysb-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: ysb-toc;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ysb-toc__item { counter-increment: ysb-toc; }
.ysb-toc__item--h3 { counter-increment: none; padding-left: 36px; }
.ysb .ysb-toc__link {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ysb-fg-60);
  transition: color .3s var(--ysb-ease);
}
.ysb-toc__item--h2 > .ysb-toc__link::before {
  content: counter(ysb-toc, decimal-leading-zero);
  flex: none;
  width: 24px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ysb-fg-40);
  transition: color .3s var(--ysb-ease);
}
.ysb-toc__item--h3 > .ysb-toc__link { font-size: 14px; font-weight: 500; }
.ysb .ysb-toc__link:hover,
.ysb .ysb-toc__link.is-active { color: var(--ysb-fg); }
.ysb-toc__link:hover::before,
.ysb-toc__link.is-active::before { color: var(--ysb-fg); }

/* заголовки в тексте не прячутся под липкой шапкой сайта при переходе по якорю */
.ysb-content h2[id], .ysb-content h3[id] { scroll-margin-top: 110px; }

/* ---------- Typography (DETAIL_TEXT из визуального редактора) ---------- */
.ysb-content { font-size: 18px; line-height: 1.75; color: rgba(255, 255, 255, .85); overflow-wrap: break-word; }
.ysb-content > *:first-child { margin-top: 0; }
.ysb-content > *:last-child { margin-bottom: 0; }
.ysb .ysb-content p { margin: 0 0 1.2em; color: inherit; }
.ysb .ysb-content h2,
.ysb .ysb-content h3,
.ysb .ysb-content h4 {
  margin: 1.8em 0 .6em;
  font-family: var(--ysb-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ysb-fg);
}
.ysb .ysb-content h2 { font-size: clamp(24px, 2.6vw, 32px); text-transform: uppercase; letter-spacing: -.01em; }
.ysb .ysb-content h3 { font-size: clamp(20px, 2vw, 24px); }
.ysb .ysb-content h4 { font-size: 19px; }
.ysb .ysb-content a { color: var(--ysb-fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ysb .ysb-content a:hover { text-decoration-thickness: 2px; }
.ysb .ysb-content strong, .ysb .ysb-content b { color: var(--ysb-fg); font-weight: 700; }
.ysb .ysb-content ul, .ysb .ysb-content ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.ysb .ysb-content li { margin: .4em 0; }
.ysb .ysb-content ul li::marker { color: var(--ysb-fg-40); }
.ysb .ysb-content blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--ysb-fg);
  font-size: 1.15em;
  font-weight: 600;
  color: var(--ysb-fg);
}
.ysb .ysb-content img {
  height: auto;
  margin: 1.6em auto;
  border-radius: 14px;
}
.ysb .ysb-content figure { margin: 1.6em 0; }
.ysb .ysb-content figcaption { margin-top: 8px; font-size: 14px; color: var(--ysb-fg-40); text-align: center; }
.ysb .ysb-content iframe,
.ysb .ysb-content video { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 14px; margin: 1.6em 0; }
.ysb .ysb-content hr { border: 0; border-top: 1px solid var(--ysb-fg-15); margin: 2.4em 0; }
.ysb .ysb-content table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 15px; display: block; overflow-x: auto; }
.ysb .ysb-content th,
.ysb .ysb-content td { padding: 12px 14px; border: 1px solid var(--ysb-fg-15); text-align: left; }
.ysb .ysb-content th { color: var(--ysb-fg); font-weight: 700; background: var(--ysb-fg-08); }

/* ---------- Товары из статьи ---------- */
.ysb-products { margin-top: clamp(56px, 7vw, 96px); }

.ysb-products__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.ysb .ysb-products__title {
  margin: 0;
  font-family: var(--ysb-head);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.ysb-products__count {
  font-size: .38em;
  font-weight: 600;
  vertical-align: super;
  margin-left: 6px;
  color: var(--ysb-fg-40);
  letter-spacing: 0;
}

.ysb-products__nav { display: flex; gap: 10px; flex: none; }
.ysb-products__nav[hidden] { display: none; }
.ysb .ysb-products__btn {
  width: 52px; height: 52px;
  border: 1px solid var(--ysb-fg);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ysb-fg);
  transition: background .3s var(--ysb-ease), color .3s var(--ysb-ease), opacity .3s var(--ysb-ease);
}
.ysb .ysb-products__btn:hover:not(:disabled) { background: var(--ysb-fg); color: var(--ysb-bg); }
.ysb .ysb-products__btn:disabled { opacity: .25; cursor: default; }
.ysb-products__btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; }

.ysb-products__track {
  --ysb-cols: 4;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--ysb-cols) - 1) * var(--ysb-gap)) / var(--ysb-cols));
  gap: var(--ysb-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.ysb-products__track::-webkit-scrollbar { display: none; }

/* карточка */
.ysb-product {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--ysb-fg-15);
  border-radius: var(--ysb-radius);
  overflow: hidden;
  background: var(--ysb-bg);
  transition: border-color .3s var(--ysb-ease), transform .3s var(--ysb-ease);
}
.ysb-product:hover { border-color: var(--ysb-fg); transform: translateY(-4px); }

/* фото товара: белая подложка, чтобы товарные фото на белом фоне смотрелись чисто */
.ysb .ysb-product__photo {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  overflow: hidden;
}
.ysb .ysb-product__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8%;
  transition: transform .3s var(--ysb-ease);
}
.ysb-product:hover .ysb-product__img { transform: scale(1.04); }
.ysb-product__noimg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--ysb-head);
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: .04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(17, 16, 16, .25);
}

.ysb-product__badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: var(--ysb-pill);
  background: var(--ysb-bg);
  color: var(--ysb-fg);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  pointer-events: none;
}
.ysb-product__badge--order { background: #ffffff; color: var(--ysb-bg); border: 1px solid var(--ysb-bg); }

.ysb-product__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  flex: 1;
}
.ysb .ysb-product__name {
  margin: 0;
  font-family: var(--ysb-head);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}
.ysb .ysb-product__name a:hover { text-decoration: underline; text-underline-offset: 3px; }

.ysb-product__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ysb-product__price {
  font-family: var(--ysb-head);
  font-size: 19px;
  font-weight: 700;
  white-space: nowrap;
}
.ysb-product__price--none { font-size: 13px; font-weight: 600; color: var(--ysb-fg-60); white-space: normal; }

.ysb .ysb-product__more {
  flex: none;
  width: 44px; height: 44px;
  border: 1px solid var(--ysb-fg);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ysb-fg);
  transition: background .3s var(--ysb-ease), color .3s var(--ysb-ease);
}
.ysb-product__more svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; transition: transform .3s var(--ysb-ease); }
.ysb .ysb-product:hover .ysb-product__more { background: var(--ysb-fg); color: var(--ysb-bg); }
.ysb-product:hover .ysb-product__more svg { transform: rotate(-45deg); }

/* ---------- Foot ---------- */
.ysb-article__foot {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 32px;
  border-top: 1px solid var(--ysb-fg-15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---------- Related ---------- */
.ysb-related { margin-top: clamp(64px, 8vw, 112px); }
.ysb .ysb-related__title {
  margin: 0 0 clamp(24px, 3vw, 40px);
  font-family: var(--ysb-head);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
  text-transform: uppercase;
}
.ysb-posts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .ysb-products__track { --ysb-cols: 3; }
}

@media (max-width: 1024px) {
  .ysb-posts--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ysb-posts--3 .ysb-card:nth-child(3) { display: none; }
}

@media (max-width: 900px) {
  .ysb-article__layout,
  .ysb-article__head { grid-template-columns: minmax(0, 1fr); }
  .ysb-article__layout .ysb-content { grid-column: 1; }
  .ysb-share {
    flex-direction: row;
    align-items: center;
    order: 2;
    padding-top: 20px;
    border-top: 1px solid var(--ysb-fg-15);
  }
  .ysb-toc { padding: 16px 18px; }
  .ysb-share__label { margin: 0 8px 0 0; }
  .ysb-content { font-size: 17px; }
  .ysb-products__track { --ysb-cols: 2.3; }
}

@media (max-width: 680px) {
  .ysb-posts--3 { grid-template-columns: 1fr; }
  .ysb-posts--3 .ysb-card:nth-child(3) { display: flex; }
  .ysb-article__cover { border-radius: 14px; }

  /* на телефоне карусель листается пальцем, стрелки не нужны; соседняя карточка «выглядывает» */
  .ysb-products__nav { display: none !important; }
  .ysb-products__track {
    --ysb-cols: 1.35;
    margin: 0 calc(-1 * clamp(16px, 4vw, 40px));
    padding: 0 clamp(16px, 4vw, 40px) 4px;
    scroll-padding: 0 clamp(16px, 4vw, 40px);
  }
  .ysb-product__body { padding: 16px; }
  .ysb-product__price { font-size: 17px; }
}
.ysb-related::after, .ysb-products::after {
	display:none !important;
}
.ysb-article__foot {
	max-width: 1320px;
}

/* End */
/* /local/components/yousteel/news.list/templates/.default/style.css?179257026213914 */
/* /local/components/yousteel/news.detail/templates/.default/style.css?179257026213949 */
