@charset "UTF-8";
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.8;
  color: #2a2820;
  background: #fafaf7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #c9a227;
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  color: #a88020;
}
a:focus {
  outline: thin dotted;
  color: #a88020;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

code {
  font-family: "SF Mono", "Monaco", "Menlo", monospace;
  font-size: 0.9em;
}

blockquote {
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  vertical-align: baseline;
  *vertical-align: middle;
}

button, input {
  line-height: normal;
}

button, input[type=button], input[type=reset], input[type=submit] {
  cursor: pointer;
  -webkit-appearance: button;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h1 {
  font-size: 48px;
  letter-spacing: -1px;
}
@media (max-width: 800px) {
  h1 {
    font-size: 36px;
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 28px;
  }
}

h2 {
  font-size: 32px;
  letter-spacing: -0.5px;
  margin: 50px 0 30px 0;
}

h3 {
  font-size: 26px;
  margin: 40px 0 20px 0;
}

h4 {
  font-size: 22px;
  margin: 30px 0 20px 0;
}

h5 {
  font-size: 20px;
}

h6 {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

p {
  margin-bottom: 30px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

p > a,
li > a {
  border-bottom: 1px dotted rgb(239.0740740741, 225.3703703704, 180.9259259259);
  transition: all 0.3s ease;
}
p > a:hover,
li > a:hover {
  border-bottom-style: solid;
  border-bottom-color: #d4af37;
  color: #d4af37;
}

ul, ol {
  margin: 30px 0;
  padding-left: 30px;
}
ul li, ol li {
  margin-bottom: 12px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

dt {
  font-weight: 700;
}

dd {
  margin-left: 0;
  margin-bottom: 20px;
}

strong {
  font-weight: 700;
}

em {
  font-style: italic;
}

hr {
  display: block;
  margin: 50px 0;
  padding: 0;
  height: 1px;
  border: 0;
  border-top: 1px solid #dedad0;
}

.container {
  width: 100%;
  margin: 0;
  padding: 40px 40px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
}
@media (max-width: 1100px) {
  .container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 40px;
  }
}
@media (max-width: 800px) {
  .container {
    padding: 30px 30px;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 20px 20px;
  }
}

.content {
  min-width: 0;
}

.wrapper {
  max-width: 100%;
  margin: 0 auto;
}
.wrapper.full-width {
  width: 100%;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.site-header {
  padding: 20px 0;
  background: #ffffff;
  border-bottom: 1px solid #dedad0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .wrapper {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-header .site-title {
  font-size: 14px;
  font-weight: 700;
  color: #2a2820;
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.site-header .site-title:hover {
  color: #c9a227;
}
.site-header .site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.site-header .site-nav a {
  color: #5a5750;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.site-header .site-nav a:hover {
  color: #2a2820;
}
.site-header .site-nav .search-toggle,
.site-header .site-nav .theme-toggle {
  background: none;
  border: none;
  color: #5a5750;
  font-size: 16px;
  cursor: pointer;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.site-header .site-nav .search-toggle:hover,
.site-header .site-nav .theme-toggle:hover {
  color: #2a2820;
}
@media (max-width: 800px) {
  .site-header {
    padding: 20px 0;
  }
  .site-header .wrapper {
    padding: 0 30px;
  }
  .site-header .site-nav {
    gap: 20px;
  }
}

.search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
}
.search-modal.active {
  display: flex;
}
.search-modal .search-modal-content {
  background: white;
  width: 90%;
  max-width: 700px;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}
.search-modal .search-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: #5a5750;
  cursor: pointer;
  padding: 5px;
  z-index: 10;
  transition: all 0.3s ease;
}
.search-modal .search-close:hover {
  color: #2a2820;
}
.search-modal .search-input {
  padding: 20px;
  font-size: 16px;
  border: none;
  border-bottom: 1px solid #dedad0;
}
.search-modal .search-input:focus {
  outline: none;
  background: #f9fafb;
}
.search-modal .search-results {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
.search-modal .search-result-item {
  padding: 15px;
  border-bottom: 1px solid #dedad0;
  cursor: pointer;
  transition: all 0.3s ease;
}
.search-modal .search-result-item:hover {
  background: #f0ede6;
}
.search-modal .search-result-item .search-result-title {
  font-weight: 700;
  color: #2a2820;
  margin-bottom: 5px;
}
.search-modal .search-result-item .search-result-snippet {
  font-size: 14px;
  color: #5a5750;
}

.sidebar {
  font-size: 14px;
  position: sticky;
  top: 80px;
  align-self: start;
  height: fit-content;
  background: #fafaf7;
  padding: 0;
  border-radius: 12px;
  border: 1px solid #dedad0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.sidebar a {
  border-bottom: none;
}
.sidebar a:hover {
  border-bottom: none;
}
@media (max-width: 1100px) {
  .sidebar {
    order: -1;
    position: static;
    top: auto;
  }
}

.sidebar-section {
  padding: 20px 30px;
  border-bottom: 1px solid #dedad0;
}
.sidebar-section:last-child {
  border-bottom: none;
}
.sidebar-section h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #2a2820;
  margin: 0 0 12px 0;
  font-weight: 700;
}
.sidebar-section p, .sidebar-section ol, .sidebar-section ul {
  margin: 0;
  padding: 0;
}
.sidebar-section ol, .sidebar-section ul {
  list-style: none;
}
.sidebar-section ol li, .sidebar-section ul li {
  padding: 4px 0;
  font-size: 13px;
  color: #2a2820;
}
.sidebar-section ol li a, .sidebar-section ul li a {
  color: #2a2820;
  text-decoration: none;
  display: block;
}
.sidebar-section ol li a:hover, .sidebar-section ul li a:hover {
  color: #c9a227;
}
.sidebar-section ol li .view-count, .sidebar-section ul li .view-count {
  font-size: 11px;
  color: #8a8780;
  margin-left: 4px;
}

.about-section {
  text-align: center;
}
.about-section .about-text {
  font-size: 13px;
  line-height: 1.6;
  color: #5a5750;
  margin-bottom: 12px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f0ede6;
  color: #2a2820;
  transition: all 0.3s ease;
  font-size: 18px;
}
.social-icons a:hover {
  background: #c9a227;
  color: white;
  transform: translateY(-3px);
}

.github-repos .repo-item {
  padding: 12px;
  margin-bottom: 12px;
  background: #f0ede6;
  border-radius: 8px;
  transition: all 0.3s ease;
  border-left: 3px solid #c9a227;
}
.github-repos .repo-item:hover {
  background: #ebf4ff;
  transform: translateX(5px);
}
.github-repos .repo-item .repo-name {
  font-weight: 700;
  color: #2a2820;
  font-size: 13px;
  margin-bottom: 5px;
  text-decoration: none;
}
.github-repos .repo-item .repo-name:hover {
  color: #c9a227;
}
.github-repos .repo-item .repo-desc {
  font-size: 12px;
  color: #5a5750;
  line-height: 1.4;
}

.tags-section .tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tags-section .tag {
  display: inline-flex;
  align-items: stretch;
  border-radius: 3px;
  overflow: hidden;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: opacity 0.15s ease;
}
.tags-section .tag:hover {
  opacity: 0.8;
}
.tags-section .tag .tag-count {
  background: #2d3748;
  color: rgba(255, 255, 255, 0.9);
  padding: 4px 10px;
}
.tags-section .tag .tag-name {
  background: #4a5568;
  color: rgba(255, 255, 255, 0.85);
  padding: 4px 9px;
}

.views-section .view-item {
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #dedad0;
  font-size: 13px;
}
.views-section .view-item:last-child {
  border-bottom: none;
}
.views-section .view-item .view-title {
  color: #2a2820;
  flex: 1;
}
.views-section .view-item .view-count {
  color: #5a5750;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .sidebar-section {
    border-bottom: 1px solid #dedad0;
    border-right: 1px solid #dedad0;
  }
  .sidebar-section:nth-child(odd) {
    border-right: 1px solid #dedad0;
  }
  .sidebar-section:nth-child(even) {
    border-right: none;
  }
  .sidebar-section:nth-last-child(-n+2) {
    border-bottom: none;
  }
}
.home .posts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.home .post-preview {
  display: flex;
  flex-direction: column;
  padding: 40px;
  background: white;
  border: 1px solid #dedad0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.home .post-preview:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: #e0ddd4;
}
.home .post-preview h2 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
  order: 2;
}
.home .post-preview h2 a {
  color: #2a2820;
  text-decoration: none;
  transition: all 0.3s ease;
}
.home .post-preview h2 a:hover {
  color: #d4af37;
}
.home .post-preview .post-meta {
  font-size: 12px;
  text-transform: uppercase;
  color: #5a5750;
  margin-bottom: 20px;
  order: 1;
  letter-spacing: 0.5px;
}
.home .post-preview .post-excerpt {
  order: 3;
  flex-grow: 1;
  margin-bottom: 30px;
}
.home .post-preview .read-more {
  order: 4;
  align-self: flex-end;
  padding: 12px 20px;
  background: #2a2820;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}
.home .post-preview .read-more:hover {
  background: #d4af37;
  color: white;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 50px 0;
}
.pagination a, .pagination span {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.pagination a {
  background: #f0ede6;
  color: #2a2820;
}
.pagination a:hover {
  background: #d4af37;
  color: white;
}
.pagination .current {
  background: #d4af37;
  color: white;
  font-weight: 700;
}
.pagination .disabled {
  color: #8a8780;
  cursor: not-allowed;
}

.post {
  width: 100%;
}
.post .post-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 0;
}
@media (max-width: 800px) {
  .post .post-box {
    padding: 20px 0;
    max-width: 100%;
  }
}
@media (max-width: 600px) {
  .post .post-box {
    padding: 12px 0;
  }
}
.post .post-header {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #dedad0;
}
.post .post-title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px 0;
  letter-spacing: -1px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  color: #2a2820;
}
@media (max-width: 800px) {
  .post .post-title {
    font-size: 32px;
  }
}
@media (max-width: 600px) {
  .post .post-title {
    font-size: 26px;
  }
}
.post .post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  color: #5a5750;
}
.post .entry-date {
  color: #5a5750;
  font-size: 14px;
}
.post .meta-sep {
  color: #8a8780;
}
.post .entry-reading-time {
  color: #5a5750;
  font-size: 14px;
}
.post .entry-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.post .entry-tags .tag {
  display: inline-block;
  background: #e0ddd4;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  color: #5a5750;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid #dedad0;
}
.post .entry-tags .tag:hover {
  background: #c9a227;
  color: white;
  border-color: #c9a227;
}
.post .toc-box {
  background: #f0ede6;
  border: 1px solid #dedad0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 30px;
}
.post .toc-box .toc-title {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #5a5750;
  margin-bottom: 12px;
  font-weight: 700;
}
.post .toc-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.post .toc-box ul li {
  margin-bottom: 6px;
  list-style: none;
}
.post .toc-box ul li a {
  color: #c9a227;
  text-decoration: none;
  border: none;
}
.post .toc-box ul li a:hover {
  color: #a88020;
  text-decoration: underline;
}
.post .toc-box ul li ul {
  margin-left: 20px;
  margin-top: 4px;
}
.post .post-content {
  font-size: 18px;
  line-height: 1.8;
  color: #2a2820;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.post .post-content iframe {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  border-radius: 8px;
}
.post .post-content h1, .post .post-content h2, .post .post-content h3, .post .post-content h4, .post .post-content h5, .post .post-content h6 {
  word-wrap: break-word;
  overflow-wrap: break-word;
  margin-top: 30px;
  margin-bottom: 12px;
}
.post .post-content h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.5px;
}
.post .post-content h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}
.post .post-content h4 {
  font-size: 18px;
  font-weight: 600;
}
.post .post-content p {
  margin-bottom: 20px;
}
.post .post-content ul, .post .post-content ol {
  margin: 20px 0;
  padding-left: 40px;
}
.post .post-content ul li, .post .post-content ol li {
  margin-bottom: 12px;
}
.post .post-content code {
  background: #f7fafc;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: "SF Mono", "Monaco", "Menlo", monospace;
  font-size: 0.9em;
  color: #c53030;
  border: 1px solid #dedad0;
}
.post .post-content pre {
  background: #1c1b18;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 30px 0;
  font-size: 15px;
  line-height: 1.6;
}
.post .post-content pre code {
  background: none;
  padding: 0;
  color: #d4d4d4;
  border: none;
  font-size: 15px;
}
.post .post-content img {
  max-width: 100%;
  height: auto;
  margin: 30px 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.post .post-content blockquote {
  border-left: 4px solid #dedad0;
  padding-left: 20px;
  margin: 30px 0;
  color: #5a5750;
  font-style: italic;
  font-size: 19px;
}
.post .post-content table {
  width: 100%;
  margin: 30px 0;
  border-collapse: collapse;
  font-size: 14px;
}
.post .post-content table thead {
  background: #f0ede6;
  border-bottom: 2px solid #dedad0;
}
.post .post-content table th, .post .post-content table td {
  padding: 20px;
  text-align: left;
  border-bottom: 1px solid #dedad0;
}
.post .post-content table tbody tr:hover {
  background: #f0ede6;
}
.post .post-content a {
  color: #c9a227;
  text-decoration: none;
  border-bottom: 1px solid rgb(240.13125, 225.2625, 178.36875);
  transition: all 0.3s ease;
}
.post .post-content a:hover {
  color: #a88020;
  border-bottom-color: #a88020;
}
.post .post-content #markdown-toc {
  display: none;
}
.post .post-tags {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #dedad0;
}
.post .post-tags .tag {
  display: inline-block;
  background: #f0ede6;
  padding: 6px 14px;
  margin-right: 20px;
  margin-bottom: 20px;
  border-radius: 4px;
  font-size: 12px;
  color: #5a5750;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}
.post .post-tags .tag:hover {
  background: #c9a227;
  color: white;
}

.page .post-box {
  max-width: 900px;
}

.lightbox-trigger {
  cursor: zoom-in;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  cursor: default;
  transition: transform 0.2s ease;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

figure {
  margin: 50px 0;
  text-align: center;
}
figure img {
  margin: 0 auto;
  display: block;
}
figure figcaption {
  margin-top: 20px;
  font-size: 14px;
  color: #5a5750;
  font-style: italic;
}

code {
  background: #f0ede6;
  padding: 2px 7px;
  border-radius: 4px;
  font-family: "JetBrains Mono", "Fira Code", "SF Mono", "Monaco", monospace;
  font-size: 0.85em;
  color: #c9a227;
  border: 1px solid #dedad0;
}

pre, .highlight pre {
  background: #1c1b18;
  border-radius: 8px;
  padding: 30px;
  overflow-x: auto;
  margin: 50px 0;
  font-size: 14px;
  line-height: 1.65;
  border: none;
}
pre code, .highlight pre code {
  background: none;
  padding: 0;
  color: #f8f8f2;
  border: none;
  font-size: 14px;
  font-family: "JetBrains Mono", "Fira Code", "SF Mono", "Monaco", monospace;
}

.highlight .c, .highlight .c1, .highlight .cm, .highlight .cs, .highlight .cp, .highlight .cd {
  color: #6272a4;
  font-style: italic;
}
.highlight .k, .highlight .kc, .highlight .kd, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kt {
  color: #ff79c6;
}
.highlight .s, .highlight .s1, .highlight .s2, .highlight .sa, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .se, .highlight .sh, .highlight .si, .highlight .ss, .highlight .sx {
  color: #f1fa8c;
}
.highlight .m, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .mo, .highlight .mb, .highlight .mx, .highlight .il {
  color: #bd93f9;
}
.highlight .nf, .highlight .fm {
  color: #50fa7b;
}
.highlight .nb, .highlight .bp {
  color: #8be9fd;
}
.highlight .nc {
  color: #ffb86c;
}
.highlight .na {
  color: #50fa7b;
}
.highlight .nt {
  color: #ff79c6;
}
.highlight .no, .highlight .nd {
  color: #ffb86c;
}
.highlight .nv, .highlight .vc, .highlight .vg, .highlight .vi {
  color: #8be9fd;
}
.highlight .n, .highlight .nx, .highlight .ni, .highlight .nl, .highlight .nn {
  color: #f8f8f2;
}
.highlight .o, .highlight .ow {
  color: #ff79c6;
}
.highlight .p {
  color: #f8f8f2;
}
.highlight .gd {
  color: #ff5555;
  background: rgba(255, 85, 85, 0.12);
}
.highlight .gi {
  color: #50fa7b;
  background: rgba(80, 250, 123, 0.12);
}
.highlight .go {
  color: #6272a4;
}
.highlight .gp {
  color: #bd93f9;
  font-weight: 600;
}
.highlight .ge {
  font-style: italic;
}
.highlight .gs {
  font-weight: 700;
}

blockquote {
  border-left: 4px solid #d4af37;
  padding-left: 30px;
  margin: 50px 0;
  color: #5a5750;
  font-style: italic;
  font-size: 18px;
  background: #f0ede6;
  padding: 30px;
  padding-left: 30px;
  border-radius: 8px;
}
blockquote p {
  margin: 0;
}
blockquote p:not(:last-child) {
  margin-bottom: 20px;
}
blockquote cite {
  display: block;
  margin-top: 20px;
  font-style: normal;
  color: #5a5750;
  font-size: 14px;
}
blockquote cite:before {
  content: "— ";
}

hr {
  border: none;
  border-top: 1px solid #dedad0;
  margin: 50px 0;
}

dl {
  margin: 50px 0;
}

dt {
  font-weight: 700;
  margin-top: 20px;
}

dd {
  margin-left: 30px;
  margin-bottom: 20px;
  color: #5a5750;
}

ul, ol {
  margin: 50px 0;
  padding-left: 2em;
}

li {
  margin-bottom: 20px;
  line-height: 1.8;
}

ul li {
  list-style-type: disc;
}
ul li ul {
  margin: 20px 0;
}
ul li ul li {
  list-style-type: circle;
}
ul li ul li ul li {
  list-style-type: square;
}

ol li {
  list-style-type: decimal;
}
ol li ol {
  margin: 20px 0;
  list-style-type: lower-alpha;
}
ol li ol li ol {
  list-style-type: lower-roman;
}

table {
  width: 100%;
  margin: 50px 0;
  border-collapse: collapse;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
table thead {
  background: #f0ede6;
  border-bottom: 2px solid #dedad0;
}
table th {
  padding: 20px;
  text-align: left;
  font-weight: 700;
  color: #2a2820;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}
table td {
  padding: 20px;
  border-bottom: 1px solid #dedad0;
}
table tbody tr {
  transition: all 0.3s ease;
}
table tbody tr:hover {
  background: #f0ede6;
}
table tbody tr:nth-child(even) {
  background: #f9f9f9;
}

form {
  margin: 50px 0;
}

label {
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
  color: #2a2820;
}

input[type=text],
input[type=email],
input[type=search],
textarea {
  width: 100%;
  padding: 20px;
  border: 1px solid #dedad0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=search]:focus,
textarea:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button, input[type=button], input[type=submit] {
  display: inline-block;
  padding: 10px 24px;
  background: #2a2820;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
button:hover, input[type=button]:hover, input[type=submit]:hover {
  background: #d4af37;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
button:active, input[type=button]:active, input[type=submit]:active {
  transform: translateY(0);
}

#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: #c9a227;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}
#back-to-top:hover {
  background: #a88020;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
#back-to-top:active {
  transform: translateY(0);
}

input[type=button]:disabled,
input[type=submit]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
input[type=button]:disabled:hover,
input[type=submit]:disabled:hover {
  background: #2a2820;
  transform: none;
  box-shadow: none;
}

* {
  transition: all 0.3s ease;
}

a {
  position: relative;
  transition: all 0.15s ease;
}
a:hover {
  color: #d4af37;
}

button, input[type=button], input[type=submit], .btn {
  position: relative;
  overflow: hidden;
}
button::before, input[type=button]::before, input[type=submit]::before, .btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
button:hover::before, input[type=button]:hover::before, input[type=submit]:hover::before, .btn:hover::before {
  width: 300px;
  height: 300px;
}

img {
  transition: all 0.3s ease;
}
img:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}

.post-card, .project-card, .note-card {
  transition: all 0.3s ease;
}
.post-card:hover, .project-card:hover, .note-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.icon {
  display: inline-block;
  transition: all 0.15s ease;
}
.icon:hover {
  transform: scale(1.1);
}

.social-link {
  display: inline-block;
  transform: translateY(0);
  transition: all 0.3s ease;
}
.social-link:hover {
  transform: translateY(-3px);
  color: #d4af37;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
.pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  animation: fadeIn 0.5s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.slide-in-left {
  animation: slideInLeft 0.5s ease-out;
}

.slide-in-right {
  animation: slideInRight 0.5s ease-out;
}

.slide-in-up {
  animation: slideInUp 0.5s ease-out;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.scale-in {
  animation: scaleIn 0.3s ease-out;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.spin {
  animation: spin 1s linear infinite;
}

@keyframes goldHighlight {
  0%, 100% {
    background-color: transparent;
  }
  50% {
    background-color: rgba(212, 175, 55, 0.2);
  }
}
.gold-highlight {
  animation: goldHighlight 2s ease-in-out infinite;
}

.modal.fade-in {
  animation: fadeIn 0.3s ease-out;
}
.modal .modal-content {
  animation: slideInUp 0.3s ease-out;
}

.search-result {
  animation: fadeIn 0.3s ease-out;
}
.search-result:nth-child(1) {
  animation-delay: 0.05s;
}
.search-result:nth-child(2) {
  animation-delay: 0.1s;
}
.search-result:nth-child(3) {
  animation-delay: 0.15s;
}
.search-result:nth-child(n+4) {
  animation-delay: 0.2s;
}

@keyframes staggerFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.stagger-fade-in {
  animation: staggerFadeIn 0.5s ease-out both;
}
.stagger-fade-in:nth-child(1) {
  animation-delay: 0.1s;
}
.stagger-fade-in:nth-child(2) {
  animation-delay: 0.2s;
}
.stagger-fade-in:nth-child(3) {
  animation-delay: 0.3s;
}
.stagger-fade-in:nth-child(4) {
  animation-delay: 0.4s;
}
.stagger-fade-in:nth-child(5) {
  animation-delay: 0.5s;
}
.stagger-fade-in:nth-child(6) {
  animation-delay: 0.6s;
}
.stagger-fade-in:nth-child(7) {
  animation-delay: 0.7s;
}
.stagger-fade-in:nth-child(8) {
  animation-delay: 0.8s;
}
.stagger-fade-in:nth-child(9) {
  animation-delay: 0.9s;
}
.stagger-fade-in:nth-child(10) {
  animation-delay: 1s;
}

.underline-hover {
  position: relative;
  display: inline-block;
}
.underline-hover::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #d4af37;
  transition: width all 0.15s ease;
}
.underline-hover:hover::after {
  width: 100%;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
footer {
  background: #1c1b18;
  color: rgba(255, 255, 255, 0.75);
  padding: 50px 0;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
footer .footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}
@media (max-width: 600px) {
  footer .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
footer .footer-logo {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  color: white;
  text-decoration: none;
  margin-bottom: 20px;
}
footer .footer-logo:hover {
  color: rgba(255, 255, 255, 0.75);
}
footer .footer-about p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 20px 0;
}
footer .footer-section h3 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 20px 0;
}
footer .footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
footer .footer-section ul li {
  margin-bottom: 12px;
}
footer .footer-section ul li a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
footer .footer-section ul li a:hover {
  color: white;
}
footer .footer-social {
  display: flex;
  gap: 20px;
  margin-top: 12px;
}
footer .footer-social a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
  text-decoration: none;
  transition: color 0.2s ease;
}
footer .footer-social a:hover {
  color: white;
}
footer .footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 30px 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
footer .footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
footer .footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}
footer .footer-bottom a:hover {
  color: white;
  text-decoration: underline;
}
@media (max-width: 600px) {
  footer .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body .container {
  flex: 1;
}

[data-theme=dark] body,
[data-theme=dark] .site-header,
[data-theme=dark] .sidebar,
[data-theme=dark] .post-preview,
[data-theme=dark] code,
[data-theme=dark] blockquote {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
[data-theme=dark] body {
  background: #111110;
  color: #ffffff;
}
[data-theme=dark] p, [data-theme=dark] li, [data-theme=dark] span, [data-theme=dark] td, [data-theme=dark] th, [data-theme=dark] dt, [data-theme=dark] dd, [data-theme=dark] label, [data-theme=dark] blockquote {
  color: inherit;
}
[data-theme=dark] h1, [data-theme=dark] h2, [data-theme=dark] h3, [data-theme=dark] h4, [data-theme=dark] h5, [data-theme=dark] h6 {
  color: #ffffff;
}
[data-theme=dark] .post-card-title a {
  color: #ffffff;
}
[data-theme=dark] .post-card-excerpt {
  color: #c8c5be;
}
[data-theme=dark] .post-card-meta,
[data-theme=dark] .post-card-actions span {
  color: #908d86;
}
[data-theme=dark] .share-label {
  color: #908d86;
}
[data-theme=dark] .previous-articles > h2 {
  color: #ffffff;
}
[data-theme=dark] .articles-list li a {
  color: #c8c5be;
}
[data-theme=dark] .articles-list li a:hover {
  color: #d4af37;
}
[data-theme=dark] .article-date {
  color: #908d86;
}
[data-theme=dark] .about-intro p {
  color: #c8c5be;
}
[data-theme=dark] .about-intro strong {
  color: #ffffff;
}
[data-theme=dark] .cert-name {
  color: #908d86;
}
[data-theme=dark] a {
  color: #d4af37;
}
[data-theme=dark] a:hover, [data-theme=dark] a:focus {
  color: #e8c84d;
}
[data-theme=dark] .site-header {
  background: #1a1917;
  border-bottom-color: #2e2c28;
}
[data-theme=dark] .site-header .site-title {
  color: #f0ede6;
}
[data-theme=dark] .site-header .site-title:hover {
  color: #d4af37;
}
[data-theme=dark] .site-header .site-nav a {
  color: #b0ada6;
}
[data-theme=dark] .site-header .site-nav a:hover {
  color: #f0ede6;
}
[data-theme=dark] .site-header .site-nav .search-toggle,
[data-theme=dark] .site-header .site-nav .theme-toggle {
  color: #b0ada6;
}
[data-theme=dark] .site-header .site-nav .search-toggle:hover,
[data-theme=dark] .site-header .site-nav .theme-toggle:hover {
  color: #f0ede6;
}
[data-theme=dark] .sidebar {
  background: #161512;
  border-color: #2e2c28;
}
[data-theme=dark] .sidebar-section {
  border-bottom-color: #2e2c28;
  border-right-color: #2e2c28;
}
[data-theme=dark] .sidebar-section h3 {
  color: #f0ede6;
}
[data-theme=dark] .sidebar-section li,
[data-theme=dark] .sidebar-section li a {
  color: #b0ada6;
}
[data-theme=dark] .sidebar-section li a:hover {
  color: #d4af37;
}
[data-theme=dark] .about-section .about-text {
  color: #b0ada6;
}
[data-theme=dark] .social-icons a {
  background: #2e2c28;
  color: #b0ada6;
}
[data-theme=dark] .github-repos .repo-item {
  background: #221f18;
  border-left-color: #d4af37;
}
[data-theme=dark] .github-repos .repo-item:hover {
  background: #2e2c28;
}
[data-theme=dark] .github-repos .repo-item .repo-name {
  color: #f0ede6;
}
[data-theme=dark] .github-repos .repo-item .repo-desc {
  color: #b0ada6;
}
[data-theme=dark] .views-section .view-item {
  border-bottom-color: #2e2c28;
}
[data-theme=dark] .views-section .view-item .view-title {
  color: #b0ada6;
}
[data-theme=dark] .views-section .view-item .view-count {
  color: #908d86;
}
[data-theme=dark] .home .post-preview {
  background: #161512;
  border-color: #2e2c28;
}
[data-theme=dark] .home .post-preview h2 a {
  color: #f0ede6;
}
[data-theme=dark] .home .post-preview h2 a:hover {
  color: #d4af37;
}
[data-theme=dark] .home .post-preview .post-meta {
  color: #908d86;
}
[data-theme=dark] .home .post-preview .read-more {
  background: #2e2c28;
  color: #f0ede6;
}
[data-theme=dark] .home .post-preview .read-more:hover {
  background: #d4af37;
  color: #1c1b18;
}
[data-theme=dark] .pagination a {
  background: #221f18;
  color: #f0ede6;
}
[data-theme=dark] code {
  background: #221f18;
  color: #d4af37;
  border-color: #2e2c28;
}
[data-theme=dark] blockquote {
  background: #161512;
  color: #b0ada6;
  border-left-color: #d4af37;
}
[data-theme=dark] table thead {
  background: #221f18;
}
[data-theme=dark] table td {
  border-bottom-color: #2e2c28;
}
[data-theme=dark] table th {
  color: #f0ede6;
}
[data-theme=dark] table tbody tr:hover {
  background: #221f18;
}
[data-theme=dark] table tbody tr:nth-child(even) {
  background: #161512;
}
[data-theme=dark] hr {
  border-top-color: #2e2c28;
}
[data-theme=dark] dd {
  color: #b0ada6;
}
[data-theme=dark] input[type=text],
[data-theme=dark] input[type=email],
[data-theme=dark] input[type=search],
[data-theme=dark] textarea {
  background: #161512;
  border-color: #2e2c28;
  color: #f0ede6;
}
[data-theme=dark] input[type=text]::placeholder,
[data-theme=dark] input[type=email]::placeholder,
[data-theme=dark] input[type=search]::placeholder,
[data-theme=dark] textarea::placeholder {
  color: #908d86;
}
[data-theme=dark] input[type=text]:focus,
[data-theme=dark] input[type=email]:focus,
[data-theme=dark] input[type=search]:focus,
[data-theme=dark] textarea:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}
[data-theme=dark] .search-modal-content {
  background: #1a1917;
}
[data-theme=dark] .search-close {
  color: #908d86;
}
[data-theme=dark] .search-close:hover {
  color: #f0ede6;
}
[data-theme=dark] #searchInput {
  background: #1a1917;
  border-bottom-color: #2e2c28;
  color: #f0ede6;
}
[data-theme=dark] #searchInput::placeholder {
  color: #908d86;
}
[data-theme=dark] .search-result {
  border-bottom: 1px solid #2e2c28;
}
[data-theme=dark] .search-result h3 a {
  color: #f0ede6;
}
[data-theme=dark] .search-result .search-result-meta {
  color: #908d86;
}
[data-theme=dark] .search-result p {
  color: #b0ada6;
}
[data-theme=dark] .no-results {
  color: #908d86;
}
[data-theme=dark] .post-header .post-title {
  color: #f0ede6;
}
[data-theme=dark] .post-header .post-meta {
  color: #908d86;
}
[data-theme=dark] .toc {
  background: #161512;
  border-color: #2e2c28;
}
[data-theme=dark] .toc a {
  color: #b0ada6;
}
[data-theme=dark] .toc a:hover {
  color: #d4af37;
}
[data-theme=dark] .post .post-title {
  color: #f0ede6;
}
[data-theme=dark] .post .post-header {
  border-bottom-color: #2e2c28;
}
[data-theme=dark] .post .post-meta,
[data-theme=dark] .post .entry-date,
[data-theme=dark] .post .entry-reading-time {
  color: #908d86;
}
[data-theme=dark] .post .meta-sep {
  color: #605d57;
}
[data-theme=dark] .post .entry-tags .tag {
  background: #2e2c28;
  color: #b0ada6;
  border-color: #3a3830;
}
[data-theme=dark] .post .entry-tags .tag:hover {
  background: #d4af37;
  color: #1c1b18;
  border-color: #d4af37;
}
[data-theme=dark] .post .toc-box {
  background: #161512;
  border-color: #2e2c28;
}
[data-theme=dark] .post .toc-box .toc-title {
  color: #908d86;
}
[data-theme=dark] .post .post-content {
  color: #e8e4dc;
}
[data-theme=dark] .post .post-content h1, [data-theme=dark] .post .post-content h2, [data-theme=dark] .post .post-content h3, [data-theme=dark] .post .post-content h4, [data-theme=dark] .post .post-content h5, [data-theme=dark] .post .post-content h6 {
  color: #f0ede6;
}
[data-theme=dark] .post .post-content code {
  background: #221f18;
  color: #d4af37;
  border-color: #2e2c28;
}
[data-theme=dark] .post .post-content blockquote {
  color: #b0ada6;
  border-left-color: #d4af37;
  background: #161512;
}
[data-theme=dark] .post .post-content table thead {
  background: #221f18;
}
[data-theme=dark] .post .post-content table th {
  color: #f0ede6;
}
[data-theme=dark] .post .post-content table td {
  border-bottom-color: #2e2c28;
}
[data-theme=dark] .post .post-content table tbody tr:hover {
  background: #221f18;
}
[data-theme=dark] .post .post-tags {
  border-top-color: #2e2c28;
}
[data-theme=dark] .post .post-tags .tag {
  background: #2e2c28;
  color: #b0ada6;
}
[data-theme=dark] .post .post-tags .tag:hover {
  background: #d4af37;
  color: #1c1b18;
}
[data-theme=dark] .tags-page-title {
  color: #f0ede6;
}
[data-theme=dark] .tags-index {
  border-bottom-color: #2e2c28;
}
[data-theme=dark] .tag-index-link {
  background: #2e2c28;
  color: #b0ada6;
}
[data-theme=dark] .tag-index-link:hover {
  background: #d4af37;
  color: #1c1b18;
}
[data-theme=dark] .tag-heading {
  color: #f0ede6;
  border-bottom-color: #2e2c28;
}
[data-theme=dark] .tag-posts li {
  border-bottom-color: #2e2c28;
}
[data-theme=dark] .tag-post-date {
  color: #908d86;
}
[data-theme=dark] .tag-posts li a {
  color: #c8c5be;
}
[data-theme=dark] .tag-posts li a:hover {
  color: #d4af37;
}
[data-theme=dark] .post-card {
  border-bottom-color: #2e2c28;
}
[data-theme=dark] .post-share {
  border-top-color: #2e2c28;
}
[data-theme=dark] .article-tag {
  background: #2e2c28;
  color: #b0ada6;
}
[data-theme=dark] .articles-list li {
  border-bottom-color: #2e2c28;
}
[data-theme=dark] .previous-articles {
  border-top-color: #2e2c28;
}
[data-theme=dark] .no-posts {
  color: #908d86;
}
[data-theme=dark] .btn-primary {
  background: #2e2c28;
  color: #f0ede6;
}
[data-theme=dark] .btn-primary:hover {
  background: #3a3830;
}
[data-theme=dark] .btn-secondary {
  background: transparent;
  color: #b0ada6;
  border-color: #2e2c28;
}
[data-theme=dark] .btn-secondary:hover {
  background: #2e2c28;
  color: #f0ede6;
}
[data-theme=dark] .accolade-item,
[data-theme=dark] .cert-item {
  background: #221f18;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/*# sourceMappingURL=main.css.map */