/* Дополнительные стили и настройки */

/* Уменьшаем высоту хедера при активации sticky и делаем плавное сжатие логотипа */
html.sticky-header-active #header.header-effect-shrink .header-container {
	min-height: 70px !important;
}

/* Плавный переход для логотипа (по умолчанию) */
#header .header-logo img {
	/* transition: width 200ms ease, height 200ms ease, max-height 200ms ease; */
	/* width: auto; */
	/* height: auto; */
	/* max-height: none; */
}

/* При активном sticky — логотип ровно 62x40 */
html.sticky-header-active #header.header-effect-shrink .header-logo img,
#header.header-effect-shrink.sticky .header-logo img {
	width: 62px !important;
	height: 40px !important;
	max-height: none !important;
}

/* Мобильная версия — подогнать при необходимости */
@media (max-width: 767px) {
	html.sticky-header-active #header.header-effect-shrink .header-container {
		min-height: 56px !important;
	}
	html.sticky-header-active #header.header-effect-shrink .header-logo img,
	#header.header-effect-shrink.sticky .header-logo img {
		width: 52px !important;
		height: 34px !important;
	}
}

/* Контейнер туров */
/* Контейнер 3:2 — железобетон */
.image-frame-wrapper.ratio-3x2{
  position: relative;
  width: 100%;
  padding-top: 66.666%; /* 3:2 */
  overflow: hidden;
}

/* Картинка растягивается внутри */
.image-frame-wrapper.ratio-3x2 img{
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100% !important;

  object-fit: cover;
}

/* Кнопка — скрыта */
.image-frame-wrapper.ratio-3x2 .image-frame-action{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 18px 0;

  opacity: 0;
  visibility: hidden;
  transition: .3s ease;

  z-index: 5;
}

/* Появляется при hover */
.image-frame-wrapper.ratio-3x2:hover .image-frame-action{
  opacity: 1;
  visibility: visible;
}



/* Иконка TripAdvisor */
.social-icon {
    display: inline-flex;
    width: 120px;
    height: 20px;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    padding-top: 21px;
}
.social-icon span {
    width: 120px;
    height: 20px;
    display: block;
    background: url("/assets/images/tripadvisor.png") no-repeat;
    background-size: auto 40px; 
    background-position: 0 0;
}
.social-icon:hover span {
    background-position: 0 -20px;
}

/* Переносим TripAdvisor на новую строку в мобилке */
@media (max-width: 768px) {
    .social-icon {
        padding-top: 20px;
    }
    .social-icon span {
        width: 29px;
    }
    .footericons{
        margin-bottom: 12px;
    }
}

/* Карточки из выставки в footer */
.exhibit-card{
  background:#fff;
  border-radius:14px;
  padding:0px;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.exhibit-card img{
  max-height:94px;
  width:auto;
  object-fit:contain;
}