/* ===== Статьи: общий слой поверх стилей основного сайта (CRM #10502) ===== */
.st-main{background:var(--st-page);color:var(--st-text);padding:48px 0 72px}
.st-article{max-width:var(--st-measure);margin:0 auto;font-size:18px;line-height:1.7}
.st-article p{margin:0 0 1.05em}
.st-article h2{font-family:var(--st-head-font);color:var(--st-ink);font-size:clamp(24px,2.6vw,30px);font-weight:800;line-height:1.2;letter-spacing:-.01em;margin:1.9em 0 .6em}
.st-article h3{font-family:var(--st-head-font);color:var(--st-ink);font-size:20px;font-weight:700;line-height:1.3;margin:1.4em 0 .45em}
.st-article a{color:var(--st-link);text-underline-offset:3px}
.st-article strong{color:var(--st-ink)}
.st-article ul,.st-article ol{margin:0 0 1.1em;padding-left:1.3em}
.st-article li{margin:0 0 .45em;padding-left:.2em}
.st-article ul li::marker{color:var(--st-accent)}
.st-article ol li::marker{color:var(--st-accent);font-weight:700}
.st-article blockquote{margin:1.3em 0;padding:16px 22px;border-left:4px solid var(--st-accent);background:var(--st-soft);border-radius:0 14px 14px 0}
.st-article blockquote p:last-child{margin:0}
.st-article hr{border:0;border-top:1px solid var(--st-line);margin:2em 0}
.st-table{overflow-x:auto;margin:0 0 1.3em;border:1px solid var(--st-line);border-radius:14px}
.st-table table{width:100%;border-collapse:collapse;font-size:16px;line-height:1.45}
.st-table th,.st-table td{padding:10px 14px;text-align:left;vertical-align:top;border-bottom:1px solid var(--st-line);border-right:1px solid var(--st-line)}
.st-table th:last-child,.st-table td:last-child{border-right:0}
.st-table tbody tr:nth-child(even){background:var(--st-soft)}
.st-table th{background:var(--st-soft2);color:var(--st-ink);font-weight:700}
.st-table tr:last-child td{border-bottom:0}

/* обложка, лид */
.st-coverbox{margin:0 0 28px}
.st-cover{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:20px}
.st-lead{font-size:19.5px;line-height:1.65;color:var(--st-ink)}

/* блоки «История» и «Частые вопросы» — со стикером героя */
.st-sec{display:flow-root}
.st-sec--story{background:var(--st-soft);border:1px solid var(--st-line);border-radius:22px;padding:6px 28px 12px;margin:2.2em 0}
.st-sec--story h2{margin-top:.9em}
.st-stickerbox{float:right;width:140px;margin:14px -6px 10px 22px;shape-outside:circle(50%)}
.st-sticker{width:140px;height:auto;display:block}
.st-sec--faq .st-stickerbox{margin-top:20px}
.st-faq{border-top:1px solid var(--st-line);padding:2px 0 4px}
.st-faq:last-child{border-bottom:1px solid var(--st-line)}
.st-faq h3{margin:.9em 0 .35em;font-size:19px}

/* финал: герой отдыхает */
.st-final{margin:44px auto 8px;text-align:center;max-width:560px}
.st-final-img{width:100%;height:auto;border-radius:20px}
.st-final figcaption{margin-top:12px;font-size:15.5px;color:var(--st-muted);font-style:italic}

