/*
 Theme Name:     Calafate Child
 Theme URI:      http://heythemers.com/themes/calafate/
 Description:    A basic child theme for the Calafate theme.
 Author:         Hey Themers
 Author URI:     http://heythemers.com
 Template:       calafate
 Version:        1.0
*/

/* --------------------------------------
-----   Theme customization starts here   -----
------------------------------------------*/


/* Глобальные настройки */

#site-header.sticky {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    background: #ffffffbf !important;
    box-shadow: none;
    padding: 10px 0;
}

.wrapper {
    max-width: 1820px;
}
.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}
.font-open-sans {
    font-family: 'Open Sans', sans-serif;
}

.comments-link {
    display: none !important;
}


#site-footer .widget a:after, .top-menu li a:after, .woocommerce-MyAccount-content mark:after, .woocommerce-edit-address .woocommerce-MyAccount-content .woocommerce-Address-title a:after, .woocommerce-MyAccount-navigation li a:after, .woocommerce-cart .return-to-shop a:after, .shop_table .woocommerce-shipping-calculator a:after, .calafate-checkout-content .chck-link:after, .single-product form.cart button[type="submit"] .text:after, .not-found a:after, .entry-portfolio.hover-two .entry-title h3:after, .entry-portfolio.hover-two .entry-title #respond .form-submit #submit:after, #respond .form-submit .entry-portfolio.hover-two .entry-title #submit:after, .entry-portfolio.hover-two .entry-caption h3:after, .entry-portfolio.hover-two .entry-caption #respond .form-submit #submit:after, #respond .form-submit .entry-portfolio.hover-two .entry-caption #submit:after, .hide-comments:after, .edit-link:after, .comment-reply-link:after, .entry-meta a:after, .entry-archive .entry-read-link:after, .blog .STAMP .stamp-link:after, .entry-minimal__title span:after, h3 .underlined-heading:after, #respond .form-submit #submit .underlined-heading:after, .entry-content a:not(.entry-navigation__item):not(.post-edit-link):not(.fancybox):not(.button):not(.image-text-link):after {
    height: 2px;
    opacity: 0;
}

