:root {
  --brand: #e91e63;
  --brand-dark: #c2185b;
  --ink: #1a1a2e;
}

body {
  background: #fafafa;
  color: #222;
}

/* Navbar */
.site-header .navbar-brand {
  font-weight: 700;
  letter-spacing: .5px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d5e 50%, #6a1b9a 100%);
  color: #fff;
  padding: 4rem 0;
}
.hero .display-4 { font-weight: 800; }
.hero-lead { color: rgba(255, 255, 255, .85); max-width: 680px; }

/* Section header */
.section-header { padding: 2.5rem 0 1.5rem; }
.section-header h1 { font-weight: 800; }
.section-title { font-weight: 700; }

/* Post card */
.post-card {
  border: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
  transition: transform .15s ease, box-shadow .15s ease;
  overflow: hidden;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .14);
}
.post-card .card-img-top {
  height: 200px;
  object-fit: cover;
  width: 100%;
}
.card-img-link { display: block; }
.placeholder-img {
  height: 200px;
  background: linear-gradient(135deg, #e0e0e0, #cfcfcf);
}
.post-card .card-title a {
  color: var(--ink);
  text-decoration: none;
}
.post-card .card-title a:hover { color: var(--brand); }

/* Category card (taxonomy list) */
.category-card {
  border: 1px solid #e5e5e5;
  border-radius: .75rem;
  padding: 1.25rem;
  color: inherit;
  text-decoration: none;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.category-card:hover {
  border-color: var(--brand);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .1);
  color: inherit;
}

/* Post */
.post-header { padding: 2.5rem 0 1.25rem; background: #fff; }
.post-title { font-weight: 800; }
.post-hero { margin-bottom: 2rem; }
.post-hero img { width: 100%; max-height: 480px; object-fit: cover; }
.post-container { padding-bottom: 3rem; }
.post-body { font-size: 1.05rem; line-height: 1.75; }
.post-body h2 { margin-top: 2rem; font-weight: 700; }
.post-body h3 { margin-top: 1.5rem; font-weight: 600; }
.post-body img { max-width: 100%; border-radius: .5rem; }
.post-body a { color: var(--brand); }

/* TOC */
.toc {
  background: #fff;
  border: 1px solid #eee;
  border-radius: .75rem;
  padding: 1rem 1.25rem;
  font-size: .95rem;
}
.toc #TableOfContents ul { list-style: none; padding-left: 1rem; margin: 0; }
.toc #TableOfContents > ul { padding-left: 0; }
.toc #TableOfContents li { margin: .3rem 0; }
.toc #TableOfContents a { color: #444; text-decoration: none; }
.toc #TableOfContents a:hover { color: var(--brand); }
.sticky-sidebar { position: sticky; top: 80px; }

/* FAQ */
.faq-section { max-width: 820px; }

/* Footer */
.footer { font-size: .95rem; }
.footer-langs { display: flex; flex-wrap: wrap; gap: .75rem; }
.footer-lang { color: rgba(255, 255, 255, .75); text-decoration: none; }
.footer-lang:hover { color: #fff; }
.footer-lang.active { color: #fff; font-weight: 600; }

/* Language dropdown */
.globe { margin-right: .25rem; }

/* Pagination */
.pagination .page-link { color: var(--brand); }
.pagination .page-item.active .page-link {
  background-color: var(--brand);
  border-color: var(--brand);
}
