/* Shared actor photos, cards, and request states. */
.title-people-page-body {
    min-height: 100vh;
    background: #100b08;
}

.title-people-page-body .site-main {
    padding-bottom: 0;
}

.cast-person-card {
    display: grid;
    align-content: start;
    gap: 5px;
    min-width: 0;
    color: #ffffff;
    text-align: right;
    text-decoration: none;
}

.cast-person-card:active {
    opacity: 0.7;
}

.cast-person-card:focus-visible,
.title-people-state button:focus-visible,
.title-people-state .title-people-retry:focus-visible {
    outline: 2px solid #ff7a2a;
    outline-offset: 3px;
}

.title-person-photo {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: 14px;
    background: #1c1917;
    color: #667890;
}

.title-person-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cast-person-card h3,
.cast-person-card p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
    margin: 0;
}

.cast-person-card h3 {
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
}

.cast-person-card p {
    color: #9eb0c7;
    font-size: 11px;
    line-height: 16px;
}

.title-people-skeleton {
    border-radius: 8px;
    background: #2a211c;
}

.title-people-state {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding-block: 16px;
    text-align: center;
}

.title-people-state p {
    margin: 0;
    color: #9eb0c7;
    font-size: 14px;
}

.title-people-state h2 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.title-people-state button,
.title-people-state .title-people-retry {
    padding: 10px 18px;
    border: 0;
    border-radius: 14px;
    background: #1c1917;
    color: #ff7a2a;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.title-people-state .title-people-retry {
    display: inline-grid;
    place-items: center;
    text-decoration: none;
}
