.partners-highlight-content {
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(6, 1fr);
}

.partners-highlight-content .image-container {
    grid-area: 1 / 1 / 5 / 7;
    overflow: hidden;
    max-height: 507px;
}

.partners-highlight-content .image-container img {
    object-fit: cover;
    border-radius: 10px;
    width: 100%;
    height: 100%;
}

.partners-highlight-content .partners-highlight-card {
    grid-area: 4 / 2 / 6 / 6;
    max-height: 284px;
    background-color: white;
    border-radius: 10px;
    padding: 74px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.search-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.search {
    width: 351px;
    height: 38px;
    border: 1px solid var(--green);
    border-radius: 20px;
    padding: 0 20px;
}

.modal-card {
    position: relative;
    width: 750px;
    background-color: white;
    padding: 58px 83px 47px 84px;
    overflow: visible !important;
}

.modal-card .pin svg {
    height: 100%;
}

.modal-card .card-footer, .modal-card .col-location, .modal-card .col-links {
    display: flex;
}
.modal-card .card-footer {
    justify-content: space-between;
}
.modal-card .col-links {
    flex-direction: column;
    align-items: center;
}

.modal-card .city {
    height: 17px;
}

.modal-card .button-round {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--yellow);
    transform: translate(50%, -50%);
    width: 74px;
    height: 74px;
}

.modal-card .button-round:hover {
    background-color: white;
}

.modal-card.form-partner {
    width: 100%;
}

.modal-card.form-partner .card-footer {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

@media (max-width: 992px) {
    .search-form {
        flex-direction: column;
        gap:20px;
    }
    .search {
        width: 250px;
    }
    .partners-highlight-content .partners-highlight-card {
        padding: 74px;
    }
}

@media (max-width: 768px) {
    .partners-highlight-content {
        display: block;
    }

    .partners-highlight-content .image-container {
        position: relative;
        z-index: 4;
    }

    .partners-highlight-content .partners-highlight-card {
        padding: 2rem;
        width: 80%;
        margin: -3rem auto 0;
        position: relative;
        z-index: 5;
    }
    .search {
        max-width: 200px;
    }

    .modal-card {
        width: 380px;
    }

    .modal-card .card-footer {
        flex-direction: column;
    }

    .modal-card .col-location {
        margin-bottom: 20px;
    }

    .col-links .button-in {
        text-align: center;
    }

    .partners-highlight-content
}

@media (max-width: 480px) {
    .modal-card {
        width: 300px;
        padding-left: 40px;
        padding-right: 40px;
    }
}