/* ==============================================================================
   1. Base Setup, Reset & Typography - Learn Coding
   ============================================================================== */

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

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  background-color: #0b0f19 !important;
  color: #cbd5e1 !important;
  line-height: 1.6;
}

/* Custom Dark Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #0b0f19;
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #38bdf8;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #334155 #0b0f19;
}

/* Reset default Jekyll theme float/position overrides */
header, section, footer, main, aside, nav {
  float: none !important;
  position: static;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Typography & Headers */
.content-wrapper h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #f8fafc !important;
  margin-top: 0;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.content-wrapper h2 {
  font-size: 1.65rem;
  font-weight: 700;
  color: #f1f5f9 !important;
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  border-bottom: 2px solid #1e293b;
  padding-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.content-wrapper h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #e2e8f0 !important;
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
}

.content-wrapper p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #cbd5e1 !important;
  margin-bottom: 1.25rem;
}

.content-wrapper ul, .content-wrapper ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.content-wrapper li {
  margin-bottom: 0.4rem;
  line-height: 1.65;
  color: #cbd5e1 !important;
}

.content-wrapper blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 4px solid #38bdf8;
  background-color: #0f172a;
  color: #e0f2fe !important;
  border-radius: 0 0.5rem 0.5rem 0;
  border: 1px solid #1e293b;
  border-left-width: 4px;
}

.content-wrapper blockquote p {
  margin-bottom: 0;
  color: #e0f2fe !important;
}

.content-wrapper a {
  color: #38bdf8 !important;
  text-decoration: none;
  transition: color 0.15s ease;
}

.content-wrapper a:hover {
  color: #7dd3fc !important;
  text-decoration: underline;
}
