/* Explain: CSS for the family tree and Book of Life detail plate. */
/* Full-width detail plate on the study pages — the family line & the Book of Life (EN / NL / DE) */

.mt-detail-figure {
    margin: 2.5rem 0 0.5rem;
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 0.3rem;
    background: rgba(0, 0, 0, 0.55);
    padding: 0.6rem;
    box-shadow: 0 0 44px -18px rgba(197, 160, 89, 0.6);
}

.mt-detail-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.2rem;
}

.mt-detail-figure figcaption {
    padding: 1rem 0.5rem 0.5rem;
    text-align: center;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.65;
}

.mt-detail-figure-title {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-style: normal;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

@media (max-width: 640px) {
    .mt-detail-figure {
        margin-top: 2.25rem;
        padding: 0.4rem;
    }

    .mt-detail-figure figcaption {
        font-size: 0.82rem;
    }
}