/* === TV-Kino.com — Entertainment/Cinema theme === */
:root {
  --bg: #0f0f0f;
  --bg2: #1a1a1a;
  --card: #1e1e1e;
  --card2: #252525;
  --text: #e8e8e8;
  --text2: #c0c0c0;
  --muted: #888;
  --accent: #e50914;
  --accent-hover: #f40612;
  --border: rgba(255,255,255,.08);
  --maxw: 1060px;
}

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

html, body {
  margin: 0;
  padding: 0;
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

/* === Header === */
.site-header {
  background: #000;
  border-bottom: 2px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.site-logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}
.site-logo .accent { color: var(--accent); }

.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  color: rgba(255,255,255,.65);
  font-size: .82rem;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 4px;
  text-decoration: none;
}
.site-nav a:hover {
  color: #fff;
  background: rgba(229,9,20,.2);
  text-decoration: none;
}

/* === Layout === */
.site-wrap { padding: 24px 0 48px; }

/* === Cards === */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.postlist { display: grid; gap: 12px; }

.postcard {}
.postcard__body { padding: 14px 18px; }
.postcard__section {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--accent);
  margin-bottom: 5px;
  display: inline-block;
}
.postcard__title { margin: 0 0 7px; font-size: 1.05rem; line-height: 1.35; }
.postcard__title a { color: var(--text); }
.postcard__title a:hover { color: var(--accent); text-decoration: none; }
.postcard__meta { font-size: .78rem; color: var(--muted); }
.postcard__desc { margin: 6px 0 0; font-size: .92rem; color: var(--text2); }

/* === Article === */
.article-wrap {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 22px;
  align-items: start;
}
@media (max-width: 880px) {
  .article-wrap { grid-template-columns: 1fr; }
  .sidebar { display: none; }
}

.article-card { padding: 26px 28px 30px; }

.article-label {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--accent);
  margin-bottom: 10px;
}
.article-title {
  margin: 0 0 10px;
  font-size: 1.9rem;
  line-height: 1.2;
  font-weight: 800;
  color: #fff;
}
.article-meta { font-size: .82rem; color: var(--muted); margin-bottom: 22px; }

.article-body {
  font-size: 1.02rem;
  line-height: 1.78;
  color: var(--text2);
}
.article-body > * + * { margin-top: 1em; }
.article-body h2, .article-body h3 {
  color: #fff;
  margin-top: 1.8em;
  margin-bottom: .5em;
  line-height: 1.25;
}
.article-body h2 { font-size: 1.35rem; }
.article-body h3 { font-size: 1.1rem; }
.article-body a { color: var(--accent); border-bottom: 1px solid rgba(229,9,20,.4); }
.article-body a:hover { border-bottom-color: var(--accent); text-decoration: none; }
.article-body ul, .article-body ol { padding-left: 1.5em; }
.article-body li { margin-bottom: .4em; }
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 10px 16px;
  margin: 1.2em 0;
  background: rgba(229,9,20,.07);
  border-radius: 0 8px 8px 0;
  color: var(--text);
  font-style: italic;
}
.article-body hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }
.article-body strong { color: #fff; }

/* === Related === */
.related-box { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border); }
.related-box h3 {
  margin: 0 0 10px;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--muted);
}
.related-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.related-list li a { color: var(--text2); font-size: .92rem; }
.related-list li a:hover { color: var(--accent); text-decoration: none; }

/* === Sidebar === */
.sidebar { position: sticky; top: 68px; }
.sidebar__box { padding: 14px 16px; margin-bottom: 14px; background: var(--card2); }
.sidebar__title {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--muted);
  margin: 0 0 10px;
}
.sidebar__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.sidebar__list a { color: var(--text2); font-size: .88rem; }
.sidebar__list a:hover { color: var(--accent); text-decoration: none; }

/* === Homepage === */
.home-hero {
  background: linear-gradient(180deg, #1a0000 0%, #0f0f0f 100%);
  border-bottom: 2px solid var(--accent);
  padding: 36px 0 30px;
  margin-bottom: 28px;
}
.home-hero h1 {
  margin: 0 0 8px;
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.3px;
}
.home-hero p { margin: 0; color: rgba(255,255,255,.55); font-size: .95rem; }

.section-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--accent);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(229,9,20,.3);
  margin-bottom: 12px;
}

.list-header { margin-bottom: 22px; }
.list-header h1 { margin: 0 0 6px; font-size: 1.5rem; color: #fff; }
.list-header p { margin: 0; color: var(--muted); }

/* === Footer === */
.site-footer {
  background: #000;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .8rem;
  padding: 20px 0;
  margin-top: 48px;
}
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); text-decoration: none; }

@media (max-width: 640px) {
  .article-title { font-size: 1.4rem; }
  .article-card { padding: 18px 14px 22px; }
}
