 :root {
      --blue: #0B2239;
      --blue-soft: #153355;
      --bg: #F5F1E8;
      --accent-red: #D7463F;
      --accent-gold: #F2B544;
      --text: #1A1A1A;
      --muted: #6C7683;
      --radius: 16px;
      --shadow: 0 10px 25px rgba(0,0,0,0.06);
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }

    .page {
      max-width: 1200px;
      margin: 0 auto;
      padding: 1.5rem 1.5rem 3rem;
    }

    /* HEADER */
    header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
      padding: 0.75rem 0 1.25rem;
      position: sticky;
      top: 0;
      z-index: 10;
      background: linear-gradient(to bottom, var(--bg) 80%, transparent);
      backdrop-filter: blur(8px);
    }
    .logo-area {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }
    .logo-mark {
      width: 50px;
      height: 50px;
      border-radius: 10px;
      background: var(--blue);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: var(--shadow);
    }
    .logo-mark span {
      font-weight: 800;
      color: #fff;
      font-size: 0.8rem;
      letter-spacing: .04em;
    }
    .logo-text {
      font-family: 'Merriweather', serif;
      font-weight: 700;
      color: var(--blue);
      letter-spacing: .08em;
      font-size: 1rem;
    }

    nav {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      font-size: 0.95rem;
    }
    nav a {
      color: var(--muted);
      font-weight: 500;
    }
    nav a:hover {
      color: var(--blue);
    }
    .btn-primary {
      padding: 0.7rem 1.2rem;
      border-radius: 999px;
      border: none;
      background: var(--accent-red);
      color: #fff;
      font-weight: 600;
      font-size: 0.9rem;
      cursor: pointer;
      box-shadow: var(--shadow);
    }
    .btn-primary:hover {
      filter: brightness(1.05);
    }

    .mobile-nav-toggle {
      display: none;
    }

    /* HERO */
    .hero {
      display: grid;
      grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
      gap: 2.5rem;
      padding: 1.5rem 0 2.5rem;
    }
    .hero h1 {
      font-family: 'Merriweather', serif;
      font-size: clamp(2rem, 3vw, 2.6rem);
      color: var(--blue);
      margin-bottom: 1rem;
    }
    .hero p.lead {
      color: var(--muted);
      font-size: 1.02rem;
      margin-bottom: 1.5rem;
      max-width: 36rem;
    }
    .hero-search {
      background: #fff;
      border-radius: 999px;
      box-shadow: var(--shadow);
      padding: 0.2rem 0.25rem 0.2rem 1.1rem;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 0.9rem;
    }
    .hero-search input {
      border: none;
      outline: none;
      flex: 1;
      font-size: 0.95rem;
      background: transparent;
      margin-bottom: 0;
    }
    .hero-search button {
      border-radius: 999px;
      border: none;
      background: var(--blue);
      color: #fff;
      padding: 0.65rem 1.2rem;
      font-size: 0.9rem;
      font-weight: 600;
      cursor: pointer;
    }
    .chips {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      margin-bottom: 1.5rem;
    }
    .chip {
      font-size: 0.8rem;
      padding: 0.35rem 0.85rem;
      border-radius: 999px;
      border: 1px solid rgba(11,34,57,0.12);
      background: rgba(255,255,255,0.8);
      color: var(--muted);
    }
    .chip--active {
      background: var(--blue-soft);
      color: #fff;
      border-color: transparent;
    }
    .hero-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem;
      font-size: 0.85rem;
      color: var(--muted);
    }
    .hero-meta strong {
      color: var(--blue);
    }

    .hero-side {
      background: linear-gradient(145deg, var(--blue), var(--blue-soft));
      border-radius: 24px;
      color: #fff;
      padding: 1.5rem 1.7rem;
      box-shadow: var(--shadow);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 1.25rem;
    }
    .hero-side h2 {
      font-size: 1.1rem;
      margin-bottom: 0.3rem;
    }
    .hero-side-item + .hero-side-item {
      border-top: 1px solid rgba(255,255,255,0.12);
      padding-top: 0.8rem;
    }
    .pill {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 0.2rem 0.75rem;
      border-radius: 999px;
      font-size: 0.75rem;
      background: rgba(0,0,0,0.25);
    }

    /* GENERIC SECTIONS */
    section {
      margin-bottom: 2.5rem;
    }
    .section-header {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1rem;
    }
    .section-header h2 {
      font-family: 'Merriweather', serif;
      font-size: 1.4rem;
      color: var(--blue);
    }
    .section-header p {
      font-size: 0.9rem;
      color: var(--muted);
      max-width: 30rem;
    }
    .link-inline {
      font-size: 0.9rem;
      color: var(--blue);
      font-weight: 600;
    }
    .link{color: var(--blue-soft);}
    .link:hover{text-decoration:underline;}
    /* WHAT WE DO */
    .cards-3 {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.5rem;
    }
    .card {
      background: #fff;
      border-radius: var(--radius);
      padding: 1.3rem 1.4rem;
      box-shadow: var(--shadow);
    }
    .card h3 {
      font-size: 1.05rem;
      margin-bottom: 0.4rem;
      color: var(--blue);
    }
    .card p {
      font-size: 0.9rem;
      color: var(--muted);
    }

    /* LAW CARDS */
    .cards-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.5rem;
    }
    .badge {
      display: inline-flex;
      align-items: center;
      padding: 0.25rem 0.6rem;
      border-radius: 999px;
      font-size: 0.75rem;
      background: rgba(11,34,57,0.06);
      color: var(--blue);
      margin-bottom: 0.4rem;
    }
    .status-pill {
      font-size: 0.75rem;
      padding: 0.25rem 0.6rem;
      border-radius: 999px;
      background: rgba(242,181,68,0.16);
      color: var(--blue);
    }
    .card-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 0.8rem;
      font-size: 0.8rem;
      color: var(--muted);
    }
    .card-meta button {
      border: none;
      background: transparent;
      color: var(--blue);
      font-weight: 600;
      cursor: pointer;
      font-size: 0.8rem;
    }

    /* ERROR SECTION */
    .error-list {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1.4rem;
    }
    .error-card {
      background: #fff;
      border-radius: var(--radius);
      border-left: 4px solid var(--accent-red);
      padding: 1rem 1.25rem;
      box-shadow: var(--shadow);
    }
    .error-card small {
      display: block;
      font-size: 0.78rem;
      color: var(--muted);
      margin-bottom: 0.25rem;
    }
    .error-card h3 {
      font-size: 1rem;
      color: var(--blue);
      margin-bottom: 0.3rem;
    }
    .error-card p {
      font-size: 0.88rem;
      color: var(--muted);
      margin-bottom: 0.4rem;
    }
    .error-meta {
      display: flex;
      justify-content: space-between;
      font-size: 0.78rem;
      color: var(--muted);
    }

    /* OPINION SECTION */
    .opinion-layout {
      display: grid;
      grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
      gap: 1.5rem;
    }
    .opinion-card {
      background: #fff;
      border-radius: var(--radius);
      padding: 1rem 1.2rem;
      box-shadow: var(--shadow);
      margin-bottom: 0.8rem;
    }
    .opinion-author {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 0.3rem;
      font-size: 0.85rem;
    }
    .avatar {
      width: 30px;
      height: 30px;
      border-radius: 999px;
      background: var(--blue-soft);
    }
    .poll {
      background: #fff;
      border-radius: var(--radius);
      padding: 1rem 1.2rem;
      box-shadow: var(--shadow);
      font-size: 0.9rem;
    }
    .poll-option {
      margin-top: 0.55rem;
      padding: 0.4rem 0.55rem;
      border-radius: 999px;
      border: 1px solid rgba(0,0,0,0.08);
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.85rem;
    }

    /* NEWSLETTER */
    .newsletter {
      background: var(--blue);
      border-radius: 22px;
      padding: 1.6rem 1.8rem;
      color: #fff;
      display: flex;
      flex-wrap: wrap;
      gap: 1rem;
      align-items: center;
      justify-content: space-between;
    }
    .newsletter h2 {
      font-size: 1.2rem;
      margin-bottom: 0.3rem;
    }
    .newsletter-form {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }
    .newsletter-form input {
      border-radius: 999px;
      border: none;
      padding: 0.6rem 0.9rem;
      min-width: 220px;
    }
    .newsletter-form button {
      border-radius: 999px;
      border: none;
      padding: 0.6rem 1.1rem;
      background: var(--accent-gold);
      color: #000;
      font-weight: 600;
      cursor: pointer;
    }

    /* FOOTER */
    footer {
      margin-top: 2.5rem;
      padding-top: 1.8rem;
      border-top: 1px solid rgba(0,0,0,0.06);
      font-size: 0.85rem;
      color: var(--muted);
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 1.5rem;
      margin-bottom: 1.5rem;
    }
    .footer-title {
      font-weight: 600;
      color: var(--blue);
      margin-bottom: 0.4rem;
    }
    .footer-links a {
      display: block;
      margin-bottom: 0.25rem;
    }

    /* RESPONSIVE */
    @media (max-width: 960px) {
      nav {
        display: none;
      }
      .mobile-nav-toggle {
        display: block;
        background: none;
        border: 1px solid rgba(0,0,0,0.15);
        border-radius: 8px;
        padding: 0.35rem 0.7rem;
        font-size: 0.85rem;
      }
      .hero {
        grid-template-columns: 1fr;
      }
      .hero-side {
        order: -1;
      }
      .cards-3, .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 680px) {
      .page {
        padding-inline: 1rem;
      }
      .cards-3, .cards-grid, .error-list, .opinion-layout, .footer-grid {
        grid-template-columns: 1fr;
      }
      header {
        padding-bottom: 0.75rem;
      }
      .hero {
        padding-top: 1rem;
      }
    }

    /* ===========================
   DSGVO COOKIE BANNER (NEU)
   =========================== */

