.seo-text p::after {
    content: none !important;
}

.seo-text #seo-text-paragraph.kim-text-fits,
.seo-text #seo-text-paragraph.kim-text-expanded {
    height: auto;
    max-height: none;
    overflow: visible;
}

.kim-news-page .snm-card-excerpt.kim-text-expanded,
.realized-project-grid .project-card .project-card-content > .item:last-child > p.kim-text-expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.seo-text [id="expand-seo"][hidden],
.kim-text-expand-button[hidden] {
    display: none !important;
}

button.kim-text-expand-button {
    display: block;
    width: fit-content;
    margin: 8px 0;
    padding: 6px 0;
    border: 0;
    background: transparent;
    color: #125bb0;
    font: 600 14px/1.4 Inter, sans-serif;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.seo-text button.kim-text-expand-button {
    font-size: 16px;
}

.kim-text-expand-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.realized-project-grid .project-card .project-card-content .item button.kim-text-expand-button {
    position: relative;
    z-index: 2;
    margin: -10px 0 8px;
    padding: 5px 0;
    color: #fff;
}

.realized-project-grid .project-card.kim-card-text-expanded {
    height: auto;
    min-height: 400px;
}

.realized-project-grid .project-card.kim-card-text-expanded .project-card-content {
    height: auto;
    min-height: 400px;
    gap: 18px;
}
