.card {
    cursor: pointer;
    text-decoration: none;
}

.top-banner {
    height: 35.5vw;
    background-position: 50% 0;
    background-size: 100% auto;
    background-repeat: no-repeat;
}

.col-auto {
    background-color: var(--white);
    display: flex;
    width: 136px;
    height: 136px;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

#product-manufacturer {
    overflow: hidden;
}

#product-manufacturer .card {
    border: none;
}

#product-manufacturer .partner-item {
    position: relative;
    display: block;
    text-align: center;
    color: #fff;
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height:330px;
}

#product-manufacturer .partner-item:hover {
    opacity: .8;
    transition: .3s;
}

#product-manufacturer .partner-item img.img-fluid {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: none;
}
#product-manufacturer .partner-item:hover img.img-fluid {
    transform: scale(1.05);
    transition: transform 1s ease;
}
#product-manufacturer .partner-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
}
#product-manufacturer .partner-item:hover::after {
    background-color: rgba(255, 255, 255, 0.1);
}

#product-manufacturer .partner-logo {
    position: absolute;
    top: 0%;
    width: 90px;
    height: 90px;
    z-index: 1;
    background: #fff;
    padding: 10px;
    margin: 10px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#product-manufacturer .partner-logo img {
    max-width: 100%;
    max-height: 100%;
}

#product-manufacturer .partner-about {
    position: absolute;
    bottom: 0%;
    font-size: 16px;
    text-align: left;
    line-height: 16px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

#product-manufacturer .partner-about p {
    margin-bottom: 0px;
    padding-top:20px;
}

#product-manufacturer .category-text-top {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 29px;
    font-weight: bold;
    text-align: center;
    width: max-content;
    max-width: 90%;
    line-height: 1.8rem;
}

.partnership {
    display: flex;
}

.partnership .item {
    flex-grow: 1; 
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}

.partnership .item {
    align-items: center;
    display: flex;
}

.partnership .item-left {
    flex-grow: 1;
    font-size: 32px;
    text-transform: uppercase;
    justify-content: left;
    font-weight:bold;
    line-height: 1em;
}
.partnership .item-right {
    flex-grow: 1;
}

/* Скрываем средний элемент при ширине контейнера менее 600px */
@media (max-width: 768px) {
    .item-center {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .partnership .item-left {
        font-size: 16px;
        line-height: 1.5em;
    }

    #product-manufacturer .partner-item {
        max-height: 200px;
    }

    #product-manufacturer .partner-about p {
        font-size: 18px;
        line-height: 18px;
    }

    #information-information #product-manufacturer img.img-fluid {
        min-height: 200px;
    }
}

@media (max-width: 375px) {
    h1 {
        font-size: 22px;
    }
}