.article-page-comments-section {
    padding-top: 0;
    padding-bottom: 50px;
}

.comments-container .mt-3 {
    background: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 9px rgba(0, 0, 0, 0.04);
}

.comments-container .h4 {
    margin-bottom: 8px;
    color: #111;
}

.comments-container .button {
    background: #ffc52d;
    color: #111 !important;
    border-radius: 50px;
    text-transform: none;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 16px;
}

.comments-container > .button.my-1.small {
    margin-bottom: 20px;
}

.comments-container .mt-3 .button {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    margin-right: 10px;
}

.comments-container .tg-comment-local-date {
    color: #5f6b7c;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    white-space: nowrap;
}

.comments-container .tg-comment-item .h4 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.3;
}

.comments-container .tg-comment-item p {
    margin-bottom: 0;
}

.comments-container .tg-comment-children {
    margin: 10px 0 0 20px;
    padding-left: 14px;
    border-left: 2px solid #e8edf4;
}

.comments-container .tg-comment-item--child {
    background: #f8fafc;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
}

.comments-container .tg-comment-thread-more {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0 8px 20px;
}

.comments-container .tg-comment-thread-dots {
    flex: 1 1 auto;
    border-bottom: 2px dotted #c2cad6;
    min-width: 40px;
}

.comments-container .tg-comment-thread-more .button {
    margin: 0;
}

.comments-container .tg-comments-show-all-wrap .button {
    margin-top: 6px;
}

.comments-container .tg-comment-loader {
    width: 24px;
    height: 24px;
    margin: 12px 0;
    border-radius: 50%;
    border: 3px solid #d8dde4;
    border-top-color: #ffc52d;
    animation: tgCommentSpin .8s linear infinite;
}

@keyframes tgCommentSpin {
    to {
        transform: rotate(360deg);
    }
}

.comments-case-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 760px;
    margin: 0 0 22px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 197, 45, 0.55);
    border-left: 4px solid #ffc52d;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(17, 17, 17, 0.06);
}

.comments-case-cta__copy {
    min-width: 0;
}

.comments-case-cta__title {
    margin: 0 0 4px;
    color: #111;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
}

.comments-case-cta__text {
    margin: 0;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.45;
}

.comments-container .comments-case-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-height: 44px;
    margin: 0;
    padding: 12px 22px;
    box-shadow: 0 8px 18px rgba(255, 197, 45, 0.28);
    white-space: nowrap;
}

.comments-feed-container {
    display: grid;
    gap: 14px;
}

.comments-container .comments-feed-card {
    background: #fff;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(17, 17, 17, .08);
    box-shadow: 0 2px 9px rgba(0, 0, 0, 0.04);
}

.comments-feed-card__article {
    display: grid;
    gap: 5px;
    padding: 14px 16px;
    border-bottom: 1px solid #f0ead9;
    background: linear-gradient(180deg, #fffdf8 0%, #fff8e6 100%);
}

.comments-feed-card__article-label {
    color: #765a10;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.comments-feed-card__article-link[href] {
    display: inline-flex;
    min-width: 0;
    color: #111;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none;
}

.comments-feed-card__article-link[href]:hover {
    color: #7b5700;
    opacity: 1;
}

.comments-feed-card__article-title {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}

.comments-feed-card__body {
    padding: 16px;
}

.comments-feed-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: baseline;
    margin-bottom: 10px;
}

.comments-container .h4.comments-feed-card__author {
    margin: 0;
    color: #111;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

.comments-feed-card__date {
    color: #6a6a6a;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.comments-feed-card__text p {
    margin: 0;
    color: #333;
    font-size: 16px;
    line-height: 1.58;
}

.comments-feed-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 16px 16px;
}

.comments-feed-card__actions .button {
    box-sizing: border-box;
    max-width: 100%;
    margin: 0;
    float: none;
    white-space: normal;
    text-align: center;
}

.comments-container .comments-discussion-link[href] {
    margin-left: auto;
    background: #fff;
    border-color: #d9c892;
    color: #3a2500 !important;
    text-decoration: none;
}

.comments-container .comments-discussion-link[href]:hover {
    background: #fff8e6;
    border-color: #ffc52d;
}

.comments-thread-replies {
    margin: 0 16px 16px;
    padding: 12px;
    border-left: 3px solid #ffc52d;
    border-radius: 0 8px 8px 0;
    background: #fffdf8;
}

.comments-thread-replies[hidden] {
    display: none;
}

.comments-thread-replies .tg-comment-item + .tg-comment-item {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee5ce;
}

.comments-thread-replies .h4 {
    margin: 0 0 6px;
    color: #111;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
}

.comments-thread-replies p {
    margin: 0;
    color: #333;
    line-height: 1.5;
}

.comments-container .clear {
    clear: both;
}

@media only screen and (max-width: 640px) {
    .comments-container .tg-comment-item .h4 {
        font-size: 18px;
    }

    .comments-container .tg-comment-children {
        margin-left: 8px;
        padding-left: 10px;
    }

    .comments-container .tg-comment-thread-more {
        margin-left: 8px;
    }

    .comments-case-cta {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        padding: 16px;
    }

    .comments-container .comments-case-cta__button {
        width: 100%;
        white-space: normal;
    }

    .comments-container .comments-feed-card {
        border-radius: 10px;
    }

    .comments-feed-card__article,
    .comments-feed-card__body {
        padding: 14px;
    }

    .comments-feed-card__article-link[href] {
        font-size: 15px;
        line-height: 1.35;
    }

    .comments-feed-card__actions {
        flex-direction: column;
        padding: 0 14px 14px;
    }

    .comments-container .button,
    .comments-container .comments-discussion-link[href] {
        width: 100%;
        margin: 0;
    }

    .comments-thread-replies {
        margin: 0 14px 14px;
    }
}
