:root {
   --ban-type1-title-font-size: 16px;
   --ban-type1-descr-font-size: 14px;
   --ban-font-family: 'Montserrat', sans-serif;
   --ban-line-height: 1.3rem;
   --ban-text-color: #414141;
   --ban-color-primary: #ff3a30;
   --ban-color-secondary: #f3f1ed;

}
/* // BANNER TYPE 1 // */
.ban__wrapper.ban__type-1 {
    position: fixed;
    top: -200px;
    opacity: 0;
    max-width: 1000px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    width: calc(100% - 100px);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 10px;
    border-radius: 15px;
    transition: all 2s cubic-bezier(0.39, 0.575, 0.565, 1);
}
.ban__wrapper.ban__type-1.show {
    top: 70px;
    opacity: 1;
}
.ban__type-1 .ban__block {
    width: 100%;
    display: grid;
    grid-template-columns: max-content auto max-content;
    gap: 5px;
    align-items: center;
    background-color: var(--ban-color-secondary);
    min-height: 48px;
    padding: 12px 30px;
    border-radius: 15px;
}
.ban__type-1 .image__wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 10px;
    overflow: hidden;
}
.ban__type-1 .image__wrapper figure {
    width: 100%;
    height: 100%;

} 
.ban__type-1 .image__wrapper figure picture img {
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center top;
    object-position: center top;
    height: 100%;
    width: 100%;
}
.ban__type-1 .content {
    font-family: var(--ban-font-family);
    grid-column: 2/3;
}
.ban__type-1 .title {
    font-size: var(--ban-type1-title-font-size);
    font-weight: 600px;

}
.ban__type-1 .description {
    font-size: var(--ban-type1-descr-font-size);
    font-weight: normal;
    color: var(--ban-text-color);
    line-height: var(--ban-line-height);
}
.ban__type-1 .link {
    font-size: 14px;
    line-height: 1;
    background-color: var(--ban-color-primary);
    border-radius: 10px;
    font-weight: 700;
    color: #fff;
    display: block;
    flex: 0 0 auto;
    text-align: center;
    padding: 14px 49px;
    min-width: 100px;
    width: max-content;
    margin-left: auto;
    transition: all .2s ease-in;
}
.ban__type-1 .link:hover {
    box-shadow: 0 0 2px var(--ban-color-primary);
}

.ban__type-1 .close-btn {
    right: 0;
    padding: 10px;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 0;
    background-color: #fff;
    border: none;
    cursor: pointer;
    background: url('/assets/img/icons/icon-menu-close-black.svg') no-repeat center center ;
}

@media screen and (max-width: 768px) {
    .ban__wrapper.ban__type-1 {
        width: calc(100% - 50px);
    }
    .ban__type-1 .ban__block {
        grid-template-rows: max-content max-content;
    }

    .ban__type-1 .link__wrapper {
        grid-column: 1/3;
    }
    .ban__type-1 .link {
        margin-right: auto;
    }
}

@media screen and (max-width: 425px) {
    :root {
        --ban-type1-title-font-size: 14px;
        --ban-type1-descr-font-size: 12px;
        --ban-line-height: 1.1rem;
    }
    .ban__type-1 .ban__block {
        padding: 10px;
    }
    .ban__type-1 .image__wrapper {
        width: 40px;
        height: 40px;
    }
    .ban__type-1 .link {
        font-size: 12px;
    }
}
/* // /BANNER TYPE 1 // */