.selection {
  padding: 0 0 96px;
}

.selection.selection--home {
  padding: 0 0 53px;
}

body[data-market="pl"] .selection--home {
  background-color: #F8F8F9;
}

.tour-list__container {
  position: relative;
}
.tour-list__container.hovered {
  z-index: 2;
}
.tour-list__view {
  position: relative;
  margin: -30px -20px;
  padding: 30px 20px;
}
.tour-list__view.hovered {
  padding: 250px 20px;
  margin: -250px -20px;
  position: relative;
}
.tour-list__list {
  display: flex;
  height: auto;
  top: 0;
}

.tour-list__item {
  width: 276px;
  flex-shrink: 0;
  height: auto;
  display: inline-block;
  border-radius: 16px;
  background-color: #fff;
  transition: box-shadow .2s;
  text-decoration: none;
  margin-right: 24px;
}
.tour-list__item:hover {
  text-decoration: none;
  box-shadow: 0 20px 24px 0 rgba(0, 0, 0, 0.04);
}
.tour-list__item-photo {
  background: no-repeat center / cover;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  height: 163px;
  border-radius: 16px 16px 0 0;
  padding: 12px;
  position: relative;
}
.tour-list__item-img {
  position: absolute;
  left: 0;
  top: 0;
}
.tour-list__rating-list {
  position: absolute;
  z-index: 1;
  bottom: 0;
  right: 0;
  width: 104px;
  height: 22px;
  background-color: #ffffff;
  border-radius: 16px 0 0 0;
}
.tour-list__item-info {
  padding: 12px 16px 8px 16px;
  display: block;
}
.tour-list__item-info > span {
  display: block;
}
.tour-list__item-info .tour-list__item-hotel-name {
  display: flex;
}
.tour-list__hotel-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .09px;
  color: #404a51;
  margin: 0 0 10px 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: nowrap;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
}
.tour-list__hotel-stars {
  min-width: 36px;
  font-size: 17px;
  font-weight: 800;
  color: #404a51;
}
.tour-list__hotel-stars i {
  vertical-align: middle;
  margin-bottom: 3px;
}
.tour-list__item-info .tour-list__item-decoration,
.tour-list__item-info .tour-list__item-duration-food {
  display: none;
}
.tour-list__item-duration-food i {
  margin-right: 14px;
}
.tour-list__item-decoration,
.tour-list__item-duration-food{
  margin: 10px 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08px;
  color: #535c62;
  white-space: nowrap;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
}
.tour-list__item-location,
.tour-list__item-duration,
.tour-list__item-food {
  margin: 0 0 14px 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08px;
  color: #535c62;
  white-space: nowrap;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  padding-left: 26px;
  position: relative;
}
.tour-list__item-location svg,
.tour-list__item-duration svg,
.tour-list__item-food svg {
  position: absolute;
  left: 0;
}
.tour-list__item-total-sum {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 400;
  color: #8f9397;
  white-space: nowrap;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  line-height: 135%;
}
.tour-list__item-total-sum .item-sum {
  font-size: 20px;
  font-weight: 700;
  color: #15ac5d;
}
.tour-list__item-buy-tour {
  font-size: 16px;
  font-weight: 700;
  font-stretch: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  color: #0072ed;
  text-align: left;
  margin: 0 0 8px 0;
}

[lang="pl"] .tour-list__hotel-name,
[lang="pl"] .tour-list__item-location,
[lang="pl"] .tour-list__item-duration,
[lang="pl"] .tour-list__item-food,
[lang="pl"] .tour-list__hotel-stars,
[lang="pl"] .tour-list__item-duration-food {
  color: #2A004A;
}
[lang="pl"] .tour-list__hotel-name {
  line-height: 1.18;
  letter-spacing: 0;
  margin: 0 0 14px 0;
}

[lang="pl"] .tour-list__item-total-sum {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}
[lang="pl"] .tour-list__item-total-sum .item-sum {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  color: #15AC5D;
}

