.dgfc-comments-layout{position: relative}
.dgfc-comments-login{padding:2rem;border-radius:.6rem;background:var(--header-bg);font-size:1.8em;font-weight:700;line-height:1.6}
button,textarea{font-family:var(--font-body)}
.dgfc-comments-wrapper{margin-top:2rem;font-size:1.4em;line-height:1.4;max-width:100%}
.dgfc-comment-list{display:block}
.dgfc-new-comment{margin-bottom:2rem}
.dgfc-new-comment textarea{width:100%;box-sizing:border-box;padding:2rem;resize:vertical;min-height:11.5rem;border-radius:.6rem;border:.2rem solid var(--grey);background:var(--header-bg);opacity:.8;font-size:1.6em;font-family:inherit;color:var(--text-color)}
.dgfc-new-comment textarea:focus{outline:none;border-color:var(--text-color);opacity:1}
.dgfc-comment-error{font-size:1.6em;color:var(--text-color);font-weight:600;padding:2rem 0;border-radius:.6rem;background:var(--header-bg);color:var(--text-color)}

.dgfc-comment{display:flex;flex-wrap:wrap;align-items:flex-start;gap:1rem;background:var(--header-bg);border-radius:.6rem;padding:2rem;margin-bottom:2rem;width:100%;box-sizing:border-box}
.dgfc-comment-avatar{flex-shrink:0}
.dgfc-comment-avatar .dgfc-avatar-img{width:4rem;height:4rem;border-radius:.6rem}
.dgfc-new-comment-avatar .dgfc-avatar-img{width:6rem;height:6rem;border-radius:.6rem}
.dgfc-avatar-img img{border-radius:.6rem}
.dgfc-comment-body{flex:1;font-size:16px}
.dgfc-comment-meta{display:flex !important;align-items:center;margin:.6rem 0 1.5rem;gap:1.5rem}
.dgfc-comment-date{margin-left:auto;opacity:.6;font-size:12px}
.dgfc-comment-children .dgfc-comment-meta{margin:.4rem 0 1.5rem}
.dgfc-comment-author{font-weight:600;position:relative}
.dgfc-comment-author img{position:absolute;top:0;margin-left:.4rem}
.dgfc-comment-content{line-height:1.6;opacity:.95;margin-bottom:1.5rem;word-wrap:break-word;display:block !important}
.dgfc-comment-actions{display:flex;align-items:center;font-size:1em;opacity:.8;align-items:center}
.dgfc-comment-actions button,.dgfc-comment-actions a{color:var(--text-color);border:none !important;background:transparent !important;padding:0;cursor:pointer;margin:0 1.5rem 0 0;letter-spacing:.02rem;font-weight:700;font-size:16px;text-decoration:none}
.dgfc-comment-actions button:hover,.dgfc-comment-actions a:hover{text-decoration: underline;text-decoration-thickness: 0.2rem;text-decoration-color: var(--text-color);text-underline-offset: 0.4rem;}
.dgfc-comment-actions button.dgfc-comment-token:hover{text-decoration-color:var(--highlight)}
.dgfc-comment-actions button.dgfc-comment-report:hover{text-decoration-color:#ff4d00}
.dgfc-comment-actions button.dgfc-comment-token.is-tokened{opacity:.5;cursor:default}
.dgfc-comment-actions button.dgfc-comment-token.is-tokened:hover{text-decoration:none}
.dgfc-token-count{font-weight:600;margin-left:.5rem}
.dgfc-report-count{opacity:.6;margin-left:1rem}
.dgfc-comment-actions button.dgfc-comment-report:hover{text-decoration-color:#ff4d00 !important;background:transparent !important}

.dgfc-comment-children{display:block;margin-top:2rem;padding-left:2rem;border-left:.2rem solid var(--grey)}
.dgfc-comment-children .dgfc-comment{display:flex;align-items:flex-start;gap:1rem;background:transparent;border:none;border-radius:0;padding:1rem 0 0;margin:0;width:100%;box-sizing:border-box}
.dgfc-comment-children .dgfc-avatar-img{width:3rem;height:3rem}
.dgfc-children-wrapper[data-collapsed="1"] > .dgfc-comment-children{display:none}
.dgfc-children-wrapper{display:block !important;flex:0 0 100%;width:100%;max-width:100%}
.site-comments .dgfc-comment-body{display:block !important;flex-direction:column !important;align-items:stretch !important}

.dgfc-comment-children .dgfc-comment{border-top:.2rem solid var(--grey);padding:2rem 0 !important;margin:2rem 0 0 0 !important}
.dgfc-comment-children .dgfc-comment:last-child{padding:2rem 0 0 0 !important}
.dgfc-comment-children .dgfc-comment:first-child{border-top:none !important;padding:0 !important;margin:0 !important}

.site-comments .dgfc-comment-body > *{display:flex;width:100% !important;max-width:100% !important;box-sizing:border-box;font-size:16px;}

.dgfc-toggle-children{background:var(--black);padding:1rem;border-radius:.6rem;font-weight:700;border:.2rem solid var(--black);color:var(--white);cursor:pointer;margin-top:2rem;opacity:.7;font-size:14px;display:block !important}
.dgfc-toggle-children:hover{background:var(--white);color:var(--black)}

.dgfc-comment[id^="Kommentare_"]{scroll-margin-top:10rem}
.dgfc-edit-box{margin-top:1.5rem;width:100%;display:block !important}
.dgfc-edit-text{width:100% !important;box-sizing:border-box;padding:1rem;resize:vertical;min-height:7rem;border-radius:.6rem;border:.2rem solid var(--grey);background:var(--header-bg);opacity:.9;font-size:1em;font-family:inherit;color:var(--text-color);line-height:1.4}
.dgfc-edit-text:focus{outline:none;border-color:var(--text-color);opacity:1}

.dgfc-edit-actions{justify-content:stretch;flex-direction:column;align-items:stretch;gap:1rem;margin:0.5rem 0 2rem;display:grid;}
.dgfc-edit-actions button{border:none;border-radius:.6rem;padding:1.2rem 1.6rem;cursor:pointer;font-weight:700;font-size:16px;letter-spacing:.02rem;background:var(--text-color);color:var(--header-bg);opacity:.65}
.dgfc-edit-actions button:hover{opacity:1}
.dgfc-edit-actions .dgfc-edit-cancel{background:transparent;color:var(--text-color);border:.2rem solid var(--grey)}
.dgfc-edit-actions button:disabled{opacity:.5;cursor:not-allowed;width:100%}

.dgfc-author-badge{display:inline-flex;align-items:center;gap:.25rem;padding:.5rem 1rem;border-radius:999px;font-size:.72em;font-weight:700;line-height:1.4;background:var(--highlight,#ffd200);color:var(--black,#101015);vertical-align:middle;margin-left:.5rem}
.dgfc-author-type-wp_user .dgfc-comment-author{font-weight:800}
.dgfc-new-comment-row{display:flex;gap:1rem;align-items:flex-start}
.dgfc-new-comment-avatar{flex:0 0 auto}
.dgfc-new-comment-field{flex:1 1 auto;min-width:0}
.dgfc-new-comment-field textarea{width:100%}
.dgfc-comments-layout .dgfc-new-comment{position:sticky;top:6.7rem;z-index:20;margin-bottom:4.5rem;padding:1.5rem;border-radius:.6rem;background:var(--header-bg)}
.dgfc-comments-layout .dgfc-new-comment::after{content:"";position:absolute;left:0;right:0;bottom:-3rem;height:3rem;pointer-events:none;background:linear-gradient(to bottom,var(--bground) 0%,rgba(0,0,0,0) 100%)}
.dg-legal-report-separator{display:none}
.dg-legal-report-link{font-weight:400}

/* Mention @Username */
.dg-mention{font-weight:700;margin-right:.5rem}
.dg-mention::before{content:'@';font-weight:700;letter-spacing:.25rem}
.dg-mention-box{position:relative}
.dg-mention-dd{position:absolute; left:1rem; top:1rem;margin-top:.35rem; z-index:9999;background:var(--white);border:.2rem solid rgba(0,0,0,.15);border-radius:.6rem;max-height:24rem; overflow:auto;max-width:28rem;display:none} body.dark-mode .dg-mention-dd{background:var(--grey)}
.dg-mention-dd button{width:100%; text-align:left; padding:1rem;background:transparent; border:0; cursor:pointer;color:var(--text-color);font-size:16px}
.dg-mention-dd button:hover{background:rgba(0,0,0,.1)}
.dg-mention-dd small{opacity:.75; margin-left:1rem}

/* Herz */
.dgfc-comment-heart{display:inline-flex;align-items:center;gap:.75rem;}
.dgfc-comment-heart:hover{color:red;text-decoration:none !important;background:none !important}
.dgfc-comment-heart .dgfc-heart-icon{font-size:1.2em;line-height:1;opacity:.8;transition:transform .15s ease,opacity .15s ease}
.dgfc-comment-heart:hover .dgfc-heart-icon{opacity:1}
.dgfc-comment-heart.is-hearted{cursor:pointer;color:red}
.dgfc-comment-heart.is-hearted .dgfc-heart-icon{opacity:1;color:red}
.dgfc-heart-count{font-weight:700}

@media (max-width:679px){
.dgfc-comments-layout .dgfc-new-comment{margin:0 -1.5rem 3rem -1.5rem !important;border-radius:0 !important;}   
.dgfc-new-comment textarea{min-height:14rem}    
.site-comments .dgfc-comment-body > *{display:block !important}
.dgfc-comment-children .dgfc-comment{padding:0 0 0 0}    
.dgfc-comment-children .dgfc-comment-meta{margin:0 0 1.5rem}    
.dgfc-comment-children .dgfc-comment .dgfc-comment-avatar{display:none}
.dgfc-comment-date{display:block;margin-top:.5rem}    
}

@media (min-width:1180px){
.dgfc-comments-layout .dgfc-new-comment {top: 11.7rem;margin-bottom:2rem}    
.dgfc-comment-body{font-size:18px}
.dgfc-new-comment textarea{min-height:20rem}
.dgfc-comments-layout{display:grid;grid-template-columns:62.5rem 2fr;gap:3rem;align-items:start}   
.dgfc-comments-layout.no-comment{grid-template-columns:100% 1fr;gap:0}
.dgfc-comments-layout.no-comment .dgfc-new-comment{max-width:100%;width:100%;text-align:center;font-size:1.4em}  
.dgfc-new-comment{max-width:62.5rem;position:sticky;top:10.4rem;}
.dgfc-comment-list{max-width:none;}
body.admin-bar .dgfc-comments-layout .dgfc-new-comment{top:13.6rem}
}