.digi-comment-list {
    list-style: none;
    margin: 0;
    padding: 0;

    .comment {
        margin-bottom: 20px;

        &:last-child {
            margin-bottom: 0;
        }

        &.depth-2 {
            margin-left: 40px;
            margin-top: 16px;
        }

        .comment-body {
            padding: 24px;
            position: relative;
            background: var(--digi-silver);
            border-radius: 8px;

            .comment-meta {
                margin-bottom: 16px;

                .comment-author {
                    display: flex;
                    align-items: center;
                    gap: 12px;
                    margin-bottom: 8px;

                    .avatar {
                        border-radius: 50%;
                        border: 3px solid var(--digi-gray);
                        transition: border-color 0.2s ease, transform 0.2s ease;
                        width: 48px;
                        height: 48px;
                    }

                    .fn {
                        font-weight: 600;
                        font-size: 16px;
                        color: var(--digi-charcoal);

                        a {
                            color: var(--digi-charcoal);
                            text-decoration: none;
                            transition: color 0.2s ease;

                            &:hover {
                                color: var(--digi-crimson);
                            }
                        }
                    }

                    .says {
                        color: var(--digi-dark-gray);
                        font-size: 14px;
                        font-style: italic;
                    }
                }

                .comment-metadata {
                    display: flex;
                    align-items: center;
                    gap: 12px;
                    font-size: 13px;
                    color: var(--digi-dark-gray);

                    a {
                        color: var(--digi-dark-gray);
                        text-decoration: none;
                        transition: color 0.2s ease;

                        &:hover {
                            color: var(--digi-crimson);
                        }
                    }

                    .edit-link {
                        a {
                            background: var(--digi-gray);
                            padding: 4px 8px;
                            border-radius: 4px;
                            font-size: 12px;
                            font-weight: 500;
                            transition: all 0.2s ease;

                            &:hover {
                                background: var(--digi-crimson);
                                color: white;
                            }
                        }
                    }
                }
            }

            .comment-content {
                line-height: 1.7;
                color: var(--digi-slate);
                margin-bottom: 16px;

                p {
                    margin: 0 0 12px 0;

                    &:last-child {
                        margin-bottom: 0;
                    }
                }
            }

            .reply {
                text-align: right;

                .comment-reply-link {
                    display: inline-flex;
                    align-items: center;
                    gap: 6px;
                    background: var(--digi-crimson);
                    color: white;
                    padding: 8px 16px;
                    border-radius: 20px;
                    text-decoration: none;
                    font-size: 13px;
                    font-weight: 500;
                    transition: all 0.2s ease;
                    border: 2px solid var(--digi-crimson);

                    &:hover {
                        background: transparent;
                        color: var(--digi-crimson);
                        transform: translateY(-1px);
                    }

                    &:active {
                        transform: translateY(0);
                    }
                }
            }
        }

        .children {
            list-style: none;
            margin: 16px 0 0 0;
            padding: 0;

            .comment {
                margin-bottom: 16px;

                &:last-child {
                    margin-bottom: 0;
                }

                .comment-body {
                    padding: 20px 24px;

                    .comment-meta {
                        .comment-author {
                            .avatar {
                                width: 40px;
                                height: 40px;
                            }

                            .fn {
                                font-size: 15px;
                            }
                        }
                    }
                }
            }
        }
    }
}

p.comment-form-cookies-consent {
    display: flex;
    gap: 0.5rem;

    label {
        flex: 1;
        margin: 0;
    }
}
