/* handmade with ♥ by Carlo Krämer / CarloMedia · https://carlokraemer.com */
/* ==========================================================================
   Bautzen-Coaching - Design-System
   Palette: Original-Farbwelt der Wix-Seite (Charcoal/Oliv/Knochenweiss), Light-Theme (Lock)
   Radius-System: 14px fuer Karten/Bilder/Buttons (ein System)
   Schrift: Outfit (variabel, lokal gehostet)
   ========================================================================== */

@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Farbwelt aus dem Original (Wix-Theme):
   #F1F3EE Knochenweiss, #393D32 Dunkel-Oliv, #242121 Charcoal-Header, #080808 Text */
:root {
  --bg: #F1F3EE;
  --surface: #FAFBF8;
  --ink: #1D1C19;
  --ink-soft: #4C4F45;
  --accent: #393D32;
  --accent-dark: #242121;
  --accent-tint: #E4E7DD;
  --dark: #393D32;
  --header-dark: #242121;
  --dark-ink: #EDEEE7;
  --line: #D8DBD0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(36, 33, 33, 0.10);
}

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

/* Responsive-Sicherung: nie horizontales Scrollen; Grid-Kinder duerfen schrumpfen */
html, body { overflow-x: clip; max-width: 100%; }
.hero-grid > *, .grid-2 > *, .grid-3 > *, .blog-layout > *, .cta-band .wrap > * { min-width: 0; }
img, video { max-width: 100%; height: auto; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: 'Outfit', 'Segoe UI', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }

/* ---------- Typografie ---------- */
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 62ch; }
p { max-width: 68ch; }
.muted { color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

/* ---------- Layout ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
section { padding: 4.5rem 0; }
@media (min-width: 768px) { section { padding: 6rem 0; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-dark);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--dark-ink); line-height: 1.2; }
.brand strong { font-size: 1.2rem; font-weight: 700; letter-spacing: 0.01em; color: #F1F3EE; }
.brand span { font-size: 0.95rem; color: #B7B9AE; }

.main-nav { display: flex; gap: 1.6rem; align-items: center; }
.main-nav a {
  position: relative; text-decoration: none; color: #E4E5DD; font-weight: 500; font-size: 1.02rem;
  padding: 0.3rem 0;
}
/* Desktop: Unterstrich waechst aus der Mitte */
.main-nav a:not(.nav-cta)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: #F1F3EE; transform: scaleX(0); transform-origin: center;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.main-nav a:not(.nav-cta):hover, .main-nav a[aria-current="page"]:not(.nav-cta) { color: #fff; }
.main-nav a:not(.nav-cta):hover::after, .main-nav a[aria-current="page"]:not(.nav-cta)::after { transform: scaleX(1); }
.main-nav .nav-cta {
  background: #F1F3EE; color: var(--header-dark); padding: 0.55rem 1.15rem;
  border-radius: var(--radius); font-weight: 600;
  transition: background 0.2s ease, transform 0.15s ease;
}
.main-nav .nav-cta:hover { background: #fff; color: var(--header-dark); transform: translateY(-1px); }

/* Hamburger, animiert zu X */
.nav-toggle {
  display: none; position: relative; width: 46px; height: 40px; z-index: 60;
  background: none; border: 1px solid #55524E; border-radius: var(--radius); cursor: pointer; padding: 0;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: #F1F3EE; border-radius: 2px;
  transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, top 0.3s ease;
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

.nav-backdrop {
  position: fixed; inset: 0; background: rgba(20, 20, 18, 0.5); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity 0.32s ease, visibility 0.32s ease; z-index: 40;
}
.nav-backdrop.show { opacity: 1; visibility: visible; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: 0; right: 0; height: 100dvh; width: min(82vw, 340px);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--header-dark); padding: 92px 1.5rem 2rem;
    transform: translateX(105%); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -24px 0 60px rgba(0, 0, 0, 0.35); overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: 0.95rem 0; width: 100%; border-bottom: 1px solid #3B3835;
    opacity: 0; transform: translateX(18px); transition: opacity 0.3s ease, transform 0.3s ease; }
  .main-nav a:not(.nav-cta)::after { display: none; }
  .main-nav.open a { opacity: 1; transform: none; }
  .main-nav.open a:nth-child(1) { transition-delay: 0.10s; }
  .main-nav.open a:nth-child(2) { transition-delay: 0.15s; }
  .main-nav.open a:nth-child(3) { transition-delay: 0.20s; }
  .main-nav.open a:nth-child(4) { transition-delay: 0.25s; }
  .main-nav.open a:nth-child(5) { transition-delay: 0.30s; }
  .main-nav.open a:nth-child(6) { transition-delay: 0.35s; }
  .main-nav .nav-cta { margin-top: 1rem; text-align: center; border-bottom: none; }
  body.nav-open { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .main-nav, .main-nav a, .nav-toggle span, .nav-cta { transition: none !important; }
}

/* ---------- Hero ---------- */
.hero { padding: 3.5rem 0 4.5rem; }
.hero-grid {
  display: grid; gap: 2.5rem; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 6fr 5fr; gap: 4rem; }
}
.hero img { border-radius: var(--radius); box-shadow: var(--shadow); }
.hero .lead { margin: 1.2rem 0 1.8rem; }

.btn {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 0.85rem 1.7rem; border-radius: var(--radius);
  text-decoration: none; font-weight: 600; font-size: 1.05rem;
  transition: background 0.2s, transform 0.15s;
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn.ghost {
  background: transparent; color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn.ghost:hover { background: var(--accent-tint); }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Karten & Grids ---------- */
.grid-2 { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem;
}
.card h3 { margin-bottom: 0.6rem; }

.price-line { display: flex; align-items: baseline; gap: 0.5rem; margin: 1rem 0 0.4rem; }
.price-line strong { font-size: 1.7rem; font-weight: 700; color: var(--accent); }
.price-line span { color: var(--ink-soft); font-size: 1rem; }

.checklist { list-style: none; margin: 1rem 0; }
.checklist li { padding-left: 1.7rem; position: relative; margin-bottom: 0.5rem; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 0.48em;
  width: 0.85em; height: 0.45em;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- Abschnitt-Varianten ---------- */
.section-tint { background: var(--accent-tint); }
.section-dark { background: var(--dark); color: var(--dark-ink); }
.section-dark h2 { color: #fff; }
.section-dark .muted { color: #C2C4B8; }
.section-dark a:not(.btn) { color: #DDE0D4; }
/* Helle Buttons auf dunklen Flaechen (wie die Original-Buttons der Wix-Seite) */
.section-dark .btn { background: #F1F3EE; color: var(--header-dark); }
.section-dark .btn:hover { background: #fff; color: var(--header-dark); }
.section-dark .eyebrow { color: #C9CCC0; }

/* ---------- Video ---------- */
.video-frame { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: auto; display: block; background: #000; }

/* ---------- Google-Bewertung ---------- */
.rating-line { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.8rem; font-size: 1.1rem; }
.rating-line .stars { color: #B98600; letter-spacing: 0.1em; }

.img-round { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Zitate ---------- */
.quote-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .quote-grid { grid-template-columns: 1fr 1fr; } }
blockquote {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.8rem;
  font-size: 1.15rem;
}
blockquote footer { margin-top: 0.9rem; font-size: 1rem; color: var(--ink-soft); font-weight: 500; }

/* ---------- FAQ ---------- */
details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 0.8rem; overflow: hidden;
}
details summary {
  cursor: pointer; padding: 1.1rem 1.4rem; font-weight: 600; font-size: 1.1rem;
  list-style: none; position: relative; padding-right: 3rem;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+'; position: absolute; right: 1.4rem; top: 50%;
  transform: translateY(-50%); font-size: 1.4rem; color: var(--accent);
}
details[open] summary::after { content: '\2212'; }
details .faq-body { padding: 0 1.4rem 1.2rem; color: var(--ink-soft); }

/* ---------- Galerie ---------- */
.gallery { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .gallery { grid-template-columns: 1fr 1fr 1fr; } }
.gallery img {
  border-radius: var(--radius); width: 100%; height: 280px; object-fit: cover;
  transition: transform 0.25s ease;
}
.gallery a:hover img { transform: scale(1.02); }

/* ---------- Artikel / Fliesstext-Seiten ---------- */
.article { max-width: 760px; }
.article h2 { margin: 2.5rem 0 1rem; }
.article p { margin-bottom: 1.2rem; }
.article img { margin: 2rem 0; }
.article ul { margin: 0 0 1.2rem 1.4rem; }

.breadcrumb { font-size: 1rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--ink-soft); }

/* ---------- News ---------- */
.news-item {
  display: grid; gap: 1.5rem; padding: 2.2rem 0;
  border-top: 1px solid var(--line);
}
@media (min-width: 768px) {
  .news-item { grid-template-columns: 240px 1fr; align-items: start; }
}
.news-item:last-child { border-bottom: 1px solid var(--line); }
.news-item img { border-radius: var(--radius); width: 100%; height: 180px; object-fit: cover; }
.news-item time { color: var(--ink-soft); font-size: 1rem; }
.news-item h3 { margin: 0.2rem 0 0.6rem; }

/* ---------- Kontakt ---------- */
.contact-box {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem;
}
.contact-box p { margin-bottom: 0.9rem; }
.contact-box strong { display: block; font-size: 1rem; color: var(--ink-soft); font-weight: 500; }
.contact-box a { font-size: 1.25rem; font-weight: 600; text-decoration: none; }

/* ---------- CTA-Band ---------- */
.cta-band { text-align: left; }
.cta-band .wrap { display: grid; gap: 1.5rem; }
@media (min-width: 768px) {
  .cta-band .wrap { grid-template-columns: 1fr auto; align-items: center; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--dark-ink); padding: 3.5rem 0 2rem; font-size: 1rem; }
/* Mobil: Marke volle Breite, darunter "Seiten" + "Rechtliches" nebeneinander (2 Spalten) */
.footer-grid { display: grid; gap: 1.6rem 1.5rem; grid-template-columns: 1fr 1fr; }
.footer-grid > :first-child { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
  .footer-grid > :first-child { grid-column: auto; }
}
.site-footer h3 { color: #fff; font-size: 1.15rem; margin-bottom: 0.8rem; }
.site-footer a { color: #C2C4B8; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.45rem; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12);
  color: #A3A599; font-size: 0.98rem;
}

/* Social-Media-Link im Footer (reiner externer Link, kein Widget/Tracking) */
.social-links { display: flex; gap: 0.7rem; margin-top: 0.4rem; }
.social-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: #E4E5DD !important; text-decoration: none; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius);
  padding: 0.45rem 0.9rem; transition: background 0.2s ease, transform 0.15s ease;
}
.social-link:hover { background: rgba(255,255,255,0.08); color: #fff !important; transform: translateY(-1px); }
.social-link svg { width: 18px; height: 18px; fill: currentColor; }
.footer-hint { color: #8B8D82; font-size: 0.9rem; margin-top: 0.7rem; max-width: 42ch; }

/* Sidebar: Social-Box */
.sidebar-box.social p { font-size: 1rem; color: var(--ink-soft); margin-bottom: 1rem; }
.sidebar-box.social .social-link { color: var(--ink) !important; border-color: var(--line); }
.sidebar-box.social .social-link:hover { background: var(--accent-tint); color: var(--accent-dark) !important; }
.sidebar-box.social .social-hint { font-size: 0.9rem; color: var(--ink-soft); margin-top: 0.7rem; }

/* ---------- Scroll-Reveal (nur ohne reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
  .reveal.visible { opacity: 1; transform: none; }
  /* gestaffelte Kinder eines Grids */
  .stagger > * { opacity: 0; transform: translateY(22px); transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
  .stagger.visible > * { opacity: 1; transform: none; }
  .stagger.visible > *:nth-child(2) { transition-delay: 0.08s; }
  .stagger.visible > *:nth-child(3) { transition-delay: 0.16s; }
  .stagger.visible > *:nth-child(4) { transition-delay: 0.24s; }
  .stagger.visible > *:nth-child(5) { transition-delay: 0.32s; }
  .stagger.visible > *:nth-child(6) { transition-delay: 0.40s; }
}

/* ---------- Button-Feinschliff (weicher Schimmer beim Hover) ---------- */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-18deg); transition: left 0.6s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .btn:hover::after { left: 130%; }
  .btn:hover { transform: translateY(-2px); }
}
.btn { transition: background 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease; }
.btn:hover { box-shadow: 0 8px 22px rgba(36, 33, 33, 0.16); }
.btn.ghost::after { display: none; }

/* Karten heben sich beim Hover leicht */
@media (prefers-reduced-motion: no-preference) {
  .card { transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease; }
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #C6CBBC; }
}

/* ---------- Dekorative SVG-Grafiken (Coaching / Persoenlichkeitsentwicklung) ---------- */
/* weiche organische Blob-Form, dezent im Hintergrund */
.deco { position: relative; overflow: hidden; }
.deco-blob {
  position: absolute; z-index: 0; pointer-events: none; opacity: 0.5;
  width: 520px; height: 520px;
}
.deco-blob svg { width: 100%; height: 100%; display: block; }
.deco > .wrap { position: relative; z-index: 1; }

/* konzentrische Ringe = Achtsamkeit / innere Ruhe */
.ripples { position: absolute; z-index: 0; pointer-events: none; opacity: 0.25; }
.section-dark .ripples { opacity: 0.16; }

/* geschwungene Trennlinie zwischen Sektionen (der "Weg") */
.wave-divider { display: block; width: 100%; height: 60px; margin: 0; line-height: 0; }
.wave-divider svg { width: 100%; height: 100%; display: block; }

/* Icon-Kreis fuer Karten */
.icon-badge {
  width: 54px; height: 54px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-tint); color: var(--accent); margin-bottom: 1rem;
}
.section-dark .icon-badge { background: rgba(241, 243, 238, 0.12); color: #E4E7DD; }
.icon-badge svg { width: 28px; height: 28px; }

/* Hero bekommt einen sanften Verlauf-Hintergrund + Grafik */
.hero.deco::before {
  content: ''; position: absolute; top: -140px; right: -120px; z-index: 0;
  width: 620px; height: 620px; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(57, 61, 50, 0.10), transparent 62%);
}

/* ---------- Blog-Layout (News mit Sidebar) ---------- */
.blog-layout { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .blog-layout { grid-template-columns: 1fr 300px; gap: 3rem; align-items: start; } }

.post-card {
  display: grid; grid-template-columns: 1fr; gap: 0; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  margin-bottom: 1.8rem; transition: transform 0.28s cubic-bezier(0.16,1,0.3,1), box-shadow 0.28s ease;
}
@media (min-width: 560px) { .post-card { grid-template-columns: 220px 1fr; } }
@media (prefers-reduced-motion: no-preference) { .post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); } }
.post-card .post-thumb { overflow: hidden; }
.post-card .post-thumb img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; transition: transform 0.5s ease; }
@media (prefers-reduced-motion: no-preference) { .post-card:hover .post-thumb img { transform: scale(1.05); } }
.post-card .post-body { padding: 1.5rem 1.6rem; }
.post-card h3 { margin: 0.5rem 0 0.6rem; font-size: 1.3rem; }
.post-card h3 a { text-decoration: none; color: var(--ink); }
.post-card h3 a:hover { color: var(--accent); }
.post-card p { color: var(--ink-soft); margin-bottom: 0.9rem; }
.post-card .more { font-weight: 600; text-decoration: none; }

.tag {
  display: inline-block; font-size: 0.92rem; font-weight: 600; color: var(--accent);
  background: var(--accent-tint); padding: 0.22rem 0.7rem; border-radius: 999px; text-decoration: none;
}
.tag:hover { background: #D8DECD; color: var(--accent-dark); }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.sidebar-box h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.cat-list { list-style: none; }
.cat-list li { margin-bottom: 0.2rem; }
.cat-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 0.5rem;
  padding: 0.6rem 0.2rem; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line);
  transition: padding-left 0.2s ease, color 0.2s ease;
}
.cat-list li:last-child a { border-bottom: none; }
.cat-list a:hover, .cat-list a[aria-current="page"] { color: var(--accent); padding-left: 0.6rem; }
.cat-list a .count { font-size: 0.9rem; color: var(--ink-soft); background: var(--bg); border-radius: 999px; padding: 0.05rem 0.55rem; }
.sidebar-box.cta { background: var(--dark); color: var(--dark-ink); }
.sidebar-box.cta h3 { color: #fff; }
.sidebar-box.cta p { color: #C2C4B8; font-size: 1rem; margin-bottom: 1.1rem; }

.recent-list { list-style: none; }
.recent-list li { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.recent-list li:last-child { border-bottom: none; }
.recent-list a { text-decoration: none; color: var(--ink); font-weight: 500; }
.recent-list a:hover { color: var(--accent); }

/* ---------- Lightbox ---------- */
dialog.lightbox {
  border: none; background: rgba(29, 28, 25, 0.94); padding: 2rem;
  max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh;
}
dialog.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; margin: 0 auto; border-radius: var(--radius); }
dialog.lightbox button {
  position: absolute; top: 1rem; right: 1.2rem; background: none; border: none;
  color: #fff; font-size: 2rem; cursor: pointer;
}
