/* Color Scheme Variables */
:root {
	/* Get the current color scheme and colors *//* Primary Colors */
	--color-primary: #60A5FA;
	--color-primary-dark: #3B82F6;
	--color-accent: #10B981;

	/* Text Colors */
	--color-text: #F3F4F6;
	--color-text-secondary: #D1D5DB;
	--color-text-light: #9CA3AF;
	--color-text-meta: #D1D5DB;
	--color-text-white: #FFFFFF;
	--color-text-black: #F3F4F6;
	--color-text-footer: #9CA3AF;
	--color-text-meta-icon: #9CA3AF;
	
	/* Link Colors */
	--color-link: #60A5FA;
	--color-link-hover: #93C5FD;

	/* Background Colors */
	--color-background: #111827;
	--color-content-bg: #1F2937;
	--color-header-bg: #0F172A;
	--color-footer-bg: #0F172A;
	--color-widget-bg: #1F2937;
	--color-tag-bg: #374151;
	--color-input-bg: #1F2937;
	--color-bg-table: #1F2937;
	--color-bg-code: #1F2937;
	--color-bg-search: #1F2937;
	--color-bg-white: #111827;

	/* Border Colors */
	--color-border: #374151;
	--color-border-light: #374151;
	--color-border-medium: #4B5563;
	--color-border-dark: #6B7280;
	--color-border-dotted: #374151;
	--color-footer-border: #374151;
	--color-menu-border: rgba(255, 255, 255, 0.1);
	--color-border-table: #374151;

	/* Button/Input Colors */
	--color-button-bg: #3B82F6;
	--color-button-text: #FFFFFF;
	--color-input-border: #374151;
	--color-input-focus: #4B5563;

	/* Special Colors */
	--color-code: #10B981;
	--color-mark-bg: #374151;
	--color-shadow: rgba(0, 0, 0, 0.25);
	--color-toc-text: #D1D5DB;
	--color-counter-bg: #1F2937;
	--color-counter-text: #F3F4F6;

	/* Shadow & Opacity */
	--color-shadow-text: rgba(0, 0, 0, 0.2);
	--color-shadow-card: rgba(0, 0, 0, 0.25);
	--color-shadow-button: rgba(59, 130, 246, 0.15);
	--color-shadow-button-hover: rgba(59, 130, 246, 0.25);

	/* Background Opacity */
	--color-bg-translucent: rgba(17, 24, 39, 0.7);
	--color-bg-translucent-hover: rgba(17, 24, 39, 0.8);

	/* High contrast colors that meet WCAG 2.1 standards */
	--color-text-primary: #1a1a1a;    /* Very dark gray, almost black */
	--color-text-secondary: #2d2d2d;  /* Dark gray */
	--color-bg-header: #ffffff;       /* White background */
	--color-subtitle: #595959;       /* Medium gray with good contrast */
}


/* Structure */
html {
	font-size: 100%;
	-ms-text-size-adjust: none;
	-webkit-text-size-adjust: none;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	word-wrap: break-word;
	background: var(--color-background);
	-webkit-font-smoothing: antialiased;
	color: var(--color-text);
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}



/* Header */
.header {
	background-color: var(--color-header-bg);
	padding: 20px 0;
	position: relative;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	z-index: 100;
	height: 160px !important;
}



