.c-card-professor:not(.c-card-professor--secondary) {
  width: 100%;
  color: var(--gray-500);
  border-radius: 8px;
  border: 1px solid var(--gray-150);
  display: grid;
  gap: 24px;
  transition: border 0.3s var(--move);
  align-items: center;
  padding: 0 16px;
  grid-template-columns: 64px 71%;
  position: relative;
}

.c-card-professor::before:not(.c-card-professor--secondary) {
  position: absolute;
  background: rgba(255, 255, 255, 0.50);
  backdrop-filter: blur(2.5px);
  border-radius: 8px;
  z-index: -1;
  content: '';
  width: 100%;
  height: 100%;
}

@media screen and (min-width: 1026px) {
  .c-card-professor {
    grid-template-columns: 64px 71%;
  }
}

@media screen and (min-width: 1285px) {
  .c-card-professor {
    max-width: 383px;
  }
}

.c-card-professor:hover {
  border-color: var(--primary-detail);
}

.c-card-professor__img {
  width: 64px;
  height: 64px;
  border-radius: 100%;
  object-fit: cover;
}

.c-card-professor__name {
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
}

.c-card-professor__position {
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
}

.c-card-professor__cta {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

.c-card-professor__cta svg {
  margin-left: 8px;
}

.c-card-professor__content {
  padding: 16px 0;
  display: grid;
  gap: 8px;
}


/* SECONDARY */

.c-card-professor--secondary {
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  width: auto;
  max-width: 311px;
  overflow: hidden;
  height: 346px;
  position: relative;
}

.c-card-professor--secondary .c-card-professor__tag {
  position: absolute;
  top: 18px;
  left: 16px;
}

.c-card-professor--secondary .c-card-professor__img {
  border-radius: 8px 8px 0 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.c-card-professor--secondary .c-card-professor__figure {
  height: 212px;
  width: 100%;
  transition: height 0.3s var(--move);
  will-change: height;
}

.c-card-professor--secondary .c-card-professor__title {
  color: white;
  font-size: 20px;
  font-weight: 700;
  line-height: 140%;
}

.c-card-professor--secondary .c-card-professor__content {
  color: var(--gray-500);
  padding: 24px;
  height: 180px;
  display: grid;
  gap: 0;
}

.c-card-professor--secondary .c-card-professor__action {
  color: var(--primary);
  font-size: 14px;
  margin-top: 9px;
}

.c-card-professor--secondary .c-card-professor__action svg {
  margin-left: 8px;
  padding-top: 2px;
}

.c-card-professor--secondary .c-card-professor__position {
  font-size: 14px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; 
          line-clamp: 2; 
  -webkit-box-orient: vertical;
  height: 48px;
}

@media screen and (min-width: 1026px) {
  .c-card-professor--secondary:hover .c-card-professor__figure {
    height: 165px;
  }
}

@media screen and (max-width: 1026px) {
  .c-card-professor--secondary .c-card-professor__figure {
    height: 165px;
  }
}

.c-card-professor__name {
  font-size: 16px;
  line-height: 28px;
  font-weight: 600;
}

.c-card-professor__position {
  font-size: 14px;
}