.cookies{
  position:fixed;
  bottom:15px;
  left:50%;
  transform:translateX(-50%);
  width:90%;
  max-width:700px;
  background:#111827;
  color:#f9fafb;
  padding:20px 24px;
  border-radius:16px;
  box-shadow:0 20px 40px rgba(0,0,0,.5);
  font-size:14px;
  z-index:9999;
}

.cookie-inner a{color:#00FFB4;}

.cookie-groups{
  margin-top:15px;
  border-top:1px solid rgba(249,250,251,.1);
  padding-top:10px;
}

.cookie-group{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  margin:10px 0;
}

/* Switch */
.cookie-switch{
  position:relative;
  display:inline-block;
  width:44px;
  height:24px;
}
.cookie-switch input{
  opacity:0;
  width:0;
  height:0;
}
.cookie-slider{
  position:absolute;
  cursor:pointer;
  top:0;left:0;right:0;bottom:0;
  background-color:#4b5563;
  transition:.2s;
  border-radius:999px;
}
.cookie-slider:before{
  position:absolute;
  content:"";
  height:18px;width:18px;
  left:3px;bottom:3px;
  background-color:white;
  transition:.2s;
  border-radius:50%;
}
.cookie-switch input:checked + .cookie-slider{
  background-color:#22c55e;
}
.cookie-switch input:checked + .cookie-slider:before{
  transform:translateX(18px);
}

/* Buttons */
.cookie-buttons{
  margin-top:15px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.cookie-buttons .button{
  width:auto;
  min-width:140px;
  padding:6px 10px;
}

/* Mobile */
@media(max-width:600px){
  .cookies{
    bottom:0;
    left:0;
    transform:none;
    width:100%;
    max-width:100%;
    border-radius:16px 16px 0 0;
  }
}
.meinung-detail {
  max-width: 800px;
  margin: 0 auto 2rem;
}

.meinung-meta {
  color: #6C7683;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.vote-box {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: #f5f5f5;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.vote-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
}
.vote-score {
  font-weight: 700;
}
.vote-details {
  font-size: 0.8rem;
  color: #6C7683;
}
.vote-box.voted {
  opacity: 0.7;
  border: 1px dashed #bbb;
}

.vote-btn.disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.vote-info {
  margin-left: 0.6rem;
  font-size: 0.8rem;
  color: #777;
}


.kommentar-bereich {
  max-width: 800px;
  margin: 0 auto 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}
.kommentar-liste {
  margin-bottom: 1.5rem;
}
.kommentar {
  background: #fff;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.7rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.kommentar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #6C7683;
  margin-bottom: 0.3rem;
}
.kommentar-name {
  font-weight: 600;
  color: #0B2239;
}
.kommentar-text {
  font-size: 0.95rem;
}
.kommentar-empty {
  font-size: 0.9rem;
  color: #6C7683;
}
.kommentar-form label {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}
.kommentar-form input,
.kommentar-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
}
.kommentar-form button {
  background: #0B2239;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  cursor: pointer;
}
.kommentar-form button:hover {
  background: #153355;
}
.pagination {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:1.5rem;
  font-size:0.9rem;
}
.pagination-links {
  display:flex;
  gap:0.4rem;
}
.page-link, .page-current {
  padding:0.3rem 0.7rem;
  border-radius:999px;
  border:1px solid #ccc;
}
.page-current {
  background:#0B2239;
  color:#fff;
  border-color:#0B2239;
}
.vote-box {
  background:#eef2f6;
  padding:0.4rem 1rem;
  border-radius:30px;
  display:inline-flex;
  align-items:center;
  gap:0.6rem;
  margin:1rem 0;
}
.vote-btn {
  background:none;
  border:none;
  cursor:pointer;
  font-size:1.3rem;
}
.vote-score {
  font-weight:bold;
}.avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0B2239;
  color: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  font-size:0.9rem;
  margin-right:0.6rem;
}

