/* Test-Kommentar */
/* MAGAZIN-LAYOUT STARTSEITE */

.home-magazin-grid.wp-block-post-template {
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
    list-style: none;
    padding-left: 0;
}

/* großer Beitrag links */

.home-magazin-grid > li:first-child {
    grid-column: 1;
    grid-row: span 3;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
}

/* kleine Beiträge rechts */

.home-magazin-grid > li:not(:first-child) {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    align-self: start;
}

/* Bilder */

.home-magazin-grid .wp-block-post-featured-image {
    margin: 0;
    overflow: hidden;
}

.home-magazin-grid .wp-block-post-featured-image a {
    display: block;
}

.home-magazin-grid .wp-block-post-featured-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

/* großes Hero-Bild */

.home-magazin-grid > li:first-child .wp-block-post-featured-image img {
    aspect-ratio: 16 / 10;
}

/* Titel */

.home-magazin-grid .wp-block-post-title {
    margin: 0;
    word-break: normal;
    text-wrap: balance;
    hyphens: auto;
}

.home-magazin-grid .wp-block-post-title a {
    text-decoration: none;
    transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

/* großer Titel links */

.home-magazin-grid > li:first-child .wp-block-post-title,
.home-magazin-grid > li:first-child .wp-block-post-title a {
    font-size: 1.8rem;
    line-height: 1.15;
    margin-top: 0.1rem;
}

/* kleinere Titel rechts */

.home-magazin-grid > li:not(:first-child) .wp-block-post-title,
.home-magazin-grid > li:not(:first-child) .wp-block-post-title a {
    font-size: 0.98rem;
    line-height: 1.12;
    letter-spacing: 0.005em;
}

/* Excerpt */

.home-magazin-grid .wp-block-post-excerpt {
    margin: 0;
}

.home-magazin-grid > li:first-child .wp-block-post-excerpt {
    display: block;
    font-size: 1rem;
    line-height: 1.55;
    max-width: 42ch;
    opacity: 0.9;
}

.home-magazin-grid > li:not(:first-child) .wp-block-post-excerpt {
    display: none;
}

/* Datum */

.home-magazin-grid .wp-block-post-date {
    font-size: 0.8rem;
    line-height: 1.3;
    opacity: 0.7;
}

.home-magazin-grid > li:first-child .wp-block-post-date {
    margin-top: 0.35rem;
}

.home-magazin-grid > li:not(:first-child) .wp-block-post-date {
    margin: 0.2rem 0 0.05rem 0 !important;
}

/* =========================
   Kategorie Magazin-Label
   ========================= */

.home-magazin-grid .wp-block-post-terms {
    display: block;
    margin: 0 0 0.14rem 0;
    font-size: 0.56rem;
    letter-spacing: 0;
    text-transform: uppercase;
    line-height: 1.2;
}

.home-magazin-grid .wp-block-post-terms::before {
    display: none;
    content: none;
}

.home-magazin-grid .wp-block-post-terms a {
    color: #D70D86;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.7rem;
}

.home-magazin-grid .wp-block-post-terms a:hover {
    text-decoration: underline;
}

/* typografischer Punkt zwischen mehreren Kategorien */

.home-magazin-grid .wp-block-post-terms a + a::before {
    content: " · ";
    color: #D70D86;
}

/* Hover */

.home-magazin-grid li:hover .wp-block-post-featured-image img {
    transform: scale(1.06);
}

.home-magazin-grid li:hover .wp-block-post-title a {
    text-decoration: underline;
}

/* verhindert zu breite Inhalte */

.home-magazin-grid > li > * {
    max-width: 100%;
}

/* =========================
   DROP CAP HERO EXCERPT
   ========================= */

.home-magazin-grid > li:first-child .wp-block-post-excerpt p::first-letter {
    float: left;
    font-size: 3.25rem;
    line-height: 0.9;
    padding-right: 0.08em;
    padding-top: 0.04em;
    font-weight: 600;
    color: #D70D86;
}

/* TABLET */

@media (max-width: 1100px) {
    .home-magazin-grid.wp-block-post-template {
        grid-template-columns: 1.6fr 1fr 1fr;
        gap: 1.5rem;
    }

    .home-magazin-grid > li:first-child .wp-block-post-title,
    .home-magazin-grid > li:first-child .wp-block-post-title a {
        font-size: 1.55rem;
    }

    .home-magazin-grid > li:not(:first-child) .wp-block-post-title,
    .home-magazin-grid > li:not(:first-child) .wp-block-post-title a {
        font-size: 0.92rem;
    }
}

/* MOBILE */

@media (max-width: 900px) {
    .home-magazin-grid.wp-block-post-template {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .home-magazin-grid > li:first-child {
        grid-column: auto;
        grid-row: auto;
        gap: 0.75rem;
    }

    .home-magazin-grid > li:first-child .wp-block-post-featured-image img,
    .home-magazin-grid > li:not(:first-child) .wp-block-post-featured-image img {
        aspect-ratio: 4 / 3;
    }

    .home-magazin-grid > li:first-child .wp-block-post-title,
    .home-magazin-grid > li:first-child .wp-block-post-title a {
        font-size: 1.5rem;
    }

    .home-magazin-grid > li:not(:first-child) .wp-block-post-title,
    .home-magazin-grid > li:not(:first-child) .wp-block-post-title a {
        font-size: 1rem;
        line-height: 1.18;
    }

    .home-magazin-grid > li:first-child .wp-block-post-excerpt {
        max-width: none;
    }

    .home-magazin-grid .wp-block-post-terms {
        letter-spacing: 0;
        font-size: 0.54rem;
    }
}

/* =========================
   KATEGORIE-ARCHIV HERO
   ========================= */

.category-hero {
    position: relative;
}

.category-hero-image,
.category-hero img.category-hero-image {
    display: block;
    width: 100%;
    max-width: var(--wp--style--global--wide-size);
    margin-left: auto;
    margin-right: auto;
    height: 66vh;
    object-fit: cover;
}

/* Bildbereich in der Zeile */

.category-hero > .wp-block-group__inner-container > .wp-block-columns,
.category-hero > .wp-block-group__inner-container > .wp-block-group > .wp-block-columns,
.category-hero .wp-block-columns:first-child {
    display: block;
    margin-bottom: 0;
}

/* Shortcode-Bild auf erweiterte Breite bringen */

.category-hero .wp-block-shortcode img,
.category-hero .wp-block-shortcode .category-hero-image,
.category-hero .wp-block-shortcode figure,
.category-hero .wp-block-shortcode picture {
    display: block;
    width: 100%;
    max-width: var(--wp--style--global--wide-size);
    margin-left: auto;
    margin-right: auto;
    height: auto;
}

/* Textkarte */

.category-hero-text {
    position: relative;
    z-index: 3;
    max-width: var(--wp--style--global--content-size);
    margin-left: auto;
    margin-right: auto;
    background: #ffffff;
    padding: 2.2rem 2rem 1.4rem 2rem;

    transform: translateY(-9rem);
    margin-bottom: -3rem;

    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.category-hero-text.is-layout-flow,
.category-hero-text.is-layout-constrained,
.category-hero-text.is-layout-flex {
    gap: 1.8rem;
}

.category-hero-text .wp-block-archive-title {
    margin-top: 0;
    margin-bottom: 0 !important;
    line-height: 0.95;
}

.category-hero-text .wp-block-term-description {
    margin-top: 0 !important;
    margin-bottom: 0;
    padding-top: 1.4rem;
    max-width: 52ch;
    line-height: 1.5;
    text-wrap: pretty;
    hyphens: auto;
}

/* Kategorien Overlay */

.sb-primary-categories-overlay {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.sb-primary-categories-overlay__title {
    margin: 0 0 0.8rem;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.7;
}

.sb-primary-categories-overlay__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.sb-primary-categories-overlay__list a {
    text-decoration: none;
    font-size: 1.1rem;
    line-height: 1.3;
}

.sb-primary-categories-overlay__list a:hover {
    text-decoration: underline;
}

/* Tablet */

@media (max-width: 900px) {
    .category-hero-text {
        padding: 1.25rem 1.25rem 1rem 1.25rem;
        transform: translateY(-3rem);
        margin-bottom: -3rem;
        --wp--style--block-gap: 1.4rem;
    }

    .category-hero-text.is-layout-flow,
    .category-hero-text.is-layout-constrained,
    .category-hero-text.is-layout-flex {
        gap: 1.4rem;
    }
}

/* Mobile */

@media (max-width: 600px) {
    .category-hero-text {
        padding: 1rem 1rem 0.9rem 1rem;
        transform: translateY(-1.5rem);
        margin-bottom: -1.5rem;
        --wp--style--block-gap: 1.2rem;
    }

    .category-hero-text.is-layout-flow,
    .category-hero-text.is-layout-constrained,
    .category-hero-text.is-layout-flex {
        gap: 1.2rem;
    }
}

/* Abstand zwischen Hero und erstem Beitragsblock reduzieren */

.category-hero + .wp-block-query,
.category-hero + .wp-block-group,
.category-hero + .wp-block-post-template {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
}

/* =========================
   Magazin-Linksektion
   ========================= */

.sb-category-links {
    margin-top: 4.5rem;
    text-align: center;
}

/* Überschrift */

.sb-category-links h2 {
    text-align: center;
    margin-bottom: 1.8rem;
    position: relative;
}

/* feine Magazinlinie */

.sb-category-links h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background: rgba(0,0,0,0.18);
    margin: 0.8rem auto 0;
}

/* Liste */

.sb-category-links ul {
    list-style: none;
    padding: 0;
    margin: 0;

    display: grid;
    gap: 0.6rem;
    justify-content: center;
}

/* mehrere Links → zwei Spalten */

.sb-category-links ul:has(li:nth-child(2)) {
    grid-template-columns: repeat(2, minmax(160px, auto));
    gap: 0.6rem 2rem;
}

/* einzelne Links */

.sb-category-links li {
    margin: 0;
}

/* Linkstil */

.sb-category-links a {
    text-decoration: none;
    font-size: 1.05rem;
    line-height: 1.35;
    position: relative;
}

/* dezente Hoverlinie */

.sb-category-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.25s ease;
}

.sb-category-links a:hover::after {
    width: 100%;
}

/* Links ohne Unterstreichung */

.no-underline a,
a.no-underline {
    text-decoration: none !important;
}

/* =========================
   Beitragslayout
   ========================= */

.post-layout {
    max-width: none !important;
    width: 100% !important;
}

/* outer wrapper wirklich aus dem Theme-Container lösen */

.post-layout.alignfull {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
}

.post-layout.has-global-padding {
    padding-inline: 0 !important;
}

.post-layout > .wp-block-post-content,
.post-layout > .entry-content {
    display: grid;
    grid-template-columns:
        minmax(1.5rem, 1fr)
        350px
        minmax(0, 760px)
        minmax(1.5rem, 1fr);
    column-gap: 2rem;
    row-gap: 2.5rem;
}

.post-layout > .wp-block-post-content > *,
.post-layout > .entry-content > * {
    grid-column: 3;
    margin-top: 0;
    margin-bottom: 0;
}

/* Standardblöcke in die Textspalte */

.post-layout > .wp-block-post-content > *,
.post-layout > .entry-content > * {
    grid-column: 3;
}

/* breite Blöcke – gleiche Breite wie Header */

.post-layout > .wp-block-post-content > .alignwide,
.post-layout > .entry-content > .alignwide {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, var(--wp--style--global--wide-size));
    max-width: var(--wp--style--global--wide-size);
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* volle Breite */

.post-layout > .wp-block-post-content > .alignfull,
.post-layout > .entry-content > .alignfull {
    grid-column: 1 / -1;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* alignfull darf ausbrechen, aber normale Block-Gaps bleiben erhalten */

.post-layout > .wp-block-post-content > .alignfull.is-layout-flex,
.post-layout > .entry-content > .alignfull.is-layout-flex {
    justify-content: flex-start !important;
}

.post-layout > .wp-block-post-content > .alignfull.is-layout-flex > *,
.post-layout > .entry-content > .alignfull.is-layout-flex > * {
    flex: 1 1 0;
    max-width: none !important;
}

/* innere Elemente auch wirklich randlos */

.post-layout > .wp-block-post-content > .alignfull > *,
.post-layout > .entry-content > .alignfull > * {
    width: 100%;
    max-width: none !important;
}

.post-layout .alignfull figure {
    margin: 0 !important;
}

.post-layout .alignfull img {
    display: block;
    width: 100%;
    max-width: none !important;
    height: auto;
}

@media (max-width: 900px) {

.post-layout > .wp-block-post-content,
.post-layout > .entry-content {
    display: block;
}

/* Textblöcke bekommen Abstand */

.post-layout > .wp-block-post-content > :not(.alignfull),
.post-layout > .entry-content > :not(.alignfull) {
    padding-left: 2.1rem;
    padding-right: 2.1rem;
    box-sizing: border-box;
}

}
/* =========================
   Magazin Zitatkasten
   ========================= */

.post-layout .wp-block-pullquote {
    grid-column: 2 / 4;

    max-width: 60ch;
    margin: 3rem 0;

    padding: 0;
    border: none;

    font-size: 1.6rem;
    line-height: 1.35;
    font-weight: 500;

    position: relative;
}

/* Magazin-Anführungszeichen */

.post-layout .wp-block-pullquote::before {
    content: "“";
    position: absolute;
    left: -0.55em;
    top: -0.15em;

    font-size: 4rem;
    line-height: 1;
    color: #D70D86;
}

/* Text */

.post-layout .wp-block-pullquote p {
    margin: 0;
}

/* Quelle */

.post-layout .wp-block-pullquote cite {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.65;
}

/* Mobile */

@media (max-width: 900px) {

.post-layout .wp-block-pullquote {
    grid-column: auto;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

}

/* === Mastodon Feed als horizontaler Karten-Slider === */

:root {
  --accent: #D70D86;
  --mastodon-card-bg: #FDFAF6;
  --mastodon-border: #2f2d2a;
  --mastodon-text: #222;
  --mastodon-muted: #6f6a64;
}

/* ===== Wrapper ===== */

.include-mastodon-feed-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0 84px;
  box-sizing: border-box;
}

/* ===== Feed ===== */

.include-mastodon-feed {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 10px 0 18px;
  margin: 0;
}

.include-mastodon-feed::-webkit-scrollbar {
  display: none;
}

/* ===== Karten ===== */

.include-mastodon-feed .status {
  position: relative;
  flex: 0 0 420px;
 height: clamp(190px, 21vh, 235px);
min-height: 190px;
max-height: 235px;
  scroll-snap-align: start;

  background: var(--mastodon-card-bg);
  border: 1px solid var(--mastodon-border);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);

  padding: 18px;
  box-sizing: border-box;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  cursor: pointer;

  transition: transform .18s ease, box-shadow .18s ease;
}

.include-mastodon-feed .status:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

/* ===== Profilbild entfernen ===== */

.include-mastodon-feed .avatar,
.include-mastodon-feed .avatar-container,
.include-mastodon-feed img.avatar,
.include-mastodon-feed .status > a img,
.include-mastodon-feed .status > img,
.sb-masto-modal__content .avatar,
.sb-masto-modal__content .avatar-container,
.sb-masto-modal__content img.avatar,
.sb-masto-modal__content .status > a img,
.sb-masto-modal__content .status > img,
.sb-masto-modal__content .status img[src*="avatar"],
.sb-masto-modal__content .status img[alt*="avatar" i] {
  display: none !important;
}

/* ===== Kopfzeile ===== */

.include-mastodon-feed .status-header,
.include-mastodon-feed .header,
.include-mastodon-feed .meta {
  flex: 0 0 auto;
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--mastodon-muted);
}

/* Name */

.include-mastodon-feed .sb-masto-author a {
  color: var(--accent) !important;
  text-decoration: none;
}

/* Datum */

.include-mastodon-feed .sb-masto-date {
  color: var(--accent) !important;
}

/* ===== Inhalt begrenzen ===== */

.include-mastodon-feed .content,
.include-mastodon-feed .status-content,
.include-mastodon-feed .status__content {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding-bottom: 36px;
}

/* ===== Fadeout ===== */

.include-mastodon-feed .content::after,
.include-mastodon-feed .status-content::after,
.include-mastodon-feed .status__content::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 56px;
  pointer-events: none;

  background: linear-gradient(
    to bottom,
    rgba(253,250,246,0) 0%,
    rgba(253,250,246,.75) 55%,
    rgba(253,250,246,1) 100%
  );
}

