/*
Theme Name: dds_vipusknick.ru
Author: Анна Соколова
Description: Тема информационно-справочного портала для выпускников и абитуриентов: экзамены, профориентация, вузы, колледжи и карьера.
Version: 1.1
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vipusk
*/

:root {
    --vp-bg: #F7FAFC;
    --vp-bg-alt: #EAF4FB;
    --vp-head: #0B3C5D;
    --vp-foot: #092E47;
    --vp-side: #F0F7FC;
    --vp-text: #102A3C;
    --vp-accent: #1B98E0;
    --vp-accent-2: #5CC8FF;
    --vp-muted: #6B8A9E;
    --vp-dot: #D6EAF8;
    --vp-rule: #A9CDE4;
    --vp-line: #CFE3F1;
    --vp-font-head: "Unbounded", "Segoe UI", "Trebuchet MS", Arial, sans-serif;
    --vp-font-body: "Fira Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Скрытые элементы (до основных блоков) ---------- */
.cookie-banner[hidden] { display: none !important; }

/* ---------- База ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
    margin: 0;
    color: var(--vp-text);
    background-color: var(--vp-bg);
    background-image: radial-gradient(circle at 1px 1px, rgba(214, 234, 248, 0.6) 1px, transparent 1.6px);
    background-size: 24px 24px;
    font-family: var(--vp-font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    overflow-x: hidden;
}

body::after {
    content: "";
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 260px;
    height: 260px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%230B3C5D' stroke-width='2'%3E%3Ccircle cx='100' cy='100' r='92'/%3E%3Ccircle cx='100' cy='100' r='74'/%3E%3Cpath d='M100 4v18M100 178v18M4 100h18M178 100h18'/%3E%3Cpath d='M100 34l16 66-16 66-16-66z'/%3E%3Cpath d='M34 100l66-14 66 14-66 14z'/%3E%3Ccircle cx='100' cy='100' r='6'/%3E%3C/svg%3E") no-repeat center / contain;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}

.vp-site { position: relative; z-index: 1; }

img { max-width: 100%; height: auto; }

p { margin: 0 0 1.1em; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--vp-font-head);
    font-weight: 500;
    line-height: 1.25;
    margin: 0 0 0.6em;
    color: var(--vp-text);
}

h1 { font-size: 3.2rem; line-height: 1.15; }

p, li, h1, h2, h3, h4, h5, h6, td, th, dd, blockquote, .card, .widget {
    overflow-wrap: break-word;
    hyphens: auto;
}

a { color: var(--vp-accent); text-decoration: none; }

:focus-visible { outline: 2px solid var(--vp-accent-2); outline-offset: 2px; }

table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; border: 1px solid var(--vp-rule); }
th, td { border: 1px solid var(--vp-rule); padding: 0.6rem 0.8rem; text-align: left; vertical-align: top; }
th { background: var(--vp-bg-alt); font-weight: 600; }

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.vp-skip:focus {
    position: fixed !important;
    top: 10px; left: 10px;
    width: auto; height: auto;
    clip: auto;
    padding: 0.6rem 1rem;
    background: #fff;
    color: var(--vp-text);
    z-index: 100;
    border-radius: 8px;
}

/* ---------- Контейнер ---------- */
.shell { width: min(92%, 1220px); margin-left: auto; margin-right: auto; }
.shell--front { width: min(85%, 1180px); }

/* ---------- Ссылки с анимированным подчёркиванием ---------- */
.entry-content a,
.vp-archive-desc a,
.card-more,
.vp-inline-link,
.comment-notes a,
.logged-in-as a,
.vp-comment__text a,
.breadcrumbs a {
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 1px;
    transition: background-size 0.3s ease, color 0.2s ease;
}
.entry-content a:hover,
.vp-archive-desc a:hover,
.card-more:hover,
.vp-inline-link:hover,
.comment-notes a:hover,
.logged-in-as a:hover,
.vp-comment__text a:hover,
.breadcrumbs a:hover { background-size: 100% 1px; }

/* ---------- Кнопки ---------- */
.vp-btn,
.comment-form .submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.9rem;
    border: 1px solid var(--vp-accent);
    border-radius: 8px;
    background: var(--vp-accent);
    color: #fff;
    font-family: var(--vp-font-body);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.vp-btn:hover,
.comment-form .submit:hover {
    background: var(--vp-accent-2);
    border-color: var(--vp-accent-2);
    color: var(--vp-head);
    transform: translateY(-2px);
}
.vp-btn--ghost {
    background: transparent;
    color: var(--vp-accent);
}
.vp-btn--ghost:hover {
    background: var(--vp-bg-alt);
    border-color: var(--vp-accent);
    color: var(--vp-accent);
}

/* ---------- Заголовки секций с «меткой» ---------- */
.vp-sec-title {
    position: relative;
    padding-left: 1.25rem;
    margin: 0 0 2.2rem;
    font-size: clamp(1.5rem, 2.4vw, 2.05rem);
    font-weight: 600;
    line-height: 1.25;
}
.vp-sec-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.12em;
    width: 3px;
    height: 2.5em;
    background: var(--vp-accent);
    border-radius: 2px;
}

