/* 1. Import Sora */
@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700&display=swap");

/* 2. Grid wrapper */
.resource-center {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
  justify-content: center;
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 16px;
}

/* 3. Card base */
.resource-center__card {
  background: #fff;
  border: 1px solid #E5F4F8;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease;
}
.resource-center__card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* 4. Image container */
.rc-image {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 ratio */
  overflow: hidden;
}
.rc-image img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* 5. Body wrapper */
.rc-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: flex-start; /* ensure children don't stretch horizontally */
}

/* 6. Category pill */
.rc-category {
  display: inline-block;
  align-self: flex-start;   /* prevent stretching in flex container */
  width: auto;              /* shrink to content */
  background-color: #00B9E5;
  color: #FFFFFF;
  text-transform: uppercase;
  font-family: "Sora", sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

/* 7. Title */
.rc-title {
  margin: 0 0 16px;
  font-family: "Sora", sans-serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: rgb(9, 30, 49);
  letter-spacing: 0.02em;
}
.rc-title a {
  text-decoration: none;
  color: inherit;
}

/* 8. Excerpt */
.rc-excerpt {
  flex: 1;
  margin: 0 0 24px;
  font-family: "Sora", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: rgb(9, 30, 49);
}

/* 9. Read more link */
.rc-readmore {
  font-family: "Sora", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #00B9E5;
  text-decoration: none;
  align-self: flex-start;
}
.rc-readmore::after {
  content: "›";
  margin-left: 4px;
}
.rc-readmore:hover {
  text-decoration: underline;
}

/* 10. Pagination buttons */
.rc-pagination {
  text-align: center;
  margin: 32px 0;
}
.rc-btn {
  display: inline-block;
  background: rgb(9, 30, 49);
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border
