/**
 * Violet Vector Template - CSS
 * Modern Brutalist-Lite. Inter exclusive. Flat design, no shadows.
 * Bold 2px borders, high-contrast, violet accent (#7e22ce).
 */

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
    /* Colors */
    --vv-primary:         #7e22ce;   /* primary-container / accent */
    --vv-primary-dim:     #6200a9;   /* primary — deeper */
    --vv-primary-light:   #ddb8ff;   /* inverse-primary */
    --vv-primary-fixed:   #e4c5ff;   /* on-primary-container */
    --vv-bg:              #fbf8ff;   /* surface / background */
    --vv-surface-low:     #f4f2fd;   /* surface-container-low */
    --vv-surface:         #eeedf7;   /* surface-container */
    --vv-surface-high:    #e8e7f1;   /* surface-container-high */
    --vv-surface-highest: #e3e1ec;   /* surface-container-highest */
    --vv-white:           #ffffff;   /* surface-container-lowest */
    --vv-border:          #1a1b22;   /* on-surface — THE bold outline */
    --vv-text:            #1a1b22;   /* on-surface */
    --vv-text-secondary:  #4c4354;   /* on-surface-variant */
    --vv-text-muted:      #5f5e61;   /* secondary */
    --vv-outline:         #7e7385;   /* outline */
    --vv-outline-variant: #cfc2d6;   /* outline-variant */
    --vv-footer-bg:       #1a1b22;   /* on-surface — dark footer */
    --vv-footer-text:     #ffffff;   /* on-primary */
    --vv-footer-link:     #e3e1ec;   /* surface-variant */
    --vv-selection-bg:    #7e22ce;
    --vv-selection-text:  #e4c5ff;

    /* Typography */
    --vv-font: 'Inter', sans-serif;
    --vv-size-xl:     64px;  /* headline-xl */
    --vv-size-lg:     40px;  /* headline-lg */
    --vv-size-lg-m:   32px;  /* headline-lg-mobile */
    --vv-size-md:     24px;  /* headline-md */
    --vv-size-body-lg: 18px;
    --vv-size-body:   16px;
    --vv-size-label:  12px;  /* label-caps */

    /* Spacing */
    --vv-unit:    4px;
    --vv-gutter:  24px;
    --vv-section: 80px;

    /* Layout */
    --vv-container: 1440px;
    --vv-article-w: 768px;  /* max-w-3xl */
    --vv-hero-w:    1152px; /* max-w-6xl */

    /* Shape */
    --vv-radius:    4px;    /* Soft-Brutalist */
    --vv-radius-lg: 4px;
}

/* ============================================================
   Reset / Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--vv-font);
    font-size: var(--vv-size-body);
    line-height: 1.6;
    font-weight: 400;
    color: var(--vv-text);
    background: var(--vv-bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection { background: var(--vv-selection-bg); color: var(--vv-selection-text); }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

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

/* ============================================================
   Container
   ============================================================ */
.vv-container {
    max-width: var(--vv-container);
    margin-inline: auto;
    padding-inline: 64px;
}
@media (max-width: 767px) { .vv-container { padding-inline: 20px; } }

/* ============================================================
   Reading Progress Bar
   ============================================================ */
.vv-progress-bar {
    position: fixed;
    top: 80px; /* below header */
    left: 0;
    height: 4px;
    width: 0%;
    background: var(--vv-primary);
    z-index: 200;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* ============================================================
   Header / Nav
   ============================================================ */
.vv-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--vv-bg);
    border-bottom: 2px solid var(--vv-border);
}

.vv-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Brand */
.vv-brand { display: flex; align-items: center; flex-shrink: 0; }
.vv-brand-text {
    font-family: var(--vv-font);
    font-size: var(--vv-size-md);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--vv-primary);
    text-transform: uppercase;
    line-height: 1;
}

/* Nav right group */
.vv-nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Desktop nav */
.vv-nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.vv-nav-link {
    font-size: var(--vv-size-label);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--vv-text);
    transition: color 0.2s;
    padding-bottom: 4px;
}
.vv-nav-link:hover { color: var(--vv-primary); }
.vv-nav-link--active {
    color: var(--vv-primary);
    border-bottom: 4px solid var(--vv-primary);
}

/* Search button */
.vv-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--vv-text);
    transition: background 0.15s, color 0.15s;
}
.vv-search-btn:hover { background: var(--vv-surface-low); color: var(--vv-primary); }

