:root {
    --vkh-brand: #246bfd;
    --vkh-brand-2: #6f56e8;
    --vkh-brand-dark: #174fb8;
    --vkh-brand-soft: #eef4ff;
    --vkh-ink: #101828;
    --vkh-text: #475467;
    --vkh-muted: #000;
    --vkh-line: #e4eaf3;
    --vkh-bg: #f6f8fc;
    --vkh-white: #ffffff;
    --vkh-green: #16a66a;
    --vkh-orange: #e99713;
    --vkh-shadow: 0 18px 55px rgba(25, 46, 85, .09);
    --vkh-sticky-top: 16px;
}

.vkh-page-shell,
.vkh-page-shell *,
.vkh-lightbox,
.vkh-lightbox * {
    box-sizing: border-box;
}

.vkh-page-shell {
    min-height: 72vh;
    padding: 16px 20px 72px;
    color: var(--vkh-ink);
    background:
        radial-gradient(circle at 96% 2%, rgba(111, 86, 232, .075), transparent 27%),
        radial-gradient(circle at 2% 10%, rgba(36, 107, 253, .055), transparent 24%),
        var(--vkh-bg);
}

.vkh-layout {
    width: min(1660px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

/* --------------------------------------------------------------------------
   Sticky sidebar
   -------------------------------------------------------------------------- */
.vkh-sidebar {
    position: sticky;
    top: var(--vkh-sticky-top);
    height: calc(100vh - var(--vkh-sticky-top) - 16px);
    min-height: 520px;
    display: flex;
    flex-direction: column;
    padding: 16px;
    overflow: hidden;
    border: 1px solid var(--vkh-line);
    border-radius: 20px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 12px 38px rgba(28, 52, 91, .075);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.vkh-sidebar-heading {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 11px;
    align-items: center;
    padding: 3px 3px 15px;
    color: inherit !important;
    text-decoration: none !important;
}

.vkh-sidebar-heading:hover strong {
    color: var(--vkh-brand);
}

.vkh-sidebar-brand-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(135deg, var(--vkh-brand), var(--vkh-brand-2));
    box-shadow: 0 8px 20px rgba(52, 91, 225, .22);
}

.vkh-sidebar-brand-icon svg {
    width: 23px;
    height: 23px;
}

.vkh-sidebar-heading-text {
    min-width: 0;
}

.vkh-sidebar-heading-text small {
    display: block;
    margin: 0 0 2px;
    color: var(--vkh-brand);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.vkh-sidebar-heading-text strong {
    display: block;
    margin: 0;
    color: var(--vkh-ink);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.025em;
    transition: color .18s ease;
}

.vkh-sidebar-heading em {
    align-self: start;
    min-width: 27px;
    padding: 5px 8px;
    border-radius: 999px;
    color: var(--vkh-brand);
    background: var(--vkh-brand-soft);
    font-size: 10px;
    font-style: normal;
    font-weight: 850;
    line-height: 1;
    text-align: center;
}

.vkh-search {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 12px;
    margin-bottom: 11px;
    border: 1px solid #dce4ef;
    border-radius: 12px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.vkh-search:focus-within {
    border-color: #b9ccff;
    box-shadow: 0 0 0 4px rgba(36, 107, 253, .075);
}

.vkh-search > span {
    width: 18px;
    height: 18px;
    color: #8f9cad;
    flex: 0 0 auto;
}

.vkh-search svg {
    width: 18px;
    height: 18px;
}

.vkh-search input {
    width: 100%;
    min-width: 0;
    border: 0 !important;
    outline: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--vkh-ink);
    font: inherit;
    font-size: 12px;
}

.vkh-search input::placeholder {
    color: #9aa5b5;
}

.vkh-topic-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1px 4px 5px 0;
    scrollbar-width: thin;
    scrollbar-color: #d6deea transparent;
    overscroll-behavior: contain;
}

.vkh-topic-list::-webkit-scrollbar {
    width: 5px;
}

.vkh-topic-list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #d6deea;
}

.vkh-topic {
    position: relative;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 18px;
    gap: 10px;
    align-items: center;
    padding: 10px;
    margin: 4px 0;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 13px;
    color: #344054 !important;
    text-decoration: none !important;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.vkh-topic:hover {
    transform: translateX(2px);
    border-color: #e7edf6;
    background: #f8faff;
}

.vkh-topic.is-active {
    border-color: #d7e3ff;
    color: var(--vkh-brand-dark) !important;
    background: linear-gradient(135deg, #edf4ff, #f5f2ff);
    box-shadow: inset 3px 0 0 var(--vkh-brand), 0 5px 18px rgba(36, 107, 253, .055);
}

.vkh-topic-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid #e2e9f5;
    border-radius: 11px;
    color: #5671a7;
    background: linear-gradient(145deg, #fbfdff, #f2f6fc);
    transition: color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.vkh-topic-icon svg {
    width: 19px;
    height: 19px;
}

.vkh-topic.is-active .vkh-topic-icon {
    border-color: #d7e4ff;
    color: var(--vkh-brand);
    background: #fff;
    box-shadow: 0 5px 15px rgba(36, 107, 253, .11);
}

.vkh-topic-text {
    min-width: 0;
}

.vkh-topic-text strong {
    display: block;
    overflow: hidden;
    color: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vkh-topic-text small {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    color: #98a2b3;
    font-size: 9px;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vkh-topic-arrow {
    color: #a5afbd;
    font-size: 20px;
    line-height: 1;
    transition: transform .18s ease, color .18s ease;
}

.vkh-topic:hover .vkh-topic-arrow,
.vkh-topic.is-active .vkh-topic-arrow {
    color: var(--vkh-brand);
    transform: translateX(2px);
}

.vkh-no-results {
    padding: 20px 10px;
    color: #98a2b3;
    font-size: 11px;
    text-align: center;
}

.vkh-sidebar-help {
    flex: 0 0 auto;
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 11px;
    margin-top: 12px;
    padding: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, #1f6cf0 0%, #5c58e9 55%, #8754db 100%);
    box-shadow: 0 12px 26px rgba(48, 75, 196, .22);
}

.vkh-sidebar-help::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -36px;
    top: -48px;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: rgba(255,255,255,.13);
}

.vkh-help-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 12px;
    color: #fff;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(8px);
}

.vkh-help-icon svg {
    width: 20px;
    height: 20px;
}

.vkh-sidebar-help strong {
    display: block;
    color: #fff;
    font-size: 12px;
    line-height: 1.35;
}

.vkh-sidebar-help p {
    margin: 3px 0 8px;
    color: rgba(255,255,255,.84);
    font-size: 10px;
    line-height: 1.5;
}

.vkh-sidebar-help a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff !important;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none !important;
}

.vkh-sidebar-help a span {
    transition: transform .18s ease;
}

.vkh-sidebar-help a:hover span {
    transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Main article shell
   -------------------------------------------------------------------------- */
.vkh-main {
    min-width: 0;
}

.vkh-article-card {
    min-height: calc(100vh - 32px);
    overflow: hidden;
    border: 1px solid var(--vkh-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--vkh-shadow);
}

.vkh-toolbar {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 22px;
    border-bottom: 1px solid #edf1f6;
    background: linear-gradient(180deg, #fff, #fcfdff);
}

.vkh-breadcrumbs {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #98a2b3;
    font-size: 10px;
    line-height: 1.4;
}

.vkh-breadcrumbs a {
    color: #667085 !important;
    text-decoration: none !important;
}

.vkh-breadcrumbs a:hover {
    color: var(--vkh-brand) !important;
}

.vkh-breadcrumbs b {
    max-width: min(620px, 45vw);
    overflow: hidden;
    color: #475467;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vkh-copy-link {
    flex: 0 0 auto;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border: 1px solid #dce4ee !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #475467 !important;
    box-shadow: none !important;
    cursor: pointer;
    font: inherit;
    font-size: 10px !important;
    font-weight: 750 !important;
    transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}

.vkh-copy-link:hover {
    transform: translateY(-1px);
    color: var(--vkh-brand) !important;
    border-color: #b9ccff !important;
    background: #f9fbff !important;
}

.vkh-copy-link svg {
    width: 15px;
    height: 15px;
}

.vkh-content {
    width: min(1280px, 100%);
    margin: 0 auto;
    padding: 40px 50px 64px;
    color: var(--vkh-text);
    font-size: 15px;
    line-height: 1.76;
}

.vkh-content p {
    margin: 0 0 16px;
}

.vkh-hero {
    position: relative;
    padding: 2px 0 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e9eef5;
}

.vkh-hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 84px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--vkh-brand), var(--vkh-brand-2));
}

.vkh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--vkh-brand);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.vkh-eyebrow > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--vkh-brand);
    box-shadow: 0 0 0 4px rgba(36, 107, 253, .10);
}

