/* ns-hugo-imp:/home/anon/Documents/blog/assets/css/core/variable.css */
:root {
  --accent: #D7005F;
  --accent-light: #b81f63;
  --header:#b81f63;
  --theme: #fafafa;
  --surface: #ffffff;
  --text: #1d1d1d;
  --text-muted: #4d4d4d;
  --border: #dddddd;
  --code-bg: #f3f3f3;
  --code-block-bg: #ececec;
  --shadow: 0 10px 30px rgba(0,0,0,.06);
}
:root[data-theme=dark] {
  --theme: #050505;
  --surface: #101010;
  --header:#94174F;
  --text: #f5f5f5;
  --text-muted: #a5a5a5;
  --border: #261019;
  --code-bg: #0d0d0d;
  --code-block-bg: #080808;
  --shadow: 0 12px 40px rgba(137,0,61,.10);
}
.written-by-human-badge .badge-dark {
  display: none;
}
:root[data-theme=dark] .written-by-human-badge .badge-light {
  display: none;
}
:root[data-theme=dark] .written-by-human-badge .badge-dark {
  display: block;
}

/* ns-hugo-imp:/home/anon/Documents/blog/assets/css/core/theme.css */
:root {
  --accent: #D7005F;
  --accent-light: #b81f63;
  --header:#b81f63;
  --theme: #fafafa;
  --surface: #ffffff;
  --text: #1d1d1d;
  --text-muted: #4d4d4d;
  --border: #dddddd;
  --code-bg: #f3f3f3;
  --code-block-bg: #ececec;
  --shadow: 0 10px 30px rgba(0,0,0,.06);
}
:root[data-theme=dark] {
  --theme: #050505;
  --surface: #101010;
  --header:#94174F;
  --text: #f5f5f5;
  --text-muted: #a5a5a5;
  --border: #261019;
  --code-bg: #0d0d0d;
  --code-block-bg: #080808;
  --shadow: 0 12px 40px rgba(137,0,61,.10);
}

/* ns-hugo-imp:/home/anon/Documents/blog/assets/css/core/typography.css */
body {
  font-family: "JetBrains Mono", monospace;
}
.logo,
h1,
h2,
h3,
h4,
code,
pre {
  font-family: "JetBrains Mono", monospace;
}
h1,
h2,
h3,
h4 {
  color: var(--text);
}
h1 {
  letter-spacing: -2px;
  line-height: .95;
}
a {
  transition: color .2s ease;
}
a:hover {
  color: var(--accent-light);
}

/* ns-hugo-imp:/home/anon/Documents/blog/assets/css/core/layout.css */

/* ns-hugo-imp:/home/anon/Documents/blog/assets/css/core/global.css */
body {
  background: var(--theme);
  color: var(--text);
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(137, 0, 61, 0.12),
      transparent 30%),
    radial-gradient(
      circle at 80% 80%,
      rgba(137, 0, 61, 0.08),
      transparent 25%);
  z-index: -1;
}
.main,
.karanet-home {
  max-width: 1200px;
  margin: 0 auto;
}

/* ns-hugo-imp:/home/anon/Documents/blog/assets/css/components/header.css */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--theme) 88%, transparent);
  border-bottom: 1px solid var(--border);
}
.header-container {
  width: min(1400px, calc(100% - 4rem));
  height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: inherit;
  text-decoration: none;
}
.brand:hover {
  color: inherit;
}
.brand-logo {
  width: 42px;
  height: 42px;
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-size: 1.3rem;
  font-weight: 700;
}
.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.header-nav {
  display: flex;
  gap: 0.75rem;
}
.header-nav a {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s,
    transform 0.2s;
}
.header-nav a:hover {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  transform: translateY(-2px);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}
.icon-button img {
  width: 20px;
  height: 20px;
  display: block;
  transition: transform 0.2s, opacity 0.2s;
}
.icon-button:hover img {
  transform: scale(1.08);
}
.icon-button:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}
.signin-button {
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, opacity 0.2s;
}
.signin-button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}
@media (max-width: 900px) {
  .header-nav {
    display: none;
  }
  .brand-tagline {
    display: none;
  }
  .header-container {
    width: calc(100% - 2rem);
  }
}
@media (max-width: 768px) {
  .brand {
    gap: 0.6rem;
  }
  .brand-logo {
    width: 34px;
    height: 34px;
  }
  .brand-name {
    font-size: 1.1rem;
  }
  .brand-tagline {
    display: none;
  }
  .header-actions {
    gap: 0.5rem;
  }
  .icon-button {
    width: 38px;
    height: 38px;
  }
}

