/* Vnymanye! Kazhdyj styl dolzhen vkljuchat #adv_we */
#adv_we {
    color: #fff;
    display: block;
    position: relative;
    z-index: 2;
    padding-bottom: 85px;
}
#adv_we .adv-title {
    font-family:'Magistral Extra Cond W08 Md';
}
#adv_we .zagol2 {
    color: var(--text);
    margin-top: 0px;
    font-size:83px;
    padding-bottom: 64px;
    background: url(/image/catalog/design/we_mark.svg) bottom center no-repeat;
    margin-bottom: 53px;
}
#adv_we .adv-subtitle {
}
#adv_we .adv-items {
    display: grid;
    grid-gap: 30px;
    margin-top: 115px;
    /* justify-content: flex-start; */
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); */
    /* grid-template-rows: repeat(3, 1fr); */
    gap: 30px;
    grid-template:
        "a b"
        "c d"
        "e f"
    / 1fr 1fr;
    /* grid-auto-rows: minmax(100px, auto); */
    /* align-items: start; */
    /* flex-direction: row; */
    /* flex-wrap: wrap; */
    /* width: 553px; */
    /* height: 180px; */
    /* position: absolute; */
    /* top: 222px; */
    /* right: 71px; */
    /* z-index: 999; */
}

#adv_we .adv-item {
    display: flex;
    justify-items: center;
    align-items: start;
    justify-content: flex-start;
    flex-direction: column;
    width: 100%;
    background: var(--btnfff);
    /* margin-bottom: 30px; */
}
html[data-theme="light"] #adv_we .adv-item {
    background: var(--fon333);
}
#adv_we .adv-item {
    grid-row: span 1;
    border-radius: 60px;
    overflow: hidden;
    padding-top: 251px;
    position: relative;
}
#adv_we .adv-item:nth-child(1),
#adv_we .adv-item:nth-child(5){
    grid-row: span 2;
}
#adv_we .adv-item:nth-child(1) .adv-image, 
#adv_we .adv-item:nth-child(5) .adv-image {
        clip-path: url(#customClipPath2);
}
#adv_we .adv-item .adv-media {
    position:relative;
}
#adv_we .adv-item .adv-media a.link {
    position:absolute;
    content: '';
    display: flex;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--btn000) url(/image/catalog/design/line_white.svg) center center no-repeat;
    background-size: 23px;
    position: absolute;
    top: 25px;
    right: 25px;
}
#adv_we .adv-item .adv-media a.link:hover,
#adv_we .adv-item .adv-media a.link:focus {
    background: var(--primary) url(/image/catalog/design/line_white.svg) center center no-repeat;
    background-size: 23px;
}
#adv_we .adv-title {
    grid-area: title;
    font-size: 131px;
    font-weight: bold;
    text-align: center;
    color: #000;
    margin: 0px 0px;
    line-height: 1;
    /* border: 1px solid orange; */
}

#adv_we .adv-image {
    /* border: 1px solid red; */
    width: calc(100% + 1px);
    margin-bottom: -1px;
    clip-path: url(#customClipPath1);
    transition: clip-path 0.5s ease-in-out;
}
#adv_we .adv-image img {
    width:100%;
}
#adv_we .right_block {
    display:flex;
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
    padding-left: 50px;
    padding-top: 69px;
    position: absolute;
    top: 0px;
    /* width: 49%; */
}
#adv_we .adv-des {
    font-weight: 200;
    grid-area: des;
    line-height: 145%;
    /* border: 1px solid blue; */
    font-size: 17.45px;
}

