/* my_posts */
.my-posts__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-bottom: 2.375rem;
}

.my-posts__title {
    margin: 0;
    font-size: clamp(1.75rem, 1.5rem + 1vw, 2.125rem);
    letter-spacing: -.02em;
}

.my-posts__list {
    display: grid;
    gap: 2.25rem 1.875rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 48rem) {
    .my-posts__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.my-posts__card {
    display: block;
    color: inherit;
}

.my-posts__card:hover {
    color: inherit;
}

.my-posts__media {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    border-radius: 1.125rem;
    background: var(--color-background-alt);
}

.my-posts__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease-out);
}

.my-posts__card:hover .my-posts__img {
    transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
    .my-posts__card:hover .my-posts__img {
        transform: none;
    }
}

.my-posts__date {
    display: block;
    margin: 1.125rem 0 .5rem;
    font-size: .84375rem;
    color: var(--color-text-muted);
}

.my-posts__name {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.28;
    letter-spacing: -.01em;
    transition: color var(--transition-fast);
}

.my-posts__card:hover .my-posts__name {
    color: var(--color-primary);
}

.tafel .my-posts__date {
    color: var(--color-text-inverse-muted);
}
