
/*
    christmasniy
*/

.legacy-work .wide_container {
    max-width: 1440px;
}

.legacy-work .christmas-case {
    background-color: #222222;
}

@media(min-width: 1024px) {
    .legacy-work .page_christmas .header {
        background-color: #222222;
    }
}

.legacy-work .page_christmas .logo__link path {
    fill: #FF1111;
}

@media(min-width: 1024px) {
    .legacy-work .page_christmas .logo__link path {
        fill: #fff;
    }
}

.legacy-work .headline__wrap {
  background-color: #222222;
}


.legacy-work .page_christmas .case__text, .legacy-work .case__title, .legacy-work .case__back {
    color: #fff;
}

.legacy-work .page_christmas .case__back path {
    stroke: #fff;
}

.legacy-work .page_christmas .case__text a {
    color: #0085ff;
}

@media(min-width: 1280px) {
    .legacy-work .page_christmas .lang__item.active .lang__link {
        color: #fff;
    }

    .legacy-work .page_christmas .lang__link:hover {
        color: #fff;
    }
}

@media(min-width: 1024px) {
    .legacy-work .page_christmas .header .nav__link {
        color: #fff;
    }

    .legacy-work .page_christmas .header .hover__line:after, .legacy-work .hover__line:before  {
        border-color: #fff;
    }
}