/* Hamburger */
.vv-hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--vv-primary);
    padding: 4px;
}
@media (max-width: 768px) {
    .vv-hamburger { display: flex; }
    .vv-nav-links { display: none; }
}

/* Search overlay */
.vv-search-overlay {
    background: var(--vv-surface-low);
    border-top: 1px solid var(--vv-outline-variant);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}
.vv-search-overlay.is-open { max-height: 100px; }
.vv-search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
}
.vv-search-field {
    flex: 1;
    background: var(--vv-white);
    border: 2px solid var(--vv-border);
    padding: 10px 16px;
    font-family: var(--vv-font);
    font-size: var(--vv-size-label);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--vv-text);
    outline: none;
    transition: border-color 0.2s;
}
.vv-search-field:focus { border-color: var(--vv-primary); }
.vv-search-field::placeholder { color: var(--vv-outline); }
.vv-search-submit {
    background: var(--vv-primary);
    color: var(--vv-footer-text);
    border: none;
    padding: 10px 24px;
    font-family: var(--vv-font);
    font-size: var(--vv-size-label);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.15s;
}
.vv-search-submit:hover { opacity: 0.9; }
.vv-search-submit:active { transform: scale(0.95); }

/* Mobile drawer */
.vv-mobile-drawer {
    background: var(--vv-white);
    border-top: 1px solid var(--vv-outline-variant);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    display: flex;
    flex-direction: column;
}
.vv-mobile-drawer.is-open { max-height: 500px; }
.vv-mobile-link {
    display: block;
    padding: 16px 20px;
    font-size: var(--vv-size-label);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--vv-text);
    border-bottom: 1px solid var(--vv-outline-variant);
    transition: color 0.2s, background 0.2s;
}
.vv-mobile-link:hover { color: var(--vv-primary); background: var(--vv-surface-low); }

/* ============================================================
   Main
   ============================================================ */
.vv-main {
    flex: 1;
    padding-top: 80px; /* offset for fixed header */
}

/* ============================================================
   Vector Line — the signature element
   ============================================================ */
.vv-vector-line {
    height: 4px;
    background: var(--vv-primary);
    width: 100%;
    margin: var(--vv-section) 0;
}
.vv-vector-line--short {
    width: 120px;
    margin: 24px 0;
}
.vv-vector-line--flex {
    height: 4px;
    background: var(--vv-primary);
    flex: 1;
    margin: 0;
}

/* ============================================================
   Homepage
   ============================================================ */
.vv-homepage {
    padding-top: 48px;
    padding-bottom: var(--vv-section);
}

/* Grid: 3-col desktop, 2-col tablet, 1-col mobile.
   First card (featured) spans full width. */
.vv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--vv-gutter);
}
.vv-card--featured { grid-column: 1 / -1; }

@media (max-width: 1024px) { .vv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .vv-grid { grid-template-columns: 1fr; } .vv-card--featured { grid-column: 1; } }

/* Brutalist Card */
.vv-card {
    border: 2px solid var(--vv-border);
    background: var(--vv-bg);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}
.vv-card:hover {
    transform: translateY(-4px);
    border-color: var(--vv-primary);
}

/* Featured card: horizontal layout on desktop */
.vv-card--featured {
    flex-direction: row;
}
.vv-card--featured .vv-card-image-wrap {
    width: 50%;
    aspect-ratio: auto;
    border-bottom: none;
    border-right: 2px solid var(--vv-border);
}
.vv-card--featured .vv-card-body {
    width: 50%;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
@media (max-width: 768px) {
    .vv-card--featured { flex-direction: column; }
    .vv-card--featured .vv-card-image-wrap { width: 100%; border-right: none; border-bottom: 2px solid var(--vv-border); }
    .vv-card--featured .vv-card-body { width: 100%; }
}

.vv-card-image-wrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-bottom: 2px solid var(--vv-border);
}
.vv-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.vv-card:hover .vv-card-image { transform: scale(1.05); }

.vv-card-body {
    padding: var(--vv-gutter);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.vv-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.vv-card-category {
    font-size: var(--vv-size-label);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--vv-primary);
    transition: color 0.2s;
}
.vv-card-category:hover { color: var(--vv-primary-dim); }

.vv-card-date {
    font-size: var(--vv-size-label);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--vv-text-secondary);
}

.vv-card-title {
    font-size: var(--vv-size-md);
    font-weight: 700;
    line-height: 1.3;
    color: var(--vv-text);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vv-card-title a { color: inherit; transition: color 0.2s; }
.vv-card:hover .vv-card-title a { color: var(--vv-primary); }

/* Featured card title: larger */
.vv-card--featured .vv-card-title {
    font-size: var(--vv-size-lg);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    -webkit-line-clamp: unset;
}
@media (max-width: 768px) {
    .vv-card--featured .vv-card-title { font-size: var(--vv-size-lg-m); }
}

.vv-card-excerpt {
    font-size: var(--vv-size-body);
    line-height: 1.6;
    color: var(--vv-text-secondary);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* Featured card CTA button */
.vv-card-cta {
    display: inline-block;
    background: var(--vv-primary);
    color: var(--vv-footer-text);
    font-size: var(--vv-size-label);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 12px 24px;
    transition: opacity 0.15s;
    align-self: flex-start;
}
.vv-card-cta:hover { opacity: 0.9; }
.vv-card-cta:active { transform: scale(0.95); }

/* Card bottom row */
.vv-card-bottom {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--vv-outline-variant);
    padding-top: 12px;
}
.vv-card-readtime {
    font-size: var(--vv-size-label);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--vv-text);
}
.vv-card-arrow {
    color: var(--vv-primary);
    transition: transform 0.2s;
}
.vv-card:hover .vv-card-arrow { transform: translateX(4px); }

.vv-empty {
    color: var(--vv-text-muted);
    text-align: center;
    padding: var(--vv-section) 0;
    font-size: var(--vv-size-body-lg);
}

/* ============================================================
   Single Post
   ============================================================ */
.vv-single-wrap {
    padding-top: 48px;
    padding-bottom: var(--vv-section);
}

.vv-article-container {
    max-width: var(--vv-article-w);
    margin-inline: auto;
    padding-inline: 20px;
}

/* Article tag chip */
.vv-article-tag {
    display: inline-block;
    background: var(--vv-border);
    color: var(--vv-footer-text);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 4px 12px;
    margin-bottom: 24px;
    transition: background 0.2s;
}
.vv-article-tag:hover { background: var(--vv-primary); }

/* Article title */
.vv-article-title {
    font-size: var(--vv-size-lg-m);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--vv-text);
    margin-bottom: 32px;
    text-transform: uppercase;
}
@media (min-width: 768px) {
    .vv-article-title { font-size: var(--vv-size-xl); letter-spacing: -0.04em; line-height: 1.1; }
}

/* Byline */
.vv-article-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    border-top: 2px solid var(--vv-border);
    border-bottom: 2px solid var(--vv-border);
    margin-bottom: 40px;
}
.vv-byline-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.vv-byline-avatar {
    width: 40px;
    height: 40px;
    background: var(--vv-primary);
    border-radius: 50%;
    border: 2px solid var(--vv-border);
}
.vv-byline-name {
    font-size: var(--vv-size-label);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--vv-text);
}
.vv-byline-sep {
    display: none;
    width: 1px;
    height: 32px;
    background: var(--vv-outline-variant);
}
@media (min-width: 768px) { .vv-byline-sep { display: block; } }
.vv-byline-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.vv-byline-label {
    font-size: var(--vv-size-label);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--vv-text-muted);
}
.vv-byline-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--vv-text);
}

/* Hero image (wider than article body) */
.vv-article-hero {
    max-width: var(--vv-hero-w);
    margin-inline: auto;
    margin-bottom: var(--vv-section);
    padding-inline: 20px;
}
@media (min-width: 768px) { .vv-article-hero { padding-inline: 64px; } }
.vv-article-hero-inner {
    border: 2px solid var(--vv-border);
    background: var(--vv-border);
    overflow: hidden;
}
.vv-article-hero-inner img {
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    filter: grayscale(1);
    opacity: 0.9;
    transition: filter 0.7s ease, opacity 0.7s ease;
}
.vv-article-hero-inner:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* ============================================================
   Prose
   ============================================================ */
.vv-prose {
    font-size: var(--vv-size-body-lg);
    line-height: 1.6;
    color: var(--vv-text);
}
.vv-prose > * + * { margin-top: 16px; }

/* Drop cap for first paragraph */
.vv-prose > p:first-child::first-letter {
    font-size: 4.5em;
    font-weight: 900;
    color: var(--vv-primary);
    float: left;
    line-height: 0.75;
    margin-right: 12px;
    margin-top: 6px;
}