a:hover #site-footer .widget a:after, #site-footer .widget a:hover a:after, a:hover .top-menu li a:after, .top-menu li a:hover a:after, a:hover .woocommerce-MyAccount-content mark:after, .woocommerce-MyAccount-content a:hover mark:after, a:hover .woocommerce-edit-address .woocommerce-MyAccount-content .woocommerce-Address-title a:after, .woocommerce-edit-address .woocommerce-MyAccount-content .woocommerce-Address-title a:hover a:after, a:hover .woocommerce-MyAccount-navigation li a:after, .woocommerce-MyAccount-navigation li a:hover a:after, a:hover .woocommerce-cart .return-to-shop a:after, .woocommerce-cart .return-to-shop a:hover a:after, a:hover .shop_table .woocommerce-shipping-calculator a:after, .shop_table .woocommerce-shipping-calculator a:hover a:after, a:hover .calafate-checkout-content .chck-link:after, .calafate-checkout-content a:hover .chck-link:after, a:hover .single-product form.cart button[type="submit"] .text:after, .single-product form.cart button[type="submit"] a:hover .text:after, a:hover .not-found a:after, .not-found a:hover a:after, a:hover .entry-portfolio.hover-two .entry-title h3:after, .entry-portfolio.hover-two .entry-title a:hover h3:after, a:hover .entry-portfolio.hover-two .entry-title #respond .form-submit #submit:after, .entry-portfolio.hover-two .entry-title #respond .form-submit a:hover #submit:after, a:hover #respond .form-submit .entry-portfolio.hover-two .entry-title #submit:after, #respond .form-submit .entry-portfolio.hover-two .entry-title a:hover #submit:after, a:hover .entry-portfolio.hover-two .entry-caption h3:after, .entry-portfolio.hover-two .entry-caption a:hover h3:after, a:hover .entry-portfolio.hover-two .entry-caption #respond .form-submit #submit:after, .entry-portfolio.hover-two .entry-caption #respond .form-submit a:hover #submit:after, a:hover #respond .form-submit .entry-portfolio.hover-two .entry-caption #submit:after, #respond .form-submit .entry-portfolio.hover-two .entry-caption a:hover #submit:after, a:hover .hide-comments:after, a:hover .edit-link:after, a:hover .comment-reply-link:after, a:hover .entry-meta a:after, .entry-meta a:hover a:after, a:hover .entry-archive .entry-read-link:after, .entry-archive a:hover .entry-read-link:after, a:hover .blog .STAMP .stamp-link:after, .blog .STAMP a:hover .stamp-link:after, a:hover .entry-minimal__title span:after, .entry-minimal__title a:hover span:after, a:hover h3 .underlined-heading:after, a:hover #respond .form-submit #submit .underlined-heading:after, #respond .form-submit a:hover #submit .underlined-heading:after, h3 a:hover .underlined-heading:after, #respond .form-submit #submit a:hover .underlined-heading:after, a:hover .entry-content a:not(.entry-navigation__item):not(.post-edit-link):not(.fancybox):not(.button):not(.image-text-link):after, .entry-content a:hover a:not(.entry-navigation__item):not(.post-edit-link):not(.fancybox):not(.button):not(.image-text-link):after, #site-footer .widget a:hover:after, .top-menu li a:hover:after, .woocommerce-MyAccount-content mark:hover:after, .woocommerce-edit-address .woocommerce-MyAccount-content .woocommerce-Address-title a:hover:after, .woocommerce-MyAccount-navigation li a:hover:after, .woocommerce-cart .return-to-shop a:hover:after, .shop_table .woocommerce-shipping-calculator a:hover:after, .calafate-checkout-content .chck-link:hover:after, .single-product form.cart button[type="submit"] .text:hover:after, .not-found a:hover:after, .entry-portfolio.hover-two .entry-title h3:hover:after, .entry-portfolio.hover-two .entry-title #respond .form-submit #submit:hover:after, #respond .form-submit .entry-portfolio.hover-two .entry-title #submit:hover:after, .entry-portfolio.hover-two .entry-caption h3:hover:after, .entry-portfolio.hover-two .entry-caption #respond .form-submit #submit:hover:after, #respond .form-submit .entry-portfolio.hover-two .entry-caption #submit:hover:after, .hide-comments:hover:after, .edit-link:hover:after, .comment-reply-link:hover:after, .entry-meta a:hover:after, .entry-archive .entry-read-link:hover:after, .blog .STAMP .stamp-link:hover:after, .entry-minimal__title span:hover:after, h3 .underlined-heading:hover:after, #respond .form-submit #submit .underlined-heading:hover:after, .entry-content a:hover:not(.entry-navigation__item):not(.post-edit-link):not(.fancybox):not(.button):not(.image-text-link):after, .top-menu li.current-menu-item > a:after, .top-menu li.current-menu-parent > a:after{
    opacity: 1;
}



.entry-content a:not(.entry-navigation__item):not(.post-edit-link):not(.fancybox):not(.button):not(.image-text-link) {
    font-weight: 600;
}


.font-weight-500 {
    font-weight: 500;
}

.border-radius-40 {
    border-radius: 40px;
}

.border-radius-64 {
    border-radius: 64px;
}

.margin-top-48 {
    margin-top: 48px;
}

/* Блок логотипа и карты */


