/* ns-hugo-vars:hugo:vars */
/* <stdin> */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("./inter-latin-NRMW37G5.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("./outfit-latin-5FXBKKJF.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("./jetbrains-mono-latin-2TKUHYWA.woff2") format("woff2");
}
:root {
  --primary-color: var(--highlightColor, #0066FF);
  --radius: 12px;
  --font-main: var(--fontFamilyPrimary, "Inter", system-ui, -apple-system, sans-serif);
  --font-mono: var(--fontFamilySecondary, "JetBrains Mono", "Fira Code", monospace);
}
html.light {
  --bg-color: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15), 0 4px 6px -4px rgba(0, 0, 0, 0.15);
}
html.light ::-webkit-scrollbar-track {
  background: #f8fafc;
}
html.light ::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border: 2px solid #f8fafc;
}
html.dark {
  --bg-color: #0f172a;
  --card-bg: #1e293b;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --border-color: #334155;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.5);
}
html.dark ::-webkit-scrollbar-track {
  background: #1e293b;
}
html.dark ::-webkit-scrollbar-thumb {
  background: #334155;
  border: 2px solid #1e293b;
}
html.theme-transitioning,
html.theme-transitioning * {
  transition: none !important;
  animation: none !important;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  accent-color: var(--primary-color);
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
  border: 2px solid var(--bg-color);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}
* {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 var(--bg-color);
}
body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background: var(--bg-color);
  text-rendering: optimizeLegibility;
  font-variant-ligatures: normal;
  -webkit-tap-highlight-color: transparent;
  background: var(--bg-color);
}
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.container--outer {
  margin: 40px auto;
}
.wrapper {
  padding: 40px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}