[lang="pl"] .tour-list__item-location,
[lang="pl"] .tour-list__item-duration,
[lang="pl"] .tour-list__item-food,
[lang="pl"] .tour-list__item-duration-food {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.five-starts {
  background: #FFDD5B;
  padding: 80px 0;
}

.five-starts .container__header {
  margin-top: 0;
}
.five-starts .container__header-title {
  color: #51440E;
}
.yellow {
  background: #FFEB9E;
}
.yellow_2 {
  background: #FFF6D4;
}
.yellow_3 {
  background: #FFFCF3;
}
.yellow_4 {
  background: #FFFCF2;
}
[data-market="pl"] .five-starts {
  background: #FF957E;
}
[data-market="pl"] .five-starts.yellow {
  background: #FFC0B2;
}
[data-market="pl"] .five-starts.yellow_2 {
  background: #FFE3DD;
}
[data-market="pl"] .five-starts.yellow_3 {
  background: #FFF7F5;
}
[data-market="pl"] .five-starts.yellow_4 {
  background: #F8F8F9;
}
.five-starts .star-title{
  display: flex;
  align-items: center;
  gap: 0 12px;
  margin: 0 0 38px;
  color: #51440E;
  letter-spacing: 0.2px;
  line-height: 1;
}
[data-market="pl"] .five-starts .star-title {
  color: #491C13;
}

.star-holder {
  display: flex;
  flex-wrap: wrap;
  color: #F9B800;
}
[data-market="pl"] .five-starts .star-holder {
  color: #E54B2A;
}

.star-holder svg {
  width: 48px;
}

.tours_by_star {
  margin: 0;
  width: 100%;
  padding: 0;
}
.tours_by_star .tour-list__list{
  flex-wrap: wrap;
  gap: 32px 24px;
}
.tours_by_star .tour-list__item {
  margin: 0;
}
.tours_by_star .tour-list__item-total-sum {
  margin: 0;
}
.live-tours-block {
    padding: 80px 0;
}

.live-tours-header {
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 24px;
}
.live-tours-block .live-tours-header.container-home {
  margin: 0 0 32px;
}
.live-tours-header .header-title-link svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.live-tours-header__text-short {
    display: none;
}

.live-tours-header__counter {
    display: inline-block;
    border: 1px solid #404A5133;
    border-radius: 56px;
    padding: 18px 24px;
    font-weight: 600;
    font-size: 22px;
    line-height: 1;
}

.live-tours-block--theme-sky {
    background: #E1F2FF;
}
.live-tours-block--theme-sky .header-title-link,
.live-tours-block--theme-sky .live-tours-header__counter {
    color: #0D3A5D;
}

.live-tours-block--theme-ice {
    background: #EDF5FC;
}
.live-tours-block--theme-ice .header-title-link,
.live-tours-block--theme-ice .live-tours-header__counter {
    color: #0D3A5D;
}


.live-tours-block--theme-mint {
    background: #ECFBF2;
}
.live-tours-block--theme-mint .header-title-link,
.live-tours-block--theme-mint .live-tours-header__counter {
    color: #0F4A27;
}

.live-tours-block--theme-sky + .live-tours-block--theme-sky {
    padding-top: 0;
}

@media (hover: hover) {
    .live-tours-header .header-title-link:hover .header-title-link-arrow {
        transform: translateX(5px);
    }
}

.live-page-hero {
    padding: 56px 0 64px;
}

.live-stats-band--booking {
    background-color: #C8FFDE;
}

.live-stats-band--departures {
    background-color: #D1EBFF;
}

.live-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 700px;
    gap: 20px;
}

.live-stat-card {
    color: #474F55;
    background: rgba(255, 255, 255, 0.30);
    border-radius: 16px;
    padding: 20px 20px 16px 20px;
}

.live-stat-card__icon {
    display: block;
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
}

.live-stat-card__value {
    display: block;
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 6px;
}

.live-stat-card__label {
    display: block;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.35;
}

