/* Тело материала на сайте (контракт §4.5, §5.3): всё под .blocks. Перенос из прототипа C+ (.art__body p/blockquote,
   .art__fig, .c-c), цвета — токены темы. Обёртку .blocks ставит страница (<div class="art__body blocks">). */
.blocks{font-size:18px;line-height:1.75;overflow-wrap:break-word}
.blocks>*:first-child{margin-top:0}
.blocks p{margin:0 0 1.2em}
.blocks a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.blocks a:hover{color:var(--brand,#5c6672)}
.blocks b{font-weight:700}
.blocks sup,.blocks sub{font-size:.7em;line-height:0}
.blocks h2,.blocks h3{margin:1.8em 0 .6em;font-weight:800;line-height:1.2;letter-spacing:-.01em;scroll-margin-top:90px}
.blocks h2{font-size:clamp(23px,2.4vw,30px)}
.blocks h3{font-size:clamp(19px,1.9vw,23px)}

/* фото */
.blocks .bl-img{margin:40px 0}
.blocks .bl-img img{width:100%;height:auto;max-height:85vh;object-fit:cover;border-radius:22px;background:var(--mist,#eef0f2)}
.blocks .bl-img figcaption{font-size:12px;line-height:1.5;color:var(--brand,#5c6672);margin-top:8px}
.blocks .bl-credit{opacity:.8;white-space:nowrap}
@media (min-width:1100px){.blocks .bl-img--wide{margin-left:-120px;margin-right:-120px}}
.blocks .bl-gal{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:40px 0}
.blocks .bl-gal .bl-img{margin:0}
.blocks .bl-gal .bl-img img{aspect-ratio:1/1;border-radius:18px}
.blocks .bl-gal .bl-img:first-child:nth-last-child(odd){grid-column:1/-1}
.blocks .bl-gal .bl-img:first-child:nth-last-child(odd) img{aspect-ratio:3/2}

/* цитата */
.blocks .bl-quote{margin:40px 0;border:0;background:var(--mist,#eef0f2);border-radius:22px;padding:26px 28px;font-weight:800;font-size:clamp(20px,2.2vw,26px);line-height:1.3}
.blocks .bl-quote p{margin:0}
.blocks .bl-quote p+p{margin-top:.6em}
.blocks .bl-quote .hand{display:block;margin-top:12px;font-family:var(--font-accent,"Caveat"),cursive;font-style:normal;font-weight:600;font-size:24px;color:var(--brand,#5c6672)}

/* списки и «Читайте також» */
.blocks .bl-list{margin:0 0 1.2em;padding-left:1.4em}
.blocks .bl-list li{margin:0 0 .45em;padding-left:.2em}
.blocks .bl-list li::marker{color:var(--brand,#5c6672);font-weight:700}
.blocks .bl-also{margin:28px 0;padding:4px 0 4px 18px;border-left:3px solid var(--brand,#5c6672);font-weight:600;font-size:16px;line-height:1.5}

/* видео и вставки: фасад до нажатия, потом iframe */
.blocks .bl-emb{margin:40px 0;display:grid;gap:8px}
.blocks .bl-emb__load,.blocks .bl-emb iframe{width:100%;border:0;border-radius:22px;display:block}
.blocks .bl-emb__load{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;cursor:pointer;
  background:var(--ink,#22262a);color:#fff;font:700 14px/1.3 var(--font-body,"Montserrat"),sans-serif;letter-spacing:.04em;padding:20px;text-align:center}
.blocks .bl-emb__load::before{content:"\25B6";display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;
  padding-left:5px;background:rgba(255,255,255,.14);box-shadow:inset 0 0 0 2px rgba(255,255,255,.75);font-size:22px;line-height:1}
.blocks .bl-emb__load:hover{background:var(--brand-dark,#3f4752)}
.blocks .bl-emb__load:focus-visible{outline:3px solid var(--brand,#5c6672);outline-offset:3px}
.blocks .bl-emb--16x9 .bl-emb__load,.blocks .bl-emb--16x9 iframe{aspect-ratio:16/9}
.blocks .bl-emb__load--yt{padding:0;overflow:hidden;background:#0f0f0f;isolation:isolate}
.blocks .bl-emb__load--yt::before{content:none}
.blocks .bl-emb__load--yt::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(0,0,0,.55) 0,rgba(0,0,0,0) 34%,rgba(0,0,0,0) 62%,rgba(0,0,0,.6) 100%)}
.blocks .bl-emb__poster{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;border-radius:0;margin:0}
.blocks .bl-emb__yt{width:68px;height:68px;filter:drop-shadow(0 2px 10px rgba(0,0,0,.35));transition:transform .15s ease}
.blocks .bl-emb__load--yt:hover{background:#0f0f0f}
.blocks .bl-emb__load--yt:hover .bl-emb__yt{transform:scale(1.08)}
.blocks .bl-emb__ttl{position:absolute;left:18px;right:18px;top:14px;text-align:left;font-size:15px;line-height:1.3;letter-spacing:0;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-shadow:0 1px 3px rgba(0,0,0,.5)}
.blocks .bl-emb__on{position:absolute;left:14px;bottom:14px;display:flex;align-items:center;gap:4px;padding:7px 12px;border-radius:999px;
  background:rgba(23,23,23,.82);font-size:13px;font-weight:600;letter-spacing:0}
.blocks .bl-emb__on b{font-weight:800}
.blocks .bl-emb--9x16{max-width:340px;margin-left:auto;margin-right:auto}
.blocks .bl-emb--9x16 .bl-emb__load,.blocks .bl-emb--9x16 iframe{aspect-ratio:9/16}
.blocks .bl-emb--1x1{max-width:460px}
.blocks .bl-emb--1x1 .bl-emb__load{aspect-ratio:1/1}
.blocks .bl-emb--1x1 iframe{height:352px}
.blocks .bl-emb--ig{max-width:500px;margin-left:auto;margin-right:auto}
.blocks .bl-emb--ig .bl-emb__load{aspect-ratio:4/5}
/* 20.11.2026: пост Instagram, который Instagram не встраивает (18+, встраивание выключено) — заставка из фото статьи,
   значок Instagram и «Відкрити в Instagram»; вся заставка — ссылка на пост */
.blocks .bl-emb__off{display:none}
.blocks .bl-emb.is-off .bl-emb__box,.blocks .bl-emb.is-off .bl-emb__load{display:none}
.blocks .bl-emb.is-off .bl-emb__off{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;
  aspect-ratio:4/5;overflow:hidden;isolation:isolate;border-radius:22px;background:var(--ink,#22262a);color:#fff;text-decoration:none}
.blocks .bl-emb--16x9.is-off .bl-emb__off{aspect-ratio:16/9}
.blocks .bl-emb__off-img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;max-width:none;object-fit:cover;margin:0;border-radius:0;
  transition:transform .4s ease}
.blocks .bl-emb.is-off .bl-emb__off::after{content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(180deg,rgba(0,0,0,.22) 0,rgba(0,0,0,0) 26%,rgba(0,0,0,0) 55%,rgba(0,0,0,.72) 100%)}
.blocks .bl-emb__off-ig{position:absolute;left:14px;top:14px;display:flex;align-items:center;justify-content:center;
  width:46px;height:46px;border-radius:50%;background:rgba(0,0,0,.42);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  box-shadow:0 0 0 1px rgba(255,255,255,.35) inset;transition:transform .2s ease}
.blocks .bl-emb__off-ig svg{width:24px;height:24px}
.blocks .bl-emb__off-txt{display:flex;flex-direction:column;align-items:center;gap:10px;padding:0 20px 22px;text-align:center}
.blocks .bl-emb__off-go{display:inline-flex;align-items:center;padding:12px 22px;border-radius:999px;background:#fff;color:var(--ink,#22262a);
  font:700 14px/1.2 var(--font-body,"Montserrat"),sans-serif}
.blocks .bl-emb__off-why{font:500 12px/1.4 var(--font-body,"Montserrat"),sans-serif;color:rgba(255,255,255,.88);text-shadow:0 1px 6px rgba(0,0,0,.5)}
.blocks .bl-emb__off:hover .bl-emb__off-img{transform:scale(1.03)}
.blocks .bl-emb__off:hover .bl-emb__off-ig{transform:scale(1.06)}
.blocks .bl-emb__off:focus-visible{outline:3px solid var(--brand,#5c6672);outline-offset:3px}
.blocks .bl-emb.is-off figcaption a{display:none}
@media (prefers-reduced-motion:reduce){.blocks .bl-emb__off-img,.blocks .bl-emb__off-ig{transition:none}}
.blocks .bl-emb--ig iframe{height:640px}
.blocks .bl-emb--auto{max-width:560px}
.blocks .bl-emb--auto .bl-emb__load{min-height:260px}
.blocks .bl-emb--auto iframe{height:520px}
.blocks .bl-emb figcaption{font-size:12px;line-height:1.5;color:var(--brand,#5c6672)}
.blocks .bl-emb figcaption a{font-weight:600}
/* 20.11.2026: пост X — карточка как в X: автор, текст, фото/видео, заметная кнопка «Відкрити в X» */
.blocks .bl-x{border:1px solid var(--line,#dcdfe2);border-radius:22px;padding:18px 18px 16px;background:var(--paper,#fff);display:grid;gap:14px}
.blocks .bl-x__head{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none;min-width:0}
.blocks .bl-x__ava{width:40px;height:40px;border-radius:50%;flex:none;margin:0;object-fit:cover;background:#e7e9ea}
.blocks .bl-x__ava--none{display:flex;align-items:center;justify-content:center;background:#000;color:#fff}
.blocks .bl-x__ava--none svg{width:18px;height:18px}
.blocks .bl-x__who{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.blocks .bl-x__name{font-weight:700;color:var(--ink,#0f1419);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.blocks .bl-x__at{font-size:14px;color:#536471}
.blocks .bl-x__logo{margin-left:auto;flex:none;color:#000}
.blocks .bl-x__logo svg{width:22px;height:22px;display:block}
.blocks .bl-x__text{margin:0;font-size:17px;line-height:1.5;color:var(--ink,#0f1419);overflow-wrap:anywhere}
.blocks .bl-x__media .bl-clip{border-radius:16px}
.blocks .bl-x__media--9x16{max-width:380px;width:100%;justify-self:center}
.blocks .bl-x__media.is-novid .bl-emb__snd{display:none}
.blocks .bl-x__photos{display:grid;gap:4px;border-radius:16px;overflow:hidden}
.blocks .bl-x__photos--2,.blocks .bl-x__photos--4{grid-template-columns:1fr 1fr}
.blocks .bl-x__photos--3{grid-template-columns:1fr 1fr}
.blocks .bl-x__photos--3 img:first-child{grid-row:span 2}
.blocks .bl-x__photos img{display:block;width:100%;height:100%;max-height:560px;object-fit:cover;margin:0;border-radius:0}
.blocks .bl-x__go{justify-self:start;display:inline-flex;align-items:center;gap:10px;padding:11px 20px;border-radius:999px;background:#000;
  color:#fff;font-weight:600;font-size:15px;text-decoration:none}
.blocks .bl-x__go svg{width:16px;height:16px}
.blocks .bl-x__go:hover,.blocks .bl-x__go:focus-visible{background:#272c30;color:#fff}
.blocks .bl-emb--link figcaption{border:1px solid var(--line,#dcdfe2);border-radius:18px;padding:14px 18px;font-size:14px;color:var(--ink,#22262a)}
.blocks .bl-emb__cap{color:var(--brand,#5c6672)}
/* 20.11: плеер у экрана играет без звука — кнопка «Увімкнути звук» поверх, над панелью плеера */
.blocks .bl-emb__box{position:relative;min-width:0}
.blocks .bl-emb__snd{position:absolute;left:14px;bottom:58px;display:flex;align-items:center;gap:8px;padding:9px 14px;border:0;border-radius:999px;
  background:rgba(23,23,23,.86);color:#fff;font:700 13px/1.2 var(--font-body,"Montserrat"),sans-serif;cursor:pointer;box-shadow:0 2px 12px rgba(0,0,0,.3)}
.blocks .bl-emb__snd:hover{background:#000}
.blocks .bl-emb__snd:focus-visible{outline:3px solid #fff;outline-offset:2px}
/* своё видео (блок clip, 20.11.2026): файл с сайта, играет сам без звука; вертикальное — узкой колонкой, как рилс */
.blocks .bl-clip{display:block;width:100%;height:auto;border-radius:22px;background:#000}
.blocks .bl-emb--clip-9x16{max-width:380px;margin-left:auto;margin-right:auto}
.blocks .bl-emb--clip .bl-emb__snd{bottom:64px}

@media (max-width:760px){
  .blocks{font-size:17px}
  .blocks .bl-img,.blocks .bl-emb,.blocks .bl-gal,.blocks .bl-quote{margin:28px 0}
  .blocks .bl-img img,.blocks .bl-emb__load,.blocks .bl-emb iframe,.blocks .bl-clip,.blocks .bl-quote{border-radius:16px}
  .blocks .bl-quote{padding:20px 20px}
  .blocks .bl-gal{gap:8px}
}
@media (prefers-reduced-motion:reduce){.blocks *{transition:none!important;animation:none!important}}
