.ninjaweb-pdf-card {
    width: 100%;
}

.ninjaweb-pdf-card__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ninjaweb-pdf-card__item {
    width: 100%;
}

.ninjaweb-pdf-card__link {
    display: block;
    height: 100%;
    overflow: hidden;
    border: 1px solid #d9dde3;
    border-radius: 14px;
    background: #ffffff;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ninjaweb-pdf-card__link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.ninjaweb-pdf-card__thumb {
    padding: 16px 16px 0;
    text-align: center;
}

.ninjaweb-pdf-card__image {
    display: block;
    width: 100%;
    max-height: 200px;
    height: auto;
    object-fit: contain;
}

.ninjaweb-pdf-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    width: 100%;
    background: #f5f7fa;
    color: #6b7280;
    font-size: 28px;
    font-weight: 700;
}

.ninjaweb-pdf-card__content {
    padding: 16px;
}

.ninjaweb-pdf-card__title {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.4;
    color: #111111;
}

.ninjaweb-pdf-card__button {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 8px;
    background: #12366e;
    color: #ffffff;
    line-height: 1;
}

.ninjaweb-pdf-card__notice {
    padding: 14px;
    border: 1px dashed #ccd1d7;
    background: #fafafa;
}

@media (max-width: 1024px) {
    .ninjaweb-pdf-card__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .ninjaweb-pdf-card__grid {
        grid-template-columns: 1fr;
    }
}