/* ---------- Шапка ---------- */
.vp-header {
    background: var(--vp-head);
    color: #fff;
}
.vp-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.2rem 0 1rem;
}
.vp-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
    max-width: 620px;
    color: #fff;
}
.vp-brand__mark { flex: 0 0 auto; display: block; }
.vp-brand__mark svg { display: block; width: 50px; height: 50px; }
.brand-logo { display: block; max-height: 56px; width: auto; }
.vp-brand__name {
    min-width: 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
}
.vp-header__desc {
    margin: 0;
    padding: 0.75rem 0 1rem;
    border-top: 1px dashed rgba(214, 234, 248, 0.25);
    font-size: 0.86rem;
    line-height: 1.5;
    color: #A9CDE4;
}

.vp-nav { flex: 0 0 auto; }
.vp-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 1.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.vp-nav a {
    position: relative;
    display: inline-block;
    padding: 0.35rem 0;
    color: var(--vp-dot);
    font-weight: 500;
    transition: color 0.2s ease;
}
.vp-nav a:hover { color: var(--vp-accent-2); }
.vp-nav .current-menu-item > a,
.vp-nav .current_page_item > a { color: #fff; }
.vp-nav .current-menu-item > a::after,
.vp-nav .current_page_item > a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    border-radius: 50%;
    background: var(--vp-accent-2);
}

.vp-navtoggle {
    display: none;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(214, 234, 248, 0.4);
    border-radius: 8px;
    background: transparent;
    color: #fff;
    font: 500 0.95rem var(--vp-font-body);
    cursor: pointer;
}
.vp-navtoggle__bars,
.vp-navtoggle__bars::before,
.vp-navtoggle__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
}
.vp-navtoggle__bars { position: relative; }
.vp-navtoggle__bars::before,
.vp-navtoggle__bars::after { content: ""; position: absolute; left: 0; }
.vp-navtoggle__bars::before { top: -6px; }
.vp-navtoggle__bars::after { top: 6px; }

/* ---------- Хлебные крошки ---------- */
.breadcrumbs {
    padding: 1.5rem 0 0;
    font-size: 0.9rem;
    color: var(--vp-muted);
}
.breadcrumbs .sep { margin: 0 0.45rem; color: var(--vp-rule); }
.breadcrumbs span:last-child { color: var(--vp-text); }

/* ---------- Раскладки ---------- */
.vp-main { padding: 1.6rem 0 4.5rem; }
.vp-main--front { padding: 0; }

.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 67fr) minmax(0, 27fr);
    column-gap: 6%;
    align-items: start;
}
.layout-single {
    display: block;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}
.content-area { min-width: 0; }