.kommentar {
  background:#fff;
  border-radius:12px;
  padding:0.8rem 1rem;
  margin-bottom:0.7rem;
  box-shadow:0 2px 8px rgba(0,0,0,0.04);
}

.kommentar-header {
  display:flex;
  align-items:center;
  margin-bottom:0.4rem;
}

.kommentar-meta {
  display:flex;
  flex-direction:column;
}

.kommentar-datum {
  font-size:0.8rem;
  color:#777;
}

.kommentar-text {
  margin:0.2rem 0 0;
}

.kom-pagination {
  margin-top:0.8rem;
  display:flex;
  gap:0.3rem;
}
.kom-pagination .page-link,
.kom-pagination .page-current {
  padding:0.2rem 0.6rem;
  border-radius:6px;
  border:1px solid #ccc;
  font-size:0.85rem;
}
.kom-pagination .page-current {
  background:#0B2239;
  color:#fff;
  border-color:#0B2239;
}

/* Empfehlungs-Mini-Cards */
.empfehlung-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:1rem;
}
.empf-card {
  text-decoration:none;
  color:inherit;
}
.empf-card-inner {
  background:#fff;
  border-radius:12px;
  border:1px solid #e4e7ec;
  padding:1rem;
  box-shadow:0 4px 16px rgba(0,0,0,0.04);
  transition:all 0.2s ease;
}
.empf-card-inner:hover {
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(0,0,0,0.08);
}
.empf-title {
  font-weight:600;
  margin-bottom:0.3rem;
}
.empf-arrow {
  font-size:0.85rem;
  color:#0B2239;
}
.trending li {
  margin-bottom:.4rem;
}
.trending small {
  color:#777;
  font-size:.8rem;
}
.badge {
  padding:0.25rem 0.6rem;
  border-radius:12px;
  font-size:0.7rem;
  font-weight:600;
}

