/* Home sections and header share the same content edges. */
html.lx-redesign body {
    --lx-home-content: 1240px;
    --lx-home-gutter: clamp(14px, 2.3vw, 30px);
    --lx-home-paper: #fcfafd;
    --lx-home-tint: #f5edf8;
    --lx-home-rule: #e7dbea;
}

html.lx-redesign body > .page,
html.lx-redesign body > .page > main.lx-home,
html.lx-redesign body > .page > .lx-footer {
    background: var(--lx-home-paper) !important;
}

html.lx-redesign body > .page > main.lx-home .lx-wrap,
html.lx-redesign body > .page > .lx-subscribe > .container,
html.lx-redesign body > .page > .lx-footer > .container,
html.lx-redesign .page-header .rd-navbar-static .rd-navbar-main {
    width: min(var(--lx-home-content), calc(100% - 2 * var(--lx-home-gutter)));
    max-width: none;
    padding-inline: 0;
    margin-inline: auto;
}

html.lx-redesign .lx-home .lx-search {
    background: transparent !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    min-width: 0;
}

html.lx-redesign .lx-home .lx-search-head {
    margin-bottom: 12px;
}

html.lx-redesign .lx-home .lx-section {
    padding-block: clamp(24px, 3vw, 42px);
}

html.lx-redesign .lx-home #lx-telegram-feed {
    background: #fff !important;
    padding-block-start: clamp(12px, 1.1vw, 16px);
    scroll-margin-top: 80px;
}

#lx-telegram-feed .lx-tg-grid {
    --lx-tg-card-width: calc((100% - 28px) / 3);
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

#lx-telegram-feed .lx-tg-viewport {
    position: relative;
    min-width: 0;
    overflow: hidden;
    overflow: clip;
    touch-action: pan-y;
}

#lx-telegram-feed .lx-tg-viewport .lx-tg-grid {
    gap: 0;
    overflow: visible;
    scroll-snap-type: none;
}

#lx-telegram-feed .lx-tg-controls:not([hidden]) {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 12px;
}

#lx-telegram-feed .lx-tg-controls button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #e8d8ed;
    border-radius: 50%;
    background: #f7eff9;
    color: #632674;
}

#lx-telegram-feed .lx-tg-controls button:not(:disabled):hover {
    background: #ecdff1;
    border-color: #d9bce2;
}

#lx-telegram-feed .lx-tg-controls button:focus-visible {
    outline: 2px solid #690080;
    outline-offset: 2px;
}

#lx-telegram-feed .lx-tg-controls button:disabled {
    opacity: .45;
    cursor: default;
}

#lx-telegram-feed .lx-tg-controls svg {
    width: 20px;
    height: 20px;
}

#lx-telegram-feed .lx-tg-story {
    flex: 0 0 var(--lx-tg-card-width);
    width: var(--lx-tg-card-width);
    height: auto;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    min-height: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    text-decoration: none;
    transform: none;
}

#lx-telegram-feed .lx-tg-story:hover h3 {
    color: #690080;
}

#lx-telegram-feed .lx-tg-story:focus-visible {
    outline: 2px solid #690080;
    outline-offset: -2px;
}

#lx-telegram-feed .lx-tg-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    background: #eadcee;
}

#lx-telegram-feed .lx-tg-copy {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding-block: 14px 2px;
}

#lx-telegram-feed .lx-tg-story:not(.lx-tg-story--photo)::before {
    content: "";
    display: block;
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    background:
        url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20240%20118%22%20fill%3D%22none%22%3E%3Cg%20stroke%3D%22%23804b90%22%20stroke-width%3D%222.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2237%22%20cy%3D%2283%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M49%2083c39%208%2061-1%2057-19-3-13-26-17-32-7-8%2013%2022%2030%2065%2010%22%20stroke-dasharray%3D%222%207%22%20opacity%3D%22.65%22%2F%3E%3Cpath%20d%3D%22m139%2051%2058-23-15%2057-15-19-12%2010%202-17-18-8Z%22%20fill%3D%22%23f7edf9%22%2F%3E%3Cpath%20d%3D%22m157%2059%2040-31-30%2038-12%2010%22%2F%3E%3Cpath%20d%3D%22M211%2053v10m-5-5h10%22%20opacity%3D%22.55%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center / auto 72% no-repeat,
        radial-gradient(ellipse at 80% 10%, #f5e5ec, transparent 62%),
        linear-gradient(135deg, #eee3f2, #e4d3eb);
}

#lx-telegram-feed .lx-tg-story > time {
    margin-top: 10px;
}