/* ===== Hinweis unten rechts ===== */

.include-mastodon-feed .status::after {
  content: "Post öffnen";
  position: absolute;
  right: 14px;
  bottom: 12px;
  font-size: 12px;
  color: var(--accent);
  background: rgba(253,250,246,.92);
  padding-left: 8px;
}

/* ===== Text clampen ===== */

.include-mastodon-feed .content p,
.include-mastodon-feed .status-content p,
.include-mastodon-feed .status__content p,
.include-mastodon-feed .status p {

  margin: 0 0 10px;
  line-height: 1.45;
  font-size: 15px;
  color: var(--mastodon-text);

  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Links / Hashtags ===== */

.include-mastodon-feed a {
  color: var(--accent);
  text-decoration: none;
}

.include-mastodon-feed a:hover {
  text-decoration: underline;
}

.include-mastodon-feed .status a[href*="/tags/"],
.include-mastodon-feed .status a.tag,
.include-mastodon-feed .status .hashtag {
  color: var(--accent) !important;
  font-weight: 500;
}

/* ===== Medien ===== */

.include-mastodon-feed .media,
.include-mastodon-feed img,
.include-mastodon-feed video {

  max-width: 100%;
  max-height: 90px;
  object-fit: cover;
  display: block;
  margin-top: 10px;
}

/* ===== Pfeile ===== */

.masto-arrow {

  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 46px;
  height: 46px;

  border: 1px solid var(--mastodon-border);
  background: rgba(255,255,255,.92);
  color: var(--mastodon-text);

  box-shadow: 0 4px 12px rgba(0,0,0,.10);

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  z-index: 20;

  font-size: 26px;
  line-height: 1;

  user-select: none;

  transition: background .2s ease, color .2s ease, box-shadow .2s ease;

  pointer-events: auto !important;
}

.masto-arrow:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.14);
}

