/* extreme event card grid */
.pods-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
	width: 100%;
	clear: both;
}

.pod-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e6e6e6;
  width: 100%;
}

.pod-card-body {
  padding: 1rem;
}

.pod-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

/* taxonomy terms */
.event-meta {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  margin-top: .75rem;
  font-size: .95rem;
}

.pod-card-body .card-overview {
    margin-top: .75rem;
}

/* Filters */
.pods-filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: end;
  margin-bottom: 2rem;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  flex: 0 1 auto;
}

.filter-field label {
  font-size: .95rem;
  font-weight: 600;
  color: #1a1a1a;
}

.pods-filter-form select {
  width: auto;
  min-width: 140px;
  white-space: nowrap;
  min-height: 48px;
  font-size: 1rem;
  padding: .55rem 2.5rem .55rem .75rem;
}

.pods-filter-form button {
  min-height: 48px;
  padding: .55rem 1.5rem;
  font-size: 1rem;
}

/* reset button */
.pods-reset-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  min-height: 48px;
  padding: .55rem 1.5rem;
  text-decoration: none;
  color: #ffffff;
  border: 1px solid #0941c1;
  background: #1357f4;
  border-radius: 4px;
}

.pods-reset-button:hover,
.pods-reset-button:focus {
  background: #f8961f;
  border: 1px solid #d37707;
  color: black;
  text-decoration: none;
}

/* tablet */
@media (max-width: 900px) {
  .pods-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* phone */
@media (max-width: 600px) {
  .pods-card-grid {
    grid-template-columns: 1fr;
  }

  .pods-filter-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .filter-field,
  .pods-filter-form button {
    width: 100%;
  }
}