/*--------------------------------------------------------------
# CERTIFICATE DETAILS
--------------------------------------------------------------*/
.cer-detail .features-image {
  position: relative;
  min-height: 600px;
}

.cer-detail .features-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}

.cer-detail h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #521648;
}

.cer-detail h3:after {
  content: "";
  background: var(--accent-color);
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  left: 0;
  bottom: 0;
}

.cer-detail .related-certi {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-behavior: smooth;
}

.cer-detail .related-certi::-webkit-scrollbar {
  height: 6px;
}

.cer-detail .related-certi::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.cer-detail .related-certi a.related-item {
  flex: 0 0 auto;
  width: 250px;
  background: #f9f9f9;
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.cer-detail .related-certi a.related-item:hover {
  background: linear-gradient(to right, #800080, #ffffff);
  font-weight: 400;
  font-style: italic;
}
