.person-card {
    .cast-images {
        img {
            width: 100%;
            height: fit-content !important;
            aspect-ratio: 1/1.3;
            object-fit: cover;
            border-radius: var(--bs-border-radius);
            object-position: top;
        }
    }

    .person-detail {
        padding: 1em 0 0;
        border-radius: var(--bs-border-radius);
        text-align: center;

        .person-title {
            font-size: 1em;
            font-weight: 500;
            letter-spacing: 0.063em;
            color: var(--bs-white);
            margin: 0 0 .25em;
        }

        .person-cats {
            font-size: .875em;
            color: var(--bs-white);
        }
    }
}

// slider
.slick-item {
    .person-card {
        .person-detail {
            .person-title {
                font-size: .875em;
            }
            .person-cats {
                font-size: .75em;
            }
        }
    }
}

// person details
.person-info-details {
    .person-category {
        padding-left: 0;
        list-style: none;

        li {
            position: relative;

            &::after {
                content: "";
                background-color: var(--bs-body-color);
                height: .35em;
                width: .35em;
                border-radius: 50%;
                position: absolute;
                top: 50%;
                right: -1.1em;
                transform: translateY(-50%);
            }

            &:last-child {
                &::after {
                    content: none;
                }
            }
        }
    }

    .actor-history {
        .tab-content {
            .table {
                border-width: 0;

                tr{
                    background-color: var(--bs-gray-900);
                }

                td {
                    text-align: inherit;
                    border-color: inherit;
                    border-style: solid;
                    border-width: 0;
                    border-bottom-width: .125em;
                    border-color: var(--bs-body-bg);
                }
            }
        }
    }
}

.person-information {
    p {
        word-wrap: break-word;
    }
    .person-birth-detail {
        list-style: none;

        li {
            position: relative;

            &::after {
                content: "";
                background-color: var(--bs-body-color);
                height: .35em;
                width: .35em;
                border-radius: 50%;
                position: absolute;
                top: 50%;
                right: -1.1em;
                transform: translateY(-50%);
            }

            &:last-child {
                &::after {
                    content: none;
                }
            }
        }
    }
}

.actor-history {
    .nav-underline {
        gap: 4.25em;
        border-bottom: 0.063em solid var(--bs-border-color);

        .nav-item {
            .nav-link {
                color: var(--bs-body-color);
                text-transform: capitalize;

                &.active {
                    color: var(--bs-primary);
                }
            }
        }
    }
    .tab-pane {
        height: 37em;
        overflow-y: auto;
        overflow-x: hidden;
    }
}


.person-info-inner {
    gap: 4.25em;
    background: var(--bs-gray-900);
    margin-bottom: .875em;
    border-radius: var(--bs-border-radius);

    img {
        width: 6.875em;
        height: 6.875em;
    }
}

.person-history-thumbnail {
    width: 7em;
    min-width: 7em;
    height: 9em;
    object-fit: cover;
}

@include media-breakpoint-down(md) {
    .actor-history {
        .nav-underline {
            gap: 2em;
        }
    }

    .person-history-thumbnail {
        width: 7em;
        min-width: 7em;
        height: 9em;
    }
}

@include media-breakpoint-down(sm) {
    .actor-history {
        .nav-underline {
            gap: 1em;
        }
    }

    .person-info-inner {
        gap: 2em;
    }
    .person-card {
        .person-detail {
            .person-title {
                font-size: .75em;
            }
           .person-cats {
                font-size: .58em;
           }
        }
    }
}