/* ns-hugo-imp:/home/anon/Documents/blog/assets/css/components/markdown.css */
.container {
  width: min(1400px, calc(100% - 4rem));
  margin-inline: auto;
}
.article-hero {
  margin-bottom: 4rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.article-category {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
}
.article-hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  line-height: 1.05;
}
.article-description {
  max-width: 700px;
  margin: 1.5rem 0 0;
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.85;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.markdown {
  max-width: 760px;
  margin-inline: auto;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.95;
}
.markdown > *:first-child {
  margin-top: 0;
}
.markdown p {
  margin: 1.7rem 0;
}
.markdown h2,
.markdown h3,
.markdown h4,
.markdown h5,
.markdown h6 {
  margin-top: 4rem;
  margin-bottom: 1.25rem;
  line-height: 1.2;
  scroll-margin-top: 6rem;
}
.markdown h2 {
  font-size: 2.2rem;
  border: none;
  padding: 0;
}
.markdown h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 0.9rem;
  border-radius: 999px;
  background: var(--accent);
}
.markdown h3 {
  font-size: 1.7rem;
}
.markdown h4 {
  font-size: 1.35rem;
}
.markdown a {
  color: var(--accent);
  text-decoration: none;
}
.markdown a:hover {
  text-decoration: underline;
}
.markdown strong {
  font-weight: 700;
}
.markdown em {
  font-style: italic;
}
.markdown ul,
.markdown ol {
  margin: 1.8rem 0;
  padding-left: 1.8rem;
}
.markdown li {
  margin: 0.6rem 0;
}
.markdown hr {
  margin: 4rem 0;
  border: none;
  height: 1px;
  background: var(--border);
}
.markdown blockquote {
  margin: 2.5rem 0;
  padding: 1.4rem 1.6rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}
.markdown code {
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: var(--surface);
  font-size: 0.92em;
}
.markdown pre {
  margin: 2.5rem 0;
  padding: 1.4rem;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}
.markdown pre code {
  padding: 0;
  background: transparent;
}
.markdown img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 3rem auto;
  border-radius: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}
