/*--------------------------------------------------------------
 GLOBAL
 --------------------------------------------------------------*/
html, body {
  margin: 0 !important;
  padding: 0 !important;
  font-family: system-ui, sans-serif !important;
  background: #f3f4f6 !important;
}

 .site-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
}

.layout {
  display: flex;
  height: 100vh;   /* REQUIRED */
  overflow: hidden; /* REQUIRED */
}


/*--------------------------------------------------------------
 Sidebar + Navigation
 --------------------------------------------------------------*/
.sidebar {
  color: #e5e7eb;
  overflow-y: auto;
  height: 100vh;
}

.sidebar a {
  color: #e5e7eb;
  text-decoration:none;
}


.sidebar a:hover {
  color: #fff;  
}

.sidebar h3,
.sidebar .category-header {
   margin: 1rem 0 0.5rem 0;
   font-size: 1rem;
   font-weight: 600;
   color: #e5e7eb;
}

.category-header {
  cursor: pointer;
}

.category-header::before {
  content: '▼ ';
}

.category-header:not(.expanded)::before {
  content: '▶ ';
}

.nav .category-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}


.nav li {
  margin: 0;
}

.category-list {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.category-list.expanded {
  max-height: 500px; /* large enough to fit your biggest list */
}
/*--------------------------------------------------------------
 Profile Section
 --------------------------------------------------------------*/
.site-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #e1e4e8;  
}

.profile-section {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e1e4e8;
  padding-bottom: 16px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.profile-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.profile-name {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.profile-link {
  color: #f7f8fa;
  text-decoration: none;
}

.profile-link:hover {
  text-decoration: underline;
}

.site-subtitle {
  padding-top: 8px;
  margin: 2px 0 0;
  font-size: 14px;
  color: #ffffff;
}

/*--------------------------------------------------------------
 Post Content (Marked + Highlight.js)
 --------------------------------------------------------------*/
#post {
  font-family: system-ui, sans-serif;
  color: #333;
  line-height: 1.6;
}

#post h1,
#post h2,
#post h3,
#post h4,
#post h5,
#post h6 {
  margin: 1.6rem 0 0.8rem 0;
  font-weight: 600;
  color: #111;
}

#post p {
  margin: 0.8rem 0;
}

#post ul {
  padding-left: 1.4rem;
  margin: 0.8rem 0;
}

#post img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
}
/*--------------------------------------------------------------
 Post Content (Marked + Highlight.js)
 --------------------------------------------------------------*/
pre code {
  display: block;
  padding: 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  line-height: 1.45;
  overflow-x: auto;
  background: #0d1117;
  color: #c9d1d9;
}

code {
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
  background: #1b1f24;
  color: #e6edf3;
  font-size: 0.9rem;
}
/*--------------------------------------------------------------
 Animations
 --------------------------------------------------------------*/
.fade-in {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
}

.fade-in.loaded {
  opacity: 1;
  transform: translateY(0);
}


.welcome{
  cursor: pointer;
  font-size: 1rem;
  color: #e5e7eb;
  text-decoration: none;
}

.welcome h3{
  margin: 1rem 0 0.5rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #e5e7eb;
}

.welcome a,
.welcome a:visited,
.welcome a:hover,
.welcome a:active {
  color: #e5e7eb;
  text-decoration: none;
}









