/*
Theme Name: SP Theme
Theme URI: https://cms3.ru/wordpress-pustaya-tema/
Author: Alex Kuimov
Author URI: https://cms3.ru
Description: The blank wordpress theme
Version: 1.0.0
Text Domain: sp-theme
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/*WordPress Core*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');


.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

.gallery-caption {
    display: block;
}

.bypostauthor {
    display: block;
}

html, body {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
}

:root {
    --kb-hero-overlay: .6;
    --kb-hero-title-smoke: .30;
    --kb-border: rgba(0, 0, 0, .12);
    --kb-text: #111;
    --kb-muted: rgba(0, 0, 0, .62);
    --kb-bg: #fff;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--kb-text);
    background: var(--kb-bg);
}
.kb-section {

}

.kb-h2 {
    font-size: 36px;
    line-height: 1.2;
    margin: 0 0 12px;
}

.kb_about_gallery_wrap .kb-h2 {
    color: #fff;
}

.kb-h3 {
    font-size: 20px;
    line-height: 1.25;
    margin: 0 0 10px;
}

.kb-muted {
    color: var(--kb-muted);
}

.kb-hero {
    position: relative;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.kb-hero__bg {
    position: absolute;
    inset: 0;
    background-image: var(--kb-hero-bg);
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.kb-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, var(--kb-hero-overlay));
}

.kb-hero__inner {
    position: relative;
    z-index: 2;
    padding: 48px 0 18px;
}

.kb-logo {
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    font-size: 14px;
    opacity: .92;
    margin-bottom: 22px;
}

.kb-hero__title {
    display: inline-block;
    position: relative;
    padding: 8px 16px;
    border-radius: 14px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 800;
    margin: 0 0 14px;
}

.kb-hero__title::before {
    content: "";
    position: absolute;
    inset: 0 -5px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 18px;
    filter: blur(10px);
    z-index: -1;
}

.kb-hero__lead,
.kb-hero__note {
    color: rgba(255, 255, 255, .92);
    max-width: 760px;
    margin: 0 auto;
}

.kb-hero__lead {
    margin-bottom: 12px;
}

.kb-hero__note {
    opacity: .88;
}

.kb-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #000;
    border-top: 1px solid var(--kb-border);
    border-bottom: 1px solid var(--kb-border);
}

.kb-nav__inner {
    display: grid;
    gap: 8px;

}

.kb-nav__link {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.kb-nav__link:hover {
    text-decoration: underline;
    color: #fff
}

.kb-about .kb-card {
    text-align: center;
}

.kb-carts__slide {

}

.kb-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 14px;
    background: rgba(0, 0, 0, .06);
    border: 1px dashed rgba(0, 0, 0, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, .55);
    font-size: 14px;
}

.kb-list {
    margin: 12px 0 0;
    padding-left: 18px;
    color: rgba(0, 0, 0, .78);
}

.kb-form {
    max-width: 760px;
    margin: 0 auto;
    border: 1px solid var(--kb-border);
    border-radius: 16px;
    padding: 22px;
}

.kb-form :where(input, textarea, select) {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, .22);
    border-radius: 12px;
    padding: 12px 14px;
    outline: none;
}

.kb-form :where(textarea) {
    min-height: 120px;
}

.kb-form :where(input[type="submit"], button) {
    width: auto;
    border: 0;
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 700;
}

.swiper-pagination-bullet {
    opacity: .35;
}

.swiper-pagination-bullet-active {
    opacity: .9;
}


/* CF7 — минимальные стили под KinoBazaar */
.kb-form .kb-cf7 {
    font-size: 16px;
}

.kb-form .kb-cf7__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 768px) {
    .kb-form .kb-cf7__grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px 16px;
    }

    .kb-form .kb-cf7__col--full {
        grid-column: 1 / -1;
    }
}

.kb-form .kb-cf7__label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin: 0 0 8px;
    color: rgba(0, 0, 0, .78);
}

.kb-form .kb-cf7__input,
.kb-form .kb-cf7__textarea,
.kb-form select.kb-cf7__input {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, .22);
    border-radius: 12px;
    padding: 12px 14px;
    background: #fff;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.kb-form .kb-cf7__textarea {
    min-height: 120px;
    resize: vertical;
}