.vv-prose h2 {
    font-size: var(--vv-size-md);
    font-weight: 700;
    line-height: 1.3;
    color: var(--vv-text);
    margin-top: 48px;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.vv-prose h3 {
    font-size: var(--vv-size-body-lg);
    font-weight: 700;
    color: var(--vv-text);
    margin-top: 32px;
    margin-bottom: 8px;
}
.vv-prose p { margin-bottom: 16px; }
.vv-prose a { color: var(--vv-primary); text-decoration: underline; text-underline-offset: 4px; }
.vv-prose blockquote {
    border-left: 8px solid var(--vv-primary);
    padding: 16px 24px;
    margin-block: 48px;
    font-size: var(--vv-size-md);
    font-weight: 700;
    font-style: italic;
    line-height: 1.3;
    color: var(--vv-text);
}
.vv-prose blockquote cite {
    display: block;
    margin-top: 16px;
    font-size: var(--vv-size-label);
    font-weight: 700;
    letter-spacing: 0.1em;
    font-style: normal;
    color: var(--vv-primary);
}
.vv-prose ul, .vv-prose ol {
    padding-left: 24px;
    margin-bottom: 16px;
}
.vv-prose li { margin-bottom: 8px; }
.vv-prose strong { font-weight: 700; }
.vv-prose em { font-style: italic; }
.vv-prose code {
    font-size: 0.875em;
    background: var(--vv-surface-low);
    padding: 2px 6px;
    border: 1px solid var(--vv-outline-variant);
    font-family: monospace;
}
.vv-prose pre {
    background: var(--vv-surface-low);
    border: 2px solid var(--vv-border);
    padding: 20px;
    overflow-x: auto;
    margin-bottom: 16px;
}
.vv-prose pre code { background: none; border: none; padding: 0; }
.vv-prose img {
    width: 100%;
    border: 2px solid var(--vv-border);
    margin-block: 24px;
}
.vv-prose hr {
    border: none;
    height: 4px;
    background: var(--vv-primary);
    margin-block: 48px;
}

/* Tags */
.vv-article-tags {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 2px solid var(--vv-outline-variant);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.vv-tag {
    background: var(--vv-border);
    color: var(--vv-footer-text);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 4px 10px;
}
.vv-tag:last-child {
    background: var(--vv-primary);
}

/* Related posts */
.vv-related { margin-bottom: var(--vv-section); }
.vv-related-label {
    font-size: var(--vv-size-label);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--vv-text-muted);
    margin-bottom: 16px;
}
.vv-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--vv-gutter);
}
@media (max-width: 768px) { .vv-related-grid { grid-template-columns: 1fr; } }

.vv-related-card {
    border: 2px solid var(--vv-border);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, border-color 0.2s;
}
.vv-related-card:hover {
    transform: translateY(-4px);
    border-color: var(--vv-primary);
}
.vv-related-image-wrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-bottom: 2px solid var(--vv-border);
}
.vv-related-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 0.5s;
}
.vv-related-card:hover .vv-related-image { filter: grayscale(0); }
.vv-related-body { padding: 16px; }
.vv-related-cat {
    display: block;
    font-size: var(--vv-size-label);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--vv-primary);
    margin-bottom: 8px;
}
.vv-related-title {
    font-size: var(--vv-size-md);
    font-weight: 700;
    line-height: 1.3;
    color: var(--vv-text);
    transition: color 0.2s;
}
.vv-related-card:hover .vv-related-title { color: var(--vv-primary); }

/* ============================================================
   Page
   ============================================================ */
.vv-page-wrap {
    padding-top: 48px;
    padding-bottom: var(--vv-section);
}
.vv-page-title {
    font-size: var(--vv-size-xl);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--vv-text);
}
@media (max-width: 767px) { .vv-page-title { font-size: var(--vv-size-lg-m); } }

/* ============================================================
   Category
   ============================================================ */
.vv-category-wrap {
    padding-top: 48px;
    padding-bottom: var(--vv-section);
}
.vv-category-header { margin-bottom: 48px; }
.vv-category-header-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.vv-category-chip {
    background: var(--vv-primary);
    color: var(--vv-footer-text);
    font-size: var(--vv-size-label);
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    white-space: nowrap;
}
.vv-category-title {
    font-size: var(--vv-size-xl);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--vv-text);
    margin-bottom: 16px;
}
@media (max-width: 767px) { .vv-category-title { font-size: var(--vv-size-lg-m); } }
.vv-category-desc {
    max-width: 640px;
    font-size: var(--vv-size-body-lg);
    line-height: 1.6;
    color: var(--vv-text-muted);
}

