/* sections/degree-card.css
 * Componente reutilizável: c-degree-card
 * Usado em: Choose Degree (Home) e Articles/Resources.
 */

/* Degree card (blue front + orange rays back) */
.c-degree-card {
  position: relative;
  width: 303px;
  height: 452px;
}

.c-degree-card__back {
  position: absolute;
  left: -24px;
  bottom: -24px;
  width: 327px; /* Figma: Group 6720 ~327x319 */
  height: 319px;
  z-index: 0;
  overflow: hidden;
}

.c-degree-card__rays {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.c-degree-card__front {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-rows: 170px 1fr;
  overflow: hidden;
}

.c-degree-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-degree-card__info {
  background: #0069fa; /* Figma BLUENEW */
  color: #fff;
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.c-degree-card__title {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: var(--fw-400);
  font-size: 28px;
  line-height: 30px;
  letter-spacing: var(--ls-h1);
  font-weight: 600;
}

.c-degree-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  opacity: 0.95;
}

.c-degree-card__cta {
  margin-top: auto; /* fixa no bottom do bloco azul */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 53px;
  width: 227px;
  background: var(--color-orange);
  color: var(--color-black);
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: var(--fw-700);
  letter-spacing: 1px;
  margin-left: 15px;
}

