

/* Start:/local/components/tpiv/pages.vistavki/templates/.default/style.css?17860466149857*/
/* Переопределения */
.root-detail .catalog-slider {
    margin: 0;
}

/* Утилиты */
.ratio-2x1 {
    object-fit: cover;
    aspect-ratio: 2/1;
}

.max-w-800px {
    max-width: 800px;
    height: auto;
}

.space-offsets > * {
    margin-bottom: 64px;
}

.space-offsets > .offset-top {
    margin-top: 0;
}

@media (max-width: 1199px) {
    .space-offsets > * {
        margin-bottom: 56px;
    }
}

@media (max-width: 1023px) {
    .space-offsets > * {
        margin-bottom: 48px;
    }
}

@media (max-width: 767px) {
    .space-offsets > * {
        margin-bottom: 32px;
    }
}

@media (max-width: 499px) {
    .space-offsets > * {
        margin-bottom: 24px;
    }
}

/* Основные стили */
.info-header {
    display: block;
}

.info-title {
    color: black;
    font-size: 32px;
    font-family: Circe;
    font-weight: 800;
    word-wrap: break-word;
    margin-bottom: 20px;
}

.info-subtitle {
    color: black;
    font-size: 26px;
    font-family: Circe;
    font-weight: 350;
    line-height: 44px;
    word-wrap: break-word;
}

.info-subtitle strong {
    font-weight: 700;
}

/* Текстовые блоки */
.text-block {
    color: black;
    font-size: 20px;
    font-family: Circe;
    font-weight: 350;
    line-height: 44px;
    word-wrap: break-word;
}

/* Слайдер */
.slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.slider-carousel {
    width: 100%;
    border-radius: 15px;
    position: relative;
}

.slider-item {
    position: relative;
}

.slider-image {
    height: auto;
    width: 100%;
    display: block;
}

.slider-item a {
    display: block;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.slider-item a:hover {
    opacity: 0.9;
}

/* Owl Carousel кастомизация */
.slider-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
}

.slider-carousel .owl-stage-outer {
    border-radius: 15px;
}

.slider-carousel .owl-prev,
.slider-carousel .owl-next {
    width: 44px;
    height: 44px;
    background: white !important;
    border-radius: 50% !important;
    position: absolute;
    pointer-events: auto;
    transition: all 0.3s ease;
    border: 0;
}

.slider-carousel .owl-prev:hover,
.slider-carousel .owl-next:hover {
    background: #f8f8f8 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.slider-carousel .owl-prev {
    left: -22px;
}

.slider-carousel .owl-next {
    right: -22px;
}

.slider-carousel .owl-prev::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 12px;
    height: 12px;
    border-left: 2px solid #FF9366;
    border-bottom: 2px solid #FF9366;
}

.slider-carousel .owl-next::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 12px;
    height: 12px;
    border-right: 2px solid #FF9366;
    border-top: 2px solid #FF9366;
}

.slider-carousel .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.slider-carousel .owl-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-carousel .owl-dot.active {
    background: none;
    box-shadow: 0 0 0 1px #ACACAC;
}

.slider-carousel .owl-dot span {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ACACAC;
    margin: auto;
}

.slider-carousel .owl-dot.active span {
    background: #FF9366;
}

