

/* Start:/local/templates/main/components/bitrix/news.detail/ship/style.css?17785788396501*/
.Vessels-comfort-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 80px;
    background: #f5f5f5;
    align-items: start;
    justify-content: space-between;
    gap: 100px;
}

.Vessels-comfort-box {
    display: flex;
    flex-direction: column;
}

.Vessels-comfort-text {
    margin-top: 120px;
}

.Vessel-comfort-list .Vessel-comfort-item p {
    max-width: 70%;
}

.Vessel-comfort-item__svg.Vessel-comfort-item__svg {
    width: 100%;
    height: 100%;
}

.Vessel-comfort-item__link {
    color:black;
}

img.View-slider-slide {
    height: 100%;
    width: 100%;
}

.Vessel-preview-title.Vessel-preview-title {
    width: 75%;
}

.Vessel-preview-text.Vessel-preview-text {
    width: 75%;
}

.Vessel-preview-capacity__item-number.Vessel-preview-capacity__item-number {
    white-space: nowrap;
}

.Vessel-about-item.Vessel-about-item {
    height: auto;
}

.Route-menu {
    margin-bottom: 120px;
}

.Route-menu__wrapper {
    background-color: #F5F5F5;
    display: flex;
}

.Route-menu__container {
    display: flex;
    padding: 50px 0;
    width: 50%;
    position: relative;
    min-height: 412px;
}

.Route-menu__container:first-child::after {
    content: "";
    display: inline-block;
    width: 2px; 
    height: 100%; 
    background-image: url('/local/templates/main/images/Rectangle_rent.png');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: baseline; /* middle */
}


.Route-menu__item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%
}

.Route-menu__button {
    position: absolute;
    background-color: #B2284F;
    color: white;
    width: 415px;
    height: 100px;
    padding: 20px 40px;
    font-size: 24px;
    border-radius: 50px;
    text-align: center;
    line-height: 60px;
    top:105%;
    left:50%;
    transform:translate(-50%, -50%);
}

.ticket-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.ticket-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* растягивает контент */
  height: 100%; /* чтобы все карточки были одной высоты */
  transition: transform 0.2s ease;
  position: relative;
}

.ticket-card:hover {
  transform: translateY(-4px);
}

.ticket-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.ticket-content {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* тянется */
  margin-bottom: 40px;
}

.ticket-content h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #1e293b;
}

