.tc-profile-widget {
    display: flex;
    width: 300px;
    min-height: 50px;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    text-align: left;
}

#tolstoycomments-profile {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    text-align: left;
}

.tc-profile-widget iframe,
#tolstoycomments-commentlast iframe,
#tolstoycomments-reaction-emoji iframe,
.tc-discussion iframe,
.tc-profile-stage iframe {
    display: block;
    width: 100%;
    border: 0;
}

.tc-profile-widget iframe {
    margin-right: auto;
    margin-left: 0;
}

.gh-card-comments,
.gh-article-comments {
    white-space: nowrap;
    color: inherit;
}

.gh-card-comments::before,
.gh-article-comments::before {
    margin: 0 4px;
    content: "—";
}

.gh-article-comments:hover {
    color: var(--color-darker-gray);
}

.tc-latest-comments {
    margin-top: clamp(48px, 6vw, 88px);
}

.tc-latest-comments-inner {
    max-width: 760px;
    padding-block: clamp(32px, 4vw, 56px);
    border-block: 1px solid var(--color-border);
}

.tc-discussion {
    margin-top: clamp(48px, 6vw, 88px);
}

.tc-discussion-inner,
.tc-profile-stage-inner {
    grid-column: main;
    width: 100%;
}

.tc-discussion-inner {
    padding-top: clamp(32px, 4vw, 48px);
    border-top: 1px solid var(--color-border);
}

.tc-discussion-title {
    margin-bottom: 28px;
    font-size: clamp(2.4rem, 1vw + 2rem, 3.2rem);
    letter-spacing: -0.018em;
}

.tc-discussion .tolstoycomments-feed {
    min-height: 240px;
}

.tc-profile-stage {
    margin-bottom: clamp(56px, 7vw, 96px);
}

.tc-profile-stage-inner {
    min-height: 640px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

@media (max-width: 1100px) and (min-width: 768px) {
    .tc-profile-widget {
        width: 180px;
    }
}

@media (max-width: 767px) {
    #gh-navigation {
        position: relative;
    }

    #gh-navigation:not(.is-open) .gh-navigation-actions {
        position: absolute;
        top: 7px;
        right: 56px;
        z-index: 2;
        display: block;
        width: 48px;
        visibility: visible;
        opacity: 1;
    }

    #gh-navigation:not(.is-open) .gh-navigation-actions .gh-search {
        display: none;
    }

    #gh-navigation:not(.is-open) .tc-profile-widget {
        width: 48px;
    }

    #gh-navigation.is-open .tc-profile-widget {
        width: min(300px, calc(100vw - 48px));
    }

    .tc-latest-comments {
        margin-top: 40px;
    }

    .tc-latest-comments-inner {
        padding-block: 28px;
    }

    .tc-discussion {
        margin-top: 48px;
    }

    .tc-discussion-title {
        margin-bottom: 20px;
    }

    .tc-profile-stage-inner {
        min-height: 520px;
    }
}
