/* Client edits on top of the Figma-matched build (backup: /var/www/fastuser/data/backups/uralts/uralts-20261007-1149-before-custom-edits).
   Loaded last on every page. Desktop spacing ≥1200px is ~30% tighter than the mockup. */

/* Dropdown widths */
/* site-ui.css is injected by JS after this file, so these carry an extra body/html prefix */
html body .site-dropdown-list{width:370px}
html body .site-dropdown-list.site-dropdown-about{width:205px}
html body .site-dropdown-list.site-dropdown-career{width:234px}
html body header .lang-dropdown{width:83px;min-width:0}
html body header .lang-dropdown a{padding:12px 16px}

/* Leaders: photos scale proportionally instead of squashing */
.leader-photo{height:auto!important;aspect-ratio:445/560}

/* Career pages second screen: text 2/3, photo 1/3, photo keeps the 909x800 proportion */
@media(min-width:992px){
/* text column caps at 1000px via the grid track itself; photo stays exactly 1/3, free space goes between them */
.career-story-intro{grid-template-columns:minmax(0,1000px) calc((100% - 48px) / 3)!important;justify-content:space-between;align-items:start}
.career-story-photo{height:auto!important;min-height:0;aspect-ratio:909/800}
}

/* Home: hero buttons 290x110; production carousel starts at the container's left edge */
@media(min-width:1200px){
.start-section .button.strange.tall{width:290px;height:110px}
.manufacture-section .slider-wrapper{margin:0;padding-left:30px}
#centeredSlider .slick-list{padding:0!important}
}
@media(min-width:1200px) and (max-width:1699px){.manufacture-section .slider-wrapper{padding-left:20px}}

/* Spacing −30% (desktop) */
@media(min-width:1200px){
.home-news{padding-top:120px!important;padding-bottom:120px!important}
.manufacture-section{padding-top:120px!important;padding-bottom:120px!important}
.about-section{padding-top:120px!important;padding-bottom:120px!important}
.about-numbers{padding-top:94px!important}
.rotation-section{padding-bottom:120px!important}
footer.internal-page,.internal-page footer{padding-top:120px!important}
footer.internal-page{padding-top:0!important}
.catalog-heading-row{margin-top:92px!important}
.figma-plain-hero .inner-title{margin-top:100px!important}
.vacancy-detail-hero .inner-title{margin-top:92px!important}
.catalog-section,.inner-content,.product-details,.career-story{padding-top:80px!important}
.article-page .article-body{padding-top:80px!important}
.article-page .article-related{padding-top:120px!important}
.vacancies-section{padding-top:74px!important}
.vacancy-detail{padding-bottom:80px!important}
.contact-map{margin-top:80px!important}
.feature-stack,.social-feature-stack{margin-top:120px!important}
.about-history,.about-leadership,.about-code{padding-top:120px!important}
.about-mission,.about-map{margin-top:120px!important}
.tl{margin-top:74px!important;padding-bottom:80px!important}
}
/* "Наверх" in the footer sits above the footer columns (they used to cover it and swallow clicks). */
html body .footer-inner .footer-top{position:absolute;z-index:5}
@media(max-width:575px){html body .footer-inner .footer-text-pad,html body footer .footer-left .text-grey{padding-right:64px}}
/* Breadcrumbs 10px higher, same line on every template (inner hero, plain hero, product, article). */
@media(min-width:1200px){
html body .inner-hero .container,html body.article-page .article-hero .container{padding-top:150px}
html body .figma-plain-hero,html body .product-top{padding-top:150px}
}
/* Career pages blue hero: 450px instead of 700 (desktop + tablet; phone keeps 320). */
@media(min-width:576px){html body .career-blue-hero,html body .career-blue-hero .container{height:450px;min-height:0}}