.markdown img:hover {
  transform: scale(1.01);
}
.markdown table {
  width: 100%;
  margin: 2.5rem 0;
  border-collapse: collapse;
  border: 1px solid var(--border);
  overflow: hidden;
  border-radius: 16px;
}
.markdown th,
.markdown td {
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  text-align: left;
}
.markdown th {
  background: var(--surface);
}
.markdown tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--surface) 55%, transparent);
}
.markdown figure {
  margin: 3rem 0;
}
.markdown figcaption {
  margin-top: 0.8rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.markdown ::selection {
  background: color-mix(in srgb, var(--accent) 30%, transparent);
}
@media (max-width: 768px) {
  .container,
  .article-page,
  .markdown {
    width: calc(100% - 2rem);
    max-width: none;
  }
}
.article-page {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 4rem;
  width: min(1400px, calc(100% - 2rem));
  margin-inline: auto;
  padding: 4rem 0 6rem;
}
.article-main {
  min-width: 0;
}
.article-sidebar {
  position: sticky;
  top: 6rem;
  align-self: start;
}
@media (max-width: 900px) {
  .article-page {
    display: block;
    width: calc(100% - 2rem);
  }
  .article-sidebar {
    display: none;
  }
  .article-main {
    width: 100%;
  }
  .markdown {
    width: 100%;
    max-width: none;
    margin: 0;
  }
}

/* ns-hugo-imp:/home/anon/Documents/blog/assets/css/components/footer.css */
.footer {
  margin-top: 120px;
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  background: transparent;
  margin: 75px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
}
.footer-column h4,
.footer-brand h3 {
  margin-bottom: 18px;
  font-family: "JetBrains Mono", monospace;
}
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-column li {
  margin-bottom: 12px;
}
.footer-column a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer-column a:hover {
  color: var(--accent);
}
.footer-brand p {
  color: var(--text-muted);
  line-height: 1.8;
}
.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.9rem;
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--theme);
  font-size: 1.5em;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 20px;
}
.nav-icon {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  transition: 0.2s;
}
.nav-icon:hover {
  color: var(--accent);
}
.nav-icon img {
  width: 18px;
  height: 18px;
}
:root[data-theme=dark] .nav-icon img {
  filter: invert(1);
}
.login-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}
.login-button:hover {
  border-color: var(--accent);
}
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--theme);
}
::-webkit-scrollbar-thumb {
  background: #5c0d2b;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ns-hugo-imp:/home/anon/Documents/blog/assets/css/components/scrollbar.css */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--theme);
}
::-webkit-scrollbar-thumb {
  background: #5c0d2b;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ns-hugo-imp:/home/anon/Documents/blog/assets/css/components/taxonomy.css */
.taxonomy-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.taxonomy-list li {
  margin: 0;
}
.taxonomy-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--entry);
  color: var(--text);
  text-decoration: none;
}
.taxonomy-list a:hover {
  border-color: var(--accent);
}
.taxonomy-list span {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.articles {
  display: grid;
  gap: 1.5rem;
  background: var(--theme);
  margin-top: 2rem;
}
.article-card {
  display: block;
  padding: 1.8rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: 0.2s;
  background: var(--entry);
  color: inherit;
  text-decoration: none;
}
.article-card:hover {
  border-color: var(--accent);
}
.article-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.55rem;
  line-height: 1.3;
}
.article-card p {
  margin: 1rem 0;
  color: var(--text-muted);
  line-height: 1.8;
}
.article-card small {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
}
@media (max-width: 768px) {
  .article-card {
    padding: 1.4rem;
  }
  .article-card h2 {
    font-size: 1.35rem;
  }
}

/* ns-hugo-imp:/home/anon/Documents/blog/assets/css/pages/home.css */
.hero {
  min-height: calc(100svh - var(--header-height));
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
  padding: 2rem 1rem;
}
.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 700px);
  text-align: center;
  gap: 1.5rem;
}
.hero-logo {
  width: clamp(150px, 18vw, 260px);
  height: auto;
}
.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1;
}
.hero-subtitle {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 2rem);
  color: var(--text-muted);
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.hero-tags span {
  padding: 0.55rem 1rem;
  white-space: nowrap;
  border: 1px solid rgba(137, 0, 61, 0.25);
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}
.page-container {
  width: min(1400px, calc(100% - 4rem));
  margin-inline: auto;
  padding-block: clamp(8rem, 14vh, 12rem);
}
.page-container h2 {
  max-width: 900px;
  margin-inline: auto;
  margin-bottom: 5rem;
  text-align: center;
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: -0.03em;
}
.page-container p {
  max-width: 900px;
  margin: 2rem auto 6rem;
  text-align: center;
  color: var(--text-muted);
  line-height: 1.9;
  font-size: 1.15rem;
}
.page-container + .page-container {
  margin-top: clamp(8rem, 18vh, 14rem);
}
.interactive-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
.interactive-link::after {
  content: "\2192";
  transition: transform 0.2s ease;
}
.interactive-link:hover {
  color: var(--accent);
  transform: translateX(3px);
}
.interactive-link:hover::after {
  transform: translateX(4px);
}
.interactive-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 6px;
}
.section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 2.5rem;
}
.section-accent {
  width: 4px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(#821133, #89003d);
}
.section-header h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.5rem);
}
.quick-access {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.section-grid {
  position: relative;
  margin: 5rem 0;
  padding: 2rem;
  border-radius: 24px;
  overflow: hidden;
}
.section-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at top left,
      rgba(255, 0, 120, 0.08),
      transparent 60%);
  pointer-events: none;
}
.home-card {
  position: relative;
  min-height: 220px;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-decoration: none;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.home-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--accent),
      transparent);
}
.home-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(137, 0, 61, 0.18);
}
.home-card h2,
.home-card h3 {
  margin: 0 0 1rem;
}
.home-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ns-hugo-imp:/home/anon/Documents/blog/assets/css/pages/services.css */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.5rem;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: .25s;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(137, 0, 61, .15);
}
.service-header {
  display: flex;
  align-items: center;
  gap: 18px;
}
.service-icon {
  width: 58px;
  height: 58px;
}
.service-title {
  margin: 0;
  font-size: 1.8rem;
}
.service-description {
  color: var(--text-muted);
  line-height: 1.8;
}
.service-feature {
  padding: .45rem .9rem;
  border-radius: 999px;
  border: 1px solid rgba(137, 0, 61, .2);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  font-size: .9rem;
}
.service-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.service-link::after {
  content: "\2192";
  transition: .2s;
}
.service-link:hover::after {
  transform: translateX(5px);
}
.service-status {
  display: flex;
  align-items: center;
  gap: 10px;
}
.status-online {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 10px #2ecc71;
}

