/* Background */
body {
    background-color: #1a263f;
    color: #e0e0e0;
    font-family: 'Roboto', sans-serif;
}


/* Nav bar */
nav {
    background-color: #0f1a2f;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    position: relative;
}

.navbar {
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    font-weight: normal;
    font-size: 2rem;
    text-decoration: none;
}

/* Data type navigation */
.data-type-nav {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: none;
}

.nav-toggle-btn {
    display: none;
}

.data-type-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.data-type-link {
    color: #a3bff4;
    font-size: 1.3rem;
    font-weight: normal;
    text-decoration: none;
}

.data-type-link:hover {
    color: #7594ce;
}


@media (max-width: 576px) {
    .navbar {
        flex-direction: row;
        flex-wrap: wrap;
        height: auto;
        padding: 0.5rem;
        align-items: center;
        position: relative;
    }

    .navbar-brand {
        flex: 1;
        text-align: center;
        margin: 0;
        font-size: 1.5rem;
        line-height: 1.5;
    }

    .data-type-nav {
        position: absolute;
        right: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-toggle-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #15294a;
        border: 1px solid #10284e;
        border-radius: 8px;
        width: 2rem;
        height: 2rem;
        margin-right: 0.3rem;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 1.2rem;
        height: 0.9rem;
    }

    .hamburger span {
        height: 2px;
        width: 100%;
        background-color: #a3bff4;
        display: block;
    }

    .data-type-links {
        display: none;
        position: absolute;
        top: calc(100% + 0.3rem);
        right: 0;
        background-color: #15294a;
        border: 1px solid #10284e;
        border-radius: 8px;
        flex-direction: column;
        width: 130px;
        padding: 0.2rem;
        gap: 0.2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
        z-index: 100;
    }

    .nav-toggle:checked~.data-type-links {
        display: flex;
    }

    .data-type-link {
        padding: 0.5rem;
        width: 100%;
        text-align: center;
        font-size: 1.1rem;
    }

    .data-type-link:hover,
    .data-type-link.active {
        background-color: #638ad1;
        color: #0f1a2f;
        border-radius: 8px;
    }
}


/* Footer */
footer {
    background-color: #0f1a2f;
    color: #ffffff;
}

.footer-text {
    color: #a3bff4;
}


/* Grid for posters */
.poster-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(var(--cols-xs, 4), 1fr);
}

@media (min-width: 576px) {
    .poster-grid {
        grid-template-columns: repeat(var(--cols-sm, 6), 1fr);
    }
}

@media (min-width: 768px) {
    .poster-grid {
        grid-template-columns: repeat(var(--cols-md, 6), 1fr);
    }
}

@media (min-width: 992px) {
    .poster-grid {
        grid-template-columns: repeat(var(--cols-lg, 8), 1fr);
    }
}


/* Poster containers */
.poster-wrapper {
    background-color: transparent;
}

.poster-container {
    position: relative;
    width: 100%;
    padding-top: 150%;
    overflow: hidden;
    background-color: transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.poster-container:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

.poster-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
    border-radius: inherit;
}

/* Missing poster styling */
.missing-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #0f1a2f;
    color: #e0e0e0;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    border-radius: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}


/* Divider styling for content-grid */
#content-grid hr {
    border: 0;
    border-top: 1px solid #7594ce;
    margin: 0 0;
    opacity: 0.5;
}


/* Pagination styles */
.pagination {
    border-radius: 8px;
    padding: 0.5rem;
    margin: 1rem 0;
}

.page-item .page-link {
    background-color: #2d3d62;
    color: #a3bff4;
    border: 1px solid #3a4a6f;
    margin: 0 0.4rem;
    height: 2.5rem;
    transition: all 0.2s ease;
}

.page-item.active .page-link,
.page-item .page-link:hover {
    background-color: #7594ce;
    color: #0f1a2f;
}

.page-item .page-link:focus {
    outline: none;
    box-shadow: none;
}

.page-item.disabled .page-link {
    background-color: #2d3748;
    color: #6b7280;
}

@media (max-width: 576px) {
    .pagination {
        padding: 0.3rem;
        margin: 1rem 0;
    }

    .page-item .page-link {
        font-size: 0.95rem;
        padding: 0.4rem 0.6rem;
        height: 2.2rem;
        margin: 0 0.25rem;
    }

    .page-item.active .page-link,
    .current-page {
        font-size: 0.95rem;
        height: 2.2rem;
        padding: 0.4rem 0.7rem;
        max-width: 130px;
    }

    .total-results {
        font-size: 1.05rem;
        line-height: 2.2rem;
    }
}