.flex {
  display: flex;
  width: 100%;
}
.primary {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.sidebar {
  display: none;
}
.sidebar.sidebar--active {
  display: block;
}
@media (max-width: 900px) {
  .flex {
    flex-direction: column;
  }
  .sidebar {
    display: block;
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    z-index: 1001;
    overflow-y: auto;
    transition: right 0.3s ease;
    background: var(--bg-color);
    border-left: 1px solid var(--border-color);
    padding: 20px;
  }
  .sidebar.sidebar--active {
    display: block;
    right: 0;
  }
  .sidebar .widget {
    margin-bottom: 30px;
  }
  .wrapper {
    padding: 20px;
  }
}
@media (min-width: 901px) {
  .sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    z-index: 1001;
    overflow-y: auto;
    transition: right 0.3s ease;
    background: var(--bg-color);
    border-left: 1px solid var(--border-color);
    padding: 20px;
  }
  .sidebar.sidebar--active {
    right: 0;
  }
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  font-family: "Outfit", var(--font-main);
}
a {
  color: var(--primary-color);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0, 102, 255, 0.3);
  transition: all 0.2s ease;
}
a:hover {
  color: var(--primary-color);
  text-decoration-color: var(--primary-color);
  opacity: 1;
}
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-weight: 600;
  border-radius: 8px;
  color: #fff;
  background: var(--primary-color);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
}
.btn:hover {
  background-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
  color: #fff;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) and (min-width: 768px) {
  .btn {
    transition:
      transform 0.2s ease,
      background-color 0.2s ease,
      box-shadow 0.2s ease;
  }
  .btn:hover {
    transform: translate3d(0, -2px, 0);
  }
}
.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.header__toggles {
  display: flex;
  align-items: center;
  gap: 0;
}
.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: none;
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
  border-radius: 50%;
  min-width: 40px;
  min-height: 40px;
  -webkit-appearance: none;
  appearance: none;
}
.theme-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
}
.theme-toggle:hover {
  background: rgba(0, 102, 255, 0.1);
  color: var(--primary-color);
}
.sun-and-moon {
}
.sun-and-moon > :is(.moon, .sun, .sun-beams) {
  transform-origin: center center;
}
.sun-and-moon > .sun {
}
.sun-and-moon > .sun-beams {
}
html.dark .sun-and-moon {
  transform: rotate(0deg);
}
html.dark .sun-and-moon > .sun {
  transform: scale(1.75);
}
html.dark .sun-and-moon > .sun-beams {
  opacity: 0;
  transform: rotate(-25deg);
}
html.dark .sun-and-moon > .moon > circle {
  transform: translateX(-7px);
}
.sun-and-moon > .moon > circle {
}
.header {
  background: var(--card-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
  margin-bottom: 40px;
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (prefers-reduced-motion: no-preference) {
  @media (min-width: 1200px) {
    .header {
      background: rgba(128, 128, 128, 0.2);
      background: var(--card-bg);
      -webkit-backdrop-filter: blur(10px);
      backdrop-filter: blur(10px);
    }
  }
}
.logo__link {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}
.logo__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
}
.logo__title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0;
}
.logo__tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}
.menu__btn {
  display: none;
  min-width: 48px;
  min-height: 48px;
  padding: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  font-weight: 600;
  font-family: var(--font-main);
  align-items: center;
  justify-content: center;
  position: relative;
}
.menu__btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}
.menu__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}
.menu__btn--active::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.menu__btn--active::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
@media (max-width: 600px) {
  .menu__btn {
    display: inline-flex;
  }
  .menu__list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 10px;
    gap: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }
  .menu__list.menu__list--active {
    display: flex;
  }
  .menu__link {
    padding: 12px 16px;
    text-align: center;
  }
  .menu__link::after {
    display: none;
  }
}
.sidebar-toggle {
  display: none;
  min-width: 40px;
  min-height: 40px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-main);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .sidebar {
    display: block;
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    z-index: 1001;
    overflow-y: auto;
    transition: right 0.3s ease;
    background: var(--bg-color);
    border-left: 1px solid var(--border-color);
    padding: 20px;
  }
  .sidebar.sidebar--active {
    right: 0;
  }
  .sidebar .widget {
    margin-bottom: 30px;
  }
  .wrapper {
    padding: 20px;
  }
}
.sidebar-toggle {
  display: inline-flex;
}
.sidebar-toggle--active {
  color: var(--primary-color);
}
.menu__list {
  display: flex;
  list-style: none;
  gap: 20px;
}
.menu__link {
  position: relative;
  font-weight: 600;
  color: var(--text-main);
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  padding: 10px 15px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.menu__link::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 44px;
  min-height: 48px;
  transform: translate(-50%, -50%);
}
.menu__link:hover {
  color: var(--primary-color);
  background: rgba(0, 102, 255, 0.05);
}
html.dark .menu__link:hover {
  background: rgba(255, 255, 255, 0.05);
}
.authorbox {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 30px;
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.authorbox__avatar {
  margin: 0;
}
.authorbox__avatar img {
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: var(--shadow);
}
.authorbox__name {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 5px;
  display: block;
}
.authorbox__description {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.5;
  max-width: 600px;
}
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}
.avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
}
.post__tags {
  margin-top: 30px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.tags__badge {
  width: 18px;
  height: 18px;
  fill: var(--primary-color);
}
.tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 5px 0;
  margin: 0;
  list-style: none;
  flex: 1;
  min-width: 0;
}
.tags__item {
  flex: 0 0 auto;
}
.tags__link {
  position: relative;
  white-space: nowrap;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 600;
  transition: all 0.2s ease;
}
.tags__link::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 44px;
  min-height: 48px;
  transform: translate(-50%, -50%);
}
.tags__link:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: transparent;
}
html.dark .tags__link {
  background: var(--bg-color);
  border-color: var(--border-color);
  color: var(--text-muted);
}
html.dark .tags__link:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: transparent;
}
.breadcrumbs {
  margin-bottom: 1.5rem;
  padding: 0.75rem 0;
}
.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.breadcrumbs__link {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}
.breadcrumbs__link:hover {
  color: var(--primary-color);
}
.breadcrumbs__separator {
  color: var(--text-muted);
  font-size: 0.75rem;
}
.breadcrumbs__current {
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 500;
}
.list__item {
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
}
.list__item:last-child {
  border-bottom: none;
}
.post__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2rem;
}
.post__title {
  font-size: 2.25rem;
  margin-bottom: 0;
  line-height: 1.2;
}
.meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.meta__item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.meta__icon {
  width: 16px;
  height: 16px;
  fill: var(--primary-color);
}
.error-page {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 500px;
  margin: 0 auto;
}
.error-page__title {
  font-size: 6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary-color);
  margin: 0 0 1rem;
}
.error-page__message {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 0.5rem;
}
.error-page__help {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
  line-height: 1.6;
}
.error-page__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.error-page__link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.error-page__link:hover {
  background: var(--primary-color);
  opacity: 0.9;
  transform: translateY(-1px);
}
.error-page__suggestions {
  text-align: left;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}