#lx-telegram-feed .lx-tg-story h3 {
    color: #291731;
    font-size: clamp(17px, 1.5vw, 22px);
    line-height: 1.25;
    margin: 0;
    overflow-wrap: anywhere;
    text-wrap: pretty;
}

#lx-telegram-feed .lx-tg-story p {
    color: #55485c;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

#lx-telegram-feed .lx-tg-story time {
    color: #625069;
    font-size: 12px;
    font-weight: 650;
}

#lx-telegram-feed .lx-tg-story span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding-block: 5px 2px;
    color: #690080;
    font-size: 13px;
    font-weight: 700;
}

#lx-telegram-feed .lx-tg-story:hover span {
    text-decoration: underline;
    text-underline-offset: 3px;
}

#lx-telegram-feed .lx-tg-story span svg {
    width: 14px;
    height: 14px;
    flex: none;
}

html.lx-redesign #lx-home-reviews .lx-home-reviews-panel {
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
}

html.lx-redesign .lx-footer .lx-footer-office,
html.lx-redesign .lx-footer .lx-footer-pay {
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
}

@media (max-width: 1023px) {
    #lx-telegram-feed .lx-tg-grid {
        --lx-tg-card-width: calc((100% - 14px) / 2);
    }
}

@media (max-width: 767px) {
    #lx-telegram-feed .lx-tg-grid {
        --lx-tg-card-width: calc(100% - 34px);
    }

    #lx-telegram-feed .lx-tg-controls:not([hidden]) {
        justify-content: center;
    }
}

@media (max-width: 700px) {
    html.lx-redesign body {
        --lx-home-gutter: 12px;
    }
}

@media (max-width: 360px) {
    html.lx-redesign body {
        --lx-home-gutter: 10px;
    }
}

html.lx-redesign .lx-home > .lx-section[aria-labelledby="lx-about-title"],
html.lx-redesign .lx-home > #lx-home-reviews {
    padding-block: clamp(20px, 2.4vw, 32px);
}

html.lx-redesign .lx-home .lx-about-band {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: clamp(16px, 2vw, 24px);
}

html.lx-redesign .lx-home .lx-about-band h2,
html.lx-redesign .lx-home #lx-home-reviews-title {
    font-size: clamp(25px, 2.4vw, 36px);
    line-height: 1.13;
    text-wrap: balance;
}

html.lx-redesign .lx-home .lx-about-band h2 + p {
    text-wrap: pretty;
}

html.lx-redesign .lx-home .lx-about-band .lx-office {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: 228px;
    aspect-ratio: 2.25;
}

html.lx-redesign .lx-home .lx-about-band .lx-office img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 33%;
}

html.lx-redesign #lx-home-reviews .lx-home-reviews-panel {
    display: block;
}

html.lx-redesign #lx-home-reviews .lx-home-reviews-copy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 7px 12px;
    margin-bottom: 12px;
    max-width: none;
}

html.lx-redesign #lx-home-reviews .lx-home-reviews-copy h2 {
    margin: 0;
}

html.lx-redesign #lx-home-reviews .lx-home-reviews-copy p {
    order: 2;
    flex-basis: 100%;
    max-width: none;
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}

html.lx-redesign #lx-home-reviews .lx-home-reviews-copy .lx-button {
    flex: none;
    margin: 0;
}

html.lx-redesign #lx-home-reviews .lx-home-reviews-widget {
    width: 100%;
    height: clamp(320px, 29vw, 390px);
    min-height: 0;
}

