/**
 * Vivid Orange Template - CSS
 * Modern brutalist dark mode with vivid #FF6B00 orange accent
 * Sharp 0px corners, grayscale imagery, Inter exclusive
 */

/* ==========================================================================
   1. CSS Variables
   ========================================================================== */
:root {
    /* Colors */
    --vo-bg: #131313;
    --vo-surface: #1c1b1b;
    --vo-surface-high: #2a2a2a;
    --vo-surface-highest: #353534;
    --vo-surface-lowest: #0e0e0e;
    --vo-border: rgba(229,226,225,0.1);
    --vo-border-strong: rgba(229,226,225,0.2);
    --vo-text: #e5e2e1;
    --vo-text-secondary: rgba(229,226,225,0.6);
    --vo-text-muted: rgba(229,226,225,0.4);
    --vo-accent: #ff6b00;
    --vo-accent-soft: #ffb693;
    --vo-accent-hover: #e06000;
    --vo-on-accent: #131313;

    /* Typography */
    --vo-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --vo-display: 72px;
    --vo-display-m: 48px;
    --vo-headline-xl: 48px;
    --vo-headline-xl-m: 32px;
    --vo-headline-md: 24px;
    --vo-body-lg: 18px;
    --vo-body-md: 16px;
    --vo-label-bold: 14px;
    --vo-label-sm: 12px;

    /* Spacing */
    --vo-xs: 4px;
    --vo-sm: 12px;
    --vo-md: 24px;
    --vo-lg: 48px;
    --vo-xl: 80px;
    --vo-gutter: 24px;
    --vo-margin-mobile: 20px;
    --vo-margin-desktop: 64px;
    --vo-container: 1440px;

    /* Radius — strictly 0 (brutalist) */
    --vo-radius: 0px;
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

.vo-body {
    font-family: var(--vo-font);
    font-size: var(--vo-body-md);
    line-height: 1.5;
    letter-spacing: 0.01em;
    color: var(--vo-text);
    background: var(--vo-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

a { color: inherit; text-decoration: none; }

::selection { background: var(--vo-accent); color: var(--vo-bg); }

/* SEO: visually hidden but accessible to crawlers and screen readers */
.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;
}

/* ==========================================================================
   3. Typography
   ========================================================================== */
.vo-display {
    font-size: var(--vo-display-m);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
}
@media (min-width: 768px) {
    .vo-display { font-size: var(--vo-display); }
}

/* ==========================================================================
   4. Layout
   ========================================================================== */
.vo-main { flex: 1; display: flex; flex-direction: column; }

.vo-page-content {
    width: 100%;
    max-width: var(--vo-container);
    margin: 0 auto;
}

/* ==========================================================================
   5. Header / Navigation
   ========================================================================== */
.vo-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--vo-bg);
    border-bottom: 2px solid var(--vo-border);
    transition: transform 0.3s ease;
}

.vo-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 8px var(--vo-margin-mobile);
    max-width: 100%;
    min-height: 56px;
}
@media (min-width: 768px) {
    .vo-header-inner { padding: 8px var(--vo-margin-desktop); min-height: 64px; }
}

.vo-brand {
    text-decoration: none;
    flex-shrink: 0;
}

.vo-brand-text {
    font-family: var(--vo-font);
    font-size: var(--vo-headline-md);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--vo-accent-soft);
    margin: 0;
    line-height: 1;
    display: block;
}

h1.vo-brand-text {
    font: inherit;
    font-family: var(--vo-font);
    font-size: var(--vo-headline-md);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--vo-accent-soft);
    margin: 0;
}

.vo-nav-desktop {
    display: none;
}
@media (min-width: 768px) {
    .vo-nav-desktop { display: flex; align-items: center; }
}

.vo-nav-links {
    display: flex;
    gap: var(--vo-lg);
    list-style: none;
    padding: 0;
    margin: 0;
}

.vo-nav-link {
    color: var(--vo-text-secondary);
    font-weight: 500;
    font-size: var(--vo-body-md);
    transition: color 0.2s ease;
    text-decoration: none;
}
.vo-nav-link:hover { color: var(--vo-accent-soft); }

.vo-header-actions {
    display: flex;
    align-items: center;
    gap: var(--vo-md);
}

.vo-search-toggle,
.vo-mobile-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--vo-accent-soft);
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}
.vo-search-toggle:hover,
.vo-mobile-toggle:hover { color: var(--vo-accent); }

.vo-mobile-toggle { display: flex; }
@media (min-width: 768px) {
    .vo-mobile-toggle { display: none; }
}

