/* ==========================================================================
   FRONTEND WRAPPER
========================================================================== */
.al-front {
    max-width: 980px;
    margin: 0 auto;
    padding: 20px 16px 70px; /* extra bottom room */
    color: #fff; 
}

/* Remove underlines everywhere inside the widget */
.al-front a { text-decoration: none !important; }

/* Prevent annoying focus rings/white line */
.al-front img,
.al-front button,
.al-front .al-card {
    outline: none !important;
    box-shadow: none !important;
}
.al-front .al-card:focus { outline: none !important; box-shadow: none !important; }

/* ==========================================================================
   FEATURED ARTIST SLIDER
========================================================================== */
.al-front-featured { margin-bottom: 30px; }

.al-featured-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.al-slider-inner { width: 320px; height: auto; position: relative; }

.al-featured-item { display: none; flex-direction: column; align-items: center; text-align: center;
    background: #151515;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.70), inset 0 0 0 1px rgba(255,255,255,0.04);
}
.al-featured-item.active { display: flex; }

.al-featured-img-inner{
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    background: #101010;
    border: 1px solid rgba(255,255,255,0.14);
}
.al-featured-img-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.al-featured-name { margin-top: 10px; font-size: 17px; font-weight: 800; letter-spacing: 0.2px; }


.al-slider-prev, .al-slider-next {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #303030;
    background: #151515;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: .18s ease;
}
.al-slider-prev:hover, .al-slider-next:hover { background: #222; }

/* ==========================================================================
   GRID HEADER — SORT + SEARCH
========================================================================== */
.al-front-grid-section h2 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }

.al-grid-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
}

.al-grid-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

#al-sort-front {
    background: #181818;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 8px;
    padding: 6px 28px 6px 10px;
    color: #fff;
    min-width: 120px;
    width: auto;
    font-size: 13px;
    line-height: 18px;
    height: 32px;
    appearance: auto;
}


#al-search-front {
    background: #181818;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 8px;
    padding: 6px 10px;
    width: 170px;
    color: #fff;
    font-size: 13px;
    line-height: 18px;
    height: 32px;
}

#al-search-front::placeholder { color: #777; }

/* ==========================================================================
   ARTIST GRID (3 PER ROW DESKTOP)
========================================================================== */
.al-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px; /* not bunched */
}

/* Card */
.al-card {
    background: #151515;
    border-radius: 10px;
    border: 1px solid #202020;
    padding: 10px 10px 12px;
    cursor: pointer;
    text-align: center;
    transition: .18s ease;
    user-select: none;
}

.al-card:hover { transform: translateY(-3px); }

/* Make card content feel centered vertically (fix bottom-heavy look) */
.al-card-img-inner {
    width: 120px;
    height: 120px;
    margin: 2px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.al-card-img-inner img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: 1px solid #303030;
}

/* Placeholder */
.al-thumb-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    background: #222;
    opacity: .7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #ccc;
}

.al-card-name { margin-top: 8px; font-size: 14px; font-weight: 700; }

.al-card-events-count {
    margin-top: 3px;
    font-size: 12px;
    color: #9a9a9a;
    min-height: 14px;
}

/* ==========================================================================
   "MORE ARTIST" BUTTON
========================================================================== */
.al-more-artists-wrap { margin-top: 18px; text-align: center; }

.al-more-artists-btn {
    background: #e50914;
    color: #fff;
    border-radius: 6px;
    padding: 9px 18px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
    transition: .18s ease;
}
.al-more-artists-btn:hover { background: #ff1c1c; }

/* ==========================================================================
   MODAL
========================================================================== */
.al-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.75);
    display: none;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.al-modal {
    background: #111;
    border-radius: 14px;
    border: 1px solid #292929;
    width: 92%;
    max-width: 430px;
    padding: 18px 18px 20px;
    opacity: 0;
    transform: translateY(-20px);
    transition: .2s ease;
    position: relative;
}

.al-modal-show { opacity: 1 !important; transform: translateY(0) !important; }

.al-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid #303030;
    background: #181818;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Title */
.al-modal-title {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin: 4px 0 12px;
}

/* Body: enable vertical scroll ONLY when needed */
.al-modal-body {
    max-height: 68vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 6px; /* room for scrollbar without shifting */
}

