/*
Theme Name: Amati Zambiri Child
Theme URI: https://amatizambiri.com
Description: Custom music platform design for Amati Zambiri, built on Jannah.
Author: Amati Zambiri
Template: jannah
Version: 1.0.0
Text Domain: amati-zambiri-child
*/

/* =========================================
   1. GENERAL ARTIST PROFILE
========================================= */

.az-artist-profile {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 35px;
}

/* =========================================
   2. ARTIST COVER BANNER
========================================= */

.az-artist-profile .az-artist-cover {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
    background: #222;
}

.az-artist-profile .az-artist-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   3. ARTIST HEADER
========================================= */

.az-artist-profile .az-artist-header {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 22px;
    margin-bottom: 25px;
    background: #f7f7f7;
    border-radius: 12px;
}

/* Square artist photograph */

.az-artist-profile .az-artist-profile-image {
    display: block;
    flex: 0 0 150px;
    width: 150px;
    height: 150px;
    min-width: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 3px solid #fff;
    box-shadow: 0 3px 12px rgba(0,0,0,.10);
}

/* Artist name and details */

.az-artist-profile .az-artist-details {
    flex: 1;
    min-width: 0;
}

.az-artist-profile .az-artist-details h1 {
    margin: 0 0 12px;
    color: #171717;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
}

.az-artist-profile .az-artist-details p {
    margin: 5px 0;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* =========================================
   4. ARTIST BIOGRAPHY
========================================= */

.az-artist-profile .az-artist-biography {
    margin: 25px 0 35px;
    padding: 22px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

.az-artist-profile .az-artist-biography h2 {
    margin: 0 0 12px;
    color: #222;
    font-size: 20px;
    font-weight: 800;
}

.az-artist-profile .az-artist-biography p:last-child {
    margin-bottom: 0;
}

/* =========================================
   5. ALL SONGS SECTION
========================================= */

.az-artist-profile .az-artist-songs {
    width: 100%;
    margin-top: 35px;
}

.az-artist-profile .az-artist-songs h2 {
    margin: 0 0 20px;
    padding-bottom: 12px;
    color: #222;
    font-size: 23px;
    font-weight: 800;
    border-bottom: 2px solid #e60023;
}

/* =========================================
   6. SONG GRID
========================================= */

.az-artist-profile .az-song-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
    width: 100%;
}

/* Individual song card */

.az-artist-profile .az-song-card {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.az-artist-profile .az-song-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

/* =========================================
   7. SONG ARTWORK
========================================= */

.az-artist-profile .az-song-cover {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #222;
}

.az-artist-profile .az-song-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.az-artist-profile .az-song-card:hover .az-song-cover img {
    transform: scale(1.05);
}

/* Artwork placeholder */

.az-artist-profile .az-song-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 150px;
    color: #fff;
    background: #e60023;
    font-size: 36px;
    font-weight: 800;
}

/* =========================================
   8. SONG INFORMATION
========================================= */

.az-artist-profile .az-song-info {
    padding: 12px 10px 14px;
    background: #fff;
}

.az-artist-profile .az-song-info h3 {
    display: -webkit-box;
    margin: 0 0 8px;
    overflow: hidden;
    color: #222;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.az-artist-profile .az-song-info h3 a {
    color: #222;
    text-decoration: none;
    transition: color .2s ease;
}

.az-artist-profile .az-song-info h3 a:hover {
    color: #e60023;
}

.az-artist-profile .az-song-date {
    display: block;
    margin-top: 5px;
    color: #888;
    font-size: 12px;
    font-weight: 500;
}

/* =========================================
   9. TABLET RESPONSIVENESS
========================================= */

@media (max-width: 1024px) {

    .az-artist-profile .az-song-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

}

/* =========================================
   10. MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 768px) {

    .az-artist-profile .az-artist-cover {
        height: 190px;
        border-radius: 8px;
    }

    .az-artist-profile .az-artist-header {
        gap: 15px;
        padding: 15px;
    }

    .az-artist-profile .az-artist-profile-image {
        flex-basis: 110px;
        width: 110px;
        height: 110px;
        min-width: 110px;
    }

    .az-artist-profile .az-artist-details h1 {
        font-size: 23px;
    }

    .az-artist-profile .az-artist-biography {
        padding: 16px;
        font-size: 14px;
    }

    .az-artist-profile .az-artist-songs h2 {
        font-size: 21px;
    }

    .az-artist-profile .az-song-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

}

/* =========================================
   11. SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .az-artist-profile .az-artist-cover {
        height: 150px;
    }

    .az-artist-profile .az-artist-profile-image {
        flex-basis: 85px;
        width: 85px;
        height: 85px;
        min-width: 85px;
    }

    .az-artist-profile .az-artist-details h1 {
        font-size: 19px;
    }

    .az-artist-profile .az-song-grid {
        gap: 8px !important;
    }

    .az-artist-profile .az-song-info {
        padding: 9px 7px;
    }

    .az-artist-profile .az-song-info h3 {
        font-size: 13px;
    }

}


/* =========================================
   AMATI ZAMBIRI - ARTIST SOCIAL LINKS
========================================= */

.az-artist-socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 20px 0 30px;
}

