main.erl-contractor .resource-blog-index .resource-blog-card {
  display: flex;
  flex-direction: column;
}

.resource-blog-index .resource-blog-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 1rem;
}

.resource-blog-index .resource-blog-card .resource-blog-category {
  margin-bottom: .4rem;
  font-weight: 600;
}

.resource-blog-index .resource-blog-card h3 {
  margin-bottom: .65rem;
}

html body main.erl-contractor .resource-blog-index .resource-blog-card a.resource-blog-link {
  align-self: flex-start;
  margin-top: auto;
  color: #185485 !important;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: .2em;
}

html body main.erl-contractor .resource-blog-index .resource-blog-card a.resource-blog-link:is(:hover, :focus-visible) {
  color: #103656 !important;
  text-decoration-thickness: 2px;
}

.resource-blog-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin: 2rem 0 1rem;
}

.resource-blog-pagination :is(a, span) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding-inline: .7rem;
  border: 1px solid #c4d5e2;
  color: #193a54;
  font-weight: 600;
}

.resource-blog-pagination [aria-current="page"] {
  background: #193a54;
  color: #fff;
  border-color: #193a54;
}

.resource-blog-pagination a:is(:hover, :focus-visible) {
  background: #edf4f9;
  text-decoration: underline;
}