.legacy-work .project_page {
    background-image: linear-gradient(to bottom, #222222 10%, transparent 5%);
}

.legacy-work .yellow_block {
    background-color: rgb(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.legacy-work .yellow_block_text {
    color: #222222;
}

.legacy-work .back_link {
    color: #ffffff;
}

.legacy-work .back_link svg path {
    stroke: #ffffff;
}

.legacy-work .page-heading {
    color: #ffffff;
}

.legacy-work header {
    background-color:#222222;
}

.legacy-work .logo svg path {
    fill: #ffffff;
}

.legacy-work .header__menu-link {
    color: #ffffff;
}

.legacy-work .header__menu-item.active {
    background-color: rgb(255, 255, 255, 0.3);
}

.legacy-work .header__menu-item.active .header__menu-link {
    color: #ffffff;
}

.legacy-work .header_request {
    background-color: rgb(239, 249, 255, 0.2);
    color: #ffffff;
    box-shadow: 0 20px 30px -10px rgba(239, 249, 255, 0.25);
}

.legacy-work .burger_button div {
    background-color: #ffffff;
}

.legacy-work .header_request:hover {
    background-color: #ffffff;
    color: #182336;
}

.legacy-work .mobile_phone,
.legacy-work .mobile_mail {
    color: #ffffff;
}

.legacy-work .mobile_menu {
    background-color:#182336;
}

.legacy-work .christmas {
    overflow: hidden;
}

.legacy-work .christmas_hero {
    position: relative;
    height: 940px;
    padding: 75px 0 0;
    background: url('../img/christmas_hero_bg.webp') center/cover no-repeat;
}

.legacy-work .christmas_hero_laptop {
    position: absolute;
    z-index: 1;
    top: 75px;
    left: 50%;
    transform: translateX(-50%);
}

.legacy-work .christmas_leaflet_6 {
    position: absolute;
    z-index: 1;
    top: 510px;
    left: -105px;
}

.legacy-work .christmas_leaflet_7 {
    position: absolute;
    top: 350px;
    right: 230px;
}


.legacy-work .christmas_slider {
    position: relative;
    padding: 75px 0 95px;
    background-color: #222222;
    overflow: hidden;
}

.legacy-work .christmas_title {
    margin-bottom: 40px;
    font-size: 32px;
}

.legacy-work .christmas_slider .christmas_title {
    color: #ffffff;   
}

.legacy-work .christmas_slider_item {
    position: relative;
    overflow: hidden;
}

.legacy-work .christmas_leaflet_1 {
    position: absolute;
    top: 165px;
    left: 120px;
    width: 106px;
    height: 92px;
}

.legacy-work .christmas_leaflet_2 {
    position: absolute;
    bottom: 220px;
    right: -148px;
    width: 298px;
    height: 263px;
}

 
.legacy-work .christmas_slider img {
    display: block;
    width: 100%;
}
 
.legacy-work .christmas_before {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}


.legacy-work .christmas_handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #c5a667;
    cursor: ew-resize;
}
 
.legacy-work .christmas_handle:after {
    content: '\25C0 \25B6';
    position: absolute;
    top: 50%;
    transform: translate(-28px, -30px);
    width: 60px;
    height: 60px;
 
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    line-height: 60px;
    
    color: white;
    background-color: #c5a667;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.legacy-work .christmas_handle-draggable:after {
    transform: translate(-20.5px, -22.5px);
    width: 45px;
    height: 45px;
    font-size: 12px;
    line-height: 45px;
}

.legacy-work .christmas_page {
    
}

.legacy-work .christmas_page_top {
    position: relative;
    padding: 80px 0 730px;
    background: #222222 url('../img/christmas_page_bg.webp') center/cover no-repeat;
}

.legacy-work .christmas_page_top .christmas_title {
    color: #ffffff;
}

.legacy-work .christmas_leaflet_3 {
    position: absolute;
    top: 650px;
    left: 136px;
}

.legacy-work .christmas_leaflet_4 {
    position: absolute;
    top: 61px;
    right: 225px;
}

.legacy-work .christmas_page_bottom {
    position: relative;
    display: flex;
}

.legacy-work .christmas_sport_img {
    position: relative;
    z-index: 1;
    top: -730px;
    margin-bottom: -690px;
}

.legacy-work .christmas_sport_img img {
    box-shadow: 25px 25px 50px rgba(0, 0, 0, 0.16);
    border-radius: 5px;
}

.legacy-work .christmas_page_info {
    position: relative;
    top: -610px;
    right: -130px;
    max-width: 170px;
    min-width: 170px;
    margin-bottom: -610px;
}

.legacy-work .christmas_page_descr {
    position: relative;
}

.legacy-work .christmas_page_descr p {
    font-size: 18px;
    line-height: 1.5;
    font-style: italic;
    opacity: 0;
}

.legacy-work .christmas_page_descr svg {
    position: absolute;
    top: calc(50% - 3.5px);
    left: -100px;
    width: 84px;
    height: 7px;
}

.legacy-work .christmas_page_descr.animation p {
    animation: fadeIn 0.2s 1s forwards;
}

.legacy-work .christmas_page_descr svg path {
    opacity: 0;
}

.legacy-work .christmas_page_descr.animation .christmas_page_svg_1 {
    animation: fadeIn 0.1s 0.2s forwards;
}

.legacy-work .christmas_page_descr.animation .christmas_page_svg_2 {
    animation: fadeIn 0.1s 0.3s forwards;
}

.legacy-work .christmas_page_descr.animation .christmas_page_svg_3 {
    animation: fadeIn 0.1s 0.4s forwards;
}

.legacy-work .christmas_page_descr.animation .christmas_page_svg_4 {
    animation: fadeIn 0.1s 0.5s forwards;
}

.legacy-work .christmas_page_descr.animation .christmas_page_svg_5 {
    animation: fadeIn 0.1s 0.6s forwards;
}

.legacy-work .christmas_page_descr.animation .christmas_page_svg_6 {
    animation: fadeIn 0.1s 0.7s forwards;
}

.legacy-work .christmas_page_descr.animation .christmas_page_svg_7 {
    animation: fadeIn 0.1s 0.8s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.legacy-work .christmas_page_descr:first-of-type {
    margin-bottom: 580px;
    color: #ffffff;
}

.legacy-work .christmas_page_descr:nth-of-type(3) {
    margin: 813px 0 283px;
}

.legacy-work .christmas_page_descr:nth-of-type(5) {
    margin: 309px 0 370px;
}

.legacy-work .christmas_page_descr:nth-of-type(7) {
    margin-top: 991px;
}

.legacy-work .christmas_page_filter {
    position: absolute;
    z-index: 2;
    top: -35px;
    left: -50px;
    animation: fly 3s infinite ease-in-out;
}

.legacy-work .christmas_page_filter img {
    box-shadow: 25px 25px 50px rgba(0, 0, 0, 0.16);
}

.legacy-work .christmas_bird {
    position: absolute;
    top: 388px;
    right: -484px;
}

.legacy-work .christmas_leaflet_5 {
    position: absolute;
    top: 2600px;
    left: -190px;
}

.legacy-work .christmas_leaflet_5 img {
    transform: rotate(-9deg);
}

.legacy-work .christmas_video {
    position: absolute;
    z-index: 2;
    top: 1950px;
    left: 15px;
}

.legacy-work .christmas_video video {
    max-width: 870px;
    max-height: 495px;
}

.legacy-work .christmas_media {
    position: relative;
    top: -162px;
    margin-bottom: -162px;
    background-color: #222222;
}

.legacy-work .christmas_media_hero {
    padding: 217px 0 908px;
}

.legacy-work .christmas_media_hero .container {
    display: flex;
}

.legacy-work .christmas_media_info {
    margin-left: auto;
}

.legacy-work .christmas_media_hero .christmas_title {
    margin-bottom: 30px;
    color: #ffffff;
}

.legacy-work .christmas_media_descr {
    font-size: 18px;
    line-height: 1.5;
    color: #ffffff;
}

.legacy-work .christmas_media_devices {
    position: absolute;
    top: 285px;
    left: 50%;
    transform: translateX(-50%);
}

.legacy-work .christmas_media_devices img {
    max-width: none;
}

.legacy-work .christmas_leaflet_9 {
    position: absolute;
    top: 501px;
    left: 43px;
}

.legacy-work .christmas_leaflet_9 img {
    transform: rotate(-9deg);
}

.legacy-work .christmas_leaflet_10 {
    position: absolute;
    top: 163px;
    right: 83px;
}

.legacy-work .christmas_media_example {
    padding: 100px 0 350px;
}

.legacy-work .christmas_media_example .container {
    display: flex;
}

.legacy-work .christmas_media_list {
    max-width: 235px;
    width: 100%;
}

.legacy-work .christmas_media_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.legacy-work .christmas_media_item span {
    position: relative;
    font-size: 24px;
    line-height: 1.5;
    font-weight: 400;
    color: #ffffff;
}

.legacy-work .christmas_media_item:nth-of-type(3) span {
    right: -10px;
}

.legacy-work .christmas_media_item span::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 70px;
    height: 3px;
}

.legacy-work .christmas_media_item:nth-of-type(1) span::before {
    width: 110px;
    background: url('../img/christmas_media_decor_1.svg') center/contain no-repeat;
}

.legacy-work .christmas_media_item:nth-of-type(2) span::before {
    width: 90px;
    background: url('../img/christmas_media_decor_2.svg') center/contain no-repeat;
}

.legacy-work .christmas_media_item:nth-of-type(3) span::before {
    width: 70px;
    background: url('../img/christmas_media_decor_3.svg') center/contain no-repeat;
}

.legacy-work .christmas_media_mobile {
    position: relative;
    margin-left: 50px;
}

.legacy-work .christmas_media_mobile img {
    position: absolute;
    z-index: 1;
    box-shadow: 60px 83px 74px rgba(0, 0, 0, 0.25);
    max-width: none;
}

.legacy-work .christmas_media_mobile img:nth-of-type(even) {
    top: 70px;
}

.legacy-work .christmas_media_mobile img:nth-of-type(2) {
    left: 300px;
}

.legacy-work .christmas_media_mobile img:nth-of-type(3) {
    left: 600px;
}

.legacy-work .christmas_media_mobile img:nth-of-type(4) {
    left: 900px;
}

.legacy-work .christmas_media_mobile img:nth-of-type(5) {
    left: 1200px;
}

.legacy-work .christmas_additional {
    position: relative;
    padding: 50px 0 575px;
}

.legacy-work .christmas_additional .christmas_title {
    margin-bottom: 30px;
    color: #ffffff;
}

.legacy-work .christmas_additional p {
    font-size: 18px;
    line-height: 1.5;
    color: #ffffff;
}

.legacy-work .christmas_laptop {
    position: absolute;
    z-index: 1;
    bottom: -227px;
    right: -250px;
}


.legacy-work .christmas_laptop video {
    position: absolute;
    z-index: -1;
    top: 52px;
    left: 50%;
    transform: translateX(-46%);
    max-width: 1020px;
    max-height: 576px;
}

.legacy-work .christmas_additional_item {
    position: absolute;
}

.legacy-work .christmas_additional_item_1 {
    z-index: 3;
    top: 194px;
    left: 145px;
    animation: fly 3s infinite 1s ease-in-out;
}

.legacy-work .christmas_additional_item_2 {
    z-index: 2;
    top: 450px;
    left: 325px;
    animation: fly 3s  infinite ease-in-out;
}

.legacy-work .christmas_additional_item_3 {
    z-index: 1;
    top: 563px;
    left: -125px;
    animation: fly 3s infinite 2s ease-in-out;
}

@keyframes fly {
    from {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    to {
        transform: translateY(0);
    }
}

.legacy-work .christmas_pdf {
    position: relative;
    height: 1360px;
    padding-top: 227px;
    background: url('../img/christmas_pdf_bg.webp') left/contain no-repeat;
}

.legacy-work .christmas_pdf .container {
    display: flex;
}

.legacy-work .christmas_pdf_item {
    display: flex;
    flex-direction: column;
    margin-left: auto;
}

.legacy-work .christmas_pdf .christmas_title {
    margin-bottom: 30px;
}

.legacy-work .christmas_pdf_descr {
    margin-bottom: 30px;
    font-size: 18px;
    line-height: 1.5;
}

.legacy-work .christmas_pdf_btn {
    position: relative;
    z-index: 1;
    max-width: 330px;
    padding: 18px 32px 16px 69px;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.16);
    border-radius: 4px;
    color: #ffffff;
    background-color: #c7a868;
    transition: all 0.3s ease-in-out;
}

.legacy-work .christmas_pdf_btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 31px;
    transform: translateY(-50%);
    width: 27px;
    height: 32px;
    background: url('../img/christmas_pdf_icon.svg') center/contain no-repeat;
}

.legacy-work .christmas_pdf_btn:hover {
    box-shadow: none;
}

.legacy-work .christmas_leaflet_8 {
    position: absolute;
    z-index: 1;
    top: 636px;
    right: -30px;
}

.legacy-work .christmas_pdf_example {
    position: absolute;
    bottom: -125px;
    left: 263px;
}

@media (max-width: 1921px) {
    .legacy-work .christmas_leaflet_4 {
        right: -75px;
    }
    
    .legacy-work .christmas_laptop {
        right: -316px;
    }
}

@media (max-width: 1700px) {

    .legacy-work .christmas_leaflet_4,
    .legacy-work .christmas_leaflet_6,
    .legacy-work .christmas_leaflet_8 {
        display: none;
    }

    .legacy-work .christmas_additional_item_1 {
        left: -55px;
    }

    .legacy-work .christmas_additional_item_2 {
        left: 125px;
    }

    .legacy-work .christmas_additional_item_3 {
        left: -325px;
    }

    .legacy-work .christmas_laptop {
        right: -400px;
    }
}

@media (max-width: 1500px) {
    .legacy-work .christmas_hero {
        display: flex;
        justify-content: center;
        height: 746px;
        padding: 0;
    }

    .legacy-work .christmas_hero_laptop {
        position: relative;
        top: 50px;
        left: unset;
        transform: unset;
    }

    .legacy-work .christmas_hero_laptop img {
        max-width: 1500px;
    }

    .legacy-work .christmas_leaflet_1 {
        left: -100px;
    }

    .legacy-work .christmas_leaflet_3 {
        left: -80px;
    }

    .legacy-work .christmas_bird {
        right: -385px;
    }

    .legacy-work .christmas_leaflet_7 {
        display: none;
    }

    .legacy-work .christmas_leaflet_9 {
        left: -50px;
    }

    .legacy-work .christmas_leaflet_10 {
        right: 20px;
    }

    .legacy-work .christmas_laptop {
        right: -500px;
    }

    .legacy-work .christmas_additional_item_1 {
        left: -155px;
    }

    .legacy-work .christmas_additional_item_2 {
        left: -75px;
    }

    .legacy-work .christmas_additional_item_3 {
        top: 760px;
        left: -225px;
    }

    .legacy-work .christmas_pdf {
        background: #c7a868;
        height: 1250px;
    }

    .legacy-work .christmas_title,
    .legacy-work .christmas_pdf_descr {
        color: #ffffff;
    }

    .legacy-work .christmas_pdf_example {
        bottom: -23px;
        left: 250px;
    }

    .legacy-work .christmas_pdf_example img {
        width: 1200px;
    }
}

@media (max-width: 1300px) {
    .legacy-work .christmas_leaflet_1 {
        left: 0;
    }

    .legacy-work .christmas_leaflet_2 {
        right: -70px;
        width: 158px;
        height: 178px;
    }

    .legacy-work .christmas_leaflet_3 {
        left: 0;
    }

    .legacy-work .christmas_bird {
        right: -185px;
    }
}

@media (max-width: 1199px) {

    .legacy-work .christmas_hero {
        height: 646px;
    }

    .legacy-work .christmas_hero_laptop {
        top: 43px;
    }

    .legacy-work .christmas_hero_laptop img {
        max-width: 1300px;
    }
    .legacy-work .christmas_page_top .christmas_title {
        margin: 0;
    }

    .legacy-work .christmas_sport_img {
        top: -653px;
        margin-bottom: -600px;
    }

    .legacy-work .christmas_sport_img img {
        max-width: 700px;
    }

    .legacy-work .christmas_page_descr:first-of-type {
        margin-bottom: 460px;
    }

    .legacy-work .christmas_page_descr:nth-of-type(3) {
        margin: 605px 0 210px;
    }

    .legacy-work .christmas_page_descr:nth-of-type(5) {
        margin: 200px 0 230px;
    }

    .legacy-work .christmas_page_descr:nth-of-type(7) {
        margin-top: 820px;
    }

    .legacy-work .christmas_video video {
        max-width: 700px;
    }

    .legacy-work .christmas_video {
        top: 1500px;
    }

    .legacy-work .christmas_page_filter {
        top: -100px;
    }

    .legacy-work .christmas_media_hero {
        padding: 150px 0 0;
    }

    .legacy-work .christmas_media_devices {
        position: relative;
        top: -50px;
        left: unset;
        transform: unset;
    }

    .legacy-work .christmas_media_devices img {
        width: 100%;
    }

    .legacy-work .christmas_leaflet_10 {
        right: -20px;
    }

    .legacy-work .christmas_media_example {
        padding-top: 40px;
    }

    .legacy-work .christmas_additional_item img {
        width: 400px;
    }

    .legacy-work .christmas_additional_item_1 {
        top: 220px;
        left: -30px;
    }

    .legacy-work .christmas_additional_item_2 {
        top: 400px;
        left: 50px;
    }

    .legacy-work .christmas_additional_item_3 {
        top: 700px;
        left: -60px;
    }

    .legacy-work .christmas_laptop {
        bottom: -300px;
        right: -400px;
    }

    .legacy-work .christmas_pdf {
        height: 631px;
    }

    .legacy-work .christmas_pdf_example {
        bottom: unset;
        left: 50px;
    }

    .legacy-work .christmas_pdf_example img {
        width: 600px;
    }
}

@media (max-width: 991px) {
    .legacy-work .christmas .container {
        max-width: 100%;
    }

    .legacy-work .christmas_title {
        font-size: 24px;
    }

    .legacy-work .christmas_leaflet_1,
    .legacy-work .christmas_leaflet_2,
    .legacy-work .christmas_leaflet_3,
    .legacy-work .christmas_leaflet_9,
    .legacy-work .christmas_leaflet_10,
    .legacy-work .christmas_bird {
        display: none;
    }

    .legacy-work .christmas_hero {
        height: unset;
    }

    .legacy-work .christmas_hero_laptop img {
        max-width: 100%;
    }
    
    .legacy-work .christmas_slider {
        padding: 60px 0;
    }

    .legacy-work .christmas_slider_item {
        margin: 0 -15px;
    }

    .legacy-work .christmas_handle:after {
        content: '< >';
        transform: translate(-18px, -20px);
        width: 40px;
        height: 40px;
        line-height: 40px;
    }
    
    .legacy-work .christmas_handle-draggable:after {
        transform: translate(-15px, -15px);
        width: 30px;
        height: 30px;
        line-height: 30px;
    }

    .legacy-work .christmas_page_top {
        padding: 60px 0 600px;
    }

    .legacy-work .christmas_sport_img {
        top: -558px;
        left: -15px;
        margin-bottom: -431px;
    }
    
    .legacy-work .christmas_sport_img img {
        max-width: 600px;
    }
    
    .legacy-work .christmas_page_descr p,
    .legacy-work .christmas_media_descr,
    .legacy-work .christmas_additional p,
    .legacy-work .christmas_pdf_descr {
        font-size: 16px;
    }

    .legacy-work .christmas_page_info {
        top: -500px;
        right: -100px;
    }

    .legacy-work .christmas_page_filter {
        top: -35px;
        left: 5px;
    }

    .legacy-work .christmas_page_filter img {
        width: 200px;
    }

    .legacy-work .christmas_page_descr:first-of-type {
        margin-bottom: 370px;
    }

    .legacy-work .christmas_page_descr:nth-of-type(3) {
        margin: 510px 0 160px;
    }

    .legacy-work .christmas_video {
        top: 1285px;
        left: 0;
    }

    .legacy-work .christmas_video video {
        max-width: 600px;
    }

    .legacy-work .christmas_media_hero {
        padding: 80px 0 0;
    }
    .legacy-work .christmas_slider .christmas_title,
    .legacy-work .christmas_media_hero .christmas_title,
    .legacy-work .christmas_additional .christmas_title {
        margin-bottom: 20px;
    }

    .legacy-work .christmas_media_example {
        padding-bottom: 210px;
    }


    .legacy-work .christmas_additional {
        padding: 50px 0 0;
    }

    .legacy-work .christmas_additional_item {
        display: none;
    }

    .legacy-work .christmas_laptop {
        position: relative;
        bottom: unset;
        right: unset;
        display: flex;
        justify-content: center;
        margin-bottom: -267px;
    }

    .legacy-work .christmas_laptop img {
        max-width: 100%;
        max-height: 230px;
    }

    .legacy-work .christmas_laptop video {
        left: unset;
        max-width: 65.1%;
        transform: translateX(-3px);
    
    }

    .legacy-work .christmas_pdf {
        height: 377px;
        padding-top: 60px;
    }

    .legacy-work .christmas_pdf_example {
        left: 0;
    }

    .legacy-work .christmas_pdf_example img {
        width: 500px;
    }
}

@media (max-width: 767px) {
    .legacy-work .christmas_title {
        font-size: 18px;
    }

    .legacy-work .christmas_slider {
        padding: 40px 0;
    }

    .legacy-work .christmas_page_top {
        padding: 40px 0 380px;
    }

    .legacy-work .christmas_page_info {
        top: -330px;
        right: -10px;
    }

    .legacy-work .christmas_sport_img {
        top: -360px;
        margin-bottom: -226px;
    }

    .legacy-work .christmas_sport_img img {
        max-width: 450px;
    }

    .legacy-work .christmas_page_filter {
        top: 25px;
    }

    .legacy-work .christmas_page_filter img {
        width: 150px;
    }

    .legacy-work .christmas_page_descr:first-of-type {
        margin-bottom: 230px;
    }

    .legacy-work .christmas_page_descr:nth-of-type(3) {
        margin: 330px 0 100px;
    }

    .legacy-work .christmas_page_descr:nth-of-type(5) {
        margin: 90px 0 170px;
    }

    .legacy-work .christmas_page_descr:nth-of-type(7) {
        margin-top: 560px;
    }

    .legacy-work .christmas_page_descr svg {
        display: none;
    }

    .legacy-work .christmas_video {
        top: 1025px;
    }

    .legacy-work .christmas_video video {
        max-width: 450px;
    }

    .legacy-work .christmas_media_list {
        max-width: 100px;
    }

    .legacy-work .christmas_media_item {
        margin-bottom: 30px;
    }

    .legacy-work .christmas_media_item span::before {
        display: none;
    }

    .legacy-work .christmas_media_info {
        margin: 0 0 20px;
    }

    .legacy-work .christmas_media_devices {
        position: static;
    }

    .legacy-work .christmas_pdf_example {
        position: relative;
        left: unset;
        right: -50px;
    }

    .legacy-work .christmas_pdf_example img {
        width: 350px;
    }

    .legacy-work .christmas_pdf {
        height: 100%;
    }

    .legacy-work .christmas_pdf_descr br {
        display: none;
    }

    .legacy-work .christmas_pdf_btn {
        margin-bottom: 30px;
        padding: 13px 20px 11px 60px;
        font-size: 16px;
    }

    .legacy-work .christmas_pdf_btn::before {
        left: 15px;
    }
}

@media (max-width: 575px) {
    .legacy-work .christmas_page_info {
        display: none;
    }
    
    .legacy-work .christmas_sport_img img {
        max-width: calc(100% + 30px);
    }

    .legacy-work .christmas_page_filter {
        top: 35px;
    }

    .legacy-work .christmas_page_filter img {
        width: 120px;
    }

    .legacy-work .christmas_video {
        top: 785px;
    }

    .legacy-work .christmas_video video {
        max-width: 100%;
    }

    .legacy-work .christmas_media_hero {
        padding-top: 60px;
    }

    .legacy-work .christmas_media_descr br,
    .legacy-work .christmas_additional p br {
        display: none;
    }

    .legacy-work .christmas_media_mobile {
        margin-left: 20px;
    }
    
    .legacy-work .christmas_media_mobile img {
        width: 120px;
    }

    .legacy-work .christmas_media_mobile img:nth-of-type(even) {
        top: 30px;
    }

    .legacy-work .christmas_media_mobile img:nth-of-type(2) {
        left: 140px;
    }

    .legacy-work .christmas_media_mobile img:nth-of-type(3) {
        left: -140px;
        top: 260px;
    }

    .legacy-work .christmas_media_mobile img:nth-of-type(4) {
        left: 0px;
        top: 230px;
    }

    .legacy-work .christmas_media_mobile img:nth-of-type(5) {
        left: 140px;
        top: 260px;
    }

    .legacy-work .christmas_media_example {
        padding-bottom: 240px;
    }

    .legacy-work .christmas_additional {
        padding: 0;
    }

    .legacy-work .christmas_additional p {
        margin-bottom: 20px;
    }

    .legacy-work .christmas_laptop {
        margin-bottom: -220px;
    }

    .legacy-work .christmas_laptop video {
        top: 23px;
        transform: translateX(-2px);
    }

    .legacy-work .christmas_pdf {
        padding-top: 40px;
    }

    .legacy-work .christmas_pdf .container {
        flex-direction: column;
    }

    .legacy-work .christmas_pdf_example {
        bottom: -10px;
    }
}

@media (max-width: 415px) {
    .legacy-work .christmas_video {
        top: 900px;
    }
}

@media (max-width: 376px) {
    .legacy-work .christmas_page_filter {
        top: -5px;
    }

    .legacy-work .christmas_page_filter img {
        width: 100px;
    }

    .legacy-work .christmas_video {
        top: 820px;
    }
}

@media (max-width: 327px) {
    .legacy-work .christmas_page_filter {
        top: -60px;
    }

    .legacy-work .christmas_page_filter img {
        width: 80px;
    }

    .legacy-work .christmas_video {
        top: 625px;
    }
}
/* ===== 14.11.2026 ===== */

/* Первый экран: фото фона начинается с самого верха страницы (уходит под шапку и белую плашку с названием).
   --intro-off — высота от верха страницы до начала кейса, ставит christmas.js */
.legacy-work .page_christmas .christmas_hero {
    margin-top: calc(-1 * var(--intro-off, 0px));
}
.legacy-work .page_christmas .christmas_leaflet_6 { top: calc(510px + var(--intro-off, 0px)); }
.legacy-work .page_christmas .christmas_leaflet_7 { top: calc(350px + var(--intro-off, 0px)); }

/* Ноутбук — шириной с плашку с названием (в PNG ноутбук занимает 86.9% ширины, снизу 17% прозрачного поля) */
@media (min-width: 1200px) {
    .legacy-work .page_christmas .christmas_hero {
        display: flex;
        justify-content: center;
        height: auto;
        padding: calc(var(--intro-off, 0px) + 48px) 0 72px;
    }
    .legacy-work .page_christmas .christmas_hero_laptop {
        --plate: min(1360px, calc(100vw - 80px));
        position: relative;
        top: auto;
        left: auto;
        transform: none;
    }
    .legacy-work .page_christmas .christmas_hero_laptop img {
        display: block;
        max-width: none;
        width: calc(var(--plate) / 0.869);
        margin-bottom: calc(var(--plate) / 0.869 * -0.1031);
    }
}
@media (max-width: 1199px) {
    .legacy-work .page_christmas .christmas_hero {
        height: auto;
        padding-top: var(--intro-off, 0px);
    }
}

/* Слайдер «до / после»: картинка в левой части не должна сжиматься до 50% (её ширину ставит JS) */
.legacy-work .page_christmas .christmas_before img {
    max-width: none;
}
.legacy-work .page_christmas .christmas_slider .christmas_title {
    margin-bottom: 16px;
}
.legacy-work .page_christmas .christmas_slider_text {
    max-width: 760px;
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.75);
}

/* «Адаптив»: текст справа переносится и не заезжает на планшет */
.legacy-work .page_christmas .christmas_media_info {
    max-width: 440px;
}

/* фото первого экрана поднимается под плашку — родитель не должен обрезать его сверху */
.legacy-work .page_christmas .christmas {
    overflow: visible;
    overflow-x: clip;
}

/* 29.11.2026: фоновые картинки в url() переведены на webp (оптимизация веса страницы) */
