/* Статья раздела «Культура Кореи» (keytokorean.ru/st/) — вёрстка как на Дзене: колонка 680px,
   текст 17/28, абзацы через 20px, подзаголовки 28/32 с отступом 42px сверху, картинки со скруглением 20px.
   Размеры сняты с dzen.ru (getComputedStyle), 2026-11-21. Шапка — общая со статьями блога (blog-header.css). */
body{margin:0;background:#fff;color:rgba(6,6,15,.87);font-family:-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased}
.dz{max-width:680px;margin:0 auto;padding:40px 20px 8px;box-sizing:content-box}
.dz h1{font-size:36px;line-height:40px;font-weight:700;margin:0 0 20px}
.dz-meta{font-size:15px;line-height:20px;color:rgba(6,6,15,.5);margin:0 0 24px}
.dz p{font-size:17px;line-height:28px;margin:6px 0 20px}
.dz h2{font-size:28px;line-height:32px;font-weight:700;margin:42px 0 8px}
.dz h3{font-size:22px;line-height:28px;font-weight:700;margin:32px 0 8px}
.dz b{font-weight:700}
.dz a{color:#006be7;text-decoration:none}
.dz a:hover{text-decoration:underline}
.dz ul,.dz ol{font-size:17px;line-height:28px;margin:6px 0 20px;padding:0}
.dz li{margin:0 0 16px}
.dz blockquote{font-size:17px;line-height:28px;margin:20px 0;padding:0 0 0 20px;border-left:3px solid rgba(6,6,15,.2)}
.dz figure{margin:20px auto}
.dz figure img{display:block;width:100%;height:auto;border-radius:20px;outline:1px solid rgba(6,6,15,.06);outline-offset:-1px}
.dz figcaption{font-size:14px;line-height:20px;color:rgba(6,6,15,.5);text-align:center;margin-top:8px}
.dz > :last-child{margin-bottom:0}
.dz h2{scroll-margin-top:72px}
.toc{margin:0 0 24px}
.toc-h{font-size:15px;line-height:20px;font-weight:700;margin-bottom:6px}
.dz .toc ul{list-style:none;margin:0;padding:0}
.dz .toc li{margin:0;font-size:13px;line-height:24px}
.dz .toc a{color:rgba(6,6,15,.6)}
.toc-more{border:0;background:none;padding:0;font:inherit;font-size:13px;line-height:24px;font-weight:600;color:rgba(6,6,15,.6);cursor:pointer}
.rsya:empty{display:none}

/* Лайк и комментарии (st/social.js): без регистрации, имя + текст, виден сразу */
.soc{max-width:680px;margin:0 auto;padding:28px 20px 16px;box-sizing:content-box}
.like{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 18px 0 14px;border:1px solid rgba(6,6,15,.12);border-radius:999px;background:#fff;color:rgba(6,6,15,.87);font:600 16px/1 -apple-system,system-ui,"Segoe UI",Roboto,Arial,sans-serif;cursor:pointer;transition:border-color .15s,background .15s}
.like:hover{border-color:rgba(6,6,15,.3)}
.like svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;transition:fill .15s,stroke .15s}
.like.on{border-color:rgba(255,51,71,.35);background:rgba(255,51,71,.06)}
.like.on svg{fill:#ff3347;stroke:#ff3347}
.like.pop svg{animation:likepop .35s ease-out}
@keyframes likepop{40%{transform:scale(1.3)}}
.soc-h{font-size:22px;line-height:28px;font-weight:700;margin:32px 0 14px}
.soc-n{color:rgba(6,6,15,.4);font-weight:600;margin-left:6px}
.cf{position:relative;display:grid;gap:10px;margin-bottom:24px}
.cf-name,.cf-text{width:100%;box-sizing:border-box;border:1px solid transparent;border-radius:12px;background:#f2f2f5;padding:12px 14px;font:16px/22px -apple-system,system-ui,"Segoe UI",Roboto,Arial,sans-serif;color:rgba(6,6,15,.87);outline:none;transition:border-color .15s,background .15s}
.cf-name{max-width:320px}
.cf-text{resize:vertical;min-height:76px}
.cf-name:focus,.cf-text:focus{background:#fff;border-color:rgba(6,6,15,.25)}
.cf-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.cf-row{display:flex;align-items:center;justify-content:flex-end;gap:14px}
.cf-msg{font-size:14px;color:#d9333f}
.cf-send{height:44px;padding:0 22px;border:0;border-radius:12px;background:rgba(6,6,15,.87);color:#fff;font:600 15px/1 -apple-system,system-ui,"Segoe UI",Roboto,Arial,sans-serif;cursor:pointer}
.cf-send:disabled{opacity:.5;cursor:default}
.cl{list-style:none;margin:0;padding:0}
.cm{padding:14px 0;border-top:1px solid rgba(6,6,15,.08)}
.cm-h{display:flex;align-items:baseline;gap:10px;margin-bottom:4px}
.cm-h b{font-size:15px}
.cm-h span{font-size:13px;color:rgba(6,6,15,.45)}
.cm p{margin:0;font-size:16px;line-height:24px;white-space:pre-line;overflow-wrap:anywhere}

.more{max-width:680px;margin:0 auto;padding:24px 20px 8px;box-sizing:content-box;border-top:1px solid rgba(6,6,15,.1)}
.more-h{font-size:22px;line-height:28px;font-weight:700;margin:8px 0 16px}
.more-g{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.rd{display:block;color:inherit;text-decoration:none}
.rd-img{display:block;aspect-ratio:16/10;border-radius:12px;background:#eee center/cover no-repeat;margin-bottom:8px}
.rd-t{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:15px;line-height:20px;font-weight:700}
.rd:hover .rd-t{color:#006be7}
.foot{max-width:680px;margin:0 auto;padding:32px 20px 40px;box-sizing:content-box;font-size:13px;color:rgba(6,6,15,.5)}
.foot a{color:inherit;text-decoration:none}

/* на Дзене маркеры списка висят слева от колонки — на телефоне им нужно место внутри экрана */
@media (min-width:721px){.dz ul,.dz ol{list-style-position:outside}}
@media (max-width:720px){
  .dz{padding:24px 16px 4px}
  .dz h1{font-size:28px;line-height:32px;margin-bottom:16px}
  .dz h2{font-size:24px;line-height:28px;margin-top:36px}
  .dz ul,.dz ol{padding-left:20px}
  .dz figure img{border-radius:16px}
  .more{padding:20px 16px 4px}
  .more-g{grid-template-columns:1fr;gap:14px}
  .rd{display:grid;grid-template-columns:120px 1fr;gap:12px;align-items:center}
  .rd-img{margin:0}
  .foot{padding:24px 16px 32px}
  .soc{padding:24px 16px 12px}
  .cf-name{max-width:none}
}
