.comments-main {
    padding-bottom: 48px;
}

.comments-intro {
    padding: 32px 36px;
    border: 1px solid #dce8de;
    border-radius: 16px;
    background: linear-gradient(120deg, #fff 10%, #eff7f1 100%);
    box-shadow: var(--shadow);
}

.comments-intro > span,
.comments-panel-heading > span {
    color: #a36e1c;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.comments-intro h1 {
    margin: 10px 0 8px;
    color: #174b3c;
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 500;
}

.comments-intro p,
.comments-panel-heading p {
    max-width: 620px;
    margin: 0;
    color: #5f746d;
    line-height: 1.6;
}

.comments-layout {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
    gap: 20px;
    align-items: start;
    margin-top: 20px;
}

.comments-panel {
    min-width: 0;
    padding: 24px;
    border: 1px solid #dce8de;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow);
}

.comments-panel-heading {
    margin-bottom: 22px;
}

.comments-panel-heading h2 {
    margin: 8px 0;
    color: #213b34;
    font-size: 23px;
    font-weight: 500;
}

.comments-form {
    display: grid;
    gap: 8px;
}

.comments-form label {
    margin-top: 10px;
    color: #29453b;
    font-weight: 600;
}

.comments-form input,
.comments-form select,
.comments-form textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #cfded4;
    border-radius: 9px;
    background: #fff;
    color: #243233;
    font: inherit;
}

.comments-form input:focus,
.comments-form select:focus,
.comments-form textarea:focus {
    border-color: #176b52;
    outline: 2px solid #cde9da;
}

.comments-form textarea {
    resize: vertical;
}

.comments-form small {
    color: #6f8277;
    line-height: 1.5;
}

.comments-form button {
    justify-self: start;
    margin-top: 10px;
    padding: 12px 20px;
    border: 0;
    border-radius: 9px;
    background: #176b52;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.comments-form button:hover {
    background: #10523e;
}

.comments-success,
.comments-errors {
    margin-bottom: 16px;
    padding: 13px 15px;
    border-radius: 9px;
    line-height: 1.5;
}

.comments-success {
    border: 1px solid #b7dfc3;
    background: #eef9f0;
    color: #236239;
}

.comments-errors,
.comments-form .errorlist {
    color: #a43f36;
}

.comments-errors {
    border: 1px solid #edc7c2;
    background: #fff4f2;
}

.comments-list {
    display: grid;
    gap: 12px;
}

.comment-card {
    padding: 16px;
    border: 1px solid #e1eae3;
    border-radius: 11px;
    background: #fbfdfa;
}

.comment-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.comment-card-heading strong {
    color: #1e4335;
    font-size: 14px;
    font-weight: 600;
}

.comment-card-heading span {
    padding: 5px 8px;
    border-radius: 999px;
    background: #e9f4ec;
    color: #286047;
    font-size: 11px;
}

.comment-card time {
    display: block;
    margin-top: 5px;
    color: #789084;
    font-size: 11px;
}

.comment-card p {
    margin: 14px 0 0;
    color: #334a40;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.comments-empty {
    margin: 0;
    padding: 20px;
    border-radius: 10px;
    background: #f4f8f3;
    color: #667e70;
    line-height: 1.5;
}

@media (max-width: 920px) {
    .comments-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .comments-intro,
    .comments-panel {
        padding: 20px;
    }
}
