
/* style.css - Dark theme with Bloomberg-style minimalism */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #121212;
  color: #ffffff;
  line-height: 1.6;
}

header {
  padding: 1rem;
  background-color: #1e1e1e;
  text-align: center;
  border-bottom: 2px solid #ff6f00; /* orange */
}

h1 {
  margin: 0;
  font-size: 2rem;
  color: #ff6f00;
}

/* Navigation bar */
nav ul.nav-tabs {
  list-style: none;
  display: flex;
  font-size: 1.0rem;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 1rem 0 2rem 0;
  gap: 1rem;
  background-color: #1e1e1e;
}

.nav-tabs li {
  display: flex;
  align-items: center;
}

.nav-tabs li a {
  text-decoration: none;
  color: #ff6f00;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: bold;
  background-color: #1e1e1e;
  transition: background-color 0.3s, color 0.3s;
  display: block;
}

.nav-tabs li a.active,
.nav-tabs li a:hover {
  background-color: #2c2c2c;
  color: #00c853; /* green */
}

main {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  background-color: #121212;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

h2 {
  color: #ff6f00; /* orange */
  border-bottom: 1px solid #444;
  padding-bottom: 0.25rem;
}

ul {
  list-style-type: square;
  padding-left: 1.5rem; /* adds indentation to the list as a whole */
  margin-left: 0;       /* optional: adjust if your theme adds extra left margin */
}

ul li {
  margin: 0.75rem 0;
}

ul li a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px dotted #555;
}

ul li a:hover {
  color: #00c853;
  border-bottom: 1px solid #00c853;
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: #1e1e1e;
  border-top: 1px solid #444;
  font-size: 0.9rem;
  color: #aaa;
}

/* Enhance code folding toggle */
.code-fold > summary,
.cell > details > summary,
.quarto-figure > details > summary {
  color: #ff6f00;
  font-weight: bold;
  cursor: pointer;
  padding: 8px 12px;
  background-color: #2c2c2c;
  border-radius: 5px;
  margin-bottom: 0.5rem;
}

/* Style code block background */
pre.sourceCode, pre code {
  background-color: #ffffff !important;
  color: #000000 !important;
  border-radius: 6px;
  padding: 1rem;
  overflow-x: auto;
}

/* Home link styling */
.backlink, a[href="/index.html"], a[href="../index.html"] {
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

.backlink:hover, a[href="/index.html"]:hover, a[href="../index.html"]:hover {
  color: #00c853;
  text-decoration: underline;
}

/* Social and post links inside <main> */
main a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

main a:hover {
  color: #00c853;
  text-decoration: underline;
}

/* Macro/Finance/FPL Page Specific Styles */
.topic-intro {
    /* You already have 'color: #ffffff;' from body, so no need to repeat unless different */
    /* Add any specific styles for emphasis here, e.g., */
    font-size: 1.2em; /* Slightly larger */
	font-style: italic;
	color: #BA55D3; 
    margin-bottom: 2rem; /* Maybe a bit more space below it */
}
.blog-title {
   margin-top: 1.5rem; /* Space above each blog title */
    margin-bottom: 0.1rem; /* Small gap to the excerpt */
    font-weight: bold; /* Make the title stand out a bit more */
    /* If you want the *text* of the paragraph to be orange, not just the link */
    /* color: #ff6f00; */
}
.blog-excerpt {
   color: #ff6f00; /* Purple shade = #BA55D3; */
    font-style: italic;
    font-size: 0.95em; /* Slightly smaller than body text for differentiation */
    margin-top: 0; /* Remove default top margin to reduce gap to title */
    margin-bottom: 1rem; /* Space below the excerpt before the next blog title */
}