.alumni {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 120px;

  h2 {
    font-weight: 500;
    font-size: 36px;
    line-height: 38px;
    letter-spacing: 0%;
    color: #212121;
  }

  p {
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0%;
    color: #212121;
  }

  .students {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;

    .student {
      width: 384px;
      height: 308px;
      max-width: 384px;
      max-height: 408px;
      border-radius: 20px;
      background: #fbfbfb;

      display: flex;
      flex-direction: column;
      justify-content: space-between;

      .student-image {
        width: 384px;
        height: 200px;
        max-width: 384px;
        max-height: 200px;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;

        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          display: block;
          object-position: center;

          border-top-left-radius: 20px;
          border-top-right-radius: 20px;
        }
      }

      .student-content {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 20px;

        h3 {
          a {
            font-weight: 500;
            font-size: 32px;
            line-height: 100%;
            letter-spacing: 0%;
            color: #080a12;
            text-decoration: none;
          }
        }

        p {
          font-weight: 400;
          font-size: 18px;
          line-height: 28px;
          letter-spacing: 0%;
          color: #212121;
        }
      }
    }
  }
}

@media screen and (max-width: 450px) {
  .alumni {
    margin-top: 60px !important;

    h2 {
      font-size: 28px !important;
      line-height: 38px !important;
    }

    p {
      font-size: 12px !important;
      line-height: 23px !important;
    }

    .students {
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 12px !important;

      .student {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 0 !important;

        .student-image {
          width: 100% !important;
          max-width: 100% !important;
          height: 120px !important;

          img {
            width: 100% !important;
            max-width: 100% !important;
          }
        }

        .student-content {
          padding: 10px !important;
          gap: 6px !important;

          h3 a {
            font-size: 14px !important;
            line-height: 18px !important;
          }

          p {
            font-size: 10px !important;
            line-height: 14px !important;
            margin: 0 !important;
          }
        }
      }
    }
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  /* All tablet overrides grouped here */

  .alumni {
    margin-top: 80px;

    h2 {
      font-size: 32px;
      line-height: 40px;
    }

    p {
      font-size: 16px;
      line-height: 26px;
    }

    .students {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 20px;

      .student {
        width: 100%;
        max-width: none;
        height: auto;
        max-height: none;

        .student-image {
          width: 100%;
          max-width: none;
        }

        .student-content {
          h3 a {
            font-size: 24px;
            line-height: 30px;
          }

          p {
            font-size: 16px;
            line-height: 24px;
          }
        }
      }
    }
  }
}
