.hotel-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 1fr;
    gap: 30px;
    clear: both;
    padding: 0 15px;
    margin: 0 0 30px;
}

.hotel-list > .hotel-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background: #fff;
}

.hotel-card .hotel-card__media {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    overflow: hidden;
    border-radius: 3px 3px 0 0;
    background: #f2f3f4;
    text-decoration: none;
}

.hotel-card .hotel-card__placeholder {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    color: #6b737a;
    font-size: 13px;
    line-height: 20px;
    text-align: center;
}

.hotel-card .hotel-card__placeholder .fa {
    font-size: 32px;
    line-height: 1;
}

.hotel-card .hotel-card__placeholder[aria-hidden="true"] {
    visibility: hidden;
}

.hotel-card .hotel-card__image {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hotel-card .hotel-card__image[hidden] {
    display: none;
}

.hotel-card .hotel-card__rating {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 8px 10px;
    background: #01ace4;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.hotel-card .hotel-card__stars {
    display: flex;
    gap: 2px;
    font-size: 10px;
    line-height: 12px;
}

.hotel-card .hotel-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    padding: 20px;
}

.hotel-card .hotel-card__title {
    flex: 0 0 42px;
    height: 42px;
    margin: 0 0 12px;
    overflow: hidden;
    font-size: 16px;
    font-weight: 700;
    line-height: 21px;
    text-transform: uppercase;
}

.hotel-card .hotel-card__title a {
    display: -webkit-box;
    max-height: 42px;
    overflow: hidden;
    color: #222;
    line-height: inherit;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hotel-card .hotel-card__title a:hover {
    color: #01ace4;
}

.hotel-card .hotel-card__description {
    display: -webkit-box;
    flex: 0 0 84px;
    height: 84px;
    margin: 0 0 20px;
    overflow: hidden;
    color: #626262;
    font-size: 13px;
    line-height: 21px;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.hotel-card .hotel-card__description.is-empty {
    color: #767676;
}

.hotel-card .hotel-card__footer {
    margin-top: auto;
}

.hotel-card .hotel-card__button {
    display: block;
    width: 100%;
    height: auto;
    min-height: 36px;
    padding: 8px 12px;
    color: #666;
    line-height: 18px;
    white-space: normal;
}

.hotel-card .hotel-card__button:hover {
    color: #fff;
}

.hotel-card .hotel-card__media:focus,
.hotel-card .hotel-card__title a:focus,
.hotel-card .hotel-card__button:focus {
    outline: 2px solid #01ace4;
    outline-offset: 2px;
}

@media (min-width: 768px) {
    .hotel-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .hotel-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
