/* Tiny overrides for frontend templates */

/* Make the whole card a single link without default link styles */
a.post-details {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* Smooth text hover transitions inside the card */
a.post-details .post-title,
a.post-details .post-meta,
a.post-details .post-date {
    transition: color .25s ease, text-decoration-color .25s ease;
}

a.post-details:hover .post-title,
a.post-details:hover .post-meta,
a.post-details:hover .post-date {
    color: #1d71b9;
}

/* Длинные названия категорий на карточке товара */
.product-single .product-categories {
    line-height: 1.5;
}

/* Вкладка «Документация»: заголовки разделов */
.doc-section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.doc-section + .doc-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #dee2e6;
}

/* Логотип шапки — высота 46px, ширина по viewBox 520×162, без сжатия во flex */
.header .logo {
    flex-shrink: 0;
    overflow: visible;
    width: auto;
    min-width: auto;
    max-width: none;
}

.header .logo img {
    display: block;
    width: auto;
    height: 46px;
    max-width: none;
    overflow: visible;
}

/* Lucide в мобильном меню — контур, без заливки */
.mobile-menu > li a svg.lucide-icon {
    fill: none;
    stroke: currentColor;
    color: #fff;
}

.mobile-menu > li:hover a svg.lucide-icon,
.mobile-menu > li.active a svg.lucide-icon {
    fill: none;
    stroke: currentColor;
}

/* Плашка «Задать вопрос» — на всю ширину сайта, вплотную к футеру */
.page-content--with-cta {
    margin-bottom: 0;
    padding-bottom: 0;
}

.news-article-feedback {
    margin-top: 3.2rem;
    background-color: #eef5fb;
}

.news-article-feedback .news-sidebar-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem 2.4rem;
    padding: 2.8rem 0;
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.news-article-feedback .news-sidebar-cta__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 5.6rem;
    height: 5.6rem;
    margin-bottom: 0;
    background-color: #fff;
    border-radius: 50%;
    font-size: 2rem;
    color: #1d71b9;
    box-shadow: 0 1px 4px rgba(29, 113, 185, 0.12);
}

.news-article-feedback .news-sidebar-cta__copy {
    flex: 1 1 24rem;
    min-width: 0;
}

.news-article-feedback .news-sidebar-cta__title {
    margin: 0 0 0.4rem;
    color: #333;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-transform: uppercase;
}

.news-article-feedback .news-sidebar-cta__text {
    margin: 0;
    color: #333;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.45;
}

.news-article-feedback .news-sidebar-cta__btn {
    flex-shrink: 0;
    min-width: 16rem;
    padding-left: 2.4rem;
    padding-right: 2.4rem;
}

@media (max-width: 767px) {
    .news-article-feedback .news-sidebar-cta {
        flex-direction: column;
        gap: 1.6rem;
        padding: 2.4rem 0;
        text-align: center;
    }

    .news-article-feedback .news-sidebar-cta__btn {
        width: 100%;
        min-width: 0;
    }
}

