/* =============================================================
   Головна на блоках (page-home-ds.php) — для ПРОДУ. ЗГЕНЕРОВАНО зі staging css/style.min.css.

   На staging нова головна стилізована прямо в style.css / style.min.css (банер-слайдер і секція
   .vector-block — «Мета нашої діяльності» / «Напрямки»). На проді style.min.css не перезаписується
   по FTP, тому тут — УСІ правила staging-style.min.css для селекторів .slider / #slider /
   .vector-block у тому самому порядку й з тими самими медіазапитами. Файл підключає mu-plugin
   reocell-ds-blocks лише на новій головній, після style.min.css — тож для цих селекторів каскад
   такий самий, як на staging. Не редагувати вручну: перегенерувати зі staging.
   ============================================================= */

.slider {
    opacity:1;
    -webkit-transition:all .3s ease-in-out 0s!important;
    -o-transition:all .3s ease-in-out 0s!important;
    -moz-transition:all .3s ease-in-out 0s!important;
    transition:all .3s ease-in-out 0s!important;
}
.slider__card {
    position:relative;
    overflow:hidden;
    border-radius:16px;
    min-height:450px;
}
.slider.open {
    opacity:1;
}
.slider .fotorama__html>div {
    display:-webkit-inline-flex;
    display:inline-flex;
    -webkit-justify-content:flex-start;
    justify-content:flex-start;
    -webkit-align-items:center;
    align-items:center;
    height:100%;
    width:100%;
}
.slider .fotorama__html picture,.slider .fotorama__html img {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    margin:0;
}
.slider .fotorama__html .info {
    position:absolute;
    max-width:1000px;
    margin:auto;
    left:0;
    right:0;
    text-align:center;
}
.slider .fotorama__html .title {
    font-family:'MazzardH-Medium',sans-serif;
    font-size:32px;
    line-height:1.2;
    letter-spacing:-.02em;
    color:#fff!important;
    text-align:center;
    width:100%;
    margin-bottom:12px;
    text-shadow:0 2px 8px rgba(0,0,0,.4);
}
.slider .fotorama__html div.title+* {
    margin-top:12px;
}
.slider .fotorama__html .text {
    font-family:'MazzardH-Regular',sans-serif;
    font-size:14px;
    line-height:1.6;
    color:#fff;
    margin-bottom:12px;
}
.slider .fotorama__html .info .button {
    height:auto;
    min-width:0;
    line-height:1.6;
    padding:12px 32px;
    border-radius:32px;
    font-family:'MazzardH-Medium',sans-serif;
    font-size:12px;
    letter-spacing:0;
    box-shadow:0 8px 8px rgba(200,0,0,.24);
}
.slider .fotorama__html .text ul {
    display:inline-block;
    text-align:left;
    font-family:'MazzardH-Medium',sans-serif;
    font-size:18px;
    color:#fff;
    margin-left:30px;
    list-style:disc;
}
.slider .fotorama__html .text ul li {
    position:relative;
    font-family:'MazzardH-Regular',sans-serif;
    font-size:16px;
    color:#fff;
    line-height:1.9;
    margin-bottom:0;
}
.slider .fotorama__html .text ul li:before {
    content:'';
    display:none;
}
.slider .fotorama__stage__frame:first-child .fotorama__html .title,.slider .fotorama__stage__frame:first-child .fotorama__html .title.show {
    margin-top:0;
    opacity:1;
}
.slider .fotorama__stage__frame:first-child .fotorama__html .consultation,.slider .fotorama__stage__frame:first-child .fotorama__html .consultation.show {
    opacity:1;
}
.slider .fotorama__nav--dots {
    position:absolute;
    right:0;
    left:0;
    bottom:24px;
    width:auto!important;
}
.slider .fotorama__nav--dots .fotorama__nav__frame {
    width:auto;
    height:20px;
    margin:0 4px;
}
.slider .fotorama__nav__frame .fotorama__dot {
    width:12px!important;
    height:4px!important;
    left:0!important;
    top:8px!important;
    border-radius:2px;
    background:rgba(255,255,255,.4);
    border:none;
    transition:all .3s ease-in-out;
}
.slider .fotorama__nav__frame.fotorama__active .fotorama__dot {
    width:20px!important;
    background:#fff;
    box-shadow:none;
}
.slider .fotorama__arr {
    width:66px;
    height:66px;
    border-radius:50%;
    border:#E5E5E5 solid 4px;
    background:url(/wp-content/themes/reocell/img/arrow-left.svg) center no-repeat;
    left:5%;
}
.slider .fotorama__arr.fotorama__arr--next {
    right:5%;
    left:auto;
    transform:rotate(180deg);
}
.slider .fotorama__arr:hover {
    border-color:#C80000;
    background:#C80000 url(/wp-content/themes/reocell/img/arrow-left.svg) center no-repeat;
    box-shadow:0 10px 15px 0 rgba(200,0,0,.3);
    -webkit-box-shadow:0 10px 15px 0 rgba(200,0,0,.3);
    -moz-box-shadow:0 10px 15px 0 rgba(200,0,0,.3);
    -webkit-transition:all .3s ease-in-out 0s!important;
    -o-transition:all .3s ease-in-out 0s!important;
    -moz-transition:all .3s ease-in-out 0s!important;
    transition:all .3s ease-in-out 0s!important;
}
.slider .fotorama__arr.fotorama__arr--next:hover {
    box-shadow:0 -10px 15px 0 rgba(200,0,0,.3);
    -webkit-box-shadow:0 -10px 15px 0 rgba(200,0,0,.3);
    -moz-box-shadow:0 -10px 15px 0 rgba(200,0,0,.3);
}
.slider .down {
    display:none;
    width:31px;
    height:31px;
    position:absolute;
    bottom:15px;
    left:50%;
    margin-left:-16px;
    background:url(../img/down.svg) center no-repeat;
    cursor:pointer;
    animation:down 1s infinite alternate;
}
@media screen and (min-width:1025px) {
    .slider__card {
        min-height:347px!important;
    }
    .slider .fotorama__stage,.slider .fotorama__stage__frame {
        height:347px!important;
    }
}
@media screen and (min-width:1025px) and (max-width:1206px) {
    .slider .fotorama__arr {
        width:60px;
        height:60px;
        left:1%;
    }
    .slider .fotorama__arr.fotorama__arr--next {
        right:1%;
    }
}
@media screen and (min-width:760px) and (max-width:1024px) {
    .slider .fotorama__html .title {
        font-size:36px;
    }
    .slider .fotorama__arr {
        display:none!important;
    }
}
@media screen and (max-width:759px) {
    .slider .fotorama__html .title {
        font-size:36px;
    }
    .slider .fotorama__arr {
        display:none!important;
    }
}
.vector-block .bg {
    position:relative;
    width:100%;
}
.vector-block .bg:before {
    content:'';
    display:block;
    position:absolute;
    top:0;
    left:0;
    right:38%;
    bottom:0;
    background:url(../img/background_1_1.svg) center no-repeat;
    z-index:-1;
}
.vector-block .bg+.wrapper {
    padding-top:60px;
}
.vector-block .bg+.wrapper h2 {
    text-align:center;
}
.vector-block .width {
    width:100%;
    display:-webkit-inline-flex;
    display:inline-flex;
    -webkit-justify-content:space-between;
    justify-content:space-between;
    -webkit-align-items:center;
    align-items:center;
    padding-top:40px;
    padding-bottom:20px;
    position:relative;
}
.vector-block .bg .width {
    background:#fff;
    border-radius:16px;
    padding:60px 80px;
    margin-top:24px;
    margin-bottom:8px;
}
.vector-block .bg .width .left {
    width:40%;
}
.vector-block .bg .width .right {
    width:60%;
    padding-left:32px;
}
.vector-block .bg .width .right video {
    cursor:pointer;
    border-radius:20px;
    overflow:hidden;
    max-width:100%;
    height:auto;
}
.vector-block .bg .width .text-block p {
    font-family:'MazzardH-Regular',sans-serif;
    font-size:20px;
    font-weight:normal;
    line-height:1.5;
}
.vector-block .width>* {
    width:calc(50% - 15px);
}
.vector-block .width:nth-child(odd) .text-block:last-child {
    -webkit-order:-1;
    order:-1;
}
.vector-block .width:nth-child(odd) .text-block:first-child {
    padding-left:68px;
}
.vector-block .width .text-block.animation {
    opacity:0;
    margin-left:-200px;
    -webkit-transition:all .5s ease-in-out 0s!important;
    -o-transition:all .5s ease-in-out 0s!important;
    -moz-transition:all .5s ease-in-out 0s!important;
    transition:all .5s ease-in-out 0s!important;
}
.vector-block .width:nth-child(odd) .text-block.animation {
    margin-right:-200px;
}
.vector-block .width .text-block.animation.show {
    margin-left:0;
    margin-right:0;
    opacity:1;
}
.vector-block .width .img {
    position:relative;
    width:100%;
    margin:auto;
    opacity:0;
    -webkit-transition:all .5s ease-in-out 0s!important;
    -o-transition:all .5s ease-in-out 0s!important;
    -moz-transition:all .5s ease-in-out 0s!important;
    transition:all .5s ease-in-out 0s!important;
}
.vector-block .width:nth-child(3):before {
    content:'';
    background:url(../img/background_1_1.svg) center;
    width:100vw;
    position:absolute;
    top:0;
    bottom:0;
    left:50%;
    margin-left:-50vw;
    z-index:-1;
}
.vector-block .width img {
    width:100%;
    height:auto;
    border-radius:50px;
    margin:auto;
}
.vector-block .width .img.show {
    opacity:1;
}
@media screen and (min-width:1025px) and (max-width:1206px) {
    .vector-block .bg .width .text-block p {
        font-size:18px;
    }
    .vector-block .width:nth-child(even) .text-block:first-child {
        padding-left:0;
    }
    .vector-block .width img {
        max-width:100%;
    }
}
@media screen and (min-width:760px) and (max-width:1024px) {
    .vector-block .bg+.wrapper {
        padding-top:40px;
    }
    .vector-block .bg:before {
        right:0;
    }
    .vector-block .bg .width {
        padding-top:40px;
        -webkit-flex-direction:column;
        flex-direction:column;
        text-align:center;
    }
    .vector-block .bg .width .left {
        width:100%;
    }
    .vector-block .bg .width .right {
        width:100%;
        padding-left:0;
    }
    .vector-block .bg .width {
        background:#fff;
        border:1px solid #c80000;
        border-left-width:3px;
        border-radius:16px;
        padding:40px 20px;
        gap:24px;
        margin-top:20px;
        margin-bottom:4px;
    }
    .vector-block .bg .width .left {
        padding:0!important;
    }
    .vector-block .bg .width .text-block h2 {
        color:#c80000;
        font-size:22px;
        letter-spacing:-.02em;
    }
    .vector-block .bg .width .text-block p {
        font-size:16px;
        text-align:left;
        color:#000;
    }
    .vector-block .bg .width .right .img {
        border-radius:12px;
        overflow:hidden;
    }
    .vector-block .width {
        -webkit-flex-direction:column;
        flex-direction:column;
        padding-bottom:0;
        padding-top:0;
    }
    .vector-block .width>* {
        width:100%;
    }
    .vector-block .width .text-block.animation {
        -webkit-order:2;
        order:2;
        opacity:1;
        margin-left:0;
    }
    .vector-block .width:nth-child(even) .text-block:first-child {
        padding-left:0;
    }
    .vector-block .width:nth-child(even) .text-block.animation {
        margin-right:0;
    }
    .vector-block .width .img {
        width:300px;
    }
}
@media screen and (max-width:759px) {
    .vector-block {
        overflow:hidden;
    }
    .vector-block .width:nth-child(odd) .text-block:first-child {
        padding:0;
    }
    .vector-block .bg+.wrapper {
        padding-top:40px;
    }
    .vector-block .bg:before {
        right:0;
    }
    .vector-block .bg .width {
        padding-top:40px;
        -webkit-flex-direction:column;
        flex-direction:column;
        text-align:center;
    }
    .vector-block .bg .width .left {
        width:100%;
    }
    .vector-block .bg .width .right {
        width:100%;
        padding-left:0;
    }
    .vector-block .bg .width {
        background:#fff;
        border:1px solid #c80000;
        border-left-width:3px;
        border-radius:16px;
        padding:40px 20px;
        gap:24px;
        margin-top:20px;
        margin-bottom:4px;
    }
    .vector-block .bg .width .left {
        padding:0!important;
    }
    .vector-block .bg .width .text-block h2 {
        color:#c80000;
        font-size:22px;
        letter-spacing:-.02em;
    }
    .vector-block .bg .width .text-block p {
        font-size:16px;
        text-align:left;
        color:#000;
    }
    .vector-block .bg .width .right .img {
        border-radius:12px;
        overflow:hidden;
    }
    .vector-block .width {
        -webkit-flex-direction:column;
        flex-direction:column;
        padding-bottom:0;
        padding-top:0;
    }
    .vector-block .width>* {
        width:100%;
    }
    .vector-block .width .text-block.animation {
        -webkit-order:2;
        order:2;
        opacity:1;
        margin-left:0!important;
        margin-right:0!important;
    }
    .vector-block .width:nth-child(even) .text-block:first-child {
        padding-left:0;
    }
    .vector-block .width .text-block {
        margin-left:0;
    }
    .vector-block .width:nth-child(even) .text-block {
        margin-right:0;
    }
    .vector-block .width .img {
        width:300px;
        opacity:1!important;
        padding-top:20px;
    }
}
.vector-block .vector-more {
    margin-top: 25px;
    display: inline-flex;
    justify-content: center;
    text-align: center;
}
@media screen and (max-width: 759px) {
    .vector-block .width {
        margin-bottom: 38px;
        padding-bottom: 0;
    }
    .vector-block .width .img {
        width: 100% !important;
        max-width: none;
        margin: 0 auto 12px auto !important;
        padding-top: 0 !important;
    }
    .vector-block .width img {
        border-radius: 24px;
    }
    .vector-block .width .text-block.animation {
        padding-top: 30px;
    }
    .vector-block .vector-more {
        margin: 0 auto;
        min-width: 0 !important;
        height: auto !important;
        line-height: normal !important;
        padding: 13px 30px;
        font-size: 12px;
    }
}
@media screen and (max-width: 1024px) {
    .slider .fotorama__nav--dots {
        bottom: 10px !important;
        top: auto !important;
    }
    .slider .down {
        bottom: 35px !important;
        top: auto !important;
    }
    .slider .fotorama__html .title {
        margin-bottom: 16px !important;
    }
    .slider .fotorama__html div.title + * {
        margin-top: 16px !important;
    }
    .slider .fotorama__html .text {
        margin-bottom: 16px !important;
    }
    .slider .fotorama__html .info .button.big {
        margin-bottom: 8px;
    }
}

/* Відмінності від прод-стилів, яких немає в staging-правилах вище:
   у проді .slider { position:relative; min-height:450px } — на staging цих властивостей немає;
   і .slider { transition: all .3s !important } — цей файл приходить слідом за style.min.css,
   тож висота банера анімувалася б з 450px до потрібної (смикання при завантаженні).
   Плавною лишається тільки поява банера (opacity, клас .open). */
.slider {
    position: static;
    min-height: 0;
    -webkit-transition: opacity .3s ease-in-out 0s !important;
    -o-transition: opacity .3s ease-in-out 0s !important;
    -moz-transition: opacity .3s ease-in-out 0s !important;
    transition: opacity .3s ease-in-out 0s !important;
}
