

/* Start:/local/templates/new-taxi/components/bitrix/news.detail/blog_detail/style.css?17640712438755*/
/* === Общие настройки === */
body {
    font-family: 'HeliosExtC', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

/* === Главный контейнер статьи === */
.news-detail {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
}

/* === Блок: заголовок + дата + изображение === */
.header-section h3 {
    color: #222;
    font-size: 28px;
    font-weight: bold;
    text-align: left;
    margin: 0 0 8px;
    line-height: 1.3;
}
.news-date-time {
    color: #666;
    font-size: 12px;
    text-align: left;
    margin: 0 0 20px;
    font-style: normal;
    display: block;
}
.detail_picture {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 0 30px;
    border-radius: 0;
}

/* === Основной текст статьи — в белом блоке с отступами === */
.content-section {
    background: white;
    padding: 20px 40px 30px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.content-section p,
.content-section > div {
    font-size: 16px;
    color: #333;
    margin: 12px 0;
    line-height: 1.6;
    text-align: left;
}

/* === Списки внутри описания === */
.content-section ul,
.content-section ol {
    list-style: none;
    padding: 0 20px;
    margin: 15px 0;
}
.content-section li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #555;
    font-size: 16px;
}
.content-section li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #666;
    font-weight: bold;
}

/* === Блок соцсетей === */
.news-detail-share {
    padding: 20px 40px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
    text-align: center;
}
.news-detail-share a {
    display: inline-block;
    margin: 0 8px;
    width: 32px;
    height: 32px;
    background: #ddd;
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}
.news-detail-share a:hover {
    background: #ccc;
}

/* === Блок автора === */
.author-block {
    background: #f0f0f0;
    padding: 25px 40px;
    margin-top: 0;
    border-top: 1px solid #eee;
}
.author-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}
.author-name {
    font-weight: bold;
    color: #333;
    font-size: 16px;
    margin-bottom: 10px;
}
.author-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* === Блок автора (новый, с серым фоном) === */
.author-card {
    background: #f0f0f0;
    padding: 25px 40px;
    margin-top: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0 16px;
}

.author-avatar {
    width: 32px;
    height: 32px;
    background: #ddd;
    border-radius: 50%;
    flex-shrink: 0;
}

.author-name {
    font-weight: bold;
    color: #333;
    font-size: 16px;
}

.about-title {
    font-size: 16px;
    color: #333;
    margin: 16px 0 10px;
    font-weight: bold;
}

.author-bio {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* === Убираем фон у блока соцсетей (оставляем только текст и иконки) === */
.news-detail-share {
    background: transparent !important;
    padding: 20px 0 !important;
    border: none !important;
    text-align: left;
}

/* Иконки соцсетей — в ряд, с отступами */
.news-detail-share .main-share-buttons a {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
}

.news-detail-share .main-share-title {
    display: inline-block;
    margin-right: 12px;
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

/* === АДАПТИВ для автора === */
@media (max-width: 768px) {
    .author-card {
        padding: 20px 20px;
    }
    .author-info {
        gap: 10px;
    }
    .author-avatar {
        width: 28px;
        height: 28px;
    }
    .author-name {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .author-card {
        padding: 15px 15px;
    }
    .author-info {
        gap: 8px;
    }
    .author-avatar {
        width: 24px;
        height: 24px;
    }
    .author-name {
        font-size: 14px;
    }
    .about-title {
        font-size: 15px;
    }
    .author-bio {
        font-size: 13px;
    }
}

/* === Блок соцсетей — внутри .content-section === */
.social-share-block {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 15px 0;
    border-top: 1px solid #eee;
}

.share-label {
    font-size: 14px;
    color: #666;
    margin-right: 12px;
    white-space: nowrap;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.social-icon-link:hover {
    transform: scale(1.1);
}

.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    opacity: 0.8;
    padding-left: 10px;
}

.social-icon-link:hover .social-icon {
    opacity: 1;
}

/* Сброс стилей для кнопки-скрепки */
.share-native-btn {
    /* Сбрасываем все дефолтные стили кнопки */
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    outline: none;           /* Убирает синюю/серую обводку */
    -webkit-tap-highlight-color: transparent; /* Убирает серый фон при тапе на iOS */
    box-shadow: none;
    color: inherit;
    font: inherit;
    text-align: inherit;
    appearance: none;        /* Сбрасывает стили в старых браузерах */
}

/* Состояние "наведения" и "активности" */
.share-native-btn:hover,
.share-native-btn:focus,
.share-native-btn:active {
    background: none;
    border: none;
    outline: none;
    transform: none;
    box-shadow: none;
}

.share-icon {
    display: inline-block;
    background: none;
    border: none;
    outline: none;
    text-decoration: none;        /* убирает подчёркивание */
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    line-height: 0;               /* убирает лишнее пространство под иконкой */
    vertical-align: middle;
}

/* Убираем любые псевдоэлементы, если они есть */
.share-icon::before,
.share-icon::after {
    display: none !important;
}

/* Убираем выделение при долгом тапе (iOS) */
.share-icon img {
    pointer-events: none;
    -webkit-user-drag: none;
}

/* === АДАПТИВ === */
@media (max-width: 768px) {
    .social-share-block {
        gap: 8px;
        margin-top: 15px;
    }
    .share-label {
        font-size: 13px;
    }
    .social-icon-link {
        width: 24px;
        height: 24px;
    }
    .social-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .social-share-block {
        gap: 6px;
        margin-top: 10px;
    }
    .share-label {
        font-size: 12px;
    }
    .social-icon-link {
        width: 22px;
        height: 22px;
    }
    .social-icon {
        width: 18px;
        height: 18px;
    }
}

/* === АДАПТИВ === */
@media (max-width: 768px) {
    .header-section,
    .content-section,
    .news-detail-share,
    .author-block {
        padding-left: 20px;
        padding-right: 20px;
    }
    .detail_picture {
        margin: 0 0 20px;
    }
    .header-section h3 {
        font-size: 24px;
    }
    .content-section {
        padding: 15px 20px 20px;
    }
    .author-block {
        padding: 20px 20px;
    }
}

@media (max-width: 480px) {
    .header-section,
    .content-section,
    .news-detail-share,
    .author-block {
        padding-left: 15px;
        padding-right: 15px;
    }
    .header-section h3 {
        font-size: 22px;
        margin: 0 0 6px;
    }
    .news-date-time {
        font-size: 11px;
        margin: 0 0 15px;
    }
    .detail_picture {
        margin: 0 0 15px;
    }
    .content-section {
        padding: 12px 15px 15px;
    }
    .content-section p {
        font-size: 14px;
        margin: 10px 0;
    }
    .author-block {
        padding: 15px 15px;
    }
}
/* End */
/* /local/templates/new-taxi/components/bitrix/news.detail/blog_detail/style.css?17640712438755 */