.my-wrapper__map {
    background-image: url(/files/svao.jpg);
    background-position: center;
    background-size: cover;
    min-height: 1080px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.my-wrapper__map .my-wrapper__map-content {
    padding-top: 50px;
    max-width: 720px;
}

.my-wrapper__map .my-svg__mainpage-logo {
    max-width: 250px;
}


.my-img__partner {
    padding: 5px 20px 5px 0;
}

.my-wrapper__map-content-left,
.my-wrapper__map-content-right {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

@media (min-width: 768px) {
    .my-wrapper__map-content-left {
        padding: 24px 24px 24px 0;
    }
    
    .my-wrapper__map-content-right {
        padding: 24px 0 24px 24px;
    }
    .my-wrapper__map-content-right h1,
    .my-wrapper__map-content-right h2 {
        text-align: right;
    }
    
}


/* Блок цитаты председателя */

.section-block_people {
    padding: 64px 0;
}

.section-block_news-wrapper, .section-block_people-wrapper {
    margin: 0 auto;
    border-radius: 48px;
    align-items: center;
} 

.section-block_news-wrapper {
    padding: 40px;
    background-color: #f6f6f6;
}

.section-block_people-wrapper {
    display: flex;
    gap: 40px;
    padding: 40px 40px 0;
    background: linear-gradient(178.25deg, #2e364766 -24%, #2e3647 88%);
    color: white;
}

.section-block_people-image {
    flex: 0 0 40%;
    max-width: 500px;
}

.section-block_people-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.section-block_people-text {
    flex: 1;
}
.section-block_people-text-name {
    margin-bottom: 16px;
}

.section-block_people-text-org {
    font-weight: 400;
    color: #777;
    font-size: 130%;
}


.section-block_people-text h3 {
    line-height: 1.33;
    font-weight: 600;
    font-size: 170%;
}

.section-block_people-text p,
.resources-list-item {
    font-size: 22px;
    line-height: 1.33;
    margin: 0 0 16px 0;
}

.section-block_people-signature {
    margin-top: 50px;
}

.section-block_people-signature p {
    font-size: 110%;
    margin: 0px;
    opacity: .5;
}

.section-block_people-text-section {
    color: #777;
    font-weight: lighter;
    margin: 24px 0 8px 0 !important;
}

.section-block_people-text .section-block_people-text-story {
    font-size: unset;
    line-height: unset;
}


.content-area ul,
.section-block_people-list {
    list-style: disc outside;
    padding: 0 0 0 24px; 
}

.content-area ul li,
.section-block_people-list li {
    list-style: '—';
    padding: 0 0 8px 8px;
    max-width: 800px;
    margin: unset;
}

.signature-org {

}

.signature-chairman {

}

.signature-title {
    
}

.section-block_people-text .signature-social {
    font-size: unset;
    line-height: unset;   
}

@media (max-width: 768px) {
    .section-block_people-wrapper {
        flex-direction: column;
        gap: 32px;
        padding: 32px 24px;
        border-radius: 24px;
    }
    
    .section-block_people-image {
        flex: 0 0 auto;
        max-width: 240px;
        margin: 0 auto;
    }
    
    .section-block_people-text h3,
    .section-block_people-text h4,
    .section-block_people-text p,
    .section-block_people-signature{
        text-align: center;
    }
    
}

.section-block_card {
    padding: 0 16px 0 0;
}

.section-block_card.section-block_card-grey {
    padding: 24px 32px 16px;
    background-color: #f6f6f6;
    min-height: 290px;
    border-radius: 40px;
    
}

.feature-item.section-block_card.section-block_card-grey {
    min-height: 280px;
}


.section-block_card .text-numbers {
    font-size: 72px;
    font-weight: 700;
    line-height: 1.33;
    margin: 0 0 16px 0;
}

.section-block_card .text-numbers img {
    font-size: 60px;
}

.section-block_card h3 {
    line-height: 1.3;
    margin: 0 0 10px;
}

.section-block_card p {
    color: #777;
}
.section-block_card.section-block_card-grey p {
    line-height: 1.3;
    font-size: 125%;
    color: unset;
}


.section-block_card .my-checkmark {
    color: unset ;
    margin: 0 0 16px 0;
}

/* Верхний контейнер с двумя блоками */
.promo-top-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 64px;
}

.promo-image-block {
    border-radius: 46px;
    overflow: hidden;
    height: 100%;
}

.promo-image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.promo-dark-block {
    background-color: #2e3647;
    color: #ffffff;
    border-radius: 46px;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-icon,
.feature-icon {
    margin-bottom: 24px;
    width: 72px;
}

.promo-title {
    font-weight: 700;
    margin: 0 0 24px 0;
}

.promo-description {
    margin: 0;
    opacity: 0.9;
}


.features-container {
    display: grid;
    gap: 40px;
}

.features-container.features-container__one {
    grid-template-columns: repeat(1, 1fr);
}

.features-container.features-container__two {
    grid-template-columns: repeat(2, 1fr);
}

.features-container.features-container__three {
    grid-template-columns: repeat(3, 1fr);
}

.features-container.features-container__four {
    grid-template-columns: repeat(4, 1fr);
}


.feature-item {
    text-align: left;
}

.feature-title {
    font-weight: 700;
    margin: 0 0 16px 0;
}

.section-block_smi-wrapper {
    background-color: #fff;
    border-radius: 48px;
    padding: 64px;
    gap: 40px;
    display: grid;
    grid-template-columns: 1.6fr 0.8fr;
}




/* Адаптивность */
@media (max-width: 968px) {
    .features-container {
        gap: 32px;
    }
    
    .my-wrapper__map,
    .promo-top-container,
    .section-block_smi-wrapper,
    .features-container.features-container__two,
    .features-container.features-container__three,
    .features-container.features-container__four {
        grid-template-columns: 1fr;
    }
    
    
    .promo-image-block {
        max-height: 400px;
    }
    
    .section-block_smi-wrapper {
        padding: 40px 24px;
    }
}

@media (max-width: 640px) {
    .promo-dark-block {
        padding: 32px 24px;
    }
    
    
}






.resources-block {
    background-color: #f6f6f6;
    border-radius: 40px;
    padding: 56px 40px;
    margin: 40px 0;
}

.resources-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.resources-title {
    font-weight: 700;
    line-height: 1.33;
    font-size: 35px;
    margin: 0px;
}

.resources-list {
    display: flex;
    flex-direction: column;
    margin: 10px;
}

.resources-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkmark {
    font-weight: bold;
    flex-shrink: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .resources-block {
        padding: 30px 24px;
    }
    
    .resources-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
}


.entry-thumbnail-holder,
.entry-thumbnail-holder img,
.section-block_news-wrapper .entry-thumbnail-holder,
.section-block_news-wrapper .entry-thumbnail-holder img {
    border-radius: 32px;
}

.blog .entry-portfolio .entry-caption,
.section-block_news-wrapper .blog .entry-portfolio .entry-caption {
    text-align: unset;
    padding-top: 16px;
}

.blog .entry-portfolio .entry-sitle,
.section-block_news-wrapper .blog .entry-portfolio .entry-sitle {
    font-size: unset;
    line-height: unset;
    background: unset;
    background-image: unset !important;
}


.blog-posts-carousel .car-post .car-meta,
.blog .entry-portfolio .entry-neta,
.section-block_news-wrapper .blog .entry-portfolio .entry-neta {
    font-size: 14px;
    line-height: unset;
    padding-bottom: 8px;
}

.blog .button:hover,
.section-block_news-wrapper .blog .button:hover{
    opacity: .85;
    transition: all 200ms linear;
}


.blog-posts-carousel .car-post .car-header {
    border-radius: 40px;
}



/* ============================================
   Contact Form 7 - Стили для формы
   ============================================ */

/* Основной контейнер формы */
.wpcf7-form {
    max-width: 900px;
}

/* Каждая строка формы */
.wpcf7-form > p {
    margin: 0 0 24px 0;
}

/* Label как grid-контейнер */
.wpcf7-form > p > label,
.my_wpcf7-form_files label{
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 30px;
    align-items: start;
    width: 100%;
    cursor: default;
}

/* Скрываем <br> */
.wpcf7-form > p > label br {
    display: none;
}

/* Контейнер поля ввода */
.wpcf7-form .wpcf7-form-control-wrap {
    width: 100%;
}

/* Стили полей ввода */
/*input[type="text"],
input[type="email"],
input[type="tel"],*/
.wpcf7-form-control-wrap input,
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e5e5 !important;
    border-radius: 16px !important;
    background-color: unset !important;
    box-sizing: border-box;
    transition: all 0.3s;
    color: unset !important;
    font-family: inherit;
    font-size: unset;
    font-weight: unset;
    height: unset;
    line-height: unset;
	max-width: 490px;
}

/*input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,*/
.wpcf7-form-control-wrap input::placeholder,
textarea::placeholder {
    color: unset;
    font-family: unset;
    font-size: unset;
    font-weight: unset;
    text-transform: unset;
}



/* Текстовые поля, email, телефон */
.wpcf7-text,
.wpcf7-email,
.wpcf7-tel {
    height: 48px;
}

/* Textarea */
.wpcf7-textarea {
    min-height: 120px;
    height: 140px;
    resize: vertical;
}

/* Фокус */
.wpcf7-form-control:hover,
.custom-file-label:hover{
    box-shadow: 0px 0px 20px 1px #f3f3f3;;
}

.wpcf7-form-control:focus,
.custom-file-label:focus{
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 2px #015ccb;
	
}




/* Placeholder */
.wpcf7-form-control::placeholder {
    color: #999;
}

/* ============================================
   КНОПКА - my_wpcf7-form
   ============================================ */

.my_wpcf7-form {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 30px;
    align-items: start;
    width: 100%;
    margin-top: 30px;
}


/* Пустой блок слева (под лейблами) */
.my_wpcf7-zero {
    /* Просто заполняет пространство */
}

/* Блок с кнопкой справа (под полями) */
.my_wpcf7-submit {
    /* Кнопка будет в правой колонке */
}

.my_wpcf7-submit p {
    margin: 0;
}

/* Стили для кнопки */
.my_wpcf7-submit .wpcf7-submit {
    background-color: #ff6b6b !important;
    color: #ffffff !important;
    border: none !important;
    padding: 18px 60px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    display: inline-block !important;
    text-align: center !important;
    height: auto !important;
    line-height: 1.4 !important;
    position: static !important;
    width: auto !important;
    margin: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.my_wpcf7-submit .wpcf7-submit:hover {
    background-color: #ff5252 !important;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3) !important;
}

.my_wpcf7-submit .wpcf7-submit:active {
	box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3) !important;
}

.my_wpcf7-submit .wpcf7-form-control:focus {
	box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3) !important;
	background-color: #ff5252 !important;
}

/* Spinner */
.my_wpcf7-submit .wpcf7-spinner {
    margin-left: 12px;
    vertical-align: middle;
}


.my_wpcf7-form__input-comment {
    margin: 16px 0 8px;
    color: #777;
}

/* ============================================
   Адаптивность для мобильных
   ============================================ */

@media (max-width: 768px) {
    .wpcf7-form > p > label,
	.my_wpcf7-form_files label {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .my_wpcf7-form {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .my_wpcf7-zero {
        display: none;
    }
    
    .my_wpcf7-submit {
        text-align: center;
    }
    
    .my_wpcf7-submit .wpcf7-submit {
        width: 100% !important;
        padding: 16px 40px !important;
    }
}




/**  9. Футер  **/

#site-footer {
	max-width: none;
	padding-bottom: 0px;
}

#site-footer .widget{
	width: 100%;
}

#site-footer .widget li a{
	padding: 0px;
}

