/* 100ЦТ: главная блога. Генерируется design/blog-home/build_plugin.py из макета. Правила только под #ctb. */
#ctb *,#ctb *::before,#ctb *::after{box-sizing:border-box}
#ctb{margin:0;font-family:Ubuntu,"Trebuchet MS",sans-serif;font-size:17px;line-height:1.55;color:#111;background:#fff}
#ctb img{display:block;max-width:100%}
#ctb a{color:inherit}
#ctb h1,#ctb h2,#ctb h3{margin:0;font-weight:700;letter-spacing:-.01em}
#ctb p{margin:0}
#ctb ul,#ctb ol{margin:0;padding:0;list-style:none}
#ctb button{font:inherit;color:inherit;cursor:pointer}
#ctb .wrap{max-width:1304px;margin:0 auto;padding:0 32px}
#ctb .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
#ctb :focus-visible{outline:2px solid #111;outline-offset:2px;border-radius:6px}
#ctb .ul{text-decoration:underline;text-decoration-color:#FFD900;text-decoration-thickness:2px;text-underline-offset:4px}
#ctb .ul:hover{text-decoration-color:#111}
#ctb #topics,#ctb #all,#ctb #search{scroll-margin-top:24px}
#ctb .hero{background:#FFD900;position:relative;z-index:20}
#ctb .hero-in{display:grid;grid-template-columns:minmax(0,1fr) 452px;gap:80px;align-items:center;padding-top:80px;padding-bottom:96px}
#ctb h1{font-size:clamp(26px,calc(20px + 1.75vw),44px);line-height:1.14;max-width:640px}
#ctb .lead{font-size:19px;line-height:1.55;margin-top:20px;max-width:600px;color:#111}
#ctb .search{position:relative;margin-top:36px;max-width:680px}
#ctb .field{display:flex;align-items:center;height:60px;background:#fff;border-radius:14px;padding:6px 6px 6px 0;border:1.5px solid #111}
#ctb .s-ico{flex:none;width:52px;display:flex;justify-content:center;color:#5f5f5f}
#ctb .field input{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;font:inherit;font-size:17px;color:#111;padding:0 8px 0 0}
#ctb .field input::placeholder{color:#6b6b6b}
#ctb .field input::-webkit-search-cancel-button{display:none}
#ctb .field:focus-within{box-shadow:0 0 0 3px #111}
#ctb .s-btn{flex:none;height:46px;padding:0 24px;border:0;border-radius:10px;background:#111;color:#fff;font-weight:500;font-size:16px}
#ctb .s-btn:hover{background:#333}
#ctb .sugg{position:absolute;left:0;right:0;top:68px;background:#fff;border-radius:16px;box-shadow:0 20px 50px rgba(17,17,17,.18),0 0 0 1px rgba(17,17,17,.06);padding:8px;z-index:40;animation:ctb-sg .16s ease-out}
@keyframes ctb-sg{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
#ctb #sugg{max-height:min(372px,calc(100vh - 140px));overflow-y:auto;overscroll-behavior:contain}
#ctb .sugg li{border-radius:10px}
#ctb .sugg li a{display:block;padding:8px 12px;text-decoration:none}
#ctb .sugg .s-t{display:block;font-size:15px;line-height:1.35;color:#111}
#ctb .sugg .s-t b{font-weight:700}
#ctb .sugg .s-m{display:block;font-size:13px;color:#5f5f5f;margin-top:1px}
#ctb .sugg li[aria-selected="true"],#ctb .sugg li:hover{background:#f5f5f5}
#ctb .sugg li.s-all{position:sticky;bottom:0;background:#fff;border-top:1px solid #e6e6e6;border-radius:0 0 10px 10px;margin-top:4px}
#ctb .sugg li.s-all[aria-selected="true"],#ctb .sugg li.s-all:hover{background:#f5f5f5}
#ctb .sugg li.s-all a{font-weight:500;font-size:15px}
#ctb .sugg-empty{padding:14px;font-size:15px;color:#333}
#ctb .sugg-empty a{text-decoration:underline;text-decoration-color:#FFD900;text-decoration-thickness:2px;text-underline-offset:3px}
#ctb .often{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-top:22px}
#ctb .often-l{font-size:15px;font-weight:500}
#ctb .chips{display:flex;flex-wrap:wrap;gap:6px}
#ctb .chip{border:1.5px solid #111;background:transparent;border-radius:999px;padding:5px 12px;font-size:14px;line-height:20px;white-space:nowrap}
#ctb .chip:hover{background:#111;color:#fff}
#ctb .hero-card{background:#fff;border-radius:24px;padding:12px;box-shadow:0 1px 0 rgba(17,17,17,.06)}
#ctb .hc-link{display:block;text-decoration:none}
#ctb .hc-img{display:block;border-radius:16px;overflow:hidden;aspect-ratio:16/10;background:#f5f5f5}
#ctb .hc-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
#ctb .hc-body{display:block;padding:20px 12px 12px}
#ctb .hc-kicker{display:inline-block;font-size:14px;font-weight:500;background:#111;color:#fff;border-radius:8px;padding:2px 10px;margin-bottom:12px}
#ctb .hero-card .hc-title{display:block;font-size:22px;line-height:1.3;font-weight:700}
#ctb .hc-link:hover .hc-title{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
#ctb .hc-link:hover img{transform:scale(1.03)}
#ctb .hero-card .meta{margin-top:12px}
#ctb .sec{padding:112px 0 0}
#ctb .sec-tight{padding-top:104px}
#ctb .sec-head{display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin-bottom:40px;flex-wrap:wrap}
#ctb h2{font-size:clamp(23px,calc(18px + 1vw),32px);line-height:1.2}
#ctb .sec-note{font-size:16px;color:#5f5f5f}
#ctb .more-link{font-weight:500;text-decoration:underline;text-decoration-color:#FFD900;text-decoration-thickness:2px;text-underline-offset:5px}
#ctb .more-link:hover{text-decoration-color:#111}
#ctb .meta{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:14px;line-height:1.4;color:#5f5f5f}
#ctb .meta .tp{color:#111;font-weight:500}
#ctb .ph{display:flex;align-items:center;justify-content:center;width:100%;height:100%;background:#f5f5f5}
#ctb .ph img,#ctb .c-img .ph img,#ctb .p-img .ph img,#ctb .m-img .ph img,#ctb .hc-img .ph img{width:44%!important;max-width:120px!important;height:auto!important;object-fit:contain!important;transform:none!important;opacity:.85}
#ctb .t-list{border-top:2px solid #111;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:72px}
#ctb .t-row{display:grid;grid-template-rows:auto 1fr;gap:16px;padding:28px 0;border-bottom:1px solid #e6e6e6}
#ctb .t-go{align-self:end}
#ctb .btn-dark{display:inline-flex;align-items:center;height:48px;padding:0 22px;border-radius:12px;background:#111;color:#fff;text-decoration:none;font-weight:500;font-size:16px}
#ctb .btn-dark:hover{background:#333}
#ctb .t-head{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px 16px;align-content:start}
#ctb .t-head h3{font-size:22px;line-height:1.25}
#ctb .t-name{text-decoration:none}
#ctb .t-name:hover{text-decoration:underline;text-decoration-color:#FFD900;text-decoration-thickness:3px;text-underline-offset:5px}
#ctb .t-count{justify-self:start;font-size:14px;font-weight:500;background:#FFD900;color:#111;border-radius:999px;padding:3px 12px;text-decoration:none;white-space:nowrap}
#ctb .t-count:hover{background:#111;color:#fff}
#ctb .t-desc{grid-column:1/-1;color:#5f5f5f;font-size:16px}
#ctb .t-top{display:grid;gap:8px;align-content:start}
#ctb .t-top a{display:block;position:relative;padding-left:22px;text-decoration:none;font-size:16px;line-height:1.45}
#ctb .t-top a::before{content:"";position:absolute;left:2px;top:.6em;width:8px;height:8px;border-radius:50%;background:#111}
#ctb .t-top a:hover{text-decoration:underline;text-decoration-color:#FFD900;text-decoration-thickness:2px;text-underline-offset:4px}
#ctb .grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:48px 28px}
#ctb .ctb-pg{margin-top:56px}
#ctb .ctb-pg ul{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px}
#ctb .ctb-pg a{display:flex;align-items:center;justify-content:center;min-width:48px;height:48px;padding:0 14px;border-radius:12px;font-size:17px;font-weight:500;text-decoration:none;color:#111;background:#f5f5f5}
#ctb .ctb-pg a:hover{background:#111;color:#fff}
#ctb .ctb-pg a.pg-cur{background:#111;color:#fff}
#ctb .ctb-pg .pg-gap{padding:0 6px;color:#5f5f5f;font-size:17px}
#ctb .ctb-pg .pg-next a{background:#FFD900;padding:0 22px;font-weight:700}
#ctb .ctb-pg .pg-next a:hover{background:#111;color:#fff}
#ctb .card a{display:block;text-decoration:none;height:100%}
#ctb .c-img{display:block;aspect-ratio:16/10;border-radius:16px;overflow:hidden;background:#f5f5f5}
#ctb .c-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
#ctb .c-body{display:block;padding-top:16px}
#ctb .card h3{font-size:18px;line-height:1.38;font-weight:500;margin-top:8px}
#ctb .card a:hover h3{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
#ctb .card a:hover .c-img img,#ctb .p-item a:hover img,#ctb .m-item a:hover img{transform:scale(1.03)}
#ctb .p-list{display:grid;grid-template-columns:1fr 1fr;column-gap:56px;border-top:2px solid #111;counter-reset:p}
#ctb .p-item{border-bottom:1px solid #e6e6e6}
#ctb .p-item a{display:grid;grid-template-columns:48px minmax(0,1fr) 128px;gap:20px;align-items:center;padding:24px 0;text-decoration:none}
#ctb .p-num{width:48px;height:48px;border-radius:14px;background:#111;color:#FFD900;font-size:24px;font-weight:700;display:flex;align-items:center;justify-content:center}
#ctb .p-body h3{font-size:19px;line-height:1.35;font-weight:500;margin-bottom:6px}
#ctb .p-item a:hover h3{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
#ctb .p-img{display:block;aspect-ratio:4/3;border-radius:12px;overflow:hidden;background:#f5f5f5}
#ctb .p-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
#ctb .courses{background:#111;color:#fff;border-radius:28px;padding:72px 72px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:72px}
#ctb .courses :focus-visible{outline-color:#FFD900}
#ctb .courses h2{max-width:520px}
#ctb .co-text{font-size:19px;color:#e6e6e6;margin-top:18px;max-width:520px}
#ctb .co-act{display:flex;flex-wrap:wrap;align-items:center;gap:16px 28px;margin-top:36px}
#ctb .btn-y{display:inline-flex;align-items:center;height:58px;padding:0 30px;border-radius:12px;background:#FFD900;color:#111;font-weight:700;font-size:17px;text-decoration:none}
#ctb .btn-y:hover{background:#fff}
#ctb .co-tel{font-size:22px;font-weight:500;text-decoration:none;white-space:nowrap}
#ctb .co-tel:hover{text-decoration:underline;text-decoration-color:#FFD900;text-decoration-thickness:2px;text-underline-offset:5px}
#ctb .co-sub{margin-top:24px;font-size:15px;color:#cfcfcf;display:flex;flex-wrap:wrap;gap:6px 16px}
#ctb .co-sub a{color:#fff}
#ctb .co-side{display:grid;gap:32px;align-content:start}
#ctb .co-blk h3{font-size:15px;font-weight:500;color:#bdbdbd;margin-bottom:12px;letter-spacing:0}
#ctb .grades{display:flex;flex-wrap:wrap;gap:10px}
#ctb .grades a{display:inline-block;border:1.5px solid rgba(255,255,255,.35);border-radius:999px;padding:8px 18px;text-decoration:none;font-weight:500}
#ctb .grades a:hover{background:#FFD900;color:#111;border-color:#FFD900}
#ctb .co-where{display:grid;grid-template-columns:1fr 1fr;gap:24px;border-top:1px solid rgba(255,255,255,.16);padding-top:28px}
#ctb .co-where p{font-size:16px;line-height:1.7;color:#fff}
#ctb .co-where .co-on{margin-top:20px}
#ctb .duo{display:grid;grid-template-columns:1fr 1fr;gap:72px}
#ctb .duo-head{padding-bottom:20px;border-bottom:2px solid #111}
#ctb .m-item{border-bottom:1px solid #e6e6e6}
#ctb .m-item a{display:grid;grid-template-columns:112px minmax(0,1fr);gap:20px;align-items:center;padding:18px 0;text-decoration:none}
#ctb .m-img{display:block;aspect-ratio:4/3;border-radius:12px;overflow:hidden;background:#f5f5f5}
#ctb .m-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
#ctb .m-body h3{font-size:18px;line-height:1.38;font-weight:500;margin-bottom:4px}
#ctb .m-item a:hover h3{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
#ctb .duo-all{display:inline-block;margin-top:24px;font-weight:500}
#ctb .all{background:#F5F5F5;margin-top:112px;padding:104px 0 112px}
#ctb .filters{display:flex;flex-wrap:wrap;gap:10px;margin:-12px 0 40px}
#ctb .f-chip{border:1px solid #dcdcdc;background:#fff;border-radius:999px;padding:9px 16px;font-size:15px;line-height:20px;font-weight:500;white-space:nowrap}
#ctb .f-chip span{color:#5f5f5f;font-weight:400;margin-left:4px}
#ctb .f-chip:hover{border-color:#111}
#ctb .f-chip[aria-pressed="true"]{background:#111;color:#fff;border-color:#111}
#ctb .f-chip[aria-pressed="true"] span{color:#FFD900}
#ctb .all .grid4{gap:28px}
#ctb .ac{background:#fff;border-radius:18px;overflow:hidden}
#ctb .ac.new{animation:ctb-fi .2s ease-out}
@keyframes ctb-fi{from{opacity:0}to{opacity:1}}
#ctb .ac .c-img{border-radius:0}
#ctb .ac .c-body{padding:16px 20px 22px}
#ctb .ac a:focus-visible{outline-offset:-2px;border-radius:18px}
#ctb .all-more{display:flex;flex-direction:column;align-items:center;gap:16px;margin-top:48px}
#ctb .btn-more{height:56px;padding:0 36px;border-radius:12px;border:0;background:#111;color:#fff;font-weight:500;font-size:17px}
#ctb .btn-more:hover{background:#333}
#ctb .next-page{font-weight:500}
@media (max-width:1180px){#ctb .hero-in{grid-template-columns:minmax(0,1fr) 380px;gap:48px}
#ctb .grid4{grid-template-columns:repeat(3,minmax(0,1fr))}
#ctb .courses{padding:56px;gap:48px}}
@media (max-width:1060px){#ctb .p-list{grid-template-columns:1fr}}
@media (max-width:960px){#ctb{font-size:16px}
#ctb .wrap{padding:0 20px}
#ctb #topics,#ctb #all,#ctb #search{scroll-margin-top:84px}
#ctb .hero-in{grid-template-columns:minmax(0,1fr);gap:40px;padding-top:40px;padding-bottom:56px}
#ctb .lead{font-size:17px;margin-top:14px}
#ctb .search{margin-top:26px}
#ctb .field{height:56px}
#ctb .s-ico{width:42px}
#ctb .field input{font-size:16px}
#ctb .s-btn{height:42px;padding:0 16px}
#ctb .often{margin-top:18px}
#ctb .hero-card{border-radius:20px;padding:10px}
#ctb .hc-body{padding:16px 8px 8px}
#ctb .hero-card h3{font-size:20px}
#ctb .sec{padding-top:72px}
#ctb .sec-tight{padding-top:64px}
#ctb .sec-head{margin-bottom:24px;gap:8px}
#ctb .t-list{grid-template-columns:1fr}
#ctb .t-row{gap:14px;padding:24px 0}
#ctb .t-head h3{font-size:21px}
#ctb .t-top a{font-size:16px}
#ctb .grid4{grid-template-columns:1fr 1fr;gap:32px 20px}
#ctb .courses{grid-template-columns:1fr;padding:40px 24px;border-radius:24px;gap:36px}
#ctb .co-text{font-size:17px}
#ctb .duo{grid-template-columns:1fr;gap:64px}
#ctb .all{margin-top:72px;padding:64px 0 72px}}
@media (max-width:620px){#ctb .grid4,#ctb .all .grid4{grid-template-columns:1fr;gap:0}
#ctb .card a{display:grid;grid-template-columns:112px minmax(0,1fr);gap:16px;align-items:start;padding:16px 0}
#ctb .card{border-bottom:1px solid #e6e6e6}
#ctb .card .c-img{aspect-ratio:4/3;border-radius:12px}
#ctb .card .c-body{padding:0}
#ctb .card h3{font-size:17px;margin-top:4px}
#ctb .card .meta{font-size:13px}
#ctb .all .grid4{gap:12px}
#ctb .ac{border-bottom:0;border-radius:16px}
#ctb .ac a{padding:12px;align-items:center}
#ctb .ac .c-img{border-radius:10px}
#ctb .ac .c-body{padding:0}
#ctb .p-item a{grid-template-columns:40px minmax(0,1fr) 88px;gap:14px;padding:18px 0}
#ctb .p-num{width:40px;height:40px;font-size:20px;border-radius:12px}
#ctb .p-body h3{font-size:17px}
#ctb .m-item a{grid-template-columns:96px minmax(0,1fr);gap:16px;padding:14px 0}
#ctb .m-body h3{font-size:17px}
#ctb .m-tests{display:grid;grid-template-columns:1fr 1fr;gap:24px 14px;padding-top:20px}
#ctb .m-tests .m-item{border-bottom:0}
#ctb .m-tests .m-item a{grid-template-columns:1fr;gap:10px;padding:0;align-items:start}
#ctb .m-tests .m-img{aspect-ratio:16/10}
#ctb .m-tests .m-body h3{font-size:16px;line-height:1.35}
#ctb .m-tests .meta{font-size:13px}
#ctb .filters{flex-wrap:nowrap;overflow-x:auto;margin:-4px -20px 24px;padding:0 20px 4px;scrollbar-width:none}
#ctb .filters::-webkit-scrollbar{display:none}
#ctb .btn-more{width:100%}
#ctb .co-where{grid-template-columns:1fr;gap:20px}
#ctb .co-where .co-on{margin-top:16px}
#ctb .t-top li:nth-child(n+3){display:none}
#ctb .co-act .btn-y{width:100%;justify-content:center}
#ctb .sugg{top:64px}}
@media (prefers-reduced-motion:reduce){#ctb *,#ctb *::before,#ctb *::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
#ctb .hero{background:#fff;border-bottom:1px solid #e6e6e6}
#ctb .hero-in{padding-top:72px;padding-bottom:80px}
#ctb .hero-card{background:#f5f5f5;box-shadow:none}
#ctb .hc-kicker{background:#FFD900;color:#111}
#ctb .s-btn{background:#FFD900;color:#111;font-weight:700}
#ctb .s-btn:hover{background:#111;color:#fff}
#ctb .chip{border-color:#d0d0d0}
#ctb .chip:hover{background:#FFD900;border-color:#FFD900;color:#111}
#ctb #ctb [hidden]{display:none!important}
#ctb #ctb{font-family:Ubuntu,"Trebuchet MS",sans-serif;font-size:17px;line-height:1.55;color:#111;background:#fff;text-align:left}
#ctb #ctb .hero-sm .hero-in{grid-template-columns:minmax(0,1fr);padding-top:48px;padding-bottom:56px}
#ctb #ctb .hero-sm h1{max-width:760px}
#ctb #ctb .ctb-pg .pg-prev a{background:#f5f5f5}
@media (max-width:960px){#ctb #ctb{font-size:16px}
#ctb #ctb .hero-sm .hero-in{padding-top:32px;padding-bottom:40px}}
#ctb .sec-tight:last-child{padding-bottom:88px}
@media (max-width:960px){#ctb .sec-tight:last-child{padding-bottom:64px}}
