/* ===== Карточка новости ===== */
.vk-sync-card {
    max-width: 820px;
    margin: 0 auto 40px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(22, 53, 122, 0.12);
    overflow: hidden;
    animation: vkFadeUp 0.6s ease both;
    position: relative;
}
.vk-sync-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: linear-gradient(90deg, #d4a017, #c8102e, #16357a);
}

/* ===== Шапка карточки ===== */
.vk-sync-card__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 28px 18px;
    background: linear-gradient(135deg, #16357a, #0d2254);
    color: #ffffff;
}
.vk-sync-card__date {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.9;
    padding-left: 26px;
    position: relative;
}
.vk-sync-card__date::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 18px; height: 18px;
    background: #d4a017;
    border-radius: 4px;
    box-shadow: inset 0 0 0 2px #0d2254;
}
.vk-sync-card__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.vk-sync-cat {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(212, 160, 23, 0.6);
    color: #ffd76a !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}
.vk-sync-cat:hover {
    background: #d4a017;
    color: #0d2254 !important;
    transform: translateY(-2px);
}

/* ===== Тело карточки ===== */
.vk-sync-card__body {
    padding: 30px 32px 36px;
    font-size: 17px;
    line-height: 1.8;
    color: #2b2b2b;
}
.vk-sync-card__body > p:first-of-type {
    font-size: 18px;
    color: #16357a;
    font-weight: 600;
}
.vk-sync-card__body p {
    margin: 0 0 1.2em;
}

/* ===== Фото ===== */
.vk-photo-figure {
    margin: 26px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(22, 53, 122, 0.18);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.vk-photo-figure:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 44px rgba(22, 53, 122, 0.28);
}
.vk-photo-figure img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== Чипы-хэштеги ===== */
.vk-tag-chip,
.vk-tag-chip--plain {
    display: inline-block;
    padding: 5px 14px;
    margin: 0 6px 8px 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #2f6fed, #16357a);
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(47, 111, 237, .3);
    transition: all .25s ease;
}
.vk-tag-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(47, 111, 237, .45);
    background: linear-gradient(135deg, #16357a, #0d2254);
}
.vk-tag-chip--plain { cursor: default; }

/* ===== Кнопка первоисточника ===== */
.vk-source-block {
    margin: 32px 0 8px;
    text-align: center;
}
.vk-source-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0077ff, #0059b3);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(0, 119, 255, 0.4);
    transition: all 0.28s ease;
}
.vk-source-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(0, 119, 255, 0.55);
    background: linear-gradient(135deg, #0059b3, #003f7f);
}
.vk-source-btn svg {
    flex-shrink: 0;
}

/* ===== Заголовок страницы новости ===== */
.single .entry-title,
.single h1,
.single .post-title {
    color: #16357a !important;
    font-weight: 800;
    text-align: center;
    padding: 10px 0 4px;
    line-height: 1.3;
}

/* ===== Появление ===== */
@keyframes vkFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== Мобильные ===== */
@media (max-width: 600px) {
    .vk-sync-card__header { flex-direction: column; align-items: flex-start; }
    .vk-sync-card__body { padding: 22px 18px 26px; font-size: 16px; }
    .vk-source-btn { width: 100%; justify-content: center; }
}