/* Style for the current page number */
.current-page {
    background-color: #1a263f;
    color: #a3bff4;
    margin: 0 0.4rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border: none;
}

.page-item.active .page-link {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


.nav-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.list-nav {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}

.logo-floating-left {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-bottom: 1rem;
}

.company-logo {
    max-height: 100px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 992px) {
    .list-nav {
        padding-left: 0;
    }

    .logo-floating-left {
        position: relative;
        top: auto;
        left: auto;
        height: auto;
        margin-bottom: 0.5rem;
        justify-content: center;
        width: 100%;
    }

    .company-logo {
        max-height: 64px;
    }
}


.total-results {
    color: #a3bff4;
    line-height: 2.5rem;
    padding: 0 0.5rem;
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    font-weight: normal;
}

@media (min-width: 576px) {
    .container {
        max-width: calc(var(--cols-sm, 4) * (150px + 1rem));
    }
}

@media (min-width: 768px) {
    .container {
        max-width: calc(var(--cols-md, 6) * (150px + 1rem));
    }
}

@media (min-width: 992px) {
    .container {
        max-width: calc(var(--cols-lg, 8) * (150px + 1rem));
    }
}

/* Toggle buttons */
.toggle-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #2d3d62;
    color: #a3bff4;
    border: 1px solid #3a4a6f;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: normal;
    height: 2.5rem;
    line-height: 1.5;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.toggle-btn:hover {
    background-color: #7594ce;
    color: #0f1a2f;
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.toggle-btn.active {
    background-color: #7594ce;
    color: #0f1a2f;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Dropdowns */
.dropdown {
    position: relative;
}

.dropdown .dropdown-toggle {
    background-color: #2d3d62;
    color: #a3bff4;
    border: 1px solid #3a4a6f;
    border-radius: 8px;
    height: 2.5rem;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 120px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.dropdown .dropdown-menu {
    background-color: #2d3d62;
    border: 1px solid #3a4a6f;
    border-radius: 8px;
    min-width: 120px;
    width: 100%;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

.dropdown.show .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    position: absolute;
    top: calc(100% + 3px);
    left: 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown:hover .dropdown-menu,
.dropdown .dropdown-menu.show {
    padding: 0;
    border-radius: 8px;
}

.dropdown .dropdown-toggle:hover,
.dropdown.show .dropdown-toggle,
.dropdown:hover .dropdown-toggle {
    background-color: #7594ce;
    color: #0f1a2f;
}

.dropdown .dropdown-item {
    color: #a3bff4;
    font-weight: normal;
    padding: 0.5rem 0.2rem;
}

.dropdown .dropdown-item:hover,
.dropdown .dropdown-item:focus,
.dropdown .dropdown-item.active {
    background-color: #7594ce !important;
    color: #0f1a2f;
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.dropdown .first-item:hover,
.dropdown .first-item:focus,
.dropdown .first-item.active {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.dropdown .last-item:hover,
.dropdown .last-item:focus,
.dropdown .last-item.active {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.dropdown .dropdown-divider {
    border-color: #0f1a2f;
    background-color: #0f1a2f;
    border-top: 1px solid #0f1a2f;
    margin: 0 0;
}

/* Checkbox dropdown */
.decade-dropdown .dropdown-toggle,
.decade-dropdown .dropdown-menu {
    min-width: 100px;
}

.year-dropdown .dropdown-toggle,
.year-dropdown .dropdown-menu {
    min-width: 80px;
}

.department-dropdown .dropdown-toggle,
.department-dropdown .dropdown-menu {
    min-width: 170px;
}

/* Checkbox dropdown */
.dropdown-check-list .dropdown-toggle {
    transition: 0.2s ease;
}

.dropdown-check-list .dropdown-toggle,
.dropdown-check-list .dropdown-menu {
    min-width: 150px;
}

.filter-dropdown .dropdown-toggle,
.filter-dropdown .dropdown-menu {
    min-width: 180px;
}

.dropdown-check-list .dropdown-item input[type="checkbox"] {
    margin: 0 0.2rem;
    cursor: pointer;
    appearance: none;
    width: 1rem;
    height: 1rem;
    border: 2px solid #1a263f;
    border-radius: 4px;
    background-color: #2d3d62;
    position: relative;
    vertical-align: middle;
    box-shadow: inset 0 1px 2px rgba(15, 26, 47, 0.4);
}

.dropdown-check-list .dropdown-item input[type="checkbox"]:checked {
    background-color: #7594ce;
    border-color: #1a263f;
    box-shadow: inset 0 1px 2px rgba(15, 26, 47, 0.4);
}

.dropdown-check-list .dropdown-item input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #1a263f;
    font-size: 0.8rem;
    font-weight: bold;
}

.dropdown-check-list .dropdown-item input[type="checkbox"]:hover {
    border-color: #1a263f;
    box-shadow: inset 0 2px 4px rgba(15, 26, 47, 0.5);
}



/* 'other' buttons and grid */
.nav-top-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    gap: 0.5rem;
}

.nav-top-row .toggle-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.nav-top-row .company-dropdown {
    position: absolute;
    margin-right: 1rem;
    right: 0;
}

@media (max-width: 992px) {
    .nav-top-row {
        align-items: center;
    }

    .nav-top-row .company-dropdown {
        position: relative;
        margin-left: 0;
        margin-top: 0.5rem;
        align-self: center;
    }
}

.toggle-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}


.toggle-grid::after {
    content: "";
    flex-basis: 100%;
    height: 1rem;
}


.toggle-grid .toggle-btn {
    background-color: transparent;
    box-shadow: none;
    color: #c6d5f6;
    border: none;
    padding: 0.5rem 0.8rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 0 0 auto;
    min-width: 0;
    font-size: 1.1rem;
}

.toggle-grid .toggle-btn:hover {
    background-color: #2d5ba6;
    color: white;
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

#content-grid hr:last-child {
    margin-bottom: 1.2rem;
}


/* Search form styling */
.search-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    width: 100%;
    max-width: 200px;
}

.search-form input[type="text"] {
    color: #a3bff4;
    border: 1px solid #3a4a6f;
    border-radius: 16px;
    padding: 0.5rem 1rem;
    height: 2.5rem;
    font-size: 1rem;
    line-height: 1.5;
    transition: all 0.2s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #243154;
    flex: 1;
}

.search-form input[type="text"]:focus {
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 7px 14px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
    background-color: #d3e3ff;
    color: #0f1a2f;
    border-color: #1a263f;
    outline: none;
}

.search-form input[type="submit"] {
    background-color: #2d3d62;
    color: #a3bff4;
    border: 1px solid #3a4a6f;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    height: 2.5rem;
    font-size: 1rem;
    line-height: 1.5;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.search-form input[type="submit"]:hover {
    background-color: #7594ce;
    color: #0f1a2f;
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

@media (max-width: 576px) {
    .search-form {
        max-width: 100%;
    }

    .search-form input[type="text"] {
        width: 100%;
    }
}


/* Backdrop styling */
.backdrop-container {
    position: relative;
    overflow: hidden;
    margin-bottom: -10vh;
    max-height: 70vh;
    width: 90vw;
    margin-left: calc(-45vw + 50%);
}

.backdrop-image {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: contain;
    z-index: 0;
}

.backdrop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 70%,
            #1a263f 100%),
        linear-gradient(to right,
            #1a263f 0%,
            rgba(0, 0, 0, 0) 20%,
            rgba(0, 0, 0, 0) 80%,
            #1a263f 100%);
    z-index: 1;
}

@media (max-width: 768px) {
    .backdrop-container {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
    }

    .backdrop-overlay {
        background:
            linear-gradient(to bottom,
                rgba(0, 0, 0, 0) 70%,
                #1a263f 100%);
    }
}

/* Detail pages styling */
.detail {
    position: relative;
    z-index: 3;
    margin-top: 0;
    margin-bottom: 2rem;
}

.detail-header {
    margin-top: 2.5rem;
    margin-bottom: 2rem;
    margin-left: 0;
    margin-right: 0;
}

.detail-poster {
    width: 100%;
    max-width: 342px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.detail-header .poster-container {
    position: relative;
    width: 100%;
    padding-top: 150%;
    overflow: hidden;
    background-color: transparent;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.detail-header .poster-container:hover {
    transform: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.detail-info {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.detail-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.detail-overview {
    color: #bacff7;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.detail-info .total-results {
    font-size: 1.1rem;
    position: static;
    bottom: 0;
    right: 0;
    text-align: right;
    line-height: 1.5;
    margin-top: auto;
}

.movie-list {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .detail-header {
        text-align: center;
        margin-bottom: 0.2rem;
    }

    .detail-info {
        align-items: center;
        margin-top: 1rem;
    }

    .detail-info .total-results {
        text-align: center;
        width: 100%;
    }
}

.company-dropdown .dropdown-toggle,
.company-dropdown .dropdown-menu {
    min-width: 160px;
}

/* Movie detail */
.dtail-link {
    color: #d1def5;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: normal;
    transition: all 0.2s ease;
    position: relative;
}

.dtail-link:hover {
    color: #5681d0;
}


.year-link {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}


.director-link {
    font-size: 1.35rem;
}

.directed-by {
    color: #9cafce;
    font-size: 1.3rem;
    font-weight: normal;
}

.directed-by-wrapper {
    white-space: nowrap;
}

.list-element-wrapper {
    display: inline-table;
    white-space: nowrap;
}

.toggle-directors-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #2d3d62;
    color: #a3bff4;
    border: 1px solid #3a4a6f;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: normal;
    font-size: 1rem;
    line-height: 1.5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.toggle-directors-btn:hover {
    background-color: #384b79;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.links-list-comma {
    color: #9cafce;
    font-size: 1.35rem;
    font-weight: normal;
}

.original-title {
    color: #9cafce;
    font-size: 1.3rem;
    font-style: italic;
    font-weight: normal;
    display: block;
    margin-top: 0.3rem;
}

@media (max-width: 768px) {

    .detail-title .year-link,
    .detail-title .directed-by-wrapper {
        display: block;
        margin: 0.2rem 0;
        text-align: center;
    }

    .directed-by-wrapper {
        white-space: normal;
    }

    .director-link,
    .info-table-link {
        white-space: normal;
    }
}


.movie-tagline {
    color: #cadaf7;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    text-transform: uppercase;
}


.external-links-container {
    text-align: center;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.external-link img {
    height: auto;
    width: 35px;
    transition: transform 0.2s ease;
}

.external-link:hover img {
    transform: scale(1.07);
}


.detail-info-table {
    color: #9cafce;
}

.detail-info-element {
    margin: 0.25rem 0;
}

.detail-info-text {
    color: #cadcfb;
}

.info-table-link {
    font-size: 1.1rem;
    text-decoration: none;
}

.info-comma {
    color: #cadcfb;
    font-size: 1.1rem;
}

.detail-info-group {
    display: grid;
    grid-template-columns: repeat(2, 0.4fr);
    gap: 0.5rem 1rem;
    align-items: start;
}

.list-element-category {
    text-decoration: underline;
    text-underline-offset: 0.2rem;
    text-decoration-thickness: 1px;
    text-decoration-color: rgb(117, 148, 206, 0.5);
    margin-right: 0.3rem;
}

@media (max-width: 768px) {
    .detail-info-group {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }

    .list-element-category {
        display: block;
        margin-bottom: 0.1rem;
    }
}

.movie-collection {
    color: #9cafce;
    font-size: 1.2rem;
}

.collection-link {
    text-decoration: none;
    font-size: 1.25rem;
    margin-left: 0.25rem;
}

.detail-info-table #runtime {
    margin-top: 1rem;
}

.person-link {
    font-size: 1rem;
}

.credits-text {
    color: #9cafce;
    font-size: 1.4rem;
    display: block;
}

.character {
    color: #9cafce;
    font-size: 0.9rem;
}


.credits-wrapper {
    display: flex;
    align-items: flex-start;
}

.credits-info {
    flex-grow: 1;
    overflow: hidden;
}

.credits-poster-wrapper {
    width: 50px;
    flex-shrink: 0;
}

.credits-poster-container {
    padding-top: 120%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.credits-poster-container:hover {
    transform: none;
}

.credits-poster-container img {
    position: absolute;
    object-position: center top;
}

.movie-credits hr {
    border: 0;
    border-top: 1px solid #7594ce;
    margin: 0 0 1rem 0;
    opacity: 0.5;
}

hr.job-divider {
    border-top: 1px solid #526a96;
}

.job-text {
    color: #b8cef1;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .movie-credits {
        gap: 2rem;
    }
}

.crew-column {
    border-left: 1px solid rgb(117, 148, 206, 0.5);
    padding-left: calc(var(--bs-gutter-x) * .5)
}

@media (max-width: 768px) {
    .crew-column {
        border-left: none;
        padding-left: 0;
    }
}

.credits-grid {
    --cols-xs: 2;
    --cols-sm: 2;
    --cols-md: 2;
    --cols-lg: 3;
}


/* Person detail */
.person-title.includes-known-for {
    margin-bottom: 0.5rem;
}

.known-for {
    margin-bottom: 0.8rem;
    font-size: 1.15rem;
    color: #cadaf7;
}

.known-for-text {
    color: #b8c7e2;
}

.roles-count {
    color: #8196bf;
}

.dropdown .dropdown-toggle:hover .roles-count,
.dropdown.show .dropdown-toggle .roles-count,
.dropdown:hover .dropdown-toggle .roles-count,
.dropdown .dropdown-item:hover .roles-count,
.dropdown .dropdown-item:focus .roles-count,
.dropdown .dropdown-item.active .roles-count {
    color: #344564;
}

.roles-dropdown .dropdown-toggle,
.roles-dropdown .dropdown-menu {
    min-width: 180px;
}