@charset "UTF-8";
:root {
  --color-base: #F8FAFC;
  --color-surface: #FFFFFF;
  --color-accent: #2563EB;
  --color-text-primary: #0F172A;
  --color-text-secondary: #64748B;
  --header-height: 70px;
  --font-ui: 'Inter', sans-serif;
  --font-body: 'Lora', serif;
  --code-bg: #f6f8fa;
  --code-header-bg: #e1e4e8;
  --code-text: #24292e;
  --code-border: #e1e4e8;
  --code-keyword: #d73a49;
  --code-function: #6f42c1;
  --code-string: #032f62;
  --code-comment: #6a737d;
  --code-number: #005cc5;
  --code-operator: #d73a49;
  --code-success: #28a745; }

[data-theme='dark'] {
  --color-base: #1E1E2E;
  --color-surface: #181825;
  --color-accent: #2563EB;
  --color-text-primary: #CDD6F4;
  --color-text-secondary: #A6ADC8;
  --code-bg: #282a36;
  --code-header-bg: #44475a;
  --code-text: #f8f8f2;
  --code-border: #44475a;
  --code-keyword: #ff79c6;
  --code-function: #50fa7b;
  --code-string: #f1fa8c;
  --code-comment: #6272a4;
  --code-number: #bd93f9;
  --code-operator: #ff79c6;
  --code-success: #50fa7b; }

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

img,
video,
iframe {
  max-width: 100%;
  height: auto; }

body {
  background-color: var(--color-base);
  color: var(--color-text-primary);
  font-family: var(--font-ui);
  line-height: 1.5;
  margin: 0; }

a {
  color: var(--color-accent);
  text-decoration: none; }

html {
  scroll-behavior: smooth; }

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  color: var(--color-accent);
  font-family: var(--font-ui);
  text-align: left;
  margin: 2rem 0 1rem; }

.section-title,
.section-subtitle {
  color: var(--color-accent);
  font-family: var(--font-ui); }

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-text-secondary);
  position: relative; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem; }

.header-title {
  font-family: var(--font-ui);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--color-text-primary); }

.nav-links {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem; }

.nav-link {
  font-family: var(--font-ui);
  text-decoration: none;
  color: var(--color-text-secondary);
  transition: color 0.2s ease-in-out; }

.nav-link:hover {
  color: var(--color-accent); }

.search-bar {
  color: var(--color-text-secondary);
  font-family: var(--font-ui); }

.theme-toggle {
  background: none;
  border: 1px solid var(--color-text-secondary);
  color: var(--color-text-primary);
  border-radius: 8px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center; }

.theme-toggle svg {
  width: 24px;
  height: 24px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-surface); }

.hamburger-button {
  display: none;
  background: none;
  border: 1px solid var(--color-text-secondary);
  border-radius: 6px;
  padding: 0.25rem;
  color: var(--color-text-primary);
  cursor: pointer;
  z-index: 100; }

@media (max-width: 768px) {
  .hamburger-button {
    display: block; }
  .main-nav .nav-right {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-text-secondary);
    padding: 1rem;
    flex-direction: column;
    align-items: center;
    gap: 1rem; }
  .main-nav .nav-right.is-active {
    display: flex; }
  .nav-links {
    flex-direction: column;
    text-align: center;
    justify-content: center; }
  .nav-right {
    flex-direction: column;
    gap: 1rem; } }

.search-icon-button {
  background: none;
  border: none;
  color: var(--color-text-primary);
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.2rem; }

.site-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-text-secondary);
  padding: 1rem 2rem;
  font-family: var(--font-ui); }

.site-footer p {
  margin: 0; }

.footer-widgets {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem; }

.widget-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-top: 0;
  margin-bottom: 1rem;
  text-align: center; }

.widget-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: center; }

.widget-list li {
  margin-bottom: 0.5rem; }

.widget-list a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease; }

.widget-list a:hover {
  color: var(--color-accent); }

.social-links-footer {
  display: flex;
  align-items: center;
  gap: 1.25rem; }

