.container {
  margin-top: 20px;
}

.venue-index-section {
  padding-bottom: 4.5rem;
  margin-bottom: 2rem;
}

#venuesHeading {
  text-align: center;
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 1.4px;
  margin-bottom: 10px;
}

#venuesSubheading {
  text-align: center;
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-size: 57px;
  line-height: 57.01px;
  letter-spacing: -0.6px;
}

#venuesSubheading span {
  color: #0d97e9;
}

#venuesGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.venue-card {
  border: 1px solid #1097e9;
  border-radius: 15px;
  position: relative;
  min-width: 0;
}

.venue-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border: 1px solid rgba(13, 151, 233, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.venue-card__link:hover {
  text-decoration: none;
  color: inherit;
  transform: translateY(-3px);
  border-color: rgba(13, 151, 233, 0.28);
  box-shadow: 0 14px 32px rgba(13, 151, 233, 0.14);
}

.venue-card__media {
  position: relative;
  flex-shrink: 0;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f4fd 0%, #eef1f6 100%);
}

.venue-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.venue-card__link:hover .venue-card__image {
  transform: scale(1.04);
}

.venue-card__panel {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.venue-card__accent {
  height: 2px;
  flex-shrink: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #0d97e9 18%,
    rgba(13, 151, 233, 0.55) 50%,
    #0d97e9 82%,
    transparent 100%
  );
}

.venue-card__panel-inner {
  flex: 1 1 auto;
  padding: 0.45rem 0.55rem 0.5rem;
  border-left: 2px solid #0d97e9;
  margin: 0.35rem 0.45rem 0.45rem;
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
}

.venue-card__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  min-width: 0;
  margin-bottom: 0.25rem;
}

.venue-card__title {
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.venue-card__location {
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
  margin: 0;
  min-width: 0;
  width: 100%;
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.3;
  color: #64748b;
}

.venue-card__location .bi {
  flex-shrink: 0;
  margin-top: 0.1rem;
  font-size: 0.72rem;
  color: #0d97e9;
}

.venue-card__location span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  word-break: break-word;
}

.venue-card__price {
  flex-shrink: 0;
  padding: 0.12rem 0.38rem;
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #0d97e9;
  background: rgba(13, 151, 233, 0.08);
  border: 1px solid rgba(13, 151, 233, 0.18);
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 1199px) {
  #venuesGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  #venuesSubheading {
    font-size: 42px;
    line-height: 1.05;
  }

  #venuesGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .venue-card__media {
    height: 200px;
  }
}

@media (max-width: 575px) {
  #venuesSubheading {
    font-size: 32px;
  }

  #venuesGrid {
    grid-template-columns: 1fr;
  }

  .venue-card__media {
    height: 190px;
  }

  .venue-index-section {
    padding-bottom: 3rem;
    margin-bottom: 1.5rem;
  }
}