/* ns-hugo-imp:/home/anon/Documents/blog/assets/css/pages/posts.css */
.posts-page {
  width: min(1400px, calc(100% - 4rem));
  margin-inline: auto;
  padding-block: clamp(4rem, 8vw, 7rem);
}
.posts-header {
  margin-bottom: 4rem;
}
.posts-header h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.posts-description {
  max-width: 780px;
  margin-top: 1.5rem;
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-muted);
}
.posts-header::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 3rem;
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--border),
      transparent);
}
.posts-grid {
  display: grid;
  gap: 2rem;
}
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--theme);
  cursor: pointer;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.post-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      700px circle at top left,
      rgba(137, 0, 61, 0.08),
      transparent 55%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.post-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}
.post-card:hover::before {
  opacity: 1;
}
.post-content {
  position: relative;
  z-index: 1;
}
.post-content h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.2;
  transition: color 0.25s ease;
}
.post-card:hover h2 {
  color: var(--accent);
}
.post-summary {
  margin-top: 1rem;
  margin-bottom: 0;
  color: var(--text-muted);
  line-height: 1.8;
}
.post-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.post-arrow {
  margin-left: auto;
  font-size: 1.3rem;
  opacity: 0.35;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    color 0.25s ease;
}
.post-card:hover .post-arrow {
  opacity: 1;
  color: var(--accent);
  transform: translateX(6px);
}
@media (max-width: 900px) {
  .posts-page {
    width: min(100%, calc(100% - 2rem));
  }
  .posts-header {
    margin-bottom: 3rem;
  }
  .post-card {
    padding: 1.5rem;
  }
  .post-content h2 {
    font-size: 1.5rem;
  }
  .post-footer {
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }
}
.article-page {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 4rem;
  width: min(1400px, calc(100% - 4rem));
  margin-inline: auto;
  padding-block: 5rem;
}
.article-sidebar {
  position: sticky;
  top: 7rem;
  align-self: start;
}
.toc {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}
.toc h2 {
  margin: 0 0 1rem;
  font-size: 1rem;
}
.toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.toc li {
  margin: 0.5rem 0;
}
.toc a {
  color: var(--text-muted);
  text-decoration: none;
  transition: 0.2s;
}
.toc a:hover {
  color: var(--accent);
}
@media (max-width: 1100px) {
  .article-page {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    display: none;
  }
}