.vp-page-title { margin: 0.4rem 0 1.6rem; }
.vp-archive-desc { color: var(--vp-muted); margin: -0.6rem 0 2rem; }

/* ---------- Сайдбар ---------- */
.sidebar {
    min-width: 0;
    background: var(--vp-side);
    border: 1px solid var(--vp-line);
    border-radius: 12px;
    padding: 1.7rem 1.6rem;
    color: var(--vp-text);
}
.sidebar .widget { margin-bottom: 2.2rem; }
.sidebar .widget:last-child { margin-bottom: 0; }
.sidebar .widget-title {
    position: relative;
    padding-left: 0.85rem;
    margin: 0 0 1.1rem;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--vp-text);
}
.sidebar .widget-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 2px;
    height: 2.4em;
    background: var(--vp-accent);
}
.sidebar ul { margin: 0; padding: 0; list-style: none; }
.sidebar li {
    padding: 0.55rem 0;
    border-bottom: 1px dashed var(--vp-line);
    line-height: 1.45;
}
.sidebar li:last-child { border-bottom: 0; }
.sidebar a { color: var(--vp-text); transition: color 0.2s ease; }
.sidebar a:hover { color: var(--vp-accent); }
.sidebar .post-date,
.sidebar .rss-date { display: block; font-size: 0.82rem; color: var(--vp-muted); }
.sidebar p { color: var(--vp-text); }

/* ---------- Карточки ---------- */
.vp-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
    gap: 1.8rem;
}
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(27, 152, 224, 0.13);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--vp-accent);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 2;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(92, 200, 255, 0.3);
}
.card:hover::before { opacity: 1; }
.card-thumb { display: block; margin: 0; }
.card-thumb a { display: block; }
.card-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 1.3rem 1.4rem 1.5rem;
}
.card-title {
    margin: 0.55rem 0 0.4rem;
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.42;
}
.card-title a { color: var(--vp-text); transition: color 0.2s ease; }
.card-title a:hover { color: var(--vp-accent); }
.card-meta { font-size: 0.84rem; color: var(--vp-muted); margin-bottom: 0.7rem; }
.card-pin {
    display: inline-block;
    margin-left: 0.6rem;
    color: var(--vp-accent);
    font-weight: 600;
}
.card-excerpt { flex: 1; font-size: 0.97rem; color: #34506A; }
.card-excerpt p { margin: 0 0 0.5em; background: none; }
.card-more {
    align-self: flex-start;
    margin-top: 0.6rem;
    font-weight: 600;
    font-size: 0.94rem;
}

/* ---------- Теги-«легенда» ---------- */
.vp-tags { display: flex; flex-wrap: wrap; gap: 0.2rem 0.9rem; }
.vp-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--vp-accent);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.4;
}
.vp-tag::before {
    content: "";
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--vp-accent-2);
}
.vp-tag:hover { color: var(--vp-head); }

/* ---------- Запись и страница ---------- */
.vp-entry__head { margin-bottom: 1.8rem; }
.vp-entry__title { margin: 0.6rem 0 0.8rem; }
.vp-entry__meta { color: var(--vp-muted); font-size: 0.92rem; }
.vp-entry__thumb { margin: 0 0 2rem; }
.vp-entry__thumb img { display: block; width: 100%; height: auto; border-radius: 12px; }

