/*
|--------------------------------------------------------------------------
| Producer Profile
|--------------------------------------------------------------------------
*/

.producer-profile-page {
    width: 100%;
    background: #f5f5f6;
}


/*
|--------------------------------------------------------------------------
| Hero
|--------------------------------------------------------------------------
*/

.producer-profile-hero {
    position: relative;
    overflow: hidden;
    min-height: 390px;
    background: #111216;
}


.producer-profile-backdrop {
    position: absolute;
    inset: -35px;

    background-image:
        linear-gradient(
            90deg,
            rgba(10, 10, 12, .96) 0%,
            rgba(10, 10, 12, .86) 40%,
            rgba(10, 10, 12, .65) 100%
        ),
        var(--producer-cover);

    background-position: center;
    background-size: cover;

    filter: blur(16px);

    transform: scale(1.08);
}


.producer-profile-backdrop::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(17, 18, 22, .62),
            transparent 55%
        );
}


.producer-profile-hero-inner {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        230px
        minmax(0, 1fr);

    align-items: center;

    gap: 38px;

    min-height: 390px;

    padding-top: 48px;
    padding-bottom: 48px;
}


/*
|--------------------------------------------------------------------------
| Avatar
|--------------------------------------------------------------------------
*/

.producer-profile-avatar {
    overflow: hidden;

    width: 230px;
    height: 230px;

    border: 4px solid rgba(255, 255, 255, .92);
    border-radius: 18px;

    background: #25262b;

    box-shadow:
        0 20px 55px
        rgba(0, 0, 0, .28);
}


.producer-profile-avatar img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/*
|--------------------------------------------------------------------------
| Hero Details
|--------------------------------------------------------------------------
*/

.producer-profile-details {
    min-width: 0;

    color: #ffffff;
}


.producer-profile-label {
    display: block;

    margin-bottom: 7px;

    color: #a877ff;

    font-size: 10px;
    font-weight: 850;

    letter-spacing: 1.6px;
}


.producer-profile-details h1 {
    max-width: 850px;

    margin: 0;

    color: #ffffff;

    font-size: clamp(
        38px,
        5vw,
        64px
    );

    font-weight: 900;

    line-height: 1.03;

    letter-spacing: -2px;
}


/*
|--------------------------------------------------------------------------
| Stats
|--------------------------------------------------------------------------
*/

.producer-profile-stats {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 25px;
}


.producer-profile-stats a {
    display: flex;
    align-items: baseline;

    gap: 7px;

    min-height: 43px;

    padding: 0 15px;

    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 7px;

    background: rgba(255, 255, 255, .08);

    color: #ffffff;

    text-decoration: none;

    backdrop-filter: blur(5px);
}


.producer-profile-stats a:hover {
    background: rgba(255, 255, 255, .14);
}


.producer-profile-stats strong {
    font-size: 15px;
}


.producer-profile-stats span {
    color: #c7c8ce;

    font-size: 10px;
}


/*
|--------------------------------------------------------------------------
| Social Links
|--------------------------------------------------------------------------
*/

.producer-profile-socials {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 16px;
}


.producer-profile-socials a {
    display: inline-flex;
    align-items: center;

    min-height: 32px;

    padding: 0 10px;

    border-radius: 5px;

    background: #ffffff;

    color: #1c1d21;

    font-size: 9px;
    font-weight: 750;

    text-decoration: none;
}


.producer-profile-socials a:hover {
    background: var(--primary);

    color: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Main Layout
|--------------------------------------------------------------------------
*/

.producer-profile-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        320px;

    align-items: start;

    gap: 30px;

    padding-top: 38px;
    padding-bottom: 70px;
}


.producer-profile-main {
    min-width: 0;
}


/*
|--------------------------------------------------------------------------
| Biography
|--------------------------------------------------------------------------
*/

.producer-about-card {
    margin-bottom: 25px;

    padding: 25px;

    border: 1px solid #e2e3e6;
    border-radius: 10px;

    background: #ffffff;
}


.producer-about-text {
    max-width: 850px;

    color: #65686f;

    font-size: 13px;

    line-height: 1.8;
}


/*
|--------------------------------------------------------------------------
| Content Section
|--------------------------------------------------------------------------
*/

