/* more-by-artist.css */
@import url('/tailwind.css');
@import url('/app/global.css');
@import url('/fonts.css');

.art-thumbnails-container-spotlight {
    width: 100% !important;
    overflow: hidden !important;
}

.art-thumbnails-wrapper-spotlight {
    position: relative !important;
    display: block !important;
}

.art-thumbnails-wrapper-spotlight:hover .art-nav-arrow {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.art-thumbnails-grid {
    display: flex !important;
    flex-direction: row !important;
    gap: .5rem !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth !important;
    width: 100% !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.art-thumbnails-grid::-webkit-scrollbar {
    display: none !important;
}

.small-art-card-spotlight {
    flex: 0 0 auto !important;
    width: 10rem !important;
    height: 10rem !important;
    /* background: #f5f5f5 !important; */
    border-radius: 1rem !important;
    overflow: hidden !important;
    transition: transform 0.3s ease !important;
    display: block !important;
}

.small-art-link-spotlight {
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
    height: 100% !important;
    width: 100% !important;
}

.small-art-thumbnail-spotlight {
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    background: #e0e0e0 !important;
    position: relative !important;
}

.small-art-thumbnail-spotlight img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.hover-overlay-spotlight {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

.small-art-card-spotlight:hover .hover-overlay-spotlight {
    opacity: 1 !important;
}

.small-art-card-spotlight:hover .small-art-thumbnail-spotlight img {
    filter: brightness(0.6) !important;
}

.artwork-title-overlay-spotlight {
    transform: translateY(240%) !important;

    color: white !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    text-align: center !important;
    background-color: black !important;
    font-family: var(--font-inter) !important;
    text-transform: uppercase !important;
    white-space: nowrap;
    padding: 4px 10px !important;
    max-width: 100% !important;
    line-height: 1.2 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.art-nav-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(0, 0, 0, 0.7) !important;
    border: none !important;
    color: white !important;
    font-weight: bold !important;
    padding: 0.5rem !important;
    border-radius: 25% !important;
    cursor: pointer !important;
    z-index: 100 !important;
    transition: all 0.3s ease !important;
    min-width: 40px !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

#moreByArtistPrevArrow {
    left: 10px !important;
}

#moreByArtistNextArrow {
    right: 10px !important;
}

.art-nav-arrow:hover {
    background: rgba(0, 0, 0, 0.9) !important;
}

/* more-by-artist.css Responsive Design */

/* Small Laptop/Desktop | 1024px - 1280px */
@media (max-width: 1024px) {
/* Already set by default css before making responsive */
}

/* Mobile Small Portrait (Normal) | up to 480px */
/* S20+, iPhone 12, iPhone 13 */
@media (max-width: 480px) and (orientation: portrait) {
  .small-art-card-spotlight {
    width: 7rem !important;
    min-width: 7rem !important;
    height: 7rem !important;
    border-radius: 1rem !important;
    aspect-ratio: 1/1 !important;
  }
  
  .art-thumbnails-grid {
    gap: 0.5rem !important;
  }
  
  .art-nav-arrow {
    min-width: 2rem !important;
    min-height: 2rem !important;
    font-size: 1rem !important;
    padding: 0.5rem !important;
  }
  
  #moreByArtistPrevArrow {
    left: 0.5rem !important;
  }
  
  #moreByArtistNextArrow {
    right: 0.5rem !important;
  }
  
  .artwork-title-overlay-spotlight {
    font-size: 0.625rem !important;
    padding: 2px 6px !important;
  }
}

/* Mobile Small Landscape | up to 950px */
/* S20+, iPhone 14, iPhone 15 Pro in Landscape */
@media (max-width: 950px) and (orientation: landscape) {
  .small-art-card-spotlight {
    width: 7rem !important;
    min-width: 7rem !important;
    height: 7rem !important;
    border-radius: 1rem !important;
    aspect-ratio: 1/1 !important;
  }
  
  .art-thumbnails-grid {
    gap: 0.5rem !important;
  }
  
  .art-nav-arrow {
    min-width: 2rem !important;
    min-height: 2rem !important;
    font-size: 1rem !important;
    padding: 0.5rem !important;
  }
  
  #moreByArtistPrevArrow {
    left: 0.5rem !important;
  }
  
  #moreByArtistNextArrow {
    right: 0.5rem !important;
  }
  
  .artwork-title-overlay-spotlight {
    font-size: 0.625rem !important;
    padding: 2px 6px !important;
  }
}

/* Mobile Large Portrait | 481px - 600px */
/* iPhone 14 Pro Max, Pixel 7 Pro, larger phones */
@media (min-width: 481px) and (max-width: 600px) and (orientation: portrait) {
  .small-art-card-spotlight {
    width: 8rem !important;
    min-width: 8rem !important;
    height: 8rem !important;
    border-radius: 1rem !important;
    aspect-ratio: 1/1 !important;
  }
  
  .art-thumbnails-grid {
    gap: 0.5rem !important;
  }
  
  .art-nav-arrow {
    min-width: 2rem !important;
    min-height: 2rem !important;
    font-size: 1rem !important;
    padding: 0.5rem !important;
  }
  
  #moreByArtistPrevArrow {
    left: 0.5rem !important;
  }
  
  #moreByArtistNextArrow {
    right: 0.5rem !important;
  }
  
  .artwork-title-overlay-spotlight {
    font-size: 0.625rem !important;
    padding: 2px 6px !important;
  }
}

/* Tablet Portrait | 601px - 1024px */
@media (min-width: 601px) and (max-width: 1024px) and (orientation: portrait) {
  .small-art-card-spotlight {
    width: 9rem !important;
    min-width: 9rem !important;
    height: 9rem !important;
    border-radius: 1rem !important;
  }
  
  .art-thumbnails-grid {
    gap: 1rem !important;
  }
  
  .art-nav-arrow {
    min-width: 2.5rem !important;
    min-height: 2.5rem !important;
    font-size: 1rem !important;
    padding: 0.5rem !important;
  }
  
  #moreByArtistPrevArrow {
    left: 0.75rem !important;
  }
  
  #moreByArtistNextArrow {
    right: 0.75rem !important;
  }
}

/* Tablet Landscape | 951px - 1366px */
@media (min-width: 951px) and (max-width: 1366px) and (orientation: landscape) {
  .small-art-card-spotlight {
    width: 8rem !important;
    min-width: 8rem !important;
    height: 8rem !important;
    border-radius: 1rem !important;
  }
  
  .art-thumbnails-grid {
    gap: 0.75rem !important;
  }
  
  .art-nav-arrow {
    min-width: 2.25rem !important;
    min-height: 2.25rem !important;
    font-size: 1rem !important;
  }
  
  #moreByArtistPrevArrow {
    left: 0.5rem !important;
  }
  
  #moreByArtistNextArrow {
    right: 0.5rem !important;
  }
}