/* Слайд-шоу */
.slideShow {
    height: 460px;
    width: 100%;
    max-width: 1280px;
    position: relative;
}

.sShow_slide {
    width: 100%;
    height: 460px;
    transition: 1s all;
    opacity: 0;
    position: absolute;
    object-fit: contain;
}

.sShow_slide.active {
    opacity: 1;
}

.sShowBtns {
    position: absolute;
    display: flex;
    gap: 8px;
    bottom: -34px;
    left: calc(50% - 32px);
}

.sShowBtn {
    display: block;
    width: 16px;
    height: 16px;
    cursor: pointer;
    background: #dddce7;
    border-radius: 50%;
}

.sShowBtn.active {
    background: var(--blue) !important;
}

/* Синие карточки */
.addinfo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 18px;
    color: white;
    gap: 18px;

}

.addinfo h1 {
    font-size: 18px;
    font-weight: 700;
}

.addinfo a {
    color: white;
    font-weight: 700;
    font-size: 20px;
}

.addinfo_Cont {
    background: var(--blue);
    display: flex;
    flex-direction: column;
    width: 300px;
    height: 260px;
    position: relative;
    align-items: center;
    border-radius: 24px;
}

.addinfo_Cont p {
    margin: 10px 0 20px 0;
}

.addinfo_Cont img {
    width: 50px;
    position: absolute;
    left: 30px;
    top: 30px;
}

.addinfo-col {
    position: absolute;
    bottom: 20px;
    width: 240px;
    height: 135px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Блок с текстом */
.textBlock {
    max-width: 1280px;
    display: flex;
    align-items: center;
}

.sBlock_text.margin {
    margin-right: 100px;
}

.gvBlock_img {
    margin-right: 100px;
}

.gvBlock_img img {
    border-radius: 18px;
}

.sBlock_text h1 {
    font-weight: 700;
    font-size: 40px;
    margin-bottom: 20px;
}

.sBlock_text p {
    font-size: 20px;
}

.sBlock_fadingSlider img {
    border-radius: 18px;
}


.gvButton {
    display: block;
    position: relative;
    width: 300px;
    height: 64px;
    margin-top: 50px;
    padding: 20px 40px;
    border-radius: 8px;
    background: var(--blue);
    font-size: 20px;
    font-weight: 700;
    color: white !important;
    transition: .3s opacity;
    user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
}

.gvButton:hover {
    opacity: 70%;
}

/* Приём граждан */
.priem {
    display: flex;
    align-items: center;
    max-width: 1280px;
    padding: 60px;
    border-radius: 24px;
    background: url(/public/images/home/priem.png);
    background-size: cover;
    color: white;
}

.priem_left {
    margin-right: 70px;
    width: 350px;
}

.priem_right {
    display: flex;
    width: 495px;
}

.priem_right img {
    position: relative;
    border: 2px solid #fff;
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    width: 150px;
}

.priem h1 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 20px;
}

.priem p {
    margin-bottom: 20px;
}

.priem a {
    color: var(--blue);
    font-weight: 700;
    font-size: 18px;
    border-radius: 14px;
    background: white;
    padding: 18px 40px;
    text-align: center;
    width: 200px;
    height: 60px;
    display: block;
    transition: scale .3s;
    user-select: none;
    -webkit-user-select: none;
}

.priem a:hover {
    scale: .95;
}

/* Отзывы */

.feedbackBlock {
    width: min(1280px, calc(100% - 40px));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    color: #1d1d1f;
}

.feedback_Title {
    width: 100%;
    margin-bottom: 48px;
    color: #1d1d1f;
    font-size: clamp(36px, 4vw, 48px);
    font-weight: 650;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.feedbackCont {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
}

.feedbackBlock .feedback {
    width: auto;
    min-width: 0;
    min-height: 440px;
    height: auto;
    padding: 34px 32px 36px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.035);
    border-radius: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 14px 36px rgba(0, 0, 0, 0.04);
}

.feedbackBlock .feedback::before {
    content: "\201C";
    height: 30px;
    margin-bottom: 24px;
    color: #0071e3;
    font-size: 58px;
    font-weight: 700;
    line-height: .85;
}

.feedbackBlock .feedbackName {
    width: 100%;
    margin-bottom: 24px;
    color: #1d1d1f;
    font-size: 20px;
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -0.015em;
    text-align: left;
}

.feedbackBlock .feedbackTxt {
    width: 100%;
    font-size: 16px;
    line-height: 1.55;
    color: #424245;
    margin: 0;
    overflow-wrap: break-word;
    text-align: left;
}

.feedbackBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 300px;
    height: 64px;
    margin-top: 40px;
    padding: 14px 30px;
    border-radius: 8px;
    background: var(--blue);
    font-size: 20px;
    font-weight: 700;
    color: white;
    transition: opacity .2s ease;
    user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
}

.feedbackBtn:hover {
    opacity: 70%;
}

.feedbackBtn:active {
    transform: scale(.98);
}

.feedbackBtn:focus-visible {
    outline: 3px solid rgba(0, 113, 227, .28);
    outline-offset: 3px;
}

/* Баннер "#Ты сильнее" */
.stickyBanner {
    position: fixed;
    right: 0px;
    top: calc(50% - 75px);
    background-image: url(/public/images/home/TS.png);
    width: 250px;
    height: 150px;
    background-size: contain;
    cursor: pointer;
    z-index: 9999;
}

@media (min-width: 769px) and (max-width: 900px) {
    .feedbackCont {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feedbackBlock .feedback:last-child {
        grid-column: 1 / -1;
        min-height: 0;
    }
}

@media (max-width: 768px) {

    /* Баннер "#Ты сильнее" */
    .stickyBanner {
        display: none;
    }

    /* Слайдер */
    .slideShow {
        height: 100vh;
    }

    .slideShow img {
        object-fit: cover;
        height: 100vh;
    }

    /*  */
    .textBlock {
        flex-direction: column;
    }

    .sBlock_text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sBlock_text.margin {
        margin: unset;
    }

    .sBlock_text h1 {
        text-align: center;
        margin: 0 14px;
    }

    .sBlock_text p {
        margin: 14px 14px;
        text-align: center;
    }

    .sBlock_fadingSlider img {
        max-width: 300px;
    }

    .gvBlock_img {
        margin: unset;
    }

    .gvBlock_img img {
        max-width: 300px;
    }

    /* Приём граждан */
    .priem {
        flex-direction: column;
        gap: 14px;
    }

    .priem_left {
        margin-right: 0;
        width: unset;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .priem_right {
        display: flex;
        width: unset;
        flex-direction: column;
        gap: 14px;
    }

    .priem_right img {
        left: unset !important;
    }

    /* Отзывы */
    .feedbackBlock {
        width: min(100% - 28px, 620px);
    }

    .feedback_Title {
        margin-bottom: 28px;
        font-size: 36px;
    }

    .feedbackCont {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .feedbackBlock .feedback {
        min-height: 0;
        padding: 28px 24px 30px;
        border-radius: 20px;
    }

    .feedbackBlock .feedback::before {
        margin-bottom: 20px;
    }

    .feedbackBtn {
        width: 100%;
        margin-top: 28px;
    }
}