/* Search Bar */
.vo-search-bar {
    display: none;
    background: var(--vo-surface);
    border-bottom: 2px solid var(--vo-border);
    padding: var(--vo-sm) var(--vo-margin-mobile);
}
@media (min-width: 768px) {
    .vo-search-bar { padding: var(--vo-sm) var(--vo-margin-desktop); }
}
.vo-search-bar.is-open { display: block; }

.vo-search-form {
    display: flex;
    border: 2px solid var(--vo-border-strong);
    transition: border-color 0.2s ease;
}
.vo-search-form:focus-within { border-color: var(--vo-accent); }

.vo-search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--vo-text);
    font-family: var(--vo-font);
    font-size: var(--vo-label-bold);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: var(--vo-sm) var(--vo-md);
    outline: none;
}
.vo-search-input::placeholder { color: var(--vo-text-muted); }

.vo-search-submit {
    background: var(--vo-accent);
    color: var(--vo-on-accent);
    border: none;
    padding: var(--vo-sm) var(--vo-lg);
    font-family: var(--vo-font);
    font-size: var(--vo-label-bold);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.vo-search-submit:hover {
    background: var(--vo-bg);
    color: var(--vo-accent);
}

/* Mobile Drawer */
.vo-mobile-drawer {
    display: none;
    background: var(--vo-surface);
    border-bottom: 2px solid var(--vo-border);
    padding: var(--vo-md) var(--vo-margin-mobile);
}
.vo-mobile-drawer.is-open { display: block; }

.vo-mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--vo-md);
    display: flex;
    flex-direction: column;
    gap: var(--vo-xs);
}

.vo-mobile-nav-link {
    display: block;
    padding: var(--vo-sm) 0;
    color: var(--vo-text-secondary);
    font-weight: 500;
    font-size: var(--vo-body-lg);
    border-bottom: 1px solid var(--vo-border);
    transition: color 0.2s ease;
}
.vo-mobile-nav-link:hover { color: var(--vo-accent); }

.vo-mobile-search-form { display: flex; margin-top: var(--vo-sm); }
.vo-mobile-search-input {
    flex: 1;
    background: var(--vo-bg);
    border: none;
    border-bottom: 2px solid var(--vo-border-strong);
    color: var(--vo-text);
    font-family: var(--vo-font);
    font-size: var(--vo-body-md);
    padding: var(--vo-sm) var(--vo-md);
    outline: none;
    transition: border-color 0.2s ease;
}
.vo-mobile-search-input:focus { border-color: var(--vo-accent); }

/* ==========================================================================
   6. Hero Section (Homepage)
   ========================================================================== */
.vo-hero {
    width: 100%;
    padding: var(--vo-xl) var(--vo-margin-mobile) 0;
}
@media (min-width: 768px) {
    .vo-hero { padding: var(--vo-xl) var(--vo-margin-desktop) 0; }
}

.vo-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--vo-gutter);
    position: relative;
}
@media (min-width: 768px) {
    .vo-hero-grid { grid-template-columns: repeat(12, 1fr); }
}

.vo-hero-image-wrap {
    grid-column: 1 / -1;
    position: relative;
    aspect-ratio: 4/3;
    border: 2px solid var(--vo-border);
    overflow: hidden;
}
@media (min-width: 768px) {
    .vo-hero-image-wrap {
        grid-column: 5 / 13;
        aspect-ratio: 16/9;
    }
}

.vo-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 0.5s ease;
}
.vo-hero-image-wrap:hover .vo-hero-img { filter: grayscale(0); }

.vo-hero-badge {
    position: absolute;
    top: var(--vo-md);
    left: var(--vo-md);
    z-index: 10;
    background: var(--vo-accent);
    color: var(--vo-on-accent);
    padding: var(--vo-xs) var(--vo-sm);
    font-size: var(--vo-label-bold);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(19,19,19,0.2);
    transition: background 0.2s ease;
}
.vo-hero-badge:hover { background: var(--vo-accent-hover); }

.vo-hero-content {
    grid-column: 1 / -1;
    margin-top: var(--vo-md);
}
@media (min-width: 768px) {
    .vo-hero-content {
        grid-column: 1 / 8;
        grid-row: 1;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: var(--vo-margin-desktop);
        z-index: 20;
        pointer-events: none;
    }
    .vo-hero-content > article { pointer-events: auto; }
}

.vo-hero-title {
    font-size: var(--vo-display-m);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--vo-text);
    margin-bottom: var(--vo-sm);
    word-break: break-word;
}
.vo-hero-title a { color: inherit; text-decoration: none; }
.vo-hero-title a:hover { color: var(--vo-accent); }
@media (min-width: 768px) {
    .vo-hero-title { font-size: var(--vo-display); mix-blend-mode: normal; }
}

