/* Lightbox Overlay */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 80px rgba(0,0,0,0.6);
}
.lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: white;
    font-size: 1.8rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    line-height: 1;
    padding: 0;
}
.lightbox-close:hover { background: var(--primary); border-color: var(--primary); }
.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    font-size: 2rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--primary); border-color: var(--primary); }

/* Pagination Styles */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    border: 2px solid var(--gray-light);
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}
.pagination .prev,
.pagination .next {
    width: auto;
    padding: 0 16px;
}

/* Entry Content Styles */
.entry-content h2,
.entry-content h3,
.entry-content h4 { margin: 28px 0 12px; }
.entry-content p { margin-bottom: 16px; }
.entry-content ul,
.entry-content ol { margin: 16px 0 16px 24px; }
.entry-content li { margin-bottom: 8px; }
.entry-content img { border-radius: var(--radius-lg); margin: 20px 0; }
.entry-content a { color: var(--primary); text-decoration: underline; }
.entry-content blockquote {
    border-left: 4px solid var(--primary);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--light);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--gray);
}
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.entry-content th,
.entry-content td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-light);
}
.entry-content th { background: var(--light); font-weight: 700; }
