/*
Theme Name: Wattens Archiv
Theme URI: https://www.wattens.tv
Description: Ein schlankes Archiv-Theme für Wattens.TV – mit saisonalem Hintergrund und Heute-vor-X-Jahren Funktion.
Author: Medialive / Philippe Durand
Version: 1.0.0
*/

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,400&family=DM+Sans:wght@400;500;600&display=swap');

/* ── CSS Variablen ── */
:root {
  --rot:       #c0392b;
  --rot-dark:  #962d22;
  --blau:      #2980b9;
  --dunkel:    #1a1a1a;
  --mittel:    #444;
  --hell:      #f5f0e8;
  --weiss:     #ffffff;
  --grau:      #888;
  --border:    #e0d8cc;
  --season-bg: #2c3e50;  /* Winter default, wird via PHP überschrieben */
  --season-accent: #4ca1af;
  font-size: 16px;
}

/* ── Saisonal ── */
body.season-fruehling { --season-bg: #2d5a1b; --season-accent: #7bc67e; }
body.season-sommer    { --season-bg: #7d4e00; --season-accent: #f4c842; }
body.season-herbst    { --season-bg: #6b2d0f; --season-accent: #e8834a; }
body.season-winter    { --season-bg: #1a2a3a; --season-accent: #89c4e1; }

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  background: var(--hell);
  color: var(--dunkel);
  line-height: 1.7;
}

a { color: var(--rot); text-decoration: none; }
a:hover { color: var(--rot-dark); }
img { max-width: 100%; height: auto; display: block; }

/* ── Container ── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HEADER ── */
#site-header {
  background: var(--season-bg);
  color: var(--weiss);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: 1140px;
    margin: 0 auto;
}

.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--weiss);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo span.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--season-accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.site-logo a { color: var(--weiss); }

.header-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  text-align: right;
  line-height: 1.4;
}

.header-meta strong {
  display: block;
  color: var(--season-accent);
  font-size: 0.9rem;
}

/* ── NAVIGATION ── */
#site-nav {
  background: rgba(0,0,0,0.2);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: auto;
}

.nav-inner a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  padding: 12px 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.nav-inner a:hover,
.nav-inner a.current {
  color: var(--weiss);
  background: rgba(255,255,255,0.1);
}

/* ── HERO: HEUTE VOR X JAHREN ── */
#hero-archiv {
  background: var(--season-bg);
  padding: 40px 0 50px;
  position: relative;
  overflow: hidden;
}

#hero-archiv::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, var(--season-accent) 0%, transparent 60%);
  opacity: 0.15;
  pointer-events: none;
}

.hero-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--season-accent);
  margin-bottom: 8px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--weiss);
  margin-bottom: 6px;
  line-height: 1.2;
}

.hero-date {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 32px;
}

/* Hero Beitrags-Grid */
.hero-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.hero-post {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, background 0.2s;
  backdrop-filter: blur(4px);
}

.hero-post:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.13);
}

.hero-post-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.hero-post-img-placeholder {
    width: 100%;
    height: 220px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.hero-post-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-post-year {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--season-accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hero-post-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--weiss);
  line-height: 1.35;
  margin-bottom: 8px;
  flex: 1;
}

.hero-post-title a { color: inherit; }
.hero-post-title a:hover { color: var(--season-accent); }

.hero-post-cat {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
}

.hero-post-cat a { color: rgba(255,255,255,0.4); }

.hero-empty {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  padding: 20px 0;
}

/* ── MONATS-STREIFEN ── */
#monat-streifen {
  background: var(--dunkel);
  padding: 20px 0;
  overflow: hidden;
}

.monat-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.monat-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blau);
}

.monat-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--weiss);
}

.monat-posts {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--blau) transparent;
}

.monat-post {
  flex-shrink: 0;
  width: 220px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  overflow: hidden;
  transition: background 0.2s;
}

.monat-post:hover { background: rgba(255,255,255,0.1); }

.monat-post-img {
  width: 100%;
  height: 110px;
  object-fit: cover;
}

.monat-post-img-placeholder {
  width: 100%;
  height: 110px;
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.monat-post-body { padding: 12px; }

.monat-post-year {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--blau);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.monat-post-title {
  font-family: 'Source Serif 4', serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--weiss);
  line-height: 1.35;
}

.monat-post-title a { color: inherit; }
.monat-post-title a:hover { color: var(--blau); }

/* ── MAIN CONTENT AREA ── */
#main-content {
  padding: 48px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

/* ── Beitrags-Liste (Hauptspalte) ── */
.section-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grau);
  border-bottom: 2px solid var(--rot);
  padding-bottom: 10px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Großer Featured Post */
