.content-cards__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 55px 20px;
    margin-bottom: 40px;
}

.content-cards__item {
    display: flex;
    flex-direction: column;
    text-align: left;
}



.content-cards__image {
    width: 100%;
    height: clamp(320px, 26vw, 538px);
    object-fit: cover;
    display: block;
}

.content-cards__content {
    flex: 1;
    margin-top: 20px;
}

.content-cards__name {
    font-family: 'Clear Sans';
    font-weight: 700;
    font-style: bold;
    font-size: 20px;
    line-height: 20px;
    letter-spacing: 0px;
    color: #282828;
    margin-bottom: 0;
}

.content-cards__profession {
    margin-top: 8px;
    margin-bottom: 0;
    padding-right: 0;
    font-family: 'Clear Sans';
    font-weight: 500;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 0px;
    color: #858585;
}

.content-cards__text {
    margin-top: 16px;
    font-family: 'Clear Sans';
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 0px;
    color: #191E29;
    margin-bottom: 0;
}

.content-cards__text--clamp {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: max-height 0.6s ease;
    position: relative;
}

.content-cards__text--clamp.has-overflow:not(.expanded)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5em;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.3) 60%, rgba(255, 255, 255, 0.8) 100%);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.6s ease;
}

.content-cards__text--clamp.expanded::after {
    opacity: 0;
}

.content-cards__text--clamp.expanded {
    -webkit-line-clamp: unset;
    display: block;
}

.content-cards__read-more {
    cursor: pointer;
    font-family: 'Clear Sans';
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    letter-spacing: 0;
    color: #191E29;
    position: relative;
}

.content-cards__read-more::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #191E29;
}

@media (max-width: 768px) {
    .content-cards--horizontal-scroll .content-cards__item {
        flex: 0 0 280px;
        width: 280px;
    }
    .content-cards--horizontal-scroll .content-cards__grid{
        display: flex;
        gap: 20px;
        padding-bottom: 10px;
        margin-bottom: 20px;
        overflow-x: auto;
    }
}

@media (max-width: 1024px) and (min-width: 768px) {
    .content-cards__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 55px 20px;
    }
}

@media (max-width: 768px) {
    .content-cards__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 32px;
    }

}

@media (max-width: 600px) {
    .content-cards__grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 32px 0;
    }
    .content-cards__image {
        height: clamp(320px, 80vw, 538px);
    }
}



.content-cards--personal {
    padding-top: 80px;
}

.content-cards--personal .stuff-item2 .popup-stuff-right,
.content-cards--personal .stuff-item2 .dop-info {
    display: none;
}