

/* Start:/local/templates/eshop_bootstrap_v4/components/bitrix/news.detail/gardista.blog-v2/style.css?17800454879655*/

.faq-blog{
    margin: 20px 0;
}
.faq-blog__container {
    width: 100%;
    margin: 0 auto;
}

.faq-blog__title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

.faq-blog__category-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #ccc;
    padding-bottom: 5px;
    color: #555;
}

.faq-blog__item {
    border: 1px solid #eee;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.faq-blog__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    background-color: #f9f9f9;
    font-weight: bold;
    user-select: none;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid transparent; /* Для визуального разделения */
}

.faq-blog__question:hover {
    background-color: #f0f0f0;
}

.faq-blog__question-text {
    flex-grow: 1;
    color: #333;
}

.faq-blog__toggle-button {
    border: none;
    background: none;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #032755; /* Акцентный цвет */
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-blog__toggle-button svg {
    width: 24px;
    height: 24px;
    display: block;
    stroke-width: 2.5; /* Более толстая линия для иконки */
}

.faq-blog__toggle-button[aria-expanded="true"] {
    transform: rotate(45deg);
    color: #dc3545; /* Цвет при открытии */
}

.faq-blog__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: #fff;
    color: #555;
}

/* Стиль для открытого ответа - используется JS */
.faq-blog__answer.is-open {
    padding: 0 20px 20px 20px;
}

.faq-blog__answer-text {
    line-height: 1.6;
    padding-top: 10px;
}

.faq-blog__answer-text ul {
    margin-top: 10px;
    padding-left: 20px;
    list-style: disc;
}


.article-relink {
    margin: 40px 0;
    padding: 24px;
    background: #f9fafb;
    border-radius: 12px;
    border-left: 4px solid #000;
}

.article-relink__container {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.article-relink__content {
    flex: 1;
}

.article-relink__label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin-bottom: 8px;
    font-weight: 600;
}

.article-relink__title {
    display: block;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
    color: #111827;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.article-relink__title:hover {
    color: #4b5563;
}

.article-relink__text {
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 16px;
}

.article-relink__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    font-size: 14px;
}

.article-relink__link svg {
    transition: transform 0.2s ease;
}

.article-relink__link:hover svg {
    transform: translateX(4px);
}

.article-relink__image-wrapper {
    width: 200px;
    height: 140px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.article-relink__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .article-relink__container {
        flex-direction: column-reverse;
    }
    .article-relink__image-wrapper {
        width: 100%;
        height: 180px;
    }
}


/* Общие стили для блоков с изображениями */
.article-img-block {
    margin: 32px 0;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.article-img-block img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.article-image{
    margin: 25px 0;
}
/* 1. Баннер */
.article-img-block--banner img {
    aspect-ratio: 16 / 3;
}

/* 2. Обтекание текстом */
.article-img-block--float {
    float: left;
    max-width: 350px;
    margin: 8px 24px 16px 0;
}

/* 3. Панорама (узкая) */
.article-img-block--panorama img {
    aspect-ratio: 21 / 6;
}

/* 4. Сетка / Галерея */
.article-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 32px 0;
}

.article-grid__item {
    border-radius: 8px;
    overflow: hidden;
}

.article-grid__item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* 5. Сравнение */
.article-compare {
    display: flex;
    gap: 16px;
    margin: 32px 0;
}

.article-compare__column {
    flex: 1;
}

.article-compare__img-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.article-compare__img-wrapper img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.article-compare__label {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
}

.article-compare__label--active {
    background: #000; /* Выделение вашего бренда */
}

/* Адаптивность */
@media (max-width: 768px) {
    .article-img-block--float {
        float: none;
        max-width: 100%;
        margin: 20px 0;
    }

    .article-grid,
    .article-compare {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .article-img-block--panorama img {
        aspect-ratio: 16 / 9; /* На мобилках слишком узко будет плохо */
    }
}

.article-toc {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 24px;
    margin: 30px 0;
    max-width: 100%;
}

.article-toc__header {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.article-toc__title {
    font-weight: 700;
    font-size: 1.25rem;
    color: #212529;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-toc__item {
    margin-bottom: 8px;
}

.article-toc__item--level-2 { margin-left: 0; }
.article-toc__item--level-3 { margin-left: 20px; font-size: 0.95em; }

.article-toc__link {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
    line-height: 1.4;
}

.article-toc__link:hover {
    color: #007bff;
    padding-left: 5px;
}

/* Отступ сверху для якорей, чтобы не перекрывались липкой шапкой */
article [id] {
    scroll-margin-top: 200px;
}

@media (max-width: 768px) {
    article [id] {
        scroll-margin-top: 125px;
    }

}

.article-author {
    margin-top: 40px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
}

.article-author__container {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.article-author__image-wrapper {
    flex-shrink: 0;
}

.article-author__image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.article-author__content {
    flex-grow: 1;
}

.article-author__header {
    margin-bottom: 10px;
}

.article-author__name {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.article-author__job {
    display: block;
    font-size: 14px;
    color: #888;
    line-height: 1.2;
}

.article-author__description {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

@media (max-width: 600px) {
    .article-author__container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
.article-date{
    margin: 20px 0;
}
.article-body .article-detail a{
    color: #2a7ae2;
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0% 1px;
    transition: background-size 0.2s ease, color 0.2s ease;
}

.article-body .article-detail a:hover{
    color: #1a5bb8;
    background-size: 100% 1px;
}


.article-body table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #dcdfe4;
    border-radius: 12px;
    overflow: hidden;
    font-size: 14px;
}

.article-body table th {
    padding: 14px 18px;
    background: #f5f7fa;
    border-bottom: 1px solid #dcdfe4;
    font-weight: 600;
    text-align: left;
    color: #222;
}

.article-body table td {
    padding: 14px 18px;
    border: 1px solid #eceff3;
    color: #444;
}

.article-body table tr:last-child td {
    border-bottom: none;
}

.article-body table tr:hover td {
    background: #f9fbfd;
    transition: 0.2s;
}
/* End */
/* /local/templates/eshop_bootstrap_v4/components/bitrix/news.detail/gardista.blog-v2/style.css?17800454879655 */