.badge-ok {
  background:#e6f4ea;
  color:#1b7f3a;
}
.badge-warn {
  background:#fff4e5;
  color:#9c5a00;
  margin-left:0.4rem;
  font-weight:600;
}

.gesetzesfehler-box {
  margin-top:2.5rem;
  padding:1.6rem;
  border-radius:14px;
  background:#fff6f6;
  border:1px solid #f1c5c5;
}

.gesetzesfehler-box h2 {
  margin-top:0;
  color:#9c1c1c;
}

.fehler-liste {
  margin-top:1rem;
  padding-left:1.2rem;
}

.fehler-liste li {
  margin-bottom:1.2rem;
}

.badge-ok {
  background:#e6f4ea;
  color:#1b7f3a;
}
.hero-slogan {
  margin: 0.6rem 0 1.2rem;
  font-size: 1.05rem;
  color: var(--blue);
}

.hero-slogan span {
  font-size: 0.9rem;
  color: var(--muted);
}
.top-claim {
  font-size: 10px;
  text-align: center;
  padding: 0.3rem 0;
  color: var(--muted);
}
/* Header */
.site-header {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0.9rem 1.2rem;
  background:#fff;
  border-bottom:1px solid #e6eaf0;
}

.mobile-nav-toggle {
  font-size:1.5rem;
  background:none;
  border:none;
  cursor:pointer;
}

