#need-to {
  img {
    width: auto;
    height: 75px;
    transition: scale 250ms ease-in-out;
  }

  .need-to-box {
    position: relative;
    width: 255px;
    height: 185px;
    font-weight: 500;
  }

  .need-to-wrapper {
    width: min(90%, 1350px);
    justify-self: center;
  }

  .need-to-wrapper a {
    border: 2px solid #122f67;
    border-radius: 20px;
    width: 230px;
    height: 230px;
    padding: 15px 5px 5px 5px;

    &:hover {
      border-color: #4090ae;

      img {
        scale: 1.1;
      }
    }
  }

  .need-to-box-title {
    color: #3e3a32;
    font-size: 1.1rem;
  }

  .need-to-box-content {
    color: #7b7b7b;
    font-size: 0.9rem;
    font-weight: 600;
  }

  h3 {
    color: #7b7b7b;
  }
  #need-to p {
    margin-bottom: 0rem;
  }

  #need-to h4 {
    margin-bottom: 0rem;
  }
}

#need-to .text-row-2 {
  min-height: auto !important;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.need-to-nav {
  display: none;
}

@media screen and (max-width: 576px) {
  .need-to-slider-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: min(95%, 400px);
    margin: 0 auto;
  }

  #need-to .need-to-wrapper {
    width: 100%;
    overflow: hidden;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    grid-template-columns: none !important;
    justify-content: flex-start !important;
  }

  #need-to .need-to-slide {
    min-width: 100%;
    flex-shrink: 0;
    transition: transform 0.3s ease;
  }

  #need-to .need-to-wrapper a {
    width: 230px;
    height: 230px;
    margin: 0 auto;
  }

  .need-to-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    border: none;
    background-color: #122f67;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    z-index: 2;
    transition: background-color 0.2s ease, opacity 0.2s ease;
  }

  .need-to-nav:hover:not(:disabled) {
    background-color: #4090ae;
  }

  .need-to-nav:disabled {
    background-color: #b0b8c9;
    cursor: default;
    opacity: 0.5;
  }
}
