.home-cases.text {
    text-align: center;
    margin-bottom: 40px;
}

.home-cases .item {
    padding: 10px 10px 14px 10px;
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: 0px 0px 20px 0px #00000021;
    width: 330px;
    min-width: 330px;
}

.home-cases .item .text-top {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

.home-cases .item .text-top .text-large {
    color: var(--color-blue);
}

.home-cases .item .text-top .scholarship {
    font-weight: 600;
    font-size: 35px;
    line-height: 90%;
    text-transform: uppercase;
    color: var(--color-orange);
}

.home-cases .item .name,
.home-cases .item .speciality {
  background-image: repeating-linear-gradient(
    90deg,
    currentColor 0 3px,
    transparent 3px 6px
  );
  background-position: left bottom;
  background-size: 100% 1px;
  background-repeat: no-repeat;
  line-height: 70% !important;
  text-align: left;
  padding-top: 10px;
  position: relative;
}

.home-cases .item .photo img {
    width: 100%;
}

.home-cases .item .name span,
.home-cases .item .speciality span {
    margin-left: 100px;
}

.home-cases .item .name:before {
    content: var(--text-name);
}

.home-cases .item .speciality:before {
    content: var(--text-program);
}

.home-cases .item .name:before,
.home-cases .item .speciality:before {
    position: absolute;
    left: 0;
    font-family: Inter Tight;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    line-height: 120%;
    opacity: 50%;
}

.home-cases .item .bottom {
    padding-top: 35px;
    text-align: center;
}