@font-face{
  font-family:'Rubik Fallback';
  src:local('Arial'),local('Helvetica'),local('Liberation Sans');
  font-weight:100 900;
  font-style:normal;
  size-adjust:103.4%;
  ascent-override:90.5%;
  descent-override:24.2%;
  line-gap-override:0%;
}
@font-face{
  font-family:'Rubik Fallback';
  src:local('Arial Italic'),local('Helvetica Oblique'),local('Liberation Sans Italic');
  font-weight:100 900;
  font-style:italic;
  size-adjust:103.4%;
  ascent-override:90.5%;
  descent-override:24.2%;
  line-gap-override:0%;
}

:root{
  --ui-accent:#1b8fb0;
  --ui-accent-strong:#127592;
  --ui-accent-soft:#e6f5f9;
  --ui-brand:#3a4167;
  --ui-brand-deep:#2b3050;

  --ui-bg:#ffffff;
  --ui-bg-soft:#f5f7f9;
  --ui-bg-sunken:#eef2f5;
  --ui-surface:#ffffff;

  --ui-text:#20242e;
  --ui-text-muted:#5c6373;
  --ui-text-faint:#828a99;
  --ui-border:#e2e7ec;
  --ui-border-strong:#cbd3db;

  --ui-link:#0f6f8c;
  --ui-link-hover:#0a5468;

  --ui-radius:10px;
  --ui-radius-sm:6px;
  --ui-shadow:0 1px 2px rgba(16,24,40,.05), 0 8px 24px -12px rgba(16,24,40,.18);
  --ui-shadow-lg:0 12px 40px -12px rgba(16,24,40,.3);

  --ui-font:'Rubik','Rubik Fallback',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  --ui-font-head:'Rubik','Rubik Fallback',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;

  --ui-measure:44rem;
  --ui-fs-body:1.1875rem;
  --ui-lh-body:1.68;
  --ui-scale:1;

  --ui-header-h:56px;
  --ui-nav-h:48px;
  color-scheme:light;
}

.container{overflow-x:clip;overflow-y:visible}

.wrapper{width:auto;max-width:1200px;padding:0 20px;box-sizing:border-box}
.wrapper:before{display:none}

@media (min-width:1400px){ .wrapper{max-width:1280px} }
@media (max-width:1023px){ .wrapper{max-width:860px;padding:0 20px} }
@media (max-width:767px){ .wrapper{max-width:none;padding:0 16px} }

.middle{padding:28px 0 48px}

@media (min-width:1024px){
  .middle:has(> .sidebar > *){
    display:grid;
    grid-template-columns:minmax(0,1fr) 300px;
    column-gap:40px;
    align-items:start;
  }
  .middle:has(> .sidebar > *) > *{grid-column:1 / -1;min-width:0}
  .middle:has(> .sidebar > *) > .content{grid-column:1;grid-row:1;float:none;width:auto;padding:0}
  .middle:has(> .sidebar > *) > .sidebar{grid-column:2;grid-row:1;float:none;width:auto;margin:0}
  .middle:has(> .sidebar > *) > .content--full-width{grid-column:1 / -1}

  .middle > .sidebar:not(:has(> *)){display:none}
  .middle:not(:has(> .sidebar > *)) > .content{float:none;width:auto;padding:0}
}
@media (min-width:1400px){
  .middle:has(> .sidebar > *){grid-template-columns:minmax(0,1fr) 320px;column-gap:56px}
}
@media (max-width:1023px){
  .content{float:none;width:auto;padding:0}
  .sidebar{float:none;width:auto;margin:40px 0 0}
  .sidebar:not(:has(> *)){display:none}
}