.masto-prev {
  left: 18px;
}

.masto-next {
  right: 18px;
}

.masto-arrow.is-disabled {
  opacity: .35;
  pointer-events: none !important;
}

/* ===== Modal Popup ===== */

.sb-masto-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.sb-masto-modal.is-open {
  display: block;
}

.sb-masto-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20,20,20,.45);
}

.sb-masto-modal__dialog {

  position: relative;
  width: min(760px, calc(100vw - 32px));
  max-height: min(80vh, 900px);

  margin: 8vh auto 0;

  background: var(--mastodon-card-bg);
  border: 1px solid var(--mastodon-border);

  box-shadow: 0 18px 40px rgba(0,0,0,.18);

  overflow: hidden;
}

.sb-masto-modal__close {

  position: absolute;
  top: 12px;
  right: 12px;

  width: 42px;
  height: 42px;

  border: 1px solid var(--mastodon-border);

  background: rgba(255,255,255,.92);
  color: var(--mastodon-text);

  font-size: 26px;
  line-height: 1;

  cursor: pointer;
  z-index: 2;
}

.sb-masto-modal__close:hover {
  background: var(--accent);
  color: #fff;
}

.sb-masto-modal__content {
  overflow-y: auto;
  max-height: min(80vh,900px);
  padding: 28px;
}