.social-links-footer a {
  color: var(--color-text-secondary);
  font-size: 1.5rem;
  transition: color 0.2s ease, transform 0.2s ease; }

.social-links-footer a:hover {
  color: var(--color-accent);
  transform: scale(1.1); }

.footer-copyright {
  padding-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text-secondary); }

.footer-copyright p {
  margin: 0.25rem 0; }

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  padding: 3rem 0; }

.hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-direction: row-reverse; }

.hero-text {
  flex: 1;
  max-width: 650px; }

.hero-intro {
  display: block;
  font-family: var(--font-ui);
  color: var(--color-accent);
  font-size: 1.1rem;
  margin-bottom: 1rem; }

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0; }

.hero-subtitle {
  font-family: var(--font-ui);
  font-size: 2rem;
  color: var(--color-text-secondary);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem; }

.hero-content {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 500px;
  line-height: 1.6;
  margin-bottom: 2.5rem; }

.hero-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: center; }

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap; }

.social-links {
  display: flex;
  gap: 1rem;
  align-items: center; }

.hero-image-container {
  flex-shrink: 0; }

.hero-image {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 12px; }

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem; }
  .hero-wrapper {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem; }
  .hero-image-container {
    order: -1; }
  .hero-title {
    font-size: 2.5rem; }
  .hero-subtitle {
    font-size: 1.5rem; }
  .hero-links {
    flex-direction: column;
    align-items: center; }
  .hero-buttons {
    justify-content: center; }
  .social-links {
    justify-content: center; } }

.education {
  background-color: var(--color-surface); }

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 0.5rem; }

.section-subtitle {
  font-size: 1.1rem;
  text-align: center;
  color: var(--color-text-secondary);
  margin-bottom: 3rem; }

section {
  padding: 4rem 0; }

.card-grid-wrapper {
  display: flex;
  justify-content: center; }

.card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem; }

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center; } }

@media (min-width: 992px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr); } }

.projects {
  padding: 4rem 0;
  background-color: var(--color-base); }

.project-card {
  background-color: var(--color-surface);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column; }

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12); }

.project-image {
  width: 100%;
  height: 220px;
  object-fit: cover; }

.project-content {
  padding: 1.5rem;
  flex-grow: 1; }

.project-buttons {
  display: flex;
  gap: 0.5rem;
  padding: 0 1.5rem 1.5rem; }

.project-buttons .button {
  font-size: 0.9rem;
  padding: 0.5rem 1rem; }

.project-title {
  font-family: var(--font-ui);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-top: 0;
  margin-bottom: 0.75rem; }

.project-summary {
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  line-height: 1.6; }

.project-tags {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem; }

.tag {
  background-color: var(--color-accent);
  color: var(--color-surface);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-family: var(--font-ui);
  font-weight: 700; }

.skills {
  background-color: var(--color-surface);
  padding-top: 6rem;
  padding-bottom: 6rem;
  position: relative; }

.skill-card {
  background-color: var(--color-base);
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease; }
  .skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15); }

.skill-icon {
  color: var(--color-accent);
  font-size: 3rem;
  margin-bottom: 1.5rem; }

.skill-role {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-top: 0;
  margin-bottom: 1rem; }

.skill-description {
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem; }

.skill-list-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem; }

.skill-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  line-height: 1.8;
  color: var(--color-text-secondary); }

@media (max-width: 768px) {
  .skills {
    padding-top: 4rem;
    padding-bottom: 4rem; }
  .skills-card-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem; } }

.skill-item {
  padding: 1.5rem;
  background-color: var(--color-surface);
  border-radius: 8px; }

.skill-name {
  margin: 0 0 0.5rem;
  color: var(--color-text-primary); }

.skill-description {
  margin: 0;
  color: var(--color-text-secondary);
  font-family: var(--font-body); }

.timeline {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 1px; }

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--color-text-secondary);
  opacity: 0.3; }

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1.5rem; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -0.55rem;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  background-color: var(--color-accent);
  border-radius: 50%;
  border: 3px solid var(--color-base);
  z-index: 1; }

