.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    padding: 20px;
}

.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
}

.card-link:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.card-title {
    display: block;
    font-weight: 600;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 12px;
}

.card-link img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 12px auto;
    border-radius: 4px;
}

.card-link hr {
    margin: 12px 0;
    border: none;
    border-top: 1px solid #ddd;
}

.card-content {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.5;
    margin-top: 8px;
    text-align: center;
}

.card-link img {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    display: block;
    margin: 0 auto 12px auto;
    border-radius: 4px;
}