/* Modal image: SQUARE + SMALLER */
.al-modal-img-wrap {
    width: 190px;
    height: 190px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.al-modal-img {
    width: 190px;
    height: 190px;
    border-radius: 12px;
    object-fit: cover;
    display: none;
    border: 1px solid #303030;
}

/* ==========================================================================
   BUTTONS (Manual + Events) – symmetric sizing
========================================================================== */
#al-modal-buttons-manual { margin-bottom: 14px; }

.al-button,
.al-event-btn,
.al-event-split-btn {
    background: #e50914;
    color: #fff !important;
    border-radius: 6px;
    padding: 10px 14px;
    border: none;
    text-align: center;
    font-size: 14px;
    width: 100%;
    cursor: pointer;
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    transition: .18s ease;
    text-decoration: none !important;
    line-height: 1.2;
}

.al-button:hover,
.al-event-btn:hover,
.al-event-split-btn:hover {
    background: #ff1c1c;
}

/* Separator between manual + events */
.al-modal-sep { margin: 8px 0 12px; text-align: center; }
.al-modal-sep-text {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .8px;
    color: #fff;
    opacity: .9;
}

/* Split container */
.al-event-split-container {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}
.al-event-split-btn { margin-bottom: 0; }

/* ==========================================================================
   RESPONSIVE
========================================================================== */
@media(max-width: 900px) {
    .al-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


    #al-search-front {
    background: #181818;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 8px;
    padding: 6px 10px;
    width: 170px;
    color: #fff;
    font-size: 13px;
    line-height: 18px;
    height: 32px;
}

    #al-sort-front {
    background: #181818;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 8px;
    padding: 6px 28px 6px 10px;
    color: #fff;
    min-width: 120px;
    width: auto;
    font-size: 13px;
    line-height: 18px;
    height: 32px;
    appearance: auto;
}

    .al-card-img-inner, .al-card-img-inner img, .al-thumb-placeholder {
        width: 110px; height: 110px;
        border-radius: 12px;
    }
    .al-modal-img-wrap, .al-modal-img { width: 170px; height: 170px; }
}

/* ==========================================================================
   PATCH – REBUILD FINAL (Frontend)
   Theme target: page bg #101010
   Goals:
   - True square image frame
   - Cleaner neutral colors (no blue tint)
   - Header alignment: All Artists left, controls right
   - Card bottom slightly tighter but reserves upcoming text space
   - Featured uses same box language, no upcoming line there
   - Modal overlay forced to be real overlay (no floating)
========================================================================== */

:root{
  --ad-bg: #101010;
  --ad-card: #1c1c1c;
  --ad-card2: #141414;
  --ad-border: #2a2a2a;
  --ad-border2:#202020;
  --ad-text: #ffffff;
  --ad-sub: #bdbdbd;
}

/* Center module without affecting site bg */
.al-wrap{
  max-width: 1040px;
  margin: 0 auto;
  padding: 22px 18px 34px;
}

/* Header alignment */
.al-grid-header{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap: 14px !important;
  margin: 18px 0 14px !important;
}
.al-grid-header h2{
  margin: 0 !important;
  line-height: 1.05 !important;
}
.al-grid-controls{
  display:flex !important;
  align-items:center !important;
  gap: 10px !important;
  margin: 0 !important;
}
.al-grid-controls select,
.al-grid-controls input{
  height: 30px !important;
}

/* 4-per-row */
.al-grid{
  grid-template-columns: repeat(4, minmax(0,1fr)) !important;
  gap: 20px !important;
}

/* Card shell: one border only */
.al-grid .al-card{
  background: var(--ad-card) !important;
  border: 1px solid var(--ad-border) !important;
  border-radius: 14px !important;
  padding: 12px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  box-shadow:none !important;
}

/* Square frame (inset so not crowded) */
.al-grid .al-card .al-card-img-inner{
  width: 92% !important;
  margin: 6px auto 0 !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  border-radius: 12px !important;
  overflow:hidden !important;
  background: var(--ad-card2) !important;
  border: 0 !important;            /* IMPORTANT: no nested border */
  padding: 0 !important;
}

/* Image fills square */
.al-grid .al-card .al-card-img-inner img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display:block !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow:none !important;
  filter:none !important;
}

/* Placeholder fills square */
.al-grid .al-card .al-card-img-inner .al-thumb-placeholder{
  width: 100% !important;
  height: 100% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background: transparent !important;
  border: 0 !important;
}

/* Name centered + slightly larger */
.al-grid .al-card .al-card-name{
  width: 100% !important;
  text-align:center !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  margin: 10px 0 6px !important;
}

/* Upcoming line reserved but tighter */
.al-grid .al-card .al-card-events-count{
  width: 100% !important;
  text-align:center !important;
  font-size: 12px !important;
  color: var(--ad-sub) !important;
  min-height: 16px !important;
  margin: 0 !important;
  padding-bottom: 2px !important;
}