.error-page__suggestions h2 {
  font-size: 1.1rem;
  margin: 0 0 1rem;
}
.error-page__suggestions ul {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.error-page__suggestions a {
  color: var(--primary-color);
}
.error-page__recent {
  display: grid;
  gap: 1rem;
}
.error-page__post {
  padding: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}
.error-page__post h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}
.error-page__post p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.content {
  color: var(--text-main);
}
.content a,
.meta__link,
.warning a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(0, 102, 255, 0.3);
}
.content a:hover,
.meta__link:hover,
.warning a:hover {
  text-decoration-color: var(--primary-color);
}
.content img,
figure img,
picture img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
figure {
  margin: 2rem 0;
  text-align: center;
}
figure img {
  margin-top: 0;
  margin-bottom: 0;
}
.figure__caption {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
}
blockquote {
  margin: 2.5rem 0;
  padding: 1.5rem 2rem;
  background: var(--bg-color);
  border-left: 4px solid var(--primary-color);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.7;
  position: relative;
}
blockquote p {
  margin: 0;
}
blockquote p:not(:last-child) {
  margin-bottom: 1rem;
}
code {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  background: var(--bg-color);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}
pre {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 20px;
  margin: 1.5rem 0;
  overflow-x: auto;
  overflow-y: hidden;
  line-height: 1.5;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 var(--border-color);
}
pre code {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.875rem;
  display: block;
  white-space: pre-wrap;
  word-break: break-word;
}
pre::-webkit-scrollbar {
  height: 8px;
}
pre::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 4px;
}
pre::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
pre::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}
.widget {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 25px;
  margin-bottom: 30px;
  transition: box-shadow 0.2s ease;
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .widget:hover {
    box-shadow: var(--shadow);
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) and (min-width: 768px) {
  .widget {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .widget:hover {
    transform: translate3d(0, -2px, 0);
    box-shadow: var(--shadow);
  }
}
.widget__title {
  font-family: var(--font-main);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.widget__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-color);
}
.widget__list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.widget__item {
  padding: 10px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}
.widget__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.widget__link {
  position: relative;
  color: var(--text-main);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(30, 41, 59, 0.2);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
  display: inline-block;
}
.widget__link:hover {
  color: var(--primary-color);
  text-decoration-color: var(--primary-color);
}
.widget__link::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 44px;
  min-height: 48px;
  transform: translate(-50%, -50%);
}
.widget-taglist__link {
  position: relative;
  display: inline-block;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0 10px 12px 0;
  font-weight: 600;
  transition: all 0.2s ease;
}
.widget-taglist__link::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 44px;
  min-height: 48px;
  transform: translate(-50%, -50%);
}
.widget-taglist__link:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: transparent;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) and (min-width: 768px) {
  .widget-taglist__link:hover {
    transform: scale3d(1.05, 1.05, 1);
  }
}
.widget-social__item {
  display: flex;
  align-items: center;
  padding: 10px 0;
}
.widget-social__link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  color: #fff;
}
.widget-social__link:hover {
  color: #fff;
}
.widget-social__link-icon {
  width: 20px;
  height: 20px;
  fill: #fff;
  stroke: #fff;
  flex-shrink: 0;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}
.pagination__item {
  font-weight: 600;
  color: var(--text-main);
}
.pagination__item.btn {
  color: #fff;
}
.pagination__item.btn {
  min-width: 48px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}
