/* =============================================================================
   NEON TV Vremeplov — stil
   Papir + tinta + jedna akcentna boja (podešava se u adminu)
   ============================================================================= */
:root {
    --paper: #f5f2ec;
    --paper-2: #ece7de;
    --card: #ffffff;
    --ink: #121722;
    --ink-2: #353c4c;
    --muted: #6d7381;
    --line: #e1dacd;
    --line-2: #d3cbbb;
    --navy: #0d1526;
    --navy-2: #172340;
    --accent: #e4572e;
    --accent-rgb: 228, 87, 46;
    --accent-soft: rgba(var(--accent-rgb), .1);
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 1px 2px rgba(18, 23, 34, .04), 0 8px 24px -12px rgba(18, 23, 34, .18);
    --shadow-lg: 0 2px 4px rgba(18, 23, 34, .05), 0 24px 48px -20px rgba(18, 23, 34, .35);
    --serif: "Fraunces", Georgia, "Times New Roman", serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --tabbar-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--ink-2);
    background: var(--paper);
    padding-bottom: var(--tabbar-h);
    -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--ink); margin: 0; }
p { margin: 0; }
.vp-i { flex: none; }
.vp-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.vp-muted { color: var(--muted); font-size: 14px; }

/* ---------- Dugmad ---------- */
.vp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 18px; border-radius: 999px; border: 0;
    background: var(--accent); color: #fff; font: 600 14.5px/1 var(--sans);
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform .15s, box-shadow .2s, background .2s;
    box-shadow: 0 6px 16px -8px rgba(var(--accent-rgb), .8);
}
.vp-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(var(--accent-rgb), .9); }
.vp-btn--ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.vp-btn--ghost:hover { border-color: var(--ink); box-shadow: none; }
.vp-btn--ghost .vp-i { transition: transform .4s; }
.vp-btn--ghost.is-loading .vp-i { transform: rotate(180deg); }
.vp-btn--ghost-light { background: rgba(255,255,255,.1); color: #fff; box-shadow: none; border: 1px solid rgba(255,255,255,.2); }
.vp-round-btn {
    width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
    border: 1px solid var(--line-2); background: var(--card); color: var(--ink); text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
}
.vp-round-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Zaglavlje ---------- */
.vp-top {
    position: sticky; top: 0; z-index: 50;
    background: rgba(13, 21, 38, .92);
    backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.vp-top-in { display: flex; align-items: center; gap: 24px; height: 66px; }
.vp-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; flex: none; }
.vp-brand-txt { display: flex; flex-direction: column; line-height: 1.05; }
.vp-brand-txt strong { font: 800 17px/1.1 var(--sans); letter-spacing: .6px; text-transform: uppercase; }
.vp-brand-txt em { font: italic 600 15px/1.1 var(--serif); color: rgba(255,255,255,.65); }
.vp-nav { display: flex; gap: 2px; margin-left: 8px; }
.vp-nav a {
    color: rgba(255,255,255,.72); text-decoration: none; font-weight: 500; font-size: 14.5px;
    padding: 8px 13px; border-radius: 999px; transition: color .2s, background .2s;
}
.vp-nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.vp-nav a.is-active { color: #fff; background: rgba(var(--accent-rgb), .9); }
.vp-top-search {
    margin-left: auto; display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
    border-radius: 999px; padding: 0 14px; height: 40px; width: 260px; color: rgba(255,255,255,.6);
    transition: background .2s, width .3s;
}
.vp-top-search:focus-within { background: rgba(255,255,255,.14); width: 300px; }
.vp-top-search input { background: none; border: 0; outline: 0; color: #fff; font: 14.5px var(--sans); width: 100%; }
.vp-top-search input::placeholder { color: rgba(255,255,255,.5); }
.vp-search-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.vp-mobile-search { display: none; padding: 0 0 12px; }
.vp-mobile-search .vp-wrap { display: flex; gap: 8px; }
.vp-mobile-search input { flex: 1; min-width: 0; height: 44px; border-radius: 999px; border: 0; padding: 0 18px; font: 16px var(--sans); }
.vp-top.search-open .vp-mobile-search { display: block; }

/* ---------- Hero ---------- */
.vp-hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(900px 420px at 85% 0%, rgba(var(--accent-rgb), .28), transparent 60%),
        radial-gradient(700px 400px at 0% 100%, rgba(56, 120, 255, .18), transparent 60%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
    color: rgba(255,255,255,.78);
    padding: 54px 0 22px;
}
.vp-hero::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.vp-hero-in { position: relative; display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: center; }
.vp-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase;
    color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); padding: 7px 13px; border-radius: 999px;
}
.vp-hero h1 {
    font: 700 clamp(32px, 5vw, 56px)/1.04 var(--serif); color: #fff; letter-spacing: -1.2px; margin: 20px 0 16px; max-width: 760px;
}
.vp-hero h1 span { font-style: italic; color: var(--accent); filter: brightness(1.15); }
.vp-hero-copy > p { font-size: 17px; max-width: 620px; }
.vp-hero-search {
    display: flex; align-items: center; gap: 10px; margin-top: 26px; max-width: 620px;
    background: #fff; border-radius: 999px; padding: 6px 6px 6px 20px; color: var(--muted);
    box-shadow: 0 18px 40px -18px rgba(0,0,0,.6);
}
.vp-hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: 16px var(--sans); color: var(--ink); background: none; padding: 10px 0; }
.vp-hero-search--light { border: 1px solid var(--line); box-shadow: var(--shadow); }
.vp-stats { display: flex; flex-wrap: wrap; gap: 12px 34px; margin-top: 30px; }
.vp-stats div { display: flex; flex-direction: column; }
.vp-stats strong { font: 700 26px/1.1 var(--serif); color: #fff; }
.vp-stats span { font-size: 13px; color: rgba(255,255,255,.55); }

/* list kalendara */
.vp-leaf {
    position: relative; display: flex; flex-direction: column; align-items: center; text-decoration: none;
    background: #fbf8f2; color: var(--ink); border-radius: 22px; padding: 30px 22px 0; overflow: hidden;
    box-shadow: 0 30px 60px -24px rgba(0,0,0,.7), 0 0 0 6px rgba(255,255,255,.04);
    transform: rotate(2.5deg); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.vp-leaf:hover { transform: rotate(0deg) translateY(-4px); }
.vp-leaf::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 18px; background: var(--accent); }
.vp-leaf-rings { position: absolute; top: 6px; left: 0; right: 0; display: flex; justify-content: space-around; padding: 0 60px; }
.vp-leaf-rings i { width: 10px; height: 22px; border-radius: 6px; background: var(--navy); box-shadow: inset 0 -3px 0 rgba(255,255,255,.15); }
.vp-leaf-top { margin-top: 12px; font-weight: 600; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.vp-leaf-day { font: 800 112px/0.95 var(--serif); color: var(--ink); letter-spacing: -4px; margin-top: 6px; }
.vp-leaf-month { font: italic 600 26px/1 var(--serif); color: var(--accent); margin-top: 4px; }
.vp-leaf-foot {
    display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; text-align: center;
    margin: 22px -22px 0; width: calc(100% + 44px); padding: 14px 18px; background: var(--paper-2);
    border-top: 1px dashed var(--line-2); font-size: 13.5px; color: var(--ink-2);
}
.vp-leaf-foot strong { color: var(--ink); }

/* ---------- Traka godina ---------- */
.vp-ribbon-label { display: flex; justify-content: space-between; align-items: center; margin: 40px 0 8px; font-size: 12.5px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 600; color: rgba(255,255,255,.55); }
.vp-ribbon-label a { color: #fff; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; text-transform: none; letter-spacing: 0; font-size: 14px; }
.vp-ribbon { overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; }
.vp-ribbon::-webkit-scrollbar { display: none; }
.vp-ribbon-track { display: flex; align-items: flex-end; gap: 6px; height: 132px; min-width: max-content; padding-top: 6px; }
.vp-ribbon-item {
    width: 54px; flex: none; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
    text-decoration: none; color: rgba(255,255,255,.6); position: relative;
}
.vp-ribbon-bar {
    width: 100%; height: calc(var(--h) * 0.78); min-height: 5px; border-radius: 8px 8px 3px 3px;
    background: linear-gradient(180deg, rgba(255,255,255,.32), rgba(255,255,255,.12));
    transition: background .2s, transform .2s; transform-origin: bottom;
}
.vp-ribbon-n { font-size: 11px; margin-bottom: 4px; opacity: 0; transition: opacity .2s; white-space: nowrap; }
.vp-ribbon-y { font-size: 12.5px; font-weight: 600; margin-top: 7px; }
.vp-ribbon-item:hover .vp-ribbon-bar, .vp-ribbon-item.is-active .vp-ribbon-bar { background: var(--accent); }
.vp-ribbon-item:hover .vp-ribbon-n, .vp-ribbon-item.is-active .vp-ribbon-n { opacity: 1; }
.vp-ribbon-item:hover, .vp-ribbon-item.is-active { color: #fff; }
/* traka na svijetloj pozadini */
.vp-page-head .vp-ribbon-item { color: var(--muted); }
.vp-page-head .vp-ribbon-bar { background: linear-gradient(180deg, var(--line-2), var(--paper-2)); }
.vp-page-head .vp-ribbon-item:hover, .vp-page-head .vp-ribbon-item.is-active { color: var(--ink); }
.vp-page-head .vp-ribbon-item:hover .vp-ribbon-bar, .vp-page-head .vp-ribbon-item.is-active .vp-ribbon-bar { background: var(--accent); }
.vp-page-head .vp-ribbon-track { height: 110px; }

/* ---------- Sekcije ---------- */
.vp-main { min-height: 60vh; }
.vp-section { padding-top: 48px; }
.vp-sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.vp-sec-head h2 { font: 700 clamp(22px, 2.6vw, 30px)/1.15 var(--serif); letter-spacing: -.5px; }
.vp-kicker { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.vp-link-more { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; font-size: 14.5px; text-decoration: none; border-bottom: 2px solid rgba(var(--accent-rgb), .35); padding-bottom: 2px; transition: border-color .2s; }
.vp-link-more:hover { border-color: var(--accent); }
.vp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.vp-split--wide { grid-template-columns: 1fr 380px; }
.vp-split--cal { grid-template-columns: 340px 1fr; }
.vp-panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.vp-pill { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12.5px; font-weight: 700; white-space: nowrap; }

/* ---------- Glava podstranica ---------- */
.vp-page-head { padding: 34px 0 6px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--paper-2), var(--paper)); }
.vp-page-head h1 { font: 700 clamp(30px, 4.4vw, 50px)/1.05 var(--serif); letter-spacing: -1px; margin-bottom: 10px; }
.vp-page-head .vp-lead { font-size: 16.5px; max-width: 760px; margin-bottom: 20px; }
.vp-page-head .vp-lead a { color: var(--accent); font-weight: 600; text-decoration: none; }
.vp-page-head--dark { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: rgba(255,255,255,.75); border: 0; padding-bottom: 30px; }
.vp-page-head--dark h1 { color: #fff; }
.vp-page-head--dark .vp-crumbs, .vp-page-head--dark .vp-crumbs a { color: rgba(255,255,255,.6); }
.vp-page-head--dark .vp-crumbs strong { color: #fff; }
.vp-page-head--dark .vp-round-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #fff; }
.vp-page-head--dark .vp-round-btn:hover { background: var(--accent); border-color: var(--accent); }
.vp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 16px; }
.vp-crumbs a { color: var(--muted); text-decoration: none; display: inline-flex; }
.vp-crumbs a:hover { color: var(--accent); }
.vp-crumbs .sep { opacity: .5; }
.vp-crumbs strong { color: var(--ink); font-weight: 600; }
.vp-title-nav { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.vp-title-nav h1 { margin-bottom: 0; }
.vp-title-nav + .vp-lead { margin-top: 10px; }

/* ---------- Mediji (slika / ilustracija) ---------- */
.vp-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.vp-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.vp-media-tag, .vp-media-year { display: none; }
.vp-media.is-fallback img { filter: hue-rotate(var(--hue, 0deg)); }
.vp-media.is-fallback .vp-media-tag {
    display: block; position: absolute; left: 14px; bottom: 14px; max-width: 70%;
    font-size: 11px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: #fff;
    background: rgba(13, 21, 38, .72); border: 1px solid rgba(255,255,255,.18); padding: 5px 10px; border-radius: 999px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; backdrop-filter: blur(4px);
}
.vp-media.is-fallback .vp-media-year {
    display: block; position: absolute; right: 14px; top: 10px; font: 800 30px/1 var(--serif); color: rgba(255,255,255,.92);
    text-shadow: 0 2px 14px rgba(0,0,0,.4); letter-spacing: -1px;
}
.vp-media--sm { aspect-ratio: 1; width: 84px; border-radius: 12px; flex: none; }
.vp-media--sm .vp-media-tag { display: none !important; }
.vp-media--sm.is-fallback .vp-media-year { font-size: 16px; right: 0; left: 0; top: auto; bottom: 8px; text-align: center; }

/* ---------- Kartice ---------- */
.vp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 20px; }
.vp-grid--tight { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.vp-card {
    display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; text-decoration: none; box-shadow: var(--shadow);
    transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, border-color .25s;
}
.vp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.vp-card:hover .vp-media img { transform: scale(1.05); }
.vp-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.vp-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.vp-card-title { font: 700 18px/1.3 var(--serif); color: var(--ink); letter-spacing: -.2px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.vp-card:hover .vp-card-title { color: var(--accent); }
.vp-card-excerpt { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vp-views { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); font-weight: 600; }

.vp-rows { display: flex; flex-direction: column; }
.vp-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.vp-row:last-child { border-bottom: 0; }
.vp-row-rank { font: 800 30px/1 var(--serif); color: var(--line-2); width: 34px; text-align: center; flex: none; transition: color .2s; }
.vp-row:hover .vp-row-rank { color: var(--accent); }
.vp-row-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.vp-row-title { font: 700 16px/1.3 var(--serif); color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vp-row:hover .vp-row-title { color: var(--accent); }
.vp-rows--big { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 22px; box-shadow: var(--shadow); }
.vp-rows--big .vp-media--sm { width: 110px; aspect-ratio: 16/11; }
.vp-rows--big .vp-row-title { font-size: 18px; }
.vp-dot-chip { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 600; }
.vp-dot-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------- Na današnji dan — horizontalna lenta ---------- */
.vp-timeline-h {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 290px); gap: 20px;
    overflow-x: auto; padding: 8px 20px 18px; margin: 0 -20px; scroll-snap-type: x mandatory; scrollbar-width: thin;
    position: relative;
}
.vp-tl-item { scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; position: relative; }
.vp-tl-year { display: flex; align-items: baseline; gap: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); position: relative; }
.vp-tl-year::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--paper); }
.vp-tl-year span { font: 800 30px/1 var(--serif); color: var(--ink); letter-spacing: -1px; }
.vp-tl-year em { font-style: normal; font-size: 13px; color: var(--muted); }
.vp-tl-item .vp-card { flex: 1; }
.vp-tl-more { font-size: 13.5px; font-weight: 600; color: var(--accent); text-decoration: none; }

/* ---------- Na današnji dan — stranica ---------- */
.vp-day-picker { display: flex; align-items: center; justify-content: center; gap: 22px; text-align: center; padding: 8px 0 0; }
.vp-day-picker-mid h1 { font-size: clamp(40px, 7vw, 76px); margin: 4px 0 6px; }
.vp-day-picker-mid p { color: rgba(255,255,255,.65); }
.vp-date-form { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.vp-date-form select { height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; padding: 0 16px; font: 15px var(--sans); }
.vp-date-form select option { color: var(--ink); }
.vp-vtimeline { position: relative; }
.vp-vtimeline::before { content: ""; position: absolute; left: 41px; top: 10px; bottom: 0; width: 2px; background: linear-gradient(var(--line-2), transparent); }
.vp-vt-year { display: grid; grid-template-columns: 84px 1fr; gap: 22px; margin-bottom: 40px; scroll-margin-top: 90px; }
.vp-vt-marker span {
    position: sticky; top: 84px; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
    background: var(--ink); color: #fff; font: 800 22px/1 var(--serif); box-shadow: 0 0 0 6px var(--paper), var(--shadow);
}
.vp-vt-year:first-child .vp-vt-marker span { background: var(--accent); }
.vp-vt-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 14px 0 16px; }
.vp-vt-head h2 { font: 700 22px/1.2 var(--serif); }
.vp-vt-content > .vp-link-more { margin-top: 14px; }

/* ---------- Godine ---------- */
.vp-year-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.vp-year-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.vp-year-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.vp-year-card-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 16px; }
.vp-year-card-y { font: 800 34px/1 var(--serif); color: var(--ink); letter-spacing: -1px; }
.vp-heat { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.vp-heat span { aspect-ratio: 1 / 1.5; border-radius: 5px; display: grid; place-items: end center; padding-bottom: 2px; }
.vp-heat em { font-style: normal; font-size: 9.5px; font-weight: 700; color: rgba(0,0,0,.35); }
.lv0 { background: var(--paper-2); }
.lv1 { background: rgba(var(--accent-rgb), .18); }
.lv2 { background: rgba(var(--accent-rgb), .38); }
.lv3 { background: rgba(var(--accent-rgb), .62); }
.lv4 { background: rgba(var(--accent-rgb), .9); }
.vp-heat .lv3 em, .vp-heat .lv4 em { color: rgba(255,255,255,.85); }

.vp-month-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.vp-month {
    position: relative; display: flex; flex-direction: column; gap: 2px; padding: 18px; border-radius: var(--radius);
    background: var(--card); border: 1px solid var(--line); text-decoration: none; box-shadow: var(--shadow); overflow: hidden;
    transition: transform .2s, border-color .2s;
}
a.vp-month:hover { transform: translateY(-3px); border-color: var(--accent); }
.vp-month-no { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 1px; }
.vp-month-name { font: 700 23px/1.15 var(--serif); color: var(--ink); }
.vp-month-n { font-size: 13.5px; color: var(--ink-2); font-weight: 500; margin-bottom: 12px; }
.vp-month-bar { height: 6px; border-radius: 6px; background: var(--paper-2); overflow: hidden; }
.vp-month-bar i { display: block; height: 100%; width: var(--p); background: var(--accent); border-radius: 6px; }
.vp-month.is-empty { opacity: .5; box-shadow: none; background: transparent; border-style: dashed; }

/* ---------- Kalendar mjeseca ---------- */
.vp-cal-wrap { position: sticky; top: 86px; }
.vp-cal { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.vp-cal-head, .vp-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.vp-cal-head span { text-align: center; font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; padding-bottom: 6px; }
.vp-cal-day { aspect-ratio: 1; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: var(--ink); line-height: 1.1; }
.vp-cal-day b { font-size: 14px; }
.vp-cal-day small { font-size: 10px; font-weight: 600; opacity: .75; }
.vp-cal-day.lv0 { color: var(--line-2); background: transparent; }
.vp-cal-day.lv3, .vp-cal-day.lv4 { color: #fff; }
a.vp-cal-day { transition: transform .15s, box-shadow .15s; }
a.vp-cal-day:hover { transform: scale(1.08); box-shadow: 0 0 0 2px var(--ink); }
.vp-cal-legend { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 12px; font-size: 11px; color: var(--muted); }
.vp-cal-legend i { width: 14px; height: 14px; border-radius: 4px; }
.vp-day-group { margin-bottom: 34px; }
.vp-day-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.vp-day-badge { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.vp-day-badge b { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: #fff; font: 800 22px/1 var(--serif); }
.vp-day-badge span { font: 700 19px/1 var(--serif); color: var(--ink); }
.vp-day-same { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; }

/* ---------- Dan ---------- */
.vp-daylist { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.vp-daylist-item { position: relative; }
.vp-daylist-time { position: absolute; z-index: 2; top: 12px; left: 12px; background: var(--ink); color: #fff; font-weight: 700; font-size: 13px; padding: 5px 10px; border-radius: 999px; }

/* ---------- Teme ---------- */
.vp-topics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.vp-topic {
    display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 6px 10px; align-items: center;
    padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--paper);
    text-decoration: none; transition: border-color .2s, background .2s;
}
.vp-topic:hover { border-color: var(--accent); background: #fff; }
.vp-topic-name { font-weight: 700; color: var(--ink); font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vp-topic-n { font-size: 12px; font-weight: 700; color: var(--accent); }
.vp-topic .vp-spark { grid-column: 1 / -1; }
.vp-spark { width: 100%; height: 24px; display: block; }
.vp-spark rect { fill: var(--accent); opacity: .75; }
.vp-spark rect.z { fill: var(--line-2); opacity: .6; }
.vp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vp-chips a { padding: 7px 13px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); text-decoration: none; font-size: 13.5px; font-weight: 600; transition: background .2s, color .2s; }
.vp-chips a:hover { background: var(--ink); color: #fff; }
.vp-topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.vp-topic-card {
    display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: var(--radius); background: var(--card);
    border: 1px solid var(--line); text-decoration: none; box-shadow: var(--shadow); transition: transform .2s, border-color .2s;
}
.vp-topic-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.vp-topic-card-i { font: 800 14px/1 var(--serif); color: var(--accent); }
.vp-topic-card-name { font: 700 21px/1.2 var(--serif); color: var(--ink); }
.vp-topic-card-meta { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.vp-topic-card.is-pinned { background: var(--navy); border-color: var(--navy); }
.vp-topic-card.is-pinned .vp-topic-card-name { color: #fff; }
.vp-topic-card.is-pinned .vp-topic-card-meta { color: rgba(255,255,255,.6); }
.vp-cloud { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.vp-cloud a { font-family: var(--serif); font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.3; }
.vp-cloud a:hover { color: var(--accent); }
.vp-cloud sup { font-family: var(--sans); font-size: 10.5px; color: var(--muted); margin-left: 2px; font-weight: 600; }
.vp-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.vp-cat {
    display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--card);
    border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color .2s, transform .2s;
}
.vp-cat .vp-i { color: var(--accent); }
.vp-cat span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vp-cat em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.vp-cat:hover { border-color: var(--accent); transform: translateY(-2px); }

.vp-filter-years { display: flex; align-items: flex-end; gap: 14px; }
.vp-filter-years > a { flex: none; margin-bottom: 28px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; font-weight: 600; font-size: 13.5px; color: var(--ink-2); background: var(--card); }
.vp-filter-years > a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.vp-filter-years .vp-ribbon { flex: 1; min-width: 0; margin: 0; padding: 0; }
.vp-filter-years .vp-ribbon-track { height: 96px; }
.vp-filter-years .vp-ribbon-item { width: 46px; }

/* ---------- Paginacija, prazno, podnožje ---------- */
.vp-pager { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; margin: 36px 0 0; }
.vp-pager a, .vp-pager span { min-width: 42px; height: 42px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14.5px; }
.vp-pager a { background: var(--card); border: 1px solid var(--line); color: var(--ink); }
.vp-pager a:hover { border-color: var(--ink); }
.vp-pager .is-active { background: var(--ink); color: #fff; }
.vp-pager-gap { color: var(--muted); }
.vp-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; color: var(--muted); padding: 50px 20px; background: var(--card); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.vp-empty .vp-i { color: var(--line-2); }
.vp-empty p { max-width: 460px; }
.vp-foot { margin-top: 70px; background: var(--navy); color: rgba(255,255,255,.6); padding: 34px 0; font-size: 14px; }
.vp-foot-in { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.vp-foot strong { color: #fff; font: 700 18px var(--serif); }
.vp-foot-links { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.vp-foot a { color: #fff; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; font-weight: 600; }
.vp-tabbar { display: none; }

/* =============================================================================
   MODAL ZA ČITANJE
   ============================================================================= */
.vp-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(8, 12, 22, .66); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .25s; }
.vp-modal[hidden] { display: none; }
.vp-modal.is-open { opacity: 1; }
.vp-modal-win {
    min-width: 0;
    position: relative;
    width: 100%; max-width: 860px; max-height: calc(100vh - 48px); background: #fffdf9; border-radius: 24px; overflow: hidden;
    display: flex; flex-direction: column; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
    transform: translateY(24px) scale(.98); transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.vp-modal.is-open .vp-modal-win { transform: none; }
.vp-modal-bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px 12px 20px; border-bottom: 1px solid var(--line); background: #fffdf9; }
.vp-modal-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; }
.vp-modal-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .1s linear; }
.vp-modal-brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 13.5px; color: var(--ink); min-width: 0; white-space: nowrap; overflow: hidden; }
.vp-modal-actions { display: flex; gap: 6px; }
.vp-icon-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.vp-icon-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.vp-icon-btn--close:hover { background: #dc2626; border-color: #dc2626; }
.vp-icon-btn[disabled] { opacity: .35; pointer-events: none; }
.vp-modal-scroll { overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; flex: 1; min-width: 0; }
.vp-art-hero { position: relative; }
.vp-art-hero .vp-media { aspect-ratio: 16 / 8; }
.vp-art-hero .vp-media.is-fallback .vp-media-year { font-size: 56px; top: 20px; right: 24px; }
.vp-art-hero .vp-media.is-fallback .vp-media-tag { left: 24px; bottom: 20px; font-size: 12px; }
.vp-art { padding: 30px 40px 44px; }
.vp-art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }
.vp-art-meta a.vp-pill { text-decoration: none; white-space: normal; max-width: 100%; overflow-wrap: anywhere; line-height: 1.35; }
.vp-art-ago { font-weight: 700; color: var(--accent); }
.vp-art h2 { font: 700 clamp(25px, 3.6vw, 36px)/1.18 var(--serif); letter-spacing: -.6px; margin-bottom: 24px; }
.vp-art-content { font-family: var(--serif); font-size: 19px; line-height: 1.72; color: #222632; overflow-wrap: anywhere; word-break: break-word; max-width: 100%; }
.vp-art-content * { max-width: 100% !important; box-sizing: border-box; }
.vp-art-content .wp-caption, .vp-art-content [style*="width"] { width: auto !important; }
.vp-art-content .alignleft, .vp-art-content .alignright { float: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.vp-art-content pre { white-space: pre-wrap; overflow-x: auto; }
.vp-art-content p { margin: 0 0 1.05em; }
.vp-art-content h2, .vp-art-content h3, .vp-art-content h4 { font-family: var(--serif); margin: 1.4em 0 .5em; line-height: 1.25; }
.vp-art-content img, .vp-art-content figure, .vp-art-content iframe, .vp-art-content video, .vp-art-content embed { max-width: 100% !important; height: auto !important; border-radius: 14px; margin: 18px 0; }
.vp-art-content img { display: block; width: auto !important; max-height: 75vh; object-fit: contain; margin-left: auto !important; margin-right: auto !important; }
.vp-gal .vp-gal-item img { max-height: none; }
.vp-art-content figure img, .vp-art-content .wp-caption img { margin: 0 0 12px; }
.vp-art-content figure { width: auto !important; }
.vp-art-content iframe { width: 100% !important; aspect-ratio: 16 / 9; }
.vp-art-content figcaption, .vp-art-content .wp-caption-text { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: -8px; }
.vp-art-content blockquote { margin: 24px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--accent); font-style: italic; color: var(--ink-2); }
.vp-art-content a { color: var(--accent); }
.vp-art-content ul, .vp-art-content ol { padding-left: 24px; }
.vp-art-content table { width: 100% !important; border-collapse: collapse; font-family: var(--sans); font-size: 14px; display: block; overflow-x: auto; }
.vp-art-content td, .vp-art-content th { border: 1px solid var(--line); padding: 8px; }
.vp-art-note { margin-top: 22px; padding: 12px 16px; border-radius: 12px; background: var(--paper-2); color: var(--muted); font-size: 13.5px; }
.vp-icon-btn[hidden] { display: none; }
/* Galerija u modalu */
.vp-gal { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 22px 0 !important; border-radius: 16px; overflow: hidden; }
.vp-gal-item { position: relative; display: block; grid-column: span 2; aspect-ratio: 1; overflow: hidden; background: var(--paper-2); cursor: zoom-in; }
.vp-gal-item.s3 { grid-column: span 3; aspect-ratio: 3 / 2; }
.vp-gal-item.s6 { grid-column: span 6; aspect-ratio: 2 / 1; }
.vp-gal-item[hidden] { display: none; }
.vp-gal .vp-gal-item img { width: 100% !important; height: 100% !important; object-fit: cover; margin: 0 !important; border-radius: 0 !important; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.vp-gal-item:hover img { transform: scale(1.06); }
.vp-gal-item.has-more::after { content: attr(data-more); position: absolute; inset: 0; display: grid; place-items: center; background: rgba(13, 21, 38, .62); color: #fff; font: 800 26px var(--sans); }
.vp-art-content > img, .vp-art-content p img, .vp-art-content figure img, .vp-art-content .wp-caption img { cursor: zoom-in; }

/* Pregled slike preko cijelog modala */
.vp-lb { position: absolute; inset: 0; z-index: 30; background: #080c16; display: flex; align-items: center; justify-content: center; animation: vpfade .2s ease both; }
.vp-lb[hidden] { display: none; }
.vp-lb-fig { margin: 0; width: 100%; height: 100%; padding: 64px 64px 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.vp-lb-fig img { max-width: 100%; max-height: 100%; min-height: 0; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.vp-lb-fig figcaption { color: rgba(255,255,255,.8); font-size: 14px; text-align: center; max-width: 640px; }
.vp-lb-fig figcaption:empty { display: none; }
.vp-lb-btn { position: absolute; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.vp-lb-btn:hover { background: var(--accent); border-color: var(--accent); }
.vp-lb-btn[hidden] { display: none; }
.vp-lb-x { top: 14px; right: 14px; font-size: 18px; }
.vp-lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.vp-lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.vp-lb-count { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75); font-weight: 600; font-size: 14px; }

.vp-art-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.vp-art-tags a { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); text-decoration: none; }
.vp-art-foot { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.vp-loader { padding: 90px 20px; text-align: center; color: var(--muted); }
.vp-spinner { width: 42px; height: 42px; margin: 0 auto 14px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: vpspin .8s linear infinite; }
@keyframes vpspin { to { transform: rotate(360deg); } }
.vp-skel { display: block; height: 14px; border-radius: 8px; background: linear-gradient(90deg, var(--paper-2), #fff, var(--paper-2)); background-size: 200% 100%; animation: vpsk 1.2s infinite; margin-bottom: 12px; }
@keyframes vpsk { to { background-position: -200% 0; } }
.vp-toast { position: fixed; left: 50%; bottom: calc(24px + var(--tabbar-h)); transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 11px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 1100; }
.vp-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.vp-fade-in { animation: vpfade .4s ease both; }
@keyframes vpfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* =============================================================================
   RESPONSIVE
   ============================================================================= */
@media (max-width: 1100px) {
    .vp-nav a { padding: 8px 10px; font-size: 14px; }
    .vp-top-search { width: 200px; }
    .vp-top-search:focus-within { width: 230px; }
}
@media (max-width: 980px) {
    :root { --tabbar-h: 66px; }
    .vp-nav, .vp-top-search { display: none; }
    .vp-search-toggle { display: inline-flex; }
    .vp-hero-in { grid-template-columns: 1fr; gap: 34px; }
    .vp-leaf { max-width: 320px; width: 100%; margin: 0 auto; transform: rotate(0); flex-direction: row; flex-wrap: wrap; justify-content: center; column-gap: 14px; padding-top: 34px; }
    .vp-leaf-top { width: 100%; text-align: center; }
    .vp-leaf-day { font-size: 84px; }
    .vp-leaf-month { align-self: center; }
    .vp-split, .vp-split--wide, .vp-split--cal { grid-template-columns: 1fr; }
    .vp-cal-wrap { position: static; max-width: 460px; }
    .vp-tabbar {
        display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
        height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
        background: rgba(255, 253, 249, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
        border-top: 1px solid var(--line);
    }
    .vp-tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; font-size: 11px; font-weight: 600; color: var(--muted); }
    .vp-tabbar a.is-active { color: var(--accent); }
    .vp-tabbar a.is-active .vp-i { stroke-width: 2.3; }
    .vp-foot { padding-bottom: calc(34px + env(safe-area-inset-bottom)); }
}
@media (max-width: 640px) {
    body { font-size: 15px; }
    .vp-wrap { padding: 0 16px; }
    .vp-top-in { height: 58px; }
    .vp-brand-txt strong { font-size: 15px; }
    .vp-hero { padding: 34px 0 14px; }
    .vp-hero h1 { letter-spacing: -.6px; }
    .vp-hero-copy > p { font-size: 15.5px; }
    .vp-hero-search { padding-left: 16px; }
    .vp-hero-search .vp-btn { padding: 11px 14px; }
    .vp-stats { gap: 10px 22px; }
    .vp-stats strong { font-size: 21px; }
    .vp-ribbon { margin: 0 -16px; padding: 0 16px; }
    .vp-ribbon-item { width: 44px; }
    .vp-ribbon-track { height: 112px; }
    .vp-section { padding-top: 36px; }
    .vp-panel { padding: 18px; border-radius: 16px; }
    .vp-grid, .vp-grid--tight, .vp-daylist { grid-template-columns: 1fr; gap: 14px; }
    .vp-grid .vp-card { flex-direction: row; min-height: 0; }
    .vp-grid .vp-card .vp-media { width: 38%; max-width: 150px; aspect-ratio: auto; min-height: 112px; flex: none; }
    .vp-grid .vp-card .vp-media img { position: absolute; inset: 0; }
    .vp-grid .vp-card .vp-media-tag { display: none !important; }
    .vp-grid .vp-card .vp-media.is-fallback .vp-media-year { font-size: 20px; top: auto; bottom: 10px; left: 0; right: 0; text-align: center; }
    .vp-grid .vp-card-body { padding: 12px 14px; gap: 5px; }
    .vp-grid .vp-card-title { font-size: 16px; }
    .vp-grid .vp-card-excerpt { display: none; }
    .vp-timeline-h { grid-auto-columns: 78%; margin: 0 -16px; padding: 8px 16px 16px; }
    .vp-timeline-h .vp-card { flex-direction: column; }
    .vp-topics { grid-template-columns: 1fr; }
    .vp-year-grid, .vp-topic-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .vp-year-card, .vp-topic-card { padding: 14px; }
    .vp-year-card-top { flex-direction: column; align-items: flex-start; }
    .vp-year-card-y { font-size: 26px; }
    .vp-heat { grid-template-columns: repeat(6, 1fr); }
    .vp-topic-card-name { font-size: 17px; }
    .vp-month-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .vp-month { padding: 14px; }
    .vp-month-name { font-size: 19px; }
    .vp-cat-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
    .vp-cat { min-width: 0; padding: 11px 12px; gap: 6px; font-size: 13.5px; }
    .vp-cat em { flex: none; font-size: 12px; }
    .vp-year-grid, .vp-topic-grid, .vp-month-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
    .vp-year-card, .vp-topic-card, .vp-month { min-width: 0; }
    .vp-topic-card-name, .vp-month-name { overflow-wrap: anywhere; }
    .vp-cat { padding: 12px; font-size: 14px; }
    .vp-cat .vp-i { display: none; }
    .vp-vtimeline::before { left: 27px; }
    .vp-vt-year { grid-template-columns: 56px 1fr; gap: 12px; }
    .vp-vt-marker span { width: 56px; height: 56px; font-size: 15px; top: 70px; }
    .vp-vt-head h2 { font-size: 18px; }
    .vp-day-picker { gap: 10px; }
    .vp-day-same { margin-left: 0; width: 100%; }
    .vp-rows--big { padding: 4px 14px; }
    .vp-rows--big .vp-media--sm { width: 78px; aspect-ratio: 1; }
    .vp-rows--big .vp-row-title { font-size: 15.5px; }
    .vp-row-rank { font-size: 22px; width: 24px; }
    .vp-media--sm { width: 70px; }
    .vp-filter-years { flex-direction: column; align-items: stretch; gap: 6px; }
    .vp-filter-years > a { margin: 0; align-self: flex-start; }
    .vp-foot-links { align-items: flex-start; }

    /* modal kao bottom-sheet */
    .vp-modal { padding: 0; align-items: flex-end; }
    .vp-modal-win { max-width: 100%; height: 94dvh; max-height: 94dvh; border-radius: 22px 22px 0 0; transform: translateY(100%); }
    .vp-modal-bar { padding: 10px 10px 10px 14px; }
    .vp-modal-bar::before { content: ""; position: absolute; top: 5px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: var(--line-2); }
    .vp-modal-brand span { display: none; }
    .vp-icon-btn { width: 36px; height: 36px; }
    .vp-art { padding: 22px 18px 40px; }
    .vp-art-content { font-size: 17.5px; line-height: 1.68; }
    .vp-gal { gap: 4px; border-radius: 12px; }
    .vp-lb-fig { padding: 60px 8px 70px; }
    .vp-lb-prev, .vp-lb-next { top: auto; bottom: 14px; transform: none; }
    .vp-lb-prev { left: calc(50% - 56px); }
    .vp-lb-next { right: calc(50% - 56px); }
    .vp-art-hero .vp-media { aspect-ratio: 16 / 10; }
    .vp-art-hero .vp-media.is-fallback .vp-media-year { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