/* кнопка WhatsApp — в цвете мессенджера */
.st-wa{display:inline-flex;align-items:center;gap:12px;background:#25D366;color:#fff!important;text-decoration:none;font-family:var(--st-head-font);font-weight:700;font-size:17px;line-height:1;padding:17px 28px;border-radius:var(--st-btn-r);box-shadow:0 10px 26px -10px rgba(37,211,102,.75);transition:transform .15s,background .15s}
.st-wa:hover{background:#1EBE5A;transform:translateY(-1px)}
.st-wa svg{width:24px;height:24px;flex:none}
.st-wa--ft{margin-top:16px;font-size:16px;padding:15px 22px}

.st-cta{margin:40px 0 0;padding:30px 32px;border-radius:24px;background:var(--st-cta-bg);color:var(--st-cta-text)}
.st-cta__t{font-family:var(--st-head-font);font-size:24px;font-weight:800;line-height:1.2;margin:0 0 8px!important;color:var(--st-cta-text)}
.st-cta__s{font-size:16.5px;line-height:1.55;margin:0 0 20px!important;opacity:.92}

.st-more{margin:36px 0 0;padding-top:24px;border-top:1px solid var(--st-line)}
.st-more__t{font-family:var(--st-head-font);font-size:20px;font-weight:800;color:var(--st-ink);margin:0 0 12px!important}
.st-more ul{list-style:none;padding:0;margin:0 0 14px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.st-more li{margin:0;padding:0}
.st-more li a{display:block;height:100%;padding:14px 16px;border:1px solid var(--st-line);border-radius:14px;background:var(--st-card);font-size:16px;line-height:1.4;font-weight:600;text-decoration:none;color:var(--st-ink);transition:border-color .15s,transform .15s}
.st-more li a:hover{border-color:var(--st-accent);transform:translateY(-1px)}
.st-more__all{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:16px;text-decoration:none}
.st-more__all svg{width:18px;height:18px}

/* шапка статьи */
.st-hero{padding:34px 0 40px}
.st-h1{font-family:var(--st-head-font);font-size:clamp(28px,3.6vw,44px);font-weight:800;line-height:1.14;letter-spacing:-.015em;margin:14px 0 0;max-width:30ch;text-wrap:balance}
.st-q{margin:16px 0 0;font-size:18px;line-height:1.55;max-width:60ch}

/* хаб */
.st-hero--hub{padding:44px 0 52px}
.st-hubhero{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
.st-hubhero__text .st-h1{max-width:18ch;margin-top:0}
.st-h1__accent{display:block;font-size:.62em;font-weight:700;margin-top:8px}
.st-intro{font-size:18px;line-height:1.6;margin:18px 0 26px;max-width:56ch}
.st-hubhero__fig{margin:0}
.st-hubhero__img{width:100%;height:auto;border-radius:24px}
.st-hub-h2{font-family:var(--st-head-font);color:var(--st-ink);font-size:clamp(24px,2.6vw,32px);font-weight:800;margin:0 0 24px}
.st-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.st-card a{display:flex;flex-direction:column;height:100%;background:var(--st-card);border:1px solid var(--st-line);border-radius:20px;overflow:hidden;text-decoration:none;color:var(--st-text);transition:transform .15s,box-shadow .15s,border-color .15s}
.st-card a:hover{transform:translateY(-3px);box-shadow:0 18px 40px -22px rgba(10,40,60,.45);border-color:var(--st-accent)}
.st-card__media{display:block;aspect-ratio:16/9;background:var(--st-soft2)}
.st-card__img,.st-card__ph{width:100%;height:100%;object-fit:cover;display:block}
.st-card__body{display:flex;flex-direction:column;gap:8px;padding:18px 20px 22px}
.st-card__n{font-size:13px;font-weight:700;color:var(--st-accent-ink);letter-spacing:.06em}
.st-card__t{font-family:var(--st-head-font);font-size:18.5px;font-weight:700;line-height:1.3;color:var(--st-ink)}
.st-card__q{font-size:15px;line-height:1.5;color:var(--st-muted)}
.st-empty{font-size:18px;color:var(--st-muted)}

@media (max-width:1000px){
  .st-grid{grid-template-columns:1fr 1fr}
  .st-hubhero{grid-template-columns:1fr;gap:28px}
  .st-hubhero__fig{order:-1;max-width:640px}
}
@media (max-width:640px){
  .st-main{padding:28px 0 52px}
  .st-article{font-size:17px;line-height:1.65}
  .st-lead{font-size:18px}
  .st-hero{padding:22px 0 28px}
  .st-q{font-size:16.5px}
  .st-grid{grid-template-columns:1fr;gap:18px}
  .st-more ul{grid-template-columns:1fr}
  /* стикер на мобильном — над блоком, без обтекания */
  .st-stickerbox{float:none;width:120px;margin:16px auto 0;shape-outside:none}
  .st-sticker{width:120px}
  .st-sec--story{padding:4px 18px 8px}
  .st-sec--story h2,.st-sec--faq h2{text-align:left}
  .st-cta{padding:24px 20px}
  .st-wa{width:100%;justify-content:center}
}

/* ===== Kenkost: цвета и шрифт kenkost.kz ===== */
.st--kenkost{
  --st-page:#FFFFFF;--st-text:#2C4A5C;--st-ink:#10384F;--st-muted:#5b6b78;
  --st-accent:#FFAE00;--st-accent-ink:#0391C4;--st-link:#0378A3;
  --st-soft:#F2F9FC;--st-soft2:#E4F3FA;--st-line:#DCE8EF;--st-card:#FFFFFF;
  --st-cta-bg:#0391C4;--st-cta-text:#FFFFFF;
  --st-head-font:'Montserrat',system-ui,sans-serif;--st-btn-r:50px;--st-measure:740px;
}
.st--kenkost .st-hero{color:#fff}
.st--kenkost .st-h1{color:#fff;text-transform:none}
.st--kenkost .st-h1__accent{color:var(--accent)}
.st--kenkost .st-q{color:rgba(255,255,255,.9)}
.st--kenkost .st-crumbs{background:none;padding:0}
.st--kenkost .st-crumbs .crumbs__list{list-style:none}
.st--kenkost .st-intro{color:rgba(255,255,255,.92)}
.st--kenkost .st-article{font-size:17px}
.st--kenkost .st-main{border-radius:32px 32px 0 0}
.st--kenkost .st-main--hub{background:#F2F9FC}
.st--kenkost .st-sec--story{background:#FFF8E8;border-color:#FFE3A6}
.st--kenkost .st-more__all{color:var(--st-link)}
.st--kenkost .footer__contacts li{margin-bottom:10px}
@media (max-width:640px){.st--kenkost .st-article{font-size:16.5px}.st--kenkost .st-main{border-radius:22px 22px 0 0}}
@media (max-width:640px){.st--kenkost .st-article{padding-right:52px}}

