/* ==========================================================================
   Organism: Person Detail Section
   ========================================================================== */

.saha-person-detail {
    width: 100%;
}

/* --- Narrow centered container (16.67% margins = col-md-8 centered) --- */

.saha-person-detail__container {
    margin-left: 16.67%;
    margin-right: 16.67%;
}

/* --- Meta section --- */

.saha-person-detail__meta {
    margin-bottom: 0;
}

/* --- Photo wrapper (col-md-4 = ~33.33% of content row) --- */

.saha-person-detail__photo-wrapper {
    width: 50%;
    margin-top: 60px;
}

.saha-person-detail__photo-wrapper .saha-image__img {
    width: 100%;
    height: auto;
    display: block;
}

/* Caption: ScalaPro-Bold 16px, opacity 50% */

.saha-person-detail__photo-wrapper .saha-image__caption {
    font-family: var(--saha-font-primary);
    font-weight: 400;
    font-size: 16px;
    line-height: 22.86px;
    color: var(--saha-color-text-primary);
    opacity: 0.5;
    margin-top: 20px;
}

/* --- Biography --- */

.saha-person-detail__biography {
    margin-top: 60px;
    width: 100%;
    font-family: var(--saha-font-primary);
    font-size: 22px;
    line-height: 34px;
    color: var(--saha-color-text-primary);
}

.saha-person-detail__biography p {
    margin: 0 0 50px;
}

.saha-person-detail__biography p:last-child {
    margin-bottom: 0;
}

/* --- Photo credit --- */

.saha-person-detail__credit {
    font-family: var(--saha-font-primary);
    font-size: 22px;
    line-height: 34px;
    color: var(--saha-color-text-primary);
    margin: 50px 0 0;
}

/* --- No-photo variant --- */

.saha-person-detail--no-photo .saha-person-detail__biography {
    margin-top: 40px;
}

/* --- Responsive: Tablet --- */

@media (max-width: 991px) {
    .saha-person-detail__container {
        margin-left: 10%;
        margin-right: 10%;
    }

    .saha-person-detail__photo-wrapper {
        width: 60%;
    }
}

/* --- Responsive: Mobile --- */

@media (max-width: 767px) {
    .saha-person-detail__container {
        margin-left: 0;
        margin-right: 0;
    }

    .saha-person-detail__photo-wrapper {
        width: 100%;
        margin-top: 40px;
    }

    .saha-person-detail__biography {
        font-size: 18px;
        line-height: 30px;
    }

    .saha-person-detail__biography p {
        margin-bottom: 30px;
    }

    .saha-person-detail__credit {
        font-size: 18px;
        line-height: 30px;
        margin-top: 30px;
    }
}
