.post-card--default {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 1.8rem;
    background: var(--brand-muted);
    border-radius: 2.5rem;
    overflow: hidden;
}

.post-card--default .post-card__media {
    flex: 0 0 calc(28% + .4rem);
    max-width: 18rem;
    display: block;
    overflow: hidden;
    align-self: stretch;
}

.post-card--default .post-card__image {
    display: block;
    width: 100%;
    height: 100%;
    height: 12.5rem;
    object-fit: cover;
    border-radius: 2.5rem;
}

.post-card--default .post-card__body {
    flex: 1;
    padding: 1.8rem 1.8rem 1.8rem 0;
    min-width: 0;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.post-card--default:not(:has(.post-card__media)) .post-card__body {
    padding: 1.8rem;
}

/* Desktop: meta sits in the bottom bar; compact-style top meta is unused. */
.post-card--default .post-card__meta {
    display: none;
}

.post-card--default .post-card__top {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.post-card--default .post-card__bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    flex: 1;
    justify-content: space-between;
    min-width: 0;
}

.post-card--default .post-card__title {
    margin: 0;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.post-card--default .post-card__title a {
    color: var(--text);
    text-decoration: none;
}

.post-card--default .post-card__title a:hover {
    color: var(--brand);
}

.post-card--default .post-card__excerpt {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.7rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    transition: all 0.3s ease;
}

.post-card--default .post-card__cta {
    align-self: flex-start;
    color: var(--text);
}

.post-card--default:hover .post-card__cta {
    color: var(--brand);
}

.post-card--default .post-card__cta-container {
    gap: var(--space-3);
    color: var(--text);
    font-size: 0.7rem;
}

.post-card--default .post-card__cta-item a {
    color: var(--text);
    text-decoration: none;
}

.post-card--default .post-card__cta-item a:hover {
    color: var(--brand);
}

.post-card__cta-item {
    border-right: 1px solid var(--text-muted);
    padding-right: var(--space-3);
    color: var(--text-muted);
    transition: all 0.3s ease;
    line-height: 100%;
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.post-card__cta-item:last-child {
    border: none;
    padding: 0;
}

.post-card__cta-item:has(a) {
    border-color: var(--text);
}

.post-card--default:hover .post-card__excerpt {
    color: var(--text);
    transition: all 0.3s ease;
}

.post-card--default:hover .post-card__cta-item {
    color: var(--text);
    transition: all 0.3s ease;
    border-color: var(--text);
}

.post-card--default:hover .post-card__title a {
    color: var(--brand);
    transition: all 0.3s ease;
}

.post-card__cta-icon {
    display: flex;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    opacity: .6;
    transition: all 0.3s ease;
    color: var(--text);
}

.post-card__cta-icon svg {
    width: 100%;
    height: 100%;
}

.post-card--default:hover .post-card__cta-icon {
    opacity: 1;
    transition: all 0.3s ease;
}

/*
 * ≤1024: match blog/post-card-compact visually
 * (image | meta+title / excerpt+Read, no category / reading time).
 */
@media (max-width: 1024px) {


    .blog-feed__list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .post-card--default {
        gap: var(--space-3);
        background: transparent;
        border-radius: 0;
        overflow: visible;
        flex-direction: column;
    }

    .post-card--default .post-card__media {
        flex: unset;
        max-width: none;
        border-radius: 2.5rem;
        overflow: hidden;
    }

    .post-card--default .post-card__image {
        height: 100%;
        min-height: 8rem;
        aspect-ratio: 36 / 24;
        border-radius: 0;
    }

    .post-card--default .post-card__body {
        padding: 0;
        gap: var(--space-3);
    }

    .post-card--default:not(:has(.post-card__media)) .post-card__body {
        padding: 0;
    }

    .post-card--default .post-card__meta {
        display: flex;
        gap: var(--space-3);
        color: var(--text-muted);
        font-size: 0.7rem;
        line-height: 1;
    }

    .post-card--default .post-card__meta-item {
        display: flex;
        align-items: center;
        gap: var(--space-1);
    }

    .post-card--default .post-card__icon {
        display: flex;
        width: 1rem;
        height: 1rem;
        flex-shrink: 0;
        color: rgba(0, 0, 0, 0.6);
    }

    .post-card--default .post-card__icon svg {
        width: 100%;
        height: 100%;
    }

    .post-card--default .post-card__title {
        line-height: 1.3;
    }

    .post-card--default .post-card__bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        gap: var(--space-5);
        flex: 0 0 auto;
    }

    .post-card--default .post-card__excerpt {
        -webkit-line-clamp: 5;
        max-width: 80%;
        line-height: 100%;
        flex: 1;
        min-width: 0;
    }

    .post-card--default .post-card__cta-bottom {
        display: contents;
    }

    .post-card--default .post-card__cta-container {
        display: none;
    }

    .post-card--default .post-card__cta {
        align-self: flex-end;
        flex: none;
    }
}


@media (max-width: 630px) {
    .blog-feed__list {
        grid-template-columns: repeat(1, 1fr);
    }
}

