

/* Start:/bitrix/templates/jourist/styles.css?17867110008234*/
/* cookies */
.rating_yand,
.RatingBadgeWidget {
    width: 150px;
    height: 50px;
}

.RatingBadgeWidget {
    background-size: cover;
}

.ws-quiz-container:not(.ws-quiz-mobile) .ws-quiz-btn-container {
    position: fixed !important;
    bottom: 73% !important;
}


/* =========================================================
   ФОТОГРАФИИ ЮРИСТОВ НА ГЛАВНОЙ
   ========================================================= */

.block_jur {
    position: relative !important;
    overflow: hidden !important;
}

/*
 * Растягиваем область фотографии от верхней
 * до нижней границы карточки.
 *
 * Одновременно сбрасываем возможные старые top,
 * transform, margin и другие свойства.
 */
.block_jur .img_jur {
    position: absolute !important;

    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;

    width: 58% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;

    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;

    overflow: visible !important;
}

/*
 * PNG показываем полностью.
 * Никакого cover — фотография должна вписываться
 * в доступную область без обрезки головы.
 */
.block_jur .img_jur img {
    position: static !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: none !important;

    object-fit: contain !important;
    object-position: right bottom !important;
}


/* cookies */

.window_kuki {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 22px 25px;
    z-index: 1000;
    box-shadow: 0 0 15px rgba(0, 0, 0, .5);
}

.inner_kuki {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.window_kuki p {
    font-size: 18px;
    margin: 0 !important;
    padding: 0;
    text-align: left;
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    line-height: 1.45;
    overflow-wrap: anywhere;
    color: #333333;
}

.window_kuki p a {
    color: #151514;
    text-decoration: underline;
}

.window_kuki p a:hover {
    text-decoration: none;
}

.btn_kuki {
    margin: 0;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    background-color: #FDEC21;
    background-image: linear-gradient(to left, #FDEC21, #FDD921);
    border: 4px #0479b900;
    border-radius: 20px;
    max-width: 250px;
    padding: 16px 25px;
    font-size: 12px;
    font-weight: 600;
    color: #151514;
    flex: 0 0 auto;
    cursor: pointer;
}

@media screen and (max-width: 767px) {

    .inner_kuki {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .window_kuki p {
        width: 100%;
        font-size: 14px;
        text-align: left;
    }

    .window_kuki {
        max-height: 55vh;
        padding: 16px;
        overflow-y: auto;
    }

    .soc_head_urist {
        position: absolute;
        top: 5px;
        left: 160px;
    }

    .left-menu {
        margin-top: 15px !important;
    }

    .btn_kuki {
        width: 100%;
        max-width: none;
    }

    .mainpage-first__content-title {
        margin: 130px 0 45px !important;
    }
}

.label-checkbox a {
    color: inherit;
    text-decoration: underline;
}


/* for checkboxes if it's required */

.order-modal__btn {
    margin-bottom: 20px;
}

.order-modal__btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

h2 {
    font-size: 28px !important;
}


/* Первый экран */

@media (min-width: 1440px) {

    .mainpage-first__block-info {
        right: 320px !important;
    }

    .mainpage-first__block-image {
        right: -38px !important;
    }
}


/* pl_img */

@media (min-width: 901px) {

    .pl_img {
        left: 10% !important;
        bottom: 68% !important;
    }
}

@media (min-width: 1440px) {

    .pl_img {
        bottom: 71% !important;
    }
}


/* Хлебные крошки */

.breadcrumbs-wrap {
    position: relative;
    z-index: 1;
    padding: 190px 0 18px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    line-height: 1.4;
    color: #6f7782;
}

.breadcrumbs__link {
    color: #151514;
    text-decoration: none;
}

.breadcrumbs__link:hover {
    text-decoration: underline;
}

.breadcrumbs__separator,
.breadcrumbs__current {
    color: #6f7782;
}

@media (max-width: 767px) {

    .breadcrumbs-wrap {
        padding: 95px 0 14px;
    }

    .breadcrumbs {
        font-size: 12px;
    }
}


/* Информация статьи */

.article-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 15px 0 20px;
    padding: 14px 18px;
    background: #f9f9f9;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.4;
    color: #333;
}

.article-meta-info__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-meta-info__icon {
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 767px) {

    .article-meta-info {
        display: block;
        padding: 12px 14px;
    }

    .article-meta-info__item {
        display: flex;
        margin-bottom: 8px;
    }

    .article-meta-info__item:last-child {
        margin-bottom: 0;
    }
}


/* Список специалистов */

.specialists-list__intro {
    max-width: 820px;
    margin-bottom: 30px;
}

.specialists-list__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.specialists-list__item,
.specialist-profile__card {
    overflow: hidden;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    background: #fff;
}

.specialists-list__link {
    display: block;
    height: 100%;
    padding: 20px;
    color: #252d34;
}

.specialists-list__photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    margin-bottom: 16px;
    object-fit: cover;
    object-position: top center;
}

.specialists-list__item h2 {
    margin: 0 0 12px;
    font-size: 24px !important;
}

.specialists-list__text {
    color: #4b535b;
}


/* Карточка специалиста */

.specialist-profile__card {
    display: grid;
    grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
    max-width: 1050px;
    margin: 0 auto;
}

.specialist-profile__photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: top center;
}

.specialist-profile__content {
    min-width: 0;
    padding: 32px;
}

.specialist-profile__content h1 {
    overflow-wrap: anywhere;
}

.specialist-profile__lead {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.specialist-profile__description {
    line-height: 1.6;
}

.specialist-profile__note {
    margin: 24px 0;
    padding: 14px 16px;
    border-left: 3px solid #fdd921;
    background: #f8f8f8;
    color: #59616a;
    font-size: 14px;
}


/* Адаптив специалистов */

@media (max-width: 991px) {

    .specialists-list__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {

    .specialists-list__grid,
    .specialist-profile__card {
        grid-template-columns: minmax(0, 1fr);
    }

    .specialist-profile__photo img {
        min-height: 0;
        max-height: 520px;
    }

    .specialist-profile__content {
        padding: 20px;
    }
}


/* Cookie + кнопка наверх */

body.cookie-banner-open .go_top {
    bottom: 130px;
}

@media screen and (max-width: 480px) {

    .go_top {
        display: none !important;
    }
}
/* End */
/* /bitrix/templates/jourist/styles.css?17867110008234 */
