/* kk-linkcard / style.css */

.kk-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    margin: 1.5rem 0;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.kk-card:hover {
    border-color: #999;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
}

.kk-card__img {
    flex: 0 0 100px;
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    background: #f0f0f0;
}

.kk-card__noimg {
    flex: 0 0 100px;
    width: 100px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #999;
}

.kk-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0; /* テキストはみ出し防止 */
}

.kk-card__title {
    font-weight: bold;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #222;
}

.kk-card__excerpt {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kk-card--notfound {
    color: #999;
    font-size: 0.85rem;
    border: 1px dashed #ccc;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

/* スマホ：縦並びに */
@media (max-width: 480px) {
    .kk-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .kk-card__img,
    .kk-card__noimg {
        width: 100%;
        flex: none;
        height: 160px;
    }
}