/* Modal Post Reset */

.sb-masto-modal__content .status,
.sb-masto-modal__content .sb-masto-modal-post {

  position: static;
  height: auto;
  max-height: none;
  min-height: 0;

  flex: none;
  width: 100%;

  border: 0;
  box-shadow: none;

  padding: 0;
  overflow: visible;
  cursor: default;

  transform: none !important;
}

.sb-masto-modal__content .status::after,
.sb-masto-modal__content .content::after,
.sb-masto-modal__content .status-content::after,
.sb-masto-modal__content .status__content::after {

  display: none !important;
  content: none !important;
}

.sb-masto-modal__content .content,
.sb-masto-modal__content .status-content,
.sb-masto-modal__content .status__content {
  overflow: visible;
  padding-bottom: 0;
}

.sb-masto-modal__content p {
  display: block !important;
  -webkit-line-clamp: unset !important;
  overflow: visible !important;
}

.sb-masto-modal__content img,
.sb-masto-modal__content video {
  max-height: none;
  width: 100%;
  height: auto;
}

body.sb-masto-modal-open {
  overflow: hidden;
}

/* ===== Mobile ===== */

@media (max-width: 900px) {

  .include-mastodon-feed-wrapper {
    padding: 0 36px;
  }

  .include-mastodon-feed {
    gap: 16px;
  }

  .include-mastodon-feed .status {
    flex: 0 0 calc(100vw - 72px);
    max-width: calc(100vw - 72px);
  }

  .masto-prev {
    left: 4px;
  }

  .masto-next {
    right: 4px;
  }

  .sb-masto-modal__dialog {
    width: calc(100vw - 16px);
    margin-top: 4vh;
  }

  .sb-masto-modal__content {
    padding: 20px;
  }
}

