.grid-brand-element {
    max-width: 588px;
    height: 381px;
    border-radius: 16px;
    padding: 36px;
    width: 100%;
    display: grid;
    grid-template-rows: 80px 135px 46px;
    row-gap: 24px;
}
.grid-brand-element img {
    margin: auto 0;
}
.grid-brand-element p {
    margin-bottom: 0;
}
.grid-brand-element .btn {
    margin-top: 0 !important;
}
@media screen and (max-width: 1200px) and (min-width: 991px) {
    .grid-brand-element p {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        max-height: 112px;
    }
}
@media screen and (max-width: 991px) {
    .grid-brand-element {
        max-width: 100%;
        height: auto;
        grid-template-rows: 80px 1fr 46px;
    }
    .paevaleht-bg > img {
        height: 24px;
    }
}