.pager {
  margin-top: 40px;
  padding: 0;
  gap: 20px;
  justify-content: center;
}
.pager__item {
  flex: 1;
  max-width: 400px;
}
.pager__link {
  display: block;
  padding: 20px;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  height: 100%;
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
}
.pager__link:hover {
  background: #fff;
  border-color: var(--primary-color);
  box-shadow: var(--shadow);
}
html.dark .pager__link:hover {
  background: var(--card-bg);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) and (min-width: 768px) {
  .pager__link {
    transition:
      transform 0.2s ease,
      background-color 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease;
  }
  .pager__link:hover {
    transform: translate3d(0, -2px, 0);
  }
}
.pager__subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 5px;
}
.pager__title {
  margin: 0;
  font-weight: 700;
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.4;
}
.pager__item--next .pager__link {
  text-align: right;
}
@media (max-width: 600px) {
  .pager {
    flex-direction: column;
    gap: 15px;
  }
  .pager__link,
  .pager__item--next .pager__link {
    text-align: center;
  }
}
.footer {
  margin-top: 60px;
  padding: 15px 0;
  background: var(--card-bg);
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.875rem;
}
.footer__container {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer__links {
  margin-bottom: 15px;
}
.footer__link {
  position: relative;
  display: inline-block;
  padding: 8px 12px;
}
.footer__link::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 44px;
  min-height: 48px;
  transform: translate(-50%, -50%);
}
.footer__copyright {
  text-align: center;
  margin-bottom: 15px;
}
.footer__validation {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__validation a {
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.footer__validation a:hover {
  opacity: 1;
}
.footer__validation img,
.footer__validation svg {
  width: 60px;
  height: 20px;
  display: block;
}
@media screen and (max-width: 900px) {
  .flex {
    flex-direction: column;
  }
  .sidebar {
    right: -320px;
  }
  .sidebar.sidebar--active {
    right: 0;
  }
  .wrapper {
    padding: 20px;
  }
}
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.sidebar-overlay.sidebar-overlay--active {
  display: block;
  opacity: 1;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border-width: 0;
}
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--primary-color);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  z-index: 2000;
  text-decoration: none;
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
  outline: none;
}
html.dark .skip-link {
  background: var(--primary-color);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: 2px;
}
:focus:not(:focus-visible) {
  outline: none;
}
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}
.menu__link:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}
@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;
  }
  .btn:hover,
  .widget:hover,
  .pager__link:hover {
    transform: none !important;
  }
}
.no-transition,
.no-transition *,
:root {
  transition: var(--disable-transitions, none);
  animation: var(--disable-transitions, none);
}
.widget-search__field {
  width: 100%;
  padding: 12px 16px;
  min-height: 48px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: var(--font-main);
  transition: all 0.2s ease;
}
.widget-search__field:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}
.widget-search__form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.search-input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
  z-index: 1;
}
.search-input-wrapper .widget-search__field {
  padding-left: 44px;
}
.filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 36px;
}
.filter-toggle:hover {
  background: var(--card-bg);
  border-color: var(--primary-color);
  color: var(--text-main);
}
.filter-toggle[aria-expanded=true] {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}
.widget-search__results {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.search-result {
  position: relative;
  padding: 12px;
  border-radius: 8px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
}
.search-result:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) and (min-width: 768px) {
  .search-result {
    transition:
      transform 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease;
  }
  .search-result:hover {
    transform: translateY(-2px);
  }
}
.search-result__link {
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: var(--text-main);
  display: block;
  margin-bottom: 4px;
  line-height: 1.3;
}
.search-result__link:hover {
  color: var(--primary-color);
}
.search-result__link::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.search-result__meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}
.search-result__snippet {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.5;
  max-height: 2.7em;
}
.search-no-results {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  padding: 20px;
}
.widget-search__status {
  font-size: 0.85rem;
  padding: 8px 12px;
  margin-top: 8px;
  border-radius: 6px;
  text-align: center;
}
.widget-search__status--loading {
  color: var(--text-muted);
  background: rgba(0, 102, 255, 0.08);
}
.search-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid var(--border-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.widget-search__hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 12px 0;
  line-height: 1.4;
}
.widget-search__hint kbd {
  display: inline-block;
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-muted);
}
.widget-search__status--error {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.08);
}
.search-result__categories,
.search-result__tags {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}
.search-result__categories::before {
  content: "\1f4c1  ";
}
.search-result__tags::before {
  content: "\1f3f7\fe0f  ";
}
.search-filters {
  margin-top: 12px;
  padding: 12px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  align-items: stretch;
}
.filter-group {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  flex: 1;
  min-height: 60px;
}
.filter-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.filter-select {
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--bg-color);
  color: var(--text-main);
  font-size: 0.9rem;
  font-family: var(--font-main);
  transition: all 0.2s ease;
  cursor: pointer;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 8px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 36px;
}
.filter-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.1);
}
.filter-button {
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background: var(--card-bg);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.filter-button:hover {
  background: var(--bg-color);
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.filter-actions {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-left: auto;
  flex-shrink: 0;
  min-height: 60px;
}
@media (min-width: 769px) {
  .search-filters {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-group {
    max-width: 100%;
  }
  .filter-actions {
    align-self: stretch;
    justify-content: flex-end;
  }
}
@media (max-width: 768px) {
  .search-filters {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .filter-group {
    min-width: 0;
    width: 100%;
  }
  .filter-select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .filter-actions {
    margin-left: 0;
    align-self: stretch;
  }
  .filter-button {
    width: 100%;
  }
}
.progressive-image {
  display: block;
}
.progressive-image__img {
  max-width: 100%;
  height: auto;
  display: block;
}
.progressive-image picture {
  display: block;
}
html.light .chroma {
  color: #4c4f69;
  background-color: #eff1f5;
}
html.light .chroma .cl {
  color: #4c4f69;
}
html.light .chroma .err {
  color: #d20f39;
}
html.light .chroma .x {
  color: #4c4f69;
}
html.light .chroma .hl {
  background-color: #bcc0cc;
}
html.light .chroma .lnt {
  color: #8c8fa1;
}
html.light .chroma .ln {
  color: #8c8fa1;
}
html.light .chroma .k {
  color: #8839ef;
}
html.light .chroma .kr {
  color: #8839ef;
}
html.light .chroma .kp {
  color: #8839ef;
}
html.light .chroma .kc {
  color: #fe640b;
}
html.light .chroma .kd {
  color: #d20f39;
}
html.light .chroma .kn {
  color: #179299;
}
html.light .chroma .kt {
  color: #d20f39;
}
html.light .chroma .n {
  color: #4c4f69;
}
html.light .chroma .nc {
  color: #df8e1d;
}
html.light .chroma .no {
  color: #df8e1d;
}
html.light .chroma .nd {
  color: #1e66f5;
  font-weight: bold;
}
html.light .chroma .ni {
  color: #179299;
}
html.light .chroma .ne {
  color: #fe640b;
}
html.light .chroma .nf {
  color: #1e66f5;
}
html.light .chroma .fm {
  color: #1e66f5;
}
html.light .chroma .nl {
  color: #04a5e5;
}
html.light .chroma .nn {
  color: #fe640b;
}
html.light .chroma .py {
  color: #fe640b;
}
html.light .chroma .nt {
  color: #8839ef;
}
html.light .chroma .nv {
  color: #dc8a78;
}
html.light .chroma .vc {
  color: #dc8a78;
}
html.light .chroma .vg {
  color: #dc8a78;
}
html.light .chroma .vi {
  color: #dc8a78;
}
html.light .chroma .vm {
  color: #dc8a78;
}
html.light .chroma .na {
  color: #1e66f5;
}
html.light .chroma .nb {
  color: #04a5e5;
}
html.light .chroma .bp {
  color: #04a5e5;
}
html.light .chroma .nx {
  color: #4c4f69;
}
html.light .chroma .l {
  color: #4c4f69;
}
html.light .chroma .ld {
  color: #4c4f69;
}
html.light .chroma .s {
  color: #40a02b;
}
html.light .chroma .sc {
  color: #40a02b;
}
html.light .chroma .s1 {
  color: #40a02b;
}
html.light .chroma .s2 {
  color: #40a02b;
}
html.light .chroma .sb {
  color: #40a02b;
}
html.light .chroma .sx {
  color: #40a02b;
}
html.light .chroma .ss {
  color: #40a02b;
}
html.light .chroma .si {
  color: #40a02b;
}
html.light .chroma .sa {
  color: #d20f39;
}
html.light .chroma .dl {
  color: #1e66f5;
}
html.light .chroma .se {
  color: #1e66f5;
}
html.light .chroma .sr {
  color: #179299;
}
html.light .chroma .sd {
  color: #9ca0b0;
}
html.light .chroma .sh {
  color: #9ca0b0;
}
html.light .chroma .m {
  color: #fe640b;
}
html.light .chroma .mb {
  color: #fe640b;
}
html.light .chroma .mh {
  color: #fe640b;
}
html.light .chroma .mi {
  color: #fe640b;
}
html.light .chroma .mf {
  color: #fe640b;
}
html.light .chroma .il {
  color: #fe640b;
}
html.light .chroma .mo {
  color: #fe640b;
}
html.light .chroma .o {
  color: #04a5e5;
  font-weight: bold;
}
html.light .chroma .ow {
  color: #04a5e5;
  font-weight: bold;
}
html.light .chroma .c {
  color: #9ca0b0;
  font-style: italic;
}
html.light .chroma .c1 {
  color: #9ca0b0;
  font-style: italic;
}
html.light .chroma .cm {
  color: #9ca0b0;
  font-style: italic;
}
html.light .chroma .cs {
  color: #9ca0b0;
  font-style: italic;
}
html.light .chroma .ch {
  color: #acb0be;
  font-style: italic;
}
html.light .chroma .cp {
  color: #9ca0b0;
  font-style: italic;
}
html.light .chroma .cpf {
  color: #9ca0b0;
  font-weight: bold;
}
html.light .chroma .g {
  color: #4c4f69;
}
html.light .chroma .gi {
  color: #40a02b;
  background-color: #ccd0da;
}
html.light .chroma .gd {
  color: #d20f39;
  background-color: #ccd0da;
}
html.light .chroma .ge {
  color: #4c4f69;
  font-style: italic;
}
html.light .chroma .gs {
  color: #4c4f69;
  font-weight: bold;
}
html.light .chroma .gl {
  color: #4c4f69;
  text-decoration: underline;
}
html.light .chroma .gh {
  color: #fe640b;
  font-weight: bold;
}
html.light .chroma .gu {
  color: #fe640b;
  font-weight: bold;
}
html.light .chroma .go {
  color: #4c4f69;
}
html.light .chroma .gp {
  color: #4c4f69;
}
html.light .chroma .gr {
  color: #d20f39;
}
html.light .chroma .gt {
  color: #d20f39;
}
html.dark .chroma {
  color: #cdd6f4;
  background-color: #1e1e2e;
}
html.dark .chroma .cl {
  color: #cdd6f4;
}
html.dark .chroma .err {
  color: #f38ba8;
}
html.dark .chroma .x {
  color: #cdd6f4;
}
html.dark .chroma .hl {
  background-color: #45475a;
}
html.dark .chroma .lnt {
  color: #7f849c;
}
html.dark .chroma .ln {
  color: #7f849c;
}
html.dark .chroma .k {
  color: #cba6f7;
}
html.dark .chroma .kr {
  color: #cba6f7;
}
html.dark .chroma .kp {
  color: #cba6f7;
}
html.dark .chroma .kc {
  color: #fab387;
}
html.dark .chroma .kd {
  color: #f38ba8;
}
html.dark .chroma .kn {
  color: #94e2d5;
}
html.dark .chroma .kt {
  color: #f38ba8;
}
html.dark .chroma .n {
  color: #cdd6f4;
}
html.dark .chroma .nc {
  color: #f9e2af;
}
html.dark .chroma .no {
  color: #f9e2af;
}
html.dark .chroma .nd {
  color: #89b4fa;
  font-weight: bold;
}
html.dark .chroma .ni {
  color: #94e2d5;
}
html.dark .chroma .ne {
  color: #fab387;
}
html.dark .chroma .nf {
  color: #89b4fa;
}
html.dark .chroma .fm {
  color: #89b4fa;
}
html.dark .chroma .nl {
  color: #89dceb;
}
html.dark .chroma .nn {
  color: #fab387;
}
html.dark .chroma .py {
  color: #fab387;
}
html.dark .chroma .nt {
  color: #cba6f7;
}
html.dark .chroma .nv {
  color: #f5e0dc;
}
html.dark .chroma .vc {
  color: #f5e0dc;
}
html.dark .chroma .vg {
  color: #f5e0dc;
}
html.dark .chroma .vi {
  color: #f5e0dc;
}
html.dark .chroma .vm {
  color: #f5e0dc;
}
html.dark .chroma .na {
  color: #89b4fa;
}
html.dark .chroma .nb {
  color: #89dceb;
}
html.dark .chroma .bp {
  color: #89dceb;
}
html.dark .chroma .nx {
  color: #cdd6f4;
}
html.dark .chroma .l {
  color: #cdd6f4;
}
html.dark .chroma .ld {
  color: #cdd6f4;
}
html.dark .chroma .s {
  color: #a6e3a1;
}
html.dark .chroma .sc {
  color: #a6e3a1;
}
html.dark .chroma .s1 {
  color: #a6e3a1;
}
html.dark .chroma .s2 {
  color: #a6e3a1;
}
html.dark .chroma .sb {
  color: #a6e3a1;
}
html.dark .chroma .sx {
  color: #a6e3a1;
}
html.dark .chroma .ss {
  color: #a6e3a1;
}
html.dark .chroma .si {
  color: #a6e3a1;
}
html.dark .chroma .sa {
  color: #f38ba8;
}
html.dark .chroma .dl {
  color: #89b4fa;
}
html.dark .chroma .se {
  color: #89b4fa;
}
html.dark .chroma .sr {
  color: #94e2d5;
}
html.dark .chroma .sd {
  color: #6c7086;
}
html.dark .chroma .sh {
  color: #6c7086;
}
html.dark .chroma .m {
  color: #fab387;
}
html.dark .chroma .mb {
  color: #fab387;
}
html.dark .chroma .mh {
  color: #fab387;
}
html.dark .chroma .mi {
  color: #fab387;
}
html.dark .chroma .mf {
  color: #fab387;
}
html.dark .chroma .il {
  color: #fab387;
}
html.dark .chroma .mo {
  color: #fab387;
}
html.dark .chroma .o {
  color: #89dceb;
  font-weight: bold;
}
html.dark .chroma .ow {
  color: #89dceb;
  font-weight: bold;
}
html.dark .chroma .c {
  color: #6c7086;
  font-style: italic;
}
html.dark .chroma .c1 {
  color: #6c7086;
  font-style: italic;
}
html.dark .chroma .cm {
  color: #6c7086;
  font-style: italic;
}
html.dark .chroma .cs {
  color: #6c7086;
  font-style: italic;
}
html.dark .chroma .ch {
  color: #585b70;
  font-style: italic;
}
html.dark .chroma .cp {
  color: #6c7086;
  font-style: italic;
}
html.dark .chroma .cpf {
  color: #6c7086;
  font-weight: bold;
}
html.dark .chroma .g {
  color: #cdd6f4;
}
html.dark .chroma .gi {
  color: #a6e3a1;
  background-color: #313244;
}
html.dark .chroma .gd {
  color: #f38ba8;
  background-color: #313244;
}
html.dark .chroma .ge {
  color: #cdd6f4;
  font-style: italic;
}
html.dark .chroma .gs {
  color: #cdd6f4;
  font-weight: bold;
}
html.dark .chroma .gl {
  color: #cdd6f4;
  text-decoration: underline;
}
html.dark .chroma .gh {
  color: #fab387;
  font-weight: bold;
}
html.dark .chroma .gu {
  color: #fab387;
  font-weight: bold;
}
html.dark .chroma .go {
  color: #cdd6f4;
}
html.dark .chroma .gp {
  color: #cdd6f4;
}
html.dark .chroma .gr {
  color: #f38ba8;
}
html.dark .chroma .gt {
  color: #f38ba8;
}
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 9999;
  pointer-events: none;
}
.reading-progress__bar {
  height: 100%;
  width: 100%;
  transform-origin: left;
  will-change: transform;
}
html.light .reading-progress__bar {
  background: var(--primary-color, #0066FF);
}
html.dark .reading-progress__bar {
  background: var(--primary-color, #0066FF);
}
.archive-tree {
  margin-top: 2rem;
}
.archive-year {
  margin-bottom: 2rem;
}
.archive-year__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
}
html.light .archive-year__title {
  color: var(--text-main, #1e293b);
}
html.dark .archive-year__title {
  color: var(--text-main, #f1f5f9);
}
.archive-months {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.archive-month {
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--border-color);
}
.archive-month__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
html.light .archive-month__title {
  color: var(--text-main, #334155);
}
html.dark .archive-month__title {
  color: var(--text-main, #e2e8f0);
}
.archive-month__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.archive-month__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5rem 0;
  gap: 1rem;
}
.archive-month__item a {
  color: var(--primary-color, #0066FF);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.archive-month__item a:hover {
  opacity: 0.8;
  text-decoration: underline;
}
.archive-month__date {
  font-size: 0.875rem;
  flex-shrink: 0;
}
html.light .archive-month__date {
  color: var(--text-muted, #64748b);
}
html.dark .archive-month__date {
  color: var(--text-muted, #94a3b8);
}
@media (max-width: 480px) {
  .archive-month__item {
    flex-direction: column;
    gap: 0.25rem;
  }
  .archive-month__date {
    font-size: 0.75rem;
  }
}
