.ln-comment-summary {
    box-sizing: border-box;
    margin: 42px 0 26px;
    width: 100%;
    color: #171717;
    letter-spacing: 0;
}

.ln-comment-summary *,
.ln-comment-summary *::before,
.ln-comment-summary *::after {
    box-sizing: border-box;
}

.ln-comment-summary__title {
    margin: 0 0 18px;
    color: #171717;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

.ln-comment-summary__panel {
    border: 1px solid #dedede;
    border-radius: 6px;
    background: #fff;
    padding: 26px 30px 28px;
}

.ln-comment-summary__text {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #202020;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.65;
    letter-spacing: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.ln-comment-summary.is-expanded .ln-comment-summary__text {
    display: block;
    overflow: visible;
}

.ln-comment-summary__expand {
    appearance: none;
    display: inline-block;
    margin: 8px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    color: #555;
    font: inherit;
    font-size: 16px;
    line-height: 1.4;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.ln-comment-summary__expand[hidden] {
    display: none;
}

.ln-comment-summary__expand:focus-visible,
.ln-comment-summary__comments:focus-visible {
    outline: 2px solid #1274a8;
    outline-offset: 3px;
}

.ln-comment-summary__notice {
    margin: 18px 0 20px;
    color: #696969;
    font-size: 13px;
    line-height: 1.55;
    letter-spacing: 0;
}

.ln-comment-summary__comments {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 4px;
    background: #171717;
    padding: 10px 18px;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none !important;
}

.ln-comment-summary__comments:hover {
    background: #333;
    color: #fff !important;
}

[dir="rtl"] .ln-comment-summary {
    direction: rtl;
    text-align: right;
}

@media (max-width: 767px) {
    .ln-comment-summary {
        margin: 32px 0 22px;
    }

    .ln-comment-summary__title {
        margin-bottom: 14px;
        font-size: 23px;
    }

    .ln-comment-summary__panel {
        padding: 20px 18px 22px;
    }

    .ln-comment-summary__text {
        font-size: 16px;
        line-height: 1.6;
    }

    .ln-comment-summary__comments {
        width: 100%;
    }
}
