/**
 * Blog Addon Styles - VietVibe
 * Стили для системы блога
 */

.logged-in-as { display: none !important; }
#respond .comment-notes { display: none !important; }

/* ====================================
   ОБЩИЕ СТИЛИ КОНТЕЙНЕРА
   ==================================== */

.nhatrang-blog-body {
    font-family: 'NhatrangGilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #2c3e50;
    line-height: 1.6;
    background: #eceff5;
}

.nhatrang-blog-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0px;
}
.nhatrang-blog-container--archive {
    max-width: 1100px !important;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* ====================================
   ОДИНОЧНАЯ СТАТЬЯ (single-blog.php)
   ==================================== */

.nhatrang-blog-article {
    background: #f7f7f7;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Breadcrumbs */
.nhatrang-blog-breadcrumbs {
    margin: 20px 0;
    font-size: 0.9em;
    color: #7f8c8d;
}

.nhatrang-breadcrumb-link {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nhatrang-breadcrumb-link:hover {
    color: #fe6b35;
    text-decoration: underline;
}

.nhatrang-breadcrumb-separator {
    margin: 0 8px;
    color: #bdc3c7;
}

.nhatrang-breadcrumb-current {
    color: #2c3e50;
    font-weight: 600;
}

/* Заголовок статьи */
.nhatrang-blog-header {
    margin-top: 0px; /* Отступ от градиента */
    margin-bottom: 30px;
}

.nhatrang-blog-title {
    font-size: 2.5em;
    font-weight: 900;
    color: #2c3e50;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

/* Подзаголовок статьи */
.nhatrang-blog-subtitle {
    font-size: 1.2em;
    font-weight: 500;
    color: #7f8c8d;
    margin: 10px 0 20px 0;
    line-height: 1.4;
}

/* Мета-информация */
.nhatrang-blog-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.85em;
    color: #7f8c8d;
}

.nhatrang-blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nhatrang-blog-meta svg {
    opacity: 0.7;
    display: block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.nhatrang-blog-categories a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nhatrang-blog-categories a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Главное изображение */
.nhatrang-blog-featured-image {
    position: relative;
    margin: -40px -40px 0 -40px; /* Вытягиваем на всю ширину контейнера, убираем нижний отступ */
    border-radius: 20px 20px 0 0;
    overflow: visible; /* Меняем на visible для отображения градиента */
}

.nhatrang-blog-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 450px; /* Ограничение по высоте для очень больших изображений */
    border-radius: 20px 20px 0 0;
}

/* ── Обложка статьи (тег → цвет) ── */
.vv-single-cover {
    position: relative;
    margin: -40px -40px 0 -40px;
    height: 340px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: flex-end;
    padding: 28px;
}

.vv-cov-icon--lg {
    width: 72px !important;
    height: 72px !important;
    border-radius: 20px !important;
}

.vv-single-cover--photo {
    padding: 0;
}
.vv-single-cover--photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 768px) {
    .vv-single-cover {
        margin: -30px -10px 0 -10px;
        height: 240px;
        border-radius: 0;
        padding: 20px;
    }
    .vv-cov-icon--lg {
        width: 56px !important;
        height: 56px !important;
        border-radius: 14px !important;
    }
}

/* Градиентный переход от изображения к белому фону */
.nhatrang-blog-featured-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px; /* Высота градиента */
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 60%, #F7F7F7 100%);
    pointer-events: none; /* Не блокировать клики */
}

/* ====================================
   КОНТЕНТ СТАТЬИ — PREMIUM REDESIGN
   ==================================== */

.nhatrang-blog-content {
    font-size: 18px;
    line-height: 1.75;
    color: #1c1c1e;
    margin: 40px 0;
}

/* Заголовки H2 */
.nhatrang-blog-content h2 {
    font-size: 1.75em;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.25;
    color: #111827;
    margin: 3.5rem 0 1.1rem;
    padding-top: 3rem;
    border-top: 1px solid #e5e7eb;
}

/* Первый H2 после вступления — без черты сверху */
.nhatrang-blog-content h2.first-h2,
.nhatrang-blog-content .first-h2 {
    border-top: none;
    padding-top: 0;
    margin-top: 1.5rem;
}

/* Заголовки H3 */
.nhatrang-blog-content h3 {
    font-size: 1.2em;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: #374151;
    margin: 2rem 0 0.7rem;
}

.nhatrang-blog-content p {
    margin: 0 0 1.4rem;
}

/* Лид-абзац */
.nhatrang-blog-content .lead {
    font-size: 1.1em;
    color: #3a3a3c;
    line-height: 1.7;
}

/* Списки */
.nhatrang-blog-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.nhatrang-blog-content ol {
    padding-left: 24px;
    margin: 0 0 1.4rem;
}
.nhatrang-blog-content ul li {
    padding-left: 22px;
    position: relative;
    line-height: 1.65;
    color: #374151;
    margin-bottom: 0;
}
.nhatrang-blog-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2563eb;
    opacity: 0.55;
}
.nhatrang-blog-content ol li {
    margin-bottom: 10px;
    line-height: 1.65;
    color: #374151;
}

.nhatrang-blog-content a {
    color: #2563eb;
    text-decoration: none;
    transition: opacity 0.15s;
}
.nhatrang-blog-content a:hover {
    opacity: 0.75;
}

.nhatrang-blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 8px 0;
}

/* ── Таблицы ── */
.nhatrang-blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0 2rem;
    font-size: 0.95em;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}
