/* === OVERRIDES ARHIVA === */
.arhiva-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; padding: 20px 0; }
.arhiva-card { background: var(--c-surface-elevated, #180f24); border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform 0.2s, box-shadow 0.2s; border: 1px solid rgba(255,255,255,0.05); }
.arhiva-card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.arhiva-thumb { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.arhiva-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.arhiva-title { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--c-white); line-height: 1.2; }
.arhiva-meta { font-size: 0.9rem; opacity: 0.7; }
.arhiva-btn { background: var(--c-accent); color: var(--c-base); padding: 12px 24px; border-radius: 10px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; cursor: pointer; font-family: var(--font-main); transition: filter 0.2s; box-shadow: 0 4px 12px rgba(0,0,0,0.2); font-size: 1.05rem; }
.arhiva-btn:hover { filter: brightness(1.1); box-shadow: 0 6px 16px rgba(0,0,0,0.3); }
.arhiva-poza-item { position: relative; border-radius: 12px; overflow: hidden; background: var(--c-surface); margin-bottom: 16px; display: inline-block; width: 100%; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.arhiva-poza-item img { width: 100%; height: auto; display: block; cursor: zoom-in; }
.arhiva-dl-overlay { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,0.75); color: #fff; padding: 10px; border-radius: 10px; text-decoration: none; display: flex; opacity: 0; transition: opacity 0.2s, transform 0.2s; box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.arhiva-poza-item:hover .arhiva-dl-overlay { opacity: 1; }
.arhiva-dl-overlay:hover { background: var(--c-accent); color: var(--c-base); transform: scale(1.05); }
.masonry-col { column-count: 3; column-gap: 16px; }
@media (max-width: 900px) { .masonry-col { column-count: 2; } }
@media (max-width: 600px) { .masonry-col { column-count: 1; } }

/* Lightbox styles */
.lb-arhiva { position: fixed; inset: 0; z-index: 9999; display: none; background: rgba(16,11,25,0.96); touch-action: pan-y; }
.lb-arhiva.open { display: block; }
.lb-bar { position: absolute; bottom: 0; left: 0; right: 0; height: 70px; display: flex; align-items: center; padding: 0 20px; gap: 12px; color: #fff; font-weight: 600; font-family: var(--font-main); }
.lb-stage { position: absolute; inset: 10px 10px 70px; display: flex; align-items: center; justify-content: center; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.lb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 16px; background: rgba(255,255,255,0.1); color: #fff; border: 0; border-radius: 10px; cursor: pointer; font: 600 0.95rem var(--font-main); transition: background 0.15s; text-decoration: none; }
.lb-btn:hover { background: rgba(255,255,255,0.2); }
.lb-btn-primary { background: var(--c-primary); }
.lb-btn-primary:hover { background: var(--c-primary-light, #7a3faa); }
.lb-nav { position: absolute; top: 50%; margin-top: -22px; z-index: 2; }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }
