/* ========================================================================== 
   Shop By Venue directory
   ========================================================================== */

.avl-venue-directory {
  --avl-venue-ink: #0b0b0d;
  --avl-venue-muted: #5f6368;
  --avl-venue-surface: #ffffff;
  --avl-venue-soft: #f5f5f7;
  --avl-venue-border: #e4e4e7;
  --avl-venue-accent: #ff2800;
  --avl-venue-accent-dark: #c90818;
  width: 100%;
  overflow: clip;
  color: var(--avl-venue-ink);
  background: var(--avl-venue-surface);
  font-family: "Lexend Deca", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.avl-venue-directory,
.avl-venue-directory * {
  box-sizing: border-box;
}

.avl-venue-hero {
  position: relative;
  display: grid;
  min-height: clamp(390px, 44vw, 580px);
  isolation: isolate;
  overflow: hidden;
  background-color: #17171a;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.avl-venue-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 5, 7, .92) 0%, rgba(5, 5, 7, .72) 48%, rgba(5, 5, 7, .32) 100%),
    linear-gradient(0deg, rgba(5, 5, 7, .28), rgba(5, 5, 7, .28));
}

.avl-venue-hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 132px) clamp(20px, 5vw, 72px) clamp(64px, 8vw, 112px);
}

.avl-venue-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 clamp(34px, 5vw, 64px);
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
  line-height: 1.5;
}

.avl-venue-breadcrumbs a {
  color: #ffffff;
  text-decoration: none;
}

.avl-venue-breadcrumbs a:hover,
.avl-venue-breadcrumbs a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.avl-venue-eyebrow {
  margin: 0 0 12px;
  color: var(--avl-venue-accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.avl-venue-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -.045em;
}

.avl-venue-hero-copy {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .85);
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1.65;
}

.avl-venue-hero-action {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  align-self: flex-start;
  min-height: 48px;
  margin-top: 30px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, .08);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.avl-venue-hero-action:hover,
.avl-venue-hero-action:focus-visible {
  border-color: #ffffff;
  color: #ffffff;
  background: rgba(255, 255, 255, .16);
  transform: translateY(-2px);
}

.avl-venue-solutions {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
  scroll-margin-top: 100px;
}

.avl-venue-section-heading {
  max-width: 780px;
  margin: 0 0 clamp(34px, 5vw, 56px);
}

.avl-venue-section-heading h2,
.avl-venue-advice h2 {
  margin: 0;
  color: var(--avl-venue-ink);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.avl-venue-section-heading > p:last-child,
.avl-venue-advice > div > p:last-child {
  margin: 18px 0 0;
  color: var(--avl-venue-muted);
  font-size: 16px;
  line-height: 1.7;
}

.avl-venue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
  align-items: stretch;
}

.avl-venue-card {
  display: flex;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--avl-venue-border);
  border-radius: 18px;
  color: var(--avl-venue-ink);
  background: var(--avl-venue-surface);
  box-shadow: 0 12px 34px rgba(17, 24, 39, .06);
  text-decoration: none;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.avl-venue-card:hover,
.avl-venue-card:focus-visible {
  border-color: rgba(255, 40, 0, .42);
  color: var(--avl-venue-ink);
  box-shadow: 0 20px 46px rgba(17, 24, 39, .12);
  transform: translateY(-5px);
}

.avl-venue-card:focus-visible,
.avl-venue-hero-action:focus-visible,
.avl-venue-advice > a:focus-visible {
  outline: 3px solid rgba(255, 40, 0, .34);
  outline-offset: 4px;
}

.avl-venue-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--avl-venue-soft);
}

.avl-venue-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}

.avl-venue-card:hover .avl-venue-card-image,
.avl-venue-card:focus-visible .avl-venue-card-image {
  transform: scale(1.035);
}

.avl-venue-card-shade {
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(0deg, rgba(0, 0, 0, .2), transparent);
  pointer-events: none;
}

.avl-venue-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(20px, 2.5vw, 28px);
}

