/*----------------------------------------------
Certifications page. Loaded together with about-page.css, which supplies
the banner (.abt-hero) and the page wrapper (.abt-page, .abt-wrap).
----------------------------------------------*/

.crt-body {
  padding-bottom: 72px;
  padding-top: 40px;
}

.crt-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.crt-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(16, 58, 140, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.crt-card:hover {
  box-shadow: 0 20px 44px rgba(16, 58, 140, 0.16);
  transform: translateY(-4px);
}

.crt-thumb {
  align-items: center;
  background: #e4effd;
  border-bottom: 1px solid #dbe6f5;
  display: flex;
  height: 240px;
  justify-content: center;
  padding: 16px;
}

.crt-thumb img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.crt-thumb i {
  color: #1d5fd6;
  font-size: 64px;
  opacity: 0.55;
}

.crt-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 20px;
}

.crt-card h2 {
  color: #0d2a63;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px;
}

.crt-meta {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.crt-meta li {
  color: #10244d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 6px;
}

.crt-meta i {
  color: #1d5fd6;
  margin-right: 6px;
  text-align: center;
  width: 16px;
}

.crt-meta span {
  color: #4a5b7d;
  font-weight: 400;
  margin-right: 4px;
}

.crt-card p {
  color: #4a5b7d;
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 16px;
  white-space: pre-line;
}

.crt-link {
  align-items: center;
  align-self: flex-start;
  background: linear-gradient(90deg, #1d5fd6 0%, #2e8ff0 60%, #35b0f6 100%);
  border-radius: 10px;
  color: #ffffff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  height: 40px;
  margin-top: auto;
  padding: 0 18px;
  transition: box-shadow 0.2s ease;
}

.crt-link:hover,
.crt-link:focus {
  box-shadow: 0 10px 22px rgba(29, 95, 214, 0.3);
  color: #ffffff;
}

.crt-empty {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 12px 34px rgba(16, 58, 140, 0.08);
  color: #4a5b7d;
  padding: 56px 24px;
  text-align: center;
}

.crt-empty i {
  color: #1d5fd6;
  font-size: 44px;
  margin-bottom: 14px;
  opacity: 0.55;
}

.crt-empty p {
  font-size: 15.5px;
  margin: 0;
}

@media (max-width: 575px) {
  .crt-body {
    padding-bottom: 56px;
    padding-top: 28px;
  }

  .crt-thumb {
    height: 200px;
  }
}
