.amenitiesText {
    width: 100% !important;
    height: 100% !important;
}

.amenitiesText>div {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 100% !important;
}

.amenitiesText>div>* {
    position: relative;
}

.amenitiesText h2, .amenitiesText h2 > *{
    font-family: var(--fontHeader);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.amenitiesText hr {
    width: 101px;
    height: 3px;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    margin-bottom: 0.5rem;
    background-image: url('data:image/svg+xml,<svg width="101" height="3" viewBox="0 0 101 3" fill="none" xmlns="http://www.w3.org/2000/svg"><rect y="1" width="47" height="1" fill="white"/><rect x="54" y="1" width="47" height="1" fill="white"/><circle cx="50.5" cy="1.5" r="1.5" fill="white"/></svg>');
}

.amenitiesList {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 500px;
}

.amenity-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    display: flex; /* Используем flex для удобного распределения колонок */

    gap: 10px;
    padding: 10px;
    padding: clamp(
        0px, /* 1. Минимальное значение (при vmin <= 300px) */
        calc(-20px + 5vmin), /* 2. Динамическое (предпочтительное) значение */
        10px /* 3. Максимальное значение (при vmin >= 500px) */
    );
    transition: background-color 0.3s ease;
    cursor: default;
    position: relative;
    text-align: center;
}

/* .amenity-row::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--colorHoverLine);
    transform: scaleX(0);
    transition: all 0.3s ease;
    z-index: -1;
}

body.hasHover .amenity-row:hover::after {
    transform: scale(1);
    transition: all 0.0s ease;
} */

.amenity-col {
    padding: 5px;
    flex: 1 1 0%;
}

@media (max-height: 600px) {
    .amenitiesText h2, .amenitiesText hr{
        display: none;
    }
}