

/* Start:/local/templates/tourismexpo_2024/components/bitrix/news.list/catalog_hotels/style.css?17745585256468*/
/* Основные стили каталога */
.hotels-catalog-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.hotels-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

/* Стили карточки отеля */
.hotel-item {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #EAEAEA;
    display: flex;
    flex-direction: column;
}

.hotel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Основное содержимое с фоновым изображением */
.hotel-main-content {
    display: flex;
    align-items: center;
    padding: 15px;
    min-height: 210px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hotel-main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

/* Логотип отеля */
.hotel-logo {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.hotel-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
/* Контейнер для ссылок и промокода - ОБНОВЛЕНО */
.hotel-links-promo-container {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 2;
}

/* Ссылки в строку - ОБНОВЛЕНО */
.hotel-links-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

/* Основное содержимое с фоновым изображением - ОБНОВЛЕНО */
.hotel-main-content {
    display: flex;
    align-items: flex-start; 
    padding: 15px;
    min-height: 210px;
    background-size: cover;
    background-position: center;
    position: relative;
}
/* Строка с заголовком и промокодом */
.hotel-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    width: 100%;
}

/* Стили кнопок с иконками */
.hotel-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
    background: rgba(255,255,255,0.9);
    border: 1px solid #E0E6ED;
    color: #403F44;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.hotel-link:hover {
    background: #00AEEF;
    color: white;
    border-color: #00AEEF;
}

.hotel-link-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.2s;
}

.hotel-site .hotel-link-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23403F44"><path d="M11 17H7q-2.075 0-3.537-1.463Q2 14.075 2 12t1.463-3.538Q4.925 7 7 7h4v2H7q-1.25 0-2.125.875T4 12q0 1.25.875 2.125T7 15h4Zm-3-4v-2h8v2Zm13 4h-4v-2h4q1.25 0 2.125-.875T20 12q0 1.25-.875-2.125T17 9h-4V7h4q2.075 0 3.538 1.462Q22 9.925 22 12q0 2.075-1.462 3.537Q19.075 17 17 17Z"/></svg>');
}

.hotel-map .hotel-link-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23403F44"><path d="M12 12q.825 0 1.413-.588Q14 10.825 14 10t-.587-1.413Q12.825 8 12 8q-.825 0-1.412.587Q10 9.175 10 10q0 .825.588 1.412Q11.175 12 12 12Zm0 7.35q3.05-2.8 4.525-5.088Q18 11.975 18 10.2q0-2.725-1.738-4.463Q14.525 4 12 4 9.475 4 7.737 5.737 6 7.475 6 10.2q0 1.775 1.475 4.062Q8.95 16.55 12 19.35ZM12 22q-4.025-3.425-6.012-6.363Q4 12.7 4 10.2q0-3.75 2.413-5.975Q8.825 2 12 2t5.587 2.225Q20 6.45 20 10.2q0 2.5-1.987 5.437Q16.025 18.575 12 22Zm0-11.8Z"/></svg>');
}

.hotel-link:hover .hotel-link-icon {
    filter: brightness(0) invert(1);
}

/* Промокод */
.hotel-promo-below {
    padding: 8px 12px;
    background: rgba(255,255,255,0.9);
    border-radius: 6px;
    border-left: 3px solid #00AEEF;
    border-right: 3px solid #00AEEF;
    color: #1A3154;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-left: 15px;
    white-space: nowrap;
}

.hotel-promo-below strong {
    color: #00AEEF;
}

/* Информация об отеле */
.hotel-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.hotel-title {
    margin: 0;
}

.hotel-description {
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

/* Пагинация */
.pagination-top, .pagination-bottom {
    margin: 20px 0;
}

/* Адаптивность */
@media (max-width: 992px) {
    .hotels-catalog {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 992px) {
.hotel-links-row { flex-direction: column;}
}

@media (max-width: 768px) {
.hotels-catalog-wrapper {

    padding: 0;
}
    .hotels-catalog {
        grid-template-columns: 1fr;
    }
    
    .hotel-main-content {
        flex-direction: column;
        padding: 15px 15px 0;
        text-align: center;
    }
    
    .hotel-logo {
        width: 100%;
        height: auto;
        max-height: 180px;
        margin-bottom: 15px;
    }
    
      .hotel-links-promo-container {
        position: static;
        width: 100%;
        margin-left: 0;
        padding: 0 0 15px;
        align-items: center;
    }
    
    .hotel-main-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .hotel-links-row {
        justify-content: center;
        margin:  0;
		flex-direction:row;
    }
    .hotel-link {
        flex-grow: 1;
        justify-content: center;
        max-width: calc(50% - 5px);
    }
    
    .hotel-title-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hotel-promo-below {
        margin: 10px 0 0 0;
        width: 100%;
        box-sizing: border-box;
        white-space: normal;
        text-align: left;
    }

}

/* End */
/* /local/templates/tourismexpo_2024/components/bitrix/news.list/catalog_hotels/style.css?17745585256468 */