#site-footer .widget li a:before{
	display: none;
}

#site-footer .widget .kk-link:after{
    display: none;
}

#site-footer .my-footer{
	max-width: 1440px;
    margin: auto;
}

#site-footer .my-footer-dark{
    color: #bbb;
    padding: 32px 0 16px;
    background: linear-gradient(180deg, #f8f8f8 24%, #ffffff 64%);
}

#site-footer .my-footer-light{
    padding: 80px 0;
    background: #f8f8f8;
}

#site-footer .my-footer .my-footer-title,
#site-footer .my-footer .my-footer-phone{
    font-size: 1.5rem;
    margin: 10px 0 20px;
    font-weight: 400;
}


#site-footer .my-footer .my-footer-address {
    font-family: 'Montserrat', sans-serif;
    margin: 10px 0;
}

#site-footer .my-footer .my-footer-name-year {
    margin: 10px 0 0;
    opacity: 0.5;
}


#site-footer .my-footer .my-footer-feed,
#site-footer .my-footer .my-footer-name,
#site-footer .my-footer .my-footer-name-year{
	font-family: 'Montserrat', sans-serif;
	font-size: .9rem;	
}

#site-footer .my-footer .my-footer-name{
	margin-bottom: 0px;
}

#site-footer .my-footer .my-footer-feed,
#site-footer .my-footer .my-footer-name{
	margin-top: 50px;
}


