﻿.blockdepartments .item_block_column {
    width: 100%;
    height: 100%;
/*    padding-left: 64px;
    padding-right: 64px;
*/    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
    display: inline-flex
}
.light_beige {
    background: #F7F1ED;
}
.blockdepartments .item_block {
    max-width: 455px;
    width: 100%;
    height: 625px;
    position: relative;
    background: white;
    box-sizing: border-box;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border-top-left-radius: 56px;
    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px;
    border-bottom-left-radius: 24px;
    outline: 2px rgba(255, 180, 144, 0.30) solid;
    outline-offset: -2px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    display: flex;
    overflow: hidden;
}

.blockdepartments .depTitle {
    color: #36080A;
    font-size: 24px;
    font-family: Rutz_OE;
    font-weight: 400;
    text-align: right;
}

.blockdepartments .depDesc {
    color: #36080A;
    font-size: 19px;
    font-family: Almoni Neue DL 4.0 AAA;
    font-weight: 400;
    line-height: 30px;
    word-wrap: break-word;
    max-height: 182px;
    overflow: hidden;
    text-align: right;
    margin-bottom: 10px;
}
.bottom_bg_image {
    background-size: cover;
    background-position: bottom;
    height: 273px;
    width: calc(100% - 2px); 
    margin: 0 auto 2px auto; 
    border-bottom-right-radius: 22px; 
    border-bottom-left-radius: 22px;
    flex-shrink: 0;
}
.blockdepartments .depIcon {
    width:44px; height:27px;
}
.blockdepartments .item_block > img {
    position: absolute !important;
    bottom: 0;
    height: 255px;
}
.blockdepartments .top_block_in {
    flex: 1;
    align-items: flex-start;
    align-self: stretch;
    padding-left: 44px;
    padding-right: 24px;
    padding-top: 32px;
    padding-bottom: 32px;
    overflow: hidden;
    flex-direction: column;
    gap: 29px;
    display: flex;
    height: 410px;
    overflow: hidden;
}
.depLink {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 9;
    justify-content: center;
    color: #36080A
}
.departSlider .swiper-button-prev_custom {
    right: 46%;
    bottom: -5px;
}
.departSlider .swiper-button-next_custom {
    right: 46%;
    bottom: -5px;
}
.departSlider .swiper-pagination {
    width: max-content;
    right: 4%; bottom:3px;
}
.departSlider {
    position: relative;
    overflow: visible; 
}
    .departSlider .swiper-slide > *:not(.depLink) {
        position: relative;
        z-index: 2;
    }
[dir="ltr"] .blockdepartments .depDesc {
    line-height: 24px;
    font-size: 18px;
    padding:0; margin-bottom:0;max-height:190px
}
[dir="ltr"] .blockdepartments .depDesc, [dir="ltr"] .depTitle {
    text-align: left;
}

[dir="ltr"] .depLink.btn_read_more {padding-left:1rem}
/**LTR*/
[dir="ltr"] .departSlider .swiper-button-prev_custom {
    left: 46%;
    right: auto;
    bottom: -5px;
}
[dir="ltr"] .departSlider .swiper-button-next_custom {
    right: 46%;
    left: auto;
    bottom: -5px;
}
[dir="ltr"] .departSlider .swiper-pagination {
    width: max-content;
    left: 4%;
    bottom: 3px;
}

.swiper-slide.swiper-slide-visible:not(.swiper-slide-fully-visible,.swiper-slide-visible,.swiper-slide-active)::before, .swiper-slide-prev::before {
      content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.65);
    pointer-events: none;
    z-index: 3; 
}

.blockdepartments .swiper-button-next_custom, .blockdepartments .swiper-button-prev_custom {
    position: absolute;
    width: 33px;
    height: 33px;
    background: #fff;
    border: solid 1px #36080A;
    border-radius: 28px;
    bottom: 0;
   
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.blockdepartments .swiper-button-next_custom { left: 46%;
    right: auto;
}
.blockdepartments .swiper-button-prev_custom {
    right: 46%;
    left: auto
}
    .swiper-button-next_custom.swiper-button-disabled, .swiper-button-prev_custom.swiper-button-disabled {
        opacity: 0.3;
        cursor: default
    }

.blockdepartments .swiper-button-next_custom::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: url(../images/ico/ico_arrow_down.svg) 7px 50% no-repeat;
    border-radius: 26px;
    transform: rotate(90deg);
}
    .blockdepartments .swiper-button-prev_custom::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        display: block;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: url(../images/ico/ico_arrow_down.svg) 11px 50% no-repeat;
        border-radius: 26px;
        transform: rotate(263deg);
    }
[dir="ltr"] .blockdepartments .swiper-button-next_custom::after {
    transform: rotate(266deg);
    background: url(../images/ico/ico_arrow_down.svg) 11px 50% no-repeat;
}
[dir="ltr"] .blockdepartments .swiper-button-prev_custom::after {
    transform: rotate(85deg);
        background: url(../images/ico/ico_arrow_down.svg) 7px 50% no-repeat;
}
[dir="ltr"] .blockdepartments .top_block_in {gap:15px}

@media screen and (max-width: 1440px) {
    .blockdepartments_section .container {
        width: 1472px;
        max-width: 96.5%;
    }
}
@media (max-width: 1024px) {
     .container .blockdepartments {
        width: 998px
    }

    /*.blockdepartments .item_block_column {
        flex-direction: column;
    }*/
}
@media (max-width: 790px) {
    .departSlider .swiper-button-prev_custom, [dir="ltr"] .departSlider .swiper-button-prev_custom {
        left: 42%;
        bottom: -5px;
    }

    .departSlider .swiper-button-next_custom, [dir="ltr"] .departSlider .swiper-button-next_custom {
        right: 42%;
        bottom: -5px;
    }

    .blockdepartments .item_block_column {
        flex-direction: column;
    }
    [dir="ltr"] .blockdepartments .depDesc {line-height:23px}

}

@media (max-width: 425px) {
    .blockdepartments .depIcon {
        width: 30px;
        height: 30px;
    }
    .blockdepartments .top_block_in {
        gap:18px;
    }
    .blockdepartments .item_block {
        height: 541px;
    }
    .blockdepartments .depTitle {
        font-size: 20px;
    }
    .departSlider .swiper-button-prev_custom, [dir="ltr"] .departSlider .swiper-button-prev_custom {
        left: 35%;
        bottom: -5px;
    }

    .departSlider .swiper-button-next_custom, [dir="ltr"] .departSlider .swiper-button-next_custom {
        right: 35%;
        bottom: -5px;
    }
 }