.vo-hero-excerpt {
    font-size: var(--vo-body-lg);
    line-height: 1.55;
    color: var(--vo-text-secondary);
    max-width: 28rem;
    margin-top: var(--vo-md);
}
@media (min-width: 768px) {
    .vo-hero-excerpt {
        background: rgba(19,19,19,0.9);
        padding: var(--vo-md);
        border-left: 2px solid var(--vo-accent);
    }
}

.vo-read-link {
    display: inline-flex;
    align-items: center;
    gap: var(--vo-sm);
    margin-top: var(--vo-lg);
    color: var(--vo-accent);
    font-size: var(--vo-label-bold);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s ease;
}
.vo-read-link:hover { color: var(--vo-accent-soft); }
.vo-read-link svg { transition: transform 0.2s ease; }
.vo-read-link:hover svg { transform: translateX(4px); }

/* ==========================================================================
   7. Post Cards / Article Components
   ========================================================================== */

/* -- Latest Section -- */
.vo-latest {
    width: 100%;
    padding: var(--vo-xl) var(--vo-margin-mobile);
    border-top: 2px solid var(--vo-border);
}
@media (min-width: 768px) {
    .vo-latest { padding: var(--vo-xl) var(--vo-margin-desktop); }
}

.vo-latest-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--vo-lg);
}

.vo-section-title {
    font-size: var(--vo-headline-xl-m);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--vo-text);
}
@media (min-width: 768px) {
    .vo-section-title { font-size: var(--vo-headline-xl); }
}

/* Asymmetric Grid */
.vo-asymmetric-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--vo-gutter);
}

.vo-grid-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--vo-gutter);
}
@media (min-width: 768px) {
    .vo-grid-row { grid-template-columns: 7fr 5fr; }
    .vo-grid-row--inverted { grid-template-columns: 5fr 7fr; }
    .vo-grid-row--inverted .vo-card--large { order: 2; }
    .vo-grid-row--inverted .vo-card-stack { order: 1; }
}

/* Large Card */
.vo-card {
    background: var(--vo-surface);
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.vo-card:hover { border-color: var(--vo-accent); }

.vo-card--large { }

.vo-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-bottom: 2px solid var(--vo-border);
    overflow: hidden;
    display: block;
}

.vo-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 0.5s ease, transform 0.5s ease;
}
.vo-card:hover .vo-card-img { filter: grayscale(0); transform: scale(1.05); }

.vo-card-badge {
    position: absolute;
    top: var(--vo-sm);
    right: var(--vo-sm);
    background: var(--vo-bg);
    color: var(--vo-accent);
    padding: var(--vo-xs) var(--vo-sm);
    font-size: var(--vo-label-sm);
    font-weight: 500;
    text-transform: uppercase;
    border: 1px solid var(--vo-accent);
}

