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

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

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

  .research-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;

    img {
      width: 285px;
      height: 285px;
      max-width: 285px;
      max-height: 285px;
      border-top-left-radius: 20px;
      border-top-right-radius: 20px;
      object-fit: cover;
      display: block;
    }
  }

  .upload {
    width: 248px;
    height: 48px;
    border-radius: 60px;
    background: #d63832;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 400;
    font-size: 24px;
    line-height: 108%;
    letter-spacing: 0%;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
  }
}

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

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

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

    .research-gallery {
      grid-template-columns: repeat(2, 1fr);
      gap: 10px !important;

      img {
        width: 164px !important;
        height: 128px !important;
        border-radius: 20px !important;
      }
    }
  }
}

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

  .research {
    margin-top: 80px;

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

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

    .research-gallery {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;

      img {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
      }
    }

    .upload {
      width: 220px;
      height: 44px;
      font-size: 20px;
      line-height: 32px;
    }
  }
}
