/* Portfolio Grid Light */

.light-portfolio-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    box-sizing: border-box;
    font-family: "Poppins", Arial, sans-serif;
}

.light-portfolio-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.light-portfolio-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.light-thumbnail {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f5f5;
}

.light-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.light-portfolio-details {
    padding: 1rem 1.1rem 1.2rem;
}

.light-title {
    margin: 0 0 0.65rem;
    font-size: 1.1rem;
    line-height: 1.35;
    font-weight: 600;
}

.light-title a {
    color: inherit;
    text-decoration: none;
}

.light-link {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.light-link:hover,
.light-link:focus {
    text-decoration: underline;
}

.light-portfolio-empty {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 0 2rem;
}

@media (max-width: 700px) {
    .light-portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1rem;
    }
}
