<!-- VENUES PAGE CSS -->
<style>
  /* =========================
     VENUES PAGE
  ========================== */

  .VENUE-page {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 35px 20px 60px;
    box-sizing: border-box;
    font-family: "Teko", sans-serif;
  }

  /* PAGE TITLE */

  #venuedata {
    text-align: center;
    margin: 2em;
  }

  #venuedata h1 {
    margin: 0 0 20px;
    font-family: "Changa One", sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 0.95;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 4px 4px 0 #6b0505;
  }

  /* SEARCH AREA */

  #search-area {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    max-width: 850px;
    margin: 0 auto 18px;
  }

  #search-box {
    flex: 1;
    min-width: 0;
    padding: 13px 16px;
    border: 2px solid #6b0505;
    background: #111;
    color: #fff;
    font-family: "Teko", sans-serif;
    font-size: 1.25rem;
    outline: none;
    box-sizing: border-box;
  }

  #search-box::placeholder {
    color: #999;
  }

  #search-box:focus {
    border-color: red;
  }

  #search-area button {
    padding: 10px 20px;
    border: 2px solid #6b0505;
    background: #6b0505;
    color: white;
    font-family: "Changa One", sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.15s ease;
  }

  #search-area button:hover {
    background: black;
    border-color: white;
  }

  #venuedata center {
    font-family: "Teko", sans-serif;
    font-size: 1.1rem;
  }

  #venuedata center a {
    color: #ffffff !important;
    text-decoration: none;
  }

  #venuedata center a:hover {
    text-decoration: underline;
  }

  /* VENUE GRID */

  .venue-wrapper {
    width: 100%;
  }

  #venue-results {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 2em;
  }

  /* VENUE CARD */

  .venue-card {
    position: relative;
    display: block;
    min-height: 12em;
    overflow: hidden;
    background-color: #151515;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    border: 2px solid #292929;
    box-shadow: 5px 5px 0 #000;
    transition:
      transform 0.15s ease,
      border-color 0.15s ease,
      box-shadow 0.15s ease;
  }

  .venue-card:hover {
    transform: translate(-3px, -3px);
    border-color: white;
    box-shadow: 8px 8px 0 #000;
  }

  /* DARK OVERLAY */

  .venue-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.2) 35%,
        rgba(0, 0, 0, 0.9) 100%
      );
    z-index: 1;
  }

  .venue-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 18px;
    box-sizing: border-box;
  }

  /* VENUE LOGO */

  .venue-logo {
    width: auto;
    max-width: 75%;
    max-height: 85px;
    object-fit: contain;
    object-position: left bottom;
    margin-bottom: 12px;
    filter: drop-shadow(2px 2px 2px #000);
  }

  /* VENUE INFO */

  .venue-info h2 {
    margin: 0 0 2px;
    font-family: "Changa One", sans-serif;
    font-size: 1.65rem;
    line-height: 1;
    text-transform: uppercase;
    color: white;
    text-shadow: 2px 2px 0 #000;
  }

  .venue-info p {
    margin: 2px 0;
    font-family: "Teko", sans-serif;
    font-size: 1.05rem;
    line-height: 1.1;
    color: #ddd;
    text-shadow: 1px 1px 2px #000;
  }

  /* NO RESULTS */

  #venue-results > p {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px 20px;
    margin: 0;
    background: #111;
    border: 2px solid #292929;
    color: #fff;
    font-family: "Changa One", sans-serif;
    font-size: 1.5rem;
  }


  /* =========================
     TABLET
  ========================== */

  @media (max-width: 1000px) {

    #venue-results {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

  }


  /* =========================
     MOBILE
  ========================== */

  @media (max-width: 700px) {

    .VENUE-page {
      padding: 25px 12px 45px;
    }

    #venuedata {
      margin-bottom: 25px;
    }

    #venuedata h1 {
      font-size: 2.8rem;
    }

    #search-area {
      flex-wrap: wrap;
    }

    #search-box {
      flex: 1 1 100%;
      width: 100%;
    }

    #search-area button {
      flex: 1;
    }

    #venue-results {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }

    .venue-card {
      min-height: 230px;
      box-shadow: 3px 3px 0 #000;
    }

    .venue-card:hover {
      transform: none;
      box-shadow: 3px 3px 0 #000;
    }

    .venue-overlay {
      padding: 12px;
    }

    .venue-logo {
      max-width: 85%;
      max-height: 65px;
      margin-bottom: 8px;
    }

    .venue-info h2 {
      font-size: 1.25rem;
    }

    .venue-info p {
      font-size: 0.95rem;
    }

  }


  /* =========================
     SMALL PHONES
  ========================== */

  @media (max-width: 450px) {

    #venue-results {
      grid-template-columns: 1fr;
    }

    .venue-card {
      min-height: 250px;
    }

    #venuedata h1 {
      font-size: 2.35rem;
    }

  }

</style>