#site-footer .my-footer .alignleft {
    margin: 25px 20px 20px 0 !important;
}



@media screen and (max-width: 1640px){

    .site-footer.wrapper {
        padding: 0 0 0 20px;
    }

    .site-footer.wrapper .grid__item {
        padding-right: 20px;
    }

}

/* ============================================
   Адаптивность для мобильных
   ============================================ */

@media (max-width: 768px) {
    .my-img__partner {
        max-width: 300px;
    }
}


/* Навигационное меню */

#nav-menu-item-30 a {
    color: #fa2a1b;
    opacity: 1;
    border: 2px solid rgb(250 42 27 / 50%);
    border-radius: 32px;
    background-color: rgb(250 42 27 / 5%);
    padding: 5px 13px 3px;
}

#nav-menu-item-30 a::after {
    display: none;
}

#nav-menu-item-30 a:hover {
    box-shadow: 0 4px 12px rgb(250 42 27 / 20%);
    background-color: rgb(250 42 27 / 10%);
    border-color: #fa2a1b;
    transition: all 0.3s;
}


#nav-menu-item-30.current-menu-item a {
    background-color: rgb(250 42 27 / 10%);
    border-color: #fa2a1b;
}

/* Статьи. Изображения и описание изображения*/

.wp-caption-text {
    bottom: 32px;
    right: 32px;
    line-height: unset;
    padding: 16px 32px 16px;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    background: #ffffffbf;
    color: unset;
    border-radius: 16px;
    margin: 0 0 0 32px;
}

.single-post .post img {
    border-radius: 40px;
}

/* Файлы */
/* Нумератор в контактах */

