.y-industries {
    margin: 30px 0;
    position: relative;
}

@media (max-width: 768px) {
    .y-industries {
        margin: 10px 0;
    }
}

.y-industries__slider {
    position: relative;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .y-industries__slider {
        padding: 0 30px;
    }
}

.y-industries__slider .owl-nav > div {
    position: absolute;
    top: 50%;
    translate: 0 -50%;
    z-index: 10;
    left: 0;
    padding: 20px;
    background: linear-gradient(90deg, #FFF, transparent);
    height: 100%;
    display: flex;
    align-items: center;
    padding-right: 50px;
    cursor: pointer;
}

.y-industries__slider .owl-nav > div span {
    display: block;
    width: 48px;
    height: 48px;
    text-indent: 1000px;
    font-size: 0;
    cursor: pointer;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="%230aabea" class="w-6 h-6"><path stroke-linecap="round" stroke-linejoin="round" d="M15.75 19.5 8.25 12l7.5-7.5" /></svg>');
}

.y-industries__slider .owl-nav > div:last-child {
    right: 0;
    left: auto;
    background: linear-gradient(-90deg, #FFF, transparent);
    padding-left: 50px;
    padding-right: 20px;
}

.y-industries__slider .owl-nav > div:last-child span {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="%230aabea" class="w-6 h-6"><path stroke-linecap="round" stroke-linejoin="round" d="m8.25 4.5 7.5 7.5-7.5 7.5" /></svg>');
}

.y-industries__slider .owl-stage {
    display: flex;
}

@media (max-width: 768px) {
    .y-industries__slider .owl-nav > div {
        padding: 15px !important;
    }
    .y-industries__slider .owl-nav > div span {
        width: 32px;
        height: 32px;
    }
}

.y-industries__slider .owl-item {
    display: flex;
    align-items: center;
}

.y-industries__head {
    text-align: center;
    color: rgb(62, 62, 64);
    font-size: 36px;
    font-weight: 500;
    line-height: 1.333;
    margin: 40px 0;
}

@media (max-width: 768px) {
    .y-industries__head {
        font-size: 24px;
        margin: 0px 0 40px;
    }
}

.y-industry {
    perspective: 20vw;
    position: relative;
    transition: .3s;
    cursor: pointer;
    text-decoration: none !important;
    color: rgb(62, 62, 64);
    height: 100%;
    width: 100%;
    display: flex;
}

@media (max-width: 768px) {
    .y-industry {
        perspective: 600px;
    }
}

.y-industry:not(.--rotate):hover {
    box-shadow: 0px 5px 25px rgba(0,0,0,0.05);
}

.y-industry__wrap {
    position: relative;
    transition: .5s;
    border: 1px solid #f0f0f0;
    border-right: 0;
    border-left: 0;
    box-shadow: 1px 0 0 #f0f0f0, -1px 0 0 #f0f0f0;
    height: 100%;
    width: 100%;
    background: white;
}

.y-industry:hover {
    z-index: 5;
}

.y-industry.--rotate:hover .y-industry__wrap {
    transform: rotateY(180deg);
}

.y-industry.--rotate:hover .y-industry__wrap .y-industry__back {
    opacity: 1;
    transition-delay: .15s;
    pointer-events: all;
}

.y-industry.--rotate:hover .y-industry__wrap .y-industry__front {
    opacity: 0;
}

.y-industry__front {
    transition: .3s;
    border-right: 0;
    background: white;
    transform: translateZ(0.1px);
    padding: 40px 25px 15px;
    z-index: 1;
}

.y-industry__back {
    position: absolute;
    top: 50%;
    left: 50%;
    min-height: 100%;
    background: white;
    translate: -50% -50%;
    width: 100%;
    opacity: 0;
    transition: .3s;
    transition-delay: .05s;
    box-shadow: 0px 5px 25px rgba(0,0,0,0.05);
    pointer-events: none;
}

.y-industry__back--inset {
    transform: rotateY(180deg);
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    line-height: 120%;
}

.y-industry__back--inset a {
    color: #6a6a6a;
    text-decoration: none !important;
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 15px;
}

.y-industry__back--inset a.--sub {
    padding-left: 20px;
}

.y-industry__back--inset a:hover {
    color: #0aabea;
}

.y-industry__back--inset a:before {
    content: '';
    display: block;
    width: 8px;
    min-width: 8px;
    height: 8px;
    border-radius: 1px;
    background: #0aabea;
}

.y-industry__front--title {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 18px;
    text-align: center;
}

.y-industry__front--image {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.y-industry__front--image img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    object-position: center;
}