.nhatrang-blog-content thead tr {
    background: #111827;
    color: #ffffff;
}
.nhatrang-blog-content th {
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.78em;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}
.nhatrang-blog-content td {
    padding: 13px 20px;
    border-bottom: 1px solid #f0f0f5;
    color: #111827;
    font-weight: 500;
}
.nhatrang-blog-content td:last-child {
    font-weight: 700;
    color: #2563eb;
}
.nhatrang-blog-content tbody tr:last-child td {
    border-bottom: none;
}
.nhatrang-blog-content tbody tr:nth-child(even) {
    background: #f9fafb;
}

.nhatrang-blog-content blockquote {
    border-left: 3px solid #2563eb;
    padding: 15px 20px;
    margin: 30px 0;
    background: #eff6ff;
    font-style: italic;
    color: #555;
}

/* Кнопки "Поделиться" */
.nhatrang-blog-share {
    margin: 40px 0 30px;
    padding: 22px 24px;
    background: #f9fafb;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
}

.nhatrang-blog-share-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 14px;
}

.nhatrang-blog-share-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nhatrang-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.15s;
    color: #fff;
    line-height: 1;
}
.nhatrang-share-btn svg {
    display: block;
    flex-shrink: 0;
    margin-bottom: 1px;
}
.nhatrang-share-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}
.nhatrang-share-btn:active { transform: translateY(0); }
.nhatrang-share-vk       { background: #0077FF; }
.nhatrang-share-telegram  { background: #229ED9; }
.nhatrang-share-whatsapp  { background: #25D366; }
.nhatrang-share-copy      { background: #374151; }

/* Теги */
.nhatrang-blog-tags {
    margin: 20px 0 40px 0;
    font-size: 0.95em;
}

.nhatrang-blog-tags-label {
    font-weight: 600;
    color: #7f8c8d;
    margin-right: 10px;
}

.nhatrang-blog-tags a {
    display: inline-block;
    padding: 6px 14px;
    margin: 4px;
    background: #ecf0f1;
    color: #555;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9em;
}

.nhatrang-blog-tags a:hover {
    background: #3498db;
    color: white;
}

/* Комментарии */
.nhatrang-blog-article #comments {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #ecf0f1;
}

.nhatrang-blog-article .comments-title {
    font-size: 1.8em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
}

.nhatrang-blog-article .comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.nhatrang-blog-article .comment {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.nhatrang-blog-article .comment-author {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1.45em;
}

.nhatrang-blog-article .comment-meta {
    font-size: 0.75em;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.nhatrang-blog-article .comment-content p {
    margin: 0;
    line-height: 1.6;
}

.nhatrang-blog-article .comment-reply-link {
    font-size: 0.85em;
}

.nhatrang-blog-article .comment-reply-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.nhatrang-blog-article .comment-form {
    margin-top: 40px;
}

.nhatrang-blog-article .comment-form p {
    margin-bottom: 15px;
}

.nhatrang-blog-article .comment-form input[type="text"],
.nhatrang-blog-article .comment-form input[type="email"],
.nhatrang-blog-article .comment-form input[type="url"],
.nhatrang-blog-article .comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1em;
    transition: border-color 0.2s ease;
}

.nhatrang-blog-article .comment-form input::placeholder,
.nhatrang-blog-article .comment-form textarea::placeholder {
    color: #95a5a6;
}

.nhatrang-blog-article .comment-form input:focus,
.nhatrang-blog-article .comment-form textarea:focus {
    outline: none;
    border-color: #3498db;
}

.nhatrang-blog-article .comment-form .submit {
    background: #1456f0;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.nhatrang-blog-article .comment-form .submit:hover {
    background: #0d45d4;
}

.nhatrang-blog-article .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nhatrang-blog-article .comment-form-cookies-consent input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.nhatrang-blog-article .comment-form-cookies-consent label {
    margin: 0;
    font-weight: 400;
    color: #7f8c8d;
    font-size: 0.9em;
}

/* Скрываем label для textarea комментария */
.nhatrang-blog-article .comment-form-comment label {
    display: none;
}

/* Скрываем аватары в комментариях */
.nhatrang-blog-article .comment-author img,
.nhatrang-blog-article .comment-author .avatar {
    display: none;
}

/* Убираем слово "says:" если оно осталось */
.nhatrang-blog-article .comment-author .says {
    display: none;
}

/* ====================================
   АРХИВ БЛОГА — PREMIUM REDESIGN
   ==================================== */

/* Шапка архива */
.nhatrang-blog-archive-header {
    margin-bottom: 36px;
}

.nhatrang-blog-archive-title {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #111827;
    margin: 0 0 6px;
}

.nhatrang-blog-archive-description {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* ── Поиск по блогу ── */
.vv-blog-search {
    margin-bottom: 28px;
}
.vv-blog-search-form {
    display: flex;
    align-items: center;
    gap: 0;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 999px;
    padding: 6px 6px 6px 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: border-color .15s, box-shadow .15s;
}
.vv-blog-search-form:focus-within {
    border-color: #1456f0;
    box-shadow: 0 2px 12px rgba(20,86,240,.12);
}
.vv-blog-search-icon {
    color: #9ca3af;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.vv-blog-search-input {
    flex: 1;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    font-family: 'NhatrangGilroy', -apple-system, sans-serif !important;
    font-size: 15px !important;
    color: #111827 !important;
    padding: 8px 12px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    width: auto !important;
    min-width: 0;
}
.vv-blog-search-input::-webkit-search-decoration,
.vv-blog-search-input::-webkit-search-cancel-button,
.vv-blog-search-input::-webkit-search-results-button,
.vv-blog-search-input::-webkit-search-results-decoration { display: none !important; }
.vv-blog-search-input::placeholder { color: #9ca3af !important; }
.vv-blog-search-btn {
    flex-shrink: 0;
    background: #1456f0;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 9px 20px;
    font-family: 'NhatrangGilroy', -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .15s;
    white-space: nowrap;
}
.vv-blog-search-btn:hover { opacity: .88; }
.vv-blog-search-result {
    font-size: 14px;
    color: #6b7280;
    margin-top: 10px;
    padding-left: 4px;
}
.vv-blog-search-result strong { color: #111827; }
.vv-blog-search-clear {
    color: #1456f0;
    text-decoration: none;
    margin-left: 8px;
    font-size: 13px;
}
.vv-blog-search-clear:hover { text-decoration: underline; }

/* ── Дропдаун подсказок ── */
.vv-blog-search-wrap {
    position: relative;
}
.vv-blog-search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
    z-index: 100;
    overflow: hidden;
    display: none;
}
.vv-blog-search-dropdown.open { display: block; }
.vv-blog-suggest-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    text-decoration: none;
    color: #111827;
    transition: background .12s;
    border-bottom: 1px solid #f3f4f6;
}
.vv-blog-suggest-item:last-child { border-bottom: none; }
.vv-blog-suggest-item:hover { background: #f7f8fa; }
.vv-blog-suggest-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: #eff2ff;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: #1456f0;
}
.vv-blog-suggest-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    flex: 1;
}
.vv-blog-suggest-cat {
    font-size: 11px;
    color: #9ca3af;
    white-space: nowrap;
}

.vv-blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    margin-top: 4px;
    transition: color 0.15s;
}
.vv-blog-back-link:hover { color: #2563eb; }

.vv-blog-back-link--top {
    margin-bottom: 16px;
}
@media (max-width: 768px) {
    .vv-blog-back-link--top { display: none; }
}

/* ── Layout: sidebar + main ── */
.vv-blog-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    align-items: start;
}

/* ── Sidebar ── */
.vv-blog-sidebar {
    position: sticky;
    top: 20px;
}

.vv-blog-sidebar-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 8px;
    overflow: hidden;
}

.vv-blog-sidebar-section + .vv-blog-sidebar-section {
    margin-top: 10px;
}

/* Промо-плашка "Аптечка Нячанга" в сайдбаре */
.vv-aptechka-tile {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: linear-gradient(135deg,#12b76a,#0ea5a0);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 10px;
    text-decoration: none !important;
    transition: transform 0.15s, box-shadow 0.15s;
}
.vv-aptechka-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(18,183,106,0.28);
}
.vv-aptechka-tile-ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.22);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vv-aptechka-tile-ico svg { width: 19px; height: 19px; }
.vv-aptechka-tile-title { font-size: 14px; font-weight: 800; color: #fff; letter-spacing: -0.1px; }
.vv-aptechka-tile-text { font-size: 12px; color: rgba(255,255,255,0.85); line-height: 1.4; }

/* Промо-карточка "Аптечка Нячанга" в сетке статей — только на мобильных, первой */
.vv-blog-card.vv-aptechka-card { display: none; text-decoration: none; color: inherit; }

/* CTA блок в статье */
.vv-blog-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #111827;
    border-radius: 20px;
    padding: 24px 28px;
    margin: 40px 0 32px;
}

.vv-blog-cta-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}

