/* Article comments button relocation */

.article-page .rs-pill {
  display: none !important;
}

.article-page .c-header {
  margin: 10px 10px 0 !important;
}

.opening picture~.image-footer {
  margin: -25px 0 24px !important;
}

/* Author footer */

.news-info-image,
.news-info {
  --author-footer-gap: 16px;
  --author-footer-row-gap: 8px;
  --author-avatar-size: 64px;
  --author-text-color: #4a4a4a;
  --author-accent-color: #c4071b;

  display: grid !important;
  grid-template-columns: 1fr auto !important;
  column-gap: var(--author-footer-gap) !important;
  row-gap: var(--author-footer-row-gap) !important;
  align-items: center !important;
}

/* Author block */

.news-info-image .author-wrapper,
.news-info .author-wrapper {
  grid-column: 1 !important;
  grid-row: 1 !important;

  display: flex !important;
  align-items: center !important;
  gap: var(--author-footer-gap) !important;

  min-width: 0 !important;
  text-align: left !important;
}

/* Single author with image */

.author-image {
  flex-shrink: 0 !important;
}

.news-info-image .author-image img {
  display: block !important;
}

.news-info-image .author-name-rrss {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;

  min-height: var(--author-avatar-size) !important;
  gap: 0 !important;
  margin-left: 0 !important;
}

/* Multiple authors without image */

.news-info .author-wrapper {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0 !important;
}

.news-info .authors {
  margin: 0 !important;
  padding-right: 6px !important;

  font-family: "Roboto", sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  line-height: 1.43 !important;

  color: var(--author-accent-color) !important;
  text-align: left !important;
}

.news-info .authors a {
  color: inherit !important;
  text-decoration: none !important;
}

.news-info .twitter-wrapper {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 4px !important;

  justify-content: flex-start !important;
  text-align: left !important;
}

/* Comments button */

.button-rs.bg-comments {
  grid-column: 2 !important;
  grid-row: 1 !important;

  align-self: center !important;
  flex-shrink: 0 !important;
  margin-left: 0 !important;
}

/* Date row */

.news-info .date-comments-wrapper,
.news-info-image .date-comments-wrapper {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;

  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;

  width: 100% !important;
  margin-top: 0 !important;

  overflow: hidden !important;
}

.news-info-image .date-comments-wrapper .date,
.news-info .date-comments-wrapper .date {
  margin-right: 5px !important;

  font-family: "Roboto", sans-serif !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  line-height: 20px !important;

  color: var(--author-text-color) !important;
}

.news-info-image .date-comments-wrapper .date.modification-date,
.news-info .date-comments-wrapper .date.modification-date {
  margin-right: 0 !important;
  font-weight: 700 !important;
}

/* Mobile */

@media only screen and (max-width: 767px) {

  .news-info-image,
  .news-info {
    --author-footer-gap: 12px;
    --author-footer-row-gap: 12px;
  }

  #id-megabannerTop {
    display: none;
  }
}