.timeline-title {
  margin: 0;
  color: var(--color-text-primary); }

.timeline-company, .timeline-date {
  color: var(--color-text-secondary);
  font-size: 0.9rem; }

.timeline-summary {
  margin: 0.5rem 0 0;
  color: var(--color-text-secondary);
  font-family: var(--font-body); }

.education {
  background-color: var(--color-surface);
  padding: 4rem 0;
  text-align: center; }

.education-card {
  background-color: var(--color-base);
  padding: 2.5rem 1.5rem;
  align-items: center; }
  .education-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12); }

.education-icon {
  color: var(--color-accent);
  font-size: 3rem;
  margin-bottom: 1.5rem; }

.education-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-top: 0;
  margin-bottom: 0.5rem; }

.education-meta {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
  line-height: 1.4; }

.education-summary {
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1; }

.education-button {
  margin-top: auto;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem; }

@media (max-width: 768px) {
  .education-card-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem; } }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto; }

.contact-form input, .contact-form textarea {
  padding: 0.75rem;
  border: 1px solid var(--color-text-secondary);
  background-color: var(--color-surface);
  color: var(--color-text-primary);
  border-radius: 6px;
  font-family: var(--font-ui); }

.contact {
  background-color: var(--color-base); }

.recent-posts {
  border-top: 1px solid var(--color-text-secondary);
  background-color: var(--color-base);
  padding: 4rem 0; }

.card {
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex: 0 1 320px;
  overflow: hidden; }
  .card .post-card-image {
    position: relative;
    width: 100%;
    padding-top: 70%; }
    .card .post-card-image img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 12px; }

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 16px rgba(0, 0, 0, 0.12); }

.card-list {
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background-color: var(--color-surface);
  flex: 0 1 320px; }

.card-list:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 16px rgba(0, 0, 0, 0.12); }

.section-list {
  padding: 4rem 0; }

.docs-title {
  display: block;
  text-decoration: none;
  text-align: center;
  margin-bottom: 2rem; }

.post-card {
  padding: 1.5rem;
  text-align: left;
  color: var(--color-text-primary); }

.post-card-image {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 1.5rem; }

.post-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px; }

.post-card-content {
  flex-grow: 1;
  margin-bottom: 1.5rem; }

.post-card-title {
  font-size: 1.5rem;
  font-family: var(--font-ui);
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--color-text-primary); }

.post-card-summary {
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  line-height: 1.6; }

.post-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--color-text-secondary);
  opacity: 0.7; }

.post-card-date {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  font-family: var(--font-ui); }

.docs-content .card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-content: center; }

.docs-content .card-list {
  flex: unset;
  width: 100%; }

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

.card-grid-wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto; }

@media (max-width: 1400px) {
  .docs-content .card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-content: center; } }

@media (max-width: 1200px) {
  .docs-content .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    justify-content: center; } }

@media (max-width: 1100px) {
  .docs-content .card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-content: center; } }

@media (max-width: 700px) {
  .docs-content .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    justify-content: center; } }

/* assets/scss/layout/_single.scss */
.post {
  padding: 4rem 0; }

.post-header {
  text-align: center;
  margin-bottom: 2rem; }

.featured-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
  border-radius: 8px; }

.post-title {
  font-size: 3rem;
  font-family: var(--font-ui);
  color: var(--color-accent);
  margin: 0 0 1rem; }

.post-meta {
  font-family: var(--font-ui);
  color: var(--color-text-secondary);
  font-size: 0.9rem; }

.post-featured-image {
  margin: 0 0 2rem; }

.post-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 12px; }

.post-content {
  max-width: 100%;
  overflow-x: auto;
  padding: 2rem 0;
  line-height: 1.7;
  font-size: 1.1rem;
  font-family: var(--font-body); }

.post-content h2 {
  font-family: var(--font-ui);
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1rem; }

.post-content p {
  margin-bottom: 1.5rem;
  font-family: var(--font-body); }

.post-content a {
  color: var(--color-accent);
  text-decoration: underline;
  font-family: var(--font-body); }

