:root {
  --bcg-color: #ffee00;
  --second-color: #3abef9;
  --second-paragraph: #333333da;
  --paragraph: #333;
  --black-bcg: #ffffff;
  --title-color: #000;
  --welcome-img: url(/static/img/index/light/background.png);
  --border-color: #f0f0f0;
  --white-shadow: 1px solid #33333367;
  --second-icon: #33333396;
  --date: #33333381;
  --dark-yellow: #e4d500;
  --second-bcg: #f8f8f8;
  --picture-color: #ffffff;
}

.dark-theme {
  --second-paragraph: #e0e0e0;
  --paragraph: #f0f0f0;
  --black-bcg: #1e1e1e;
  --title-color: #ffffff;
  --welcome-img: url(/static/img/index/dark/pcbcg.png);
  --border-color: initial;
  --white-shadow: initial;
  --second-icon: #f0f0f09c;
  --date: #f0f0f073;
  --second-bcg: #181818;
  --picture-color: #0c0c0c;
  --dark-yellow: #ffee00;
}

#mobileMenu .l-active,
header .l-active {
  color: var(--title-color) !important;
}
header .navigation-custom {
  background-color: var(--nav-bcg);
  border-bottom: 1px solid var(--nav-borderColor);
}

#headerAddAd {
  color: var(--plus-color) !important;
}

.container-c {
  display: flex;
  max-width: 1200px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-inline: auto;
  margin-top: 100px;
}

.sidebar {
  width: 280px;
  border-right: 3px solid var(--border-color);
  padding: 30px 20px;
}

.sidebar nav h2 {
  font-size: 1.4em;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: bold;
  color: var(--title-color);
  text-align: left; /* Changed from center to left */
  border-bottom: 2px solid var(--dark-yellow);
  padding-bottom: 10px;
}

.sidebar nav ul {
  list-style: none;
  padding-left: 0 !important;
}

.sidebar nav ul li {
  margin-bottom: 15px;
}

.sidebar nav ul li a {
  color: var(--title-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
  display: inline-block;
}

.sidebar nav ul li a:hover {
  color: var(--dark-yellow);
}

.sidebar nav ul li ul {
  padding-left: 20px !important;
  margin-top: 10px;
}

.sidebar nav ul li ul li {
  margin-bottom: 8px;
}

.sidebar nav ul li ul li a {
  font-size: 0.95rem;
  font-weight: normal;
  color: var(--second-paragraph);
}

.content {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
}

.content section {
  margin-bottom: 50px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.content section:last-child {
  border-bottom: none;
}

.content section h3 {
  font-size: 1.8em;
  color: var(--title-color);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--dark-yellow);
  padding-bottom: 10px;
  font-weight: bold;
  letter-spacing: 1px;
}

.content section h4 {
  font-size: 1.3em;
  color: var(--title-color);
  margin-top: 25px;
  margin-bottom: 10px;
  font-weight: 600;
  padding-left: 10px;
  border-left: 3px solid var(--dark-yellow);
}

.content section p {
  line-height: 31px;
  color: var(--second-paragraph);
  font-size: 1.05em;
  margin-top: 15px;
  padding-left: 5px;
}

.content section ul {
  margin-top: 10px;
  padding-left: 25px !important;
  color: var(--second-paragraph);
}

.content section ul li {
  margin-bottom: 8px;
  line-height: 26px;
}

.content ol,
.content ul {
  padding: 0 !important;
}

@media (max-width: 768px) {
  .container-c {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 3px solid var(--border-color);
    padding: 20px;
  }
  
  .sidebar nav ul {
    padding-left: 0 !important;
  }
  
  .sidebar nav ul li ul {
    padding-left: 15px !important;
  }
}

@media only screen and (max-width: 499px) {
  .content {
    padding: 20px 15px;
    margin-inline: 0;
  }
  
  .sidebar nav ul li {
    width: 100%;
  }
  
  .content section h3 {
    font-size: 1.5em;
  }
  
  .content section h4 {
    font-size: 1.2em;
  }
}