/* Featured: same shell language, no upcoming line shown */
.al-featured-slider{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap: 16px !important;
}
.al-featured-img-inner{
  width: 270px !important;
  max-width: 82vw !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  background: var(--ad-card) !important;
  border: 1px solid var(--ad-border) !important;
  border-radius: 14px !important;
  padding: 12px !important;
  margin: 0 auto !important;
  overflow:hidden !important;
  box-sizing:border-box !important;
}
.al-featured-img-inner img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  border: 0 !important;
}

/* =========================
   Modal overlay: real overlay
========================= */
.al-modal-overlay{
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0,0,0,.80) !important;
  z-index: 999999 !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  padding: 18px !important;
}
.al-modal-overlay.is-open{ display:flex !important; }
.al-modal-overlay[style*="display: flex"]{ display:flex !important; }
.al-modal{
  width: min(720px, 92vw) !important;
  max-height: 86vh !important;
  overflow:auto !important;
  background: #161616 !important;
  border: 1px solid var(--ad-border) !important;
  border-radius: 16px !important;
  box-shadow: 0 18px 70px rgba(0,0,0,.55) !important;
}

/* Responsive */
@media(max-width: 900px){
  .al-grid{ grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}

  .al-grid .al-card .al-card-img-inner{ width: 94% !important; }
}



/* =========================================================
   OPTION A – CHEVRON ARROWS + ADMIN SCALE FIX
========================================================= */

/* Slider arrows – chevrons, not text */
.al-slider-prev::before,
.al-slider-next::before{
  content: '‹';
  font-size: 26px;
  font-weight: 800;
  color: #fff;
}
.al-slider-next::before{ content:'›'; }

.al-slider-prev,
.al-slider-next{
  width: 36px;
  height: 36px;
  border: 1px solid #2a2a2a;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.35);
  cursor:pointer;
}
.al-slider-prev span,
.al-slider-next span{ display:none; }

.al-slider-prev:hover,
.al-slider-next:hover{
  background: rgba(255,255,255,.06);
}

/* ===== ADMIN SCALE ===== */
.al-admin-grid .al-artist-card{
  padding: 10px !important;
}

.al-admin-grid .al-artist-card .al-artist-thumb{
  width: 72% !important;
  margin: 6px auto 8px !important;
}

.al-admin-grid .al-artist-card .al-artist-name{
  font-size: 14px !important;
}



/* ===== Option A arrows fix: hide original < and > text ===== */
.al-slider-prev,
.al-slider-next{
  font-size: 0 !important;
  line-height: 0 !important;
}