.vo-card-body {
    padding: var(--vo-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
@media (min-width: 768px) {
    .vo-card-body { padding: var(--vo-lg); }
}

.vo-card-title {
    font-size: var(--vo-headline-md);
    font-weight: 700;
    line-height: 1.17;
    color: var(--vo-text);
    margin-bottom: var(--vo-sm);
    transition: color 0.2s ease;
}
.vo-card-title a { color: inherit; text-decoration: none; }
.vo-card:hover .vo-card-title { color: var(--vo-accent); }

.vo-card-excerpt {
    font-size: var(--vo-body-md);
    line-height: 1.5;
    color: var(--vo-text-secondary);
    margin-bottom: var(--vo-md);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vo-card-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: var(--vo-sm);
    color: var(--vo-text-muted);
    font-size: var(--vo-label-sm);
    font-weight: 500;
}

.vo-dot {
    width: 4px;
    height: 4px;
    background: var(--vo-accent);
    flex-shrink: 0;
}

/* Small Horizontal Card */
.vo-card-stack {
    display: flex;
    flex-direction: column;
    gap: var(--vo-gutter);
}

.vo-card--small {
    flex-direction: column;
    height: 100%;
}
@media (min-width: 640px) {
    .vo-card--small { flex-direction: row; }
}

.vo-card-sm-img-wrap {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-bottom: 2px solid var(--vo-border);
    display: block;
}
@media (min-width: 640px) {
    .vo-card-sm-img-wrap {
        width: 40%;
        aspect-ratio: auto;
        border-bottom: none;
        border-right: 2px solid var(--vo-border);
        flex-shrink: 0;
    }
}

.vo-card-sm-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 0.5s ease, transform 0.5s ease;
}
.vo-card:hover .vo-card-sm-img { filter: grayscale(0); transform: scale(1.05); }

.vo-card-sm-body {
    padding: var(--vo-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    flex: 1;
}

.vo-card-sm-cat {
    position: absolute;
    top: var(--vo-sm);
    right: var(--vo-sm);
    color: var(--vo-accent);
    font-size: var(--vo-label-sm);
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s ease;
}
.vo-card-sm-cat:hover { color: var(--vo-accent-soft); }

.vo-card-sm-title {
    font-size: var(--vo-body-lg);
    font-weight: 700;
    line-height: 1.55;
    color: var(--vo-text);
    margin-bottom: var(--vo-sm);
    padding-right: var(--vo-lg);
    transition: color 0.2s ease;
}
.vo-card-sm-title a { color: inherit; text-decoration: none; }
.vo-card:hover .vo-card-sm-title { color: var(--vo-accent); }

/* ==========================================================================
   8. Single Post Styles
   ========================================================================== */
.vo-article {
    padding: 0 var(--vo-margin-mobile);
}
@media (min-width: 768px) {
    .vo-article { padding: 0 var(--vo-margin-desktop); }
}

.vo-article-header {
    padding-top: var(--vo-xl);
    margin-bottom: var(--vo-lg);
}

.vo-article-header-text {
    max-width: 900px;
    margin-bottom: var(--vo-lg);
}

.vo-accent-bar {
    width: 64px;
    height: 8px;
    background: var(--vo-accent);
    margin-bottom: var(--vo-md);
}
.vo-accent-bar--center { margin-left: auto; margin-right: auto; }

.vo-article-cat {
    display: inline-block;
    color: var(--vo-accent);
    font-size: var(--vo-label-bold);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: var(--vo-sm);
    transition: color 0.2s ease;
}
.vo-article-cat:hover { color: var(--vo-accent-soft); }

.vo-article-title {
    font-size: var(--vo-display-m);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--vo-text);
    margin-bottom: var(--vo-sm);
}
@media (min-width: 768px) {
    .vo-article-title { font-size: var(--vo-display); }
}

.vo-article-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--vo-sm);
    font-size: var(--vo-label-bold);
    font-weight: 700;
    color: var(--vo-accent-soft);
}

.vo-byline-author { color: var(--vo-accent-soft); }
.vo-byline-sep { color: var(--vo-text-muted); }

.vo-article-hero {
    margin-bottom: var(--vo-lg);
}

.vo-article-hero-fig {
    position: relative;
    width: 100%;
    border: 2px solid var(--vo-border);
    overflow: hidden;
}

.vo-article-hero-img {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: cover;
    filter: grayscale(1);
    opacity: 0.8;
    transition: filter 0.5s ease;
}
.vo-article-hero-fig:hover .vo-article-hero-img { filter: grayscale(0); }

.vo-article-hero-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 33%;
    height: 25%;
    background: var(--vo-accent);
    mix-blend-mode: multiply;
    opacity: 0.5;
    pointer-events: none;
}

/* Article Grid: sidebar + content */
.vo-article-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--vo-gutter);
}
@media (min-width: 768px) {
    .vo-article-grid {
        grid-template-columns: repeat(12, 1fr);
    }
}

.vo-article-sidebar {
    display: none;
}
@media (min-width: 768px) {
    .vo-article-sidebar {
        display: block;
        grid-column: 1 / 4;
        border-top: 2px solid var(--vo-border);
        padding-top: var(--vo-md);
    }
}

.vo-article-sidebar-inner {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: var(--vo-lg);
}

.vo-sidebar-section {}

.vo-sidebar-label {
    font-size: var(--vo-label-bold);
    font-weight: 700;
    color: var(--vo-text-secondary);
    margin-bottom: var(--vo-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vo-sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--vo-xs);
}

.vo-sidebar-tag {
    background: var(--vo-surface-high);
    color: var(--vo-accent-soft);
    padding: var(--vo-xs) var(--vo-sm);
    font-size: var(--vo-label-sm);
    font-weight: 500;
    border: 1px solid var(--vo-border);
}

.vo-sidebar-share {
    display: flex;
    gap: var(--vo-sm);
}

.vo-share-link {
    color: var(--vo-accent-soft);
    transition: color 0.2s ease;
}
.vo-share-link:hover { color: var(--vo-text); }

.vo-article-content {
    grid-column: 1 / -1;
}
@media (min-width: 768px) {
    .vo-article-content { grid-column: 5 / 12; }
}

