:root {
    --eikra-primary: #003087;
    --eikra-primary-dark: #00225c;
}


/* Navigation */
.nav-preview {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container-preview {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container-preview {
    display: flex;
    align-items: center;
    gap: 14px;
}

.iust-logo-preview {
    width: 52px;
    height: 52px;
    background: var(--eikra-primary);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Filter Section */
.filter-section-preview {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 40px;
}

.filter-container-preview {
    background: white;
    border-radius: 6px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 48, 135, 0.08);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-end;
}

.filter-group-preview {
    flex: 1;
    min-width: 280px;
}
.filter-group-year {
    flex: 1;
    max-width: 180px;
}

.filter-label-preview {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 8px;
    padding-left: 4px;
}

.filter-input-preview {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 16px;
    color: #1e2937;
    outline: none;
}

    .filter-input-preview:focus {
        border-color: var(--eikra-primary);
        box-shadow: 0 0 0 4px rgba(0, 48, 135, 0.1);
    }

select.filter-input-preview {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%2364758b' stroke-width='3' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-position: right 20px center;
    background-repeat: no-repeat;
}

.search-container-preview {
    display: flex;
    gap: 12px;
}

.search-btn-preview {
    background: linear-gradient(90deg, #002147, #002147);
    /* background: linear-gradient(90deg, #003087, #0066cc); */
    color: white;
    border: none;
    padding: 0 32px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

    .search-btn-preview:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(0, 48, 135, 0.25);
    }

.reset-btn-preview {
    padding: 16px 24px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    color: #64748b;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .reset-btn-preview:hover {
        border-color: #94a3b8;
        color: #334155;
    }

/* Gallery Grid */
.gallery-container-preview {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.events-grid-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.event-card-preview {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

    .event-card-preview:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 50px rgba(0, 48, 135, 0.15);
    }

    .event-card-preview img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .event-card-preview:hover img {
        transform: scale(1.08);
    }

.card-content-preview {
    padding: 24px;
}

.date-badge-preview {
position: absolute;
    top: 16px;
    right: 16px;
    font-size: 13px !important;
    background: rgb(249 248 241 / 85%);
    color: var(--eikra-primary);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.event-title-preview {
    font-size: 20px;
/*    font-weight: 600;*/
    color: var(--eikra-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.event-dept-preview {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 12px;
}

.event-desc-preview {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

/* Empty State */
#empty-state-preview {
    text-align: center;
    padding: 80px 20px;
    display: none;
}

/* Footer */
.footer-preview {
    text-align: center;
    padding: 40px 20px;
    color: #94a3b8;
    font-size: 13px;
}

@media (max-width: 768px) {
    .filter-container-preview {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-container-preview {
        padding: 16px 20px;
    }
}