/* ===== Grid header with title + controls ===== */
.al-grid-header{
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.al-grid-header h2{
  margin: 0 !important;
}



/* =========================================================
   FRONTEND – SLIM SEARCH + DROPDOWN
========================================================= */
.al-grid-controls input[type="search"],
.al-grid-controls input[type="text"],
.al-grid-controls select{
  height: 26px !important;
  padding: 3px 8px !important;
  font-size: 13px !important;
  border-radius: 6px !important;
  background: #141414 !important;
  border: 1px solid #2a2a2a !important;
}

.al-grid-controls select{
  padding-right: 22px !important;
}

/* =========================================================
   V5 – Frontend controls slimmer (search + dropdown)
========================================================= */
.al-grid-controls input[type="search"],
.al-grid-controls input[type="text"],
.al-grid-controls select{
  height: 24px !important;
  padding: 2px 8px !important;
  font-size: 12px !important;
  border-radius: 6px !important;
}
.al-grid-controls input{
  width: 160px !important;
}


/* =========================================================
   V6 – Frontend card scale refinement (slightly smaller)
========================================================= */
.al-artist-card{
  width: calc(25% - 18px) !important;
}

.al-artist-thumb{
  width: 88% !important;
  margin: 12px auto 10px !important;
}

.al-artist-name{
  font-size: 14px !important;
}



/* =========================================================
   MOBILE GRID FIX – 2 PER ROW
========================================================= */
@media (max-width: 520px){
  .al-grid{
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 12px !important;
  }

  .al-grid .al-card{
    padding: 8px !important;
  }

  .al-grid .al-card .al-card-img-inner{
    width: 94% !important;
  }

  .al-grid .al-card .al-card-name{
    font-size: 13px !important;
  }
}




@media (max-width: 520px){

  .al-featured-slider{
    position: relative !important;
    padding: 0 36px !important;
  }

  .al-slider-prev,
  .al-slider-next{
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 34px !important;
    height: 34px !important;
    z-index: 5 !important;
  }

  .al-slider-prev{
    left: 0 !important;
  }

  .al-slider-next{
    right: 0 !important;
  }
}




@media (max-width: 520px){

  .al-slider-prev::before,
  .al-slider-next::before{
    font-size: 22px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    line-height: 1 !important;
  }

  .al-slider-prev,
  .al-slider-next{
    background: rgba(0,0,0,0.6) !important;
  }
}



/* =========================================================
   MOBILE – CARD BUTTON FEEL (OUTLINE + DEPTH)
========================================================= */
@media (max-width: 520px){

  .al-grid .al-card{
    border: 1px solid #2a2a2a !important;
    background: #161616 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.45) !important;
  }

  .al-grid .al-card:active{
    transform: scale(0.98);
  }

  .al-grid .al-card .al-card-img-inner{
    border: 1px solid #222 !important;
    background: #111 !important;
  }
}




/* ===== CARD = BUTTON FEEL (ALL SIZES) ===== */
.al-card{
  background: linear-gradient(180deg, #151515, #101010) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 16px !important;
  box-shadow: 0 6px 14px rgba(0,0,0,0.55) !important;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.al-card:hover{
  border-color: rgba(255,255,255,0.16) !important;
}

.al-card:active{
  transform: scale(0.985);
  box-shadow: 0 4px 10px rgba(0,0,0,0.6) !important;
}

/* Image lives INSIDE the card */
.al-card-img-inner{
  border-radius: 12px !important;
  background: #0e0e0e !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
}

/* ===== FEATURED ARROWS – FIXED FOR DESKTOP + MOBILE ===== */
.al-slider-prev,
.al-slider-next{
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.al-slider-prev::before,
.al-slider-next::before{
  content: '‹';
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
}

.al-slider-next::before{
  content: '›';
}

.al-slider-prev:hover,
.al-slider-next:hover{
  background: rgba(0,0,0,0.75);
}

/* Mobile alignment */
@media (max-width: 520px){
  .al-featured-slider{
    padding: 0 42px !important;
  }

  .al-slider-prev{
    left: 0;
  }
  .al-slider-next{
    right: 0;
  }
}



/* =========================================================
   DESKTOP – ENSURE CARD CONTAINER VISIBILITY
========================================================= */
@media (min-width: 521px){
  .al-card{
    background: linear-gradient(180deg, #151515, #101010) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 18px rgba(0,0,0,0.55) !important;
  }

  .al-card:hover{
    border-color: rgba(255,255,255,0.18) !important;
    box-shadow: 0 10px 22px rgba(0,0,0,0.65) !important;
  }

  .al-card-img-inner{
    border-radius: 12px !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    background: #0e0e0e !important;
  }
}




.al-card:hover{
  border-color: rgba(255,255,255,0.18) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,0.65) !important;
}

.al-card:active{
  transform: scale(0.985);
}

/* Image container inside the card */
.al-card .al-card-img-inner{
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
  background: #0e0e0e !important;
  overflow: hidden !important;
}

/* Name block reads as part of the card */
.al-card .al-card-name{
  text-align: center !important;
  padding-top: 8px !important;
}

/* Upcoming count line */
.al-card .al-card-upcoming{
  text-align: center !important;
}

/* ----- FEATURED SLIDER ARROWS (GLOBAL) ----- */
.al-slider-prev,
.al-slider-next{
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(0,0,0,0.55) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}

.al-slider-prev::before,
.al-slider-next::before{
  font-size: 26px !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  line-height: 1 !important;
}

.al-slider-prev::before{ content: "‹" !important; }
.al-slider-next::before{ content: "›" !important; }

.al-slider-prev:hover,
.al-slider-next:hover{
  background: rgba(0,0,0,0.75) !important;
}

/* Positioning: desktop defaults */
.al-featured-slider{
  position: relative !important;
}

.al-slider-prev,
.al-slider-next{
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
}

.al-slider-prev{ left: -52px !important; }
.al-slider-next{ right: -52px !important; }

/* Mobile: keep arrows within container */
@media (max-width: 520px){
  .al-featured-slider{
    padding: 0 46px !important;
  }
  .al-slider-prev{ left: 0 !important; }
  .al-slider-next{ right: 0 !important; }
}

/* Mobile: slightly stronger outline so it reads as a tap target */
@media (max-width: 520px){
  .al-card{
    border-color: rgba(255,255,255,0.14) !important;
    box-shadow: 0 6px 14px rgba(0,0,0,0.60) !important;
  }
}



/* =========================================================
   FINAL CARD SYSTEM – DESKTOP + MOBILE (VISIBLE + ANIMATED)
========================================================= */

:root{
  --card-bg: #181818;
  --card-bg-hover: #1e1e1e;
  --card-border: rgba(255,255,255,0.18);
  --card-border-hover: rgba(255,255,255,0.30);
  --card-shadow: 0 8px 22px rgba(0,0,0,0.65);
  --card-shadow-hover: 0 14px 32px rgba(0,0,0,0.75);
}

/* ----- CARD CONTAINER ----- */
.al-card{
  background: var(--card-bg) !important;
  border: 1.5px solid var(--card-border) !important;
  border-radius: 18px !important;
  box-shadow: var(--card-shadow) !important;
  padding: 14px !important;
  overflow: hidden !important;
  transition:
    transform .18s cubic-bezier(.2,.8,.2,1),
    box-shadow .18s ease,
    border-color .18s ease,
    background .18s ease;
}

/* Hover / focus (desktop) */
@media (hover:hover){
  .al-card:hover{
    transform: translateY(-3px);
    background: var(--card-bg-hover) !important;
    border-color: var(--card-border-hover) !important;
    box-shadow: var(--card-shadow-hover) !important;
  }
}

/* Active press (all devices) */
.al-card:active{
  transform: scale(0.97);
}

/* ----- IMAGE WRAPPER ----- */
.al-card .al-card-img-inner{
  background: #111 !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  overflow: hidden !important;
  margin-bottom: 10px !important;
}

.al-card img{
  transition: transform .25s ease;
}

@media (hover:hover){
  .al-card:hover img{
    transform: scale(1.03);
  }
}

/* ----- TEXT ----- */
.al-card .al-card-name{
  text-align: center !important;
  font-weight: 600 !important;
  letter-spacing: .2px;
}

.al-card .al-card-upcoming{
  text-align: center !important;
  opacity: .9;
  font-size: 12px;
}

/* ----- FEATURED SLIDER ARROWS ----- */
.al-slider-prev,
.al-slider-next{
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: rgba(0,0,0,0.7) !important;
  border: 1.5px solid rgba(255,255,255,0.25) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: background .15s ease, transform .15s ease;
}

.al-slider-prev::before,
.al-slider-next::before{
  font-size: 30px !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  line-height: 1 !important;
}

.al-slider-prev::before{ content: "‹" !important; }
.al-slider-next::before{ content: "›" !important; }

@media (hover:hover){
  .al-slider-prev:hover,
  .al-slider-next:hover{
    background: rgba(0,0,0,0.9) !important;
    transform: scale(1.08);
  }
}

/* ----- MOBILE TUNING ----- */
@media (max-width: 520px){
  .al-card{
    padding: 12px !important;
    border-width: 2px !important;
  }
}



/* ==========================================================================
   CARD VISIBILITY (DESKTOP + MOBILE) — stronger "button" feel
   - Ensures card panel + border are clearly visible on desktop (matches mobile)
========================================================================== */
.al-card{
  background: #171717 !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
  box-shadow: 0 10px 24px rgba(0,0,0,0.55), inset 0 1px 0 rgba(255,255,255,0.05) !important;
}
.al-card:hover{
  transform: translateY(-2px) !important;
  border-color: rgba(255,255,255,0.26) !important;
  box-shadow: 0 14px 32px rgba(0,0,0,0.62), inset 0 1px 0 rgba(255,255,255,0.07) !important;
}
.al-card:active{
  transform: translateY(0) scale(0.99) !important;
}



.al-card-img-inner{
  padding: 6px !important;
}
.al-card-img-inner img{
  border: 1px solid rgba(255,255,255,0.10) !important;
}



/* =========================================================
   FINAL SQUARE CARD SYSTEM (DESKTOP + MOBILE)
========================================================= */

.adp-card,
.al-card,
.artist-card{
  background: #161616 !important;
  border: 1px solid rgba(255,255,255,0.24) !important;
  border-radius: 18px !important;
  box-shadow:
    0 6px 18px rgba(0,0,0,0.55),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  padding: 12px !important;
}

.adp-card:hover,
.al-card:hover,
.artist-card:hover{
  transform: translateY(-2px);
  box-shadow:
    0 10px 26px rgba(0,0,0,0.7),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}

/* TRUE SQUARE IMAGE */
.adp-card .card-image,
.al-card .al-card-img-inner,
.artist-card .artist-image{
  width: 100%;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden;
  border-radius: 14px;
  background: #101010;
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 10px;
}

.adp-card img,
.al-card img,
.artist-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CENTER TEXT */
.al-card .al-card-name,
.adp-card .artist-name{
  text-align: center;
  font-weight: 600;
  margin-top: 6px;
}

.al-card .al-card-upcoming,
.adp-card .artist-upcoming{
  text-align: center;
  font-size: 12px;
  opacity: .85;
}



/* =========================================================
   ADP FINAL – TRUE SQUARE CARDS + PERMANENT BORDER (DESKTOP FIRST)
========================================================= */

/* Card container always visible */
.al-front .al-grid .al-card{
  background: #161616 !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 26px rgba(0,0,0,0.60) !important;
  padding: 12px !important;
  overflow: hidden !important;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.al-front .al-grid .al-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.26) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,0.72) !important;
}

/* Force the image area to be a true square */
.al-front .al-grid .al-card .adp-card-square{
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: #101010;
  border: 1px solid rgba(255,255,255,0.10);
  margin: 0 0 10px 0;
  display: block;
}

.al-front .al-grid .al-card .adp-card-square img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform .22s ease;
}

@media (hover:hover){
  .al-front .al-grid .al-card:hover .adp-card-square img{
    transform: scale(1.03);
  }
}

/* Meta area: fixed-ish height so cards feel "square-ish" (consistent) */
.al-front .al-grid .al-card .adp-card-meta{
  min-height: 54px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.al-front .al-grid .al-card .al-card-name{
  text-align: center !important;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.15;
  margin: 0;
}

.al-front .al-grid .al-card .al-card-events-count{
  text-align: center !important;
  margin-top: 6px;
  font-size: 12px;
  opacity: .88;
}

/* Mobile: keep same look; slightly stronger border so it reads as a button */
@media (max-width: 520px){
  .al-front .al-grid .al-card{
    border-color: rgba(255,255,255,0.20) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.62) !important;
    padding: 10px !important;
  }
  .al-front .al-grid .al-card .al-card-name{
    font-size: 13px;
  }
}

/* Make sure the old image wrapper (if still present anywhere) doesn't interfere */
.al-front .al-grid .al-card .al-card-img-inner{
  display: none !important;
}

/* ========================================================================== 
   STABILIZED OVERRIDES (v10.1)
   Goal: consistent visible card borders on desktop + mobile, true square images,
   no tacky heavy shadows, featured card matches grid cards.
========================================================================== */

:root{
  --adp-border: rgba(255,255,255,0.14);
  --adp-border-soft: rgba(255,255,255,0.10);
  --adp-card-bg: rgba(255,255,255,0.035);
  --adp-card-bg-hover: rgba(255,255,255,0.05);
}

/* Cards: always visible border */
.al-card{
  background: var(--adp-card-bg) !important;
  border: 1px solid var(--adp-border) !important;
  box-shadow: none !important;
}
.al-card:hover{
  background: var(--adp-card-bg-hover) !important;
}

/* Inner image frame: subtle, not double-thick */
.al-card .al-card-img{
  border: 1px solid var(--adp-border-soft) !important;
  box-shadow: none !important;
}

/* True square image area everywhere */
.al-card .al-card-img{
  aspect-ratio: 1 / 1 !important;
}
.al-card .al-card-img img,
.al-card .al-card-img picture,
.al-card .al-card-img source{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Keep card from feeling "tall": tighten vertical padding under image */
.al-card .al-card-bottom{
  padding: 10px 10px 12px !important;
}

/* Featured: match card look (no show count) */
.al-featured-item{
  background: var(--adp-card-bg) !important;
  border: 1px solid var(--adp-border) !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  padding: 12px !important;
}
.al-featured-img-inner{
  aspect-ratio: 1 / 1 !important;
  border: 1px solid var(--adp-border-soft) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
}
.al-featured-img-inner img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Controls: prevent dropdown looking clipped */
.al-controls select,
.al-controls input[type="text"]{
  height: 34px !important;
  line-height: 34px !important;
}
.al-controls select{
  padding: 0 28px 0 12px !important;
  min-width: 120px !important;
}
.al-controls input[type="text"]{
  padding: 0 12px !important;
}

/* Arrows: keep stable placement (do not shift on desktop) */
.al-slider-prev,
.al-slider-next{
  transform: none !important;
}


/* True square image region on all breakpoints */
.al-card .al-card-img,
.al-card .al-card-img img{
  width: 100% !important;
}
.al-card .al-card-img{
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  overflow: hidden !important;
}
.al-card .al-card-img img{
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Reduce overall perceived height (less padding, tighter bottom section) */
.al-card{
  padding: 12px !important;
  border-radius: 18px !important;
}
.al-card .al-card-meta{
  padding-top: 10px !important;
  min-height: 54px !important;
}

/* Sort + search controls: prevent clipping */
.al-controls select,
.al-controls input[type="text"]{
  height: 34px !important;
  line-height: 34px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.al-controls select{
  min-width: 112px !important;
}

/* Featured: match card look, but no events line */
.al-featured-item{
  background: var(--adp-card-bg) !important;
  border: 1px solid var(--adp-border) !important;
  box-shadow: none !important;
  border-radius: 18px !important;
  padding: 14px !important;
}
.al-featured-img-inner{
  aspect-ratio: 1 / 1 !important;
  border: 1px solid var(--adp-border-soft) !important;
  box-shadow: none !important;
}
.al-featured-img-inner img{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Ensure featured name spacing is symmetric */
.al-featured-name{
  margin-top: 10px !important;
}


/* Make borders clearly visible without looking heavy */
.al-card,
.al-featured-item{
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06) inset !important;
}




/* =========================================================
   v10.3 FEATURED ARROW POSITION TUNING
   Move arrows closer to featured artist
========================================================= */

.adp-featured-wrap{
  position: relative;
}

.adp-featured-wrap .adp-arrow-prev{
  left: -28px !important;
}

.adp-featured-wrap .adp-arrow-next{
  right: -28px !important;
}

/* Mobile: keep arrows inside bounds */
@media (max-width: 520px){
  .adp-featured-wrap .adp-arrow-prev{
    left: 4px !important;
  }
  .adp-featured-wrap .adp-arrow-next{
    right: 4px !important;
  }
}


/* ==========================================================================
   ADP VISUAL TUNING (v10.6) — desktop-first, true square cards, subtle borders
   ========================================================================== */

.al-grid{
  justify-items:center;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.al-card{
  width:100%;
  max-width: 230px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.02);
  box-shadow: none;
  border-radius: 14px;
}

.al-card::before{
  content:"";
  position:absolute;
  inset: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
  pointer-events:none;
}

.al-card-image{
  width: calc(100% - 24px);
  margin: 12px auto 0;
  border-radius: 12px;
  overflow:hidden;
  aspect-ratio: 1 / 1;
  background: rgba(0,0,0,.25);
}

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

.al-card-meta{
  padding: 12px 14px 14px;
}

.al-card-name{
  font-size: 14px;
  letter-spacing: .3px;
}

.al-card-shows{
  margin-top: 6px;
  font-size: 12px;
  opacity: .85;
}

/* Featured: match card language, but no "upcoming shows" line */
.al-featured-slider-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 18px;
}

.al-slider-prev,
.al-slider-next{
  position: static !important;
  width: 40px;
  height: 40px;
  border-radius: 10px; /* more boxy */
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  box-shadow:none;
}

.al-slider-prev:hover,
.al-slider-next:hover{
  background: rgba(255,255,255,.06);
}

.al-featured-item-inner{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.02);
  padding: 12px;
  box-shadow:none;
}

.al-featured-image{
  border-radius: 14px;
  overflow:hidden;
  aspect-ratio: 1 / 1;
  width: 280px;
  height: auto;
}

@media (max-width: 900px){
  .al-featured-image{ width: 240px; }
  .al-card{ max-width: 210px; }
  .al-grid{ grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}

@media (max-width: 640px){
  .al-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .al-card{
    max-width: none;
    border-radius: 14px;
  }
  .al-card::before{ inset: 8px; }
  .al-slider-prev,
  .al-slider-next{
    width: 36px; height: 36px; border-radius: 10px;
  }
}

/* ==========================================================================
   ADP FINAL OVERRIDES (v4.5)
   - Remove wrapper frame/border around the shortcode block
   - Increase grid spacing (desktop/tablet/mobile)
   - Remove featured double-border (inner border + inset ring)
   NOTE: does not change button colors or image sizing
========================================================================== */
.al-front{ border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important; }
.al-front::before, .al-front::after{ content: none !important; display: none !important; }

.adp-noframe{ border: 0 !important; outline: 0 !important; box-shadow: none !important; }
.adp-noframe::before, .adp-noframe::after{
  content: none !important;
  display: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: none !important;
}

/* Grid spacing (prevents “kissing” cards) */
.al-front .al-grid{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 32px !important;
  padding: 8px !important;
}
@media (max-width: 980px){
  .al-front .al-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 24px !important; }
}
@media (max-width: 640px){
  .al-front .al-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 18px !important; padding: 6px !important; }
}

/* Featured: remove double border look */
.al-front .al-featured-item{
  box-shadow: 0 10px 28px rgba(0,0,0,0.70) !important; /* remove inset ring */
}
.al-front .al-featured-img-inner{
  border: 0 !important;
  box-shadow: none !important;
}


/* =========================================================
   ADP v4.6 — Border/frame removal + mobile 2-col grid
   - Removes the stubborn 1px frame by neutralizing wrapper borders/outlines/shadows
   - Keeps existing colors/buttons/images unchanged
========================================================= */
.adp-noframe,
.adp-noframe:before,
.adp-noframe:after{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.adp-noframe:before,
.adp-noframe:after{
  content: none !important;
  display: none !important;
  background: none !important;
}

/* Extra safety for Gutenberg wrappers that might draw frames */
.wp-block-group.adp-noframe,
.wp-block-group__inner-container.adp-noframe,
.wp-site-blocks.adp-noframe{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* Card spacing — roomier, consistent */
.al-front .al-grid{
  gap: 40px !important;
  padding: 10px !important;
}

@media (max-width: 980px){
  .al-front .al-grid{
    gap: 28px !important;
    padding: 8px !important;
  }
}

/* Mobile: 2 per row + small gap */
@media (max-width: 640px){
  .al-front .al-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    padding: 6px !important;
  }
}

/* Featured: remove the second (inner) border/frame */
.al-front .al-featured-img-inner{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
.al-front .al-featured-img-inner:before,
.al-front .al-featured-img-inner:after{
  content: none !important;
  display: none !important;
}



/* ==========================================================================
   ADP: Event split buttons – equal width + mobile-safe wrapping
   (No color changes; uses existing button styles.)
========================================================================== */
.al-event-split-container {
    flex-wrap: nowrap;
}
.al-event-split-container .al-event-split-btn{
    flex: 1 1 0;
    min-width: 0;
    box-sizing: border-box;
    text-align: center;
}

@media (max-width: 560px){
    .al-event-split-container{
        flex-wrap: wrap;
    }
    .al-event-split-container .al-event-split-btn{
        flex: 1 1 160px;
    }
}


/* =========================================================
   ADP v4.7 UI FIXES (targeted)
   - Keep existing colors/images/buttons.
   - Fix mobile grid wobble (2 per row).
   - Add breathing room between cards.
   - Clean borders/shadows (less tacky).
   - Remove featured double border.
   - Kill shortcode wrapper frame strokes (when adp-noframe applied).
========================================================= */

/* Grid: stable + professional spacing */
.al-front .al-grid{
  display: grid !important;
  align-items: stretch !important;
  gap: 26px !important;
  row-gap: 26px !important;
  column-gap: 26px !important;
  padding: 6px !important; /* prevents shadows “kissing” container edges */
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

@media (max-width: 980px){
  .al-front .al-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
    padding: 6px !important;
  }
}

@media (max-width: 560px){
  .al-front .al-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    padding: 4px !important;
  }
}

/* Cards: thinner border + cleaner shadow (no tacky heavy glow) */
.al-front .al-grid .al-card{
  border: 1px solid rgba(255,255,255,0.12) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.45) !important;
}

/* Featured: remove “double frame” look */
.al-featured-item{
  border: 1px solid rgba(255,255,255,0.14) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.55) !important;
}

.al-featured-img-inner{
  border: 0 !important;
  box-shadow: none !important;
}

/* Manual/social buttons: 2-per-row on mobile, no clipping */
@media (max-width: 560px){
  #al-modal-buttons-manual{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    max-width: 100% !important;
  }
  #al-modal-buttons-manual a.al-button{
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}

/* Affiliate split buttons: equal width + never overlap */
.al-event-split{
  display: flex !important;
  gap: 10px !important;
  max-width: 100% !important;
}
.al-event-split .al-event-split-btn{
  flex: 1 1 0 !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  text-align: center !important;
}
@media (max-width: 560px){
  .al-event-split{
    flex-wrap: nowrap !important;
  }
  .al-event-split .al-event-split-btn{
    font-size: 12px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* Wrapper frame killer (only when JS marks wrappers as adp-noframe) */
.adp-noframe{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
.adp-noframe::before,
.adp-noframe::after{
  content: none !important;
  display: none !important;
}
