.text-collapse .block-wrapper {
    background: #F9F8F6;
    border-radius: 8px;
    padding: 40px 0 16px;
    overflow: hidden;
}

.text-collapse__wrap {
    position: relative;
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 40px 24px;
}

h2.text-collapse__heading {
    margin: 0 0 20px;
    font-family: var(--font-accent);
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 108%;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #105449;
}

ul.text-collapse__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 17px;
    font-family: var(--font-sans);
    color: var(--dark-grey);
}

.text-collapse__list li {
    position: relative;
    padding-left: 18px;
    line-height: 1.46;
}

.text-collapse__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 7px solid var(--primary);
    transform: translateY(-50%);
}

.text-collapse__fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(249, 248, 246, 0), #F9F8F6);
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 0 24px;
}

.text-collapse__wrap.is-expanded .text-collapse__fade {
    opacity: 0;
}

.text-collapse__footer {
    border-top: 1px solid #E9F1EC;
    background: #F9F8F6;
    margin-top: 0;
    padding: 16px 0 0 0;
    text-align: center;
}

.text-collapse__wrap.is-expanded {
    margin-bottom: 24px;
}

.text-collapse__btn {
    background: none;
    border: none;
    color: #1d5c45;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    line-height: 1;
}

.text-collapse__btn:hover {
    text-decoration: underline;
}
