article.card-phd-student-project {
  margin-bottom: 2rem;
  padding: 1.6rem;
  position: relative;
  transition: 0.2s ease;

  .author-label {
    font-size: 1rem;
    color: #1f66da;
    font-weight: 500;
  }

  h3 {
    display: block;
    transition: 0.2s ease;

    margin-bottom: 0.875rem;
    span {
      font-size: 1.25rem;
      color: #262626;
      font-weight: 500;
      line-height: 1.75rem;
      display: block;
    }
    /* only desktop */
    svg {
      transition: 0.2s ease;
      opacity: 0;
      position: absolute;
      left: 0;
      top: 0;
    }
  }

  dl {
    margin: 0;
  }

  .author-container,
  .supervisors-container {
    padding: 1rem 0;
    margin: 1rem 0;
  }

  dd,
  dt {
    padding: 0;
    margin: 0;
    font-size: 1rem;
  }
  .author-container {
    transition: 0.2s ease;

    border-bottom: 1px solid #c4c4c4;
  }

  .collaboration-container {
    border-bottom: 1px solid #c4c4c4;
    display: flex;
    transition: 0.2s ease;

    padding-bottom: 1rem;
    align-items: center;
    dt {
      text-transform: uppercase;
      color: #8b8b8b;
      font-weight: 300;
      margin: 0;
      line-height: 1.25rem;
      display: block;
    }
    dd {
      font-weight: 700;
      color: #000;
      display: block;
      line-height: 1.25rem;
      margin: 0;
    }
  }
  .supervisors-container {
    margin-top: 0;
    border-bottom: 1px solid #c4c4c4;
    transition: 0.2s ease;

    dt {
      color: #737373;
      font-weight: 400;
    }
    dd {
      font-weight: 700;
      color: #000;
    }
  }
  .year-container {
    dt {
      color: #1f66da;
      text-transform: uppercase;
    }
    dd {
      font-weight: 700;
      color: #262626;
      margin: 0;
    }
  }

  svg {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
  }
}

@media (min-width: 992px) {
  article.card-phd-student-project {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 0px;

    h3 {
      display: flex;
      flex-direction: row;
      position: relative;
      span {
        font-size: 2rem;
        font-weight: 400;
        line-height: 2.5rem;

        svg {
          opacity: 0;
          position: relative;
          top: 0;
          left: 0;
        }
      }
    }

    .card-phd-student-project__header {
      grid-column: 1 / span 1;
      padding-right: 30px;
    }
    .card-phd-student-project__details {
      grid-column: 2 / span 1;
    }

    .supervisors-container {
      padding-top: 0;
    }

    .collaboration-container {
      border-bottom: 0px;
    }

    & > svg {
      display: none;
    }
  }
}

@media (min-width: 1200px) {
  article.card-phd-student-project {
    padding: 2rem;
    display: grid;
    grid-template-columns: auto 300px;

    h3 {
      margin: 1rem 0rem;
    }
  }
}

article.card-phd-student-project:hover {
  background-color: #a3c3ff;
  border-color: #a3c3ff;

  h3 {
    padding-left: 40px;
    color: #0025a3;
  }
  .supervisors-container {
    border-color: #001f89;
  }
}

@media (min-width: 992px) {
  article.card-phd-student-project:hover {
    h3 {
      svg {
        opacity: 1;
      }
    }
  }
}