.entry-content { font-size: 1.07rem; }
.entry-content h2 { font-size: 1.6rem; margin: 2em 0 0.7em; }
.entry-content h3 { font-size: 1.25rem; margin: 1.8em 0 0.6em; }
.entry-content h4 { font-size: 1.08rem; margin: 1.6em 0 0.5em; }
.entry-content ul,
.entry-content ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.entry-content li { margin-bottom: 0.35em; }
.entry-content li::marker { color: var(--vp-accent); }
.entry-content blockquote {
    margin: 1.6em 0;
    padding: 1.1rem 1.5rem;
    border-left: 3px solid var(--vp-accent);
    border-radius: 0 10px 10px 0;
    background: var(--vp-bg-alt);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content pre {
    overflow-x: auto;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    background: var(--vp-head);
    color: var(--vp-bg-alt);
    font-size: 0.92rem;
}
.entry-content figure { margin: 1.6em 0; max-width: 100%; }
.entry-content figcaption { font-size: 0.88rem; color: var(--vp-muted); margin-top: 0.4rem; }
.entry-content img { border-radius: 8px; }
.entry-content hr { border: 0; border-top: 1px dashed var(--vp-rule); margin: 2.2em auto; width: 40%; }
.alignleft { float: left; margin: 0.3em 1.5em 1em 0; }
.alignright { float: right; margin: 0.3em 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

.vp-pagelinks { margin: 1.5em 0; font-weight: 600; }
.vp-entry__tags { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px dashed var(--vp-rule); }

.post-navigation { margin-top: 2.5rem; }
.post-navigation .nav-links {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
}
.post-navigation a {
    display: block;
    height: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid var(--vp-line);
    border-radius: 10px;
    background: #fff;
    color: var(--vp-text);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.post-navigation a:hover { border-color: var(--vp-accent-2); background: var(--vp-bg-alt); }
.post-navigation .nav-next { text-align: right; }
.post-navigation .vp-nav-label {
    display: block;
    font-size: 0.82rem;
    color: var(--vp-muted);
    margin-bottom: 0.2rem;
}

/* ---------- Пагинация ---------- */
.vp-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2.8rem;
}
.vp-pager .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.7rem;
    height: 2.7rem;
    padding: 0 0.85rem;
    border: 1px solid var(--vp-line);
    border-radius: 8px;
    background: #fff;
    color: var(--vp-text);
    font-weight: 500;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.vp-pager a.page-numbers:hover { border-color: var(--vp-accent); color: var(--vp-accent); }
.vp-pager .page-numbers.current {
    background: var(--vp-accent);
    border-color: var(--vp-accent);
    color: #fff;
}
.vp-pager .page-numbers.dots { border: 0; background: none; min-width: 1.5rem; padding: 0; }

/* ---------- Поиск ---------- */
.vp-search { display: flex; gap: 0.5rem; max-width: 560px; }
.vp-search input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: 0.75rem 1rem;
    border: 1px solid var(--vp-line);
    border-radius: 8px;
    background: #fff;
    color: var(--vp-text);
    font: 400 1rem var(--vp-font-body);
}
.vp-search input[type="search"]:focus { border-color: var(--vp-accent); outline: none; box-shadow: 0 0 0 3px rgba(92, 200, 255, 0.3); }

.vp-empty {
    padding: 2rem 2.2rem;
    border: 1px dashed var(--vp-rule);
    border-radius: 12px;
    background: #fff;
}

/* ---------- 404 ---------- */
.vp-404 { padding: 2rem 0 1rem; }
.vp-404__code {
    display: block;
    font-family: var(--vp-font-head);
    font-size: 4.5rem;
    font-weight: 600;
    line-height: 1;
    color: var(--vp-accent);
    margin-bottom: 1rem;
}
.vp-404 .vp-search { margin: 1.6rem 0 1.8rem; }

/* ---------- Комментарии ---------- */
.vp-comments { margin-top: 3rem; padding-top: 2rem; border-top: 1px dashed var(--vp-rule); }
.vp-comments__title { font-size: 1.35rem; }
.vp-comment-list,
.vp-comment-list .children { list-style: none; margin: 0; padding: 0; }
.vp-comment-list .children { padding-left: 2rem; }
.vp-comment__body {
    margin-bottom: 1rem;
    padding: 1.1rem 1.3rem;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--vp-line);
}
.vp-comment__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.8rem; margin-bottom: 0.6rem; }
.vp-comment__head img { display: block; border-radius: 50%; }
.vp-comment__author { font-weight: 600; }
.vp-comment__head time { font-size: 0.84rem; color: var(--vp-muted); }
.vp-comment__wait { font-size: 0.9rem; color: var(--vp-muted); font-style: italic; }
.vp-comment__reply a { font-size: 0.9rem; font-weight: 600; }
.comment-respond { margin-top: 2rem; }
.comment-reply-title { font-size: 1.25rem; }
.comment-reply-title small { margin-left: 0.8rem; font-family: var(--vp-font-body); font-size: 0.85rem; }
.comment-form p { margin-bottom: 1rem; }
.comment-form label { display: block; margin-bottom: 0.3rem; font-weight: 500; font-size: 0.95rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--vp-line);
    border-radius: 8px;
    background: #fff;
    color: var(--vp-text);
    font: 400 1rem var(--vp-font-body);
}
.comment-form textarea { min-height: 150px; resize: vertical; }
.comment-form .comment-form-cookies-consent { display: flex; gap: 0.6rem; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 400; }
.comment-notes,
.logged-in-as { font-size: 0.9rem; color: var(--vp-muted); }