.avl-venue-card-title {
  color: var(--avl-venue-ink);
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.avl-venue-card-description {
  display: -webkit-box;
  min-height: calc(1.65em * 3);
  overflow: hidden;
  margin-top: 12px;
  color: var(--avl-venue-muted);
  font-size: 14px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.avl-venue-card-action {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-top: auto;
  padding-top: 22px;
  color: var(--avl-venue-accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.avl-venue-card-action > span {
  transition: transform .2s ease;
}

.avl-venue-card:hover .avl-venue-card-action > span,
.avl-venue-card:focus-visible .avl-venue-card-action > span {
  transform: translateX(4px);
}

@media (min-width: 1025px) {
  .avl-venue-card:last-child:nth-child(3n + 1) {
    grid-column: 2;
  }
}

.avl-venue-advice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  width: min(calc(100% - 40px), 1296px);
  margin: 0 auto clamp(64px, 8vw, 112px);
  padding: clamp(34px, 5vw, 64px);
  border-radius: 22px;
  color: #ffffff;
  background: #111114;
}

.avl-venue-advice h2 {
  max-width: 800px;
  color: #ffffff;
}

.avl-venue-advice > div > p:last-child {
  max-width: 760px;
  color: rgba(255, 255, 255, .72);
}

.avl-venue-advice > a {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 21px;
  border-radius: 7px;
  color: #ffffff;
  background: var(--avl-venue-accent);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}

.avl-venue-advice > a:hover,
.avl-venue-advice > a:focus-visible {
  color: #ffffff;
  background: var(--avl-venue-accent-dark);
  transform: translateY(-2px);
}

.avl-venue-empty {
  width: min(calc(100% - 40px), 900px);
  margin: clamp(50px, 8vw, 100px) auto;
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid var(--avl-venue-border);
  border-radius: 18px;
  background: var(--avl-venue-soft);
  text-align: center;
}

.avl-venue-empty h1,
.avl-venue-empty h3 {
  margin: 0;
  color: var(--avl-venue-ink);
  line-height: 1.25;
}

.avl-venue-empty p {
  margin: 14px 0 0;
  color: var(--avl-venue-muted);
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .avl-venue-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .avl-venue-card:last-child:nth-child(2n + 1) {
    grid-column: 1 / -1;
    width: calc(50% - 10px);
    justify-self: center;
  }

  .avl-venue-advice {
    grid-template-columns: 1fr;
  }

  .avl-venue-advice > a {
    justify-self: start;
  }
}

@media (max-width: 767px) {
  .avl-venue-hero {
    min-height: 520px;
    background-position: center;
  }

  .avl-venue-hero-overlay {
    background: linear-gradient(0deg, rgba(5, 5, 7, .93) 0%, rgba(5, 5, 7, .62) 70%, rgba(5, 5, 7, .45) 100%);
  }

  .avl-venue-hero-inner {
    justify-content: flex-end;
    padding-top: 92px;
  }

  .avl-venue-breadcrumbs {
    margin-bottom: 32px;
  }

  .avl-venue-solutions {
    padding-right: 20px;
    padding-left: 20px;
  }

  .avl-venue-grid {
    grid-template-columns: 1fr;
  }

  .avl-venue-card:last-child:nth-child(2n + 1) {
    grid-column: auto;
    width: 100%;
  }

  .avl-venue-card-description {
    min-height: 0;
  }

  .avl-venue-advice {
    gap: 28px;
    width: calc(100% - 40px);
    padding: 32px 24px;
    border-radius: 18px;
  }

  .avl-venue-advice > a {
    width: 100%;
  }
}

@media (max-width: 374px) {
  .avl-venue-hero-inner {
    padding-right: 16px;
    padding-left: 16px;
  }

  .avl-venue-solutions {
    padding-right: 16px;
    padding-left: 16px;
  }

  .avl-venue-advice {
    width: calc(100% - 32px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .avl-venue-directory *,
  .avl-venue-directory *::before,
  .avl-venue-directory *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