.vv-blog-cta-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 35% 45%;
}

.vv-blog-cta-body {
    flex: 1;
    min-width: 0;
}

.vv-blog-cta-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.vv-blog-cta-text {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}

.vv-blog-cta-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 12px 22px;
    background: #dd9422;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: opacity 0.15s;
}

.vv-blog-cta-btn:hover {
    opacity: 0.85;
}

@media (max-width: 640px) {
    .vv-blog-cta {
        flex-wrap: wrap;
        gap: 14px;
        padding: 20px;
    }

    .vv-blog-cta-btn {
        flex-basis: 100%;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 860px) {
    .vv-blog-sidebar-section + .vv-blog-sidebar-section {
        margin-top: 10px;
    }
}

.vv-blog-sidebar-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #9ca3af;
    padding: 6px 12px 10px;
}

.vv-blog-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vv-blog-cat-item { margin: 2px 0; }

.vv-blog-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}
.vv-blog-cat-link:hover {
    background: #f3f4f6;
    color: #111827;
}
.vv-blog-cat-link.active {
    background: #eff6ff;
    color: #2563eb;
    font-weight: 700;
}

/* Цветная точка перед категорией */
.vv-cat-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 8px;
}

.vv-blog-cat-name {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
}

.vv-blog-cat-count {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 2px 7px;
    border-radius: 20px;
    min-width: 22px;
    text-align: center;
}
.vv-blog-cat-link.active .vv-blog-cat-count {
    background: #dbeafe;
    color: #2563eb;
}

