

/* Start:/local/templates/s1_copy/components/bitrix/news/articles/style.css?1762889485939*/

.articles-page{--gap:24px}


/* .card__more{display:block;text-align:center;padding:12px;border-radius:999px;background:#f1f2f5;text-decoration:none;color:#111;font-weight:500} */

.article-detail__thumb img{width:100%;border-radius:20px}
.article-author{position:relative;display:flex;gap:14px;align-items:center;background:#fff;border-radius:18px;padding:14px;margin:16px 0;box-shadow:0 2px 12px rgba(0,0,0,.05);text-decoration:none;color:inherit}
.article-author__photo{width:60px;height:60px;border-radius:14px;object-fit:cover}
.article-author__name{font-weight:600}
.article-author__meta{display:flex;gap:18px;color:#666;font-size:14px;margin-top:4px}
.article-author__go{margin-left:auto;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#f2f3f6;font-size:22px;line-height:1}
@media(max-width:768px){.article-author__meta{flex-direction:column;gap:6px}}

/* End */


/* Start:/local/templates/s1_copy/components/bitrix/news/articles/bitrix/news.list/.default/style.css?17628925895317*/
/* /news/articles/bitrix/news.list/.default/style.css */

/* =========================
   1) Полоса врачей (вверху)
   ========================= */
.vets-strip{
    display:grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));    
    gap:40px;
    margin-bottom: 40px;
}
.vet-chip{
    display:flex;
    align-items:center;
    gap:20px;
    padding:20px;
    border-radius:20px;
    background:#fff;
    text-decoration:none;
    color:inherit;
    transition: transform 0.2s ease;
}
.vet-chip:hover{
    transform: translateY(-2px);
}
.vet-chip__img{
    width:120px;
    height:120px;
    border-radius:10px;
    background-size:cover;
    background-position:center
}
.vet-text{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.vet-chip__text{
    display: flex;
    gap: 15px;
    flex-direction: column;
}
.vet-chip__text i{
    font-style:normal;
    color:#777;
    font-size:14px
}
.vet-chip__btn{
    background:#E9ECEF;
    border-radius:999px;
    padding: 15px 30px;
    width: 120px;
    font-size:16px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}
.vet-chip__btn:hover{
    background-color: var(--color-blue);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* =========================
   2) Сетка карточек
   ========================= */
.cards-grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap: 40px 30px;
}

/* =========================
   3) Карточка и изображение
   ========================= */
.card {
    padding: 30px;
}
.card .card__image{
    width: 100%;
    height: 330px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.card:hover .card__image{
    transform: scale(1.01);
}
.card__thumb{
    border-radius:16px;
    overflow:hidden;
    display:block;
    margin-bottom:40px
}
.card__thumb img{
    width:100%;
    height:100%;
    object-fit:cover
}

/* =========================
   4) Контент карточки
   ========================= */
.card .news-card__content {
    min-height: 110px;
    margin-bottom: 20px;
}

/* =========================
   5) Дата и заголовок
   ========================= */
.card .card__date {
    display: block;
    font-size: var(--font-size-small);
    color: var(--color-black);
    opacity: 0.6;
    margin-bottom: 20px;
}
.card .card__title {
    font-size: var(--font-size-normal);
    font-weight: 600;
    color: var(--color-black);
    margin: 0;
    height: auto;
    text-decoration: none;
    min-height: 75px;
}
.card .card__title a {
    color: inherit;
    text-decoration: none;
}
.card .card__title a:hover {
    text-decoration: underline;
}

/* =========================
   6) Кнопка
   ========================= */
.card .card__more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    background-color: var(--color-bg);
    color: var(--color-black);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 500px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}
.card .card__more:hover {
    background-color: var(--color-blue);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* =========================
   7) Автор (под заголовком)
   ========================= */
.card__author{
    display:flex;
    align-items:center;
    gap:15px;
    padding:10px;
    border-radius:12px;
    border: 1px solid rgb(233 236 239);
    /* margin-top:auto; */
    margin-bottom:20px;
    text-decoration:none;
    color:inherit
}
.card__author:hover {
    background:#f7f8fa;
    border: 1px solid rgb(233 236 239 / 0%);
}
.card__author img{
    width:70px;
    height:70px;
    border-radius:10px;
    object-fit:cover
}
.card__author-name{
    font-weight:600;
    font-size:14px
}
.card__author-role{
    color:#9aa2ad;
    font-size:12px;
    margin-top:2px
}

/* =========================
   8) Адаптив
   ========================= */
@media (max-width: 1024px) {
    .vets-strip{
        grid-template-columns: repeat(2, minmax(0, 1fr));    
    }

    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px 20px;
    }
}
@media (max-width: 768px) {
    .vets-strip{
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 15px;    
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .card .news-card {
        padding: 20px;
        min-height: 450px;
    }
    .card .card__thumb{
        height: auto;
    }
    .card .news-card__content {
    }
    .card .card__title {
        font-size: var(--font-size-small);
    }
}
@media (max-width: 480px) {
    .card .news-card {
        padding: 15px;
        min-height: 400px;
    }
    .card .card__thumb{
        height: 180px;
    }
}

/* End */


/* Start:/local/templates/s1_copy/components/bitrix/news.list/faq_vol2/style.css?17531161872943*/
/* --- FAQ Section --- */
.faq-section {
    display: grid;
    grid-template-columns: 3fr 7fr; /* Делим на 2 колонки в пропорции 3:7 */
    gap: 60px;
    align-items: start;
}

.faq-section__left {
    position: sticky; /* "Прилипает" при скролле */
    top: 40px;
}

.faq-section__description {
    font-size: var(--font-size-normal);
    margin-top: 20px;
    margin-bottom: 40px;
}

/* --- Accordion --- */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.faq-item {
}

.faq-item:hover {
}

.faq-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    cursor: pointer;
}