body{
  background:var(--ui-bg);
  color:var(--ui-text);
  font-family:var(--ui-font);
  font-size:calc(16px * var(--ui-scale));
  font-weight:400;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
a{color:var(--ui-link)}
a:hover{color:var(--ui-link-hover)}
b,strong{font-weight:700}

img{max-width:100%;height:auto}

.headline{font-family:var(--ui-font-head);font-size:1.25rem;font-weight:500;color:var(--ui-text);margin:0 0 28px}
.headline:after{background:var(--ui-accent);height:2px;width:56px;bottom:-10px}
.headline--big{font-size:2rem;font-weight:500}

.post__headline{
  font-family:var(--ui-font-head);
  font-size:clamp(1.75rem,1.15rem + 2.1vw,2.6rem);
  line-height:1.18;
  font-weight:700;
  letter-spacing:-.015em;
  color:var(--ui-text);
  margin:0 0 26px;
  max-width:var(--ui-measure);
}
.post__headline:after{display:none}

.post__entry{
  font-size:calc(var(--ui-fs-body) * var(--ui-scale));
  line-height:var(--ui-lh-body);
  color:var(--ui-text);
  padding:0;
  margin-bottom:32px;
}
.post__entry p,
.post__entry ul,
.post__entry ol,
.post__entry blockquote,
.post__entry .toc_title,
.post__entry h2,
.post__entry h3,
.post__entry h4,
.post__entry h5,
.post__entry h6{
  max-width:var(--ui-measure);
}
.post__entry p{
  font-family:var(--ui-font);
  font-size:1em;
  line-height:var(--ui-lh-body);
  font-weight:400;
  margin:0 0 1.15em;
}
.post__entry p a,
.post__entry li a{
  color:var(--ui-link);
  border-bottom:1px solid color-mix(in srgb, var(--ui-link) 40%, transparent);
  text-decoration:none;
  font-weight:500;
  transition:background .15s ease,border-color .15s ease,color .15s ease;
}
.post__entry p a:hover,
.post__entry li a:hover{
  color:var(--ui-link-hover);
  border-bottom-color:var(--ui-link-hover);
  background:var(--ui-accent-soft);
}

.post__entry h2,
.post__entry h3,
.post__entry h4,
.post__entry h5,
.post__entry h6{
  font-family:var(--ui-font-head);
  color:var(--ui-text);
  letter-spacing:-.01em;
  scroll-margin-top:calc(var(--ui-header-h) + 28px);
}
.post__entry h2{
  font-size:clamp(1.45rem,1.15rem + 1.05vw,1.85rem);
  line-height:1.25;font-weight:500;
  margin:2.4em 0 .7em;
  padding:0 0 .35em;
  border-bottom:1px solid var(--ui-border);
}
.post__entry h3{
  font-size:clamp(1.2rem,1.05rem + .55vw,1.4rem);
  line-height:1.3;font-weight:500;margin:2em 0 .6em;
}
.post__entry h4{
  font-size:1.1rem;line-height:1.35;font-weight:500;
  color:var(--ui-text-muted);margin:1.7em 0 .5em;
}
.post__entry h5{font-size:1rem;font-weight:500;text-transform:uppercase;letter-spacing:.04em;color:var(--ui-text-faint);margin:1.6em 0 .5em}
.post__entry h6{font-size:.95rem;font-weight:500;color:var(--ui-text-faint);margin:1.5em 0 .5em}
.post__entry>*:first-child{margin-top:0}

.post__entry ul,
.post__entry ol{
  font-family:var(--ui-font);
  font-size:1em;
  line-height:var(--ui-lh-body);
  margin:0 0 1.15em;
  padding-left:1.5em;
}
.post__entry ul>li,
.post__entry ol>li{margin:0 0 .45em;list-style:inherit}
.post__entry ul{list-style:none;padding-left:1.55em}
.post__entry ul>li{position:relative}
.post__entry ul>li:before{
  content:'';position:absolute;top:.62em;left:-1.05em;
  width:.42em;height:.42em;border-radius:50%;
  background:var(--ui-accent);
}
.post__entry ol{list-style:decimal}
.post__entry ol>li::marker{color:var(--ui-accent);font-weight:500}
.post__entry li ul,.post__entry li ol{margin:.5em 0 .3em;padding-left:1.4em}

.post__entry blockquote{
  margin:1.8em 0;
  padding:1em 1.2em;
  border:none;
  border-left:4px solid var(--ui-accent);
  background:var(--ui-bg-soft);
  border-radius:0 var(--ui-radius-sm) var(--ui-radius-sm) 0;
  color:var(--ui-text);
  font-size:1em;
}
.post__entry blockquote p{margin:0;padding:0}
.post__entry blockquote p+p{margin-top:.7em}

.ui-table-scroll{
  max-width:100%;
  overflow-x:auto;
  margin:0;padding:0;border:none;
  -webkit-overflow-scrolling:touch;
}
.post__entry table{
  width:100%;
  font-size:.95rem;
  border-collapse:collapse;
  margin:0 0 1.6em;
  border:1px solid var(--ui-border);
  border-radius:var(--ui-radius-sm);
  overflow:hidden;
}
.post__entry th{
  background:var(--ui-bg-sunken);
  color:var(--ui-text);
  font-weight:500;
  font-size:.9rem;
  text-align:left;
  padding:12px 14px;
  border-bottom:1px solid var(--ui-border-strong);
}
.post__entry td{
  padding:11px 14px;
  font-size:.95rem;
  line-height:1.5;
  text-align:left;
  border-bottom:1px solid var(--ui-border);
  color:var(--ui-text);
}
.post__entry tr:nth-child(even) td{background:var(--ui-bg-soft)}
.post__entry tr:last-child td{border-bottom:none}
@media (max-width:640px){
  .post__entry th{padding:9px 10px;font-size:.8125rem}
  .post__entry td{padding:8px 10px;font-size:.875rem;line-height:1.4}
}

.post__entry img{border-radius:var(--ui-radius-sm)}
.wp-caption{
  background:var(--ui-bg-soft);
  border:1px solid var(--ui-border);
  border-radius:var(--ui-radius);
  padding:8px 8px 0;
  max-width:100%;
}
.wp-caption img{border-radius:var(--ui-radius-sm)}
.wp-caption-text{
  padding:10px 6px 12px;
  font-size:.875rem;
  line-height:1.5;
  color:var(--ui-text-muted);
  text-align:left;
}

#toc_container{
  margin:2em 0;
  padding:20px 22px;
  background:var(--ui-bg-soft);
  border:1px solid var(--ui-border);
  border-left:3px solid var(--ui-accent);
  border-radius:var(--ui-radius);
  max-width:var(--ui-measure);
}
#toc_container .toc_title{
  margin:0 0 12px;
  font-family:var(--ui-font-head);
  font-size:1rem;
  font-weight:500;
  color:var(--ui-text);
  letter-spacing:.01em;
}
#toc_container ul{margin:0 0 0 1.1em!important;padding:0;line-height:1.5!important;font-family:var(--ui-font)!important}
#toc_container li{
  font-family:var(--ui-font)!important;
  font-size:.95rem!important;
  line-height:1.55!important;
  margin:0 0 .35em!important;
}
#toc_container li:before{display:none!important}
#toc_container a{
  color:var(--ui-link);
  text-decoration:none;
  border-bottom:1px solid transparent;
}
#toc_container a:hover{border-bottom-color:currentColor}
#toc_container li ul{margin-top:.35em!important}