/* Overlay */
.mobile-nav {
  position:fixed;
  inset:0;
  background:#0b2239;
  color:#fff;
  transform:translateX(100%);
  transition:transform 0.3s ease;
  z-index:9999;
  padding:2rem 1.6rem;
  display:flex;
  flex-direction:column;
}

.mobile-nav.open {
  transform:translateX(0);
}

.mobile-nav-close {
  align-self:flex-end;
  font-size:2rem;
  background:none;
  border:none;
  color:#fff;
  cursor:pointer;
}

.mobile-nav ul {
  list-style:none;
  padding:2rem 0;
  margin:0;
}

.mobile-nav li {
  margin-bottom:1.4rem;
}

.mobile-nav a {
  color:#fff;
  font-size:1.2rem;
  text-decoration:none;
  font-weight:500;
}

/* CTA */
.mobile-cta {
  margin-top:auto;
  background:#ffb703;
  color:#0b2239;
  text-align:center;
  padding:0.9rem;
  border-radius:8px;
  font-weight:bold;
  text-decoration:none;
}
/* =========================
   FORMULAR – FEINTUNING
   Politicampus | haupt.css
   ========================= */

/* Labels dichter an Felder */
form label,
.kommentar-form label {
  margin-bottom: 0.15rem;
  font-size: 0.9rem;
  color: var(--blue);
}

/* Inputs – ruhiger & konsistent */
form input[type="text"],
form input[type="email"],
form input[type="password"],
form textarea,
form select,
.kommentar-form input,
.kommentar-form textarea {
  border-radius: 10px;
  border: 1px solid rgba(11,34,57,0.18);
  padding: 0.65rem 0.75rem;
  font-size: 0.95rem;
}

/* Weniger Abstand nach unten */
form input,
form textarea,
form select {
  margin-bottom: 1rem;
}

/* Fokus – Politicampus Blau */
form input:focus,
form textarea:focus,
form select:focus,
.kommentar-form input:focus,
.kommentar-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11,34,57,0.18);
}

/* =========================
   BUTTONS – EINHEITLICH BLAU
   ========================= */

form button,
.kommentar-form button,
.cookie-buttons .button {
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background-color 0.15s ease, transform 0.05s ease;
}

