/*
Theme Name: DTR78 — Чертёж
Description: Блочная тема студии автоматизации DTR78.
Version: 1.0.2
Requires at least: 6.6
Requires PHP: 8.2
Text Domain: dtr78-blueprint
*/

@font-face{font-family:Manrope;src:url('fonts/manrope-lat.woff2') format('woff2');font-weight:200 800;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20A0-20CF}
@font-face{font-family:Manrope;src:url('fonts/manrope-cyr.woff2') format('woff2');font-weight:200 800;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Unbounded;src:url('fonts/unbounded-lat.woff2') format('woff2');font-weight:200 900;font-display:swap;unicode-range:U+0000-00FF,U+2000-206F,U+20A0-20CF}
@font-face{font-family:Unbounded;src:url('fonts/unbounded-cyr.woff2') format('woff2');font-weight:200 900;font-display:swap;unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}

body{margin:0}
:where(h1,h2){text-wrap:balance;overflow-wrap:break-word}
:where(a){text-underline-offset:.2em}
:focus-visible{outline:2px solid #455de3;outline-offset:4px}
.dtr-header{border-bottom:1px solid #d5ddf4;padding-block:14px}
.dtr-header-inner{min-height:42px}
.dtr-header .wp-block-site-title{font-size:1.3rem;font-weight:850;letter-spacing:-.095em}
.dtr-header .wp-block-site-title a,.dtr-header .wp-block-navigation a{text-decoration:none;color:inherit}
.dtr-header .wp-block-navigation a:hover,.dtr-footer a:hover{text-decoration:underline}
.dtr-header .wp-block-navigation a{font-size:.89rem;font-weight:750}
.dtr-header .wp-block-site-logo img{width:29px;height:29px}
.dtr-header .wp-block-navigation__responsive-container.is-menu-open{padding:24px}
.dtr-header .wp-block-navigation__responsive-container.is-menu-open a{font-size:1rem}
.dtr-main{padding-block:22px 54px}
.dtr-article{padding-block:clamp(25px,4.5vw,65px)}
.dtr-article .wp-block-post-title{margin-top:0}
.dtr-article :where(.wp-block-post-content)>:where(h2,h3){margin-block-start:2.05rem}
.dtr-article .wp-block-post-content .dtr-cards h3,.dtr-article .wp-block-post-content .dtr-section h2{margin-block-start:initial}
.dtr-hero{padding:clamp(23px,4.3vw,65px);border-radius:26px;background:var(--wp--preset--color--hero);color:var(--wp--preset--color--paper)}
.dtr-hero .wp-block-columns{gap:clamp(16px,3.2vw,48px);align-items:center!important}
.dtr-hero>.wp-block-columns,.dtr-main .dtr-cards,.dtr-main .alignwide>.wp-block-query,.dtr-section>h2{max-width:none!important}
.dtr-section>p{margin-inline-start:0!important}
.dtr-hero h1{font-size:clamp(1.9rem,4.2vw,4.2rem);letter-spacing:-.06em;line-height:1.09;margin-block:15px 20px;overflow-wrap:normal;text-wrap:initial}
.dtr-hero .dtr-kicker,.dtr-hero em{color:var(--wp--preset--color--mist)}
.dtr-hero em{font-style:normal}
.dtr-hero .wp-block-button:not(.is-style-outline)>.wp-block-button__link{background:#fff;color:#17286f}
.dtr-hero .is-style-outline>.wp-block-button__link{color:#fff;border-color:#b4c3ff}
.dtr-hero .wp-block-image img{border-radius:17px;aspect-ratio:1.23;object-fit:cover;width:100%;display:block;animation:dtr-image-in .65s ease-out both}
@keyframes dtr-image-in{from{opacity:.6;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
.dtr-kicker{font-size:.79rem;font-weight:850;letter-spacing:.1em;text-transform:uppercase;color:var(--wp--preset--color--cobalt)}
.dtr-section{padding-top:clamp(28px,5vw,67px)}
.dtr-section h2{margin-block-end:.65em}
.dtr-cards{gap:14px}
.dtr-cards .wp-block-column,.dtr-card{background:var(--wp--preset--color--paper);padding:clamp(17px,2vw,27px);border:1px solid #d8def3;border-radius:18px}
.dtr-cards .wp-block-column>:first-child,.dtr-card>:first-child{margin-block-start:0}
.dtr-cards .wp-block-column>:last-child,.dtr-card>:last-child{margin-block-end:0}
.dtr-cards .wp-block-column p{margin-block:10px}
.dtr-quick .wp-block-column{padding:13px 16px;font-size:.93rem;font-weight:800}
.dtr-quick .wp-block-column p{margin:0}
.dtr-quick a{display:block;text-decoration:none}
.dtr-quick a:hover{text-decoration:underline}
.dtr-callout{padding:clamp(22px,4vw,48px);background:var(--wp--preset--color--mist);border-radius:22px;margin-block:45px 5px}
.dtr-callout h2{margin-top:0}
.dtr-flow{border-inline-start:4px solid #8395e9;padding:14px 18px;background:#e8edff;border-radius:0 10px 10px 0}
.dtr-footer{border-top:1px solid #d5ddf4;padding-block:25px 33px;color:var(--wp--preset--color--muted)}
.dtr-footer .wp-block-site-title a{text-decoration:none;color:var(--wp--preset--color--ink);font-weight:850}
.dtr-footer p{font-size:.89rem}
.wp-block-button__link:hover{filter:brightness(.91)}
.wp-block-query .wp-block-post-template{gap:15px}
.wp-block-query .wp-block-post-template>.wp-block-post{background:#fff;border:1px solid #d8def3;border-radius:17px;padding:21px}
.wp-block-query .wp-block-post-title{font-family:var(--wp--preset--font-family--manrope);font-size:1.3rem;font-weight:800;letter-spacing:-.035em}
.wp-block-query .wp-block-post-title a{text-decoration:none}
.wp-block-query .wp-block-post-title a:hover{text-decoration:underline}
.dtr-media video{width:100%;max-height:520px;border-radius:18px;background:#141e4a}
.dtr-form{display:grid;gap:15px}
.dtr-form label{font-weight:750;display:grid;gap:5px}
.dtr-form :where(input,select,textarea){font:inherit;width:100%;min-height:44px;box-sizing:border-box;border:1px solid #a3aed8;border-radius:9px;background:#fff;color:#141e4a;padding:9px 12px}
.dtr-form :where(.wp-element-button){width:fit-content;border:none;cursor:pointer}
.dtr-form :where(.dtr-check){display:flex;align-items:flex-start;gap:9px;font-weight:600}
.dtr-form :where(.dtr-check input){min-height:0;width:auto;margin-top:.33em}
.dtr-form :where(.dtr-honey){position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
.dtr-form-output{white-space:pre-line;overflow-wrap:anywhere}
.dtr-hint{font-size:.87rem;color:var(--wp--preset--color--muted)}
.dtr-article #bbpress-forums{font-size:1rem}
.dtr-article #bbpress-forums li.bbp-header,.dtr-article #bbpress-forums li.bbp-footer{background:var(--wp--preset--color--mist)}
.dtr-article #bbpress-forums a{color:var(--wp--preset--color--cobalt)}
@media(max-width:781px){
  .dtr-hero .wp-block-columns,.dtr-cards{gap:12px}
  .dtr-hero .wp-block-image img{aspect-ratio:1.5;margin-block-start:8px}
  .dtr-header .wp-block-navigation__responsive-container-open{display:flex}
  .dtr-header .wp-block-navigation__responsive-container:not(.is-menu-open){display:none}
  .dtr-header .dtr-header-cta{display:none}
  .dtr-main{padding-block-start:14px}
}
@media(prefers-reduced-motion:reduce){.dtr-hero .wp-block-image img{animation:none}}