.vo-article-tags-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: var(--vo-xs);
    margin-top: var(--vo-lg);
    padding-top: var(--vo-lg);
    border-top: 2px solid var(--vo-border);
}

.vo-tag {
    background: var(--vo-surface-high);
    color: var(--vo-accent-soft);
    padding: var(--vo-xs) var(--vo-sm);
    font-size: var(--vo-label-sm);
    font-weight: 500;
    border: 1px solid var(--vo-border);
}

/* Related Posts */
.vo-related {
    padding: var(--vo-xl) var(--vo-margin-mobile);
    border-top: 2px solid var(--vo-border);
    margin-top: var(--vo-xl);
}
@media (min-width: 768px) {
    .vo-related { padding: var(--vo-xl) var(--vo-margin-desktop); }
}

.vo-related-header {
    display: flex;
    align-items: center;
    gap: var(--vo-md);
    margin-bottom: var(--vo-lg);
}

.vo-related-label {
    font-size: var(--vo-headline-md);
    font-weight: 700;
    color: var(--vo-text);
    white-space: nowrap;
    margin: 0;
}

.vo-accent-line {
    flex: 1;
    height: 4px;
    background: var(--vo-accent);
}

.vo-related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--vo-gutter);
}
@media (min-width: 640px) {
    .vo-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .vo-related-grid { grid-template-columns: repeat(3, 1fr); }
}

.vo-card--related .vo-card-img-wrap { aspect-ratio: 16/9; }

/* ==========================================================================
   9. Archive / Category Styles
   ========================================================================== */
.vo-archive-header {
    padding: var(--vo-xl) var(--vo-margin-mobile) var(--vo-lg);
}
@media (min-width: 768px) {
    .vo-archive-header { padding: var(--vo-xl) var(--vo-margin-desktop) var(--vo-lg); max-width: 50%; }
}

.vo-archive-label {
    display: block;
    font-size: var(--vo-label-bold);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--vo-accent);
    margin-bottom: var(--vo-sm);
}

.vo-archive-title {
    display: block;
    font-size: var(--vo-display-m);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--vo-text);
    margin-bottom: var(--vo-md);
}
@media (min-width: 768px) {
    .vo-archive-title { font-size: var(--vo-display); }
}

.vo-archive-desc {
    font-size: var(--vo-body-lg);
    line-height: 1.55;
    color: var(--vo-text-secondary);
    margin-bottom: var(--vo-md);
}

.vo-archive-count {
    display: block;
    font-size: var(--vo-label-sm);
    font-weight: 500;
    color: var(--vo-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Masonry Grid */
.vo-masonry {
    column-count: 1;
    column-gap: var(--vo-gutter);
    padding: 0 var(--vo-margin-mobile) var(--vo-xl);
}
@media (min-width: 768px) {
    .vo-masonry { column-count: 2; padding: 0 var(--vo-margin-desktop) var(--vo-xl); }
}
@media (min-width: 1440px) {
    .vo-masonry { column-count: 3; column-gap: 32px; }
}

.vo-masonry-card {
    break-inside: avoid;
    margin-bottom: var(--vo-gutter);
    background: var(--vo-surface);
    border: 1px solid var(--vo-border);
    cursor: pointer;
    transition: border-color 0.3s ease;
}
.vo-masonry-card:hover { border-color: var(--vo-accent); }

.vo-masonry-img-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: block;
    height: 256px;
}
.vo-masonry-img-wrap.vo-masonry-img--tall { height: 384px; }

.vo-masonry-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 0.5s ease, transform 0.5s ease;
}
.vo-masonry-card:hover .vo-masonry-img { filter: grayscale(0); transform: scale(1.05); }

.vo-masonry-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--vo-accent);
    color: var(--vo-on-accent);
    padding: 4px 12px;
    font-size: var(--vo-label-bold);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.vo-masonry-badge-wrap {
    padding: var(--vo-md) var(--vo-md) 0;
}

.vo-masonry-badge-outline {
    display: inline-block;
    color: var(--vo-accent);
    border: 1px solid var(--vo-accent);
    padding: 4px 12px;
    font-size: var(--vo-label-bold);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
.vo-masonry-badge-outline:hover {
    background: var(--vo-accent);
    color: var(--vo-on-accent);
}

.vo-masonry-body { padding: var(--vo-md); }

.vo-masonry-title {
    font-size: var(--vo-headline-xl-m);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--vo-text);
    margin-bottom: var(--vo-sm);
    transition: color 0.2s ease;
}
.vo-masonry-card:first-child .vo-masonry-title {
    font-size: var(--vo-headline-xl-m);
}
.vo-masonry-title a { color: inherit; text-decoration: none; }
.vo-masonry-card:hover .vo-masonry-title { color: var(--vo-accent); }

