.tdfeed-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.25rem;
    margin: 1rem 0 1.5rem;
}

.tdfeed-cols-2 { grid-template-columns: repeat(1, 1fr); }
.tdfeed-cols-3 { grid-template-columns: repeat(1, 1fr); }
.tdfeed-cols-4 { grid-template-columns: repeat(1, 1fr); }

@media (min-width: 576px) {
    .tdfeed-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .tdfeed-cols-3 { grid-template-columns: repeat(2, 1fr); }
    .tdfeed-cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
    .tdfeed-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .tdfeed-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.tdfeed-card {
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: transform .15s ease, box-shadow .15s ease;
}

.tdfeed-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
}

.tdfeed-card-link {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    color: inherit;
    text-decoration: none;
}

.tdfeed-card-image {
    flex: 0 0 38%;
    max-width: 220px;
    min-width: 110px;
    background: #f4f4f4;
    overflow: hidden;
}

.tdfeed-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tdfeed-card-body {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.85rem 1rem 1rem;
}

@media (max-width: 480px) {
    .tdfeed-card-link {
        flex-direction: column;
    }

    .tdfeed-card-image {
        flex-basis: auto;
        max-width: none;
        width: 100%;
        aspect-ratio: 16 / 10;
    }
}

.tdfeed-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.4rem;
    line-height: 1.3;
}

.tdfeed-card-desc {
    font-size: 0.875rem;
    color: #555;
    margin: 0 0 0.6rem;
    line-height: 1.4;
}

.tdfeed-card-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0b6b3a;
}

.tdfeed-admin-notice {
    font-size: 0.85rem;
    border-radius: 6px;
    background: #fff5f5;
}
