.shelter-listings-resource {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 3vw, 2.25rem);
  align-items: center;
  width: min(calc(100% - 40px), 1160px);
  margin: 1.5rem auto;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(14, 48, 72, .18);
  border-left: 5px solid #0e6768;
  border-radius: 14px;
  background: #f4fbfa;
  box-shadow: 0 10px 28px rgba(8, 34, 52, .07);
  color: #243f50;
  text-decoration: none;
  cursor: pointer;
}

.shelter-listings-resource h2,
.shelter-listings-resource h3 {
  margin: .2rem 0 .5rem;
  color: #082234;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.15;
}

.shelter-listings-resource p { margin: 0; line-height: 1.6; }
.shelter-listings-resource .resource-label {
  color: #0e6768;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.shelter-listings-link {
  display: grid;
  min-width: 220px;
  padding: .85rem 1rem;
  place-items: center;
  gap: .55rem;
  border: 1px solid rgba(14, 48, 72, .18);
  border-radius: 10px;
  background: #fff;
  color: #0e3048;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.shelter-listings-link:hover,
.shelter-listings-link:focus-visible {
  border-color: #0e6768;
  box-shadow: 0 0 0 3px rgba(14, 103, 104, .14);
}

.shelter-listings-link img {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
}

.shelter-listings-link span { font-size: .9rem; }

.complete .shelter-listings-resource {
  width: 100%;
  margin: 1.25rem 0;
  text-align: left;
}

.trust-callout .shelter-listings-link {
  min-width: 0;
  margin-top: .8rem;
}

.cw-shelter-badge {
  display: grid;
  margin-top: .8rem;
  gap: .4rem;
}

.cw-shelter-badge a {
  display: inline-block !important;
  padding: .5rem !important;
  border-radius: 8px;
  background: #fff;
}

.cw-shelter-badge img {
  display: block;
  width: 145px;
  max-width: 100%;
  height: auto;
}

.cw-shelter-badge small {
  display: block;
  margin-top: .4rem;
  max-width: 260px;
  color: rgba(255, 255, 255, .7);
  font-size: .75rem;
  line-height: 1.45;
}

@media (max-width: 700px) {
  .shelter-listings-resource { grid-template-columns: 1fr; width: min(calc(100% - 28px), 1160px); }
  .shelter-listings-link { width: 100%; min-width: 0; }
}
