

/* Start:/local/templates/generator/components/bitrix/news.list/lawyers_list/style.css?17829357668808*/
/* ======================================== */
/* СТРАНИЦА ЮРИСТОВ                          */
/* ======================================== */
.lawyers-page {
    --lawyers-green: #42ae45;
    --lawyers-dark: #282828;
    --lawyers-gray-text: #757778;
    --lawyers-border: #e5e7eb;
    font-family: 'Inter', sans-serif;
    color: var(--lawyers-dark);
    line-height: 1.4;
    margin-bottom: 40px;
}

.lawyers-page__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.lawyers-page__section {
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: none;
}

.lawyers-page__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    font-family: 'Geometria', sans-serif;
    color: var(--lawyers-dark);
}

/* ======================================== */
/* СЕТКА ЮРИСТОВ                             */
/* ======================================== */
.lawyers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .lawyers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .lawyers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .lawyers-grid {
        grid-template-columns: 1fr;
    }
}

/* ======================================== */
/* КАРТОЧКА ЮРИСТА                           */
/* ======================================== */
.lawyers-card {
    background: #fff;
    border-radius: 12px;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    box-sizing: border-box;
    overflow: hidden;
    cursor: pointer;
}

.lawyers-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.lawyers-card__photo {
    position: relative;
    width: 100%;
    padding-bottom: 130%;
    overflow: hidden;
    background: #f0f1f2;
    flex-shrink: 0;
}

.lawyers-card__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lawyers-card__placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8e9ea;
}

.lawyers-card__placeholder svg {
    width: 50%;
    height: auto;
    max-width: 80px;
}

.lawyers-card__info {
    padding: 16px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.lawyers-card__name {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
    color: var(--lawyers-dark);
    font-family: 'Geometria', sans-serif;
}

.lawyers-card__position {
    font-weight: normal;
    font-size: 14px;
    line-height: 1.4;
    color: var(--lawyers-gray-text);
}

/* ======================================== */
/* МОДАЛЬНОЕ ОКНО                           */
/* ======================================== */
.lawyers-popup {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 9999;
}
.lawyers-popup.open {
    display: block;
}
.lawyers-popup__overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    cursor: pointer;
}
.lawyers-popup__window {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 12px;
    padding: 32px 24px;
    max-width: 480px;
    width: calc(100% - 32px);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.lawyers-popup__close {
    position: absolute;
    top: 12px; right: 12px;
    cursor: pointer;
    color: #999;
    background: none;
    border: none;
    padding: 4px;
    line-height: 0;
    transition: color 0.2s;
}
.lawyers-popup__close:hover {
    color: #333;
}
.lawyers-popup__title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #282828;
    font-family: 'Geometria', sans-serif;
}
.lawyers-popup__text {
    font-size: 15px;
    color: #666;
    margin: 0 0 20px;
}

/* ======================================== */
/* СЕКЦИЯ КОНСУЛЬТАЦИИ В КОНЦЕ              */
/* ======================================== */
.lawyers-section {
    margin-top: 40px;
    padding: 32px 24px;
    background: #f7f7f7;
    border-radius: 12px;
}
.lawyers-section__title {
    font-family: 'Geometria', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #282828;
    margin: 0 0 20px;
    text-align: center;
}

/* ======================================== */
/* СТИЛИ ФОРМЫ (city-form)                   */
/* ======================================== */
.city-input {
    width: 100%;
    background-color: #fff;  /* белый фон, чтобы не сливаться с серым */
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 14px 16px;
    font-size: 14px;
    height: 48px;
    font-family: 'Inter', sans-serif;
    color: #282828;
    transition: all 0.3s ease;
    outline: none;
    margin-bottom: 12px;
}
.city-input:focus {
    border-color: #42ae45;
}
.city-btn {
    display: inline-block;
    border: none;
    cursor: pointer;
    padding: 10px 24px;
    border-radius: 16px;
    color: #fff !important;
    font-family: GeologicaRoman;
    font-weight: 700;
    transition: background .3s, color .3s;
    text-align: center;
    font-size: 16px;
    text-decoration: none;
    background-color: #42ae45;
}
.city-btn:hover {
    background-color: #348a38;
    color: #fff;
}
.city-btn--full {
    width: 100% !important;
}
.city-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 8px;
}
.city-checkbox input {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    accent-color: #42ae45;
    flex-shrink: 0;
    margin-top: 2px;
}
.city-checkbox label {
    font-size: 12px;
    line-height: 1.4;
    color: #282828;
}
.city-form .city-input {
    width: 100% !important;
    margin-bottom: 12px !important;
}

/* ======================================== */
/* ОШИБКА ЧЕКБОКСА И УВЕДОМЛЕНИЕ (toast)    */
/* ======================================== */
.city-checkbox.has-error {
    border-color: #e74c3c !important;
    background-color: rgba(231, 76, 60, 0.05);
    animation: city-shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
    border-radius: 4px;
    padding: 8px;
    border: 1px solid #e74c3c;
}
@keyframes city-shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

.city-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    background-color: #fff;
    border-left: 4px solid #e74c3c;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 4px;
    padding: 16px 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.68,-0.55,0.27,1.55);
}
.city-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.city-toast__content {
    display: flex;
    align-items: center;
    gap: 12px;
}
.city-toast__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #e74c3c;
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}
.city-toast__text {
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}
@media (max-width: 480px) {
    .city-toast {
        top: 10px;
        right: 10px;
        left: 10px;
        transform: translateY(-100%);
    }
    .city-toast.is-visible {
        transform: translateY(0);
    }
}

/* ======================================== */
/* АДАПТИВ                                   */
/* ======================================== */
@media (max-width: 768px) {
    .lawyers-card__info {
        padding: 12px 14px 16px;
    }
    .lawyers-card__name {
        font-size: 16px;
    }
    .lawyers-card__position {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .lawyers-page__section {
        padding: 20px 16px;
    }
    .lawyers-page__title {
        font-size: 26px;
    }
    .lawyers-card__photo {
        padding-bottom: 125%;
    }
    .lawyers-card__info {
        padding: 10px 12px 14px;
    }
    .lawyers-card__name {
        font-size: 15px;
    }
}
/* End */
/* /local/templates/generator/components/bitrix/news.list/lawyers_list/style.css?17829357668808 */