.my-num_block .my-num_block-number {    
    font-family: 'Montserrat', sans-serif;
    font-size: 160px;
    font-weight: 700;
    line-height: 1;
    color: #eee;
}

.my-num_block .my-num_block-number .my-num_block-typography {
    left: 36px;
    font-size: 24px;
    line-height: 24px;
    bottom: 40px;
    position: fixed;
    color: #fa2a1b;
}


/**  11. Документы  **/


.content-area .kk-files__items {
    list-style: none;
    padding: unset;
}

.content-area .kk-files__item {
    margin: 0 0 30px;
    list-style: unset;
    /* padding: unset; */
    max-width: unset;
}

.kk-files__description {
    color: #777
}

.kk-item__icon {
    width: 40px;
    height: 40px;
    margin: 4px !important;
    float: left;
}


.kk-files__item-link a{
    font-weight: 400 !important;
    color: #32332c !important;
    line-height: 1.4;
    font-size: 95%;
}

.kk-files__item-description {
    color: #aeaeae;
    font-size: 80%;
}


.kk-files__item-link a:hover {
    color: #fa2a1b !important;
    transition: all 0.3s;
}

.kk-files__item-link a:after {
    display: none !important;
}


.kk-files__item-link,
.kk-files__item-description {
    margin-left: 55px;
    margin-bottom: 0px;
}

.kk-item__icon.kk-item__icon-pdf {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512' viewBox='0 0 682.667 682.667'%3E%3Cdefs%3E%3CclipPath id='a' clipPathUnits='userSpaceOnUse'%3E%3Cpath d='M0 512h512V0H0z' fill='%23fa2a1b' data-original='%23000000'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23a)' transform='matrix(1.33333 0 0 -1.33333 0 682.667)'%3E%3Cpath d='M485.305 313.724v-16.868c0 35.514-28.799 64.312-64.313 64.312H381.85c-22.019 0-39.877 17.858-39.877 39.877v39.143c0 35.513-28.798 64.312-64.312 64.312h16.869a114.549 114.549 0 0080.988-33.545l76.242-76.242a114.545 114.545 0 0033.545-80.989z' fill='none' stroke='%23fa2a1b' stroke-width='15' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='10' data-original='%23000000'/%3E%3Cpath d='M485.3 313.73V47.38c0-22.03-17.85-39.88-39.87-39.88h-327.6c-18.82 0-34.59 13.04-38.78 30.58l-.38 54.72M77.96 287v177.62c0 22.03 17.85 39.88 39.87 39.88H127M294.53 504.5H156.995' fill='none' stroke='%23fa2a1b' stroke-width='15' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='10' data-original='%23000000'/%3E%3Cpath d='M381.85 161.391v-16.214c0-28.929-23.451-52.38-52.38-52.38H60.616c-18.734 0-33.919 15.186-33.919 33.919V320.92' fill='none' stroke='%23fa2a1b' stroke-width='15' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='10' data-original='%23000000'/%3E%3Cpath d='M77.96 354.84H60.615c-18.733 0-33.919-15.186-33.919-33.919 0-18.733 15.186-33.919 33.919-33.919H329.47c28.928 0 52.38-23.452 52.38-52.381v-43.229' fill='none' stroke='%23fa2a1b' stroke-width='15' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='10' data-original='%23000000'/%3E%3Cpath d='M321.255 237.727h-38.667v-95.405M282.588 190.928h35.596M184.246 237.627v-93.756M249.794 190.024c0-26.287-14.59-47.088-37.736-47.492-7.705-.135-27.618-.21-27.618-.21s-.125 34.556-.125 47.807c0 10.883-.069 47.597-.069 47.597h27.021c25.388 0 38.527-21.415 38.527-47.702zM102.582 238.43v-96.108M156.995 211.308c0-14.979-12.674-27.122-27.652-27.122-7.429 0-26.575-.119-26.575-.119s-.12 19.691-.12 27.241c0 6.201-.066 27.122-.066 27.122h26.761c14.978 0 27.652-12.143 27.652-27.122z' fill='none' stroke='%23fa2a1b' stroke-width='15' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='10' data-original='%23000000'/%3E%3C/g%3E%3C/svg%3E") no-repeat center/cover;
}

