/* Страница статьи.pdf, 1440 px. Только шаблон single; шапка/подвал не затронуты. */
.article-pdf{--color-blue:#0665ff;--color-blue-dark:#0057df;color:#161616;background:#fff;font-family:MottorPDFInter,Inter,Arial,sans-serif}
.article-pdf h1,.article-pdf h2,.article-pdf h3,.article-pdf h4{font-family:MottorPDFInter,Inter,Arial,sans-serif}
.article-pdf .site-container{width:calc(100% - 48px);max-width:1200px}
.article-pdf-hero{background:#fbfdfe}
.article-pdf-hero__inner{position:relative;min-height:450px;padding-top:42px;padding-bottom:36px}
.article-pdf-hero .breadcrumbs{position:relative;z-index:1;display:flex;flex-wrap:wrap;gap:5px;margin:0 0 36px;font-size:12px;line-height:1.5;color:#757575}
.article-pdf-hero .breadcrumbs>span:last-child{color:#161616}
.article-pdf-hero__copy{position:relative;z-index:1;max-width:700px}
.article-pdf .article-hero__categories{display:flex;flex-wrap:wrap;gap:12px;margin:0}
.article-pdf .category-badge{padding:0;border:0;border-radius:0;background:none;color:#0665ff;font-size:12px;font-weight:400;line-height:1.3;text-transform:uppercase;letter-spacing:0}
.article-pdf-hero h1{font-size:38px;line-height:1.2;font-weight:500;letter-spacing:-1.2px;margin:24px 0 16px;overflow-wrap:break-word}
.article-pdf .article-hero__lead{font-size:16px;line-height:1.4;color:#161616;max-width:640px;margin:0}
.article-pdf .article-meta-panel{display:flex;flex-wrap:wrap;align-items:center;gap:20px 44px;margin-top:64px}
.article-pdf .article-meta-panel__author{gap:12px;min-width:190px}
.article-pdf .author-avatar{width:40px;height:40px;flex-basis:40px;font-size:12px}
.article-pdf .author-info strong{font-size:14px;line-height:1.3;font-weight:400}
.article-pdf .author-info span{font-size:12px;line-height:1.4;color:#858585}
.article-pdf .article-meta-panel__items{display:flex;flex-wrap:wrap;gap:24px;font-size:12px;color:#858585}
.article-pdf .article-meta-panel__items time,.article-pdf .article-meta-panel__items>span{display:inline-flex;align-items:center;gap:8px}
.article-pdf .article-meta-panel__items img{width:16px;height:16px;object-fit:contain}
.article-pdf-hero__art{position:absolute;right:-144px;top:-31px;width:679px;height:509px;max-width:none;object-fit:contain}
.article-pdf .article-page{padding:52px 0 0;background:#fff}
.article-pdf .article-layout{display:grid;grid-template-columns:minmax(0,840fr) minmax(0,320fr);gap:40px;align-items:stretch}
.article-pdf .article-content{font:400 16px/1.6 MottorPDFInter,Inter,Arial,sans-serif;color:#161616}
.article-pdf .article-content p,.article-pdf .article-content li{font-size:inherit;line-height:inherit}
.article-pdf .article-content p{margin-bottom:24px}
.article-pdf .article-content h2{font-size:28px;line-height:1.2;font-weight:500;letter-spacing:-.6px;margin:48px 0 20px}
.article-pdf .article-content h3{font-size:22px;line-height:1.3;font-weight:500;letter-spacing:-.3px;margin:28px 0 16px}
.article-pdf .article-content figure{margin:28px 0;max-width:100%}
.article-pdf .article-content figure img{max-width:100%;width:auto;height:auto}
.article-pdf .article-content iframe{max-width:100%}
.article-pdf .article-content .wp-block-gallery{gap:16px}
.article-pdf .article-content .wp-block-gallery figure{margin:0;min-width:0}
.article-pdf .article-table-scroll,.article-pdf .wp-block-table{overscroll-behavior-x:contain}
.article-pdf .article-table-scroll:focus-visible,.article-pdf .wp-block-table:focus-visible{outline:2px solid #0665ff;outline-offset:3px}
.article-pdf .article-share{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 20px;margin-top:24px;padding:16px 20px;border:1px solid #e4e6e8;border-radius:8px;background:#f7f8fa}
.article-pdf .article-share__title{font:500 18px/1.35 MottorPDFInter,Inter,Arial,sans-serif;margin:0}
.article-pdf .article-share__links{display:flex;gap:8px}
.article-pdf .share-status:not(.screen-reader-text){flex-basis:100%;font-size:14px;overflow-wrap:anywhere}
.article-pdf .article-share__action{display:inline-grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:8px;background:#edf0f2;color:#626971;cursor:pointer}
.article-pdf .article-share__action svg{display:block;width:22px;height:22px}
.article-pdf .article-share__action:hover{background:#e2e6e9;color:#3e454c}
.article-pdf .article-share__action:focus-visible{outline:2px solid #0665ff;outline-offset:2px}
.article-pdf .article-tags{margin-top:32px;gap:8px;font-size:16px}
.article-pdf .article-tags>span{font-size:16px;color:#161616;margin-right:4px}
.article-pdf .article-tags a{display:inline-flex;padding:7px 14px;border:1px solid #ddd;border-radius:999px;color:#161616;background:#fff;font-size:16px;line-height:1.2;text-decoration:none}
.article-pdf .article-tags a:hover,.article-pdf .article-tags a:focus-visible{color:#0665ff;border-color:#0665ff}
.article-pdf .sidebar-card,.article-pdf .article-sidebar-cta{padding:20px;border:1px solid #ddd;border-radius:10px;box-shadow:none}
/* Содержание и кнопка регистрации остаются в пределах правой колонки статьи. */
.article-pdf .article-sidebar__sticky{position:static;max-height:none;overflow:visible;scrollbar-gutter:auto;padding-bottom:0;gap:20px}
.article-pdf .article-toc__title{font:500 20px/1.2 MottorPDFInter,Inter,Arial,sans-serif;letter-spacing:-.4px;margin:0 0 20px}
.article-pdf .article-toc__list{font:400 16px/1.2 MottorPDFInter,Inter,Arial,sans-serif;gap:10px}
.article-pdf .article-toc__item a{color:#0665ff}
.article-pdf .article-toc__item--h3{font-size:14px;line-height:1.3}
.article-pdf .article-sidebar-cta{background:#f6f6fe}
.article-pdf .sidebar-cta__logo{width:106px;height:24px;object-fit:contain;margin:0 0 14px}
.article-pdf .article-sidebar-cta__title{font:500 28px/1.15 MottorPDFInter,Inter,Arial,sans-serif;letter-spacing:-.6px;margin:0 0 14px;height:auto}
.article-pdf .article-sidebar-cta p{font-size:16px;line-height:1.3;color:#858585;margin:0 0 20px}
.article-pdf .article-sidebar-cta .btn{width:100%;margin:0}
.article-pdf .article-sidebar-cta .btn-primary{background:#0665ff;border-color:#0665ff}
.article-pdf .related-posts{margin:64px auto 80px;padding:0}
.article-pdf .section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 36px}
.article-pdf .section-heading h2{font-size:28px;line-height:1.2;font-weight:500;letter-spacing:-.6px;margin:0}
.article-pdf .section-heading>a{font-size:14px;color:#0665ff}
.article-pdf .related-posts__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
.article-pdf .post-card{border:1px solid #ddd;border-radius:6px;background:#fff;box-shadow:none;min-width:0;overflow:hidden;display:flex;flex-direction:column}
.article-pdf .post-card__image{aspect-ratio:1200/630;display:block;padding:0;background:#fff;border-radius:0;flex-shrink:0}
.article-pdf .post-card__image img{width:100%;height:100%;object-fit:scale-down;border-radius:0}
.article-pdf .post-card__body{padding:16px 20px;gap:8px;display:flex;flex-direction:column;flex:1}
.article-pdf .post-card__category{font-size:11px;font-weight:400;line-height:1.3;letter-spacing:0;color:#0665ff}
.article-pdf .post-card h3{font-size:16px;line-height:1.25;font-weight:500;letter-spacing:0;margin:0;display:block;overflow:visible}
.article-pdf .post-card p{font-size:12px;line-height:1.4;color:#858585;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.article-pdf .post-card__meta{margin-top:auto;padding-top:8px;font-size:11px;gap:14px;color:#858585}
.article-pdf .article-card--text .post-card__body{padding:24px;gap:16px}
.article-pdf .article-card--text h3{font-size:22px}
.article-pdf .blog-cta.site-container{padding:0;margin:0 auto 80px}
.article-pdf .blog-cta__inner{min-height:330px;padding:40px;border-radius:8px;background:linear-gradient(90deg,#0665ff,#8ca9ff);position:relative;overflow:hidden;display:flex;align-items:center}
.article-pdf .blog-cta__content{width:55%;position:relative;z-index:1;padding:0}
.article-pdf .blog-cta h2{font-size:38px;font-weight:400;letter-spacing:-2px;max-width:500px;line-height:1.2;margin:0 0 22px}
.article-pdf .blog-cta p{font-size:16px;max-width:380px;line-height:1.4;color:#d4e0ff;margin:0 0 28px}
.article-pdf .blog-cta__image{position:absolute;right:24px;bottom:-96px;width:563px;height:434px;max-width:none;object-fit:contain}
.article-pdf .blog-cta__actions{display:flex;flex-wrap:wrap;gap:20px}

.article-pdf .blog-cta .btn--outline-light{border:1px solid #fff;color:#fff;background:transparent}
.article-pdf .blog-cta .btn-secondary{background:white;color:#333;border-color:white}
@media(max-width:1100px){
 .article-pdf-hero__copy{max-width:62%}.article-pdf-hero__art{right:-90px;width:55vw;height:auto;top:30px}.article-pdf-hero h1{font-size:34px}.article-pdf .article-meta-panel{margin-top:36px;gap:16px}
 .article-pdf .article-layout{grid-template-columns:minmax(0,1fr) 280px;gap:28px}.article-pdf .article-sidebar-cta__title{font-size:25px}
 .article-pdf .blog-cta__content{width:60%}.article-pdf .blog-cta__image{width:45%;height:auto;bottom:0;right:0}.article-pdf .blog-cta h2{font-size:32px}
}

@media(max-width:980px){
 .article-pdf-hero__art{width:42vw;right:-45px;top:60px}
 .article-pdf .article-layout{display:block}.article-pdf .article-sidebar{margin-top:32px}.article-pdf .article-sidebar__sticky{gap:20px;position:static;max-height:none;overflow:visible}.article-pdf .article-toc-mobile{margin-bottom:32px}
 .article-pdf .article-sidebar-cta{margin:0}.article-pdf .related-posts__grid{gap:20px}
}
@media(max-width:767px){
 .article-pdf .site-container{width:calc(100% - 32px)}
 .article-pdf-hero__inner{min-height:0;padding-top:24px;padding-bottom:24px}.article-pdf-hero .breadcrumbs{margin-bottom:28px;font-size:11px}.article-pdf-hero .breadcrumbs>span:last-child{display:none}.article-pdf-hero .breadcrumbs>span:nth-last-child(2){display:none}
 .article-pdf-hero__copy{max-width:none}.article-pdf-hero h1{font-size:30px;line-height:1.2;letter-spacing:-.7px;margin:20px 0 16px}.article-pdf .article-hero__lead{font-size:16px}.article-pdf .article-meta-panel{margin-top:28px;gap:20px}.article-pdf .article-meta-panel__items{gap:20px}.article-pdf-hero__art{position:static;width:100%;height:auto;max-height:280px;margin:20px 0 0;object-fit:contain}
 .article-pdf .article-page{padding-top:32px}.article-pdf .article-content h2{font-size:25px;margin-top:36px}.article-pdf .article-content h3{font-size:21px}.article-pdf .article-share{padding:16px}
 .article-pdf .related-posts{margin-top:40px;margin-bottom:40px}.article-pdf .section-heading{margin-bottom:24px}.article-pdf .section-heading h2{font-size:26px}.article-pdf .related-posts__grid{grid-template-columns:1fr;gap:20px}
 .article-pdf .blog-cta.site-container{margin-bottom:40px}.article-pdf .blog-cta__inner{padding:26px;display:block;min-height:0}.article-pdf .blog-cta__content{width:100%}.article-pdf .blog-cta h2{font-size:28px}.article-pdf .blog-cta p{font-size:16px}.article-pdf .blog-cta__image{position:static;width:100%;height:240px;margin:16px 0 -26px}.article-pdf .blog-cta__actions{gap:12px}
}

/* Решение владельца 01.11: вся статья слева, содержание рядом с её началом. */
.article-pdf .article-page{padding-top:40px;padding-bottom:0}
.article-pdf .article-main,.article-pdf .article-sidebar{width:auto;max-width:100%;min-width:0;justify-self:stretch}
.article-pdf .article-layout{grid-template-columns:minmax(0,1fr) 320px;gap:40px;align-items:stretch}
.article-pdf-hero{background:none}
.article-pdf-hero__inner{min-height:0;padding:0;margin-bottom:28px}
.article-pdf-hero__copy{max-width:none}
.article-pdf-hero .breadcrumbs{margin-bottom:28px}
.article-pdf .article-hero__lead{max-width:none}
.article-pdf .article-meta-panel{margin-top:28px;gap:20px 32px}
.article-pdf .article-cover{margin:0 0 32px;width:100%;height:auto;aspect-ratio:auto;border-radius:6px;overflow:hidden}
.article-pdf .article-cover__image{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
.article-pdf .article-content{width:100%;max-width:100%;overflow-wrap:anywhere}
.article-pdf .article-content :where(p,div,section,figure,blockquote,ul,ol){max-width:100%;box-sizing:border-box;min-width:0}
.article-pdf .article-content :where(img,video,iframe,svg){max-width:100%}
.article-pdf .article-content :where(img,video){height:auto}
.article-pdf .article-content [id]{scroll-margin-top:var(--article-sidebar-offset,140px)}
.article-pdf .article-table-scroll{min-width:0;max-width:100%}
.article-pdf .delivery-legend{list-style:none;padding:0;margin:16px 0 28px;display:flex;flex-wrap:wrap;gap:12px 24px}
.article-pdf .delivery-legend li{display:flex;align-items:center;gap:8px;margin:0}
.article-pdf .delivery-legend img,.article-pdf .delivery-ratings img{width:25px;height:25px;max-width:none;display:inline-block;vertical-align:middle}
.article-pdf .delivery-ratings{margin:24px 0 28px;border-top:1px solid #ddd}
.article-pdf .delivery-rating{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid #ddd;align-items:center}
.article-pdf .delivery-rating dt{font-weight:500}
.article-pdf .delivery-rating dd{margin:0;display:flex;flex-wrap:wrap;gap:6px}
@media(max-width:1100px){.article-pdf .article-layout{grid-template-columns:minmax(0,1fr) 280px;gap:28px}.article-pdf-hero__copy{max-width:none}}
@media(max-width:980px){.article-pdf .article-layout{display:block}.article-pdf .article-sidebar{width:100%}.article-pdf .article-toc-mobile{display:block;margin:0 0 32px}.article-pdf .article-sidebar .sidebar-card--toc{display:block}}
@media(max-width:767px){.article-pdf .article-page{padding-top:24px}.article-pdf-hero__inner{padding:0;margin-bottom:24px}.article-pdf .article-meta-panel{margin-top:24px}.article-pdf .article-cover{margin-bottom:24px}.article-pdf .delivery-rating{grid-template-columns:1fr;gap:8px}.article-pdf .delivery-legend{display:grid;gap:10px}}

/* Без JS содержание остаётся единственным и доступным в боковых блоках. */
.article-pdf .article-toc-desktop{display:block}
.article-pdf .article-toc-mobile:empty{display:none}

/* В пределах article-layout, без выхода к related/CTA/footer. Без JS остаётся весь контент. */
.article-pdf .article-sidebar__sticky{width:100%;min-width:0;max-height:none;overflow:visible}
.article-pdf .article-sidebar__sticky.is-sticky{position:sticky;top:var(--article-sidebar-offset,140px)}
.article-pdf .article-sidebar__sticky.is-sticky .article-toc__list{overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable}
.article-pdf .article-sidebar__sticky .article-toc__list:focus-visible{outline:2px solid #0665ff;outline-offset:3px}
.article-pdf .article-toc-desktop:empty{display:none}
@media(max-width:980px){.article-pdf .article-sidebar__sticky.is-sticky{position:static}.article-pdf .article-toc__list{max-height:none!important;overflow:visible}}

/* 02.11: плотнее только правая панель; весь текст статьи остаётся прежним. */
@media(min-width:981px){
 .article-pdf .article-sidebar__sticky{gap:12px;display:flex;flex-direction:column;min-height:0}
 .article-pdf .article-sidebar__sticky>*{flex-shrink:0}
 .article-pdf .article-sidebar__sticky.is-scrollable{overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable}
 .article-pdf .article-sidebar__sticky:focus-visible{outline:2px solid #0665ff;outline-offset:3px}
 .article-pdf .sidebar-card,.article-pdf .article-sidebar-cta{padding:16px}
 .article-pdf .article-toc__title{font-size:18px;margin-bottom:12px}
 .article-pdf .article-toc__list{gap:8px;font-size:14px}
 .article-pdf .article-sidebar-cta{padding:14px 16px}
 .article-pdf .sidebar-cta__logo{width:96px;height:21px;margin-bottom:6px}
 .article-pdf .article-sidebar-cta__title{font-size:20px;margin-bottom:8px}
 .article-pdf .article-sidebar-cta p{font-size:13px;margin-bottom:9px}
}
.article-pdf .article-content [id]{scroll-margin-top:0}

/* 02.11, уточнение владельца: синий только текущий раздел, включая номер/маркер. */
.article-pdf .article-toc__item,.article-pdf .article-toc__item a{color:#161616}
.article-pdf .article-toc__item::marker{color:inherit}
.article-pdf .article-toc__item.is-current,.article-pdf .article-toc__item.is-current a{color:#0665ff}
.article-pdf .article-toc__item a:hover{text-decoration:underline}