/* ============================================================
   Search
   ============================================================ */
.vv-search-wrap {
    padding-top: 48px;
    padding-bottom: var(--vv-section);
}
.vv-search-header { margin-bottom: 48px; }
.vv-search-title {
    font-size: var(--vv-size-xl);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--vv-text);
    margin-bottom: 16px;
}
@media (max-width: 767px) { .vv-search-title { font-size: var(--vv-size-lg-m); } }
.vv-search-query { color: var(--vv-primary); }
.vv-search-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.vv-search-count {
    font-size: var(--vv-size-label);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--vv-text-muted);
}
.vv-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.vv-filter-chip {
    padding: 4px 12px;
    border: 2px solid var(--vv-border);
    font-size: var(--vv-size-label);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--vv-text);
    transition: background 0.2s, color 0.2s;
}
.vv-filter-chip:hover {
    background: var(--vv-border);
    color: var(--vv-footer-text);
}

/* Inline search form */
.vv-search-form-inline {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
}
.vv-search-field-inline {
    flex: 1;
    background: var(--vv-bg);
    border: 2px solid var(--vv-border);
    border-right: none;
    padding: 10px 16px;
    font-family: var(--vv-font);
    font-size: var(--vv-size-label);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--vv-text);
    outline: none;
    transition: border-color 0.2s;
}
.vv-search-field-inline:focus { border-color: var(--vv-primary); }
.vv-search-submit-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vv-border);
    color: var(--vv-footer-text);
    border: 2px solid var(--vv-border);
    padding: 0 16px;
    cursor: pointer;
    transition: background 0.2s;
}
.vv-search-submit-inline:hover { background: var(--vv-primary); border-color: var(--vv-primary); }

/* ============================================================
   404
   ============================================================ */
.vv-404-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: var(--vv-section) 20px;
}
.vv-404-inner { text-align: center; }
.vv-404-code {
    font-size: 140px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.06em;
    color: var(--vv-primary);
    margin-bottom: 24px;
}
.vv-404-title {
    font-size: var(--vv-size-lg);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--vv-text);
    margin-bottom: 16px;
}
.vv-404-desc {
    font-size: var(--vv-size-body-lg);
    color: var(--vv-text-secondary);
    margin-bottom: 32px;
}
.vv-404-back {
    display: inline-flex;
    align-items: center;
    background: var(--vv-border);
    color: var(--vv-footer-text);
    font-size: var(--vv-size-label);
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 14px 28px;
    border: 2px solid var(--vv-border);
    transition: background 0.2s, border-color 0.2s;
}
.vv-404-back:hover { background: var(--vv-primary); border-color: var(--vv-primary); }

/* ============================================================
   Footer
   ============================================================ */
.vv-footer {
    background: var(--vv-footer-bg);
    border-top: 4px solid var(--vv-primary);
    color: var(--vv-footer-text);
}
.vv-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    padding-block: 48px;
}
.vv-footer-brand {
    font-size: var(--vv-size-md);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--vv-footer-text);
    letter-spacing: -0.02em;
}
.vv-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}
.vv-footer-link {
    font-size: var(--vv-size-label);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--vv-footer-link);
    transition: color 0.2s;
    text-decoration: none;
}
.vv-footer-link:hover {
    color: var(--vv-primary-light);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}
.vv-footer-copy {
    font-size: var(--vv-size-label);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--vv-footer-link);
    opacity: 0.6;
    text-transform: uppercase;
}

/* ============================================================
   Pagination
   ============================================================ */
.vv-pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding-top: 48px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

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

.pagination-item { list-style: none; }

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border: 2px solid var(--vv-border);
    border-radius: 0;
    font-family: var(--vv-font);
    font-size: var(--vv-size-label);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--vv-text);
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.15s ease;
}
.pagination-link:hover {
    border-color: var(--vv-primary);
    color: var(--vv-primary);
    background: transparent;
}

.pagination-link--active,
.pagination-item.active .pagination-link {
    background: var(--vv-primary);
    border-color: var(--vv-primary);
    color: var(--vv-footer-text);
}

.pagination-dots { list-style: none; }
.pagination-dots span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    font-size: var(--vv-size-label);
    color: var(--vv-text-muted);
    cursor: default;
}

.pagination-prev,
.pagination-next {
    font-size: var(--vv-size-label);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
