/* ==========================================================================
   BangerCity RP – Neuigkeiten (gleiches Designsystem wie Startseite & Wiki)
   ========================================================================== */
:root {
    --bg: #0b0716; --panel: rgba(23, 14, 44, .78); --panel2: rgba(34, 22, 64, .6); --solid: #170f2c;
    --line: rgba(139, 92, 246, .18); --line2: rgba(139, 92, 246, .34);
    --text: #f4f1ff; --soft: #c9bff0; --muted: #9184c2;
    --cyan: #00d4ff; --pink: #ff1aff; --purple: #8b5cf6; --green: #2ee59d; --red: #ff3d6e; --yellow: #ffc83d;
    --grad: linear-gradient(135deg, #00d4ff 0%, #8b5cf6 55%, #ff1aff 100%);
    --font: 'Inter', system-ui, sans-serif; --display: 'Outfit', 'Inter', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1;
    background: radial-gradient(900px 600px at 0% 20%, rgba(0, 212, 255, .08), transparent 60%), radial-gradient(900px 700px at 100% 70%, rgba(255, 26, 255, .07), transparent 60%), var(--bg); }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Kopfzeile */
.top { position: sticky; top: 0; z-index: 50; background: rgba(11, 7, 22, .9); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.top-in { display: flex; align-items: center; gap: 18px; height: 70px; padding: 0 24px; max-width: 1180px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 19px; color: var(--text); letter-spacing: .5px; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo img { width: 36px; height: 36px; border-radius: 10px; }
.logo span { color: var(--cyan); font-weight: 700; }
.top-r { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line2); background: rgba(139, 92, 246, .12); color: var(--text); font-weight: 700; font-size: 13px; white-space: nowrap; cursor: pointer; }
.btn:hover { background: rgba(139, 92, 246, .24); text-decoration: none; }
.btn.primary { background: var(--grad); border: 0; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 34px 24px 70px; }

/* Kopf der Übersicht */
.hero { padding: 18px 0 34px; max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(139, 92, 246, .12); color: var(--soft); font-size: 12.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; margin-bottom: 16px; }
.eyebrow i { color: var(--cyan); }
h1 { font-family: var(--display); font-size: clamp(30px, 5vw, 46px); line-height: 1.12; letter-spacing: -.5px; }
.hero p { color: var(--soft); margin-top: 14px; }
.hero code { background: rgba(0, 212, 255, .12); border: 1px solid var(--line2); border-radius: 6px; padding: 1px 7px; font-size: 13.5px; color: var(--cyan); }

.crumb { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.crumb i { font-size: 10px; }

/* Kartenliste */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; color: var(--text); transition: border-color .15s, transform .15s; }
.card:hover { text-decoration: none; border-color: var(--line2); transform: translateY(-2px); }
.card .thumb { display: block; height: 180px; background-size: cover; background-position: center; border-bottom: 1px solid var(--line); }
.card .c-in { display: flex; flex-direction: column; gap: 9px; padding: 18px 20px 20px; }
.card time { color: var(--muted); font-size: 12.5px; font-weight: 600; letter-spacing: .3px; }
.card b { font-family: var(--display); font-size: 19px; line-height: 1.25; }
.card .ex { color: var(--soft); font-size: 14px; }
.card em { font-style: normal; color: var(--cyan); font-weight: 700; font-size: 13px; margin-top: 4px; }
.card.big { grid-column: 1 / -1; }
.card.big .thumb { height: 320px; }
.card.big b { font-size: 26px; }
.card.sm b { font-size: 16px; }
.card.sm .thumb { height: 130px; }

.empty { text-align: center; padding: 70px 20px; color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 20px; }
.empty i { font-size: 34px; display: block; margin-bottom: 12px; color: var(--purple); }

.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; color: var(--muted); font-size: 13.5px; }

/* Einzelner Beitrag */
.post { max-width: 820px; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 30px 34px 34px; }
.post .meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 13px; margin: 16px 0 24px; }
.post .meta .upd { color: var(--yellow); }
.post .lead { width: 100%; border-radius: 16px; border: 1px solid var(--line); margin-bottom: 26px; }
.post .body { font-size: 16px; }
.post .body p { margin-bottom: 16px; }
.post .body ul { margin: 0 0 18px 4px; padding-left: 20px; }
.post .body li { margin-bottom: 7px; color: var(--soft); }
.post .body strong { color: #fff; }
.post .body a { text-decoration: underline; text-underline-offset: 3px; }
.post .share { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }

.also { margin-top: 44px; }
.also h2 { font-family: var(--display); font-size: 20px; margin-bottom: 16px; color: var(--soft); }

.foot { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }

@media (max-width: 760px) {
    .top-in { padding: 0 16px; gap: 10px; }
    .top-r .btn span { display: none; }
    .wrap { padding: 24px 16px 56px; }
    .post { padding: 22px 18px 26px; border-radius: 18px; }
    .card.big .thumb { height: 200px; }
}