.header-pl--live .live-page-hero {
    padding: 56px 0 34px;
}
@media (min-width: 1176px) {
  .tours_by_star .tour-list__item {
    width: calc((100% - 3 * 24px) / 4);
  }
  [lang="pl"].container-home:not(.container-countries) {
    margin-top: 32px;
  }

  [lang="ua"] .live-tours-block + .live-tours-block {
    padding-top: 0;
  }

}
/*tablet*/
@media (max-width: 1176px) and (min-width: 768px) {
  .tour-list__list {
    flex-wrap: wrap;
  }
  .tour-list__item {
    width: calc(50% - 12px) !important;
    margin-bottom: 24px;
  }
  .tour-list__item:nth-child(even) {
    margin-right: 0 !important;
  }

  .tours_by_star .tour-list__item {
    width: calc((100% - 1 * 24px) / 2);
  }
}
@media (max-width: 1176px) {
  .tour-list__view {
    overflow: visible;
  }
}

/*mobile*/
@media (max-width: 767px) {
  .selection {
    padding: 0 0 70px;
  }
  .tour-list__list {
    flex-wrap: wrap;
  }
  .tour-list__item {
    width: 100% !important;
    margin: 0 0 24px !important;
    border-radius: 16px !important;
  }

  .tour-list__item-info .tour-list__hotel-name {
    margin: 0 0 11px 0;
  }
  .tour-list__item-info .tour-list__item-location {
    margin: 0;
  }
  .tour-list__item-info .tour-list__item-decoration {
    display: block;
    padding: 6px 0;
  }
  .tour-list__item-info .tour-list__item-duration-food {
    display: block;
    margin: 0 0 12px 0;
  }
  .tour-list__item-info .tour-list__item-duration,
  .tour-list__item-info .tour-list__item-food {
    display: none;
  }
  [lang="pl"] .tour-list__item-info .tour-list__item-duration,
  [lang="pl"] .tour-list__item-info .tour-list__item-food {
    display: block;
  }
  [lang="pl"] .tour-list__item-info .tour-list__item-duration-food,
  [lang="pl"] .tour-list__item-info .tour-list__item-decoration {
    display: none;
  }
  [lang="pl"] .tour-list__item-info .tour-list__hotel-name,
  [lang="pl"] .tour-list__item-info .tour-list__item-location,
  [lang="pl"] .tour-list__item-info .tour-list__item-duration,
  [lang="pl"] .tour-list__item-info .tour-list__item-food {
    margin: 0 0 16px 0;
  }
  .tour-list__item-info .tour-list__item-decoration::after {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background: #ededee;
  }
  .tour-list__item-total-sum .item-sum {
    color: #10a000;
  }
  .tour-list__item-location {
    padding-left: 20px;
  }
  .five-starts {
    padding: 40px 0 40px;
  }
  .five-starts .star-title {
    margin-bottom: 24px;
  }

  .tours_by_star .tour-list__list {
    gap: 0;
  }

  .tour-list__container .tour-list__item--hidden {
    display: none;
  }
  .tour-list__container.show-more-tours .tour-list__item--hidden {
    display: inline-block;
  }
  .tour-list__container.show-more-tours > .show-more-tours-button {
    display: none;
  }

  .live-tours-block {
    padding: 40px 0;
  }

  .live-tours-header__counter {
    display: none;
  }
  .live-tours-header__text-full {
    display: none;
  }
  .live-tours-header__text-short {
    display: inline;
  }

  .live-page-hero {
    padding: 0 0 40px;
  }

  .header-pl--live .live-page-hero {
    padding: 0 0 16px;
  }

  .live-stats {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
    gap: 12px 15px ;
  }
  .live-stat-card {
    background: rgba(255, 255, 255, 0.60);
    padding: 18px 20px;
  }
  .live-stat-card__icon {
    width: 32px;
    height: 32px;
  }
  .live-stat-card__value {
    font-size: 24px;
    margin-bottom: 8px;
  }
}

/*MEDIA DONE*/