.sb-masto-modal__content .sb-masto-author a {
  color: var(--accent) !important;
  text-decoration: none;
}

.sb-masto-modal__content .sb-masto-date {
  color: var(--accent) !important;
}

.sb-masto-modal__content .status-header,
.sb-masto-modal__content .header,
.sb-masto-modal__content .meta {
  color: var(--mastodon-muted) !important;
  margin-bottom: 14px;
}
/* ===== Erste Zeile + Links wirklich in Akzentfarbe ===== */

.include-mastodon-feed .status a,
.include-mastodon-feed .status a:visited,
.include-mastodon-feed .status a:hover,
.include-mastodon-feed .status a:active,
.sb-masto-modal__content a,
.sb-masto-modal__content a:visited,
.sb-masto-modal__content a:hover,
.sb-masto-modal__content a:active {
  color: var(--accent) !important;
}

/* erste Zeile / Autor / Datum hart einfärben */
.include-mastodon-feed .status .sb-masto-author,
.include-mastodon-feed .status .sb-masto-author a,
.include-mastodon-feed .status .sb-masto-date,
.sb-masto-modal__content .sb-masto-author,
.sb-masto-modal__content .sb-masto-author a,
.sb-masto-modal__content .sb-masto-date {
  color: var(--accent) !important;
}

