/*
Theme Name: PiratenZenders
Theme URI: https://piratenzenders.com/
Author: PiratenZenders.com
Description: Een WordPress-schil voor PiratenZenders.com die bestaande content automatisch herkent en in moderne templates toont.
Version: 1.0.12
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: piratenzenders
*/

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav a[aria-current="page"] {
  color: var(--ink);
}

.page-content {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.page-content a,
.article-content a {
  color: var(--blue-dark);
  font-weight: 800;
}

.article-content img,
.article-content video,
.article-content iframe {
  display: none;
}

.attachment-card {
  width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--soft-shadow);
  cursor: pointer;
}

.attachment-card img,
.attachment-card video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.attachment-caption {
  display: block;
  padding: 12px 14px;
  color: var(--muted);
  font-weight: 750;
  text-align: left;
}

.event-poster img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

.event-poster-image {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.event-poster-image::before,
.event-poster-image::after {
  display: none;
}

.news-image img,
.video-preview video {
  display: block;
  width: 100%;
  object-fit: cover;
}

.news-image img {
  position: absolute;
  inset: 0;
  height: 100%;
}

.video-preview video {
  height: auto;
  aspect-ratio: 16 / 9;
  background: transparent;
}

.library-card-count {
  display: inline-flex;
  width: max-content;
  margin-top: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(8, 142, 231, 0.1);
  font-size: 0.78rem;
  font-weight: 900;
}

.websdr-link[href=""] {
  pointer-events: none;
  opacity: 0.55;
}

.footer-links ul {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

.not-found-panel {
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
}