.vv-blog-cat-children {
    list-style: none;
    padding: 0;
    margin: 2px 0 2px 16px;
    border-left: 2px solid #e5e7eb;
    padding-left: 8px;
}
.vv-blog-cat-children li::marker {
    display: none;
    content: '';
}
.vv-blog-cat-item--child .vv-blog-cat-link {
    font-size: 13px;
    padding: 7px 10px;
    color: #6b7280;
}
.vv-blog-cat-item--child .vv-blog-cat-link:hover {
    color: #111827;
}
.vv-blog-cat-item--child .vv-blog-cat-link.active {
    color: #2563eb;
}

.vv-blog-cat-empty {
    font-size: 13px;
    color: #9ca3af;
    padding: 10px 12px;
}

/* ── Main area ── */
.vv-blog-main {}

/* Карточки — 2 колонки */
.vv-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

/* ── Карточка статьи ── */
.vv-blog-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.16s ease, transform 0.16s ease;
    display: flex;
    flex-direction: column;
}
.vv-blog-card:hover {
    box-shadow: 0 4px 6px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.vv-blog-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Обложка */
.vv-blog-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f3f4f6;
}
.vv-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.vv-blog-card:hover .vv-blog-card-image img {
    transform: scale(1.05);
}

/* Заглушка */
.vv-blog-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
}

/* ── Тегированная обложка ── */
.vv-blog-card-cover {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    flex-shrink: 0;
}

.vv-blog-card-cover--photo {
    padding: 0;
}
.vv-blog-card-cover--photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.vv-cov-pat {
    position: absolute;
    pointer-events: none;
    flex-shrink: 0;
}

.vv-cov-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.28) 100%);
    pointer-events: none;
}

.vv-cov-icon {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Бейдж категории */
.vv-blog-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #2563eb;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.6);
}

/* Тело карточки */
.vv-blog-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.vv-blog-card-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.2px;
    color: #111827;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vv-blog-card-excerpt {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vv-blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
}

.vv-blog-card-footer-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

/* Бейдж категории (зелёная таблетка) */
.vv-cat-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #15803d;
    background: #f0fdf4;
    border-radius: 9999px;
    padding: 4px 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

.vv-blog-card-date {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #9ca3af;
    white-space: nowrap;
}
.vv-blog-card-date svg {
    display: block;
    flex-shrink: 0;
}
.vv-blog-card-date span {
    position: relative;
    top: 2px;
}
.vv-blog-card-date--comments span {
    top: 1px;
}

