.post_contenta {
    line-height: 1.6;
    color: #333;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    overflow-x: auto;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

/* Размеры заголовков */
.post_contenta h1 {
    font-size: 36px;
    margin-top: 40px;
    margin-bottom: 30px;
}

.post_contenta h2 {
    font-size: 30px;
    margin-top: 35px;
    margin-bottom: 25px;
}

.post_contenta h3 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.post_contenta h4 {
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 15px;
}

/* Скрытие отсутствующих изображений */
.post_contenta img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    display: block; /* Убираем "разрывы" при отсутствии изображения */
}

.post_contenta table,
.post_contenta pre,
.post_contenta iframe,
.post_contenta video {
    max-width: 100%;
    box-sizing: border-box;
}

.post_contenta table {
    display: block;
    overflow-x: auto;
    width: 100% !important;
}

.post_contenta img[src=""], 
.post_contenta img:not([src]) {
    display: none; /* Скрываем изображения без src */
}

/* Остальные стили остаются без изменений */
.post_contenta p {
    font-size: 18px;
    margin-bottom: 20px;
}

.post_contenta a {
    font-size: 18px;
    color: #007BFF;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 2px solid transparent;
}

.post_contenta a:hover {
    color: #FF6F61;
    border-bottom: 2px solid #FF6F61;
}

.post_contenta ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.post_contenta li {
    position: relative;
    padding-left: 30px;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.post_contenta li::before {
    content: '•';
    color: #007BFF;
    font-size: 24px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.post_contenta table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.post_contenta th,
.post_contenta td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
    font-size: 16px;
}

.post_contenta th {
    background-color: #f4f4f4;
    font-weight: bold;
    font-size: 18px;
}

.post_contenta blockquote {
    font-size: 20px;
    font-style: italic;
    color: #555;
    border-left: 5px solid #ccc;
    padding-left: 20px;
    margin: 25px 0;
}

/* Перелинковка: города для статей Whrite (автор 13) */
.single-news-whrite-interlinks {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.single-news-whrite-interlinks__intro {
    margin: 0 0 1rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    font-weight: 400;
    color: #5c5c5c;
    letter-spacing: 0.01em;
}

.single-news-whrite-interlinks__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
    gap: 0.25rem 1.25rem;
    align-items: start;
}

.single-news-whrite-interlinks__item {
    margin: 0;
    padding: 0;
}

.single-news-whrite-interlinks__item::before {
    display: none;
}

.single-news-whrite-interlinks__link {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.45;
    color: #242424;
    text-decoration: none;
    padding: 0.4rem 0;
    border-radius: 4px;
    transition: color 0.15s ease, background 0.15s ease;
}

.single-news-whrite-interlinks__link:hover {
    color: #0b57d0;
    background: rgba(11, 87, 208, 0.04);
}

@media (max-width: 640px) {
    .single-news-whrite-interlinks {
        margin-top: 1.5rem;
        padding-top: 1.25rem;
    }

    .single-news-whrite-interlinks__intro {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }

    .single-news-whrite-interlinks__list {
        grid-template-columns: 1fr;
        gap: 0.1rem 0;
    }

    .single-news-whrite-interlinks__item:nth-child(n + 6) {
        display: none;
    }

    .single-news-whrite-interlinks__link {
        font-size: 0.8125rem;
        padding: 0.35rem 0;
    }
}

/* Блок товаров Whrite в теле статьи */
.iiask-whrite-goods {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 1.25rem 0;
}

.iiask-whrite-good {
    display: flex;
    gap: 10px;
    align-items: center;
    width: calc(33.333% - 8px);
    min-width: 180px;
    max-width: 280px;
    text-decoration: none;
    color: inherit;
    background: #f6f7f7;
    border: 1px solid #e2e4e7;
    border-radius: 8px;
    padding: 10px;
    box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.iiask-whrite-good:hover {
    border-color: #c3c4c7;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.iiask-whrite-good__thumb {
    display: block;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}

.iiask-whrite-good__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.iiask-whrite-good__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.iiask-whrite-good__name {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    max-height: 2.6em;
    overflow: hidden;
}

.iiask-whrite-good__price {
    font-size: 0.8125rem;
    color: #1d2327;
}

@media (max-width: 640px) {
    .iiask-whrite-good {
        width: 100%;
        max-width: none;
    }
}

.shops-offer-figure { margin:14px 0; }
.shops-offer-figure__img { width:100%; max-height:340px; object-fit:cover; border-radius:8px; }
.shops-offer-figure__caption { font-size:12px; color:#6b7280; margin-top:4px; }
.iiask-preview-logo.shops-offer-logo-legacy { display:none; } /* hide duplicate logo in old content when card shows logo */
/* Карточка уже показывает логотип сети — второй логотип из тела статьи не нужен. */
body:has(.shops-promocode .shops-offer-logo) .post_contenta .iiask-preview-logo,
body:has(.shops-promocode .shops-offer-logo) .iiask-preview-logo { display:none; }