 /* ========================================
   LUNCHBOX SATX
   SHOWS PAGE
======================================== */


/* ========================================
   PAGE
======================================== */

.SHOWS-page {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;

  padding: 35px 20px 60px;

  box-sizing: border-box;

  font-family: "Teko", sans-serif;
}


/* ========================================
   PAGE TITLE
======================================== */

#Titles {
  text-align: center;

  margin: 0 0 8px;
}

#Titles p {
  margin: 0;

  font-family: "Changa One", sans-serif;

  font-size: clamp(2.5rem, 6vw, 4.5rem) !important;

  line-height: 1;

  text-transform: uppercase;

  color: white;

  text-shadow: 4px 4px 0 #6b0505;
}


/* ========================================
   SUBMISSION LINK
======================================== */

.SHOWS-page > center > a {
  display: inline-block;

  margin: 8px 0 25px;

  font-family: "Changa One", sans-serif;

  color: red !important;

  text-decoration: none;

  line-height: 1.1;
}

.SHOWS-page > center > a:hover {
  text-decoration: underline;
}


/* ========================================
   GENRE + CITY FILTERS
======================================== */

#genre-filter-buttons,
#city-filter-buttons {
  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  align-items: center;

  gap: 7px;

  max-width: 1200px;

  margin: 0 auto 10px;
}


/* ========================================
   FILTER BUTTONS
======================================== */

#genre-filter-buttons button,
#city-filter-buttons button {
  border: 2px solid #222;

  padding: 8px 14px;
  background: black;

  min-height: 38px;

  color: white;

  font-family: "Changa One", sans-serif;

  font-size: 0.9rem;

  text-transform: uppercase;

  cursor: pointer;

  transition:
    transform 0.12s ease,
    filter 0.12s ease,
    border-color 0.12s ease;
}


/* HOVER */

#genre-filter-buttons button:hover,
#city-filter-buttons button:hover {
  transform: translateY(-2px);

  filter: brightness(1.25);

  border-color: white;
}


/* ========================================
   RESET FILTER BUTTON
======================================== */

.SHOWS-page button[onclick="resetFilters()"] {
  border: 2px solid #333;

  padding: 8px 18px;

  background: #444 !important;

  color: white;

  font-family: "Changa One", sans-serif;

  font-size: 0.9rem;

  text-transform: uppercase;

  cursor: pointer;

  transition: 0.12s ease;
}

.SHOWS-page button[onclick="resetFilters()"]:hover {
  background: #222 !important;

  border-color: white;
}


/* ========================================
   FLYER GALLERY
======================================== */

#flyer-gallery {
  display: grid;

  /* 4 FLYERS PER ROW */
  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 20px;

  width: 100%;

  margin-top: 30px;
}


/* ========================================
   FLYER CARD
======================================== */

.flyer-card {
  display: block;

  position: relative;

  overflow: hidden;

  background: #111;

  border: 2px solid #292929;

  box-shadow:
    5px 5px 0 #000;

  text-decoration: none;

  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}


/* ========================================
   FLYER IMAGE
======================================== */

.flyer-card img {
  display: block;

  width: 100%;

  height: auto;

  aspect-ratio: 2 / 3;

  background: #111;

  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}


/* ========================================
   HOVER EFFECT
======================================== */

.flyer-card:hover {
  transform: translate(-3px, -3px);

  border-color: #6b0505;

  box-shadow:
    8px 8px 0 #000;
}

.flyer-card:hover img {
  transform: scale(1.025);

  filter: brightness(1.08);
}


/* ========================================
   DATE UNDER FLYER
======================================== */

.flyer-card > div {
  padding: 8px 10px 10px;

  margin: 0 !important;

  background: #111;

  color: white !important;

  font-family: "Teko", sans-serif !important;

  font-size: 1.25rem !important;

  font-weight: 600;

  line-height: 1;

  letter-spacing: 0.5px;
}


/* ========================================
   HIDDEN FLYERS
======================================== */

.flyer-card.hidden {
  display: none;
}


/* ========================================
   EMPTY GALLERY
======================================== */

#flyer-gallery:empty {
  display: none;
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 1000px) {

  #flyer-gallery {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));

    gap: 16px;
  }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 700px) {

  .SHOWS-page {
    padding: 25px 12px 45px;
  }


  #Titles p {
    font-size: 2.8rem !important;
  }


  #genre-filter-buttons,
  #city-filter-buttons {
    gap: 5px;

    margin-bottom: 8px;
  }


  #genre-filter-buttons button,
  #city-filter-buttons button {
    padding: 7px 10px;

    min-height: 35px;

    font-size: 0.78rem;
  }


  /* 2 FLYERS PER ROW */

  #flyer-gallery {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 12px;

    margin-top: 22px;
  }


  .flyer-card {
    box-shadow:
      3px 3px 0 #000;
  }


  .flyer-card:hover {
    transform: none;

    box-shadow:
      3px 3px 0 #000;
  }


  .flyer-card > div {
    font-size: 1.05rem !important;

    padding: 7px;
  }

}


/* ========================================
   SMALL PHONES
======================================== */

@media (max-width: 420px) {

  /* 1 FLYER PER ROW */

  #flyer-gallery {

    gap: 12px;
  }


  #Titles p {
    font-size: 2.35rem !important;
  }


  #genre-filter-buttons button,
  #city-filter-buttons button {
    font-size: 0.72rem;

    padding: 6px 8px;
    background: black;
  }


  .flyer-card > div {
    font-size: 0.95rem !important;
  }

}