.az-artist-socials h2 {
    flex-basis: 100%;
    margin: 0 0 5px;
    font-size: 20px;
    font-weight: 800;
    color: #222;
}

.az-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 6px;
    background: #222;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background .2s ease, transform .2s ease;
}

.az-social-link:hover {
    background: #e60023;
    color: #fff !important;
    transform: translateY(-3px);
}

.az-social-facebook {
    background: #1877f2;
}

.az-social-youtube {
    background: #ff0000;
}

.az-social-instagram {
    background: #c13584;
}

.az-social-tiktok {
    background: #111;
}

.az-social-x {
    background: #000;
}

@media (max-width: 768px) {
    .az-artist-socials {
        gap: 8px;
    }

    .az-social-link {
        padding: 9px 13px;
        font-size: 12px;
    }
}


/* =========================================
   AMATI ZAMBIRI - ARTIST DIRECTORY DESIGN
========================================= */

.az-artist-directory {
    width: 100%;
    margin: 25px auto;
}

.az-directory-heading {
    margin-bottom: 25px;
}

.az-directory-heading h1 {
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 6px;
    color: #171717;
}

.az-directory-heading p {
    color: #777;
    font-size: 14px;
}

.az-directory-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.az-directory-filters input,
.az-directory-filters select {
    min-height: 44px;
    padding: 0 13px;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    background: #fff;
    font-size: 13px;
    flex: 1 1 170px;
    min-width: 0;
}

.az-directory-filters button {
    min-height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 6px;
    background: #e60023;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.az-directory-filters button:hover {
    background: #bd001d;
}

.az-directory-filters > a {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    color: #555;
    font-size: 13px;
    text-decoration: none;
}

.az-directory-results {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px 16px;
}

.az-directory-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.az-directory-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0,0,0,.09);
}

.az-directory-image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #222;
}

.az-directory-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.az-directory-image span {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 35px;
    font-weight: 900;
}

.az-directory-info {
    padding: 12px;
}

.az-directory-info h2 {
    margin: 0 0 5px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
}

.az-directory-info h2 a {
    color: #171717;
    text-decoration: none;
}

.az-directory-info h2 a:hover {
    color: #e60023;
}

.az-directory-info p {
    margin: 0 0 4px;
    color: #e60023;
    font-size: 12px;
    font-weight: 700;
}

.az-directory-info span {
    color: #888;
    font-size: 11px;
}

.az-no-artists {
    grid-column: 1 / -1;
    padding: 35px 15px;
    text-align: center;
    color: #777;
    background: #f7f7f7;
    border-radius: 8px;
}

@media (max-width: 1024px) {
    .az-directory-results {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .az-directory-results {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px 10px;
    }

    .az-directory-heading h1 {
        font-size: 25px;
    }
}

@media (max-width: 480px) {
    .az-directory-results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .az-directory-info {
        padding: 9px;
    }

    .az-directory-info h2 {
        font-size: 13px;
    }
}

