/*
Theme Name:  RuhrFinds
Theme URI:   https://ruhrfinds.de
Description: Das offizielle Theme für RuhrFinds – Das Beste aus dem Pott. Editorial, stark, regional.
Version:     1.0.0
Author:      RuhrFinds
Author URI:  https://ruhrfinds.de
License:     GPL2
Text Domain: ruhrfinds
Tags:        blog, affiliate, regional, dark, editorial
*/

/* ═══════════════════════════════════════════════════════════════
   RUHRFINDS DESIGN SYSTEM
   Ästhetik: Industriell-Editorial · Schwarz/Gelb · Ruhrpott DNA
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Barlow+Condensed:wght@500;600;700&display=swap');

:root {
  /* ── Farben ── */
  --black: #0a0a0a;
  --dark: #111111;
  --dark-2: #1a1a1a;
  --dark-3: #242424;
  --border: #2e2e2e;
  --yellow: #f5c800;
  --yellow-dim: #c9a300;
  --white: #f0ece4;
  --white-dim: #a89e8e;
  --blue-acc: #3b82f6;
  --red-acc: #ef4444;
  --green-acc: #22c55e;

  /* ── Typografie ── */
  --font-display: 'Bebas Neue', sans-serif;
  --font-cond: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;

  /* ── Spacing ── */
  --container: 1200px;
  --gap: 1.5rem;
  --radius: 4px;

  /* ── Schatten ── */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.6);
}

/* ── Reset ──────────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scrollbar-color: var(--yellow) var(--dark-2);
  scrollbar-width: thin;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Noise Textur Overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--yellow);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--white);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Header ─────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 2rem;
}

.site-logo {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  text-decoration: none;
}

.logo-ruhr {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1;
}

.logo-finds {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--yellow);
  line-height: 1;
}

.logo-dot {
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  margin-bottom: 4px;
  flex-shrink: 0;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  font-family: var(--font-cond);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: all 0.15s;
}

.site-nav a:hover,
.site-nav a.current-menu-item {
  color: var(--yellow);
  background: rgba(245, 200, 0, 0.08);
}

.site-nav li {
  list-style: none;
  /* Entfernt die ::marker */
  margin: 10px;
  /* Entfernt Standard-Abstände */
  padding: 0;
  /* Entfernt Standard-Einrückung */
  display: flex;
  /* Setzt die Punkte nebeneinander (falls gewünscht) */
  gap: 20px;
  /* Abstand zwischen den Punkten */
}

.header-search {
  display: flex;
  align-items: center;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.3rem 0.8rem;
  gap: 0.5rem;
  transition: border-color 0.2s;
}

.header-search:focus-within {
  border-color: var(--yellow);
}

.header-search input {
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  width: 180px;
}

.header-search input::placeholder {
  color: var(--white-dim);
}

.search-icon {
  color: var(--white-dim);
  font-size: 0.85rem;
}

/* ── Hero / Ticker ───────────────────────────────────────────── */

.ticker-bar {
  background: var(--yellow);
  padding: 0.5rem 0;
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  gap: 3rem;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}

.ticker-inner span {
  font-family: var(--font-cond);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
}

.ticker-inner span::before {
  content: '◆';
  margin-right: 0.8rem;
  opacity: 0.5;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ── Hero ────────────────────────────────────────────────────── */

.hero {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

/* Industrielle Hintergrund-Linien */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg,
      transparent,
      transparent 79px,
      rgba(245, 200, 0, 0.04) 79px,
      rgba(245, 200, 0, 0.04) 80px);
}

.hero-eyebrow {
  font-family: var(--font-cond);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--yellow);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: normal;
  color: var(--yellow);
  display: block;
}

.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--white-dim);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-cond);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius);
  transition: all 0.2s;
}

.hero-cta:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 200, 0, 0.3);
}

/* ── Kategorien-Streifen ─────────────────────────────────────── */

.category-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  margin-bottom: 3rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-strip::-webkit-scrollbar {
  display: none;
}

.category-strip-inner {
  display: flex;
  gap: 0.5rem;
  min-width: max-content;
}

.cat-pill {
  font-family: var(--font-cond);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-dim);
  background: var(--dark-2);
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
  transition: all 0.2s;
  cursor: pointer;
}

.cat-pill:hover,
.cat-pill.active {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}

/* ── Post Grid ───────────────────────────────────────────────── */

.posts-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  margin-bottom: 4rem;
}

/* Featured Post – groß */
.post-card-featured {
  grid-column: span 8;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark-2);
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: transform 0.3s;
}

.post-card-featured:hover {
  transform: translateY(-3px);
}

.post-card-featured .card-image {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(10, 10, 10, 0.1) 0%,
      rgba(10, 10, 10, 0.85) 70%,
      rgba(10, 10, 10, 0.97) 100%);
}

.post-card-featured img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.post-card-featured .card-content {
  position: relative;
  padding: 2rem;
  z-index: 1;
}

/* Sidebar Posts – klein */
.post-card-side {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.post-card-sm {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
  cursor: pointer;
  transition: all 0.2s;
}

.post-card-sm:hover {
  border-color: var(--yellow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.post-card-sm .card-img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--dark-3);
}

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

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

.post-card-sm .card-content {
  padding: 1rem 1.1rem 1.2rem;
  flex: 1;
}

/* Normal Posts – 3er Reihe */
.post-card-normal {
  grid-column: span 4;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
}

.post-card-normal:hover {
  border-color: rgba(245, 200, 0, 0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.post-card-normal .card-img-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--dark-3);
}

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

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

.post-card-normal .card-content {
  padding: 1.2rem;
}

/* ── Card Elemente ───────────────────────────────────────────── */

.card-category {
  display: inline-block;
  font-family: var(--font-cond);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--yellow);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 0.6rem;
}