@media (min-width: 960px) {
    html.lx-redesign body > .page > main.lx-home:has(> #lx-home-reviews) {
        --lx-company-gap: 28px;
        --lx-company-col: calc((var(--lx-home-content) - var(--lx-company-gap)) / 2);
        display: grid;
        grid-template-columns:
            minmax(var(--lx-home-gutter), 1fr)
            minmax(0, var(--lx-company-col))
            var(--lx-company-gap)
            minmax(0, var(--lx-company-col))
            minmax(var(--lx-home-gutter), 1fr);
    }

    html.lx-redesign body > .page > main.lx-home:has(> #lx-home-reviews) > * {
        grid-column: 1 / -1;
        min-width: 0;
    }

    html.lx-redesign body > .page > main.lx-home:has(> #lx-home-reviews) > .lx-section[aria-labelledby="lx-about-title"] {
        grid-column: 2;
    }

    html.lx-redesign body > .page > main.lx-home:has(> #lx-home-reviews) > #lx-home-reviews {
        grid-column: 4;
    }

    html.lx-redesign body > .page > main.lx-home > :is(.lx-section[aria-labelledby="lx-about-title"], #lx-home-reviews) > .lx-wrap {
        width: 100%;
    }
}

html.lx-redesign .lx-home .lx-widget-action .TVBButton {
    border: 0 !important;
    border-radius: 999px;
    background: linear-gradient(110deg, #701080, #98246c) !important;
    box-shadow: 0 6px 17px #64126036;
}

html.lx-redesign .lx-home .lx-widget-action .TVBButton:hover {
    background: linear-gradient(110deg, #5c0b6c, #831c5c) !important;
}

html.lx-redesign .lx-home .lx-widget-action .TVBGradient {
    padding: 7px 8px 7px 18px;
}

html.lx-redesign .lx-home .lx-widget-action .TVBButtonCaption {
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.25;
    text-transform: none;
}

html.lx-redesign .lx-home .lx-widget-action .TVBButtonCaption::after {
    content: "Подберите мне тур";
    order: -1;
}

html.lx-redesign .lx-home .lx-widget-action .TVBButtonCaption::before {
    content: "";
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgb(255 255 255 / 19%) url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2012h15m-6-6%206%206-6%206%22%2F%3E%3C%2Fsvg%3E") center / 19px no-repeat;
}



html.lx-redesign body > .page > main.lx-home > .lx-hero {
    background: linear-gradient(180deg, #edf4f6, var(--lx-home-paper) 88%) !important;
    padding-block: clamp(14px, 2vw, 25px) clamp(12px, 1.25vw, 18px);
}

html.lx-redesign .lx-home .lx-intro {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(208px, 20vw, 280px);
    overflow: hidden;
    padding: clamp(24px, 3.6vw, 49px) clamp(22px, 4.2vw, 56px) clamp(42px, 5.2vw, 74px);
    margin: 0;
    border-radius: clamp(15px, 1.7vw, 23px);
    background: #0b4657;
}

html.lx-redesign .lx-home .lx-hero-photo {
    position: absolute;
    z-index: -2;
    inset: 0 0 0 auto;
    display: block;
    width: 70%;
    height: 100%;
    object-fit: cover;
    object-position: 57% 48%;
}

html.lx-redesign .lx-home .lx-intro::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, #093a4c 0%, #093a4c 27%, #093a4cea 37%, #093a4c8c 55%, #093a4c00 78%);
}

html.lx-redesign .lx-home .lx-intro .lx-hero-copy {
    min-width: 0;
    max-width: 780px;
    padding: 0;
}

html.lx-redesign .lx-home .lx-intro .lx-origin {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 13px;
    color: #d5f5f2;
    font-size: 13px;
}

html.lx-redesign .lx-home .lx-intro h1 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(33px, 4.5vw, 65px);
    line-height: 1.05;
    letter-spacing: -.048em;
    text-wrap: balance;
}

html.lx-redesign .lx-home .lx-intro .lx-lead {
    margin: 0;
    color: #eaf9f9;
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.45;
    text-wrap: pretty;
}

html.lx-redesign .lx-home .lx-hero-grid.lx-hero-grid--search {
    position: relative;
    margin: -28px clamp(12px, 2vw, 25px) 0;
}

@media (max-width: 650px) {
    html.lx-redesign .lx-home .lx-intro {
        min-height: 177px;
        padding: 19px 16px 24px;
    }

    html.lx-redesign .lx-home .lx-hero-photo {
        width: 100%;
        object-position: 65% 50%;
    }

    html.lx-redesign .lx-home .lx-intro::after {
        background: linear-gradient(90deg, #062f3ef0, #062f3ed8 34%, #062f3e98 74%, #062f3e40);
    }

    html.lx-redesign .lx-home .lx-intro .lx-origin {
        margin-bottom: 9px;
        font-size: 11px;
    }

    html.lx-redesign .lx-home .lx-intro h1 {
        max-width: 12.5em;
        font-size: clamp(27px, 8vw, 40px);
        margin-bottom: 7px;
    }

    html.lx-redesign .lx-home .lx-intro .lx-lead {
        font-size: 14px;
        max-width: 30ch;
        text-wrap: balance;
    }

    html.lx-redesign .lx-home .lx-hero-grid.lx-hero-grid--search {
        margin: 10px 0 0;
    }
}



html.lx-redesign .lx-home .lx-hero-grid.lx-hero-grid--search:has(> .lx-hero-calendar) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: clamp(12px, 1.7vw, 22px);
}

html.lx-redesign .lx-home .lx-hero-grid .lx-search,
html.lx-redesign .lx-home .lx-hero-calendar {
    min-width: 0;
    border: 1px solid #e8deec;
    border-radius: 16px;
    background: #fff !important;
    padding: clamp(12px, 1.6vw, 20px);
    box-shadow: 0 6px 22px #37124608;
}

html.lx-redesign .lx-home .lx-hero-calendar {
    container: lx-calendar / inline-size;
}

html.lx-redesign body > .page > main.lx-home .lx-hero-calendar > .lx-wrap {
    margin: 0;
    min-width: 0;
    width: 100%;
    max-width: none;
    padding: 0;
}

html.lx-redesign .lx-home .lx-hero-calendar .lx-section-head {
    margin: 0 0 10px;
}

html.lx-redesign .lx-home .lx-hero-calendar h2 {
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.14;
    margin: 0;
}

html.lx-redesign .lx-home .lx-hero-calendar .TVCalendarCountyList {
    max-height: 246px;
    overflow-y: auto;
    overscroll-behavior-y: contain;
}

html.lx-redesign .lx-home .lx-hero-calendar .TVCalendarDepartureHeader {
    font-size: 15px;
    padding-block: 10px;
}

html.lx-redesign .lx-home .lx-hero-calendar .TVCalendarRow {
    min-height: 34px;
}

@container lx-calendar (max-width: 490px) {
    html.lx-redesign .lx-hero-calendar .TVCalendarWeather {
        display: none;
    }
}

@media (min-width: 1100px) {
    html.lx-redesign .lx-home .lx-hero-grid.lx-hero-grid--search:has(> .lx-hero-calendar) {
        grid-template-columns: minmax(0, 1.58fr) minmax(0, 1fr) !important;
    }
}



html.lx-redesign .lx-home > .lx-section[aria-labelledby="lx-hot-title"] {
    padding-block: clamp(16px, 1.65vw, 24px) clamp(24px, 2.7vw, 38px);
}

html.lx-redesign .lx-home .lx-widget-action {
    padding-top: 8px;
}


html.lx-redesign .lx-home .lx-about-band--compact {
    display: block;
    padding: 12px 4px 3px;
    background: transparent;
}

html.lx-redesign .lx-home .lx-about-band--compact .lx-kicker {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 9px;
}

html.lx-redesign .lx-home .lx-about-band--compact .lx-kicker::before {
    content: "";
    width: 16px;
    height: 3px;
    border-radius: 8px;
    background: #8d489e;
}

html.lx-redesign .lx-home .lx-about-band--compact .lx-band-actions {
    margin-top: 13px;
    gap: 8px 14px;
}

html.lx-redesign .lx-vk-community {
    margin-top: 15px;
}

html.lx-redesign .lx-vk-feature {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(184px, 16vw, 226px);
    overflow: hidden;
    padding: clamp(18px, 2.5vw, 33px);
    border-radius: 20px;
    background: #14365d;
}

html.lx-redesign .lx-vk-feature-photo,
html.lx-redesign .lx-vk-feature::after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

html.lx-redesign .lx-vk-feature-photo {
    z-index: -2;
    object-fit: cover;
    object-position: center 52%;
}

html.lx-redesign .lx-vk-feature::after {
    content: "";
    z-index: -1;
    background: linear-gradient(90deg, #0e2953df, #0d305b9c 43%, #112d4b13 83%);
}

html.lx-redesign .lx-vk-brand {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 6px;
    color: #d9eaff;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.3;
}

html.lx-redesign #lx-vk-title {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(27px, 3vw, 43px);
    font-weight: 760;
    line-height: 1.04;
    letter-spacing: -.035em;
    text-wrap: balance;
}

html.lx-redesign .lx-vk-link {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 44px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

html.lx-redesign .lx-vk-link svg {
    flex: none;
}

html.lx-redesign .lx-vk-link--mailing {
    display: inline-flex;
    padding: 0 13px;
    border-radius: 10px;
    background: #fff;
    color: #153d77;
}

html.lx-redesign .lx-vk-link--mailing:is(:hover, :focus-visible) {
    background: #dcebff;
    color: #103669;
}

html.lx-redesign .lx-vk-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

html.lx-redesign .lx-vk-actions .lx-vk-link {
    padding: 5px clamp(8px, 1.4vw, 15px);
    border-radius: 11px;
    background: #edf2fc;
    color: #214475;
}

html.lx-redesign .lx-vk-actions .lx-vk-link:is(:hover, :focus-visible) {
    background: #e0eafe;
    color: #173a6e;
}

html.lx-redesign .lx-vk-actions .lx-vk-link svg:last-child {
    margin-left: auto;
}

html.lx-redesign #lx-home-reviews .lx-home-reviews-panel {
    padding: clamp(13px, 1.4vw, 19px);
    border-radius: 20px;
    background: linear-gradient(155deg, #f1e8f7, #f8f4fa 66%, #f1f4fa);
}

html.lx-redesign #lx-home-reviews .lx-home-reviews-copy {
    align-items: center;
    margin-bottom: 11px;
}

html.lx-redesign .lx-home #lx-home-reviews-title {
    font-size: clamp(23px, 2.15vw, 31px);
    letter-spacing: -.035em;
}

