/*
Theme Name: Kolesnikov Automation
Theme URI: https://nkolesnikov.ru/
Author: Nikita Kolesnikov
Author URI: https://nkolesnikov.ru/
Description: Classic WordPress theme for the Kolesnikov Automation service site.
Version: 1.6.1
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: kolesnikov-automation
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

.wp-site-blocks,
.ka-wp-content {
  min-height: 1px;
}

.ka-post-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 9rem 0 5rem;
}

.ka-post-shell img {
  max-width: 100%;
  height: auto;
}

.ka-pagination {
  margin-top: 2rem;
}

.custom-logo-link img {
  display: block;
  max-height: 48px;
  width: auto;
}

.desktop-nav > .menu,
.mobile-nav > .menu {
  display: contents;
}

.desktop-nav .menu-item,
.mobile-nav .menu-item {
  display: contents;
}

.setup-required.notice {
  border-left-color: #a6ff00;
}

.footer-columns .legal-draft {
  min-width: 0;
  padding: 12px;
  overflow-wrap: anywhere;
}

body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}


/* Static contact examples: no visitor input in demo mockups. */
.nx-static-label{display:block;font-size:12px;margin:10px 0 4px}
.nx-static-input{display:block;width:100%;box-sizing:border-box;padding:12px;border:1px solid #cbd2d9;border-radius:6px;background:#fff;color:#58616b;font-size:14px;line-height:1.4}

.project-request .shell > p:not(.project-request__eyebrow){color:#b8c7cc}
.legal-document{min-width:0;overflow-wrap:anywhere}

/* Single landing: readable headline, anchor clearance and direct contact choices. */
.growth-home:not(.ka-refined) #growth-title{font-size:clamp(48px,5.7vw,86px);line-height:1.08;max-width:1100px;text-wrap:balance}
.growth-home:not(.ka-refined) .growth-title-line{white-space:normal}
.growth-home:not(.ka-refined) .growth-lead{max-width:520px}
#solutions,#order-story,#projects,#prices,#process,#faq,#request{scroll-margin-top:100px}
.ka-contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:32px}
.ka-contact-grid .ka-contact-link{position:relative;display:flex;width:auto;flex-direction:column;gap:12px;min-height:140px;padding:26px;border:1px solid #385048;border-radius:12px;background:#12221f;color:#f3f5ed;text-decoration:none;transition:background .18s,border-color .18s}
.ka-contact-grid .ka-contact-link:hover{background:#1c3028;border-color:#d6ff57}
.ka-contact-grid .ka-contact-link:focus-visible{outline:3px solid #d6ff57;outline-offset:5px}
.ka-contact-name{font-size:22px;font-weight:600;line-height:1.25;color:#d6ff57}
.ka-contact-detail{font-size:15px;line-height:1.5;overflow-wrap:anywhere;color:#c9d6ce;padding-right:16px}
.ka-contact-arrow{position:absolute;right:22px;top:26px;color:#d6ff57;font-size:22px}
.ka-landing-footer .footer-columns{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:760px){
 .growth-home:not(.ka-refined) #growth-title{font-size:clamp(32px,7.4vw,52px);max-width:100%;letter-spacing:-.04em}
 .ka-contact-grid{grid-template-columns:1fr;gap:12px}
 .ka-contact-grid .ka-contact-link{min-height:108px;padding:22px;gap:8px}
 .ka-contact-name{font-size:21px}
 .ka-landing-footer .footer-columns{grid-template-columns:1fr;gap:30px}
 .growth-direct a{min-height:44px}
}
@media(prefers-reduced-motion:reduce){.ka-contact-grid .ka-contact-link{transition:none}}