.post-content :not(pre) > code {
  background-color: var(--color-surface);
  color: var(--color-accent);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em; }

.post-content blockquote {
  border-left: 4px solid var(--color-accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  color: var(--color-text-secondary);
  font-style: italic;
  background-color: var(--color-surface);
  padding: 1rem 1rem; }

.post-content blockquote p {
  margin-bottom: 0; }

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-family: var(--font-body); }

.post-content th,
.post-content td {
  border: 1px solid var(--color-text-secondary);
  padding: 0.75rem;
  text-align: left; }

.post-content th {
  background-color: var(--color-surface);
  font-family: var(--font-body);
  font-weight: 700; }

.post-content tr:nth-child(even) {
  background-color: var(--color-surface); }

.post-content .footnotes {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary); }

.post-content .footnotes hr {
  border-top: 1px solid var(--color-text-secondary);
  opacity: 0.5;
  margin-bottom: 1.5rem; }

.TOC {
  margin: 0 0 2rem 0;
  padding: 1rem;
  background-color: var(--color-surface);
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); }
  .TOC h2 {
    font-family: var(--font-ui);
    color: var(--color-text-primary);
    margin-top: 0.2rem;
    margin-bottom: 2rem; }
  .TOC p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--color-text-secondary); }
  .TOC #TableOfContents {
    font-family: var(--font-ui);
    margin-top: -0.5rem;
    padding-left: 1rem; }
    .TOC #TableOfContents ul {
      list-style: none;
      padding-left: 0; }
      .TOC #TableOfContents ul ul {
        padding-left: 1.5rem; }
    .TOC #TableOfContents li {
      margin: 0.5rem 0; }
    .TOC #TableOfContents a {
      color: var(--color-accent);
      text-decoration: none; }
      .TOC #TableOfContents a:hover {
        text-decoration: underline; }

.giscus {
  max-width: 100%;
  margin: 3rem auto; }

.giscus iframe.giscus-frame {
  width: 100%;
  min-height: 250px; }

.error-404-card {
  background-color: var(--color-background);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem;
  width: 100%;
  margin: 4rem auto;
  min-height: 400; }
  @media (min-width: 768px) {
    .error-404-card {
      flex-direction: row;
      justify-content: center;
      padding: 4rem;
      text-align: left; } }
.error-404-visual {
  flex-shrink: 0;
  margin-bottom: 2rem; }
  @media (min-width: 768px) {
    .error-404-visual {
      margin-right: 4rem;
      margin-bottom: 0; } }
.error-404-image {
  max-width: 250px;
  display: block;
  height: auto; }

.error-404-content {
  text-align: center; }
  @media (min-width: 768px) {
    .error-404-content {
      text-align: left; } }
.error-404-title {
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0;
  line-height: 1; }

.error-404-subtitle {
  font-size: 1.8rem;
  font-family: var(--font-ui);
  color: var(--color-text-primary);
  margin: 0.5rem 0 1rem; }

.error-404-message {
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  max-width: 350px;
  margin: 0 auto 2rem; }
  @media (min-width: 768px) {
    .error-404-message {
      margin: 0 0 2rem 0; } }
.error-404-content .button {
  margin-top: 1rem; }

