

/* Start:/local/templates/.default/components/bitrix/news.list/author-doctors_slider_aside/style.css?17568918634744*/
.page-frame:has(.custom-aside-doctors) {
    flex-flow: column;
}

.custom-aside-doctors {
    font-family: Arial, sans-serif;
    margin: 20px 0 0 0;
    width: 100%;
}
.custom-aside-doctors-slider .swiper-pagination-bullets {
    display: none;
}

@media (min-width: 765px) {
    /*.custom-aside-doctors {*/
    /*    position: absolute;*/
    /*    top: -162px;*/
    /*}*/
    .custom-doctor-item {
        max-width: calc(1026/1410 * 100%);
        width: 100%;
    }
    .aside-left {
        margin-top: 45px;
    }

}
@media (max-width: 1280px) {
    .custom-doctor-item {
        max-width: calc(100% - 20px);
    }
}

@media (max-width: 764px) {
    /*.custom-doctor-item {*/
    /*    width: 335px;*/
    /*}*/

    .custom-aside-doctors-slider .swiper-pagination-bullets {
        display: block;
        bottom: unset !important;
    }
}
.custom-aside-doctors-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}
.custom-aside-doctors-slider {
    position: relative;
    overflow: hidden;
}
.custom-aside-doctors-slider-list {
    display: flex;
    transition: transform 0.3s ease;
}
.custom-doctor-item {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 10px;
    /*margin-right: 15px;*/
    height: 80px;
}
.custom-doctor-item-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    margin-right: 12px;
}
.custom-doctor-item-detail {
    flex-grow: 1;
    overflow: hidden;
    user-select: none;
}
.custom-doctor-item-detail-name {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.custom-doctor-item-detail-name a {
    color: #333;
    text-decoration: none;
}
.custom-doctor-item-detail-name a:hover {
    color: #0066cc;
}
.custom-doctor-item-detail-spec {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.custom-aside-doctors-button {
    margin-top: 15px;
    text-align: right;
}
.custom-link-arrow {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
}
.custom-link-arrow:hover {
    text-decoration: underline;
}
.custom-slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.custom-slider-button-prev {
    left: 5px;
}
.custom-slider-button-next {
    right: 5px;
}
.custom-slider-button:after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-left: 2px solid #333;
    border-bottom: 2px solid #333;
}
.custom-slider-button-prev:after {
    transform: rotate(45deg);
    margin-left: 4px;
}
.custom-slider-button-next:after {
    transform: rotate(-135deg);
    margin-right: 4px;
}
.custom-slider-button.swiper-button-disabled {
    opacity: 0.5;
    cursor: default;
}

 .custom-aside-doctors-slider-container {
     position: relative;
     padding: 0 10px;
     margin: 0 -10px;
 }

.custom-doctor-item {
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    height: 100%;
}

.doctor-slider-nav {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.doctor-slider-prev,
.doctor-slider-next {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.doctor-slider-prev:hover,
.doctor-slider-next:hover {
    background: rgba(255,255,255,1);
    transform: scale(1.1);
}

.custom-doctor-item-image.no-photo {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Скрываем кнопки на мобильных устройствах */
@media (max-width: 767px) {
    .doctor-slider-nav {
        display: none;
    }

    .custom-aside-doctors-slider-container {
        padding: 0;
        margin: 0;
    }

    /* Добавляем стандартную swipe-навигацию */
    .custom-aside-doctors-slider {
        padding-bottom: 20px;
        margin-bottom: 10px;
    }
}

@media (min-width: 768px) {
    .doctor-slider-nav {
        display: flex;
    }
}

/* End */
/* /local/templates/.default/components/bitrix/news.list/author-doctors_slider_aside/style.css?17568918634744 */