.faq-item__title {
    font-size: var(--font-size-h3);
    font-weight: 600;
    margin: 0;
    transition: color 0.3s ease; 
}

.faq-item__header:hover .faq-item__title {
    color: var(--color-blue);
}


.faq-item__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #A9D6E5;
    color: var(--color-blue);
    border: none;
    cursor: pointer;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.3s ease;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background-color: currentColor;
    border-radius: 1px;
    transform: translate(-50%, -50%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* --- Accordion Content Animation (CSS Grid trick) --- */
.faq-item__content-wrapper {
    display: grid;
    grid-template-rows: 0fr; /* Изначально высота 0 */
    transition: grid-template-rows 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.faq-item__content {
    overflow: hidden;
    font-size: var(--font-size-normal);
    max-width: 90%;
}

/* --- Active State --- */
.faq-item.is-active .faq-item__icon {
    transform: rotate(45deg); /* Поворачиваем '+' в 'x' */
    background-color: var(--color-blue);
    color: var(--color-white);
}

.faq-item.is-active .faq-item__content-wrapper {
    grid-template-rows: 1fr; /* Раскрываем до полной высоты */
    padding-top: 20px; /* Отступ при раскрытии */
}

/* --- Адаптивность --- */
@media (max-width: 1024px) {
    .faq-section {
        grid-template-columns: 1fr; /* Все в одну колонку */
        gap: 40px;
    }
    .faq-section__left {
        position: static; /* Отключаем "прилипание" */
    }
}

@media (max-width: 768px) {
    .faq-item__title{
        font-size: var(--font-size-normal);
    }
}
/* End */


/* Start:/local/templates/s1_copy/components/bitrix/form.result.new/popup_form_vol2/style.css?17527870437953*/
/* --- Popup Form --- */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.popup-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    position: relative;
    background-color: var(--color-white);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}
.popup-overlay.is-visible .popup-container {
    transform: scale(1) translateY(0);
}

.popup-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    font-size: 28px;
    line-height: 1;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    z-index: 10;
}
.popup-close-btn:hover {
    color: var(--color-black);
    transform: rotate(90deg);
}

.popup-title {
    font-size: var(--font-size-h3);
    font-weight: 700;
    text-align: center;
    margin: 0 0 10px 0;
}
.popup-subtitle {
    font-size: var(--font-size-small);
    text-align: center;
    color: #666;
    margin: 0 0 30px 0;
}

/* Анимированные поля формы */
/* --- Animated Form Fields --- */
.popup-form__field {
    margin-bottom: 25px;
}

.popup-form__input-wrapper {
    position: relative;
}

.popup-form__input,
.popup-form__textarea {
    width: 100%;
    padding: 20px 20px 8px 20px; /* Сделали место для лейбла вверху */
    border: 1px solid #ddd;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: transparent; /* Обязательно для правильного отображения */
}
.popup-form__textarea {
    min-height: 120px;
    resize: vertical;
    padding-top: 25px; /* Чуть больше отступ для textarea */
}