.code-block-wrapper {
  position: relative;
  margin: 2rem 0;
  background-color: var(--code-bg, #222728);
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--code-border, #e1e4e8); }

.code-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--code-header-bg, #3e4346);
  color: var(--code-text, #f8f8f2);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  padding: 0.5rem 1.5rem; }

.copy-code-button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--code-text, #f8f8f2);
  font-family: 'Font Awesome 6 Pro', 'Font Awesome 6 Free';
  font-size: 1.1rem;
  opacity: 0.7;
  transition: all 0.2s ease-in-out; }

.copy-code-button:hover {
  opacity: 1;
  color: var(--color-accent); }

.copy-code-button.copied {
  color: var(--code-success, #36a462);
  opacity: 1; }

.highlight {
  background-color: transparent;
  margin: 0;
  overflow: auto; }
  .highlight pre {
    margin: 0;
    padding: 1.5rem;
    color: var(--code-text, #f8f8f2); }
  .highlight code {
    font-family: var(--font-ui);
    font-size: 0.9rem; }
  .highlight .k, .highlight .kd, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kt {
    color: var(--code-keyword, #ff79c6); }
  .highlight .na, .highlight .nb, .highlight .nc, .highlight .nd, .highlight .ne, .highlight .nf {
    color: var(--code-function, #50fa7b); }
  .highlight .s, .highlight .sa, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .s2 {
    color: var(--code-string, #f1fa8c); }
  .highlight .c, .highlight .c1, .highlight .ch, .highlight .cm, .highlight .cp, .highlight .cs {
    color: var(--code-comment, #6272a4); }
  .highlight .mi, .highlight .mf, .highlight .m {
    color: var(--code-number, #bd93f9); }
  .highlight .o, .highlight .ow {
    color: var(--code-operator, #ff79c6); }

/* assets/scss/components/_search.scss */
.search-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center; }

.search-modal.is-open {
  display: flex; }

.search-modal-content {
  position: relative;
  background-color: var(--color-surface);
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 700px;
  max-height: 80vh;
  height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden; }

.search-modal-content h2 {
  margin-top: 0; }

.search-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-text-primary);
  cursor: pointer; }

#search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1.2rem; }

#search-results {
  margin-top: 1rem;
  overflow-y: auto;
  flex: 1;
  padding-right: 1rem;
  padding-bottom: 2rem;
  -webkit-overflow-scrolling: touch;
  min-height: 0;
  max-height: calc(80vh - 8rem); }

.search-result-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-text-secondary);
  cursor: pointer; }
  .search-result-item:last-child {
    border-bottom: none;
    margin-bottom: .75rem; }
  .search-result-item:hover {
    background-color: var(--color-base); }
  .search-result-item h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem; }
    .search-result-item h3 a {
      color: var(--color-accent);
      text-decoration: none; }
  .search-result-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    max-height: 2.7em;
    line-height: 1.35em; }

.theme-toggle {
  background-color: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  color: var(--color-text-primary);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center; }

.theme-toggle svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5; }

.theme-toggle .icon-moon {
  display: none; }

.theme-toggle .icon-sun {
  display: block; }

[data-theme='dark'] .theme-toggle .icon-moon {
  display: block; }

[data-theme='dark'] .theme-toggle .icon-sun {
  display: none; }

.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent; }

.button-secondary {
  border-color: var(--color-text-secondary);
  color: var(--color-text-primary); }

.button-secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px); }

.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 0.5rem; }

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-text-secondary);
  border-radius: 50%;
  color: var(--color-text-secondary);
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease; }

.social-links a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-2px); }

.docs-wrapper {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  min-height: calc(100vh - var(--header-height, 65px));
  margin-top: 0; }

.docs-sidebar {
  position: sticky;
  top: var(--header-height, 65px);
  height: calc(100vh - var(--header-height, 65px));
  border-right: 1px solid var(--color-text-secondary);
  padding: 1rem 1.5rem;
  overflow-y: auto;
  background: var(--color-surface); }

.docs-content {
  max-width: 100%;
  min-width: 0;
  padding-top: 0; }
  .docs-content .docs-content-inner {
    max-width: 1200px;
    padding: 1rem 8rem; }
    .docs-content .docs-content-inner h1.post-title {
      text-align: center;
      color: var(--color-accent);
      margin-bottom: 2rem;
      transition: opacity 0.2s ease; }
    .docs-content .docs-content-inner .post-content h1,
    .docs-content .docs-content-inner .post-content h2,
    .docs-content .docs-content-inner .post-content h3,
    .docs-content .docs-content-inner .post-content h4,
    .docs-content .docs-content-inner .post-content h5,
    .docs-content .docs-content-inner .post-content h6 {
      text-align: left; }
  .docs-content .docs-title {
    display: block;
    text-decoration: none;
    text-align: center;
    margin-bottom: 2rem; }
  .docs-content .docs-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem; }
    .docs-content .docs-list .card {
      background-color: var(--color-surface);
      height: 100%; }
      .docs-content .docs-list .card .read-more {
        display: inline-flex;
        align-items: center;
        padding: 0.5rem 1.5rem;
        border: 1px solid var(--color-accent);
        border-radius: 4px;
        color: var(--color-accent);
        text-decoration: none;
        font-weight: 500;
        transition: all 0.2s ease; }
        .docs-content .docs-list .card .read-more:hover {
          background: var(--color-accent);
          color: var(--color-surface); }
  .docs-content .description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--color-text-primary); }