.vkh-hero h1 {
    max-width: 1120px;
    margin: 0 !important;
    color: var(--vkh-ink) !important;
    font-size: clamp(28px, 3.2vw, 44px) !important;
    font-weight: 850 !important;
    line-height: 1.08 !important;
    letter-spacing: -.045em !important;
}

/* --------------------------------------------------------------------------
   Source-preserving article presentation
   -------------------------------------------------------------------------- */
.vkh-source-content {
    color: var(--vkh-text);
}

.vkh-source-content > p {
    max-width: 1080px;
}

.vkh-source-section {
    position: relative;
    margin: 42px 0 18px;
    padding: 0 0 12px;
    border-bottom: 1px solid #edf1f6;
}

.vkh-source-section::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 48px;
    height: 3px;
    border-radius: 999px;
    background: var(--vkh-brand);
}

.vkh-source-section h2 {
    margin: 0 !important;
    color: var(--vkh-ink) !important;
    font-size: 27px !important;
    font-weight: 820 !important;
    line-height: 1.24 !important;
    letter-spacing: -.03em !important;
}

.vkh-source-step {
    position: relative;
    margin: 30px 0 13px !important;
    padding: 15px 18px 15px 48px;
    border: 1px solid #e2e9f4;
    border-radius: 14px;
    color: #1d2939 !important;
    background: linear-gradient(135deg, #fbfdff, #f7f9ff);
    box-shadow: 0 7px 20px rgba(29, 49, 82, .04);
    font-size: 18px !important;
    font-weight: 790 !important;
    line-height: 1.35 !important;
}

.vkh-source-step > span {
    position: absolute;
    left: 16px;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    border: 5px solid #dce8ff;
    border-radius: 50%;
    background: var(--vkh-brand);
    box-shadow: 0 0 0 3px #fff;
}

.vkh-source-content h4 {
    margin: 23px 0 8px !important;
    color: #26334a !important;
    font-size: 16px !important;
    font-weight: 780 !important;
    line-height: 1.4 !important;
}

.vkh-source-bullet {
    position: relative;
    max-width: 1080px;
    margin: 8px 0;
    padding: 9px 12px 9px 34px;
    border: 1px solid #edf1f6;
    border-radius: 10px;
    color: #5d6b7f;
    background: #fbfcfe;
    font-size: 13px;
    line-height: 1.55;
}

.vkh-source-bullet::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 16px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--vkh-brand), var(--vkh-brand-2));
}

