

/* Start:/local/templates/eshop_bootstrap_v4/components/bitrix/news.detail/gardista.blog-v2/style.css?178999330318024*/

.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;
}


.article-cta {
    margin: 40px 0;
    padding: 32px;
    background: #f9fafb;
    border-radius: 12px;
    border-left: 4px solid #000;
}

.article-cta__container {
    display: flex;
    gap: 32px;
    align-items: center;
}

.article-cta__content {
    flex: 1;
}

.article-cta__label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin-bottom: 8px;
    font-weight: 600;
}

.article-cta__title {
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
}

.article-cta__text {
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 20px;
}

/* Форма */
.article-cta__form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.article-cta__input {
    flex: 1;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    color: #111827;
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease;
}

.article-cta__input:focus {
    border-color: #000;
}

.article-cta__button {
    height: 48px;
    padding: 0 24px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.article-cta__button:hover {
    background: #1f2937;
}

/* Изображение */
.article-cta__image-wrapper {
    width: 240px;
    height: 180px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.article-cta__image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Адаптивность */
@media (max-width: 768px) {
    .article-cta {
        padding: 20px;
    }

    .article-cta__container {
        flex-direction: column-reverse;
        gap: 20px;
        align-items: stretch;
    }

    .article-cta__image-wrapper {
        width: 100%;
        height: 160px;
    }

    .article-cta__form {
        flex-direction: column;
        max-width: 100%;
    }

    .article-cta__input,
    .article-cta__button {
        width: 100%;
    }
    .article-cta__input,
    .article-cta__button {
        min-height: 48px;
    }
}
.article-cta__message{
    font-size: small;
    display: flex;
    align-items: center;
    width: 100%;
}
/* ===================== Оценка статьи ===================== */

.article-rating {
    margin: 30px 0;
    padding: 24px;
    border: 1px solid #eee;
    border-radius: 12px;
    background-color: #f9f9f9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.article-rating__title {
    font-weight: bold;
    font-size: 1.2em;
    color: #333;
    margin-bottom: 16px;
}

.article-rating__body {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.article-rating__stars {
    position: relative;
    display: inline-block;
    line-height: 0;
    touch-action: manipulation;
}

.article-rating__layer {
    display: flex;
    white-space: nowrap;
}

.article-rating__layer--base {
    color: #dcdcdc;
}

.article-rating__layer--fill {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 0;
    color: #f5a623;
    transition: width 0.15s ease;
}

.article-rating__star {
    display: block;
    flex: 0 0 auto;
}

.article-rating__hits {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 100%;
}

.article-rating__hit {
    flex: 1 1 auto;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.article-rating__hit:focus-visible {
    outline: 2px solid #f5a623;
    outline-offset: 2px;
}

.article-rating--pending .article-rating__hit {
    cursor: progress;
}

.article-rating__summary {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: #555;
}

.article-rating__value {
    font-size: 1.4em;
    font-weight: bold;
    color: #333;
}

.article-rating__count {
    font-size: 0.9em;
    color: #888;
}

.article-rating__message {
    margin-top: 12px;
    min-height: 20px;
    font-size: 0.9em;
    color: #4c9a2a;
}

.article-rating__message--error {
    color: #c0392b;
}

@media (max-width: 768px) {
    .article-rating {
        padding: 16px;
    }

    .article-rating__body {
        gap: 12px;
    }

    .article-rating__star {
        width: 28px;
        height: 28px;
    }
}

/* ===================== Промокод в статье ===================== */
/* Тёплая палитра взята не с потолка: тот же тон уже используется в карточке
   товара у блока акции (.product-promotion-gift__button, #c9a06b). */

.article-promo {
    --promo-panel: #f2ede5;
    --promo-coupon: #faf7f2;
    --promo-dash: #c9b79b;
    --promo-ink: #4a3f33;
    --promo-muted: #6b5f52;
    --promo-accent: #a5793f;
    --promo-action: #8a6234;

    margin: 40px 0;
    padding: 28px;
    border-radius: 18px;
    background: var(--promo-panel);
}

.article-promo__main {
    display: flex;
    align-items: center;
    gap: 20px;
}

.article-promo__icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    color: var(--promo-accent);
}

.article-promo__content {
    flex: 1;
    min-width: 0;
}

.article-promo__title {
    margin: 0 0 8px 0;
    color: var(--promo-ink);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.article-promo__text {
    margin: 0;
    color: var(--promo-muted);
    font-size: 15px;
    line-height: 1.6;
}

.article-promo__inline {
    padding: 1px 7px;
    border: 1px solid var(--promo-dash);
    border-radius: 5px;
    background: var(--promo-coupon);
    color: var(--promo-accent);
    font-weight: 600;
    white-space: nowrap;
}

/* Купон: пунктир плюс «надкусы» по бокам — кружки цвета панели поверх рамки */
.article-promo__coupon {
    position: relative;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 216px;
    min-height: 116px;
    padding: 18px 28px;
    border: 2px dashed var(--promo-dash);
    border-radius: 14px;
    background: var(--promo-coupon);
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}

.article-promo__coupon::before,
.article-promo__coupon::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--promo-panel);
    transform: translateY(-50%);
}

.article-promo__coupon::before {
    left: -13px;
}

.article-promo__coupon::after {
    right: -13px;
}

.article-promo__coupon:hover {
    border-color: var(--promo-accent);
}

.article-promo__coupon-code {
    color: var(--promo-accent);
    font-size: 34px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.article-promo__coupon-hint {
    /* Высота закреплена: подпись меняется на «Скопировано», вёрстка не должна дёргаться */
    min-height: 16px;
    color: var(--promo-muted);
    font-size: 12px;
    line-height: 16px;
}

.article-promo--copied .article-promo__coupon {
    border-color: var(--promo-accent);
    border-style: solid;
}

.article-promo__button {
    width: 100%;
    height: 54px;
    margin-top: 22px;
    border: none;
    border-radius: 12px;
    background: var(--promo-action);
    color: #fff;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
}

.article-promo__button:hover {
    background: #75512a;
}

.article-promo__button:disabled {
    opacity: .65;
    cursor: default;
}

.article-promo__coupon:focus-visible,
.article-promo__button:focus-visible {
    outline: 2px solid var(--promo-action);
    outline-offset: 3px;
}

.article-promo__status {
    /* Место под сообщение зарезервировано, иначе строка появляется и сдвигает вёрстку */
    min-height: 22px;
    margin: 10px 0 0;
    color: var(--promo-muted);
    font-size: 14px;
    line-height: 22px;
    text-align: center;
}

.article-promo__status--error {
    color: #b3261e;
}

@media (max-width: 768px) {
    .article-promo {
        padding: 22px 18px;
    }

    .article-promo__main {
        flex-wrap: wrap;
        gap: 16px;
    }

    .article-promo__icon {
        width: 38px;
        height: 38px;
    }

    .article-promo__content {
        flex-basis: calc(100% - 54px);
    }

    .article-promo__coupon {
        width: 100%;
        min-height: 104px;
    }
}

/* End */
/* /local/templates/eshop_bootstrap_v4/components/bitrix/news.detail/gardista.blog-v2/style.css?178999330318024 */