.vv-blog-card-read {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #1d4ed8;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Старые классы — оставляем для обратной совместимости */
.nhatrang-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}
.nhatrang-blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.2s, transform 0.2s;
}
.nhatrang-blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.09);
}
.nhatrang-blog-card-link { text-decoration: none; color: inherit; display: block; }
.nhatrang-blog-card-image { position: relative; width: 100%; height: 200px; overflow: hidden; background: #f3f4f6; }
.nhatrang-blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.nhatrang-blog-card:hover .nhatrang-blog-card-image img { transform: scale(1.05); }
.nhatrang-blog-card-image-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #f9fafb; }
.nhatrang-blog-card-category { position: absolute; top: 12px; right: 12px; background: rgba(37,99,235,0.9); color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.nhatrang-blog-card-content { padding: 18px; }
.nhatrang-blog-card-title { font-size: 1rem; font-weight: 700; color: #111827; margin: 0 0 10px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nhatrang-blog-card-meta { font-size: 13px; color: #9ca3af; }
.nhatrang-blog-card-date { display: flex; align-items: center; gap: 5px; }

/* Пагинация */
.nhatrang-blog-pagination {
    display: flex;
    justify-content: center;
    margin: 50px 0;
}

.nhatrang-blog-pagination .page-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nhatrang-blog-pagination .page-numbers li {
    list-style: none;
}

.nhatrang-blog-pagination .page-numbers a,
.nhatrang-blog-pagination .page-numbers span {
    display: inline-block;
    padding: 10px 16px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nhatrang-blog-pagination .page-numbers a:hover {
    background: #1d2327;
    color: white;
    border-color: #1d2327;
}

.nhatrang-blog-pagination .page-numbers .current {
    background: #1d2327;
    color: white;
    border-color: #1d2327;
}

.nhatrang-blog-pagination .page-numbers .dots {
    border: none;
    background: transparent;
    padding: 10px 8px;
}

/* Нет статей */
.nhatrang-blog-no-posts {
    text-align: center;
    padding: 80px 20px;
    color: #7f8c8d;
}

.nhatrang-blog-no-posts svg {
    margin-bottom: 20px;
    opacity: 0.5;
}

.nhatrang-blog-no-posts h2 {
    font-size: 2em;
    font-weight: 700;
    color: #95a5a6;
    margin: 0 0 10px 0;
}

.nhatrang-blog-no-posts p {
    font-size: 1.1em;
    color: #bdc3c7;
}

/* ====================================
   АДАПТИВНОСТЬ
   ==================================== */

/* ── Адаптивность архива ── */

/* Планшет широкий */
@media (max-width: 1024px) {
    .vv-blog-layout {
        grid-template-columns: 200px 1fr;
        gap: 32px;
    }
    .nhatrang-blog-grid { gap: 20px; }
}

/* Планшет / мобиль — сайдбар → горизонтальные табы */
@media (max-width: 860px) {
    .nhatrang-blog-archive .nhatrang-blog-container { padding: 20px 16px; }
    .vv-blog-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .vv-blog-sidebar { position: static; min-width: 0; }
    .vv-blog-main { min-width: 0; }
    .vv-blog-sidebar-section {
        border-radius: 12px;
        padding: 6px;
    }
    .vv-blog-sidebar-label { display: none; }
    .vv-blog-cat-list {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .vv-blog-cat-list::-webkit-scrollbar { display: none; }
    .vv-blog-cat-item { flex-shrink: 0; margin: 0; }
    .vv-blog-cat-link {
        white-space: nowrap;
        padding: 7px 13px;
        border: 1px solid #e5e7eb;
        background: #fff;
    }
    .vv-blog-cat-link.active { border-color: #2563eb; }
    .vv-blog-cat-count { display: none; }
}

/* Мобиль — карточки в 1 колонку */
@media (max-width: 580px) {
    .vv-blog-grid { grid-template-columns: 1fr; gap: 14px; }
    .nhatrang-blog-grid { grid-template-columns: 1fr; gap: 14px; }
    .nhatrang-blog-archive-title { font-size: 1.6rem; }
}

/* ── Адаптивность одиночной статьи ── */
@media (max-width: 768px) {
    .nhatrang-blog-body { background: white; }
    .single .nhatrang-blog-container { padding: 0; }
    .nhatrang-blog-article { padding: 30px 10px; }
    .nhatrang-blog-featured-image { margin: -30px -10px 0 -10px; border-radius: 0; }
    .nhatrang-blog-featured-image img { max-height: 400px; border-radius: 0 !important; }
    .nhatrang-blog-featured-image::after { height: 100px; }
    .nhatrang-blog-title { font-size: 2em; }
    .nhatrang-blog-subtitle { font-size: 1em; }
    .nhatrang-blog-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .nhatrang-blog-card-content { padding: 12px; }
    .nhatrang-blog-card-title { font-size: 1em; margin: 0 0 8px; }
    .nhatrang-blog-share {
        padding: 20px;
    }

    .nhatrang-blog-breadcrumbs {
        font-size: 0.85em;
    }
}

/* Мобильные устройства */
@media (max-width: 480px) {
    .nhatrang-blog-content {
        font-size: .9em;
    }

    .nhatrang-blog-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .nhatrang-blog-article .vv-blog-card-date span {
        position: relative;
        top: 2px;
    }

    .vv-related-card-cat span {
        position: relative;
        top: 0px !important;
    }

    .nhatrang-blog-breadcrumbs {
        font-size: 0.8em;
    }

    .nhatrang-blog-title {
        font-size: 1.7em;
        line-height: 1.1em;
    }

    .nhatrang-blog-content h2 {
        font-size: 1.5em;
        margin-left: 5px !important;
        line-height: 1.2 !important;
        font-weight: 900;
    }

    .nhatrang-blog-content h3 {
        font-size: 1.5em;
        font-weight: 900;
        line-height: 1.2;
    }

    .nhatrang-blog-archive-title {
        font-size: 1.7em;
        margin-bottom: 0px !important;
        margin-top: 10px;
    }

    .nhatrang-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .nhatrang-blog-card-image {
        height: 140px;
    }

    .nhatrang-blog-content {
        font-size: 1em;
    }

    .nhatrang-blog-pagination .page-numbers a,
    .nhatrang-blog-pagination .page-numbers span {
        padding: 8px 12px;
        font-size: 0.9em;
    }
}

/* ====================================
   ОГЛАВЛЕНИЕ СТАТЬИ (TOC) — PREMIUM
   ==================================== */

.nhatrang-blog-toc {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 22px 26px;
    margin: 0 0 44px;
}

.nhatrang-blog-toc-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
    margin-bottom: 14px;
}

.nhatrang-blog-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nhatrang-blog-toc-item {
    margin-bottom: 0;
}

.nhatrang-blog-toc-level-2 {
    padding-left: 0;
}

.nhatrang-blog-toc-level-3 {
    padding-left: 18px;
    font-size: 0.85em;
}

.nhatrang-blog-toc-link {
    color: #111827;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
    transition: color 0.15s;
    display: inline-block;
}

.nhatrang-blog-toc-link:hover {
    color: #2563eb;
    text-decoration: none;
}

.nhatrang-blog-toc-level-3 .nhatrang-blog-toc-link {
    font-weight: 400;
    color: #6b7280;
}

.nhatrang-blog-toc-level-3 .nhatrang-blog-toc-link:hover {
    color: #2563eb;
}

/* Убираем стрелку из старых стилей */
.nhatrang-blog-toc-link:before {
    content: none;
}

/* Мобильные стили для оглавления */
@media (max-width: 768px) {
    .nhatrang-blog-toc {
        padding: 16px 18px;
        margin: 0 0 28px;
    }
    .nhatrang-blog-toc-level-3 {
        padding-left: 14px;
    }
}

/* ====================================
   ПОХОЖИЕ СТАТЬИ
   ==================================== */

.vv-related {
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 16px 64px;
}

/* Внутри статьи (до «Поделиться») */
.vv-related.vv-related-inline {
    padding: 0;
    margin: 40px 0;
}

.vv-related-title {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111827;
    margin: 0 0 24px;
}

.vv-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.vv-related-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}
.vv-related-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.09);
    transform: translateY(-2px);
}

.vv-related-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
}
.vv-related-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s;
}
.vv-related-card:hover .vv-related-card-img img {
    transform: scale(1.05);
}
.vv-related-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
}

.vv-related-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.vv-related-card-title {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    color: #111827;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vv-related-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    flex-wrap: wrap;
}