.vkh-source-divider {
    height: 1px;
    margin: 27px 0;
    border: 0;
    background: linear-gradient(90deg, transparent, #dfe6f1 8%, #dfe6f1 92%, transparent);
}

.vkh-path-line {
    max-width: 1120px;
    margin: 10px 0 17px;
    padding: 12px 14px;
    overflow-wrap: anywhere;
    border: 1px solid #dce8fb;
    border-radius: 12px;
    color: #315f9f;
    background: linear-gradient(135deg, #f7faff, #f1f6ff);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.55;
}

.vkh-source-note {
    max-width: 1120px;
    padding: 11px 13px;
    border-left: 3px solid #d1def7;
    border-radius: 0 9px 9px 0;
    background: #f8faff;
    color: #667085;
    font-size: 12px;
}

.vkh-note {
    max-width: 1120px;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    margin: 18px 0;
    padding: 15px 16px;
    border: 1px solid #f2dba7;
    border-radius: 13px;
    background: linear-gradient(135deg, #fffaf0, #fffdf8);
}

.vkh-note > span {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--vkh-orange);
    font-size: 12px;
    font-weight: 850;
}

.vkh-note p {
    margin: 3px 0 0 !important;
    color: #6c5b39;
    font-size: 12px;
}

.vkh-source-table-wrap {
    width: 100%;
    margin: 15px 0 22px;
    overflow-x: auto;
    border: 1px solid #e1e7f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(25, 44, 75, .035);
}

.vkh-source-table {
    min-width: 650px;
    margin: 0 !important;
    padding: 16px 18px;
    overflow: visible !important;
    border: 0 !important;
    background: linear-gradient(180deg, #fbfcff, #fff) !important;
    color: #4f6077 !important;
    font: 12px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
    white-space: pre !important;
}

.vkh-ascii-flow {
    width: 100%;
    margin: 24px 0 !important;
    padding: 22px;
    overflow-x: auto;
    border: 1px solid #dfe6f0 !important;
    border-radius: 15px;
    color: #344054 !important;
    background: linear-gradient(135deg, #f9fbff, #f4f7fc) !important;
    font: 12px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
    white-space: pre !important;
}

/* Larger screenshots for readability, with full-size lightbox. */
.vkh-source-image {
    width: calc(100% + 40px);
    max-width: none !important;
    margin: 24px 0 32px -20px !important;
}

.vkh-image-button {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border: 1px solid #dce4ef;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(20, 40, 76, .095);
    cursor: zoom-in;
    text-decoration: none !important;
}

.vkh-image-button::after {
    content: "↗";
    position: absolute;
    right: 12px;
    top: 12px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 10px;
    color: #fff;
    background: rgba(16, 24, 40, .68);
    box-shadow: 0 5px 15px rgba(16,24,40,.16);
    backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(-3px);
    transition: opacity .18s ease, transform .18s ease;
}

.vkh-image-button:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.vkh-source-image img {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff;
    box-shadow: none !important;
    image-rendering: auto;
}

.vkh-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* --------------------------------------------------------------------------
   Gutenberg / editor-managed guide presentation
   -------------------------------------------------------------------------- */
.vkh-editor-content {
    color: var(--vkh-text);
    font-size: 15px;
    line-height: 1.78;
}

.vkh-editor-content > *:first-child {
    margin-top: 0;
}

.vkh-editor-content p {
    max-width: 1080px;
    margin: 0 0 17px;
}

.vkh-editor-content h2 {
    position: relative;
    margin: 44px 0 18px !important;
    padding: 0 0 13px;
    border-bottom: 1px solid #edf1f6;
    color: var(--vkh-ink) !important;
    font-size: 27px !important;
    font-weight: 820 !important;
    line-height: 1.24 !important;
    letter-spacing: -.03em !important;
}

.vkh-editor-content h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 48px;
    height: 3px;
    border-radius: 999px;
    background: var(--vkh-brand);
}

.vkh-editor-content h3 {
    margin: 31px 0 13px !important;
    padding: 14px 17px;
    border: 1px solid #e2e9f4;
    border-radius: 14px;
    color: #1d2939 !important;
    background: linear-gradient(135deg, #fbfdff, #f7f9ff);
    box-shadow: 0 7px 20px rgba(29, 49, 82, .04);
    font-size: 19px !important;
    font-weight: 790 !important;
    line-height: 1.4 !important;
}

.vkh-editor-content h4,
.vkh-editor-content h5,
.vkh-editor-content h6 {
    margin: 24px 0 9px !important;
    color: #26334a !important;
    font-weight: 780 !important;
    line-height: 1.42 !important;
}

.vkh-editor-content h4 { font-size: 17px !important; }
.vkh-editor-content h5 { font-size: 15px !important; }
.vkh-editor-content h6 { font-size: 14px !important; }

.vkh-editor-content ul,
.vkh-editor-content ol {
    max-width: 1080px;
    margin: 14px 0 24px;
    padding-left: 26px;
}

.vkh-editor-content li {
    margin: 8px 0;
    padding-left: 3px;
}

.vkh-editor-content li::marker {
    color: var(--vkh-brand);
    font-weight: 800;
}

.vkh-editor-content a {
    color: var(--vkh-brand) !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.vkh-editor-content blockquote,
.vkh-editor-content .wp-block-quote {
    max-width: 1120px;
    margin: 24px 0;
    padding: 17px 19px;
    border: 1px solid #dce8fb !important;
    border-left: 4px solid var(--vkh-brand) !important;
    border-radius: 0 13px 13px 0;
    color: #40516a;
    background: linear-gradient(135deg, #f7faff, #f2f6ff);
}

.vkh-editor-content blockquote p:last-child {
    margin-bottom: 0;
}

.vkh-editor-content hr,
.vkh-editor-content .wp-block-separator {
    height: 1px;
    margin: 34px 0;
    border: 0 !important;
    background: linear-gradient(90deg, transparent, #dfe6f1 8%, #dfe6f1 92%, transparent);
}

.vkh-editor-content pre,
.vkh-editor-content .wp-block-code {
    width: 100%;
    margin: 24px 0 !important;
    padding: 20px 22px !important;
    overflow-x: auto;
    border: 1px solid #24324a !important;
    border-radius: 15px !important;
    color: #e7edf7 !important;
    background: #101828 !important;
    box-shadow: 0 12px 28px rgba(16,24,40,.11);
    font: 12px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
}

.vkh-editor-content code:not(pre code) {
    padding: 2px 6px;
    border-radius: 6px;
    color: #174fb8;
    background: #edf4ff;
    font-size: .92em;
}

.vkh-editor-content .wp-block-table {
    width: 100%;
    margin: 24px 0 30px;
    overflow-x: auto;
    border: 1px solid #e1e7f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(25,44,75,.035);
}

.vkh-editor-content table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    background: #fff;
}

.vkh-editor-content th,
.vkh-editor-content td {
    padding: 13px 15px;
    border: 1px solid #e7ecf3;
    color: #526177;
    font-size: 12px;
    line-height: 1.55;
    text-align: left;
}

.vkh-editor-content th {
    color: #344054;
    background: #f6f8fc;
    font-weight: 800;
}

.vkh-editor-content figure.wp-block-image,
.vkh-editor-content figure.vkh-editor-image-figure {
    width: calc(100% + 40px);
    max-width: none !important;
    margin: 25px 0 34px -20px !important;
}

.vkh-editor-content figure.wp-block-image img,
.vkh-editor-content img.vkh-editor-lightbox-image {
    max-width: 100% !important;
    height: auto !important;
    border: 1px solid #dce4ef;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(20,40,76,.095);
    cursor: zoom-in;
}

.vkh-editor-content figure.wp-block-image img {
    width: 100% !important;
    display: block;
}

.vkh-editor-content figcaption,
.vkh-editor-content .wp-element-caption {
    margin: 8px 12px 0;
    color: #8793a5;
    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

.vkh-editor-content .wp-block-gallery {
    margin: 26px 0 32px;
}

.vkh-editor-content .wp-block-gallery img {
    border-radius: 11px;
}

.vkh-editor-content .wp-block-group.has-background,
.vkh-editor-content .wp-block-media-text {
    margin: 24px 0;
    padding: 20px;
    border: 1px solid #e4eaf3;
    border-radius: 15px;
}

.vkh-editor-content .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 17px;
    border-radius: 10px;
    color: #fff !important;
    background: linear-gradient(135deg, var(--vkh-brand), var(--vkh-brand-2));
    text-decoration: none !important;
    box-shadow: 0 8px 18px rgba(36,107,253,.17);
}

.vkh-editor-content .alignwide,
.vkh-editor-content .alignfull {
    max-width: 100%;
}

/* --------------------------------------------------------------------------
   Full-screen image lightbox
   -------------------------------------------------------------------------- */
.vkh-lightbox {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: none;
    padding: 28px;
    background: rgba(8, 14, 27, .88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.vkh-lightbox.is-open {
    display: grid;
    place-items: center;
}

.vkh-lightbox-stage {
    width: min(96vw, 1720px);
    height: min(92vh, 1100px);
    display: grid;
    place-items: center;
    overflow: auto;
}

.vkh-lightbox-stage img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0,0,0,.4);
}

.vkh-lightbox-close {
    position: fixed;
    top: 18px;
    right: 20px;
    z-index: 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    border-radius: 50% !important;
    color: #fff !important;
    background: rgba(255,255,255,.11) !important;
    box-shadow: none !important;
    cursor: pointer;
    font-size: 27px !important;
    line-height: 1 !important;
}

body.vkh-lightbox-open {
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
    .vkh-layout {
        grid-template-columns: 288px minmax(0, 1fr);
        gap: 17px;
    }

    .vkh-content {
        padding: 36px 32px 54px;
    }

    .vkh-source-image {
        width: calc(100% + 24px);
        margin-left: -12px !important;
    }

    .vkh-editor-content figure.wp-block-image,
    .vkh-editor-content figure.vkh-editor-image-figure {
        width: calc(100% + 24px);
        margin-left: -12px !important;
    }
}

@media (max-width: 900px) {
    .vkh-page-shell {
        padding: 12px 12px 48px;
    }

    .vkh-layout {
        display: block;
    }

    .vkh-sidebar {
        position: relative;
        top: auto;
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
        margin-bottom: 14px;
    }

    .vkh-topic-list {
        max-height: 300px;
    }

    .vkh-sidebar-help {
        margin-top: 10px;
    }

    .vkh-article-card {
        min-height: 0;
        border-radius: 18px;
    }

    .vkh-content {
        padding: 30px 22px 46px;
    }
}

@media (max-width: 640px) {
    .vkh-page-shell {
        padding: 8px 8px 36px;
    }

    .vkh-sidebar {
        padding: 13px;
        border-radius: 16px;
    }

    .vkh-sidebar-heading {
        grid-template-columns: 40px minmax(0, 1fr) auto;
    }

    .vkh-sidebar-brand-icon {
        width: 40px;
        height: 40px;
    }

    .vkh-sidebar-heading-text strong {
        font-size: 15px;
    }

    .vkh-topic-list {
        max-height: 265px;
    }

    .vkh-toolbar {
        min-height: 52px;
        padding: 9px 12px;
    }

    .vkh-breadcrumbs {
        gap: 5px;
        font-size: 9px;
    }

    .vkh-breadcrumbs b {
        max-width: 150px;
    }

    .vkh-copy-link {
        min-height: 34px;
        padding: 6px 9px;
    }

    .vkh-copy-link span {
        display: none;
    }

    .vkh-content {
        padding: 25px 14px 38px;
        font-size: 14px;
        line-height: 1.7;
    }

    .vkh-hero {
        padding-bottom: 23px;
        margin-bottom: 24px;
    }

    .vkh-hero h1 {
        font-size: 30px !important;
        line-height: 1.13 !important;
    }

    .vkh-source-section {
        margin-top: 34px;
    }

    .vkh-source-section h2 {
        font-size: 23px !important;
    }

    .vkh-source-step {
        margin-top: 24px !important;
        padding: 13px 13px 13px 42px;
        font-size: 16px !important;
    }

    .vkh-source-step > span {
        left: 13px;
        width: 17px;
        height: 17px;
        border-width: 4px;
    }

    .vkh-source-bullet {
        padding-left: 31px;
    }

    .vkh-source-image {
        width: calc(100% + 12px);
        margin: 20px 0 26px -6px !important;
    }

    .vkh-editor-content figure.wp-block-image,
    .vkh-editor-content figure.vkh-editor-image-figure {
        width: calc(100% + 12px);
        margin: 20px 0 27px -6px !important;
    }

    .vkh-editor-content h2 {
        font-size: 23px !important;
    }

    .vkh-editor-content h3 {
        font-size: 16px !important;
        padding: 13px 14px;
    }

    .vkh-image-button {
        border-radius: 10px;
        box-shadow: 0 8px 24px rgba(20, 40, 76, .09);
    }

    .vkh-image-button::after {
        opacity: 1;
        width: 30px;
        height: 30px;
        right: 8px;
        top: 8px;
    }

    .vkh-source-table {
        min-width: 560px;
        font-size: 11px !important;
    }

    .vkh-ascii-flow {
        font-size: 10.5px !important;
    }

    .vkh-lightbox {
        padding: 12px;
    }

    .vkh-lightbox-close {
        top: 10px;
        right: 10px;
    }

    .vkh-lightbox-stage {
        width: 100%;
        height: 94vh;
    }
}