.vo-masonry-card:not(.vo-masonry-card--tall) .vo-masonry-title {
    font-size: var(--vo-headline-md);
}

.vo-masonry-excerpt {
    font-size: var(--vo-body-md);
    line-height: 1.5;
    color: var(--vo-text-secondary);
    margin-bottom: var(--vo-md);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   10. Search Styles
   ========================================================================== */
.vo-search-header {
    padding: var(--vo-xl) var(--vo-margin-mobile) var(--vo-lg);
}
@media (min-width: 768px) {
    .vo-search-header { padding: var(--vo-xl) var(--vo-margin-desktop) var(--vo-lg); }
}

.vo-search-info {
    font-size: var(--vo-headline-xl-m);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--vo-text);
    margin-bottom: var(--vo-md);
}
@media (min-width: 768px) {
    .vo-search-info { font-size: var(--vo-headline-xl); }
}

.vo-search-query { color: var(--vo-accent); }
.vo-search-total {
    display: block;
    font-size: var(--vo-label-sm);
    font-weight: 500;
    color: var(--vo-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: var(--vo-sm);
}

.vo-search-page-form {
    display: flex;
    border: 2px solid var(--vo-border-strong);
    max-width: 600px;
    transition: border-color 0.2s ease;
}
.vo-search-page-form:focus-within { border-color: var(--vo-accent); }

.vo-search-page-input {
    flex: 1;
    background: var(--vo-surface);
    border: none;
    color: var(--vo-text);
    font-family: var(--vo-font);
    font-size: var(--vo-body-md);
    padding: var(--vo-sm) var(--vo-md);
    outline: none;
}
.vo-search-page-input::placeholder { color: var(--vo-text-muted); }

.vo-search-page-btn {
    background: var(--vo-accent);
    color: var(--vo-on-accent);
    border: none;
    padding: var(--vo-sm) var(--vo-lg);
    font-family: var(--vo-font);
    font-size: var(--vo-label-bold);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}
.vo-search-page-btn:hover {
    background: var(--vo-bg);
    color: var(--vo-accent);
}

.vo-search-results {
    padding: 0 var(--vo-margin-mobile) var(--vo-xl);
    display: flex;
    flex-direction: column;
    gap: 0;
}
@media (min-width: 768px) {
    .vo-search-results { padding: 0 var(--vo-margin-desktop) var(--vo-xl); }
}

.vo-search-item {
    display: flex;
    flex-direction: column;
    gap: var(--vo-md);
    padding: var(--vo-md) 0;
    border-bottom: 1px solid var(--vo-border);
    transition: background 0.2s ease;
}
@media (min-width: 640px) {
    .vo-search-item { flex-direction: row; }
}
.vo-search-item:hover { background: rgba(255,107,0,0.03); }

.vo-search-item-img-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    flex-shrink: 0;
    display: block;
}
@media (min-width: 640px) {
    .vo-search-item-img-wrap { width: 200px; aspect-ratio: auto; height: 140px; }
}

.vo-search-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    transition: filter 0.4s ease;
}
.vo-search-item:hover .vo-search-item-img { filter: grayscale(0); }

.vo-search-item-body { flex: 1; }

.vo-search-item-title {
    font-size: var(--vo-headline-md);
    font-weight: 700;
    line-height: 1.17;
    color: var(--vo-text);
    margin-bottom: var(--vo-xs);
    transition: color 0.2s ease;
}
.vo-search-item-title a { color: inherit; text-decoration: none; }
.vo-search-item:hover .vo-search-item-title { color: var(--vo-accent); }

.vo-search-item-excerpt {
    font-size: var(--vo-body-md);
    line-height: 1.5;
    color: var(--vo-text-secondary);
    margin-bottom: var(--vo-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   11. 404 Page Styles
   ========================================================================== */
.vo-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--vo-xl) var(--vo-margin-mobile);
    min-height: 60vh;
}

.vo-error-code {
    font-size: 120px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.06em;
    color: var(--vo-accent);
    margin-bottom: var(--vo-md);
}
@media (min-width: 768px) {
    .vo-error-code { font-size: 200px; }
}

.vo-error-title {
    font-size: var(--vo-headline-xl-m);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--vo-text);
    margin-bottom: var(--vo-md);
}
@media (min-width: 768px) {
    .vo-error-title { font-size: var(--vo-headline-xl); }
}