.producer-content-section {
    margin-bottom: 25px;

    padding: 25px;

    border: 1px solid #e2e3e6;
    border-radius: 10px;

    background: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Section Heading
|--------------------------------------------------------------------------
*/

.producer-section-heading {
    margin-bottom: 20px;
}


.producer-section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 15px;
}


.producer-section-heading span {
    display: block;

    margin-bottom: 5px;

    color: var(--primary);

    font-size: 9px;
    font-weight: 850;

    letter-spacing: 1.3px;
}


.producer-section-heading h2 {
    margin: 0;

    color: #191a1e;

    font-size: 24px;
    font-weight: 850;

    line-height: 1.2;

    letter-spacing: -.6px;
}


.producer-section-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 34px;
    height: 30px;

    padding: 0 8px;

    border-radius: 20px;

    background: #f0ebff;

    color: var(--primary);

    font-size: 10px;
}


/*
|--------------------------------------------------------------------------
| Song List
|--------------------------------------------------------------------------
*/

.producer-song-list {
    border-top: 1px solid #eeeeef;
}


.producer-song-row {
    display: grid;

    grid-template-columns:
        68px
        minmax(0, 1fr)
        34px;

    align-items: center;

    gap: 14px;

    min-width: 0;

    padding: 12px 0;

    border-bottom: 1px solid #eeeeef;
}


/*
|--------------------------------------------------------------------------
| Song Image
|--------------------------------------------------------------------------
*/

.producer-song-image {
    position: relative;

    display: block;

    overflow: hidden;

    width: 68px;
    height: 68px;

    border-radius: 7px;

    background: #ececee;
}


.producer-song-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.producer-song-image span {
    position: absolute;

    top: 50%;
    left: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 29px;
    height: 29px;

    padding-left: 2px;

    border-radius: 50%;

    background: rgba(0, 0, 0, .72);

    color: #ffffff;

    font-size: 9px;

    opacity: 0;

    transform:
        translate(-50%, -50%);

    transition:
        opacity .2s ease;
}


.producer-song-row:hover
.producer-song-image span {
    opacity: 1;
}


/*
|--------------------------------------------------------------------------
| Song Details
|--------------------------------------------------------------------------
*/

.producer-song-info {
    overflow: hidden;

    min-width: 0;
}


.producer-song-info h3 {
    overflow: hidden;

    margin: 0;

    color: #232429;

    font-size: 13px;
    font-weight: 750;

    line-height: 1.4;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.producer-song-info h3 a:hover {
    color: var(--primary);
}


/*
|--------------------------------------------------------------------------
| Artist
|--------------------------------------------------------------------------
*/

.producer-song-subline {
    margin-top: 3px;
}


.producer-song-subline a {
    color: #666970;

    font-size: 10px;
    font-weight: 650;

    text-decoration: none;
}


.producer-song-subline a:hover {
    color: var(--primary);
}


/*
|--------------------------------------------------------------------------
| Song Meta
|--------------------------------------------------------------------------
*/

.producer-song-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px;

    margin-top: 5px;

    color: #96989e;

    font-size: 9px;
}


.producer-song-meta
span + span::before {
    content: "•";

    margin-right: 7px;
}


/*
|--------------------------------------------------------------------------
| Arrow
|--------------------------------------------------------------------------
*/

.producer-song-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border-radius: 50%;

    color: #696c72;

    font-size: 16px;

    text-decoration: none;
}


.producer-song-arrow:hover {
    background: #f0ebff;

    color: var(--primary);
}


/*
|--------------------------------------------------------------------------
| Pagination
|--------------------------------------------------------------------------
*/

.producer-single-pagination {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 22px;
}


.producer-single-pagination a,
.producer-single-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 35px;

    padding: 0 11px;

    border: 1px solid #dedfe3;
    border-radius: 5px;

    background: #ffffff;

    color: #666970;

    font-size: 9px;
    font-weight: 700;
}


.producer-single-pagination a:hover {
    border-color: var(--primary);

    color: var(--primary);
}


/*
|--------------------------------------------------------------------------
| No Content
|--------------------------------------------------------------------------
*/

