/* thingino blog — dark base + orange accent */

:root {
  --accent: #ff8800;
  --accent-soft: #ffa733;
}

body {
  font-family: "Montserrat", "Noto Sans", system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
  max-width: 46rem;
}

code, pre, kbd, samp {
  font-family: "PT Mono", ui-monospace, monospace;
}

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

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

/* Navbar */
.site-nav {
  border-color: rgba(255, 136, 0, 0.35) !important;
}

.site-nav .navbar-brand {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-accent {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 1.25rem;
}

.nav-ext {
  color: var(--bs-secondary-color);
  font-size: 0.9rem;
}

.nav-ext:hover {
  color: var(--accent);
  text-decoration: none;
}

/* Page-level section label (index header) — must not compete with post titles */
.page-label {
  font-family: "PT Mono", ui-monospace, monospace;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bs-secondary-color);
}

/* Breadcrumbs (article page) — same voice as the index page label */
.breadcrumbs {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.breadcrumbs .sep {
  margin: 0 0.4rem;
}

/* Article list */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.post-item h2 a {
  color: var(--accent-soft);
}

.post-item h2 a:hover {
  color: var(--accent);
  text-decoration: none;
}

.post-meta {
  color: var(--bs-secondary-color);
  font-family: "PT Mono", ui-monospace, monospace;
  font-size: 0.85rem;
}

/* Article body */
.post-body {
  line-height: 1.7;
}

.post-body h2,
.post-body h3,
.post-body h4 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.post-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
  border-radius: 0.375rem;
}

.post-body pre {
  padding: 1rem;
  border-radius: 0.375rem;
  border: 1px solid var(--bs-border-color);
  overflow-x: auto;
  font-size: 0.875rem;
}

.post-body :not(pre) > code {
  color: var(--accent-soft);
  background: rgba(255, 136, 0, 0.08);
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
}

.post-body blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  color: var(--bs-secondary-color);
}

.post-body table {
  width: 100%;
  margin-bottom: 1rem;
  border-collapse: collapse;
}

.post-body th,
.post-body td {
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--bs-border-color);
}

.post-body th {
  background: rgba(255, 255, 255, 0.04);
}

/* Footer */
.site-footer {
  color: var(--bs-secondary-color);
  font-size: 0.875rem;
}

.site-footer a {
  color: var(--bs-secondary-color);
}

.site-footer a:hover {
  color: var(--accent);
}