.post-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.post-featured-img {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.post-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.post-featured-img:hover img { transform: scale(1.03); }

.post-featured-body { display: flex; flex-direction: column; justify-content: center; }

/* Normaler Post */
.post-card {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.post-card:last-child { border-bottom: none; }

.post-card-img {
  flex-shrink: 0;
  width: 120px;
  height: 90px;
  border-radius: 4px;
  overflow: hidden;
}

.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.post-card-img:hover img { transform: scale(1.05); }

.post-card-img-placeholder {
  flex-shrink: 0;
  width: 120px;
  height: 90px;
  background: var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--grau);
}

/* Gemeinsame Post-Elemente */
.post-cat {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--rot);
  margin-bottom: 6px;
}

.post-cat a { color: inherit; }

.post-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}

.post-featured .post-title { font-size: 1.5rem; }
.post-card .post-title { font-size: 1rem; }

.post-title a { color: var(--dunkel); }
.post-title a:hover { color: var(--rot); }

.post-excerpt {
  font-size: 0.9rem;
  color: var(--mittel);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  color: var(--grau);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.post-meta time { }
.post-meta .sep { color: var(--border); }

/* ── SIDEBAR ── */
.sidebar { }

.widget {
  background: var(--weiss);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 28px;
}

.widget-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--weiss);
  background: var(--dunkel);
  padding: 12px 18px;
}

.widget-content { padding: 18px; }

/* Kategorien-Widget */
.cat-list { list-style: none; }

.cat-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
}

.cat-list li:last-child { border-bottom: none; }
.cat-list a { color: var(--dunkel); font-weight: 500; }
.cat-list a:hover { color: var(--rot); }

.cat-count {
  background: var(--hell);
  color: var(--grau);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 20px;
}

/* Archiv-Widget */
.archiv-list { list-style: none; }

.archiv-list li {
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
}

.archiv-list li:last-child { border-bottom: none; }
.archiv-list a { color: var(--dunkel); }
.archiv-list a:hover { color: var(--rot); }

/* Info-Widget */
.info-widget {
  background: var(--season-bg);
  color: var(--weiss);
  border: none;
}

.info-widget .widget-title { background: rgba(0,0,0,0.3); }

.info-widget .widget-content {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

.info-widget strong { color: var(--season-accent); }

/* ── PAGINATION ── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 40px 0;
}

.pagination a,
.pagination span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 4px;
  border: 1px solid var(--border);
  color: var(--dunkel);
  transition: all 0.2s;
}

.pagination a:hover,
.pagination .current {
  background: var(--rot);
  color: var(--weiss);
  border-color: var(--rot);
}

/* ── SINGLE POST ── */
.single-hero {
  background: var(--dunkel);
  padding: 60px 0 40px;
  color: var(--weiss);
}

.single-cat {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--season-accent);
  margin-bottom: 12px;
}

.single-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}

.single-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

.single-featured-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

.single-content {
  max-width: 720px;
  margin: 48px auto;
  padding: 0 20px;
}

.single-content p { margin-bottom: 1.5em; font-size: 1.05rem; }
.single-content h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin: 2em 0 0.8em; }
.single-content h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin: 1.8em 0 0.6em; }
.single-content img { border-radius: 6px; margin: 2em 0; }
.single-content a { color: var(--rot); border-bottom: 1px solid rgba(192,57,43,0.3); }

/* ── FOOTER ── */
#site-footer {
  background: var(--dunkel);
  color: rgba(255,255,255,0.6);
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 48px 0 32px;
}
@media (max-width: 900px) {
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 500px) {
    .footer-inner { grid-template-columns: 1fr; }
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--weiss);
  margin-bottom: 12px;
}

.footer-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--weiss);
  margin-bottom: 16px;
}

.footer-links { list-style: none; }

.footer-links li {
  margin-bottom: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
}

.footer-links a { color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: var(--weiss); }

.footer-bottom {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-season {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--season-accent);
  font-weight: 600;
}

/* ── ARCHIV-SEITE ── */
.archive-header {
  background: var(--dunkel);
  color: var(--weiss);
  padding: 48px 0 32px;
  margin-bottom: 40px;
}

.archive-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
}

