.company-gallery {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin: 0 0 20px;
}

.company-gallery a {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.company-gallery img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: left bottom;
    border-radius: 8px;
    display: block;
}

.sg-lodging-route {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.3;
    color: #fff;
    background: #2d9cdb;
    margin: 20px 0 10px;
}

.company-map {
    width: 100%;
    max-width: 100%;
    height: 400px;
    margin: 10px 0 20px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.company-map ymaps,
.company-map [class*="ymaps"] {
    max-width: 100% !important;
}

.company-tags a {
    display: inline-block;
    margin: 5px 5px 5px 0;
    font-size: 13px;
    color: #2d9cdb;
    text-decoration: none;
}

@media (max-width: 1199px) {
    .company-gallery {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .company-gallery {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
}

@media (max-width: 575px) {
    .company-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
