/**
 * A comment whose header has been hidden.
 *
 * Child combinators throughout. A comment's replies render as SIBLINGS of .ps-comment rather
 * than inside it, so descendant selectors would not actually reach them - but being explicit
 * keeps it that way if core ever nests them, since this feature is deliberately per comment
 * and must not cascade.
 */

.ps-comment.gtrader-comment-header-hidden > .ps-comment__avatar,
.ps-comment.gtrader-comment-header-hidden > .ps-comment__body > .ps-comment__author,
.ps-comment.gtrader-comment-header-hidden > .ps-comment__body > .ps-comment__meta {
	display: none;
}

/*
 * .ps-comment is display:flex and .ps-comment__body carries a padding-left that stands the
 * text off the avatar. With the avatar gone that gutter is just a dent, so close it up.
 */
.ps-comment.gtrader-comment-header-hidden > .ps-comment__body {
	padding-left: 0;
}

/*
 * The "..." menu is a sibling of the action row, not part of it, so it survives on its own.
 * Keep it for anyone who can put the header back - it is the only route to that - and drop it
 * for everybody else.
 */
.ps-comment.gtrader-comment-header-hidden:not(.gtrader-comment-header-hidden--admin) > .ps-comment__body > .ps-comment__actions-dropdown {
	display: none;
}