.ui-toc-toggle{display:none}
@media (max-width:767px){
  #toc_container{position:relative;padding-bottom:54px}
  #toc_container .toc_list{
    max-height:11.5em;overflow:hidden;
    -webkit-mask-image:linear-gradient(#000 78%,transparent);
            mask-image:linear-gradient(#000 78%,transparent);
  }
  #toc_container.ui-toc-open .toc_list{
    max-height:none;-webkit-mask-image:none;mask-image:none;
  }
  .ui-toc-toggle{
    display:block;position:absolute;left:22px;right:22px;bottom:16px;
    margin:0;padding:0;border:none;background:none;text-align:left;
    color:var(--ui-link);font:inherit;font-size:.9rem;font-weight:500;cursor:pointer;
  }
}

.breadcrumbs{
  font-size:.85rem;
  color:var(--ui-text-faint);
  margin:0 0 18px;
}
.breadcrumbs a{color:var(--ui-text-muted);text-decoration:none}
.breadcrumbs a:hover{color:var(--ui-link);text-decoration:underline}
.breadcrumbs .arrow{display:none}

.author_post_top{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;
  padding:14px 0 18px;margin:0 0 26px;
  border-top:1px solid var(--ui-border);
  border-bottom:1px solid var(--ui-border);
  font-size:.875rem;color:var(--ui-text-muted);
  max-width:var(--ui-measure);
}
.author_post_top .author_photo{flex:0 0 auto}
.author_post_top .author_photo img{width:44px;height:44px;border-radius:50%;display:block}
.author_and_expert{flex:1 1 220px;min-width:0}
.author_latest{flex:0 0 auto;color:var(--ui-text-faint)}
.author_expert a{color:var(--ui-link);text-decoration:none;font-weight:500}
.author_expert a:hover{text-decoration:underline}

