/* 
 * Style for 'Veiklos sritys' Elegant Museum Grid
 * Suffix: 8ee9f52b
 */

.vs-container {
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: center;
}

.vs-inner {
    max-width: 1200px;
    width: 100%;
}

.vs-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.vs-heading {
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.vs-subtitle {
    line-height: 1.6;
    margin: 0;
}

/* 4x2 Grid Layout */
.vs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Elegant Card Design */
.vs-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    box-sizing: border-box;
}

/* Icon custom styles */
.vs-card-icon {
    margin-bottom: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.vs-card-icon svg {
    display: block;
}

.vs-card-title {
    line-height: 1.4;
    margin: 0 0 12px 0;
}

.vs-card-desc {
    line-height: 1.5;
    margin: 0;
}

/* Hover Subtle Accent (Stable Alignment) */
.vs-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .vs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .vs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
