.company-persons-header {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 380px;
    width: 100%;
    background: url(/uploads/company-persons/company-persons-header.jpg);
    background-size: cover;
    margin-bottom: 20px;
}
.company-persons-header h1 span {
    font-weight: normal;
}
.department {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 50px;
}
.department .person_dept {
    border-radius: 7px;
    min-height: 300px;
    margin-right: -80px;
    padding: 15px 110px 15px 25px;
    overflow: hidden;
    background: url(/uploads/company-persons/bg-debt.jpg);
    background-size: cover;
    box-shadow: -20px 0 16px -16px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.department .person_dept p {
    margin-bottom: 5px;
}
.department .person {
    border-radius: 7px;
    min-height: 260px;
    border-radius: 7px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg,  #f4e6d9 0%,#fdf6f0 100%);
    box-shadow: -20px 0 16px -16px rgba(0,0,0,0.2);
}
.department .person .person-wrap {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 15px;
    margin-bottom: 10px;
}
.department .person .person-wrap .person_photo {
    width: 100px;
    height: 120px;
    border-radius: 7px;
    overflow: hidden;
}
.department .person .person-wrap .person_photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.department .person .person-wrap .person_name {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.department .person .person-wrap .person_name h4 {

}
.department .person .person-wrap .person_name .person_position {
    font-size: 15px;
    color: #959595;
    font-weight: bold;
}
.department .person-desc {
    overflow: hidden;
    position: relative;
    transition: height 0.4s ease-out;
}
.department .person-desc p {
    margin-bottom: 5px;
}
.department .person-desc::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 1.5em;
    background: linear-gradient(to right, transparent, #fdf6f0 70%);
    pointer-events: none;
}
.department .person-desc.expanded::after {
    display: none;
}
.department .read-more-link {
    display: inline-block;
    border-bottom: 1px dashed;
    color: #c60d2f;
    cursor: pointer;
    font-size: 15px;
    line-height: 16px;
    transition: color 0.2s;
}
.department .read-more-link:hover {
    color: #a40e29;
    text-decoration: none;
}
/* Шеврон — стрелка вниз */
.read-more-link .chevron {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
    fill: currentColor; /* Цвет зависит от текста ссылки */
}

/* При раскрытии — поворачиваем на 180° */
.read-more-link.expanded .chevron {
    transform: rotate(180deg);
}
/* Мобильная адаптация */
@media (max-width: 768px) {
    .department {
        grid-template-columns: 1fr;
        margin-bottom: 30px;
    }
    .department .person_dept {
        margin-right: 0px;
        padding: 15px 15px 40px 15px;
        min-height: auto;
        box-shadow: 0 -20px 16px -16px rgba(0,0,0,.2)
    }
    .department .person {
        margin-top: -30px;
        margin-left: 15px;
        margin-right: 15px;
        box-shadow: 0 -20px 16px -16px rgba(0,0,0,.2)
    }
}