/* ═══════════════════════════════════════════════
   DAUGIAU INFORMACIJOS PAGE STYLES
   ═══════════════════════════════════════════════ */

/* ─── Hero ─── */
.di-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--charcoal);
}

.di-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.di-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
}

.di-hero-glow {
    display: none;
}

.di-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 24px 80px;
}

.di-hero-label {
    display: inline-block;
    padding: 6px 16px;
    margin-bottom: 24px;
    background: rgba(212,175,55,0.12);
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
}

.di-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--warm-white);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.di-hero-subtitle {
    font-size: 1.125rem;
    color: rgba(250,249,246,0.75);
    line-height: 1.7;
    max-width: 580px;
    margin: 0 auto;
}

/* ─── Posts Section ─── */
.di-posts {
    padding: 80px 0;
    background: var(--bg-section, #f7f5f0);
}

.di-posts-header {
    text-align: center;
    margin-bottom: 60px;
}

.di-section-title {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.di-section-subtitle {
    font-size: 1.0625rem;
    color: var(--graphite);
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto;
}

.di-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.di-post-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(26,26,26,0.07);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(26,26,26,.06);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
    text-decoration: none;
}

.di-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 56px rgba(26,26,26,.12), 0 0 0 1px rgba(201,168,76,.2);
    border-color: rgba(201,168,76,.25);
}

.di-post-card__thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--cream);
    position: relative;
}

.di-post-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.di-post-card:hover .di-post-card__thumb img {
    transform: scale(1.05);
}

.di-post-card__thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cream) 0%, rgba(212,175,55,0.06) 100%);
}

.di-post-card__thumb-placeholder svg {
    opacity: 0.25;
    color: var(--gold);
}

.di-post-card__body {
    padding: 24px 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.di-post-card__cat {
    display: inline-flex;
    align-items: center;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8a6f28;
    background: rgba(201,168,76,.12);
    border: 1px solid rgba(201,168,76,.25);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.di-post-card__title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.35;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.di-post-card:hover .di-post-card__title {
    color: var(--gold);
}

.di-post-card__excerpt {
    font-size: 0.9375rem;
    color: var(--graphite);
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
}

.di-post-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #9a948e;
    background: #f7f5f0;
    padding: 3px 10px;
    border-radius: 999px;
    width: fit-content;
    margin-bottom: 8px;
}

.di-post-card__meta svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.di-post-card__read-more {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold);
    margin-top: 16px;
    transition: gap 0.2s;
}

.di-post-card:hover .di-post-card__read-more {
    gap: 10px;
}

/* No posts state */
.di-posts-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--graphite);
}

.di-posts-empty svg {
    color: var(--gold);
    opacity: 0.4;
    margin-bottom: 16px;
}

.di-posts-empty p {
    font-size: 1.0625rem;
    line-height: 1.6;
}

/* ─── Pagination ─── */
.di-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.di-pagination a,
.di-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(26,26,26,0.12);
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--graphite);
    text-decoration: none;
    transition: all 0.2s;
    background: var(--warm-white);
}

.di-pagination a:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.di-pagination .current {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--charcoal);
    font-weight: 700;
}

.di-pagination .dots {
    border: none;
    background: none;
}

/* ─── Gallery Section ─── */
.di-gallery {
    padding: 80px 0;
    background: var(--cream);
}

.di-gallery-header {
    text-align: center;
    margin-bottom: 48px;
}

.di-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 12px;
    max-width: 1100px;
    margin: 0 auto;
}

.di-gallery-grid .di-gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.di-gallery-grid .di-gallery-item:nth-child(6) {
    grid-column: span 2;
}

.di-gallery-item {
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
    position: relative;
    background: var(--charcoal);
}

.di-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease), opacity 0.3s;
    display: block;
}

.di-gallery-item:hover img {
    transform: scale(1.08);
    opacity: 0.85;
}

.di-gallery-item__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26,26,26,0.4);
    opacity: 0;
    transition: opacity 0.3s;
}

.di-gallery-item:hover .di-gallery-item__overlay {
    opacity: 1;
}

.di-gallery-item__overlay svg {
    color: var(--warm-white);
    width: 32px;
    height: 32px;
}

/* Lightbox */
.di-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.di-lightbox.is-open {
    opacity: 1;
    pointer-events: all;
}

.di-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
}

.di-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--warm-white);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.di-lightbox-close:hover { opacity: 1; }

/* ─── Final CTA ─── */
.di-final-cta {
    padding: 100px 0;
    background: var(--charcoal);
    text-align: center;
}

.di-final-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
}

.di-final-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--warm-white);
    margin-bottom: 20px;
}

.di-final-subtitle {
    font-size: 1.125rem;
    color: rgba(250,249,246,0.75);
    line-height: 1.6;
    margin-bottom: 40px;
}

.di-final-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .di-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 180px;
    }

    .di-gallery-grid .di-gallery-item:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }

    .di-gallery-grid .di-gallery-item:nth-child(6) {
        grid-column: span 1;
    }

    .di-posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .di-hero-content {
        padding: 80px 20px 60px;
    }

    .di-posts,
    .di-gallery,
    .di-final-cta {
        padding: 60px 0;
    }

    .di-posts-grid {
        grid-template-columns: 1fr;
    }

    .di-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }

    .di-gallery-grid .di-gallery-item:nth-child(1) {
        grid-column: span 2;
    }

    .di-gallery-grid .di-gallery-item:nth-child(6) {
        grid-column: span 2;
    }

    .di-section-title {
        font-size: 1.875rem;
    }

    .di-post-card__body {
        padding: 20px 24px 24px;
    }

    .di-final-buttons {
        flex-direction: column;
        align-items: center;
    }
}