/* falls die erste Zeile in p/div/span landet */
.include-mastodon-feed .status .sb-masto-headerline,
.sb-masto-modal__content .sb-masto-headerline {
  color: var(--mastodon-muted);
  font-size: 12px;
  line-height: 1.35;
  margin-bottom: 10px;
}

.include-mastodon-feed .status .sb-masto-headerline a,
.sb-masto-modal__content .sb-masto-headerline a {
  color: var(--accent) !important;
}
/* Popup: keine Aufzählungspunkte */
.sb-masto-modal__content ul,
.sb-masto-modal__content ol {
  list-style: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.sb-masto-modal__content li {
  list-style: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.sb-masto-modal__content li::marker {
  content: "" !important;
}
/* ===== Mobile: Pfeile subtiler ===== */

@media (max-width: 900px) {

  .masto-arrow {
    width: 30px;
    height: 30px;
    font-size: 18px;

    opacity: 0.45;
    background: rgba(255,255,255,0.7);
    box-shadow: none;

    border: 1px solid rgba(0,0,0,0.25);
  }

  .masto-prev {
    left: 2px;
  }

  .masto-next {
    right: 2px;
  }

  /* beim Antippen sichtbarer */
  .masto-arrow:active {
    opacity: 0.9;
    background: #ffffff;
  }

}