/* Информационный блок */
.info-block {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-text {
    color: black;
    font-size: 26px;
    font-family: Circe;
    font-weight: 350;
    line-height: 44px;
    word-wrap: break-word;
}

.info-text strong {
    font-weight: 700;
}

/* Документ */
.document-item {
    width: 676px;
    padding: 30px 32px;
    border-radius: 15px;
    border: 1px solid #EEEDED;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.document-content {
    display: flex;
    align-items: center;
    gap: 32px;
}

.document-icon {
    width: 90px;
    height: 90px;
    padding: 32px 23px;
    background: #F0EBEB;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.document-badge {
    padding: 3px 8px;
    background: #D23030;
    border-radius: 4px;
    color: white;
    font-size: 14px;
    font-family: Circe;
    font-weight: 800;
}

.document-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.document-size {
    color: #B8B8B8;
    font-size: 20px;
    font-family: Circe;
    font-weight: 350;
    line-height: 24px;
}

.document-name {
    color: black;
    font-size: 20px;
    font-family: Circe;
    font-weight: 350;
    line-height: 24px;
}

/* Адаптивность */
@media (max-width: 1023px) {
    .slider-carousel .owl-prev {
        left: -15px;
    }

    .slider-carousel .owl-next {
        right: -15px;
    }
}

@media (max-width: 767px) {
    .document-item {
        width: 100%;
    }

    .info-title {
        font-size: 24px;
    }

    .info-subtitle {
        font-size: 20px;
    }

    .text-block {
        font-size: 16px;
    }

    /* Скрываем стрелки навигации на мобильных */
    .slider-carousel .owl-nav {
        display: none;
    }

    .slider-carousel .owl-prev,
    .slider-carousel .owl-next {
        display: none !important;
    }
}


@media (max-width: 1199px) {
    .info-title {
        font-size: 32px;
        line-height: 1.2;
    }

    .info-subtitle {
        font-size: 26px;
        line-height: 1.3;
    }

    .text-block {
        font-size: 20px;
        line-height: 1.4;
    }

    .info-text {
        font-size: 26px;
        line-height: 1.3;
    }

    .document-title {
        font-size: 32px;
    }

    .document-name {
        font-size: 20px;
    }

    .document-size {
        font-size: 20px;
    }
}

@media (max-width: 1023px) {
    .info-title {
        font-size: 30px;
        line-height: 1.2;
    }

    .info-subtitle {
        font-size: 24px;
        line-height: 1.3;
    }

    .text-block {
        font-size: 19px;
        line-height: 1.4;
    }

    .info-text {
        font-size: 24px;
        line-height: 1.3;
    }

    .document-title {
        font-size: 30px;
    }

    .document-name {
        font-size: 19px;
    }

    .document-size {
        font-size: 19px;
    }
}

@media (max-width: 767px) {
    .info-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .info-subtitle {
        font-size: 22px;
        line-height: 1.3;
    }

    .text-block {
        font-size: 18px;
        line-height: 1.4;
    }

    .info-text {
        font-size: 22px;
        line-height: 1.3;
    }

    .document-title {
        font-size: 28px;
    }

    .document-name {
        font-size: 18px;
    }

    .document-size {
        font-size: 18px;
    }
}

@media (max-width: 499px) {
    .info-title {
        font-size: 20px;
        line-height: 1.2;
    }

    .info-subtitle {
        font-size: 18px;
        line-height: 1.3;
    }

    .text-block {
        font-size: 14px;
        line-height: 1.4;
    }

    .info-text {
        font-size: 20px;
        line-height: 1.3;
    }

    .document-title {
        font-size: 24px;
    }

    .document-name {
        font-size: 16px;
    }

    .document-size {
        font-size: 16px;
    }
}

/* Постеры */
.posters {
    display: flex;
    gap: 48px 32px;
}

.posters__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.posters__item {
    display: flex;
    flex-direction: column;
    background: #fff;
    color: inherit;
    text-decoration: none;
    position: relative;
}

.posters__pic {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 10px;
    border: 1px solid #f0f0f0;
}

.posters__pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    transform: scale(1);
    will-change: transform;
}

.posters__item:hover .posters__pic img {
    transform: scale(1.02);
}

.posters__content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.posters__title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 2px;
    transition: color 0.3s ease;
}

.posters__item:hover .posters__title {
    color: var(--color-link);
}

.posters__text {
    font-size: 14px;
    line-height: 1.4;
    color: #666;
    margin-bottom: 4px;
}

.posters__date {
    margin-top: auto;
    font-size: 14px;
    color: #999;
    transition: color 0.3s;
}

.posters__item:hover .posters__date {
    color: #777;
}

.posters__badge {
    position: absolute;
    top: 16px;
    left: 16px;

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

    height: 34px;
    padding: 0 16px;

    background: #5f6774;
    border-radius: 999px;

    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;

    white-space: nowrap;
}


/* Планшеты */
@media (max-width: 1200px) {
    .posters__list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Мобильные */
@media (max-width: 768px) {
    .posters__list {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 20px;
    }

    .posters__pic {
        border-radius: 8px;
    }
}

/* Маленькие телефоны */
@media (max-width: 480px) {
    .posters__list {
        grid-template-columns: 1fr;
    }
}

/* End */


/* Start:/local/components/involta/detyam.videos/templates/.default/style.css?1681219172913*/
.video-carousel {
    padding: 30px 20px;
    position: relative;
    overflow: hidden;
    margin: 0 -20px;
}

.flickity-viewport {
    position: relative;
}

.video-slide {
    width: 270px;
    height: 140px;
    float: left;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
    margin-right: 30px;
}

.flickity-prev-next-button {
    position: absolute;
    top: 50%;
    margin-top: -20px;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    background-color: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .1);
    border: none;
    padding: 10px;
    cursor: pointer;
}

.flickity-prev-next-button svg {
    fill: #ff8530;
    width: 20px;
    height: 20px;
}

.flickity-prev-next-button.previous {
    left: 0;
}

.flickity-prev-next-button.next {
    right: 0;
}

.video-slide-image {
    height: 140px;
    overflow: hidden;
}

.video-slide-image img {
    width: 270px;
}
/* End */


/* Start:/local/components/tpiv/modals.excursion/templates/.default/style.css?1759319770202*/
.modal-phone {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 24px;
    margin-top: 2rem;
    justify-content: center;
}

.modal-phone,
.modal-phone a {
    color: #333333;
}

/* End */
/* /local/components/tpiv/pages.vistavki/templates/.default/style.css?17860466149857 */
/* /local/components/involta/detyam.videos/templates/.default/style.css?1681219172913 */
/* /local/components/tpiv/modals.excursion/templates/.default/style.css?1759319770202 */
