/* Layout orizzontale "un post per riga" — foto a sinistra, contenuto a destra */

.post-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.post-row {
    display: flex;
    background: var(--bianco);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0,0,0,0.05);
    transition: transform 0.15s ease;
}

.post-row:active { transform: scale(0.99); }

.post-row-photo {
    flex: 0 0 240px;
    aspect-ratio: 1 / 1;
    background: var(--bianco);
    border-right: 1px solid var(--rosa);
}

.post-row-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    box-sizing: border-box;
}

.post-row-photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--rosa), var(--nude));
}

.post-row-content {
    flex: 1;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.post-row-content .meta {
    font-size: 0.75rem;
    color: var(--oro-scuro);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.post-row-content .eyebrow { margin-bottom: 4px; }

.post-row-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.post-row-content .excerpt {
    font-size: 0.92rem;
    color: var(--testo-chiaro);
    line-height: 1.5;
}

/* Su mobile: foto sopra, contenuto sotto, invece di affiancati */
@media (max-width: 640px) {
    .post-row { flex-direction: column; }
    .post-row-photo {
        flex-basis: auto;
        width: 100%;
        aspect-ratio: 16 / 10;
        border-right: none;
        border-bottom: 1px solid var(--rosa);
    }
    .post-row-content { padding: 16px 18px 20px; }
    .post-row-content h2 { font-size: 1.15rem; }
}