.kb-form .kb-cf7__input:focus,
.kb-form .kb-cf7__textarea:focus {
    border-color: rgba(0, 0, 0, .45);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, .06);
}

.kb-form .kb-cf7__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.kb-form .kb-cf7__btn {
    border: 0;
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 700;
    background: #111;
    color: #fff;
    cursor: pointer;
    transition: transform .08s ease, opacity .15s ease;
}

.kb-form .kb-cf7__btn:hover {
    opacity: .92;
}

.kb-form .kb-cf7__btn:active {
    transform: translateY(1px);
}

.kb-form .kb-cf7__note {
    font-size: 13px;
    color: rgba(0, 0, 0, .6);
}

/* CF7 системные элементы */
.kb-form .wpcf7 form {
    margin: 0;
}

.kb-form .wpcf7-spinner {
    margin-left: 10px;
}

.kb-form .wpcf7-not-valid-tip {
    font-size: 13px;
    margin-top: 8px;
}

.kb-form .wpcf7-response-output {
    margin: 14px 0 0;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
}

/* Сообщения (CF7 сам ставит классы) */
.kb-form .wpcf7 form.invalid .wpcf7-response-output {
    border-color: rgba(220, 53, 69, .45);
}

.kb-form .wpcf7 form.sent .wpcf7-response-output {
    border-color: rgba(25, 135, 84, .45);
}

/* Acceptance */
.kb-form .kb-cf7__acceptance {
    font-size: 13px;
    color: rgba(0, 0, 0, .7);
    line-height: 1.35;
}

.kb-form .kb-cf7__acceptance input {
    transform: translateY(1px);
    margin-right: 8px;
}

section {
    position: relative;
}

.kb-card {
    position: absolute;

}

.kb_about_gallery_wrap {
    position: relative;
}

.about_gallery_slide{
    height: 500px;
    overflow: hidden;
}
.about_gallery_slide img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: cover;
}

.kb-card {
    position: absolute;
    z-index: 9999;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
}

.about_gallery_slide {
    position: relative;
}

.about_gallery_slide:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
}

.kb-card_about_text {
    color: #fff;
    font-size: 22px;
}
.wpcf7-acceptance label{
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.wpcf7-acceptance label input{
    width: auto;
}

.kb-footer{
    border-top: 1px solid var(--kb-border);
    padding: 26px 0;
    background: #fff;
}

.kb-footer__inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.kb-footer__logo{
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 6px;
}

.kb-footer__copy{
    font-size: 13px;
}

.kb-footer__nav{
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.kb-footer__link{
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: lowercase;
}

.kb-footer__link:hover{
    text-decoration: underline;
}
.kb-footer{
    background: #000;
    color: #fff;
}
.swiper-pagination-bullet-active{
    background: #000!important;
}
.kb-carts__slide_img{

}
header{
    background: #000;
}
.site-branding{
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 80%;
    margin: 0 auto;
}
.site-branding img{
    max-width: 500px;
}
.header_in{
    position: relative;
}
.top-navigation-wrapper {
    position: absolute;
    right: 15px;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
}
.header_in{
    padding: 40px 0;
}
.kb-card{
    max-width: 800px;
    margin: 0 auto;
}
.kb-carts{
    padding: 80px 0;
    background: linear-gradient(180deg, #F6F7F9 0%, #EEF0F3 100%);
}
.contact{
    padding: 80px 0;
}
.row.g-4{
    margin: 0;
}
.kb-contact{
    padding: 80px 0;
}
.kb-footer__logo img{
    max-width: 200px;
}
.map_iframe{
    position: absolute;
    top: 0;
}
.kb-form{
    position: relative;
    z-index: 99;
    background: #fff;
}
#contact{
    position: relative;
}
#contact:before{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    filter: blur(50px);
    display: block;
    z-index: 999;
    top: 0;
}
.map_container{
    position: relative;
    z-index: 999;
}
@media screen and (max-width: 860px){
    .site-branding img{
        max-width: 100%;
    }
    .top-navigation-wrapper{
        position: relative;
        top: unset;
        right: unset;
    }
    .kb-nav__inner{
        display: flex;
        margin: 1rem auto;
        justify-content: center;
    }
    .kb-carts__slide .col-lg-6{
        padding: 0;
    }
    .swiper-slide{
        margin: 0!important;
    }
    .kb-carts__slide_img{
        margin-bottom: 1rem;
    }
}