/* media styles */
@media(max-width:1919px) {
#adv_we {
    padding-bottom: 160px;
}
#adv_we .zagol2 {
    font-size: 70px;
    line-height: 0.6;
    margin-bottom: 40px;
    padding-bottom: 94px;
    background-size: 69px 48px;
}
#adv_we .adv-subtitle {
    line-height: 1.26;
}
#adv_we .adv-items {
    margin-top: 100px;
}
#adv_we .adv-item {
    border-radius: 52px;
    padding-top: 210px;
}
#adv_we .adv-item:nth-child(1),
#adv_we .adv-item:nth-child(5) {
    height: 1025px;
}
#adv_we .adv-item .adv-media {
    flex-grow: 1;
}
#adv_we .adv-image {
    height: 100%;
    display: flex;
}
#adv_we .adv-image img {
    height: 100%;
    object-fit: cover;
}
#adv_we .adv-item .adv-media a.link {
    width: 66px;
    height: auto;
    aspect-ratio: 1/1;
    background-size: 20px;
}
#adv_we .adv-item .adv-media a.link:hover,
#adv_we .adv-item .adv-media a.link:focus {
    background-size: 20px;
}
#adv_we .right_block {
    padding-top: 94px;
    padding-left: 42px;
}
#adv_we .adv-title {
    font-size: 108px;
    font-weight: 500;
    line-height: 0.39;
}
}
@media(max-width:1599px) {
#adv_we {
    padding-bottom: 115px;
}
#adv_we .zagol2 {
    font-size: 66px;
    line-height: 0.57;
    margin-bottom: 35px;
    padding-bottom: 90px;
}
#adv_we .adv-subtitle {
    font-size: 31px;
    line-height: 1.21;
}
#adv_we .adv-items {
    margin-top: 70px;
}
#adv_we .adv-item {
    border-radius: 47px;
    padding-top: 186px;
}
#adv_we .adv-item:nth-child(1),
#adv_we .adv-item:nth-child(5) {
    height: 920px;
}
#adv_we .adv-item .adv-media a.link {
    width: 60px;
    background-size: 18px;
}
#adv_we .adv-item .adv-media a.link:hover,
#adv_we .adv-item .adv-media a.link:focus {
    background-size: 18px;
}
#adv_we .right_block {
    padding-top: 84px;
    padding-left: 38px;
}
#adv_we .adv-title {
    font-size: 97px;
}
}
@media(max-width:1439px) {
#adv_we {
    padding-bottom: 90px;
}
#adv_we .zagol2 {
    font-size: 55px;
    line-height: 1.23;
    margin-bottom: 35px;
    padding-bottom: 55px;
    background-size: 77px 53px;
}
#adv_we .adv-subtitle {
    font-size: 29px;
    line-height: 1.26;
}
#adv_we .adv-items {
    margin-top: 75px;
    gap: 24px;
}
#adv_we .adv-item {
    border-radius: 39px;
    padding-top: 155px;
}
#adv_we .adv-item:nth-child(1),
#adv_we .adv-item:nth-child(5) {
    height: 767px;
}
#adv_we .adv-item .adv-media a.link {
    width: 54px;
    background-size: 15px;
    top: 15px;
    right: 15px;
}
#adv_we .adv-item .adv-media a.link:hover,
#adv_we .adv-item .adv-media a.link:focus {
    background-size: 15px;
}
#adv_we .right_block {
    padding-top: 70px;
    padding-left: 30px;
}
#adv_we .adv-title {
    font-size: 81px;
} 
}
@media(max-width:1199px) {
#adv_we {
    padding-bottom: 80px;
}
#adv_we .zagol2 {
    font-size: 45px;
    line-height: 1.5;
    padding-bottom: 55px;
}
#adv_we .adv-items {
    margin-top: 70px;
    gap: 20px;
}
#adv_we .adv-item {
    border-radius: 33px;
    padding-top: 130px;
}
#adv_we .adv-item:nth-child(1),
#adv_we .adv-item:nth-child(5) {
    height: 645px;
}
#adv_we .adv-item .adv-media a.link {
    width: 42px;
    background-size: 12px;
}
#adv_we .adv-item .adv-media a.link:hover,
#adv_we .adv-item .adv-media a.link:focus {
    background-size: 12px;
}
#adv_we .right_block {
    padding-top: 58px;
    padding-left: 26px;
}
#adv_we .adv-title {
    font-size: 68px;
} 
}
@media(max-width:991px) {
#adv_we .zagol2 {
    font-size: 38px;
    line-height: 1.69;
    padding-bottom: 45px;
    background-size: 65px 45px;
}
#adv_we .adv-subtitle {
    font-size: 24px;
    line-height: 1.39;
}
#adv_we .adv-items {
    margin-top: 60px;
    gap: 15px;
}
#adv_we .adv-item {
    border-radius: 25px;
    padding-top: 100px;
}
#adv_we .adv-item:nth-child(1),
#adv_we .adv-item:nth-child(5) {
    height: 490px;
}
#adv_we .adv-item .adv-media a.link {
    width: 36px;
    background-size: 10px;
    top: 8px;
    right: 8px;
}
#adv_we .adv-item .adv-media a.link:hover,
#adv_we .adv-item .adv-media a.link:focus {
    background-size: 10px;
}
#adv_we .right_block {
    padding-top: 44px;
    padding-left: 20px;
}
#adv_we .adv-title {
    font-size: 51px;
}    
}
@media(max-width:767px) {
#adv_we {
    padding-bottom: 65px;
}
#adv_we .zagol2 {
    font-size: 30px;
    line-height: 2.25;
    padding-bottom: 40px;
    margin-bottom: 30px;
    background-size: 58px 40px;
}
#adv_we .adv-subtitle {
    font-size: 20px;
    line-height: 1.88;
}
#adv_we .adv-items {
    margin-top: 50px;
    gap: 12px;
}
#adv_we .adv-item {
    border-radius: 19px;
    padding-top: 75px;
}
#adv_we .adv-item:nth-child(1),
#adv_we .adv-item:nth-child(5) {
    height: 370px;
}
#adv_we .adv-item .adv-media a.link {
    width: 28px;
    background-size: 8px;
    top: 6px;
    right: 6px;
}
#adv_we .adv-item .adv-media a.link:hover,
#adv_we .adv-item .adv-media a.link:focus {
    background-size: 8px;
}
#adv_we .right_block {
    padding-top: 34px;
    padding-left: 15px;
}
#adv_we .adv-title {
    font-size: 39px;
}  
}
@media(max-width:575px) {
#adv_we {
    padding-bottom: 40px;
}
#adv_we .zagol2 {
    font-size: 24px;
    padding-bottom: 32px;
    margin-bottom: 25px;
    background-size: 48px 33px;
}
#adv_we .adv-subtitle {
    font-size: 16px;
}
#adv_we .adv-items {
    margin-top: 40px;
    gap: 10px;
}
#adv_we .adv-item {
    border-radius: 15px;
    padding-top: 62px;
}
#adv_we .adv-item:nth-child(1),
#adv_we .adv-item:nth-child(5) {
    height: 305px;
}
#adv_we .adv-item .adv-media a.link {
    width: 23px;
    background-size: 7px;
    top: 5px;
    right: 5px;
}
#adv_we .adv-item .adv-media a.link:hover,
#adv_we .adv-item .adv-media a.link:focus {
    background-size: 7px;
}
#adv_we .right_block {
    padding-top: 28px;
    padding-left: 12px;
}
#adv_we .adv-title {
    font-size: 32px;
} 
}
@media(max-width:479px) {
#adv_we {
    padding-bottom: 35px;
}
#adv_we .zagol2 {
    font-size: 19px;
    padding-bottom: 25px;
    margin-bottom: 12px;
    background-size: 38px 26px;
}
#adv_we .adv-subtitle {
    font-size: 13px;
    line-height: 1.84;
}
#adv_we .adv-items {
    margin-top: 30px;
    gap: 15px;
    grid-template: unset;
    grid-template-rows: 235px;
}
#adv_we .adv-item:nth-child(1),
#adv_we .adv-item:nth-child(5) {
    grid-row: span 1;
    height: 235px;
}
#adv_we .adv-item {
    height: 235px;
    border-radius: 25px;
    padding-top: 98px;
}
#adv_we .adv-item:nth-child(1) .adv-image,
#adv_we .adv-item:nth-child(5) .adv-image {
    clip-path: url(#customClipPath1);
}
#adv_we .adv-item .adv-media,
#adv_we .adv-image {
    width: 100%;
    height: 100%;
}
#adv_we .adv-item .adv-media a.link {
    width: 31px;
    background-size: 10px;
    top: 10px;
    right: 10px;
}
#adv_we .adv-item .adv-media a.link:hover,
#adv_we .adv-item .adv-media a.link:focus {
    background-size: 10px;
}
#adv_we .right_block {
    padding-top: 44px;
    padding-left: 20px;
}
#adv_we .adv-title {
    font-size: 51px;
}
}
@media(max-width:359px) {
#adv_we {
    padding-bottom: 30px;
}
#adv_we .zagol2 {
    font-size: 16px;
    line-height: 2.73;
    padding-bottom: 22px;
    background-size: 32px 22px;
}
#adv_we .adv-subtitle {
    font-size: 11px;
    line-height: 2.21;
}
#adv_we .adv-items {
    margin-top: 40px;
    gap: 12px;
    grid-template-rows: 200px;
}
#adv_we .adv-item:nth-child(1),
#adv_we .adv-item:nth-child(5) {
    height: 200px;
}
#adv_we .adv-item {
    height: 200px;
    border-radius: 21px;
    padding-top: 82px;
}
#adv_we .adv-item .adv-media a.link {
    width: 26px;
    background-size: 8px;
}
#adv_we .adv-item .adv-media a.link:hover,
#adv_we .adv-item .adv-media a.link:focus {
    background-size: 8px;
}
#adv_we .right_block {
    padding-top: 36px;
    padding-left: 16px;
}
#adv_we .adv-title {
    font-size: 43px;
}
}