.kk-item__icon.kk-item__icon-doc {
    background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512' viewBox='0 0 682.667 682.667'%3E%3Cdefs%3E%3CclipPath id='a' clipPathUnits='userSpaceOnUse'%3E%3Cpath d='M0 512h512V0H0z' fill='%23248ce0' data-original='%23000000'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23a)' transform='matrix(1.33333 0 0 -1.33333 0 682.667)'%3E%3Cpath d='M459.672 313.724v-16.868c0 35.514-28.798 64.312-64.312 64.312h-39.143c-22.019 0-39.877 17.858-39.877 39.877v39.143c0 35.513-28.798 64.312-64.312 64.312h16.868a114.55 114.55 0 0080.989-33.545l76.242-76.242a114.55 114.55 0 0033.545-80.989z' fill='none' stroke='%23248ce0' stroke-width='15' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='10' data-original='%23000000'/%3E%3Cpath d='M53.042 62.723l.375-24.643c4.19-17.54 19.96-30.58 38.78-30.58h327.6c22.02 0 39.87 17.85 39.87 39.88v266.35M268.897 504.5h-176.7c-22.02 0-39.87-17.85-39.87-39.88V196.66l.715-103.937M119.656 279h272.688M352.874 239.105h39.47M119.656 239.105h203.218M119.656 199.21h272.688M119.656 159.315h100.171M119.656 389.654h100.171' fill='none' stroke='%23248ce0' stroke-width='15' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='10' data-original='%23000000'/%3E%3C/g%3E%3C/svg%3E") no-repeat center/cover;
}

.kk-item__icon.kk-item__icon-jpg {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512' viewBox='0 0 682.667 682.667' class='hovered-paths'%3E%3Cdefs%3E%3CclipPath id='a' clipPathUnits='userSpaceOnUse'%3E%3Cpath d='M0 512h512V0H0z' fill='%23fa2a1b' data-original='%23000000'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg clip-path='url(%23a)' transform='matrix(1.33333 0 0 -1.33333 0 682.667)'%3E%3Cpath d='M485.305 313.724v-16.868c0 35.514-28.798 64.312-64.312 64.312H381.85c-22.019 0-39.877 17.858-39.877 39.877v39.143c0 35.514-28.798 64.312-64.312 64.312h16.868a114.545 114.545 0 0080.989-33.545l76.242-76.242a114.548 114.548 0 0033.545-80.989zM485.3 71.33V47.38c0-22.03-17.85-39.88-39.87-39.88h-327.6c-18.82 0-34.59 13.04-38.78 30.58l-.12 16.81M485.3 104.89v208.84' fill='none' stroke='%23fa2a1b' stroke-width='15' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='10' data-original='%23000000' class='hovered-path'/%3E%3Cpath d='M77.955 341.84v122.78c0 22.03 17.85 39.88 39.87 39.88h176.7M168.485 233.653c0-14.406-11.678-26.083-26.083-26.083-14.406 0-26.084 11.677-26.084 26.083 0 14.406 11.678 26.083 26.084 26.083 14.405 0 26.083-11.677 26.083-26.083zM81.92 114.09l57.81 55.74 43.78-42.2M159.93 104.89l95.58 92.17 75.38-72.68' fill='none' stroke='%23fa2a1b' stroke-width='15' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='10' data-original='%23000000' class='hovered-path'/%3E%3Cpath d='M275.48 291.84h29.79c14.68 0 26.58-11.9 26.58-26.57v-133.8c0-14.68-11.9-26.58-26.58-26.58H100.9c-13.37 0-24.2 10.83-24.2 24.2v138.56c0 13.36 10.83 24.19 24.2 24.19h141.03' fill='none' stroke='%23fa2a1b' stroke-width='15' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='10' data-original='%23000000' class='hovered-path'/%3E%3Cpath d='M77.96 409.683H60.615c-18.733 0-33.919-15.186-33.919-33.919 0-18.733 15.186-33.919 33.919-33.919h268.854c28.929 0 52.381-23.452 52.381-52.381V107.268c0-28.929-23.452-52.381-52.381-52.381H60.615c-18.733 0-33.919 15.187-33.919 33.92v286.957' fill='none' stroke='%23fa2a1b' stroke-width='15' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='10' data-original='%23000000' class='hovered-path'/%3E%3C/g%3E%3C/svg%3E") no-repeat center/cover;
}

/* Ссылки */

.my-link_with-ico {
    position: relative;
    display: inline-block;
    padding-right: 24px;
}