/* Main content and sidebar layout */
.flex {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

.primary {
	flex: 1 0 65%;
	min-width: 0;
	order: 1;
}



/* Footer */
.footer {
	padding: 30px 0;
	background: var(--color-footer-bg);
	color: var(--color-text-footer);
	text-align: center;
	font-size: 14px;
}

.footer__container {
	display: flex;
	flex-direction: column;
	align-items: center;
}




/* Navigation Bar Styling */
.header {
	width: 100%;
	background-color: var(--color-bg-header);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	position: relative;
	z-index: 100;
  }
  

  
  /* Logo styling */
  .logo-container {
	display: flex;
	align-items: center;
	padding: 10px 0;
  }
  
  .logo-link {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: var(--color-text-primary);
	transition: opacity 0.3s ease;
  }
  
  .logo-link:hover {
	opacity: 0.9;
  }
  
  .logo-image-wrapper {
	margin-right: 20px;
	flex-shrink: 0;
  }
  
  .logo-image {
	max-height: 80px;
	width: auto;
	display: block;
	object-fit: contain;
  }
  
  .logo-text {
	display: flex;
	flex-direction: column;
  }
  
  .site-title {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
	color: var(--color-text-primary);
	letter-spacing: -0.5px;
	text-transform: uppercase;
  }
  
  .site-subtitle {
	font-size: 16px;
	font-weight: 400;
	margin: 5px 0 0;
	color: var(--color-text-secondary);
	font-style: italic;
  }
  
  /* Logo variations */
  .logo--mixed .logo-image-wrapper {
	margin-right: 15px;
  }
  
  .logo--mixed .logo-image {
	max-height: 60px;
  }
  
  .logo--text-only .logo-image-wrapper {
	display: none;
  }
  
  .logo--image-only .logo-text {
	display: none;
  }
  
  /* Menu styling */
  .menu {
	position: relative;
  }
  
  .menu__btn {
	display: none;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 10px;
  }
  
  .menu__btn-title {
	display: block;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 14px;
  }
  
  .menu__list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
  }
  
  .menu__item {
	position: relative;
	margin: 0 5px;
  }
  
  .menu__link {
	display: block;
	padding: 10px 15px;
	text-decoration: none;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 14px;
	transition: background-color 0.3s ease;
  }
  
  .menu__link:hover {
	background-color: var(--color-primary);
  }
  
  .menu__text {
	display: inline-block;
  }
  
  /* Submenu styling */
  .menu__item ul {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	background-color: var(--color-bg-header);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
	z-index: 1;
	padding: 0;
	list-style: none;
  }
  
  .menu__item:hover > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
  }
  
  .menu__item ul li {
	width: 100%;
	margin: 0;
  }
  
  .menu__item ul a {
	padding: 10px 15px;
	display: block;
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
	/* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
  }
  
  .menu__item ul a:hover {
	background-color: var(--color-primary);
  }
  
  /* Divider */
  .divider {
	height: 5px;
	background-color: var(--color-primary);
	margin: 0;
	border: none;
  }
  
  /* Responsive menu */
  @media screen and (max-width: 768px) {
	/* .header__container {
	  flex-direction: column;
	  align-items: flex-start;
	} */
	
	.logo-container {
	  justify-content: center;
	  width: 100%;
	}
	
	.logo-image {
	  max-height: 60px;
	}
	
	.site-title {
	  font-size: 24px;
	}
	
	.site-subtitle {
	  font-size: 14px;
	}
	
	.menu__btn {
	  display: block;
	  width: 100%;
	  text-align: right;
	}
	
	.menu__list {
	  display: none;
	  flex-direction: column;
	  width: 100%;
	  position: absolute;
	  top: 100%;
	  left: 0;
	  background-color: var(--color-bg-header);
	  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	}
	
	.menu__list.active {
	  display: flex;
	}
	
	.menu__item {
	  margin: 0;
	  width: 100%;
	}
	
	.menu__link {
	  padding: 15px;
	  /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
	}
	
	.menu__item ul {
	  position: static;
	  opacity: 1;
	  visibility: visible;
	  transform: none;
	  box-shadow: none;
	  width: 100%;
	  max-height: 0;
	  overflow: hidden;
	  transition: max-height 0.3s ease;
	}
	
	.menu__item.active > ul {
	  max-height: 500px;
	}
	
	.menu__item ul a {
	  padding-left: 30px;
	}
  }

@media screen and (max-width: 480px) {
  .logo-container {
    flex-direction: column;
    text-align: center;
  }
  
  .logo-image-wrapper {
    margin-right: 0;
    margin-bottom: 10px;
  }
  
  .logo-text {
    align-items: center;
  }
}

.header, .menu, .menu__link, .menu__item, .menu__item ul a, .logo-container, .site-title, .site-subtitle {
	border-bottom: none !important;
  }


/* Basic styling for post content */
.content {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 1rem 0;
  }
  
  .post__content {
	margin-top: 2.5rem;
	margin-bottom: 3.5rem;
	line-height: 1.6;
  }
  
  .post__content p {
	margin-bottom: 1.5rem;
  }
  
  .post__content h1, 
  .post__content h2, 
  .post__content h3, 
  .post__content h4, 
  .post__content h5, 
  .post__content h6 {
	margin-top: 2rem;
	margin-bottom: 1rem;
  }
  
  .post__content ul,
  .post__content ol {
	margin-bottom: 1.5rem;
	padding-left: 2rem;
  }
  
  .post__content img {
	max-width: 100%;
	height: auto;
	margin: 1.5rem 0;
  }
  
  .post__content blockquote {
	padding-left: 1rem;
	margin: 1.5rem 0;
	border-left: 3px solid #ddd;
  }
  
  .clearfix::after {
	content: "";
	display: table;
	clear: both;
  }