.doctor-advice {
    width: 1140px;
    margin: 0 auto;
}

.doctor-advice__item {
    width: 100%;
    border: 1px solid #D9D9D9;
    border-radius: 25px;
    background: #FFFFFF;
    margin-bottom: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.doctor-advice__question {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 20px 30px;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 22px;
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.3;
    color: #2C3944;
    cursor: pointer;
}

.doctor-advice__toggle-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    font-size: 55px;
    line-height: 30px;
    line-height: 1;
    cursor: pointer;
    border: none;
    border-radius: 0;
    color: #2C3944;
    transition: color 0.3s ease;
    position: relative;
    font-weight: 200;
}

.doctor-advice__toggle-icon::after {
    content: '+';
    color: #2C3944;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.doctor-advice__answer {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    color: #2C3944;
    padding: 0 50px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
}

.doctor-advice__item.open .doctor-advice__answer {
    opacity: 1;
    padding: 15px 50px 15px 30px;
    max-height: 500px;
}

.doctor-advice__item.open .doctor-advice__toggle-icon {
    border-color: #0086CC;
}

.doctor-advice__item.open .doctor-advice__toggle-icon::after {
    content: '×';
    color: #0086CC;
    top: 35%;
}

.doctor-advice__item.open .doctor-advice__question {
    padding-bottom: 0;
}

@media (max-width: 768px) {
    .doctor-advice__question-text {
        font-size: 14px;
    }

    .doctor-advice__question-text {
        font-size: 18px;
        max-width: 250px;
        word-wrap: break-word;
        white-space: normal;
    }
}