/* music-artists.css */
@import url('/fonts.css');
@import url('/tailwind.css');
@import url('/app/global.css');

html, body {
    min-height: 100vh !important;
    width: 100% !important;
    background-color: white !important;
    font-family: var(--font-inter) !important;
}

/* Social Icons Styles */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-block;
}

.social-icon-img {
    width: 1.25rem !important;           /* Change this value to resize social icons */
    height: 1.25rem !important;          /* Change this value to resize social icons */
    object-fit: contain !important;
    margin: 0 !important;
    border-radius: 0 !important;         /* No border radius for social icons */
    aspect-ratio: unset !important;      /* Override aspect-ratio from artist-item img */
    transition: opacity 0.3s ease;
}

.social-icon-img:hover {
    opacity: .7;
}





.page-container {
    width: 100%;
    min-height: 100vh;
    font-family: var(--font-inter);
}

.header-section {
    text-align: center;
    margin-bottom: 2.5rem;
}

.main-title {
    font-weight: bold;
    font-size: 3.75rem;
    color: #000;
    padding-top: 2.5rem;
}

.sub-title-music-artists {
    background-color: #000;
    color: #fff !important;
    padding: 4px 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    line-height: 1;
    margin-top: 1rem;
    font-size: 1.125rem;
    max-width: 24rem;
    margin-left: auto;
    margin-right: auto;
    
    /* Remove all browser default outlines and borders */
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.alphabet-filter-section {
    text-align: center;
    margin-bottom: 2rem;
}

.alphabet-buttons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    width: 70vw;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
    align-items: center;
}

.filter-button {
    /* background-color: #d1d5db; */
    background-color: #f2f2f2;
    color: #000;
    padding: 0.25rem 0.5rem;
    text-decoration: none;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    outline: none;
    box-shadow: none;
    white-space: nowrap;
}

.filter-button:hover {
    background-color: #cfcfcf;
}

.filter-button.active {
    background-color: #000;
    color: #fff;
}

.music-artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 14rem)); /*orig was 4 grids 19rem*/
    justify-content: center;
    gap: 1rem;
    max-width: 85vw;
    margin: 0 auto;
    padding: 1rem;
    margin-bottom: 5rem;
}

.artist-item {
    text-align: center;
}

.artist-item img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 0.5rem;
}

.artist-item h3 {
    font-weight: 600;
    font-size: 1.1rem;
    color: #000;
}

/* Responsive adjustments */
/* @media (max-width: 1024px) {
    .music-artists-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .music-artists-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .alphabet-buttons {
        width: 90vw;
        gap: 0.5rem;
    }
    
    .filter-button {
        padding: 0.4rem 0.6rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .music-artists-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .alphabet-buttons {
        width: 95vw;
        gap: 0.3rem;
    }
    
    .filter-button {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 1200px) {
    .alphabet-buttons {
        width: 85vw;
    }
} */






/* music-artists.php Responsive Design */

/* Desktop | 1281px - 1440px  */
@media (max-width: 1280px) {
  /* None, coded on macbook m1 pro */
}

/* Medium Laptop/Desktop | 1515px - 1920px */
@media (max-width: 1515px) {
 /* None, coded on macbook m1 pro */
}

/* Small Laptop/Desktop | 1024px - 1280px */
@media (max-width: 1024px) {
  .music-artists-grid {
    grid-template-columns: repeat(auto-fit, minmax(0, 12rem)) !important;
    gap: 1.25rem !important;
    max-width: 90vw !important;
  }
  
  .main-title {
    font-size: 2.5rem !important;
    padding-top: 1rem !important;
  }
  
  .alphabet-buttons {
    width: 85vw !important;
    gap: 0.4rem !important;
  }
  
  .filter-button {
    padding: 0.3rem 0.5rem !important;
    font-size: 0.9rem !important;
  }
  
  .artist-item h3 {
    font-size: 1rem !important;
  }
  
  .social-icon-img {
    width: 1.1rem !important;
    height: 1.1rem !important;
  }
}

/* Mobile Small Portrait (Normal) | up to 480px */
/* S20+, iPhone 12, iPhone 13 */
@media (max-width: 480px) and (orientation: portrait) {
  .music-artists-grid {
    grid-template-columns: repeat(2, minmax(0, 10rem)) !important;
    gap: 1rem !important;
    max-width: 95vw !important;
    padding: 0rem !important;
  }
  
  .main-title {
    font-size: 2.4rem !important;
    padding-top: 4rem !important;
  }
  
  .sub-title-music-artists {
    font-size: 0.9rem !important;
    padding: 3px 8px !important;
    max-width: 20rem !important;
  }
  
  .alphabet-buttons {
    width: 95vw !important;
    gap: 0.25rem !important;
  }
  
  .filter-button {
    padding: 0.25rem 0.4rem !important;
    font-size: 0.8rem !important;
    border-radius: 0.375rem !important;
  }
  
  .artist-item h3 {
    font-size: 0.9rem !important;
    margin-bottom: 0.25rem !important;
  }
  
  .artist-item img {
    margin-bottom: 0.375rem !important;
    border-radius: 0.75rem !important;
  }
  
  .social-icons {
    gap: 0.375rem !important;
    margin-top: 0.375rem !important;
  }
  
  .social-icon-img {
    width: 1rem !important;
    height: 1rem !important;
  }
}

