.masto-comment-section {
  color: var(--body-text-color); }

.masto-comment-section button {
  background: var(--card-background);
  border-radius: var(--tag-border-radius);
  border: 1px var(--block-border-color) solid;
  padding: 8px 8px;
  color: var(--body-text-color);
  font-size: 1.6rem;
  font-weight: bold;
  transition: box-shadow 0.3s ease;
  box-shadow: var(--shadow-l1); }
  .masto-comment-section button:hover {
    box-shadow: var(--shadow-l3);
    color: var(--accent-color);
    cursor: pointer; }

.masto-comment-sec-title {
  margin-bottom: 0.8rem;
  font-size: 2rem;
  font-weight: bold; }

details.content-warning {
  padding: 0.5em;
  margin: 0.5em 0;
  cursor: pointer; }

details.content-warning summary {
  font-weight: bold;
  outline: none; }

details.content-warning[open] summary {
  margin-bottom: 0.5em; }

.warning-content {
  padding: 0.5em;
  border-top: 4px dotted var(--body-text-color); }

/* FIXME: adopt to our themes css vars */
.mastodon-comment {
  background-color: var(--block-background-color);
  border-radius: var(--block-border-radius);
  border: 1px var(--block-border-color) solid;
  padding: 20px;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  color: var(--font-color);
  font-size: var(--font-size); }

.mastodon-comment p {
  margin-bottom: 0px; }

.mastodon-comment .author {
  padding-top: 0;
  display: flex; }

.mastodon-comment .author a {
  text-decoration: none; }

.mastodon-comment .author .avatar img {
  margin-right: 1rem;
  min-width: 60px;
  border-radius: 5px; }

.mastodon-comment .author .details {
  display: flex;
  flex-direction: column; }

.mastodon-comment .author .details .name {
  font-weight: bold; }

.mastodon-comment .author .details .user {
  color: #5d686f;
  font-size: medium; }

.mastodon-comment .author .date {
  margin-left: auto;
  font-size: small; }

.mastodon-comment .content {
  margin: 15px 20px; }

.mastodon-comment .attachments {
  margin: 0px 10px; }

.mastodon-comment .attachments > * {
  margin: 0px 10px; }

.mastodon-comment .content p:first-child {
  margin-top: 0;
  margin-bottom: 0; }

.mastodon-comment .status > div {
  display: inline-block;
  margin-right: 15px; }

.mastodon-comment .status a {
  color: #5d686f;
  text-decoration: none; }

.mastodon-comment .status .replies.active a {
  color: #003eaa; }

.mastodon-comment .status .reblogs.active a {
  color: #8c8dff; }

.mastodon-comment .status .favourites.active a {
  color: #ca8f04; }