html.lx-redesign #lx-home-reviews .lx-home-reviews-widget {
    height: clamp(330px, 27vw, 361px);
    border: 0;
    border-radius: 13px;
    background: #fff;
}

@media (max-width: 959px) {
    html.lx-redesign body > .page > main.lx-home > :is(.lx-section[aria-labelledby="lx-about-title"], #lx-home-reviews) > .lx-wrap {
        max-width: 720px;
    }

    html.lx-redesign .lx-home > #lx-home-reviews {
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    html.lx-redesign .lx-vk-feature {
        min-height: 176px;
        border-radius: 15px;
    }

    html.lx-redesign .lx-vk-feature::after {
        background: linear-gradient(90deg, #0e2953e8, #0d305ba8 58%, #112d4b36);
    }

    html.lx-redesign .lx-vk-actions .lx-vk-link {
        gap: 5px;
    }

    html.lx-redesign .lx-vk-actions .lx-vk-link svg:last-child {
        width: 13px;
    }

    html.lx-redesign #lx-home-reviews .lx-home-reviews-panel {
        border-radius: 15px;
    }
}


@media (max-width: 680px) {
    html.lx-redesign #lx-telegram-feed .lx-section-head .lx-button,
    html.lx-redesign [aria-labelledby="lx-hot-title"] .lx-section-head .lx-button {
        min-height: 44px;
    }
}
html.lx-redesign .lx-home :is(#lx-about-title, #lx-home-reviews) {
    scroll-margin-top: 92px;
}

@media (max-width: 680px) {
    html.lx-redesign .lx-home :is(#lx-about-title, #lx-home-reviews) {
        scroll-margin-top: 122px;
    }
}