/* ---------- Главная: общие секции ---------- */
.vp-section { position: relative; padding: 5.5rem 0; }
.vp-section--alt { background-color: var(--vp-bg-alt); }
.vp-section--accent {
    background-color: var(--vp-bg-alt);
    background-image:
        radial-gradient(circle at 1px 1px, rgba(150, 200, 232, 0.55) 1px, transparent 1.6px),
        linear-gradient(180deg, #EAF4FB 0%, #D6EAF8 100%);
    background-size: 16px 16px, 100% 100%;
}
.vp-divider {
    height: 0;
    width: 40%;
    margin: 0 auto;
    border: 0;
    border-top: 1px dashed var(--vp-rule);
}
.vp-section__lead { max-width: 62ch; color: #34506A; margin: -0.8rem 0 2.4rem; }
.vp-section__foot { margin-top: 2.6rem; }

/* ---------- Hero ---------- */
.vp-hero {
    position: relative;
    overflow: hidden;
    padding: 5.5rem 0 5rem;
    background: linear-gradient(125deg, #0B3C5D 0%, #12679A 55%, #1B98E0 100%);
    color: #fff;
}
.vp-hero::before {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(214, 234, 248, 0.14) 1px, transparent 1.6px);
    background-size: 24px 24px;
    pointer-events: none;
}
.vp-hero__compass {
    position: absolute;
    right: 3%;
    top: 50%;
    width: min(360px, 36%);
    transform: translateY(-50%);
    opacity: 0.55;
    pointer-events: none;
}
.vp-hero__compass svg { display: block; width: 100%; height: auto; }
.vp-hero__inner { position: relative; max-width: 700px; }
.vp-hero__title {
    margin: 0 0 1.2rem;
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1.15;
    color: #fff;
}
.vp-hero__lead {
    max-width: 58ch;
    margin: 0 0 2rem;
    font-size: 1.15rem;
    color: var(--vp-dot);
}
.vp-hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.vp-hero .vp-btn--ghost {
    border-color: var(--vp-accent-2);
    color: var(--vp-dot);
}
.vp-hero .vp-btn--ghost:hover {
    background: rgba(214, 234, 248, 0.14);
    color: #fff;
}
.vp-route {
    display: flex;
    flex-wrap: wrap;
    margin: 2.8rem 0 0;
    padding: 0;
    list-style: none;
}
.vp-route li {
    position: relative;
    padding: 1.2rem 2.2rem 0 0;
    font-size: 0.92rem;
    color: var(--vp-dot);
}
.vp-route li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--vp-accent-2);
    box-shadow: 0 0 0 4px rgba(92, 200, 255, 0.22);
}
.vp-route li::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 18px;
    right: 8px;
    border-top: 1px dashed rgba(214, 234, 248, 0.55);
}
.vp-route li:last-child { padding-right: 0; }
.vp-route li:last-child::before { background: #fff; }
.vp-route li:last-child::after { display: none; }

/* ---------- Чек-лист ---------- */
.vp-check {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
    gap: 3.5rem;
    align-items: start;
}
.vp-check__intro { min-width: 0; }
.vp-check__intro p { color: #34506A; }
.vp-check__note { font-size: 0.92rem; color: var(--vp-muted); }
.vp-checklist { min-width: 0; margin: 0; padding: 0; list-style: none; }
.vp-checklist li {
    display: flex;
    gap: 0.95rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    padding: 1.05rem 1.3rem;
    background: #fff;
    border-left: 2px solid var(--vp-accent);
    border-radius: 0 8px 8px 0;
}
.vp-checklist li:last-child { margin-bottom: 0; }
.vp-checklist__mark { flex: 0 0 22px; color: var(--vp-accent); padding-top: 0.15rem; }
.vp-checklist__mark svg { display: block; width: 22px; height: 22px; }
.vp-checklist__text { min-width: 0; }
.vp-checklist__text strong { display: block; margin-bottom: 0.15rem; font-weight: 600; }
.vp-checklist__text span { display: block; color: #34506A; font-size: 0.97rem; }

/* ---------- Статистика ---------- */
.vp-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}
.vp-stat { min-width: 0; padding: 0.4rem 1.8rem; }
.vp-stat:first-child { padding-left: 0; }
.vp-stat + .vp-stat { border-left: 1px dashed var(--vp-rule); }
.vp-stat__num {
    display: block;
    font-family: var(--vp-font-head);
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--vp-accent);
    margin-bottom: 0.6rem;
    white-space: nowrap;
}
.vp-stat__label { display: block; font-size: 0.97rem; color: var(--vp-muted); line-height: 1.5; }

/* ---------- Карта тем ---------- */
.vp-topics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}
.vp-topic {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    min-width: 0;
    padding: 1.35rem 1.4rem;
    border: 1px solid var(--vp-line);
    border-radius: 10px;
    background: #fff;
    color: var(--vp-text);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.vp-topic:hover {
    background: var(--vp-bg-alt);
    border-color: var(--vp-accent-2);
    transform: translateY(-3px);
}
.vp-topic__icon { flex: 0 0 40px; color: var(--vp-accent); }
.vp-topic__icon svg { display: block; width: 40px; height: 40px; }
.vp-topic__text { min-width: 0; }
.vp-topic__name {
    display: block;
    margin-bottom: 0.3rem;
    font-family: var(--vp-font-head);
    font-size: 0.98rem;
    font-weight: 500;
}
.vp-topic__desc { display: block; font-size: 0.92rem; color: var(--vp-muted); line-height: 1.5; }

/* ---------- Подвал ---------- */
.vp-footer {
    background: var(--vp-foot);
    color: #C3D9E8;
    padding: 3.8rem 0 0;
}
.vp-footer__cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
    padding-bottom: 2.8rem;
}
.vp-footer__col { min-width: 0; }
.vp-footer .widget { margin-bottom: 1.6rem; color: #C3D9E8; }
.vp-footer .widget:last-child { margin-bottom: 0; }
.vp-footer .widget-title {
    position: relative;
    padding-left: 0.85rem;
    margin: 0 0 1rem;
    font-size: 0.98rem;
    font-weight: 600;
    color: #fff;
}
.vp-footer .widget-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.1em;
    width: 2px;
    height: 2.4em;
    background: var(--vp-accent-2);
}
.vp-footer p { color: #C3D9E8; font-size: 0.95rem; }
.vp-footer ul { margin: 0; padding: 0; list-style: none; }
.vp-footer li { padding: 0.32rem 0; }
.vp-footer a { color: var(--vp-dot); transition: color 0.2s ease; }
.vp-footer a:hover { color: var(--vp-accent-2); }
.vp-footer .post-date { display: block; font-size: 0.82rem; color: #8FB3CA; }
.vp-footer__bottom { border-top: 1px dashed rgba(214, 234, 248, 0.2); padding: 1.2rem 0; }
.vp-footer__bottom p { margin: 0; font-size: 0.86rem; color: #8FB3CA; }

/* ---------- Cookie ---------- */
.cookie-banner {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    max-width: 840px;
    margin: 0 auto;
    padding: 1.05rem 1.4rem;
    border-radius: 12px;
    background: var(--vp-head);
    color: var(--vp-bg-alt);
    box-shadow: 0 8px 24px rgba(9, 46, 71, 0.3);
}
.cookie-banner p { margin: 0; font-size: 0.92rem; line-height: 1.5; color: var(--vp-bg-alt); }
.cookie-banner .vp-btn { flex: 0 0 auto; padding: 0.6rem 1.5rem; }

/* ---------- Адаптив ---------- */
@media (max-width: 960px) {
    h1, .vp-hero__title { font-size: 2.5rem; }
    .vp-header__bar { flex-wrap: wrap; }
    .vp-navtoggle { display: inline-flex; }
    .vp-nav { flex: 1 0 100%; display: none; }
    .vp-nav.is-open { display: block; }
    .vp-nav ul { flex-direction: column; gap: 0; padding: 0.4rem 0 0.6rem; }
    .vp-nav li { border-top: 1px dashed rgba(214, 234, 248, 0.2); }
    .vp-nav a { display: block; padding: 0.7rem 0; }
    .vp-nav .current-menu-item > a::after,
    .vp-nav .current_page_item > a::after { left: auto; right: 0; bottom: 50%; margin: 0 0 -3px; }

    .layout-with-sidebar { grid-template-columns: minmax(0, 1fr); row-gap: 2.8rem; }
    .layout-single { width: 100%; }
    .shell--front { width: 92%; }

    .vp-hero__compass { width: 240px; top: 2rem; right: -40px; transform: none; opacity: 0.25; }
    .vp-check { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .vp-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
    .vp-stat { padding: 0.4rem 1.6rem; }
    .vp-stat:nth-child(odd) { padding-left: 0; border-left: 0; }
    .vp-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    body { font-size: 1rem; }
    h1, .vp-hero__title { font-size: 2rem; }
    .vp-section { padding: 3.8rem 0; }
    .vp-hero { padding: 3.8rem 0 3.4rem; }
    .vp-route { flex-direction: column; gap: 0.6rem; }
    .vp-route li { padding: 0 0 0 1.6rem; }
    .vp-route li::before { top: 0.45em; }
    .vp-route li::after { display: none; }
    .vp-hero__actions .vp-btn { flex: 1 1 100%; }
    .vp-checklist li { padding: 0.95rem 1.05rem; }
    .vp-topics { grid-template-columns: minmax(0, 1fr); }
    .vp-stat__num { font-size: 2.3rem; }
    .vp-stats { grid-template-columns: minmax(0, 1fr); }
    .vp-stat,
    .vp-stat:first-child,
    .vp-stat:nth-child(odd) { padding: 0 0 1.4rem; border-left: 0; }
    .vp-stat + .vp-stat { border-left: 0; border-top: 1px dashed var(--vp-rule); padding-top: 1.4rem; }
    .vp-footer__cols { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .post-navigation .nav-links { grid-template-columns: minmax(0, 1fr); }
    .post-navigation .nav-next { text-align: left; }
    .sidebar { padding: 1.4rem 1.2rem; }
    .vp-empty { padding: 1.5rem 1.3rem; }
    .vp-search { flex-direction: column; }
    .cookie-banner { flex-direction: column; align-items: stretch; padding: 1rem 1.1rem; }
    .vp-comment-list .children { padding-left: 1rem; }
    .alignleft, .alignright { float: none; margin: 1em 0; }
    body::after { width: 160px; height: 160px; right: 12px; bottom: 12px; }
}