.vo-error-desc {
    font-size: var(--vo-body-lg);
    color: var(--vo-text-secondary);
    max-width: 500px;
    margin-bottom: var(--vo-lg);
}

/* ==========================================================================
   12. Footer
   ========================================================================== */
.vo-footer {
    background: var(--vo-surface-lowest);
    border-top: 2px solid var(--vo-border);
    margin-top: var(--vo-xl);
}

.vo-footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--vo-md);
    padding: var(--vo-lg) var(--vo-margin-mobile);
    text-align: center;
}
@media (min-width: 768px) {
    .vo-footer-inner {
        flex-direction: row;
        justify-content: space-between;
        padding: var(--vo-lg) var(--vo-margin-desktop);
        text-align: left;
    }
}

.vo-footer-brand {
    font-size: var(--vo-headline-md);
    font-weight: 900;
    color: var(--vo-accent-soft);
    letter-spacing: -0.04em;
}

.vo-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--vo-md);
}

.vo-footer-link {
    font-size: var(--vo-label-sm);
    font-weight: 500;
    color: var(--vo-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}
.vo-footer-link:hover { color: var(--vo-accent-soft); text-decoration: underline; }

.vo-footer-copy {
    font-size: var(--vo-label-sm);
    font-weight: 500;
    color: var(--vo-text-muted);
}

/* ==========================================================================
   13. Buttons
   ========================================================================== */
.vo-btn-primary {
    display: inline-block;
    background: var(--vo-accent);
    color: var(--vo-on-accent);
    font-family: var(--vo-font);
    font-size: var(--vo-label-bold);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: var(--vo-md) var(--vo-lg);
    border: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.vo-btn-primary:hover {
    background: var(--vo-bg);
    color: var(--vo-accent);
    border-color: var(--vo-accent);
}

/* ==========================================================================
   14. Pagination — CMS standard classes
   ========================================================================== */
.pagination {
    display: flex;
    justify-content: center;
    margin: 2rem var(--vo-margin-mobile);
    --pagination-border: var(--vo-border);
    --pagination-text: var(--vo-text-secondary);
    --pagination-accent: var(--vo-accent);
    --pagination-hover-bg: rgba(255, 107, 0, 0.08);
    --pagination-muted: var(--vo-text-muted);
}
@media (min-width: 768px) {
    .pagination { margin: 2rem var(--vo-margin-desktop); }
}

.pagination-list {
    display: flex;
    align-items: center;
    gap: 6px;
    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: 36px;
    height: 36px;
    padding: 0 10px;
    border: 2px solid var(--pagination-border);
    font-size: 14px;
    font-weight: 700;
    color: var(--pagination-text);
    text-decoration: none;
    line-height: 1;
    transition: all 0.15s ease;
}

.pagination-link:hover {
    border-color: var(--pagination-accent);
    color: var(--pagination-accent);
    background: var(--pagination-hover-bg);
}

.pagination-link--active,
.pagination-item.active .pagination-link {
    background: var(--pagination-accent);
    border-color: var(--pagination-accent);
    color: var(--vo-on-accent);
}

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

.pagination-dots span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    font-size: 14px;
    color: var(--pagination-muted);
    cursor: default;
}

.pagination-prev,
.pagination-next { white-space: nowrap; }

/* ==========================================================================
   15. Utility Classes
   ========================================================================== */
.vo-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--vo-xl) var(--vo-margin-mobile);
    min-height: 40vh;
    color: var(--vo-text-secondary);
}

.vo-empty-title {
    font-size: var(--vo-headline-md);
    font-weight: 700;
    color: var(--vo-text);
    margin-bottom: var(--vo-sm);
}

/* ==========================================================================
   16. Prose / Content Styles
   ========================================================================== */
.vo-prose {
    font-size: var(--vo-body-lg);
    line-height: 1.55;
    color: rgba(229,226,225,0.9);
}

.vo-prose > * + * { margin-top: 1.5em; }

.vo-prose h2 {
    font-size: var(--vo-headline-xl-m);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--vo-text);
    margin-top: 2.5em;
}
@media (min-width: 768px) {
    .vo-prose h2 { font-size: var(--vo-headline-xl); }
}

.vo-prose h3 {
    font-size: var(--vo-headline-md);
    font-weight: 700;
    line-height: 1.17;
    color: var(--vo-text);
    margin-top: 2em;
}

.vo-prose h4 {
    font-size: var(--vo-body-lg);
    font-weight: 700;
    color: var(--vo-text);
    margin-top: 1.5em;
}

