/* SPDX-License-Identifier: AGPL-3.0-only
 * SPDX-FileCopyrightText: 2021-2026 DALICC - Verein zur Foerderung der Rechtssicherheit in der Datenbewirtschaftung (ZVR 1249185710)
 */
/* The public blog: cover images, the tag cloud in the sidebar and the archive note.
 *
 * Loaded after site.css and components.css by the two blog templates only, so the
 * rest of the site pays nothing for it. Everything else on these pages (the two
 * column layout, the teasers, the tags, the pagination) already comes from site.css.
 */

/* ------------------------------------------------------------ cover images */

.post-teaser__cover {
  display: block;
  margin-bottom: 14px;
  border: 1px solid var(--c-rule);
  background: var(--c-surface-alt);
}

.post-teaser__cover img {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: cover;
}

.post-cover {
  margin: 0 0 28px;
}

.post-cover img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--c-rule);
}

/* ----------------------------------------------- the tag cloud in the aside */

/* The sidebar puts a bullet in front of every list item; a tag pill does not want
   one, and the list is a cloud rather than a column. */
.sidebar__box .taglist {
  margin: 0;
}

.sidebar__box .taglist li::before {
  content: none;
  margin-right: 0;
}

.sidebar__box .taglist li {
  margin-bottom: 0;
}

/* ---------------------------------------------------------- the archive note */

.post-origin {
  margin-top: 28px;
  font-size: 0.92em;
}

.post-origin__url {
  font-family: var(--font-mono);
  overflow-wrap: anywhere;
}