a.vv-related-card-cat,
a.vv-related-card-cat:hover {
    text-decoration: none;
    color: #166534;
}
.vv-related-card-cat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #166534;
    background: #dcfce7;
    padding: 3px 9px;
    border-radius: 20px;
    white-space: nowrap;
}
.vv-related-card-cat svg {
    display: block;
    flex-shrink: 0;
    width: 11px;
    height: 11px;
}
.vv-related-card-cat span {
    position: relative;
    top: 1px;
}

.vv-related-card-date {
    font-size: 12px;
    color: #9ca3af;
    position: relative;
    top: 2px;
}

/* Категория-лейбл в шапке статьи */
.nhatrang-blog-cat-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #166534;
    background: #dcfce7;
    padding: 3px 10px;
    border-radius: 20px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s;
}
.nhatrang-blog-cat-label:hover {
    background: #bbf7d0;
}

@media (max-width: 768px) {
    .vv-related { padding: 36px 16px 48px; }
    .vv-related-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 480px) {
    .vv-related-grid { grid-template-columns: 1fr; }
}

/* ====================================
   PREMIUM КОМПОНЕНТЫ
   ==================================== */

/* Большой редакторский ответ ("Да.") */
.blog-answer {
    font-size: 3.5rem;
    font-weight: 900;
    color: #16a34a;
    letter-spacing: -0.04em;
    line-height: 1;
    margin: -4px 0 24px;
}

/* ── Callout-блоки ── */
.blog-tip,
.blog-note,
.blog-warn {
    padding: 16px 20px;
    border-radius: 10px;
    margin: 24px 0;
    font-size: 15px;
    line-height: 1.65;
    border-left: 3px solid transparent;
}
.blog-tip {
    background: #f0fdf4;
    border-left-color: #16a34a;
    color: #166534;
}
.blog-tip strong { color: #15803d; font-weight: 700; }
.blog-note {
    background: #eff6ff;
    border-left-color: #2563eb;
    color: #1e40af;
}
.blog-note strong { color: #1d4ed8; font-weight: 700; }
.blog-warn {
    background: #fffbeb;
    border-left-color: #d97706;
    color: #92400e;
}
.blog-warn strong { color: #b45309; font-weight: 700; }

/* ── Карточки-инфо (3 колонки) ── */
.blog-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 4px 0 28px;
}
.blog-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 22px 18px;
}
.blog-card-emoji {
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: block;
    line-height: 1;
}
.blog-card-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #9ca3af;
    margin-bottom: 7px;
}
.blog-card-text {
    font-size: 14px;
    color: #374151;
    line-height: 1.55;
    margin: 0;
}

/* ── Плитки цен ── */
.blog-price-box {
    display: flex;
    gap: 1px;
    margin: 16px 0 28px;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background: #e5e7eb;
}
.blog-price-tile {
    flex: 1;
    padding: 18px 14px;
    background: #f9fafb;
    text-align: center;
    min-width: 0;
}
.blog-price-tile-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
    margin-bottom: 6px;
}
.blog-price-tile-value {
    font-size: 1.2rem;
    font-weight: 900;
    color: #111827;
    letter-spacing: -0.02em;
}
.blog-price-tile-value.free {
    color: #16a34a;
}

