.rf-cert-feed-container { padding: 2rem 0; color: #fff; }
.rf-cert-feed-title { font-size: 2.3rem; margin-bottom: 2.5rem; font-weight: 800; letter-spacing: -1.5px; }
.rf-cert-feed-card {
  background: rgba(255,255,255,0.07);
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 2.2rem;
  padding: 2rem 2.4rem;
  margin-bottom: 2.2rem;
  box-shadow: 0 6px 40px 0 rgba(91,46,255,0.10);
  width: 100%;
}

.rf-cert-feed-logo img, .rf-no-cert-logo {
  width: 105px;
  height: 105px;
  object-fit: contain;
  border-radius: 12px;
  background: #222046;
  box-shadow: 0 0 10px rgba(0,0,0,0.11);
  display: block;
}

.rf-no-cert-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ad86ff;
  font-weight: 600;
  font-size: 1.1em;
}

.rf-cert-feed-info {
  flex: 1 1 310px;
  min-width: 220px;
}

.rf-cert-feed-title-row {
  margin-bottom: 9px;
}
.rf-cert-feed-title-txt {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  display: block;
}

.rf-cert-feed-provider {
  color: #99c7ff;
  margin-bottom: 10px;
  font-size: 15px;
}
.rf-cert-feed-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 10px;
  flex-wrap: wrap;
  font-size: 14px;
}
.rf-cert-feed-level, .rf-cert-feed-year {
  background: rgba(255,255,255,0.13);
  color: #fff;
  border-radius: 14px;
  padding: 5px 12px;
  font-size: 13px;
}

.rf-cert-feed-likes {
  color: #fa7185;
  font-weight: 500;
  font-size: 15px;
  margin-top: 7px;
}

.rf-like-icon {
  margin-right: 6px;
}

.rf-cert-feed-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-left: auto;
  align-items: flex-end;
}
.rf-cert-feed-btn {
  background: linear-gradient(90deg, #5b2eff 0%, #38bdf8 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px 24px;
  font-weight: 600;
  font-size: 1em;
  text-decoration: none;
  box-shadow: 0 2px 10px 0 rgba(91,46,255,0.12);
  transition: opacity 0.2s;
}
.rf-cert-feed-btn:hover { opacity: 0.93; }
.rf-cert-provider-btn {
  background: transparent;
  border: 1.5px solid #7a5ef8;
  color: #ad86ff;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, color .15s, border .15s;
}
.rf-cert-provider-btn:hover {
  background: #38bdf8;
  color: #fff;
  border-color: #38bdf8;
}

/* DETAIL PAGE */
.rf-cert-detail-wrap {
  max-width: 850px;
  margin: 0 auto;
  padding: 3rem 0 2rem 0;
}

.rf-cert-detail-card {
  background: rgba(255,255,255,0.07);
  border-radius: 24px;
  box-shadow: 0 6px 40px 0 rgba(91,46,255,0.10);
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  padding: 2.4rem 2rem;
  flex-wrap: wrap;
}
.rf-cert-detail-logo img, .rf-no-cert-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 14px;
  background: #222046;
  box-shadow: 0 0 10px rgba(0,0,0,0.11);
  display: block;
}

.rf-cert-detail-info {
  flex: 1 1 340px;
  min-width: 220px;
}

.rf-cert-detail-info h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-top: 0;
  margin-bottom: 18px;
  line-height: 1.13;
  letter-spacing: -1px;
}

.rf-cert-detail-meta {
  color: #bdb0ff;
  margin-bottom: 16px;
  font-size: 15px;
  font-weight: 500;
}
.rf-cert-detail-desc {
  color: #e1e5ff;
  font-size: 1.09em;
  line-height: 1.6;
  margin-bottom: 15px;
  margin-top: 7px;
  text-align: justify;
}

.rf-cert-detail-actions {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  margin-top: 22px;
}

.rf-like-btn {
  background: transparent;
  border: 1.5px solid #7a5ef8;
  color: #ad86ff;
  padding: 9px 15px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .18s, color .18s, border .18s;
  margin-left: 0;
}
.rf-like-btn.rf-liked {
  background: #ad86ff;
  color: #fff;
  border-color: #ad86ff;
}
.rf-like-btn:hover {
  background: #38bdf8;
  color: #fff;
  border-color: #38bdf8;
}

@media (max-width: 700px) {
  .rf-cert-feed-card, .rf-cert-detail-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.3rem;
    padding: 1.2rem .6rem;
  }
  .rf-cert-feed-logo img, .rf-no-cert-logo,
  .rf-cert-detail-logo img, .rf-no-cert-logo {
    max-width: 100px;
    width: 100%;
    height: auto;
    min-height: 70px;
  }
  .rf-cert-detail-info h1,
  .rf-cert-feed-title {
    font-size: 1.32rem;
  }
}