.chsg-inline-lead{padding:24px;margin:30px 0;border:1px solid #ded5c4;border-radius:14px;background:#faf5eb}
.chsg-inline-lead p{margin:0 0 18px!important;line-height:1.6}
.chsg-inline-lead .btn{display:inline-flex;min-height:48px;align-items:center;justify-content:center;text-align:center;white-space:normal}
.chsg-mobile-request{display:none}
.chsg-lead-dialog{width:min(480px,calc(100% - 28px));max-height:calc(100dvh - 28px);box-sizing:border-box;padding:30px 26px;border:1px solid #ded5c4;border-radius:18px;background:#fffdf8;color:#29231c;box-shadow:0 25px 70px #0004;overflow:auto}
.chsg-lead-dialog::backdrop{background:#17130ec4}
.chsg-lead-dialog h2{font:700 clamp(24px,5vw,32px)/1.2 Manrope,sans-serif;margin:0 32px 12px 0;text-transform:none;letter-spacing:normal}
.chsg-lead-dialog>p{font:15px/1.6 Manrope,sans-serif;margin:0 0 20px}
.chsg-lead-close{position:absolute;right:12px;top:10px;width:40px;height:40px;border:0;background:transparent;font-size:30px;cursor:pointer;color:inherit}
.chsg-lead-form{display:grid;gap:18px;font:15px/1.5 Manrope,sans-serif}
.chsg-lead-form>label{display:grid;gap:7px;font-weight:650}
.chsg-lead-form input:not([type=checkbox]){width:100%;min-height:48px;box-sizing:border-box;font:inherit;color:inherit;border:1px solid #b8ac9a;border-radius:8px;background:white;padding:10px 12px}
.chsg-optional{font-size:13px;font-weight:400;color:#675e53}
.chsg-lead-form>label.chsg-lead-agree{display:flex;align-items:flex-start;gap:10px;font-size:13px;font-weight:400;line-height:1.6}
.chsg-lead-agree input{width:18px;height:18px;flex:0 0 18px;margin:4px 0 0;accent-color:#936020}
.chsg-lead-form a,.chsg-lead-alternative a{text-decoration:underline;text-underline-offset:3px;color:inherit}
.chsg-lead-trap{position:absolute!important;left:-9999px!important;opacity:0!important}
.chsg-lead-form .btn{min-height:48px;width:100%;white-space:normal;font:700 16px Manrope,sans-serif;cursor:pointer}
.chsg-lead-form .btn:disabled{opacity:.6;cursor:wait}
.chsg-lead-status{font-size:14px;margin:0;line-height:1.6}
.chsg-lead-status:empty{display:none}
.chsg-lead-dialog p.chsg-lead-alternative{font-size:14px;margin:20px 0 0}
.chsg-lead-dialog :focus-visible,.chsg-mobile-request a:focus-visible,.chsg-inline-lead a:focus-visible{outline:3px solid #936020;outline-offset:4px}
body.chsg-lead-open{overflow:hidden}
@media(max-width:760px){
 body.blog{padding-bottom:calc(80px + env(safe-area-inset-bottom))}
 .chsg-mobile-request{display:block;position:fixed;bottom:0;left:0;right:0;z-index:95;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#fffdf8;box-shadow:0 -3px 14px #0002}
 .chsg-mobile-request a{display:flex;min-height:48px;align-items:center;justify-content:center;background:#e8a640;border-radius:9px;color:#24201b;text-decoration:none;font:750 16px Manrope,sans-serif}
 .chsg-inline-lead{padding:20px}
 .chsg-inline-lead .btn{width:100%}
 .chsg-lead-dialog{padding:26px 20px}
}

/* Оглавление короткое на телефоне, раскрытое в боковой колонке на компьютере. */
.chsg-article-toc summary{cursor:pointer;font:700 15px/1.5 Manrope,sans-serif;list-style:revert}
.chsg-article-toc a{display:block;padding:7px 0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.chsg-mobile-request[hidden]{display:none!important}
@media(max-width:760px){
 body.blog .chsg-eventbar{position:static!important;box-shadow:none!important}
 .chsg-article-toc{display:block!important;position:static!important;grid-column:1/-1;margin:0 0 24px;padding:16px 20px;border:1px solid #ded5c4;border-radius:12px;background:#faf5eb}
 .chsg-article-toc details:not([open]) a{display:none}
}

html body.blog .article .chsg-article-toc{display:block!important;position:static!important;grid-column:1/-1;max-width:760px;margin:0 auto 24px;padding:16px 20px;border:1px solid #ded5c4;border-radius:12px;background:#faf5eb}

/* The full-width table of contents occupies its own row. */
@media (min-width: 721px) {
  body.blog.article-page #main-content > .article {
    grid-template-columns: minmax(0, 760px) minmax(220px, 315px) !important;
  }
}
@media (max-width: 1100px) {
  body.blog.article-page #main-content > .article {
    grid-template-columns: minmax(0, 760px) !important;
  }
}

.chsg-pilot-inline h3{margin:0 0 12px}
.chsg-pilot-step{min-width:0;display:grid;gap:12px}
.chsg-pilot-step>label{display:grid;gap:7px;font-weight:650}
.chsg-pilot-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;margin:0;padding:0;border:0}
.chsg-pilot-choices legend{padding:0;margin-bottom:10px;font-weight:700}
.chsg-pilot-choice{position:relative;display:flex;flex-direction:column;min-height:52px;border:1px solid #b8ac9a;border-radius:10px;overflow:hidden;background:#fffdf8;cursor:pointer}
.chsg-pilot-choice span{padding:9px 10px 9px 35px;font-weight:650;line-height:1.3;overflow-wrap:anywhere}
.chsg-pilot-choice img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;margin:0!important;border-radius:0!important}
.chsg-pilot-choice input[type=radio]{position:absolute;bottom:10px;left:10px;width:16px;min-height:16px;margin:0;padding:0;accent-color:#936020}
.chsg-pilot-choice:has(input:checked){border-color:#936020;background:#f7e4c6;box-shadow:inset 0 0 0 1px #936020}
.chsg-pilot-choice:focus-within{outline:2px solid #936020;outline-offset:2px}
.chsg-lead-form select{width:100%;min-height:48px;background:#fff;color:#29231c;border:1px solid #b8ac9a;border-radius:8px;padding:8px 12px;font:inherit}
.chsg-quiz-progress [data-pilot-progress]{font-size:13px;color:#675e53;margin:0 0 6px}
.chsg-quiz-progress progress{display:block;width:100%;height:6px;accent-color:#08645e}
.chsg-pilot-step .chsg-lead-agree{display:flex;align-items:flex-start;gap:10px;font-size:13px;font-weight:400}
.chsg-pilot-navigation{display:flex;gap:12px}
.chsg-pilot-navigation [data-pilot-prev]{background:transparent;border:1px solid #b8ac9a;border-radius:8px;padding:8px 14px;color:inherit;font:inherit;cursor:pointer}
.chsg-article-quiz-dialog [hidden],.chsg-pilot-dialog [hidden]{display:none!important}
@media(prefers-reduced-motion:no-preference){
 .chsg-pilot-dialog[open] .chsg-lead-form .btn{background-image:linear-gradient(105deg,transparent 35%,#fff7 50%,transparent 65%);background-size:300% 100%;background-position:100% 0;animation:chsg-pilot-shine .9s ease-out 1}
 @keyframes chsg-pilot-shine{from{background-position:100% 0}to{background-position:0 0}}
}

body.blog.article-page #main-content>.ahead{padding-top:clamp(94px,8vw,118px)!important}
body.blog.article-page #main-content .ahead__h1{
 font-size:clamp(34px,4.2vw,58px)!important;
 line-height:1.08!important;
 margin:12px 0 16px!important;
}
body.blog.article-page #main-content .ahead__lead{font-size:clamp(16px,1.45vw,20px)!important;line-height:1.5!important}
body.blog.article-page #main-content .ahead__cover{
 --chsg-cover-height:clamp(230px,30vw,400px);
 --chsg-cover-ratio:2.1;
 width:100%!important;max-width:calc(var(--chsg-cover-height) * var(--chsg-cover-ratio))!important;margin:20px auto 0!important;
}
body.blog.article-page.postid-7 #main-content .ahead__cover{--chsg-cover-ratio:1.8}
body.blog.article-page.postid-27 #main-content .ahead__cover{--chsg-cover-ratio:1.4}
body.blog.article-page.postid-35 #main-content .ahead__cover{--chsg-cover-ratio:1.5}
body.blog.article-page.postid-53 #main-content .ahead__cover{--chsg-cover-ratio:1.75}
body.blog.article-page.postid-418 #main-content .ahead__cover{--chsg-cover-ratio:1.85}
body.blog.article-page #main-content .ahead__cover img{
 width:100%!important;
 height:var(--chsg-cover-height)!important;
 max-height:none!important;
 aspect-ratio:auto!important;
 object-fit:cover!important;
}
body.blog.article-page #main-content .prose img:not(.chsg-pilot-choice img){
 height:auto!important;
 max-height:none!important;
 aspect-ratio:auto!important;
 object-fit:contain!important;
}
body.blog.article-page #main-content>.article{padding-top:30px!important}
body.blog #main-content .journal-hero{min-height:480px;padding-top:110px!important}
body.blog #main-content .journal-hero__links{margin-top:30px}
body.blog #main-content .feature__img{
 display:block!important;width:100%;max-width:820px;margin-inline:auto;
 height:auto!important;aspect-ratio:auto!important;align-self:center;
}
body.blog #main-content .feature__img picture{display:block}
body.blog #main-content .feature__img img{
 display:block;width:100%;height:auto!important;max-height:none!important;
 aspect-ratio:auto!important;object-fit:contain!important;
}
@media(max-width:760px){
 body.blog.article-page #main-content>.ahead{padding-top:76px!important}
 body.blog.article-page #main-content .ahead__h1{font-size:clamp(28px,7.5vw,36px)!important}
 body.blog.article-page #main-content .ahead__cover{--chsg-cover-height:clamp(168px,51vw,250px);margin-top:16px!important}
 body.blog.article-page #main-content>.article{padding-top:22px!important}
 body.blog #main-content .journal-hero{min-height:430px;padding-top:92px!important}
}

.journal-hero__photos picture{display:block;width:100%;height:100%}
.chsg-lead-form :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:16px!important}
.chsg-short-contact[hidden]{display:none!important}
.chsg-short-contact{margin-top:24px;max-width:26rem;text-align:left}
.chsg-short-contact input[type=tel]{color:#29231c}
.chsg-short-contact .chsg-lead-agree{max-width:100%}
.chsg-short-contact .chsg-lead-agree a{color:inherit}
.chsg-short-contact .chsg-lead-status{color:inherit}
.chsg-article-quiz-entry{
 display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px 24px;
 box-sizing:border-box;margin:32px 0 0;padding:clamp(18px,3vw,30px);
 border:1px solid rgb(177 120 38 / 24%);border-radius:16px;background:rgb(241 171 63 / 16%);color:#29231c;
}
.chsg-journal-quiz-entry{width:100%;margin:28px 0 0}
body.blog #main-content .chsg-article-quiz-entry h2{
 margin:0 0 8px!important;color:#29231c;font:600 clamp(23px,3vw,32px)/1.15 var(--disp);
 font-family:var(--disp)!important;text-transform:uppercase!important;letter-spacing:.35px;
}
body.blog #main-content .chsg-journal-quiz-entry h2{
 font-family:StampborBrand,Stampbor,var(--disp)!important;letter-spacing:.008em;
}
body.blog #main-content .chsg-article-quiz-entry p{margin:0!important;color:#493722;font-size:16px;line-height:1.5}
body.blog #main-content .chsg-article-quiz-entry .btn{
 display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:12px 25px;
 font-size:17px;font-weight:750;text-align:center;
}
@media(max-width:640px){
 .chsg-article-quiz-entry{grid-template-columns:minmax(0,1fr)}
 .chsg-article-quiz-entry .btn{width:100%}
 .chsg-journal-quiz-entry{margin-top:22px}
}
.chsg-article-quiz-dialog{width:min(730px,calc(100% - 24px))}
.chsg-article-quiz-dialog .chsg-lead-form{gap:14px}
.chsg-article-quiz-dialog .chsg-pilot-navigation .btn:disabled{cursor:default}
.chsg-article-quiz-dialog .chsg-pilot-step>p{margin:0}
.chsg-contact-method{
 display:flex;flex-wrap:wrap;gap:8px;min-width:0;margin:0;padding:0;border:0;
}
.chsg-contact-method legend{margin-bottom:6px;padding:0;font-weight:650}
.chsg-contact-method label{
 display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:4px 10px;
 border:1px solid #b8ac9a;border-radius:8px;cursor:pointer;box-sizing:border-box;
}
.chsg-lead-form .chsg-contact-method input[type=radio]{
 flex:0 0 16px;width:16px;height:16px;min-height:0;margin:0;padding:0;
}
.chsg-contact-method label:has(input:checked){border-color:#08645e;box-shadow:inset 0 0 0 1px #08645e}
.chsg-short-contact .chsg-contact-method label:has(input:checked){
 border-color:#64c8bd;box-shadow:inset 0 0 0 1px #64c8bd;
}
body.blog .navigation.pagination .nav-links{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}
body.blog .navigation.pagination .page-numbers{
 display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:4px 10px;
 box-sizing:border-box;
}
body.blog :is(a[data-pilot-open],a[data-chsg-quiz-open],.chsg-pilot-navigation .btn,.chsg-lead-form .btn):is(.btn--amber,.chsg-mobile-request a,.contact-panel__button){
 background-color:#08645e!important;color:#fff!important;border-color:#08645e!important;
}
body.blog :is(a[data-pilot-open],a[data-chsg-quiz-open],.chsg-pilot-navigation .btn,.chsg-lead-form .btn):is(.btn--amber,.chsg-mobile-request a,.contact-panel__button):hover{
 background-color:#064f4a!important;border-color:#064f4a!important;
}
.chsg-lead-form :is(input[type=checkbox],input[type=radio]){accent-color:#08645e}
@media(prefers-reduced-motion:no-preference){
 .chsg-pilot-dialog[open] .chsg-lead-form .btn{
  background-image:linear-gradient(108deg,transparent 36%,#ffffff60 50%,transparent 64%)!important;
  animation:chsg-pilot-shine 1.05s .15s ease-out 1 both;
 }
}
@media(max-width:760px){
 body.blog #main-content .journal-hero__links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 body.blog #main-content .journal-hero__links .btn{padding-inline:10px;text-align:center}
 body.blog #main-content .journal-hero__links .journal-hero__secondary{min-height:44px;display:grid;place-items:center;text-align:center;padding:8px}
}