.producer-no-content {
    padding: 55px 25px;

    border: 1px solid #e2e3e6;
    border-radius: 10px;

    background: #ffffff;

    text-align: center;
}


.producer-no-content > span {
    display: block;

    margin-bottom: 7px;

    color: var(--primary);

    font-size: 9px;
    font-weight: 850;

    letter-spacing: 1.2px;
}


.producer-no-content h2 {
    margin: 0;

    color: #222328;

    font-size: 22px;
}


.producer-no-content p {
    max-width: 520px;

    margin: 10px auto 0;

    color: #85888f;

    font-size: 11px;

    line-height: 1.65;
}


/*
|--------------------------------------------------------------------------
| Sidebar
|--------------------------------------------------------------------------
*/

.producer-profile-layout
> .archive-sidebar {
    min-width: 0;
}


/*
|--------------------------------------------------------------------------
| Medium Desktop
|--------------------------------------------------------------------------
*/

@media (
    min-width: 901px
)
and (
    max-width: 1150px
) {

    .producer-profile-layout {
        grid-template-columns:
            minmax(0, 1fr)
            285px;

        gap: 22px;
    }


    .producer-profile-avatar {
        width: 200px;
        height: 200px;
    }


    .producer-profile-hero-inner {
        grid-template-columns:
            200px
            minmax(0, 1fr);
    }

}


/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (
    min-width: 601px
)
and (
    max-width: 900px
) {

    .producer-profile-layout {
        grid-template-columns: 1fr;
    }


    .producer-profile-layout
    > .archive-sidebar {
        display: none;
    }


    .producer-profile-avatar {
        width: 180px;
        height: 180px;
    }


    .producer-profile-hero-inner {
        grid-template-columns:
            180px
            minmax(0, 1fr);
    }

}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 600px) {

    .producer-profile-hero {
        min-height: auto;
    }


    .producer-profile-hero-inner {
        grid-template-columns: 1fr;

        gap: 18px;

        min-height: auto;

        padding-top: 30px;
        padding-bottom: 30px;

        text-align: center;
    }


    .producer-profile-avatar {
        width: 135px;
        height: 135px;

        margin: 0 auto;

        border-width: 3px;
        border-radius: 14px;
    }


    .producer-profile-details h1 {
        font-size: 32px;

        letter-spacing: -1px;
    }


    .producer-profile-stats {
        justify-content: center;

        margin-top: 18px;
    }


    .producer-profile-stats a {
        min-height: 38px;

        padding: 0 11px;
    }


    .producer-profile-socials {
        justify-content: center;
    }


    /*
    |--------------------------------------------------------------------------
    | Layout
    |--------------------------------------------------------------------------
    */

    .producer-profile-layout {
        display: block;

        padding-top: 18px;
        padding-bottom: 45px;
    }


    .producer-profile-layout
    > .archive-sidebar {
        display: none;
    }


    /*
    |--------------------------------------------------------------------------
    | Cards
    |--------------------------------------------------------------------------
    */

    .producer-about-card,
    .producer-content-section {
        margin-bottom: 15px;

        padding: 17px 14px;

        border-radius: 8px;
    }


    .producer-section-heading {
        margin-bottom: 15px;
    }


    .producer-section-heading h2 {
        font-size: 20px;
    }


    /*
    |--------------------------------------------------------------------------
    | Song Rows
    |--------------------------------------------------------------------------
    */

    .producer-song-row {
        grid-template-columns:
            58px
            minmax(0, 1fr)
            28px;

        gap: 10px;

        padding: 10px 0;
    }


    .producer-song-image {
        width: 58px;
        height: 58px;
    }


    .producer-song-image span {
        width: 25px;
        height: 25px;

        opacity: 1;
    }


    .producer-song-info h3 {
        font-size: 12px;
    }


    .producer-song-subline a {
        font-size: 9px;
    }


    .producer-song-meta {
        gap: 5px;

        font-size: 8px;
    }


    /*
    |--------------------------------------------------------------------------
    | Pagination
    |--------------------------------------------------------------------------
    */

    .producer-single-pagination {
        gap: 5px;
    }


    .producer-single-pagination a,
    .producer-single-pagination span {
        min-height: 33px;

        padding: 0 8px;

        font-size: 8px;
    }

}