/* basement-page.css
   Dark theme for individual notes/posts accessed from the basement.
   Loaded after style.css to override variables and layout. */

:root {
  --basement-bg: #303030;
  --bg:          var(--basement-bg);
  --text:        rgba(255, 255, 255, 0.88);
  --muted:       rgba(255, 255, 255, 0.38);
  --orange:      rgba(255, 255, 255, 0.82);   /* repurposed as primary fg */
  --blue:        rgba(255, 255, 255, 0.5);
  --blue-dark:   rgba(255, 255, 255, 0.18);
  --bar-bg:      #1a1a1a;
}

/* Let the page scroll naturally — no fixed-height viewport container */
.page-wrapper {
  display: block;
  height: auto;
  min-height: 100vh;
}

.roof {
  display: none;
}

/* Single-column — no sidebar */
.site-container--wide {
  display: block;
  padding: 2rem 3rem;
  max-width: 760px;
  margin: 0 auto;
}

.sidebar {
  display: none;
}

/* Let main content expand naturally */
.main-content {
  overflow-y: visible;
  padding: 0.5em 0 3em;
  max-width: 680px;
}

/* Soften the back-link */
.project-back {
  opacity: 0.5;
}
.project-back:hover {
  opacity: 0.9;
}

/* Links: underline rather than bare colored text */
.main-content a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.28);
}

/* Horizontal rules */
hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 1.8em 0;
}

/* Blockquotes */
.main-content blockquote,
blockquote {
  border-left: 2px solid rgba(255, 255, 255, 0.18);
  padding-left: 1em;
  margin: 1em 0;
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
}

/* <mark> used in world-expanding */
mark {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
  padding: 0.05em 0.25em;
}

/* Texture overlay on dark bg — increase opacity so it's visible */
#texture {
  opacity: 0.15;
}
