/*
Theme Name: BlankSlate
Theme URI: https://opencollective.com/blankslate
Author: Web Guy
Author URI: https://opencollective.com/blankslate#section-contributors
Description: Donate: https://opencollective.com/blankslate. Learn: https://blankslate.me/. BlankSlate is the definitive WordPress boilerplate starter theme. I've carefully constructed the most clean and minimalist theme possible for designers and developers to use as a base to build websites for clients or to build completely custom themes from scratch. Clean, simple, unstyled, semi-minified, unformatted, and valid code, SEO-friendly, jQuery-enabled, no programmer comments, standardized and as white label as possible, and most importantly, the CSS is reset for cross-browser-compatability, with no intrusive visual CSS styles added whatsoever. A perfect skeleton theme. For support and suggestions, go to: https://github.com/webguyio/blankslate/issues. Thank you.
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 2025
Requires at least: 5.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: blankslate

BlankSlate WordPress Theme 2011-2025
BlankSlate is distributed under the terms of the GNU GPL
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{scroll-behavior:smooth}a{text-decoration-skip-ink:auto}a[href^="tel"]{color:inherit;text-decoration:none}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;border-radius:0}input[type="search"]{-webkit-appearance:textfield}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important;word-break:normal}
.screen-reader-text:focus{background-color:#f7f7f7;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#007acc;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
.skip-link{left:-9999rem;top:2.5rem;z-index:999999999;text-decoration:underline}
.skip-link:focus{display:block;left:6px;top:7px;font-size:14px;font-weight:600;text-decoration:none;line-height:normal;padding:15px 23px 14px;z-index:100000;right:auto}
.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active){position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);white-space:nowrap}


/*главное*/
@font-face {
    font-family: 'Manrope';
    src: url('assets/fonts/manrope-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('assets/fonts/manrope-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Manrope';
    src: url('assets/fonts/manrope-600.woff2') format('woff2');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Manrope';
    src: url('assets/fonts/manrope-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}



div, p, span, a, input, textarea, button, nav, label {
    font-family: 'Manrope';
    color: #1E1F22;
    -webkit-font-feature-settings: 'pnum' on, 'lnum' on;
    font-feature-settings: 'pnum' on, 'lnum' on;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope';
    color: #1E1F22;
    -webkit-font-feature-settings: 'pnum' on, 'lnum' on;
    font-feature-settings: 'pnum' on, 'lnum' on;
}

body, html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable
}

:root {
    --color-accent: #002A5C;
}

a {
    text-decoration: none;
    color: var(--color-accent);
    transition: .2s;
}

a:hover {
    color: #051a32;
}

.container {
    max-width: calc(1220px - 20px);
    margin: 0 auto;
    padding: 0 10px;
}

div#container {
    min-height: 70vh;
}

/*шапка*/
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
     padding: 20px 0;
}

.site-title img {
    max-width: 350px;
    height: auto;
    object-fit: contain;
}

/*поиск*/
body:not(.home) .header-search {
    display: none;
}

.cars-search-field {
    width: 100%;
    max-width: 400px;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.cars-search-field:focus {
    outline: none;
    border-color: #007cba;
}

.cars-item {
    transition: all 0.3s ease;
}

.cars-item[style*="display: none"] {
    opacity: 0;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    transform: scale(0.8);
}

/* Плавное появление/исчезновение сообщения */
#cars-not-found {
    transition: all 0.3s ease;
}

/*список машин*/
.cars {
    margin: 80px 0;
}

.cars-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px 24px;
}

h3.cars-item-title a {
    border: 5px solid var(--color-accent);
    border-radius: 10px;
    font-size: 50px;
    padding: 20px;
    font-weight: 700;
    display: block;
}

h3.cars-item-title a:hover {
    background: #fbfbfb;
}

/*страница машины*/
body.single article.car {
    margin: 80px 0;
}

header.car-header {
    margin-bottom: 40px;
}

h1.car-title {
    font-size: 80px;
    font-weight: 700;
}

.car-content + .car-main {
    margin-top: 40px;
}

.car-folders-content-doc {
    display: none;
}

.car-folders-content-doc.show {
    display: block;
}

.car-folders {
    display: flex;
    gap: 12px;
}

.car-folders-title {
    background: #fff;
    border-radius: 10px 10px 0 0;
    padding: 12px;
    cursor: pointer;
    border: 2px solid #f2f2f2;
    border-bottom: 0;
}

.car-folders-title.show {
 background: #f2f2f2;
}

.car-folders-content-doc {
    background: #f2f2f2;
    padding: 40px;
    border-radius: 0 10px 10px 10px;
}

a.car-doc-file {
    display: flex;
    gap: 15px;
    align-items: center;
}

span.file-type svg {
    max-width: 40px;
    height: auto;
    display: block;
}

a.car-doc-file + a.car-doc-file {
    margin-top: 20px;
}

span.file-title {
    font-size: 20px;
    font-weight: 500;
}

/*подвал*/
footer.footer {
    background: #000000;
    padding: 12px 0;
}

.footer-inner {
    color: #fff;
}

@media(max-width: 1240px) {
 .cars-inner {
    grid-template-columns: 1fr 1fr;
}   
    
    .site-title img {
    max-width: 280px;
}
} 


@media(max-width: 992px) {
.header-inner {
    flex-direction: column;
    gap: 20px;
}
    
    .site-title img {
    max-width: 240px;
}
    
    .header-search {
    width: 80%;
}
    
.cars-inner {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
    
    .cars {
    margin: 40px 0;
}
    
    h3.cars-item-title a {
    border: 3px solid var(--color-accent);
    border-radius: 7px;
    font-size: 24px;
    padding: 10px;
}
    
.car-folders {
    gap: 5px;
    overflow-x: auto;
    margin: 0 -10px;
}  
    
.car-folders-title {
    min-width: 40%;
}
    
.car-folders-title:first-child {
    margin-left: 10px;
}
     
.car-folders-title:last-child {
    margin-right: 10px;
}
    
.car-folders-content {
    margin: 0 -10px;
}
    
.car-folders-content-doc {
    padding: 20px 10px;
    border-radius: 0;
}
    
span.file-type svg {
    max-width: 34px;
}
    
a.car-doc-file {
    gap: 10px;
}
    
span.file-title {
    font-size: 17px;
}
    
body.single article.car {
    margin: 40px 0;
}
    
h1.car-title {
    font-size: 40px;
}
    
}