.book-card {
    background: linear-gradient(to bottom right, #e6e6e6, #f5f5f5);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);

    height: 510px; /* ou remova o height fixo */
    min-height: 480px; /* se quiser manter alguma padronização base */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(180, 180, 180, 0.6);
}

.book-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.book-card img {
    width: 100%;
    height: 300px;      /* altura fixa */
    object-fit: contain; /* mantém a proporção da imagem */
    background-color: #fff; /* fundo neutro se a imagem for menor */
    padding: 5px;
}

.book-info {
    padding: 12px;
    font-size: 13px;
    color: #004F71;
    /* min-height: 300px; */
    /* flex-grow: 1; */
}

.book-title {
    font-size: 15px;
    font-weight: bold;
    color: #006848;
    min-height: 45px; /* 2 linhas aproximadas */
    margin-bottom: 20px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;  /* Limita para 2 linhas */
    line-clamp: 2;          /* Propriedade padrão para compatibilidade */
    -webkit-box-orient: vertical;
}

.book-info p {
    margin: 10px 0;
    color: #004F71;
    font-size: 13px;
}

.book-info p.autores {
    display: -webkit-box;
    -webkit-line-clamp: 2;      /* número de linhas visíveis */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* INTERNA */
.book-details {
    margin-bottom: 40px;
}

.book-cover {
    max-width: 100%;
    height: auto;
    background-color: #f9f9f9;
    padding: 5px;
    border: 1px solid #ccc;
}

.book-meta h1 {
    font-size: 24px;
    color: #006848;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 30px;
}

.book-meta p {
    margin: 5px 0;
    font-size: 14px;
}

.book-meta p strong {
    color: #00749f;
}

.book-meta a {
    color: #00AAAB;
    text-decoration: underline;
}

.sinopse {
    background-color: #f2f2f2;
    padding: 20px;
    border-left: 4px solid #006848;
}

.sinopse h2 {
    font-size: 18px;
    margin-top: 0;
    color: #006848;
}

@media (max-width: 767px) {
    .book-title {
        font-size: 16px;
    }
}