.docs-menu ul {
  list-style: none;
  padding: 0;
  margin: 0; }

.docs-menu .docs-section {
  margin-bottom: 1.5rem; }
  .docs-menu .docs-section .section-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem; }
  .docs-menu .docs-section .section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
    text-decoration: none;
    text-align: left; }
  .docs-menu .docs-section .toggle-icon {
    margin-left: auto;
    font-size: 1.6rem;
    transition: transform 0.2s;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    color: var(--color-text-secondary); }
    .docs-menu .docs-section .toggle-icon::after {
      content: "▼";
      display: inline-block; }
    .docs-menu .docs-section .toggle-icon.collapsed::after {
      transform: rotate(-90deg); }

.docs-menu .is-active-section {
  color: var(--color-accent); }

.docs-sidebar-toggle {
  display: none; }

.docs-overlay {
  display: none; }

.docs-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-text-secondary);
  gap: 1rem; }
  .docs-navigation a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-accent);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-accent);
    border-radius: 4px;
    min-width: 200px; }
    .docs-navigation a:hover {
      background-color: var(--color-accent-10); }
    .docs-navigation a.nav-prev {
      justify-content: flex-start;
      margin-right: auto; }
    .docs-navigation a.nav-next {
      justify-content: flex-end;
      margin-left: auto; }
  .docs-navigation .nav-prev:before {
    content: "←";
    color: var(--color-accent);
    margin-right: 1rem; }
  .docs-navigation .nav-next:after {
    content: "→";
    color: var(--color-accent);
    margin-left: 1rem; }
  .docs-navigation .nav-label {
    display: none; }
  .docs-navigation .nav-title {
    color: var(--color-accent);
    font-size: 1rem;
    font-weight: 500; }

@media (max-width: 1100px) {
  .docs-sidebar-toggle {
    display: block;
    position: fixed;
    top: calc(var(--header-height, 65px) + 1rem);
    left: 1.5rem;
    width: 44px;
    height: 44px;
    background-color: var(--color-surface);
    border: 1px solid var(--color-text-secondary);
    border-radius: 50%;
    color: var(--color-text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 100; }
  .docs-wrapper {
    grid-template-columns: 1fr;
    overflow-x: auto;
    max-width: 100%; }
  .docs-sidebar {
    display: block;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-surface);
    border-right: 1px solid var(--color-text-secondary);
    padding: 1.5rem;
    padding-top: calc(var(--header-height) + 1rem);
    z-index: 99;
    opacity: 0.95;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.2);
    word-break: break-word; }
  .docs-sidebar.is-open {
    transform: translateX(0); }
  .docs-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 98;
    opacity: 1;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out; }
  .docs-overlay.is-visible {
    opacity: 1;
    visibility: visible; }
  .docs-content {
    padding-top: 0;
    margin: 0; }
    .docs-content .docs-content-inner {
      padding: 4rem 1rem 1rem 1rem;
      max-width: 100%; }
  .docs-navigation {
    flex-direction: column;
    gap: 1rem; }
    .docs-navigation a {
      width: 100%;
      min-width: 0; }
      .docs-navigation a.nav-prev, .docs-navigation a.nav-next {
        margin: 0; }
  .post-content {
    padding: 1rem 0; } }

.container-readable {
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem; }

.container-wide {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem; }

.error-404 {
  text-align: center;
  padding: 2rem 1rem; }

[id] {
  scroll-margin-top: 10rem; }

body.docs-sidebar-open {
  overflow: hidden; }
