.pzpo-btn {
    position: relative;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-block;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
    outline: none;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-decoration: none !important;
    font-weight: bold;
    -o-transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    text-transform: uppercase;
    border: none;
}

.pzpo-btn--red {
    padding: 20px 50px;
    background-color: var(--color-red);
    color: var(--color-white);
}

.pzpo-btn--red._border {
    border: 1px solid var(--color-red);
}

.pzpo-btn--text._arrow {
    display: inline-flex;
    position: relative;
    height: auto;
    width: fit-content;
    padding-right: 7px;
    align-items: flex-end;
    vertical-align: middle;
    background: transparent;
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}

.pzpo-btn--text._arrow .square {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    display: block;
    margin: 0;
    width: 24px;
    height: 24px;
    background: var(--color-red);
}
.pzpo-btn--text._arrow .square .icon.icon-arrow--small,
.pzpo-btn--text._arrow .square .icon.icon-arrow-reverse--small {
    transition: all 0.45s cubic-bezier(0.7, 0.19, 0.26, 0.9);
    position: absolute;
    top: 0;
    left: 5px;
    bottom: 0;
    margin: auto;
}
.pzpo-btn--text._arrow .btn-text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    display: inline-block;
    position: relative;
    top: -2px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 0 0 34px;
}

.pzpo-btn--text._arrow._big {
    padding-right: 12px;
}

.pzpo-btn--text._arrow._big .square {
    width: 40px;
    height: 40px;
}
.pzpo-btn--text._arrow._big .square .icon.icon-arrow--big {
    transition: all 0.45s cubic-bezier(0.7, 0.19, 0.26, 0.9);
    position: absolute;
    top: 0;
    left: 9px;
    bottom: 0;
    margin: auto;
}
.pzpo-btn--text._arrow._big .btn-text {
    font-size: 24px;
    top: -5px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 0 0 56px;
}

.pzpo-btn--submit {
    padding: 20px 50px;
    max-height: 58px;
    color: var(--color-red);
    background-color: var(--color-white);
    border: 1px solid var(--color-white);
    font-weight: 700;
    text-transform: uppercase;

    transition: color .2s ease-in-out, background-color .2s ease-in-out, border .2s ease-in-out;
}

.pzpo-btn--submit._red-bg {
    background-color: var(--color-red);
    color: var(--color-white);
    border: 1px solid var(--color-red);
}

.fancybox__content>.f-button.is-close-btn {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M10.6515 0.750171L0.749829 10.6519M0.749829 0.750171L10.6515 10.6519' stroke='%23E43D42' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e ");
    width: 30px;
    height: 30px;
    background-position: center;
    background-repeat: no-repeat;
    top: 60px;
    right: 60px;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 7px;
}

.fancybox__content>.f-button.is-close-btn::before {
    content: 'Закрыть';
    position: absolute;
    right: calc(100% + 10px);
    color: rgba(51, 51, 51, 0.4);
}

.fancybox__content>.f-button.is-close-btn svg {
    display: none;
}

.btn-wide {
    width: 100%;
}

@media (hover: hover) {
    .pzpo-btn--red:hover {
        background-color: #fff;
        color: var(--color-black);
    }

    .pzpo-btn--red._border:hover {
        border: 1px solid var(--color-black);
    }

    .pzpo-btn--text._arrow:hover .square {
        width: 100%;
    }

    .pzpo-btn--text._arrow:hover .icon.icon-arrow--small,
    .pzpo-btn--text._arrow:hover .icon.icon-arrow-reverse--small {

        transform: translate(5px, 0);
    }

    .pzpo-btn--text._arrow:hover .icon.icon-arrow--big {
        transform: translate(10px, 0);
    }

    .pzpo-btn--text._arrow:hover .btn-text {
        color: var(--color-white);
    }

    .pzpo-btn--submit:hover {
        background-color: var(--color-red);
        color: white;
    }

    .pzpo-btn--submit._red-bg:hover {
        background-color: white;
        color: var(--color-red);
    }
}

@media (max-width: 450px) {
    .section-news-and-projects .pzpo-btn--text._arrow._big {
        padding-right: 7px;
    }

    .section-news-and-projects .pzpo-btn--text._arrow._big .square {
        width: 24px;
        height: 24px;
    }

    .section-news-and-projects .pzpo-btn--text._arrow._big .square .icon.icon-arrow--big {
        left: 5px;
    }

    .section-news-and-projects .pzpo-btn--text._arrow._big .btn-text {
        font-size: 16px;
        top: -2px;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0 0 0 34px;
    }
}