

/* Start:/local/templates/company/components/mvmolkov/stories/.default/style.css?17863498768324*/
/* Stories strip + viewer */

.stories-strip {
    padding: 8px 0 24px;
}

.banya-hero + .stories-strip {
    margin-top: -8px;
    padding-top: 0;
}

.stories-strip__scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 8px 4px 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.stories-strip__scroll::-webkit-scrollbar {
    display: none;
}

.stories-item {
    flex: 0 0 auto;
    width: 84px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
    scroll-snap-align: start;
    color: var(--ink);
    font-family: var(--font-body);
}

.stories-item__ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--wood-light), var(--forest), var(--wood));
}

.stories-item__avatar {
    display: block;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--cream);
    background: var(--cream-deep);
}

.stories-item__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stories-item__avatar--placeholder {
    background: linear-gradient(160deg, var(--forest-soft), var(--wood));
}

.stories-item__label {
    font-size: 12px;
    line-height: 1.3;
    text-align: center;
    max-width: 84px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.stories-item:hover .stories-item__ring,
.stories-item:focus-visible .stories-item__ring {
    transform: scale(1.04);
    transition: transform 0.2s var(--ease);
}

/* Viewer */

.stories-viewer {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stories-viewer[hidden] {
    display: none !important;
}

.stories-viewer.is-open {
    display: flex;
}

.stories-viewer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 18, 14, 0.82);
    backdrop-filter: blur(8px);
}

.stories-viewer__close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.stories-viewer__stage {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: min(100%, 1200px);
    padding: 0 16px;
}

.stories-viewer__cards {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.stories-viewer__card {
    position: relative;
    width: min(92vw, 380px);
    aspect-ratio: 9 / 16;
    border-radius: 20px;
    overflow: hidden;
    background: var(--forest-deep);
    color: #fff;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
}

.stories-viewer__card--side {
    width: min(22vw, 260px);
    opacity: 0.45;
    transform: scale(0.88);
    pointer-events: none;
    filter: blur(1px);
}

.stories-viewer__card--active {
    z-index: 2;
}

.stories-viewer__progress {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 4;
    display: flex;
    gap: 4px;
    height: 3px;
}

.stories-viewer__progress-segment {
    flex: 1;
    height: 100%;
    background: rgba(255, 255, 255, 0.28);
    border-radius: 2px;
    overflow: hidden;
}

.stories-viewer__progress-fill {
    display: block;
    width: 0%;
    height: 100%;
    background: #fff;
    border-radius: inherit;
    transition: width 0.08s linear;
}

.stories-viewer__progress-segment.is-done .stories-viewer__progress-fill {
    width: 100%;
}

.stories-viewer__header {
    position: absolute;
    top: 24px;
    left: 16px;
    right: 16px;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stories-viewer__title {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stories-viewer__sound {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s var(--ease);
}

.stories-viewer__sound:hover,
.stories-viewer__sound:focus-visible {
    background: rgba(0, 0, 0, 0.55);
}

.stories-viewer__sound[hidden] {
    display: none !important;
}

.stories-viewer__sound-icon {
    width: 20px;
    height: 20px;
}

.stories-viewer__sound-icon--on {
    display: none;
}

.stories-viewer__sound.is-sound-on .stories-viewer__sound-icon--off {
    display: none;
}

.stories-viewer__sound.is-sound-on .stories-viewer__sound-icon--on {
    display: block;
}

.stories-viewer__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: var(--forest-soft);
    flex-shrink: 0;
}

.stories-viewer__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stories-viewer__media-wrap {
    position: absolute;
    inset: 0;
    background: #111;
}

.stories-viewer__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stories-viewer__media--image,
.stories-viewer__media--video {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.stories-viewer__media--image.is-active,
.stories-viewer__media--video.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.stories-viewer__tap {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 35%;
    z-index: 3;
}

.stories-viewer__tap--prev {
    left: 0;
}

.stories-viewer__tap--next {
    right: 0;
}

.stories-viewer__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 72px;
    z-index: 4;
    padding: 0 20px;
    pointer-events: none;
}

.stories-viewer__slide-title {
    font-family: var(--font-display);
    font-size: clamp(22px, 4vw, 28px);
    line-height: 1.15;
    margin-bottom: 10px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    color: rgba(255, 255, 255, 0.99);
}

.stories-viewer__slide-text {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.stories-viewer__slide-text ul {
    margin: 0;
    padding-left: 18px;
}

.stories-viewer__slide-text p {
    margin: 0 0 8px;
}

.stories-viewer__cta {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    color: #fff;
    background: var(--forest);
}

.stories-viewer__cta.is-accent {
    background: var(--wood);
}

.stories-viewer__cta.is-custom {
    background: var(--stories-btn-color, var(--forest));
}

.stories-viewer__nav {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    flex-shrink: 0;
}

.stories-viewer.is-paused .stories-viewer__progress-fill {
    transition: none;
}

@media (min-width: 992px) {
    .stories-viewer__nav {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .stories-viewer__card--side[hidden] {
        display: none;
    }
}

@media (max-width: 991px) {
    .stories-viewer__card--side {
        display: none !important;
    }

    .stories-viewer__card--active {
        width: min(100vw - 32px, 420px);
        border-radius: 16px;
    }

    .stories-viewer__stage {
        padding: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stories-viewer__progress-fill {
        transition: none;
    }
}

/* End */


/* Start:/local/templates/company/components/bitrix/news.list/catalog-list-home/style.css?1785328379118*/
.banya-row-img{
	aspect-ratio: 4 / 3;
}


.banya-row .banya-row-media{
	aspect-ratio: inherit;
	height: max-content;
}
/* End */
/* /local/templates/company/components/mvmolkov/stories/.default/style.css?17863498768324 */
/* /local/templates/company/components/bitrix/news.list/catalog-list-home/style.css?1785328379118 */
