.comments-area {
margin-top: 3rem;
padding-top: 2rem;
border-top: 1px solid var(--color-border);
}
.comments-title {
color: var(--color-sky-dark);
margin-bottom: 2rem;
font-size: 1.5rem;
}
.comment-list {
list-style: none;
margin: 0;
padding: 0;
}
.comment-list > .comment {
margin-bottom: 2rem;
}
.comment-body {
background-color: var(--color-bg-secondary);
border-radius: 12px;
padding: 1.5rem;
position: relative;
}
.comment-body::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 4px;
height: 100%;
background-color: var(--color-sky-light);
border-radius: 12px 0 0 12px;
}
.comment-meta {
display: flex;
align-items: flex-start;
gap: 1rem;
margin-bottom: 1rem;
}
.comment-author .avatar {
border-radius: 50%;
width: 60px;
height: 60px;
border: 2px solid var(--color-sky-light);
transition: transform 0.3s ease;
}
.comment-author .avatar:hover {
transform: scale(1.05);
}
.comment-author-info {
flex: 1;
}
.comment-author .fn {
display: block;
font-weight: 600;
color: var(--color-text-primary);
font-size: 1rem;
}
.comment-author .fn a {
color: inherit;
}
.comment-author .fn a:hover {
color: var(--color-sky-base);
}
.comment-metadata {
font-size: 0.875rem;
color: var(--color-text-secondary);
margin-top: 0.25rem;
}
.comment-metadata a {
color: inherit;
}
.comment-metadata a:hover {
color: var(--color-sky-base);
}
.comment-content {
color: var(--color-text-primary);
line-height: 1.7;
margin-bottom: 1rem;
font-size: 1rem;
}
.comment-content p {
margin-bottom: 1rem;
}
.comment-content p:last-child {
margin-bottom: 0;
}
.comment-awaiting-moderation {
font-style: italic;
color: var(--color-text-secondary);
background-color: #fffacd;
padding: 0.5rem 0.75rem;
border-radius: 6px;
margin-top: 0.5rem;
font-size: 0.875rem;
display: inline-block;
}
.comment-reply {
text-align: right;
margin-top: 1rem;
}
.reply-link a {
display: inline-block;
padding: 0.5rem 1rem;
background-color: var(--color-sky-light);
color: var(--color-sky-dark);
border-radius: 20px;
font-size: 0.875rem;
font-weight: 500;
transition: all 0.3s ease;
}
.reply-link a:hover {
background-color: var(--color-sky-base);
color: white;
text-decoration: none;
transform: translateY(-1px);
} .children {
list-style: none;
padding: 0;
margin: 2rem 0 0 2rem;
border-left: 2px solid var(--color-border-light);
padding-left: 1.5rem;
}
.children .comment-body {
background-color: var(--color-bg-primary);
border: 1px solid var(--color-border-light);
} .comment-respond {
margin-top: 3rem;
padding-top: 2rem;
border-top: 1px solid var(--color-border);
}
.comment-reply-title {
color: var(--color-sky-dark);
margin: 0 0 1rem;
font-size: 1.5rem;
}
.comment-reply-title small {
margin-left: 0.5rem;
}
.comment-reply-title small a {
font-size: 0.875rem;
color: var(--color-text-secondary);
}
.comment-reply-title small a:hover {
color: var(--color-sky-base);
}
.comment-notes {
color: var(--color-text-secondary);
font-size: 0.875rem;
margin-bottom: 1.5rem;
line-height: 1.5;
}
.comment-form {
display: grid;
gap: 1.5rem;
}
.comment-form-cookies-consent {
display: flex;
align-items: flex-start;
gap: 0.5rem;
margin-bottom: 1rem;
}
.comment-form-cookies-consent input {
margin-top: 0.25rem;
}
.comment-form-cookies-consent label {
font-size: 0.875rem;
color: var(--color-text-secondary);
line-height: 1.4;
}
.comment-form label {
display: block;
margin-bottom: 0.5rem;
font-weight: 500;
color: var(--color-text-primary);
font-size: 0.9375rem;
}
.comment-form .required {
color: #ff6b6b;
margin-left: 0.25rem;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
width: 100%;
padding: 0.75rem 1rem;
border: 1px solid var(--color-border);
border-radius: 8px;
font-family: inherit;
font-size: 1rem;
line-height: 1.5;
transition: all 0.3s ease;
background-color: var(--color-bg-primary);
}
.comment-form input:focus,
.comment-form textarea:focus {
outline: none;
border-color: var(--color-sky-base);
box-shadow: 0 0 0 3px rgba(77, 171, 247, 0.1);
background-color: white;
}
.comment-form textarea {
min-height: 150px;
resize: vertical;
}
.comment-form .form-submit {
margin-top: 1rem;
}
.comment-form .submit {
display: inline-block;
padding: 0.75rem 2rem;
background-color: var(--color-sky-base);
color: white;
border: none;
border-radius: 6px;
font-weight: 500;
font-size: 1rem;
cursor: pointer;
transition: all 0.3s ease;
}
.comment-form .submit:hover {
background-color: var(--color-sky-dark);
transform: translateY(-2px);
}
.comment-form .submit:active {
transform: translateY(0);
} @media (min-width: 768px) {
.comment-form-author,
.comment-form-email,
.comment-form-url {
display: inline-block;
width: calc(33.333% - 1rem);
margin-right: 1rem;
}
.comment-form-url {
margin-right: 0;
}
} @media (max-width: 768px) {
.comments-area {
margin-top: 2rem;
padding-top: 1.5rem;
}
.comments-title,
.comment-reply-title {
font-size: 1.25rem;
}
.comment-body {
padding: 1.25rem;
}
.comment-meta {
flex-direction: column;
align-items: flex-start;
gap: 0.75rem;
}
.comment-author .avatar {
width: 50px;
height: 50px;
}
.children {
margin-left: 1rem;
padding-left: 1rem;
}
.comment-form {
gap: 1rem;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
padding: 0.625rem 0.875rem;
font-size: 0.9375rem;
}
.comment-form .submit {
padding: 0.625rem 1.5rem;
width: 100%;
}
}
@media (max-width: 480px) {
.comment-body {
padding: 1rem;
}
.comment-author .avatar {
width: 45px;
height: 45px;
}
.children {
margin-left: 0.5rem;
padding-left: 0.5rem;
}
.comment-form label {
font-size: 0.875rem;
}
.comment-form textarea {
min-height: 120px;
}
}