/* UDAF visual system adapted to existing StroyAudit content and forms. */
.sa-theme{--sa-accent:#1f594a;--sa-border:rgba(22,37,42,.16);--sa-muted:#53656a;background:var(--udaf-bg);color:var(--udaf-ink)}
.sa-theme .sa-content{--sa-accent:#1f594a;--sa-border:rgba(22,37,42,.16);--sa-muted:#53656a;font-family:var(--udaf-body);line-height:1.75}
.sa-theme .container{width:min(calc(100% - 2rem),var(--udaf-container));max-width:var(--udaf-container);margin-inline:auto;padding-inline:0}
.sa-theme .container .container{width:100%}
.sa-brand{width:180px;height:auto;object-fit:contain}.sa-header-contact{align-items:center;gap:24px;font-size:.9rem}.sa-header-contact>a:not(.btn){color:var(--udaf-ink);text-decoration:none}
.sa-theme .udaf-navbar{background:#f8f9f6}.sa-theme .udaf-language-switch[data-current=ua] .lang-ua,.sa-theme .udaf-language-switch[data-current=ru] .lang-ru{color:var(--udaf-primary);text-decoration:underline}
.udaf-offcanvas .btn-close{min-width:44px;min-height:44px;padding:10px;box-sizing:border-box}.sa-mobile-contact{display:grid;gap:12px;padding-top:24px}.sa-mobile-contact>a:not(.btn){font-size:.95rem;color:var(--udaf-primary)}
.sa-theme .udaf-cms-menu .udaf-sub-toggle{display:grid;place-items:center;align-self:stretch;padding:0;line-height:1}.udaf-cms-menu>li>ul:not([hidden]){max-height:70vh;overflow-y:auto}.udaf-cms-menu-mobile>li>ul:not([hidden]){max-height:none;overflow:visible}
.sa-theme .sa-content h1{font-family:var(--udaf-display);font-weight:800;font-size:clamp(2rem,3.2vw,3.5rem);line-height:1.08;letter-spacing:-.035em;margin:0 0 28px;max-width:none;color:var(--udaf-ink)}
.sa-theme .sa-content h2{font-weight:800;font-size:clamp(1.5rem,2.4vw,2.2rem);letter-spacing:-.025em;color:var(--udaf-ink)}.sa-theme .sa-content h3{font-weight:750;color:var(--udaf-ink)}
.sa-theme .sa-content :is(.blog-list-wrap,.blog-article-wrap,.blog-article-content,.blog-article-anons,p,div[align],.sa-prose,.sa-section-intro){max-width:none;width:auto;margin-inline:0;text-align:left}
.sa-theme .sa-content .blog{padding:40px 0 56px}.sa-theme .sa-content>.container{padding-block:40px}
.sa-theme .breadcrumbs{padding:18px 0 0;background:transparent;color:var(--udaf-muted)}.sa-theme .breadcrumbs .sa-breadcrumb-title{display:none}.sa-theme .breadcrumbs ol{display:flex;gap:10px;flex-wrap:wrap;list-style:none;margin:0;padding:0;font-size:.85rem}.sa-theme .breadcrumbs ol li+li:before{content:'/';padding-right:10px}.sa-theme .breadcrumbs a{color:var(--udaf-primary)}
.sa-theme .sa-content .sa-hero{padding:28px 0 52px;margin-bottom:0}.sa-theme .sa-hero h1{font-size:clamp(2.6rem,4.4vw,5.2rem);line-height:1.02}.sa-theme .sa-section-intro{font-size:clamp(1.05rem,1.5vw,1.3rem);color:var(--udaf-muted)}
.sa-theme .sa-section{margin:52px 0}.sa-theme .sa-grid{gap:22px}.sa-theme .sa-card,.sa-theme .blog-list-item{border:1px solid var(--sa-border);border-radius:var(--udaf-radius);background:white;box-shadow:none}.sa-theme .sa-card{padding:26px}.sa-theme .sa-article-card,.sa-theme .sa-example{padding:0;overflow:hidden}.sa-theme .sa-scenario{background:var(--udaf-surface-2);border-top:1px solid var(--sa-border)}
.sa-theme .sa-content .sa-card a,.sa-theme .sa-content .blog-list-title a{color:var(--udaf-primary)}.sa-theme .sa-card h3 a{text-decoration:none;color:var(--udaf-ink)}
.sa-theme .sa-article-card img,.sa-theme .sa-example img{background:var(--udaf-surface-2);height:210px;object-fit:contain}
.sa-theme .sa-content .sa-button,.sa-theme .sa-content .sa-actions>a{border-radius:.7rem;border-color:var(--udaf-primary);background:var(--udaf-primary);font-weight:700;padding:12px 20px;color:white;text-decoration:none}.sa-theme .sa-content .sa-actions>a.sa-button-secondary{color:var(--udaf-primary);background:transparent;border-color:var(--udaf-primary)}
.sa-theme .sa-callout,.sa-theme .sa-format,.sa-theme .sa-cta{border-color:var(--sa-border);border-left-color:var(--udaf-primary);background:var(--udaf-surface-2);border-radius:var(--udaf-radius)}
.sa-theme .sa-accordion,.sa-theme .sa-brief{border-radius:var(--udaf-radius)!important}.sa-theme .sa-badge{color:var(--udaf-primary);background:var(--udaf-surface-2);padding:5px 9px;border-radius:.35rem}.sa-theme .sa-meta{color:var(--sa-muted)}
.sa-theme .sa-topics{list-style:none;display:flex;flex-wrap:wrap;gap:10px;padding:0;margin:20px 0}.sa-theme .sa-topics a{background:#fff;border:1px solid var(--sa-border);border-radius:.6rem;text-decoration:none;min-height:44px}
.sa-theme .sa-pagination{display:flex;list-style:none;gap:10px;padding:0;margin:24px 0}.sa-theme .sa-pagination a,.sa-theme .sa-pagination span{border:1px solid var(--sa-border);border-radius:.5rem;min-width:44px;justify-content:center;background:white}.sa-theme .sa-pagination [aria-current]{background:var(--udaf-primary);color:white}
.sa-theme .blog-list-item{display:flex;gap:26px;padding:26px;margin-bottom:24px}.sa-theme .blog-list-title{font-size:1.5rem!important;line-height:1.3;margin:12px 0!important}.sa-theme .blog-list-item img{max-width:280px;border-radius:.7rem}.sa-theme .blog-list-item>div{min-width:0}.sa-theme .blog-list-date{font-size:.85rem;color:var(--sa-muted)}
.sa-theme .blog-article-content{font-size:1.07rem;line-height:1.8}.sa-theme .blog-article-content h2{margin-top:2rem}.sa-theme .blog-article-content img{height:auto;max-width:100%;border-radius:.7rem}.sa-theme blockquote{background:var(--udaf-surface-2);border-left:3px solid var(--udaf-primary)}
.sa-theme #order_form{width:100%;max-width:none;padding:28px;background:white;border:1px solid var(--sa-border);border-radius:var(--udaf-radius)}.sa-theme #order_form input[type=submit]{background:var(--udaf-primary)!important;border-color:var(--udaf-primary)!important;border-radius:.7rem}.sa-theme #order_form :is(input,select,textarea){border-radius:.5rem}.sa-theme #order_form .sa-brief{background:var(--udaf-surface-2)}
.sa-theme .sa-photo-card{border-radius:var(--udaf-radius);overflow:hidden;border-color:var(--sa-border)}.sa-theme .sa-photo-caption{color:var(--udaf-ink)}
.sa-theme .udaf-footer{background:var(--udaf-deep);color:#e1eae3;padding:48px 0;margin-top:24px}.sa-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:36px}.sa-footer-grid a{display:block;color:#e1eae3;padding:5px 0}.sa-footer-grid h2{font-size:1.1rem;font-weight:800;color:white}.sa-footer-brand{font-size:1.7rem;font-weight:900;text-decoration:none}
.sa-theme :is(a,button,summary,input,select,textarea):focus-visible{outline:3px solid #977d27;outline-offset:3px}
@media(max-width:767px){.sa-theme .udaf-navbar .container-udaf{padding-inline:0;gap:8px!important}.sa-brand{width:145px}.sa-theme .navbar-brand{max-width:none;min-width:0}.sa-theme .udaf-language-switch .lang-link{min-width:32px}.sa-theme .sa-section{margin:36px 0}.sa-theme .sa-content .blog{padding-top:28px}.sa-theme .sa-content .sa-hero{padding:12px 0 24px}.sa-theme .sa-card{padding:20px}.sa-theme .sa-article-card,.sa-theme .sa-example{padding:0}.sa-theme .blog-list-item{display:block;padding:20px}.sa-theme .blog-list-item img{width:100%;max-width:100%;margin-bottom:18px}.sa-theme #order_form{padding:18px}.sa-footer-grid{grid-template-columns:1fr;gap:24px}.sa-theme .sa-content h1{overflow-wrap:anywhere}.sa-theme .sa-content table{max-width:100%}}
@media print{.udaf-header,.udaf-footer,.skip-link{display:none}.sa-theme{background:white}.sa-theme .container{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}
.sa-theme .btn-primary{--bs-btn-bg:#1f594a;--bs-btn-border-color:#1f594a;--bs-btn-hover-bg:#174638;--bs-btn-hover-border-color:#174638;--bs-btn-active-bg:#174638;--bs-btn-active-border-color:#174638;border-radius:.7rem;min-height:44px;display:inline-flex;align-items:center;justify-content:center;font-weight:750}

.sa-theme .blog-list-more{border-bottom-color:currentColor}