/* ── Варианты транспорта ── */
.blog-transport {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 4px 0 28px;
}
.blog-transport-item {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.blog-transport-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.blog-transport-emoji {
    font-size: 1.7rem;
    text-align: center;
    line-height: 1;
}
.blog-transport-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #111827;
    margin-bottom: 3px;
}
.blog-transport-detail {
    font-size: 0.82rem;
    color: #6b7280;
}
.blog-transport-right {
    text-align: right;
    flex-shrink: 0;
}
.blog-transport-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: #2563eb;
    white-space: nowrap;
}
.blog-transport-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 3px 9px;
    border-radius: 20px;
    margin-top: 5px;
    display: inline-block;
}
.blog-transport-badge.best  { background: #dcfce7; color: #166534; }
.blog-transport-badge.budget { background: #fef9c3; color: #854d0e; }

/* ── Адаптивность новых компонентов ── */
@media (max-width: 768px) {
    .blog-cards {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .blog-transport-item {
        grid-template-columns: 44px 1fr;
    }
    .blog-transport-right { display: none; }
    .blog-price-box { flex-wrap: wrap; }
    .blog-price-tile { min-width: calc(50% - 1px); }
}
@media (max-width: 480px) {
    .blog-answer { font-size: 2.8rem; }
    .nhatrang-blog-content h2 {
        font-size: 1.4em;
        margin-top: 2.5rem;
        padding-top: 2rem;
    }
    .nhatrang-blog-content h3 { font-size: 1.1em; }
    .blog-price-tile { min-width: 100%; }
    .blog-price-tile + .blog-price-tile {
        border-top: 1px solid #e5e7eb;
    }
}

/* ── Collection shortcode (blog) ── */
.vv-blog-collection { margin: 24px 0 36px; }
.vv-blog-collection-header { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.vv-blog-collection-icon { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.vv-blog-collection-title { font-size: 1.1rem; font-weight: 700; color: #111827; margin: 0; }
.vv-blog-collection-desc { font-size: 14px; color: #6b7280; margin-bottom: 16px; }

.vv-blog-places-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.vv-blog-place-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow .15s, transform .15s;
}
.vv-blog-place-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,.09);
    transform: translateY(-2px);
}

.vv-blog-place-img { aspect-ratio: 4 / 3; overflow: hidden; background: #f3f4f6; }
.vv-blog-place-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.vv-blog-place-body { padding: 14px 16px 16px; }
.vv-blog-place-name { font-size: 15px; font-weight: 700; color: #111827; margin-bottom: 7px; line-height: 1.3; }

.vv-blog-place-rating {
    display: flex; align-items: center; gap: 4px;
    font-size: 13px; color: #374151; margin-bottom: 5px;
}
.vv-blog-place-rating svg { display: block; flex-shrink: 0; }
.vv-blog-place-rating-score { font-weight: 700; }
.vv-blog-place-rating-count { color: #9ca3af; }

.vv-blog-place-price {
    font-size: 13px; font-weight: 700;
    color: #2563eb; margin-bottom: 8px;
}
.vv-blog-place-price-label { font-weight: 400; color: #6b7280; margin-right: 2px; }

.vv-blog-place-review {
    font-size: 12px; color: #6b7280;
    font-style: italic; line-height: 1.5;
    border-top: 1px solid #f3f4f6;
    padding-top: 8px; margin-top: 4px;
}

@media (max-width: 768px) {
    .vv-blog-places-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
@media (max-width: 480px) {
    .vv-blog-places-grid { grid-template-columns: 1fr; }
}

/* Collection card — link state */
a.vv-blog-place-card {
    display: block;
    text-decoration: none;
    color: inherit;
}
a.vv-blog-place-card:hover { color: inherit; }

.vv-blog-place-open {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
}
.vv-blog-place-open svg { display: block; flex-shrink: 0; }

/* ====================================
   ПЛЮСЫ И МИНУСЫ ОТЕЛЯ
   ==================================== */

.vv-pros-cons { margin: 32px 0; }

.vv-pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: #f5f0e8;
    border-radius: 12px;
    padding: 24px 28px;
}

.vv-pros, .vv-cons { display: flex; flex-direction: column; gap: 14px; }
.vv-pros { padding-right: 20px; }
.vv-cons { padding-left: 20px; border-left: 1px solid #e5ddd0; }

.vv-pro, .vv-con {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.45;
    color: #2c3e50;
}

.vv-pro-icon, .vv-con-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    margin-top: 1px;
}

.vv-pro-icon { background: #22a45d; color: #fff; }
.vv-con-icon { background: #4b5563; color: #fff; }

@media (max-width: 600px) {
    .vv-pros-cons-grid { grid-template-columns: 1fr; }
    .vv-cons { padding-left: 0; border-left: none; padding-top: 16px; border-top: 1px solid #e5ddd0; }
    .vv-pros { padding-right: 0; }
}

/* ====================================
   РЕЙТИНГ ОТЕЛЯ (score bars)
   ==================================== */

.vv-rating-block {
    background: #f5f0e8;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 8px 0 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.vv-rating-row {
    display: grid;
    grid-template-columns: 200px 1fr 40px;
    align-items: center;
    gap: 14px;
}

.vv-rating-name {
    font-size: 14px;
    color: #374151;
    line-height: 1.35;
}

.vv-rating-bar-wrap {
    background: #e5e0d8;
    border-radius: 4px;
    height: 10px;
    overflow: hidden;
}

.vv-rating-bar {
    height: 100%;
    background: #22a45d;
    border-radius: 4px;
}

.vv-rating-score {
    font-size: 15px;
    font-weight: 700;
    color: #22a45d;
    text-align: right;
}

.vv-rating-summary {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-top: 12px;
    border-top: 1px solid #e5ddd0;
    margin-top: 4px;
}

.vv-rating-summary-label {
    font-size: 14px;
    font-weight: 700;
    color: #2c3e50;
    min-width: 50px;
    padding-top: 6px;
}

.vv-rating-avg {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #22a45d;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vv-rating-summary-right {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
}

.vv-rating-summary-text {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .vv-rating-row {
        grid-template-columns: 1fr 40px;
        grid-template-rows: auto auto;
    }
    .vv-rating-name { grid-column: 1 / -1; }
    .vv-rating-bar-wrap { align-self: center; }
}

/* ====================================
   МОБИЛЬНАЯ НАВИГАЦИЯ КАТЕГОРИЙ
   ==================================== */

.vv-blog-mobile-nav {
    display: none;
    position: relative;
    margin-bottom: 20px;
}

.vv-mob-cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #1d2327;
    border: 1.5px solid #1d2327;
    border-radius: 10px;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s, border-color .15s;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}
.vv-mob-cat-btn:hover { background: #2c3338; border-color: #2c3338; }
.vv-mob-cat-btn[aria-expanded="true"] { background: #2c3338; border-color: #2c3338; }
.vv-mob-cat-btn .vv-mob-cat-btn-arrow { color: #9ca3af; }
.vv-mob-cat-btn .vv-mob-cat-btn-count { background: rgba(255,255,255,.15); color: #fff; }

.vv-mob-cat-btn-count {
    background: #f3f4f6;
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 6px;
}

.vv-mob-cat-btn-arrow {
    margin-left: 2px;
    transition: transform .2s;
    flex-shrink: 0;
    color: #9ca3af;
}
.vv-mob-cat-btn[aria-expanded="true"] .vv-mob-cat-btn-arrow {
    transform: rotate(180deg);
}

.vv-mob-faq-btn {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    padding: 9px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #1d2327;
    text-decoration: none;
    margin-left: 8px;
    transition: border-color .15s;
}
.vv-mob-faq-btn:hover { border-color: #9ca3af; color: #1d2327; }

/* Dropdown */
.vv-mob-cat-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    z-index: 200;
    min-width: 240px;
    overflow: hidden;
    padding: 6px 0;
}

.vv-mob-cat-option {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    font-size: 14px;
    color: #374151;
    text-decoration: none;
    transition: background .12s;
}
.vv-mob-cat-option:hover { background: #f9fafb; }
.vv-mob-cat-option.active {
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 600;
}
.vv-mob-cat-option--child {
    padding-left: 36px;
    font-size: 13px;
    color: #6b7280;
}
.vv-mob-cat-option-count {
    margin-left: auto;
    font-size: 11px;
    color: #9ca3af;
    font-weight: 600;
}

@media (max-width: 768px) {
    .vv-blog-mobile-nav { display: flex; align-items: center; flex-wrap: wrap; }
    .vv-blog-sidebar { display: none; }
    .vv-blog-card.vv-aptechka-card { display: flex; order: -1; }
}

/* ── Кнопка "Посмотреть на карте" в статьях отелей ── */
.nhatrang-blog-content p:has(.vv-hotel-map-btn) { text-align: center; }
.vv-hotel-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1456f0;
    color: #fff !important;
    text-decoration: none !important;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: background .15s;
}
.vv-hotel-map-btn:hover { background: #0d45d4; opacity: 1 !important; }
.vv-hotel-map-btn svg { flex-shrink: 0; }

/* ── Содержание статьи (TOC) ── */
.vv-toc {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px 24px;
    margin: 0 0 32px;
}
.vv-toc-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 12px;
}
.vv-toc-list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    list-style: none;
}
.vv-toc-list li {
    color: #374151;
    font-size: 15px;
    line-height: 1.4;
    padding-left: 14px !important;
    position: relative;
}
.vv-toc-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #1456f0;
}
.vv-toc-list a {
    color: #1456f0;
    text-decoration: none;
    font-weight: 500;
}
.vv-toc-list a:hover { text-decoration: underline; opacity: 1; }

/* ── Встроенный TOC (nhatrang-blog-toc) — стиль как vv-toc ── */
.nhatrang-blog-content .nhatrang-blog-toc {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px 24px;
    margin: 0 0 32px;
}
.nhatrang-blog-content .nhatrang-blog-toc-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 12px;
}
.nhatrang-blog-content .nhatrang-blog-toc-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.nhatrang-blog-content .nhatrang-blog-toc-list li {
    padding-left: 14px !important;
    color: #374151;
    font-size: 15px;
    line-height: 1.4;
    position: relative;
}
.nhatrang-blog-content .nhatrang-blog-toc-list li::before {
    content: '•' !important;
    position: absolute;
    left: 0;
    top: auto !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    background: none !important;
    color: #1456f0;
    opacity: 1 !important;
}
.nhatrang-blog-content .nhatrang-blog-toc-link {
    color: #1456f0 !important;
    text-decoration: none !important;
    font-weight: 500;
    opacity: 1 !important;
}
.nhatrang-blog-content .nhatrang-blog-toc-link:hover {
    text-decoration: underline !important;
    opacity: 1 !important;
}

/* ── Подборки отелей [vv_picks] ── */
.vv-picks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 24px;
}
.vv-pick-card {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 16px;
    text-decoration: none !important;
    transition: border-color .15s, background .15s;
    min-width: 160px;
}
.vv-pick-card:hover {
    border-color: #1456f0;
    background: #f0f5ff;
    opacity: 1 !important;
}
.vv-pick-name {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
}
.vv-pick-stars {
    font-size: 11px;
    color: #f59e0b;
    letter-spacing: 1px;
}

/* ── Закреплённая статья ── */
.vv-blog-card-cover { position: relative; }
.vv-pin-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #fff;
    color: #1456f0;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
    z-index: 2;
}

/* ── Блок мест в статье ── */
.blog-places {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0 28px;
}
.blog-place-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 12px 16px 12px 12px;
    transition: box-shadow .15s, border-color .15s;
}
.blog-place-card:hover {
    border-color: #ffbdb5;
    box-shadow: 0 2px 12px rgba(232,99,74,.12);
}
.blog-place-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff0ed;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #e8634a;
}
/* wpautop оборачивает <a> в <p> — делаем его прозрачным для flex */
.blog-place-card > p {
    margin: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.blog-place-card__body {
    flex: 1;
    min-width: 0;
}
/* span вместо p — нет margin от темы WordPress */
.blog-place-card__name {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #111827 !important;
    line-height: 1.3;
    margin: 0 0 3px !important;
    padding: 0 !important;
}
.blog-place-card__type {
    display: block;
    font-size: 12px;
    color: #9ca3af !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* скрыть пустые <p> и <br> которые WordPress вставляет внутрь */
.blog-place-card p:empty,
.blog-places p:empty {
    display: none !important;
    margin: 0 !important;
}
.blog-place-card br { display: none !important; }
.blog-place-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #e8634a !important;
    text-decoration: none !important;
    background: #fff0ed;
    border-radius: 20px;
    padding: 8px 16px 6px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .15s;
}
.blog-place-card__btn:hover { background: #ffe0d9; color: #e8634a !important; }
@media (max-width: 540px) {
    .blog-place-card { flex-wrap: wrap; padding: 12px; }
    .blog-place-card__btn { width: 100%; justify-content: center; margin-top: 4px; }
}