form button:hover,
.kommentar-form button:hover,
.cookie-buttons .button:hover {
  background: var(--blue-soft);
}

form button:active,
.kommentar-form button:active {
  transform: translateY(1px);
}

/* Sekundäre Buttons (optional) */
.btn-secondary {
  background: transparent;
  color: var(--blue);
  border: 1px solid rgba(11,34,57,0.25);
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
}

.btn-secondary:hover {
  background: rgba(11,34,57,0.06);
}

/* =========================
   FEHLER / ERFOLG – ruhiger
   ========================= */

.error {
  background: #fff5f5;
  border-left: 4px solid var(--accent-red);
  color: #7a1d1d;
}

.success {
  background: #eefaf1;
  border-left: 4px solid #1b7f3a;
  color: #14532d;
}
/* =========================
   AUTH / DASHBOARD LAYOUT
   ========================= */

.auth-wrapper {
  display: flex;
  justify-content: center;
  padding: 2.5rem 0;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem 2rem;
}

.auth-header h1 {
  font-family: 'Merriweather', serif;
  font-size: 1.6rem;
  color: var(--blue);
  margin-bottom: 0.4rem;
}

.auth-subline {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.auth-form {
  margin-top: 0.5rem;
}

.auth-footer {
  margin-top: 1.4rem;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}
/* =========================
   DASHBOARD STYLING
   ========================= */

.dashboard-wrapper {
  margin-top: 2rem;
}

.dashboard-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.dashboard-header h1 {
  font-family: 'Merriweather', serif;
  color: var(--blue);
  margin-bottom: 0.2rem;
}

.dashboard-subline {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Avatar */
.avatar-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Dashboard Cards */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}

.dash-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}

.dash-card h3 {
  color: var(--blue);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.dash-card p {
  font-size: 0.88rem;
  color: var(--muted);
}

.dash-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

/* =========================
   DANGER ZONE
   ========================= */

.danger-zone {
  margin-top: 2.5rem;
  padding: 1.3rem 1.4rem;
  border-radius: 14px;
  background: #fff6f6;
  border: 1px solid #f1c5c5;
}

.danger-zone h3 {
  color: #9c1c1c;
  margin-bottom: 0.4rem;
}

.danger-zone p {
  font-size: 0.88rem;
  color: #7a1d1d;
  margin-bottom: 0.9rem;
}

.danger-btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: var(--accent-red);
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
}
.poll {
  background:#fff;
  border:1px solid var(--border);
  padding:1rem;
  border-radius:12px;
}

.poll-option {
  position:relative;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:10px;
  padding:0.55rem 0.7rem;
  margin:.45rem 0;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;
  transition:transform .15s ease, box-shadow .15s ease;
}

.poll-option:hover {
  transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(0,0,0,.06);
}

.poll-option--selected {
  border-color:var(--accent);
  background:rgba(0,120,255,.04);
}

.poll-bar {
  position:absolute;
  inset:0;
  background:linear-gradient(
    90deg,
    rgba(0,120,255,.15),
    rgba(0,120,255,.35)
  );
  z-index:0;
  transition:width .4s ease;
}

.poll-text,
.poll-percent {
  position:relative;
  z-index:1;
  font-size:.9rem;
}

.poll-percent {
  font-weight:600;
}
.markdown h2 { margin:2rem 0 .8rem; }
.markdown h3 { margin:1.6rem 0 .6rem; }
.markdown h4 { margin:1.2rem 0 .5rem; }

.markdown p {
  line-height:1.7;
  margin:.7rem 0;
}

.markdown ul {
  margin:.6rem 0 .9rem 1.2rem;
}

.markdown li {
  margin:.3rem 0;
}

.md-separator {
  height:1px;
  background:var(--border);
  margin:1.6rem 0;
}

.markdown code {
  background:#f1f3f6;
  padding:.15rem .35rem;
  border-radius:4px;
  font-size:.9em;
}