.ticket-content p {
  margin: 0 0 16px;
  color: #475569;
  font-size: 14px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 6;   /* Ограничение строк */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticket-btn {
  display: inline-block;
  background: #b2284f;
  color: #fff;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  position: absolute;
  bottom: 16px;  /* фиксируем снизу */
  left: 16px;    /* фиксируем слева */
}

.ticket-btn:hover {
  background: #a90231;
}

.Vessel-plan.Vessel-plan {
    padding-bottom: 0px;
}

.Vessel-preview-wrapper .Fleet-page-svg {
    width: 413px;
    height: 177px;
}


@media (max-width: 1740px) {

    .Vessel-preview-wrapper .Fleet-page-svg {
        width: 340px;
        height: 140px;
    }
    
    .Vessels-comfort-wrapper {
        gap: 50px;
    }

    .Vessel-plan.Vessel-plan {
        padding-bottom: 0px;
    }
}


@media (max-width: 1180px) {
     .Vessels-comfort-wrapper {
        flex-direction: column;
        padding: 60px 40px;
        align-items: start;
        justify-content: space-between;
        gap: 0px;
    }

    .Vessels-comfort-box {
        flex-direction: row;
        gap: 150px;
    }

    .Vessels-comfort-text {
        margin-top: 20px;
    }

    .Vessel-preview-capacity.Vessel-preview-capacity {
        justify-content: space-around;
    }

    .Route-menu__image {
        max-width: 50%;
    }

    .Route-menu__button {
        width: 280px;
        height: 80px;
        padding: 10px 30px;
        font-size: 22px;
        text-align: center;
        line-height: 58px;
        top: 105%;
        left: 50%;
    }

    .Vessel-plan.Vessel-plan {
        padding-bottom: 0px;
    }

    .Vessel-preview-wrapper .Fleet-page-svg {
        width: 213px;
        height: 177px;
    }

}


@media (max-width: 745px) {
    .Route-menu {
        margin-bottom: 80px;
    }
    
    .Route-menu__button {
        width: 190px;
        height: 60px;
        padding: 10px 30px;
        font-size: 22px;
        text-align: center;
        line-height: 40px;
        top: 106%;
        left: 50%;
    }

    .Route-menu__container {
        min-height: 245px;
    }

    .Route-menu__text {
        font-size: 18px;
    }

    .Vessels-comfort-wrapper {
        padding: 40px 20px;
    }
  
    .Vessels-comfort-box {
        flex-direction:column;
        gap: 30px;
    }

    .Vessel-plan.Vessel-plan {
        padding-bottom: 0px;
    }

     .Vessel-preview-wrapper .Fleet-page-svg {
       display: none;
    }
}


@media (max-width: 480px) {
    .Vessel-preview-capacity.Vessel-preview-capacity {
        height: 75px;
        padding: 10px 15px 10px 15px !important;
        gap: 25px;
    }

    .Vessel-preview-capacity__item-number.Vessel-preview-capacity__item-number {
        font-size: 16px;
    }
    
    .Route-menu {
        margin-bottom: 40px;
    }

    .Route-menu__button {
        width: 150px;
        height: 50px;
        padding: 5px 20px;
        font-size: 18px;
        text-align: center;
        line-height: 40px;
        top: 106%;
        left: 50%;
    }

    .Route-menu__text {
        font-size: 16px;
    }

    .Vessel-plan.Vessel-plan {
        padding-bottom: 0px;
    }
}


/* End */


/* Start:/local/templates/main/components/bitrix/breadcrumb/breadcrumbs/style.min.css?1778578839467*/
.bx-breadcrumb{margin:10px 0}.bx-breadcrumb i{color:#b5bdc2;line-height:13px;font-size:12px;vertical-align:middle;margin-right:5px}.bx-breadcrumb .bx-breadcrumb-item{float:left;margin-bottom:10px;white-space:nowrap;line-height:13px;vertical-align:middle;margin-right:10px}.bx-breadcrumb .bx-breadcrumb-item span{font-family:"Open Sans",Arial,"Helvetica Neue",Helvetica,sans-serif;font-size:13px;white-space:normal}.bx-breadcrumb .bx-breadcrumb-item a{border-bottom:0}
/* End */


/* Start:/local/templates/main/components/bitrix/news.list/ship_diagram/style.css?17785788395327*/
/* new */
section.Vessel-plan {
    padding-top: 100px;
    padding-bottom: 0px;
}

.Vessel-plan {
    position: relative;
}

.Vessel-plan-wrapper_box {
    margin-bottom: 60px;
    margin-top: 60px;
}

.Vessel-plan-title.Subtitle {
    font-size: 64px;
}

.Vessel-plan-descr {
    margin-top: 50px;
}

.Vessel-plan-descr_title {
    font-weight: 700;
}

.Vessel-plan-descr_title.comf_salon {
    color: #EA3066;
}

.Vessel-plan-descr_title.main_salon {
    color: #962344;
}
.Vessel-plan-descr_title.biseness_salon {
    color: #010f5c;
}

.Vessel-plan-descr_text {
    font-size: 20px;
    width: 50%;
    margin-top: 15px;
}

.Vessel-plan-row {
    margin-top: 60px;
}

.Vessel-plan-wrapper {
    position: relative;
}

.Wave {
    width: 726px;
    height: 310px;
    position: absolute;
    z-index: -1;
}

.Wave.Vessel-preview-blind {
    right: 0px;
    top: 0px;
    -webkit-transform: rotate(133deg);
    -ms-transform: rotate(165deg);
    transform: rotate(181deg);
}

.Vessel-plan-image {
    margin-top: 60px;

}

.Vessel-about_3d {
    margin-top: 60px;
}

.Vessel-preview-3d {
    margin-bottom: 20px;
}


/* Светлый фон для backdrop (overlay) */
.fancybox__backdrop {
    --fancybox-bg: rgba(240, 240, 245, 0.95) !important;  /* светло-серый, почти белый */
        /* Варианты: */
        /* --fancybox-bg: rgba(255, 255, 255, 0.98); */     /* почти чисто белый */
        /* --fancybox-bg: rgba(250, 250, 255, 0.92); */     /* очень светлый голубоватый */
    background: var(--fancybox-bg) !important;
}

    /* Если нужно сделать кнопки тулбара видимыми на светлом фоне */
.fancybox__toolbar {
    --f-button-bg: rgba(0,0,0,0.6);          /* тёмные кнопки */
    --f-button-color: #ffffff;               /* белые иконки */
}

    /* Опционально: тени/рамки картинки для лучшего вида на светлом фоне */
.fancybox__content > .fancybox__image {
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.fancybox__slide.has-image .fancybox__content .fancybox-image {
    transform: rotate(-90deg) scale(1.2) !important;  /* ← вот поворот на 180° */
    transition: transform 0.3s ease;       /* плавность, если хочешь */
}

.fancybox__slide.has-image .fancybox__content {
    transform-origin: center center !important;  /* центр поворота */
    max-width: none !important;                  /* снимаем ограничения */
    max-height: none !important;
    width: auto !important;  /* чтобы не обрезать изображение после поворота */
    height: auto !important;
}


@media (max-width: 1740px) {
    .Vessel-plan-title.Subtitle {
        font-size: 50px;
    }
        
    .Wave.Vessel-preview-blind {
        top: 110px;
    }

    .Wave {
        width: 570px;
    }

    .Vessel-plan-image.Vessel-plan-image {
        width: 100%;
        margin-bottom: 40px;
        height: 270px;
    }
}

@media (max-width: 1180px) {
    section.Vessel-plan  {
        padding-top: 60px;
    }

    .Wave.Vessel-preview-blind {
        display: none;
    }
    
    .Vessel-plan-title.Subtitle {
        font-size: 38px;
    }
    
    .Vessel-plan-descr_text {
        font-size: 18px;
        width: 100%;
        margin-top: 10px;
    }
    
    .Vessel-plan-title.Vessel-plan-title {
        margin-bottom: 30px;
    }
    
    .Vessel-plan-descr {
        margin-top: 30px;
    }
    
    .Vessel-plan-row.Vessel-plan-row {
        margin-top: 40px;
        margin-bottom: 60px;
    }
    
    .Vessel-plan-image:last-child {
        margin-bottom: 0;
    }

    .Vessel-plan-image.Vessel-plan-image {
        height: 220px;
    }

}

@media (min-width: 746px) {
  [data-fancybox] {
    pointer-events: none !important;      /* клик не проходит */
    cursor: default !important;           /* курсор обычный */
  }

  [data-fancybox] img {
    cursor: default !important;
  }
}

@media (max-width: 745px) {

    section.Vessel-plan {
        padding-top: 65px;
    }

    .Vessel-plan-title.Subtitle {
        font-size: 26px;
    }

    .Vessel-plan-row.Vessel-plan-row {
        margin-bottom: 10px;
        margin-top: 0px;
        height: 100px;
    }

    .Vessel-plan-image.Vessel-plan-image {
        -webkit-transform:none;
        -ms-transform: none;
        transform: none;
        min-width: 395px;
        height: 116px;
        right: -202px;
        top: 0;
    }
}

@media (max-width: 480px) {
    section.Vessel-plan {
        padding-top: 35px;
    }
    
    .Vessel-plan-descr_text.Vessel-plan-descr_text {
        font-size: 14px;
        margin-top: 8px;
    }

    .fancybox__slide.has-image .fancybox__content .fancybox-image {
        transform: rotate(-90deg) scale(1.5) !important;  /* ← вот поворот на 180° */
        transition: transform 0.3s ease;       /* плавность, если хочешь */
    }
}


/* End */


/* Start:/local/templates/main/components/bitrix/news.list/rates-block-grid/style.css?17785788392353*/
section.Travel-destinations_grid {
    padding-top: 60px;
}

.Travel-destinations-heading {
    margin-bottom: 20px;
}

.Travel-destinations_grid {
    padding-bottom: 100px;
}

.routes-grid {
    display: grid;
    gap: 20px;
    /* padding: 20px; */
    grid-template-columns: repeat(3, 1fr); /* по умолчанию — 1 карточка */
}
  
.route-card {
    position: relative;
    display: block;
    overflow: hidden;
    /* border-radius: 12px; */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}
  
.route-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}
  
.route-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
  
.route-card:hover img {
    transform: scale(1.05);
}
  
.route-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    color: #fff;
    padding: 15px;
    box-sizing: border-box;
}
  
.route-info h3 {
    margin: 0;
    font-size: 1.25rem;
}

.route-info p {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 5px 0 0;
    font-size: 0.9rem;
}
  
.clock-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    fill: #fff;
    opacity: 0.8;
}

  
@media (max-width: 1180px) {
    .routes-grid {
      grid-template-columns: repeat(2, 1fr); /* планшеты */
    }
}

@media (max-width: 745px) {
    .Tabs-buttons-wrapper .Travel-destinations-buttons.Tabs-buttons {
        width: 100%;
        flex-wrap: wrap;
    }

    .Travel-destinations-heading .Tabs-buttons-wrapper {
        overflow-x: unset;
    }

    .Travel-destinations-heading {
        margin-bottom: 0;
    }

    .Travel-destinations-heading .Tabs-buttons-wrapper-2 {
        height: auto;
    }
}
  
@media (max-width: 600px) {
    .routes-grid {
      grid-template-columns: repeat(1, 1fr); /* десктоп */
    }


}

@media (max-width: 480px) {
    .route-info h3 {
        font-size: 1rem;
    }
    
    .route-info p {
        font-size: 0.7rem;
    }
}
  
  
  
/* End */
/* /local/templates/main/components/bitrix/news.detail/ship/style.css?17785788396501 */
/* /local/templates/main/components/bitrix/breadcrumb/breadcrumbs/style.min.css?1778578839467 */
/* /local/templates/main/components/bitrix/news.list/ship_diagram/style.css?17785788395327 */
/* /local/templates/main/components/bitrix/news.list/rates-block-grid/style.css?17785788392353 */
