/* Предметные изображения и технические разделы инструмента. */
.content-page.tool-guide .hero-media.is-tool-hero,.content-page.kelly-guide .hero-media.is-tool-hero{background:var(--paper);overflow:hidden}
.content-page.tool-guide .hero-media.is-tool-hero img,.content-page.kelly-guide .hero-media.is-tool-hero img{width:100%;height:410px;object-fit:contain;padding:20px;background:var(--paper)}
.content-page.tool-guide .hero-media.is-tool-hero figcaption,.content-page.kelly-guide .hero-media.is-tool-hero figcaption{color:var(--quiet);margin:0;padding:0 20px 18px;font-size:14px;line-height:1.6}
.tool-guide .tool-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 28px}
.tool-guide .tool-summary>.card{background:none;overflow:visible}
.tool-guide .tool-summary .tool-summary-image{display:block;width:100%;background:var(--paper);overflow:hidden}
.tool-guide .tool-summary .tool-summary-image img{display:block;width:100%;height:245px!important;object-fit:contain;padding:16px;background:var(--paper);border-radius:0}
.tool-guide .tool-summary .card .c{padding:22px 0 0}
.tool-guide .tool-summary .card h3{font-size:24px;line-height:1.3;margin:0 0 14px}
.tool-guide .tool-summary .card p{font-size:16px;line-height:1.7}
.tool-guide .tool-summary .card .c a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:.25em}
.tool-guide .tool-type-note{font-size:14px;line-height:1.7;max-width:76ch;margin-top:28px;color:var(--muted)}
.content-page.tool-guide .tool-type-section{max-width:1120px;margin-inline:auto}
.tool-guide .tool-type-section>h2{max-width:30ch;scroll-margin-top:120px;margin-bottom:32px}
.tool-guide .tool-detail-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:44px;align-items:start}
.tool-guide .tool-detail-copy{min-width:0}
.tool-guide .tool-detail-copy p{font-size:17px;line-height:1.8;max-width:66ch}
.tool-guide .tool-detail-copy p+p{margin-top:20px}
.tool-guide .tool-detail-copy h3{margin-top:28px;margin-bottom:14px;font-size:22px;line-height:1.4}
.tool-guide .tool-detail-copy h3:first-child{margin-top:0}
.tool-guide .tool-detail-copy .grid-2{display:block!important;margin:0;max-width:none}
.tool-guide .tool-detail-copy .grid-2>div>h3:first-child{margin-top:0}
.tool-guide .tool-type-figure,.kelly-guide .kelly-object-figure{margin:0;background:var(--paper);color:var(--ink);min-width:0}
.tool-guide .tool-type-figure{position:sticky;top:118px}
.tool-guide .tool-object-media,.kelly-guide .tool-object-media{width:100%;aspect-ratio:4/3;overflow:hidden}
.tool-guide .tool-object-media img,.kelly-guide .tool-object-media img{display:block;width:100%;height:100%;object-fit:contain;padding:20px;background:var(--paper)}
.tool-guide .tool-type-figure figcaption,.kelly-guide .kelly-object-figure figcaption{color:var(--quiet);font-size:14px;line-height:1.6;padding:0 20px 18px}
.kelly-guide .kelly-object-figure{max-width:980px;margin:0 0 36px}
.kelly-guide .kelly-object-figure .tool-object-media{aspect-ratio:16/8}
.content-page.kelly-guide .tool-attached-instruments .card>.media{aspect-ratio:4/3;background:var(--paper)}
.content-page.kelly-guide .tool-attached-instruments .card>.media img{width:100%;height:100%;object-fit:contain;padding:16px;background:var(--paper)}
.kelly-guide .tool-attached-instruments .card .c{padding:20px 24px}
.kelly-guide .tool-attached-instruments h3{margin:0;font-size:23px}
@media(max-width:1000px){
 .tool-guide .tool-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 24px}
 .tool-guide .tool-detail-layout{gap:28px;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
 .content-page.tool-guide .hero-media.is-tool-hero img,.content-page.kelly-guide .hero-media.is-tool-hero img{height:350px}
}
@media(max-width:850px){
 .tool-guide .tool-detail-layout{grid-template-columns:1fr;gap:28px}
 .tool-guide .tool-type-figure{position:static;max-width:680px}
 .tool-guide .tool-object-media{aspect-ratio:16/10}
 .tool-guide .tool-detail-copy p{max-width:72ch}
 .kelly-guide .kelly-object-figure .tool-object-media{aspect-ratio:16/9}
}
@media(max-width:600px){
 .content-page.tool-guide .hero-media.is-tool-hero img,.content-page.kelly-guide .hero-media.is-tool-hero img{height:280px;padding:14px}
 .content-page.tool-guide .hero-media.is-tool-hero figcaption,.content-page.kelly-guide .hero-media.is-tool-hero figcaption{padding:0 16px 16px}
 .tool-guide .tool-summary{grid-template-columns:1fr;gap:32px}
 .tool-guide .tool-summary .tool-summary-image img{height:260px!important;padding:14px}
 .tool-guide .tool-summary .card .c{padding-top:20px}
 .tool-guide .tool-type-section>h2{margin-bottom:24px;max-width:100%;scroll-margin-top:92px}
 .tool-guide .tool-detail-layout{gap:24px}
 .tool-guide .tool-detail-copy p{font-size:17px;line-height:1.8}
 .tool-guide .tool-object-media,.kelly-guide .tool-object-media{aspect-ratio:4/3}
 .tool-guide .tool-object-media img,.kelly-guide .tool-object-media img{padding:14px}
 .tool-guide .tool-type-figure figcaption,.kelly-guide .kelly-object-figure figcaption{padding:0 16px 16px;font-size:14px}
 .kelly-guide .kelly-object-figure{margin-bottom:28px}
 .kelly-guide .kelly-object-figure .tool-object-media{aspect-ratio:4/3}
}
