/**
 * Стили страницы списка гостиниц (плашки + фильтр).
 * Используются в page-hotel-list.php и в шорткодах [togo_hotel_list_filters] / [togo_hotel_list].
 */
.hotels-list-page { padding: 40px 0; }
.hotels-list__sidebar { margin-bottom: 30px; }
.hotels-list__filters {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    position: sticky;
    top: 20px;
}
.hotels-list__filters-title { font-size: 20px; font-weight: 600; margin-bottom: 20px; color: #333; }
.hotels-list__filter-section { margin-bottom: 25px; }
.hotels-list__filter-section-title { font-size: 16px; font-weight: 600; margin-bottom: 15px; color: #333; }
.hotels-list__filter-search { margin-bottom: 15px; }
.hotels-list__filter-search-input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}
.hotels-list__filter-city-help {
    margin: 0 0 12px;
}
.hotels-list__filter-city-help-link {
    display: inline-block;
    font-size: 13px;
    line-height: 1.35;
    color: #0073aa;
    text-decoration: underline;
}
.hotels-list__filter-city-help-link:hover,
.hotels-list__filter-city-help-link:focus {
    color: #005a87;
    text-decoration: none;
}
.hotels-list__filter-cities,
.hotels-list__filter-options { max-height: 280px; overflow-y: auto; }
.hotels-list__filter-city-item,
.hotels-list__filter-option-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    cursor: pointer;
    font-size: 14px;
}
.hotels-list__filter-city-item:hover,
.hotels-list__filter-option-item:hover { background: #f0f0f0; padding-left: 5px; }
.hotels-list__filter-city-checkbox,
.hotels-list__filter-option-checkbox { margin-right: 10px; cursor: pointer; }
.hotels-list__filter-city-name,
.hotels-list__filter-option-name { flex: 1; color: #333; }
.hotels-list__filter-city-count { color: #999; margin-left: 5px; }
.hotels-list__filter-actions { margin-top: 20px; padding-top: 20px; border-top: 1px solid #ddd; }

.hotels-list__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.hotels-list__results-count { font-size: 14px; color: #666; }
.hotels-list__grid { display: flex; flex-direction: column; gap: 25px; }
.hotels-list__card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}
.hotels-list__card:hover { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); }
.hotels-list__card.hotels-list__card--hidden { display: none; }
/* Карточки турниров из Elementor Loop Grid при фильтрации */
.tournament-loop-card.tournament-loop-card--hidden { display: none !important; }
.hotels-list__card-inner {
    display: flex;
    gap: 20px;
    padding: 5px;
    align-items: stretch;
    flex: 1;
    min-height: 0;
    height: 100%;
}
.hotels-list__card-image {
    flex-shrink: 0;
    width: 350px;
    height: 100%;
    overflow: hidden;
    border-radius: 6px;
    background: #f0f0f0;
    display: block;
    margin: 0;
    align-self: stretch;
}
.hotels-list__card-image a { display: block; width: 100%; height: 100%; text-decoration: none; }
.hotels-list__card-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* Фиксированный размер превью для шорткода [togo_tournament_thumbnail] в Elementor */
.togo-thumbnail-fixed {
    display: block;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 6px;
    background: #f0f0f0;
}
.togo-thumbnail-fixed a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.togo-thumbnail-fixed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.togo-thumbnail-fixed .hotels-list__card-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8e8e8;
    color: #999;
    font-size: 14px;
}

/* Фиксированный размер превью для шорткода [togo_hotel_thumbnail] в Elementor: ширина 100%, высота 250px */
.togo-hotel-thumbnail-fixed {
    display: block;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 6px;
    background: #f0f0f0;
}
.togo-hotel-thumbnail-fixed a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.togo-hotel-thumbnail-fixed img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.togo-hotel-thumbnail-fixed .hotels-list__card-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8e8e8;
    color: #999;
    font-size: 14px;
}

.hotels-list__card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8e8e8;
    color: #999;
    font-size: 14px;
}
.hotels-list__card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 15px 15px 15px 0;
    min-height: 0;
}
.hotels-list__card-location { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #666; margin-bottom: 5px; }
.hotels-list__card-location-flag { font-size: 16px; }
.hotels-list__card-title { margin: 0; font-size: 20px; font-weight: 600; }
.hotels-list__card-title a { color: #0073aa; text-decoration: none; }
.hotels-list__card-title a:hover { text-decoration: underline; }
.hotels-list__card-address { font-size: 14px; color: #555; margin: 0; }
.hotels-list__card-address-label { font-weight: 600; color: #333; }
.hotels-list__card-checklist { list-style: none; margin: 0 0 12px 0; padding: 0; }
.hotels-list__card-checklist-item {
    position: relative;
    padding: 4px 0 4px 22px;
    font-size: 13px;
    color: #555;
}
.hotels-list__card-checklist-item::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0073aa;
    font-weight: bold;
}
.hotels-list__card-amenities .hotels-list__card-checklist,
.hotels-list__card-infrastructure .hotels-list__card-checklist,
.hotels-list__card-sports .hotels-list__card-checklist {
    max-height: 100px;
    overflow-y: auto;
}
.hotels-list__card-description { color: #555; font-size: 14px; line-height: 1.6; margin-bottom: 15px; max-height: 60px; overflow: hidden; }
.hotels-list__card-description p { margin: 0; }
.hotels-list__card-section-title { font-size: 16px; font-weight: 600; color: #333; margin: 0 0 12px 0; }
.hotels-list__card-amenities { margin-bottom: 15px; max-height: 80px; overflow: hidden; }
.hotels-list__card-amenities-list { display: flex; flex-wrap: wrap; gap: 8px; }
.hotels-list__card-amenity-item {
    display: inline-block;
    padding: 6px 12px;
    background: #f0f7ff;
    color: #0066cc;
    border-radius: 4px;
    font-size: 13px;
    border: 1px solid #d0e5ff;
}
.hotels-list__card-infrastructure { margin-bottom: 15px; max-height: 100px; overflow: hidden; }
.hotels-list__card-infrastructure-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.hotels-list__card-infrastructure-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #555; }
.hotels-list__card-infrastructure-icon { font-size: 18px; flex-shrink: 0; }
.hotels-list__card-infrastructure-text { flex: 1; }
.hotels-list__card-sports { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 5px; }
.hotels-list__card-sport-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #e8f4f8;
    color: #0073aa;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}
.hotels-list__card-footer { margin-top: auto; padding-top: 15px; display: flex; justify-content: flex-end; align-items: flex-end; flex-shrink: 0; }
.hotels-list__card-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background-color: #0073aa;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-left: auto;
    text-align: center;
    line-height: 1.4;
}
.hotels-list__card-button:hover { background-color: #005a87; color: #fff; text-decoration: none; }
.hotels-list__card-button:focus { outline: 2px solid #0073aa; outline-offset: 2px; }

@media (max-width: 991px) {
    .hotels-list__card-inner { flex-direction: column; align-items: stretch; }
    .hotels-list__card-image { width: 100%; height: 250px; min-height: 250px; max-height: 250px; margin: 5px 0; }
    .hotels-list__card-content { padding: 15px 0; }
    .hotels-list__card-infrastructure-list { grid-template-columns: 1fr; }
}
