/* Pod grid: the carousel's pods laid out as a responsive grid of cards. */

.pod-grid {
  padding-block: 32px;
}

.pod-grid__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pod-grid__item {
  display: flex;
  margin: 0;
}

.pod-grid__pod {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #f4f4f4;
  color: #1a1a1a;
}

.pod-grid__media {
  aspect-ratio: 5 / 3;
  overflow: hidden;
}

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

.pod-grid__content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 22px 22px;
  text-align: center;
}

.pod-grid__header {
  margin: 0;
  color: #1a1a1a;
  font-family: var(--header-font, "Cachet Std"), Verdana, sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.pod-grid__body {
  margin: 0 0 12px;
  color: #6d6d6d;
  font-family: var(--text-font, Verdana), sans-serif;
  font-size: 15px;
  line-height: 1.35;
}

/* Buttons line up along the bottom of each row. */
.pod-grid .button-cta,
.pod-grid .button-cta:link,
.pod-grid .button-cta:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 0;
  block-size: auto;
  margin-top: auto;
  padding: 8px 50px;
  border: 2px solid #e39b2b;
  border-radius: 999px;
  background: #fff;
  color: #9d3632;
  font-family: var(--header-font, "Cachet Std"), Verdana, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
}

.pod-grid .button-cta::after {
  content: none;
  display: none;
  background: none;
}

.pod-grid .button-cta:hover,
.pod-grid .button-cta:focus {
  background: #e39b2b;
  color: #fff;
  filter: none;
  text-decoration: none;
}