/* ns-hugo-imp:/home/anon/Documents/blog/assets/css/pages/page_gallery.css */
.photos-page {
  width: min(1400px, calc(100% - 2rem));
  margin-inline: auto;
  padding: 4rem 0 6rem;
}
.photos-header {
  margin-bottom: 4rem;
}
.photos-header h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1.05;
}
.photos-description {
  max-width: 760px;
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.9;
}
.photos-content {
  margin-top: 2rem;
  display: ruby;
}
.photos-divider {
  width: 100%;
  height: 1px;
  margin-top: 3rem;
  background:
    linear-gradient(
      90deg,
      transparent,
      var(--border),
      transparent);
}
.photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}
.photo-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  cursor: pointer;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.photo-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.photo-cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-alt);
}
.photo-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.photo-card:hover .photo-cover img {
  transform: scale(1.05);
}
.photo-content {
  padding: 1.6rem 1.6rem 0;
}
.photo-content h2 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.25;
  transition: color 0.25s ease;
}
.photo-card:hover h2 {
  color: var(--accent);
}
.photo-summary {
  margin-top: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.photo-footer {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: auto;
  padding: 1.6rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.photo-arrow {
  margin-left: auto;
  font-size: 1.25rem;
  opacity: 0.35;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    color 0.25s ease;
}
.photo-card:hover .photo-arrow {
  opacity: 1;
  color: var(--accent);
  transform: translateX(6px);
}
.photos-grid:empty::before {
  content: "Brak album\f3w.";
  color: var(--text-muted);
}
@media (max-width: 900px) {
  .photos-page {
    width: calc(100% - 2rem);
    padding: 2rem 0 4rem;
  }
  .photos-header {
    margin-bottom: 3rem;
  }
  .photos-header h1 {
    font-size: 2.6rem;
  }
  .photos-description {
    font-size: 1rem;
  }
  .photos-grid {
    grid-template-columns: 1fr;
  }
  .photo-content {
    padding: 1.25rem 1.25rem 0;
    padding: 1.25rem 1.25rem 0;
  }
  .photo-footer {
    padding: 1.25rem;
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }
}

/* ns-hugo-imp:/home/anon/Documents/blog/assets/css/pages/single_gallery.css */
.photo-album {
  width: min(1500px, calc(100% - 2rem));
  margin-inline: auto;
  padding: 4rem 0 6rem;
}
.album-header {
  max-width: 850px;
  margin-bottom: 4rem;
}
.album-header h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1.05;
}
.album-description {
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 1.15rem;
  line-height: 1.9;
}
.album-content {
  margin-top: 2rem;
  color: var(--text-muted);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}
.gallery-item {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}
.gallery-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.gallery-link {
  display: block;
  text-decoration: none;
}
.gallery-link img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}
.gallery-caption {
  padding: 1rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
}
.gallery-link {
  position: relative;
}
.gallery-link::after {
  content: "\1f50d";
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-item:hover .gallery-link::after {
  opacity: 1;
}
@media (max-width: 900px) {
  .photo-album {
    width: calc(100% - 2rem);
    padding: 2rem 0 4rem;
  }
  .album-header {
    margin-bottom: 2.5rem;
  }
  .album-header h1 {
    font-size: 2.5rem;
  }
  .album-description {
    font-size: 1rem;
  }
  .gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .gallery-link img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
}

/* ns-hugo-imp:/home/anon/Documents/blog/assets/css/pages/search.css */
.search-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 12rem 2rem 8rem;
}
.search-header {
  text-align: center;
  margin-bottom: 4rem;
}
.search-header h1 {
  font-size: 3rem;
  margin-bottom: .75rem;
}
.search-header p {
  color: var(--text-secondary);
}
.search-box {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
#searchInput {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  color: var(--text);
  transition: .2s;
}
#searchInput:focus {
  outline: none;
  border-color: var(--accent);
}
#searchResults {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#searchResults li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: .2s;
}
#searchResults li:hover {
  border-color: var(--accent);
}
#searchResults a {
  display: block;
  padding: 1.25rem;
  color: inherit;
  text-decoration: none;
}
#searchResults h3 {
  margin-bottom: .5rem;
}
#searchResults p {
  color: var(--text-secondary);
}
.search-card {
  display: block;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--theme);
  transition: .2s;
}
.search-card h2 {
  margin: 0;
}
.search-meta {
  margin: .4rem 0 1rem;
  opacity: .65;
  font-size: .9rem;
}
.search-tags {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.search-tag {
  padding: .25rem .7rem;
  border-radius: 999px;
  background: var(--code-bg);
  font-size: .85rem;
}

/* <stdin> */
