.actor_single .avatar:has(.actor-biography) { position: static; }
.actor_single .avatar { min-width: 0; }
.actor_single .avatar > img { display: block; margin: 0 auto; object-position: center; }
.actor_single .actor-biography { padding: 14px; background: #fff; color: #454558; text-align: left; }
.actor-biography-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; line-height: 1.65; }
.actor-biography-toggle { display: none; border: 0; padding: 10px 0; min-height: 44px; background: transparent; color: #a62064; font: inherit; font-weight: 600; cursor: pointer; }
.actor-biography-toggle:focus-visible { outline: 2px solid #a62064; outline-offset: 2px; }
.actor-social-links { display: flex; flex-wrap: nowrap; gap: 8px; width: 100%; overflow-x: auto; padding: 4px; margin-top: 10px; white-space: normal; }
.actor-social-links .actor-social-link:first-child { margin-left: auto; }
.actor-social-links .actor-social-link:last-child { margin-right: auto; }
.actor-biography .actor-social-link { display: inline-flex; flex: 0 0 36px; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid #ead4e0; border-radius: 8px; background: #fcf2f7; color: #a62064; font-size: 19px; vertical-align: middle; text-decoration: none; }
.actor-biography .actor-social-link:hover { background: #a62064; border-color: #a62064; color: #fff; }
.actor-biography .actor-social-link:focus-visible { outline: 2px solid #a62064; outline-offset: 2px; }
.actor_single .avatar .actor-social-brand { display: block; flex: 0 0 auto; width: 20px; height: 20px; aspect-ratio: auto; object-fit: contain; }
.actor_single .avatar .actor-social-brand--xes { width: 29px; }
.actor-biography .actor-social-link:hover .actor-social-brand { filter: brightness(0) invert(1); }
@media (max-width: 767px) {
    .actor-biography-text { font-size: 14px; }
    .actor-biography-text.is-collapsed { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; }
    .actor-biography-toggle:not([hidden]) { display: inline-block; }
    .actor-biography .actor-social-links { flex-wrap: wrap; justify-content: center; overflow-x: visible; }
    .actor-biography .actor-social-link:first-child { margin-left: 0; }
    .actor-biography .actor-social-link:last-child { margin-right: 0; }
    .actor_single .avatar { width: 100%; max-width: none; }
    .actor_single .avatar > img { width: 100%; max-width: 320px; height: auto; }
}

.stdPage.view h1 .actor-nationality-flag {
    display: inline-block;
    width: 32px;
    height: 32px;
    vertical-align: middle;
    margin-left: 8px;
    object-fit: contain;
}
