/* The public archive label was retired in 1.2.1. Keeping this rule makes the
 * cleanup immediate even when a page cache briefly serves old comment markup. */
.sbcr-archive-note {
    display: none !important;
}

.sbcr-date-unknown time,
.sbcr-date-unknown .comment-date,
.sbcr-date-unknown .comment-time,
.sbcr-date-unknown [class*="comment-date"],
.sbcr-date-unknown [class*="comment-time"] {
    display: none !important;
}

.sbcr-date-unknown time:empty,
.sbcr-date-unknown a:empty {
    display: none !important;
}

/* Recovery-safe theme fallback. It is hidden until the small placement script
 * confirms that the active theme did not already output its own comments area. */
.sbcr-safe-comments[hidden] {
    display: none !important;
}

.sbcr-safe-comments {
    box-sizing: border-box;
    display: block !important;
    width: min(calc(100% - 2rem), 760px);
    margin: 3rem auto;
    padding: clamp(1rem, 3vw, 1.75rem);
    border: 1px solid rgba(72, 49, 68, 0.16);
    border-radius: 1rem;
    background: #fff9fc;
    color: #352b34;
    text-align: left;
}

.sbcr-safe-comments *,
.sbcr-safe-comments *::before,
.sbcr-safe-comments *::after {
    box-sizing: border-box;
}

.sbcr-safe-comments__header {
    margin: 0 0 1.25rem;
}

.sbcr-safe-comments__eyebrow {
    margin: 0 0 0.3rem;
    color: #85406e;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.35;
    text-transform: uppercase;
}

.sbcr-safe-comments h2,
.sbcr-safe-comments .comment-reply-title {
    margin: 0;
    color: #352b34;
    font-size: clamp(1.35rem, 4vw, 1.9rem);
    line-height: 1.2;
}

.sbcr-safe-comments .comment-list,
.sbcr-safe-comments .children {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.sbcr-safe-comments .comment-list > li,
.sbcr-safe-comments .children > li {
    list-style: none !important;
    margin: 0 0 1rem;
    padding: 0;
}

.sbcr-safe-comments .children {
    margin-top: 0.75rem;
    margin-left: clamp(0.5rem, 4vw, 1.75rem);
    padding-left: clamp(0.6rem, 2vw, 1rem);
    border-left: 2px solid rgba(72, 49, 68, 0.13);
}

.sbcr-safe-comments .comment-body {
    margin: 0;
    padding: 1rem;
    border: 1px solid rgba(72, 49, 68, 0.13);
    border-radius: 0.8rem;
    background: #fff;
}

.sbcr-safe-comments .comment-meta {
    margin: 0 0 0.6rem;
    color: #766974;
    font-size: 0.82rem;
}

.sbcr-safe-comments .comment-author {
    color: #352b34;
    font-weight: 750;
}

.sbcr-safe-comments .comment-content,
.sbcr-safe-comments .comment-content p {
    color: #352b34;
    font-size: 0.98rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.sbcr-safe-comments .comment-content > :first-child {
    margin-top: 0;
}

.sbcr-safe-comments .comment-content > :last-child {
    margin-bottom: 0;
}

.sbcr-safe-comments .reply {
    margin-top: 0.75rem;
}

.sbcr-safe-comments .reply a,
.sbcr-safe-comments #cancel-comment-reply-link {
    color: #85406e;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.sbcr-safe-comments .comment-respond {
    margin-top: 1.5rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(72, 49, 68, 0.13);
}

.sbcr-safe-comments .comment-notes,
.sbcr-safe-comments .logged-in-as {
    color: #766974;
    font-size: 0.9rem;
    line-height: 1.55;
}

.sbcr-safe-comments .comment-form p {
    margin: 0 0 1rem;
}

.sbcr-safe-comments .comment-form label {
    display: block;
    margin: 0 0 0.35rem;
    color: #352b34;
    font-size: 0.9rem;
    font-weight: 700;
}

.sbcr-safe-comments .comment-form input[type="text"],
.sbcr-safe-comments .comment-form input[type="email"],
.sbcr-safe-comments .comment-form input[type="url"],
.sbcr-safe-comments .comment-form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0.78rem 0.85rem;
    border: 1px solid rgba(72, 49, 68, 0.3);
    border-radius: 0.65rem;
    background: #fff;
    color: #352b34;
    font: inherit;
}

.sbcr-safe-comments .comment-form textarea {
    min-height: 8rem;
    resize: vertical;
}

.sbcr-safe-comments .comment-form input:focus,
.sbcr-safe-comments .comment-form textarea:focus {
    border-color: #85406e;
    outline: 3px solid rgba(133, 64, 110, 0.14);
    outline-offset: 1px;
}

.sbcr-safe-comments__submit {
    min-height: 2.8rem;
    padding: 0.7rem 1rem;
    border: 0;
    border-radius: 999px;
    background: #85406e;
    color: #fff;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}

@media (max-width: 520px) {
    .sbcr-safe-comments {
        width: min(calc(100% - 1rem), 760px);
        margin: 2rem auto;
        padding: 0.9rem;
        border-radius: 0.85rem;
    }

    .sbcr-safe-comments .comment-body {
        padding: 0.85rem;
    }
}