.archive-header p {
  font-family: 'DM Sans', sans-serif;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .post-featured { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 600px) {
  .hero-posts { grid-template-columns: 1fr; }
  .post-card { flex-direction: column; }
  .post-card-img, .post-card-img-placeholder { width: 100%; height: 180px; }
  .header-meta { display: none; }
}

/* ── Admin Bar Offset ── */
body.admin-bar #site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar #site-header { top: 46px; } }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--rot); border-radius: 3px; }

/* ── SOCIAL SHARE BUTTONS ── */
.watv-share {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 28px 0 0;
    padding: 20px 0;
    border-top: 2px solid var(--border);
}
.watv-share-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--grau);
    margin-right: 4px;
}
.watv-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: transform 0.15s, filter 0.15s;
    color: #fff !important;
    white-space: nowrap;
}
.watv-share-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.watv-share-btn svg {
    width: 16px; height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}
.watv-share-fb   { background: #1877f2; }
.watv-share-wa   { background: #25d366; }
.watv-share-tt   { background: #010101; }
.watv-share-ig   { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.watv-share-mail { background: #555; }
/* ── LOGO: header + footer ── */
.site-logo-img {
    height: 96px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    transition: opacity 0.2s;
}
.site-logo-img:hover { opacity: 0.85; }
#site-footer .footer-logo a { display: block; }
#site-footer .footer-logo img {
    height: 96px;
    width: auto;
    display: block;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
#site-footer .footer-logo img:hover { opacity: 1; }

/* ── MONATS-STREIFEN: Vimeo-Fallback Thumbnails schön gestalten ── */
.monat-post-img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    background: #1a2a3a;
}
/* Wenn vumbnail kein Bild liefert (SVG-Emoji) - schöner Hintergrund */
.monat-post-img[src*=".svg"],
.monat-post-img[src*="emoji"],
.monat-post-img[src*="1f4f9"] {
    object-fit: contain;
    padding: 20px;
    background: linear-gradient(135deg, #1a2a3a 0%, #2c3e50 100%);
    opacity: 0.6;
}
/* Hero-Post Img Fallback */
.hero-post-img[src*=".svg"],
.hero-post-img[src*="1f4f9"] {
    object-fit: contain;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
}

/* ── THUMBNAIL GRID ── */
#thumb-grid-section {
    padding: 32px 0 48px;
    background: var(--weiss);
    border-top: 2px solid var(--border);
}
#thumb-grid-section .section-heading {
    margin-bottom: 20px;
}
.thumb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
}
.thumb-item {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 5px;
    overflow: hidden;
    background: #1e2a35;
    display: block;
    text-decoration: none;
}
.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.thumb-item:hover img { transform: scale(1.06); }
.thumb-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 8px;
}
.thumb-item:hover .thumb-item-overlay { opacity: 1; }
.thumb-item-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.thumb-item-play {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    background: rgba(192,57,43,.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: #fff;
}
.thumb-no-img {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: linear-gradient(135deg,#1a2a3a,#2c3e50);
    color: rgba(255,255,255,0.25);
}
.thumb-grid-more {
    text-align: center;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}
.thumb-grid-more .page-numbers {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 7px 13px;
    border-radius: 4px;
    border: 1px solid var(--border);
    color: var(--dunkel);
    text-decoration: none;
    transition: all 0.2s;
}
.thumb-grid-more .page-numbers:hover,
.thumb-grid-more .page-numbers.current {
    background: var(--rot);
    color: #fff;
    border-color: var(--rot);
}

/* Responsive */
@media (max-width: 600px) {
    .thumb-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 5px;
    }
}

/* ── IFRAMES IM CONTENT: responsiv machen ── */
.single-content iframe,
.single-content p > iframe {
    max-width: 100% !important;
    width: 100% !important;
}
/* Vimeo/YouTube iframes im Content: 16:9 Wrapper */
.single-content p:has(iframe) {
    position: relative;
    padding-top: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
    margin-bottom: 1.5em;
}
.single-content p > iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    height: 100% !important;
    border: none !important;
}

/* ── VIDEO: vollresponsiv, zentriert ── */
.single-video-wrap {
    background: #000;
    width: 100%;
    display: block;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
/* Der outer wrapper zentriert auf max 960px */
.single-video-wrap > .single-video-inner {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 960px !important;
    margin: 0 auto !important;
    padding-bottom: 56.25% !important;
    height: 0 !important;
    overflow: hidden !important;
}
/* Alle iframe/video Elemente darin: absolut positioniert */
.single-video-inner > iframe,
.single-video-inner > video,
.single-video-inner > embed,
.single-video-inner > object {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    border: none !important;
}

/* Content-iframes (direkt im Beitragstext als <p><iframe>) */
.single-content p:has(> iframe) {
    position: relative !important;
    padding-bottom: 56.25% !important;
    height: 0 !important;
    overflow: hidden !important;
    background: #000;
    margin-bottom: 1.5em;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}
.single-content p > iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    border: none !important;
}