/* Mobile Small Landscape (Seitlich gehlaten) | up to 950px */
/* S20+, iPhone 14, iPhone 15 Pro in Landscape (Seitlich gehlaten) */
@media (max-width: 950px) and (orientation: landscape) {
  .music-artists-grid {
    grid-template-columns: repeat(4, minmax(0, 10rem)) !important;
    gap: 1rem !important;
    max-width: 95vw !important;
    padding: 0rem !important;
  }
  
  .main-title {
    font-size: 3rem !important;
    padding-top: 0rem !important;
  }
  
  .sub-title-music-artists {
    font-size: 0.95rem !important;
    padding: 3px 9px !important;
  }
  
  .alphabet-buttons {
    width: 95vw !important;
    gap: 0.3rem !important;
  }
  
  .filter-button {
    padding: 0.25rem 0.45rem !important;
    font-size: 0.8rem !important;
  }
  
  .artist-item h3 {
    font-size: 0.95rem !important;
  }
  
  .social-icon-img {
    width: 1.05rem !important;
    height: 1.05rem !important;
  }
}

/* Mobile Large Portrait (Normal) | 481px - 600px */
/* iPhone 14 Pro Max, Pixel 7 Pro, larger phones */
@media (min-width: 481px) and (max-width: 600px) and (orientation: portrait) {
  .music-artists-grid {
    grid-template-columns: repeat(2, minmax(0, 10rem)) !important;
    gap: 1rem !important;
    max-width: 95vw !important;
    padding: 0rem !important;
  }
  
  .main-title {
    font-size: 2rem !important;
    padding-top: 4rem !important;
  }
  
  .sub-title-music-artists {
    font-size: 0.9rem !important;
    padding: 3px 8px !important;
    max-width: 20rem !important;
  }
  
  .alphabet-buttons {
    width: 95vw !important;
    gap: 0.25rem !important;
  }
  
  .filter-button {
    padding: 0.25rem 0.4rem !important;
    font-size: 0.8rem !important;
    border-radius: 0.375rem !important;
  }
  
  .artist-item h3 {
    font-size: 0.9rem !important;
    margin-bottom: 0.25rem !important;
  }
  
  .artist-item img {
    margin-bottom: 0.375rem !important;
    border-radius: 0.75rem !important;
  }
  
  .social-icons {
    gap: 0.375rem !important;
    margin-top: 0.375rem !important;
  }
  
  .social-icon-img {
    width: 1rem !important;
    height: 1rem !important;
  }
}

/* Tablet Portrait (Normal) | 601px - 1024px */
@media (min-width: 601px) and (max-width: 1024px) and (orientation: portrait) {
  .music-artists-grid {
    grid-template-columns: repeat(4, minmax(0, 12rem)) !important;
    gap: 1.25rem !important;
    max-width: 90vw !important;
    padding: 0rem !important;
  }
  
  .main-title {
    font-size: 3.75rem !important;
    padding-top: 1rem !important;
  }
  
  .sub-title-music-artists {
    font-size: 1rem !important;
    padding: 4px 10px !important;
  }
  
  .alphabet-buttons {
    width: 90vw !important;
    gap: 0.4rem !important;
  }
  
  .filter-button {
    padding: 0.35rem 0.55rem !important;
    font-size: 1rem !important;
  }
  
  .artist-item h3 {
    font-size: 1.05rem !important;
  }
  
  .social-icon-img {
    width: 1.2rem !important;
    height: 1.2rem !important;
  }
}

/* Tablet Landscape (Seitlich gehlaten) | 951px - 1366px */
@media (min-width: 951px) and (max-width: 1366px) and (orientation: landscape) {
  .music-artists-grid {
    grid-template-columns: repeat(5, minmax(0, 13rem)) !important;
    gap: 1.35rem !important;
    max-width: 85vw !important;
    padding: rem !important;
  }
  
  .main-title {
    font-size: 3.75rem !important;
    padding-top: 1.15rem !important;
  }
  
  .sub-title-music-artists {
    font-size: 1rem !important;
    padding: 4px 10px !important;
  }
  
  .alphabet-buttons {
    width: 80vw !important;
    gap: 0.45rem !important;
  }
  
  .filter-button {
    padding: 0.3rem 0.55rem !important;
    font-size: 1rem !important;
  }
  
  .artist-item h3 {
    font-size: 1.05rem !important;
  }
  
  .social-icon-img {
    width: 1.2rem !important;
    height: 1.2rem !important;
  }
}