.tnp-cover img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #f5f5f5;
}


/* extra safety for small grids */
@media (max-width: 900px) {
    .tnp-related-grid {
        grid-template-columns: 1fr;
    }
    .tnp-edition-cover img {
        height: 200px;
    }
}

.tnp-related-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.tnp-related-card{
    background:#f7f7f7;
    border-radius:18px;
    overflow:hidden;
}

.tnp-related-image img{
    width:100%;
    height:180px;
    object-fit:cover;
}

.tnp-related-card h4{
    padding:15px;
    font-size:17px;
    line-height:1.5;
}

.tnp-related-card a{
    color:#111;
    text-decoration:none;
}

.tnp-edition-toolbar{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin:25px 0;
}

.tnp-toolbar-btn{
    border:none;
    background:#fff;
    border-radius:999px;
    padding:12px 18px;
    cursor:pointer;
    font-weight:600;
    box-shadow:0 8px 22px rgba(0,0,0,.08);
    transition:.25s;
}

.tnp-toolbar-btn:hover{
    transform:translateY(-2px);
}

.tnp-toolbar-btn.favorite{
    background:#ffe9ec;
    color:#d60000;
}