.header{
  position:relative;z-index:30;
  display:flex;align-items:center;flex-wrap:nowrap;gap:12px;
  height:var(--ui-header-h);
  box-sizing:border-box;
}
.header:before{
  left:50%;width:100vw;transform:translateX(-50%);
  height:100%;
  background:var(--ui-brand);
  background-image:linear-gradient(180deg,var(--ui-brand-deep),var(--ui-brand));
}
.header__logo{order:1;
  position:static;margin:0;width:auto;text-align:left;
  display:inline-flex;align-items:center;text-decoration:none;
  flex:0 1 auto;min-width:0;overflow:hidden;
}
.header__logo-title{
  margin:0;font-family:var(--ui-font-head);
  font-size:clamp(1rem,.86rem + .45vw,1.2rem);
  line-height:1.3;
  font-weight:500;color:#fff;letter-spacing:-.01em;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.header__logo-title:after{display:none}
.header__logo-desc{margin:2px 0 0;font-size:.75rem;color:rgba(255,255,255,.6)}

.header__forum,.header__calc{display:none}
.header__nav-toggle{display:none!important}

.header__nav{
  order:2;
  position:static;width:auto;height:auto;background:transparent;
  flex:1 1 auto;min-width:0;
}
.header__nav>ul{
  margin:0;padding:0;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:1px;
}
.header__nav>ul>li{float:none;position:relative}
.header__nav:not(.active)>ul>li>a,
.header__nav>ul>li>a{
  height:auto;padding:8px 10px;
  font-size:clamp(.8125rem,.58rem + .28vw,.9375rem);line-height:1.3;font-weight:500;
  color:rgba(255,255,255,.88);
  border-radius:var(--ui-radius-sm);
  transition:background .15s ease,color .15s ease;
  white-space:nowrap;
}
.header__nav>ul>li>a:hover,
.header__nav:not(.active)>ul>li:hover>a,
.header__nav:not(.active)>ul>li>a:hover{
  background:rgba(255,255,255,.14);color:#fff;
}
.header__nav>ul>li.current-menu-item>a,
.header__nav>ul>li.current-menu-parent>a,
.header__nav>ul>li.current-post-ancestor>a,
.header__nav>ul>li.current-menu-ancestor>a{
  background:var(--ui-accent);color:#fff;
}

.header__nav:not(.active) ul ul,
.header__nav ul ul{
  position:absolute;top:100%;left:0;
  display:block;
  visibility:hidden;opacity:0;
  transform:translateY(6px);
  transition:opacity .16s ease,transform .16s ease,visibility .16s;
  min-width:260px;padding:8px;margin:6px 0 0;
  background:var(--ui-surface);
  border:1px solid var(--ui-border);
  border-radius:var(--ui-radius);
  box-shadow:var(--ui-shadow-lg);
  z-index:40;
}
.header__nav>ul>li:hover>ul,
.header__nav>ul>li:focus-within>ul,
.header__nav>ul>li.ui-open>ul{visibility:visible;opacity:1;transform:translateY(0)}
.header__nav>ul>li>ul:before{content:'';position:absolute;top:-8px;left:0;right:0;height:8px}

.header__nav:not(.active) li li,
.header__nav li li{border:none;white-space:normal}
.header__nav:not(.active) li li a,
.header__nav li li a{
  height:auto;padding:8px 12px;line-height:1.4;
  font-size:.9375rem;color:var(--ui-text);
  border-radius:var(--ui-radius-sm);
  transition:background .12s ease,color .12s ease;
}
.header__nav:not(.active) li li a:hover,
.header__nav li li a:hover{background:var(--ui-accent-soft);color:var(--ui-link-hover)}
.header__nav li li[class*="current-"]>a{background:var(--ui-accent-soft);color:var(--ui-link-hover);font-weight:500}

.header__nav>ul>li.ui-mega>ul{
  display:grid;grid-template-columns:repeat(2,minmax(210px,1fr));gap:2px;
  min-width:480px;
}
.header__nav>ul>li.ui-mega:nth-last-child(-n+3)>ul{left:auto;right:0}
.header__nav>ul>li:nth-last-child(-n+2)>ul{left:auto;right:0}

.search-form{
  order:4;
  position:static;width:200px;flex:0 0 auto;height:36px;
  border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(255,255,255,.08);
}
.search-form__field{padding:8px 36px 8px 14px;font-size:.9rem}

@media (max-width:1023px){
  .header{height:52px}
  .header__nav,.header__nav.active{display:none}
  .search-form{display:none}
}

.header{
  position:sticky;top:0;z-index:200;
  transition:box-shadow .2s ease;
}
.header.is-compact{box-shadow:0 2px 14px rgba(10,14,24,.28)}

.ui-progress{
  position:absolute;left:0;bottom:0;height:3px;width:0;
  background:var(--ui-accent);transition:width .1s linear;z-index:2;
}

.ui-iconbtn{
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;
  width:40px;height:40px;padding:0;border:none;border-radius:var(--ui-radius-sm);
  background:rgba(255,255,255,.1);color:#fff;cursor:pointer;
  transition:background .15s ease;
}
.ui-iconbtn:hover{background:rgba(255,255,255,.2)}
.ui-iconbtn svg{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

.ui-burger{
  order:3;
  display:none;align-items:center;gap:8px;
  height:40px;padding:0 14px 0 12px;
  border:none;border-radius:var(--ui-radius-sm);
  background:rgba(255,255,255,.14);color:#fff;
  font:inherit;font-size:.9rem;font-weight:500;cursor:pointer;
}
.ui-burger:hover{background:rgba(255,255,255,.24)}
.ui-burger svg{width:20px;height:20px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round}
@media (max-width:1023px){ .ui-burger{display:inline-flex;margin-left:auto} }
@media (max-width:359px){ .ui-burger span{display:none} .ui-burger{padding:0 10px} }

.header__nav-menu{display:none!important}

.ui-overlay{
  position:fixed;inset:0;z-index:300;
  background:rgba(12,16,28,.55);
  backdrop-filter:blur(2px);
  opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s;
}
.ui-overlay.is-on{opacity:1;visibility:visible}

.ui-drawer{
  position:fixed;top:0;right:0;bottom:0;z-index:310;
  width:min(400px,88vw);
  display:flex;flex-direction:column;
  background:var(--ui-surface);
  box-shadow:var(--ui-shadow-lg);
  transform:translateX(100%);
  transition:transform .26s cubic-bezier(.4,0,.2,1);
  overscroll-behavior:contain;
}
.ui-drawer.is-on{transform:translateX(0)}
.ui-drawer__head{
  flex:0 0 auto;display:flex;align-items:center;gap:12px;
  padding:14px 16px;
  background:var(--ui-brand-deep);color:#fff;
}
.ui-drawer__title{flex:1 1 auto;font-weight:500;font-size:1rem}
.ui-drawer__search{flex:0 0 auto;padding:12px 16px;border-bottom:1px solid var(--ui-border)}
.ui-drawer__search input{
  width:100%;box-sizing:border-box;height:44px;padding:0 14px;
  border:1px solid var(--ui-border-strong);border-radius:var(--ui-radius-sm);
  background:var(--ui-bg-soft);color:var(--ui-text);font:inherit;font-size:1rem;
}
.ui-drawer__body{flex:1 1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:6px 0 32px}
.ui-drawer ul{list-style:none;margin:0;padding:0}
.ui-drawer li{list-style:none}

.ui-drawer__row{display:flex;align-items:stretch;border-bottom:1px solid var(--ui-border)}
.ui-drawer__row>a{
  flex:1 1 auto;min-width:0;
  display:flex;align-items:center;
  min-height:52px;padding:10px 16px;
  color:var(--ui-text)!important;text-decoration:none;
  font-size:1rem;font-weight:500;line-height:1.35;
}
.ui-drawer__row>a:hover,.ui-drawer__row>a:active{background:var(--ui-bg-soft)}
.ui-drawer__row.is-current>a{color:var(--ui-link)!important;font-weight:500}
.ui-drawer__row.is-current{box-shadow:inset 3px 0 0 var(--ui-accent)}

.ui-drawer__exp{
  flex:0 0 auto;width:56px;min-height:52px;
  border:none;border-left:1px solid var(--ui-border);
  background:transparent;color:var(--ui-text-muted);cursor:pointer;
  display:flex;align-items:center;justify-content:center;
}
.ui-drawer__exp:hover{background:var(--ui-bg-soft)}
.ui-drawer__exp svg{width:18px;height:18px;stroke:currentColor;stroke-width:2.2;fill:none;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease}
.ui-drawer__exp[aria-expanded="true"] svg{transform:rotate(180deg)}

.ui-drawer__sub{display:none;background:var(--ui-bg-soft);border-bottom:1px solid var(--ui-border)}
.ui-drawer__sub.is-on{display:block}
.ui-drawer__sub a{
  display:flex;align-items:center;min-height:46px;
  padding:8px 16px 8px 32px;
  color:var(--ui-text-muted)!important;text-decoration:none;
  font-size:.9375rem;line-height:1.4;
}
.ui-drawer__sub a:hover,.ui-drawer__sub a:active{background:var(--ui-bg-sunken);color:var(--ui-link)!important}
.ui-drawer__sub li+li a{border-top:1px solid var(--ui-border)}
.ui-drawer__sub li[class*="current-"]>a{color:var(--ui-link)!important;font-weight:500}

.ui-drawer__foot{
  flex:0 0 auto;display:flex;align-items:center;gap:10px;
  padding:12px 16px;border-top:1px solid var(--ui-border);background:var(--ui-bg-soft);
}
.ui-drawer__foot .ui-chip{
  display:inline-flex;align-items:center;gap:6px;
  height:36px;padding:0 12px;border-radius:999px;
  border:1px solid var(--ui-border-strong);background:var(--ui-surface);
  color:var(--ui-text);font:inherit;font-size:.875rem;cursor:pointer;
}
.ui-drawer__foot .ui-chip:hover{border-color:var(--ui-accent);color:var(--ui-link)}

body.ui-lock{overflow:hidden}

@media (min-width:1024px){
  .sidebar{
    position:sticky;top:calc(var(--ui-header-h) + 24px);
    max-height:calc(100vh - var(--ui-header-h) - 48px);
    overflow-y:auto;overscroll-behavior:contain;
    scrollbar-width:thin;
  }
  .sidebar::-webkit-scrollbar{width:6px}
  .sidebar::-webkit-scrollbar-thumb{background:var(--ui-border-strong);border-radius:3px}
  .sidebar::-webkit-scrollbar-track{background:transparent}
}
.sidebar .headline{font-size:1rem;margin:0 0 18px}
.sidebar .items{display:grid;grid-template-columns:1fr;gap:10px;margin:0}
.sidebar .item{
  width:auto;margin:0;padding:14px;
  border:1px solid var(--ui-border);border-radius:var(--ui-radius);
  background:var(--ui-surface);
  transition:border-color .15s ease,box-shadow .15s ease;
}
.sidebar .item:hover{border-color:var(--ui-border-strong);box-shadow:var(--ui-shadow)}
.sidebar .item__inner{display:flex;gap:12px;align-items:flex-start}
.sidebar .item__image{width:84px;min-width:84px;max-width:84px;margin:0;border-radius:var(--ui-radius-sm)}
.sidebar .item__title{
  margin:0;font-size:.9375rem;line-height:1.4;font-weight:500;
  color:var(--ui-text);text-decoration:none;
}
.sidebar .item__title:hover{color:var(--ui-link)}
.sidebar .item__comments{display:none}

.related-items{margin:48px 0 10px}

.items,.experts,
.tabs .items.active{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:16px;margin:0;
}
.item,.expert,
.item:nth-child(3n+1),.expert:nth-child(3n+1){
  width:auto;margin:0;padding:16px;
  box-sizing:border-box;
  border:1px solid var(--ui-border);border-radius:var(--ui-radius);
  background:var(--ui-surface);
  transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease;
}
.item:hover{border-color:var(--ui-border-strong);box-shadow:var(--ui-shadow);transform:translateY(-2px)}
.item__inner{min-width:0}
.item__image{
  width:100%;max-width:100%;
  aspect-ratio:4/3;object-fit:cover;height:auto;
  border-radius:var(--ui-radius-sm);margin:0 0 12px;
  background:var(--ui-bg-sunken);
}
.sidebar .item__image{aspect-ratio:1/1}
.item__title{font-size:.9375rem;line-height:1.4;font-weight:500;color:var(--ui-text);margin:0 0 10px;overflow-wrap:break-word}
.item__title:hover{color:var(--ui-link)}
.item__cat{color:var(--ui-accent);font-size:.8125rem}
.item__comments{color:var(--ui-text-faint);font-size:.8125rem}

@media (max-width:767px){
  .item,.expert,.item:nth-child(3n+1),.expert:nth-child(3n+1){width:auto;margin:0}
  .items,.experts{margin:0}
  .item__cat,.item__comments{display:block}
}
@media (max-width:559px){
  .item__image{aspect-ratio:16/9}
}
@media (max-width:479px){
  .items,.experts,.tabs .items.active{grid-template-columns:1fr}
}

@media (min-width:1024px){
  .tabs{display:flex;align-items:flex-start;gap:28px}
  .tabs__column{float:none;width:240px;flex:0 0 240px;margin:0}
  .tabs .items{float:none;width:auto;margin:0;flex:1 1 auto;min-width:0}
}
@media (max-width:1023px){
  .tabs{display:block}
  .tabs__column{float:none;width:100%;margin:0 0 20px}
  .tabs .items{float:none;width:auto;margin:0}
}
.tabs__caption li{border-radius:var(--ui-radius-sm);font-size:.9375rem;height:38px;line-height:37px}
.tabs__caption li.active{background:var(--ui-accent)}
.tabs__caption li.active:after{display:none}
.tabs__desc-title{font-size:1rem;font-weight:500}

.home-sections{display:flex;flex-wrap:wrap;gap:20px;margin:0}
.home-sections .section,
.home-sections .section+.section{float:none;width:auto;flex:1 1 280px;margin:0}
.section{
  width:auto;border:1px solid var(--ui-border);border-radius:var(--ui-radius);
  background:var(--ui-surface);padding:18px 20px 20px;
}
.section--calc,.section--help,.section--companies{margin:0}

.popular{background:var(--ui-bg-soft);padding-top:28px;padding-bottom:28px}

@media (max-width:767px){
  .popular-in-cat .item{
    padding:16px;background:var(--ui-surface);
    border:1px solid var(--ui-border);border-radius:var(--ui-radius);
  }
  .popular-in-cat .item__inner{max-width:none;margin:0;background:0 0;padding:0}
  .popular-in-cat .item__cat,.popular-in-cat .item__comments{display:block}
}

.sidebar .section--help li a span,
.sidebar .section--companies li a span{font-size:.875rem;line-height:1.4}
.sidebar .section li+li{margin-top:18px}

.comment{
  background:var(--ui-bg-soft);
  border:1px solid var(--ui-border);
  border-radius:var(--ui-radius);
  padding:18px 18px 18px 76px;
  margin:0 0 12px;
}
.comment .avatar{margin-left:-60px;border-radius:50%;overflow:hidden}
.comment__text{line-height:1.6;font-size:.9375rem}
.comment__text p{margin:0 0 .8em}
.comment-meta{color:var(--ui-text-faint);font-size:.8125rem}
.comment__author{font-weight:500;color:var(--ui-text)}
.comment__reply a{
  height:auto;padding:3px 10px;border-radius:999px;font-size:.75rem;line-height:1.5;
  background:var(--ui-accent);
}
.comment__reply a:hover{background:var(--ui-accent-strong)}

.form-field,.jq-file__name,.select select{
  border:1px solid var(--ui-border-strong);
  border-radius:var(--ui-radius-sm);
  font-size:1rem;padding:10px 14px;
  background:var(--ui-surface);color:var(--ui-text);
}
.form-field:focus,.select select:focus{
  outline:2px solid var(--ui-accent);outline-offset:1px;border-color:var(--ui-accent);
}
.button{
  height:auto;padding:11px 26px;border-radius:var(--ui-radius-sm);
  background:var(--ui-accent);font-size:.9375rem;font-weight:500;
}
.button:hover{background:var(--ui-accent-strong)}

.footer{background:var(--ui-brand);padding-top:36px;padding-bottom:36px}
.footer a{color:#fff}
.footer__nav-1 li{font-size:.9375rem}
.footer__logo{font-family:var(--ui-font-head)}
.footer__logo:after{background:var(--ui-accent)}

.up{border-radius:var(--ui-radius-sm)}

.gallery,.gallery2{
  background:var(--ui-bg-soft);
  border:1px solid var(--ui-border);
  border-radius:var(--ui-radius);
  padding:22px 24px 26px;
}
.gallery__headline{
  background:var(--ui-accent);border-radius:var(--ui-radius-sm);
  font-size:.8125rem;height:28px;line-height:27px;
}
.gallery-big-item__caption{
  background:rgba(17,22,34,.92);font-size:.875rem;line-height:1.45;
  border-radius:0 0 var(--ui-radius-sm) var(--ui-radius-sm);
}
.gallery-thumbs-item{font-size:.8125rem;line-height:1.4;color:var(--ui-text-muted)}
.gallery-thumbs-item img{border-radius:var(--ui-radius-sm)}

@media (min-width:1024px){
  #toc_container .toc_list{
    columns:2;column-gap:32px;
  }
  #toc_container .toc_list>li{break-inside:avoid}
}

:where(a,button,input,select,textarea,[tabindex]):focus-visible{
  outline:2px solid var(--ui-accent);
  outline-offset:2px;
  border-radius:3px;
}
.ui-visually-hidden{
  position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}
@media (prefers-reduced-motion:reduce){
  *,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}
}
@media print{
  .header,.ui-sticky,.ui-drawer,.ui-overlay,.sidebar,.footer,.related-items,.up{display:none!important}
  .post__entry{max-width:none;font-size:12pt}
}

:root{
  --ui-accent:#1798b8;
  --ui-accent-strong:#12809d;
  --ui-accent-soft:#e3f4f9;
  --ui-brand:#3a4167;
  --ui-brand-deep:#2c3252;

  --ui-bg:#ffffff;
  --ui-bg-soft:#f2f7f9;
  --ui-bg-sunken:#e6eff3;
  --ui-surface:#ffffff;

  --ui-text:#1f2430;
  --ui-text-muted:#576070;
  --ui-text-faint:#818b9b;
  --ui-border:#dfe6ea;
  --ui-border-strong:#c4d0d7;

  --ui-link:#0d7391;
  --ui-link-hover:#095b74;

  --ui-font:'Rubik','Rubik Fallback',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  --ui-font-head:'Rubik','Rubik Fallback',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;

  --ui-measure:43rem;
  --ui-fs-body:1.1875rem;
  --ui-lh-body:1.68;
  --ui-radius:8px;
  --ui-radius-sm:5px;
}

.header:after{
  content:'';position:absolute;left:0;right:0;bottom:0;height:3px;
  background:linear-gradient(90deg,var(--ui-accent),#4fd0ee);
  opacity:.9;
}
.post__entry h2{
  border-bottom:1px solid var(--ui-border);
}