.popup-form__label {
    position: absolute;
    left: 21px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #999;
    pointer-events: none;
    transition: all 0.2s ease-out;
    background-color: var(--color-white); /* Для "разрезания" рамки */
    padding: 0 4px;
}

/* Для textarea лейбл изначально чуть выше */
.popup-form__textarea + .popup-form__label {
    top: 30px; 
}

/* --- МАГИЯ АНИМАЦИИ --- */
/* Стиль лейбла, когда поле в фокусе ИЛИ оно НЕ ПУСТОЕ */
.popup-form__input:focus + .popup-form__label,
.popup-form__input:not(:placeholder-shown) + .popup-form__label,
.popup-form__textarea:focus + .popup-form__label,
.popup-form__textarea:not(:placeholder-shown) + .popup-form__label {
    top: 0;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: var(--color-blue);
    font-weight: 500;
}

/* Стиль самого поля при фокусе */
.popup-form__input:focus,
.popup-form__textarea:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(19, 64, 116, 0.2);
}

/* --- Checkbox for Policy Agreement --- */
.popup-form__checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 12px;
    justify-content: center;
}

/* Скрываем стандартный чекбокс */
.popup-form__checkbox {
    display: none;
}

.popup-form__checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    line-height: 1.4;
    
}
.popup-form__checkbox-label a {
    color: var(--color-blue);
    text-decoration: none;
}
.popup-form__checkbox-label a:hover {
    text-decoration: underline;
}

/* Рисуем наш кастомный чекбокс */
.popup-form__checkbox-custom {
    flex-shrink: 0; /* Чтобы не сжимался */
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Стили для галочки внутри */
.popup-form__checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--color-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0); /* Изначально скрыта */
    transition: transform 0.2s ease-in-out;
}

/* Стили для отмеченного состояния */
.popup-form__checkbox:checked + .popup-form__checkbox-label .popup-form__checkbox-custom {
    background-color: var(--color-blue);
    border-color: var(--color-blue);
}
.popup-form__checkbox:checked + .popup-form__checkbox-label .popup-form__checkbox-custom::after {
    transform: rotate(45deg) scale(1); /* Показываем галочку */
}


.popup-form__footer {
    margin-top: 30px;
    text-align: center;
}

.popup-form__submit-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.popup-form__submit-btn:hover {
    transform: translateY(-2px);
}

.popup-form__submit-btn:active {
    transform: translateY(0);
}

/* Messages */
.popup-error-message,
.popup-success-message {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.4;
}

.popup-error-message {
    background-color: #f8d7da;
    color: #721c24;
}

.popup-success-message {
    background-color: #DDF1FF;
    color: #134074;
}

/* Кнопка в сообщении об успехе */
.popup-success-message .show-all-btn {
    background-color: #134074;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.popup-success-message .show-all-btn:hover {
    background-color: #174e8b;
}

/* Состояние загрузки кнопки */
.popup-form__submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Валидация чекбокса */
.popup-form__checkbox:invalid + .popup-form__checkbox-label .popup-form__checkbox-custom {
    border-color: #dc3545;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .popup-container {
        padding: 30px 20px;
        margin: 20px;
        max-width: calc(100% - 40px);
        border-radius: 15px;
    }
    
    .popup-title {
        font-size: 1.5rem;
    }
    
    .popup-form__input-animated,
    .popup-form__textarea {
        padding: 18px 16px 6px 16px;
    }
    
    .popup-form__label {
        left: 16px;
        font-size: 0.95rem;
    }
    
    .popup-form__textarea + .popup-form__label {
        top: 22px;
    }
    
    .popup-form__checkbox-wrapper {
        gap: 8px;
    }
    
    .popup-form__checkbox-label {
        font-size: 13px;
    }
}
/* End */
/* /local/templates/s1_copy/components/bitrix/news/articles/style.css?1762889485939 */
/* /local/templates/s1_copy/components/bitrix/news/articles/bitrix/news.list/.default/style.css?17628925895317 */
/* /local/templates/s1_copy/components/bitrix/news.list/faq_vol2/style.css?17531161872943 */
/* /local/templates/s1_copy/components/bitrix/form.result.new/popup_form_vol2/style.css?17527870437953 */