.vo-prose p { margin-top: 1.25em; }

.vo-prose a {
    color: var(--vo-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}
.vo-prose a:hover { color: var(--vo-accent-soft); }

.vo-prose strong { font-weight: 700; color: var(--vo-text); }
.vo-prose em { font-style: italic; }

.vo-prose ul,
.vo-prose ol {
    padding-left: 1.5em;
    margin-top: 1em;
}
.vo-prose ul { list-style: disc; }
.vo-prose ol { list-style: decimal; }
.vo-prose li { margin-top: 0.5em; }
.vo-prose li::marker { color: var(--vo-accent); }

.vo-prose blockquote {
    margin: 2em 0;
    padding: var(--vo-sm) var(--vo-md);
    border-left: 8px solid var(--vo-accent);
    background: var(--vo-surface-lowest);
    font-size: var(--vo-headline-xl-m);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--vo-text);
    position: relative;
    overflow: hidden;
}

.vo-prose pre {
    background: var(--vo-surface);
    border: 1px solid var(--vo-border);
    padding: var(--vo-md);
    overflow-x: auto;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: var(--vo-text);
}

.vo-prose code {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.9em;
    background: var(--vo-surface-high);
    padding: 2px 6px;
    color: var(--vo-accent-soft);
}

.vo-prose pre code {
    background: none;
    padding: 0;
    color: inherit;
}

.vo-prose img {
    max-width: 100%;
    height: auto;
    border: 2px solid var(--vo-border);
    filter: grayscale(0.3);
}

.vo-prose figure {
    margin: 2em 0;
    border: 2px solid var(--vo-border);
    padding: var(--vo-sm);
    background: var(--vo-surface-high);
}

.vo-prose figcaption {
    margin-top: var(--vo-sm);
    font-size: var(--vo-label-sm);
    color: var(--vo-text-secondary);
    border-top: 1px solid var(--vo-border);
    padding-top: var(--vo-xs);
}

.vo-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: var(--vo-body-md);
}

.vo-prose th,
.vo-prose td {
    border: 1px solid var(--vo-border);
    padding: var(--vo-sm) var(--vo-md);
    text-align: left;
}

.vo-prose th {
    background: var(--vo-surface-high);
    font-weight: 700;
    color: var(--vo-text);
    text-transform: uppercase;
    font-size: var(--vo-label-bold);
    letter-spacing: 0.05em;
}

.vo-prose hr {
    border: none;
    height: 2px;
    background: var(--vo-border);
    margin: 2em 0;
}

/* ==========================================================================
   16b. Static Page Styles
   ========================================================================== */
.vo-static-page {
    padding: 0 var(--vo-margin-mobile);
}
@media (min-width: 768px) {
    .vo-static-page { padding: 0 var(--vo-margin-desktop); }
}

.vo-static-header {
    text-align: center;
    max-width: 56rem;
    margin: 0 auto;
    padding-top: var(--vo-xl);
    margin-bottom: var(--vo-lg);
}

.vo-static-title {
    font-size: var(--vo-display-m);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--vo-text);
}
@media (min-width: 768px) {
    .vo-static-title { font-size: var(--vo-display); }
}

.vo-static-image {
    max-width: 48rem;
    margin: 0 auto var(--vo-lg);
    border: 2px solid var(--vo-border);
    padding: var(--vo-sm);
    background: var(--vo-surface);
}

.vo-static-img {
    width: 100%;
    height: auto;
    filter: grayscale(1);
    contrast: 1.25;
}

.vo-static-body {
    max-width: 48rem;
    margin: 0 auto;
}

/* ==========================================================================
   17. Responsive
   ========================================================================== */
@media (max-width: 767px) {
    .vo-hero-grid { display: block; }
    .vo-hero-content { position: static; transform: none; pointer-events: auto; }
    .vo-hero-excerpt { background: none; padding: 0; border-left: none; }

    .vo-article-grid { display: block; }
    .vo-article-sidebar { display: none; }

    .vo-grid-row { display: block; }
    .vo-grid-row--inverted .vo-card--large,
    .vo-grid-row--inverted .vo-card-stack { order: unset; }

    .vo-card--small { flex-direction: column; }
    .vo-card-sm-img-wrap {
        width: 100%;
        border-right: none;
        border-bottom: 2px solid var(--vo-border);
    }

    .vo-card-stack { gap: var(--vo-md); margin-top: var(--vo-md); }

    .vo-footer-inner { flex-direction: column; text-align: center; }
}

/* Scroll reveal animation */
.vo-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.vo-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
