.pdf-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    padding: 20px 0 40px;
}

.pdf-catalog-item {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .2s ease, transform .2s ease;
}

.pdf-catalog-item:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, .1);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.pdf-catalog-cover {
    aspect-ratio: 3 / 4;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.pdf-catalog-title {
    padding: 12px;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 768px) {
    .pdf-catalog-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 16px;
    }
}