.card-title {
  font-family: var(--font-cond);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

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

.card-title a {
  color: inherit;
}

.card-title a:hover {
  color: var(--yellow);
}

.card-excerpt {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--white-dim);
  line-height: 1.55;
  margin-bottom: 0.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.75rem;
  color: var(--white-dim);
  font-family: var(--font-cond);
  letter-spacing: 0.04em;
}

.card-meta .dot {
  opacity: 0.3;
}

.affiliate-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-cond);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  border: 1px solid rgba(245, 200, 0, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
}

/* ── Section Header ──────────────────────────────────────────── */

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.section-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 1.4rem;
  background: var(--yellow);
  border-radius: 2px;
}

.section-link {
  font-family: var(--font-cond);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}

.section-link:hover {
  color: var(--yellow);
}

/* ── Trennstreifen ───────────────────────────────────────────── */

.divider-strip {
  background: var(--yellow);
  height: 3px;
  margin: 3rem 0;
  position: relative;
}

.divider-strip::after {
  content: 'RUHRFINDS';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--yellow);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--black);
  padding: 0 1rem;
}

/* ── Affiliate Highlight Box ─────────────────────────────────── */

.affiliate-box {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 1.5rem 1.8rem;
  margin: 2rem 0;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.affiliate-box-icon {
  font-size: 2rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.affiliate-box-title {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.3rem;
}

.affiliate-box-text {
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.affiliate-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-cond);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius);
  transition: all 0.2s;
}

.affiliate-btn:hover {
  background: var(--white);
  transform: translateX(3px);
}

/* ── Single Post ─────────────────────────────────────────────── */

.post-header {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.post-header .post-category {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.post-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.post-intro {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--white-dim);
  max-width: 640px;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.post-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.8rem;
  font-family: var(--font-cond);
  color: var(--white-dim);
  letter-spacing: 0.06em;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

/* Post Content */
.post-content {
  max-width: 720px;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--white);
}

.post-content h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.03em;
  color: var(--white);
  margin: 2.5rem 0 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.post-content h3 {
  font-family: var(--font-cond);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 2rem 0 0.8rem;
}

.post-content p {
  margin-bottom: 1.3rem;
}

.post-content strong {
  font-weight: 600;
  color: var(--white);
}

.post-content a {
  color: var(--yellow);
  border-bottom: 1px solid rgba(245, 200, 0, 0.3);
  transition: border-color 0.2s;
}

.post-content a:hover {
  border-color: var(--yellow);
}

.post-content ul,
.post-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.post-content li {
  margin-bottom: 0.5rem;
  color: var(--white-dim);
}

.post-content li::marker {
  color: var(--yellow);
}

.post-content blockquote {
  border-left: 3px solid var(--yellow);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--dark-2);
  font-style: italic;
  color: var(--white-dim);
  font-size: 1.05rem;
}

/* ── Sidebar ─────────────────────────────────────────────────── */

.page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.sidebar-widget {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem;
  margin-bottom: 1.5rem;
}

.widget-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.widget-title::before {
  content: '';
  width: 3px;
  height: 1rem;
  background: var(--yellow);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── Footer ──────────────────────────────────────────────────── */

.site-footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  margin-top: 5rem;
}

.footer-top {
  padding: 3rem 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.footer-brand .footer-logo span {
  color: var(--yellow);
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--white-dim);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.footer-col h4 {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--white-dim);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  padding: 1.2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--white-dim);
  font-family: var(--font-cond);
  letter-spacing: 0.04em;
}

.footer-disclaimer {
  font-size: 0.72rem;
  color: rgb(231 228 223 / 58%);
  max-width: 500px;
  line-height: 1.5;
}

/* ── Animationen ─────────────────────────────────────────────── */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeUp 0.5s ease forwards;
}

.animate-in:nth-child(1) {
  animation-delay: 0.05s;
}

.animate-in:nth-child(2) {
  animation-delay: 0.1s;
}

.animate-in:nth-child(3) {
  animation-delay: 0.15s;
}

.animate-in:nth-child(4) {
  animation-delay: 0.2s;
}

.animate-in:nth-child(5) {
  animation-delay: 0.25s;
}

.animate-in:nth-child(6) {
  animation-delay: 0.3s;
}

/* ── Responsive ──────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .post-card-featured {
    grid-column: span 12;
    min-height: 360px;
  }

  .post-card-side {
    grid-column: span 12;
    flex-direction: row;
  }

  .post-card-sm {
    flex: 1;
  }

  .post-card-normal {
    grid-column: span 6;
  }

  .page-layout {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
  }

  .header-search {
    display: none;
  }

  .post-card-normal {
    grid-column: span 12;
  }

  .post-card-side {
    flex-direction: column;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ── WordPress Klassen ───────────────────────────────────────── */

.wp-block-image {
  margin: 2rem 0;
}

.wp-block-image img {
  border-radius: var(--radius);
}

.aligncenter {
  margin: 0 auto;
  text-align: center;
}

.alignleft {
  float: left;
  margin: 0 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
}

.wp-caption-text {
  font-size: 0.78rem;
  color: var(--white-dim);
  text-align: center;
  margin-top: 0.4rem;
  font-style: italic;
}

.pagination {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin: 3rem 0;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-cond);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white-dim);
  transition: all 0.2s;
}

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

</style>