/* Artist hubs use compact artwork and controls at every breakpoint. */
.links-directory.artist-links {
    max-width: 840px;
    margin-top: 0;
}
.artist-links-section {
    margin-top: 32px;
}
.links-page .artist-links-section h2 {
    margin: 0 0 20px;
}
.artist-release-list {
    display: grid;
    gap: 20px;
}
.artist-release {
    min-width: 0;
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 0 24px;
    padding: 20px;
    border: 0;
    border-radius: 10px;
    background: var(--links-paper);
}
.artist-release-art {
    grid-row: 1 / span 2;
    display: block;
    align-self: center;
    width: 180px;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 6px;
    background: var(--links-wash);
}
.artist-release-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s;
}
.artist-release-art:hover img {
    transform: scale(1.025);
}
.artist-release-details {
    display: contents;
}
.artist-release-details h3 {
    align-self: end;
    margin: 0;
    padding: 0 0 16px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
}
.artist-platforms {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: start;
    gap: 8px;
}
.artist-platforms a,
.artist-profile-link {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    min-height: 44px;
    padding: 10px;
    border: 1px solid var(--links-line);
    border-radius: 6px;
    background: var(--links-paper);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.25;
    text-decoration: none;
    transition:
        border-color 0.2s,
        background 0.2s,
        color 0.2s;
}
/* Global span typography must not override the controls' label sizing. */
.artist-platforms a span,
.artist-profile-link span {
    font-size: inherit;
    line-height: inherit;
}
.artist-platforms a img,
.artist-profile-link img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    flex: 0 0 16px;
    filter: brightness(0);
}
.links-page.dark-mode .artist-platforms a img,
.links-page.dark-mode .artist-profile-link img {
    filter: brightness(0) invert(1);
}
.artist-platforms a:hover {
    background: var(--links-ink);
    color: var(--links-paper);
    border-color: var(--links-ink);
}
.artist-platforms a:hover img {
    filter: brightness(0) invert(1);
}
.links-page.dark-mode .artist-platforms a:hover img {
    filter: brightness(0);
}
.artist-links .artist-platforms a:focus-visible,
.artist-links .artist-release-art:focus-visible {
    outline: 2px solid var(--links-ink);
    outline-offset: 3px;
}
.artist-profile-section {
    margin-top: 0;
    padding: 8px 0 24px;
    border-bottom: 1px solid var(--links-line);
}
.artist-profile-section > h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}
.artist-profile {
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    padding: 0;
    border: 0;
    border-radius: 0;
}
.artist-profile-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.artist-profile.artist-profile-unreleased {
    display: flex;
    justify-content: center;
}
.artist-profile-unreleased .artist-profile-identity {
    width: 180px;
}
.artist-profile-logo {
    width: 100%;
    margin: 0;
    line-height: 1;
}
.artist-profile-logo img {
    display: block;
    width: 100%;
    height: 120px;
    object-fit: contain;
    filter: grayscale(1);
}
.links-page.dark-mode .artist-profile-logo img {
    filter: grayscale(1) invert(1);
}
.artist-profile-link {
    width: 100%;
    justify-content: center;
    border-color: transparent;
    font-size: 13px;
}
.artist-profile-link:hover,
.artist-links .artist-profile-link:focus-visible {
    border-color: var(--links-line);
    text-decoration: none;
    outline: none;
}
.artist-profile .artist-release-details {
    display: block;
}
.artist-profile .artist-platforms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.artist-profile .artist-platforms a {
    font-size: 13px;
}
.artist-video .artist-release-art {
    aspect-ratio: 16 / 9;
}
.artist-links .links-signoff {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--links-line);
}
.artist-links .links-signoff .nav-btn {
    color: var(--button-color);
}
.artist-links .links-signoff .nav-btn:hover {
    color: var(--button-hover-color);
}
@media (max-width: 760px) {
    .artist-release {
        grid-template-columns: 150px minmax(0, 1fr);
        gap: 0 20px;
        padding: 16px;
    }
    .artist-release-art {
        width: 150px;
    }
    .artist-platforms {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .artist-profile {
        grid-template-columns: 150px minmax(0, 1fr);
        gap: 20px;
        padding: 0;
    }
}
@media (max-width: 600px) {
    .links-directory.artist-links {
        padding: 0 20px;
        margin-top: 0;
    }
    .artist-release:not(.artist-profile) {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .artist-release:not(.artist-profile) .artist-release-art {
        grid-row: auto;
        justify-self: center;
        width: min(250px, 100%);
        margin-bottom: 16px;
    }
    .artist-release-details h3 {
        font-size: 19px;
        padding-bottom: 14px;
        text-align: center;
    }
    .artist-release:not(.artist-profile) .artist-platforms > a:only-child {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc((100% - 8px) / 2);
    }
    .artist-profile {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .artist-profile-identity {
        width: min(300px, 100%);
        justify-self: center;
    }
    .artist-profile-unreleased .artist-profile-identity {
        width: min(300px, 100%);
    }
    .artist-profile-logo img {
        height: auto;
    }
    .artist-profile .artist-platforms {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .artist-profile .artist-platforms a {
        font-size: 12px;
    }
    .artist-profile-link {
        font-size: 12px;
        gap: 5px;
        padding: 8px 4px;
    }
}
@media (max-width: 350px) {
    .links-directory.artist-links {
        padding: 0 12px;
    }
    .artist-platforms a {
        padding: 10px 6px;
        gap: 5px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .artist-release-art img,
    .artist-platforms a,
    .artist-profile-link {
        transition: none;
        transform: none;
    }
}