.my-link_with-ico::before {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512' viewBox='0 0 24 24'%3E%3CclipPath id='a'%3E%3Cpath d='M0 0h24v24H0z' fill='red' data-original='%23000000'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill='%23fa2a1b' fill-rule='evenodd' d='M16.244 12.309a1 1 0 000-.618 1.01 1.01 0 00-.201-.343 4.629 4.629 0 00-.244-.256L9.354 4.646a.5.5 0 10-.708.708l6.435 6.434a4.123 4.123 0 01.204.212 4.123 4.123 0 01-.204.212l-6.435 6.434a.5.5 0 00.708.708l6.445-6.446c.09-.09.176-.176.244-.256a1.01 1.01 0 00.201-.343z' clip-rule='evenodd' data-original='%23222222'/%3E%3C/g%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

.my-link_with-ico::after {
    width: calc(100% - 24px) !important;
}

.my-link_with-ico.my-link_with-ico-external::before{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='512' height='512' viewBox='0 0 24 24'%3E%3CclipPath id='a'%3E%3Cpath d='M0 0h24v24H0z' fill='%23e9e9e9' data-original='%23000000'/%3E%3C/clipPath%3E%3Cg fill='%23222' clip-path='url(%23a)'%3E%3Cpath d='M10.377 3.5H11a.5.5 0 010 1h-.6c-1.128 0-1.945 0-2.586.053-.637.052-1.057.152-1.403.328a3.5 3.5 0 00-1.53 1.53c-.176.346-.276.766-.328 1.403C4.5 8.455 4.5 9.272 4.5 10.4v3.2c0 1.128 0 1.945.053 2.587.052.636.152 1.056.328 1.402a3.5 3.5 0 001.53 1.53c.346.176.766.276 1.403.328.641.053 1.458.053 2.586.053h3.2c1.128 0 1.945 0 2.587-.053.636-.052 1.056-.152 1.402-.328a3.5 3.5 0 001.53-1.53c.176-.346.276-.766.328-1.402.053-.642.053-1.459.053-2.587V13a.5.5 0 011 0v.623c0 1.1 0 1.958-.056 2.645-.057.698-.175 1.265-.434 1.775a4.5 4.5 0 01-1.967 1.966c-.51.26-1.077.378-1.775.435-.687.056-1.544.056-2.645.056h-3.246c-1.1 0-1.958 0-2.645-.056-.698-.057-1.265-.175-1.775-.434a4.5 4.5 0 01-1.967-1.967c-.26-.51-.377-1.077-.434-1.775-.056-.687-.056-1.544-.056-2.645v-3.246c0-1.1 0-1.958.056-2.645.057-.698.175-1.265.434-1.775A4.5 4.5 0 015.957 3.99c.51-.26 1.077-.377 1.775-.434C8.42 3.5 9.276 3.5 10.377 3.5z' fill='%23fa2a1b' data-original='%23222222'/%3E%3Cpath d='M19.5 5.207l-6.146 6.147a.5.5 0 01-.708-.707L18.793 4.5H15a.5.5 0 010-1h4.5a1 1 0 011 1V9a.5.5 0 01-1 0z' fill='%23fa2a1b' data-original='%23222222'/%3E%3C/g%3E%3C/svg%3E");
}

/* Секция файлов */
.my_wpcf7-files-section {
    margin-bottom: 24px;
}

.files-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.my_wpcf7-file-item {
    margin-bottom: 16px;
    position: relative;
}

.wpcf7 input[type="file"] {
    display: none;
}

/* Скрываем стандартный input file */
.my_wpcf7-file-item input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Кастомная кнопка файла */
.my_wpcf7-form_files .custom-file-label {
    display: flex;
    align-items: start;
    justify-content: space-between;
    padding: 14px 16px;
    border: 2px solid #e5e5e5;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
    width: 100%;
	max-width: 490px;
    margin-bottom: 8px;
	
}


/* Текст кнопки */
.custom-file-text {
    color: #999;
}

/* Имя выбранного файла */
.file-name {
	color: #ddd;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: unset;
}

.file-name.has-file {
    color: #69b37a;
    margin: 0 0 0 16px;
}

/* Иконка файла */
.file-icon {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Адаптивность */
@media screen and (max-width: 768px) {
    .custom-file-label {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px 16px;
    }
    
    .custom-file-text {
        font-size: 14px;
    }
    
    .file-name {
        font-size: 13px;
        max-width: 100%;
        text-align: left;
    }
}


.wpcf7-validation-errors,
div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing,
div.wpcf7-response-output {
	margin: 24px 0 !important;
    width: 100%;
    background-color: #ff7500;
    padding: 16px 20px !important;
    color: #fff;
    border-radius: 16px;
    opacity: .7;
}