/* pictor.com.ua — світла editorial-тема: слонова кістка + лісовий зелений */

:root {
  /* Палітра */
  --bg: #f5f2ea;
  --bg-deep: #ece7da;
  --surface: #fffdf8;
  --surface-2: #f8f5ed;
  --ink: #1f2622;
  --ink-soft: #33403a;
  --muted: #5c6660;
  --line: #ddd6c6;
  --line-soft: #e9e3d6;

  --accent: #1f5c45;
  --accent-hover: #164433;
  --accent-tint: #e3ede6;
  --accent-tint-2: #eef4ef;

  --second: #9a4524;
  --second-tint: #f6e7de;

  --focus: #1f5c45;
  --code-bg: #f1ede2;

  /* Типографіка */
  --f-head: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-body: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --f-mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Menlo, Consolas, "Liberation Mono", monospace;

  --fs-base: 1.03rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.8125rem;
  --lh-body: 1.7;
  --lh-head: 1.3;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;

  /* Радіуси і тіні */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(40, 45, 30, 0.05);
  --shadow-md: 0 1px 2px rgba(40, 45, 30, 0.04), 0 8px 24px -12px rgba(40, 45, 30, 0.14);

  /* Макет */
  --wrap: 1140px;
  --gutter: 16px;
  --measure: 68ch;
  --header-h: 64px;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  min-height: 100vh;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(31, 92, 69, 0.045) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  overflow-x: hidden;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
picture,
video,
canvas,
svg,
iframe,
embed,
object {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

iframe {
  border: 0;
  width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

ul,
ol {
  padding-left: 1.4em;
}

::selection {
  background: var(--accent-tint);
  color: var(--accent-hover);
}

/* Посилання */
a {
  color: var(--accent);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(31, 92, 69, 0.4);
  text-underline-offset: 0.2em;
  transition: color 0.15s ease, text-decoration-color 0.15s ease, background-color 0.15s ease;
}

a:hover {
  color: var(--accent-hover);
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Контейнер */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 300;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: var(--sp-2) var(--sp-4);
  background: var(--surface);
  color: var(--accent);
  font-family: var(--f-head);
  font-weight: 600;
  border: 2px solid var(--accent);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
}

/* Шапка */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

@supports ((-webkit-backdrop-filter: blur(8px)) or (backdrop-filter: blur(8px))) {
  .topbar {
    background: rgba(255, 253, 248, 0.82);
    -webkit-backdrop-filter: saturate(140%) blur(8px);
    backdrop-filter: saturate(140%) blur(8px);
  }
}

.topbar::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0 70%, var(--second) 70% 100%);
}

.topbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2) var(--sp-4);
  min-height: var(--header-h);
  padding-top: var(--sp-2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: 44px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--f-head);
  font-weight: 750;
  font-size: 1.125rem;
  letter-spacing: -0.015em;
}

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

.brand-mark {
  display: inline-grid;
  place-items: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.35rem;
  color: var(--surface);
  background: var(--accent);
  border-radius: 9px;
  font-size: 0.95rem;
  line-height: 1;
}

.brand-mark svg {
  width: 1.1rem;
  height: 1.1rem;
}

.menu {
  order: 3;
  display: flex;
  gap: var(--sp-1);
  width: 100%;
  margin: 0 calc(var(--gutter) * -1);
  padding: 0 var(--gutter) var(--sp-2);
  width: calc(100% + var(--gutter) * 2);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  font-family: var(--f-head);
  font-size: 0.9375rem;
  font-weight: 500;
  list-style: none;
}

.menu::-webkit-scrollbar {
  display: none;
}

.menu li {
  flex: 0 0 auto;
}

.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--sp-3);
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  border-radius: 999px;
}

.menu a:hover {
  color: var(--accent-hover);
  background: var(--accent-tint-2);
}

.menu a[aria-current="page"] {
  color: var(--accent-hover);
  background: var(--accent-tint);
  font-weight: 650;
}

.lang {
  display: flex;
  gap: 2px;
  margin-left: auto;
  padding: 3px;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  font-family: var(--f-head);
  font-size: var(--fs-small);
  list-style: none;
}

.lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 38px;
  padding: 0 var(--sp-2);
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lang a:hover {
  color: var(--accent-hover);
  background: var(--accent-tint-2);
}

.lang a[aria-current="true"] {
  color: var(--surface);
  background: var(--accent);
  font-weight: 700;
}

/* Хлібні крихти */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-1) var(--sp-2);
  margin: var(--sp-5) 0 var(--sp-4);
  font-family: var(--f-head);
  font-size: var(--fs-small);
  color: var(--muted);
  list-style: none;
  padding: 0;
}

.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Заголовок статті */
.post-head {
  max-width: 52rem;
}

.post-head h1,
h1 {
  font-family: var(--f-head);
  font-weight: 750;
  font-size: clamp(1.25rem, 1.05rem + 1.1vw, 1.4375rem);
  line-height: var(--lh-head);
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 40ch;
  overflow-wrap: break-word;
  hyphens: auto;
  text-wrap: balance;
}

.post-head h1::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-bottom: var(--sp-4);
  background: var(--second);
  border-radius: 2px;
}

.post-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2) var(--sp-4);
  margin: var(--sp-4) 0 var(--sp-6);
  font-family: var(--f-head);
  font-size: var(--fs-small);
  color: var(--muted);
}

.post-info > * {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

.post-info > * + *::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line);
}

/* Обкладинка */
.cover {
  width: 100%;
  max-width: calc(var(--wrap) + 120px);
  margin: 0 auto var(--sp-6);
  padding: 0 var(--gutter);
}

.cover img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  object-fit: cover;
  background: var(--bg-deep);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}

.cover figcaption {
  margin-top: var(--sp-2);
  font-family: var(--f-head);
  font-size: var(--fs-xs);
  color: var(--muted);
}

/* Сітка статті */
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--sp-5);
}

/* Зміст */
.toc {
  min-width: 0;
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  font-family: var(--f-head);
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.toc-title {
  margin-bottom: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--second);
}

.toc ol,
.toc ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 2px;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
}

.toc a {
  display: flex;
  gap: var(--sp-2);
  align-items: baseline;
  min-height: 40px;
  padding: var(--sp-2) var(--sp-2);
  color: var(--ink-soft);
  text-decoration: none;
  line-height: 1.4;
  border-radius: var(--r-sm);
}

.toc a::before {
  content: counter(toc, decimal-leading-zero);
  flex: 0 0 auto;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.toc a:hover {
  color: var(--accent-hover);
  background: var(--accent-tint-2);
}

.toc a:hover::before {
  color: var(--accent);
}

/* Стаття */
.post {
  min-width: 0;
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: var(--sp-5) var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

.post > * {
  max-width: var(--measure);
}

.post p {
  margin-bottom: 1.15em;
}

.post .intro {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  padding-bottom: var(--sp-4);
  margin-bottom: var(--sp-5);
  border-bottom: 1px dashed var(--line);
}

.post h2 {
  position: relative;
  font-family: var(--f-head);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: var(--lh-head);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: var(--sp-7) 0 var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line-soft);
  overflow-wrap: break-word;
  text-wrap: balance;
}

.post h2::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 2rem;
  height: 2px;
  background: var(--accent);
}

.post h3 {
  font-family: var(--f-head);
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.35;
  color: var(--accent-hover);
  margin: var(--sp-5) 0 var(--sp-2);
  overflow-wrap: break-word;
}

.post h4 {
  font-family: var(--f-head);
  font-size: 1rem;
  font-weight: 650;
  margin: var(--sp-4) 0 var(--sp-2);
}

.post strong,
.post b {
  font-weight: 700;
  color: var(--ink);
}

.post a {
  overflow-wrap: anywhere;
}

/* Списки */
.post ul,
.post ol {
  margin: 0 0 1.25em;
  padding-left: 1.5em;
}

.post li {
  margin-bottom: 0.4em;
  padding-left: 0.2em;
}

.post li::marker {
  color: var(--accent);
}

.post ol li::marker {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.92em;
}

.post li > ul,
.post li > ol {
  margin-top: 0.4em;
  margin-bottom: 0.4em;
}

/* Короткий підсумок */
.summary {
  margin: var(--sp-2) 0 var(--sp-5);
  padding: var(--sp-4) var(--sp-4);
  background: var(--accent-tint-2);
  border: 1px solid var(--accent-tint);
  border-radius: var(--r-md);
}

.summary-title {
  font-family: var(--f-head);
  font-size: var(--fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: var(--sp-2) !important;
}

.summary p:last-child,
.summary ul:last-child,
.summary ol:last-child {
  margin-bottom: 0;
}

/* Терміни */
.terms {
  display: grid;
  gap: var(--sp-3);
  margin: 0 0 var(--sp-5);
}

.terms div {
  padding: var(--sp-3) var(--sp-4);
  background: var(--surface-2);
  border-left: 3px solid var(--second);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.terms dt {
  font-family: var(--f-head);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.terms dd {
  margin-top: var(--sp-1);
  color: var(--muted);
}

/* Цитати */
.post blockquote {
  position: relative;
  margin: var(--sp-5) 0;
  padding: var(--sp-4) var(--sp-4) var(--sp-4) var(--sp-5);
  background: var(--second-tint);
  border-left: 3px solid var(--second);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.post blockquote p {
  margin: 0 0 0.6em;
  font-size: 1.075rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--ink-soft);
}

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

.post blockquote cite,
.post blockquote footer {
  display: block;
  margin-top: var(--sp-2);
  font-family: var(--f-head);
  font-size: var(--fs-small);
  font-style: normal;
  color: var(--muted);
}

/* Код */
code,
kbd,
samp {
  font-family: var(--f-mono);
  font-size: 0.875em;
}

:not(pre) > code {
  padding: 0.12em 0.4em;
  background: var(--code-bg);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  color: var(--second);
  overflow-wrap: anywhere;
  word-break: break-word;
}

pre {
  max-width: 100%;
  margin: var(--sp-4) 0 var(--sp-5);
  padding: var(--sp-4);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-family: var(--f-mono);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink);
  tab-size: 2;
}

pre code {
  padding: 0;
  background: none;
  border: 0;
  font-size: inherit;
  color: inherit;
  white-space: pre;
}

kbd {
  padding: 0.1em 0.4em;
  background: var(--surface);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 4px;
}

/* Таблиці */
.post table,
table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: var(--sp-4) 0 var(--sp-5);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-family: var(--f-head);
  font-size: 0.9rem;
  line-height: 1.5;
}

th,
td {
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
  min-width: 8rem;
}

th {
  background: var(--accent-tint-2);
  color: var(--accent-hover);
  font-weight: 700;
  white-space: nowrap;
}

tbody tr:nth-child(even) {
  background: var(--surface-2);
}

tbody tr:hover {
  background: var(--accent-tint-2);
}

tbody tr:last-child td {
  border-bottom: 0;
}

caption {
  padding: var(--sp-2) var(--sp-4);
  text-align: left;
  font-size: var(--fs-small);
  color: var(--muted);
}

/* Інші елементи */
hr {
  height: 0;
  margin: var(--sp-6) 0;
  border: 0;
  border-top: 1px solid var(--line);
}

figure {
  margin: var(--sp-5) 0;
}

figure img {
  border-radius: var(--r-md);
}

figcaption {
  margin-top: var(--sp-2);
  font-family: var(--f-head);
  font-size: var(--fs-xs);
  color: var(--muted);
}

mark {
  background: #f3e6b8;
  color: var(--ink);
  padding: 0 0.15em;
  border-radius: 3px;
}

/* Читайте також */
.more {
  margin-top: var(--sp-7);
  padding: var(--sp-6) 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.more h2 {
  font-family: var(--f-head);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: var(--lh-head);
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-4);
}

.more-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--sp-3);
}

.more-list li {
  min-width: 0;
}

.more-list a {
  display: grid;
  gap: var(--sp-1) var(--sp-5);
  min-height: 44px;
  padding: var(--sp-4);
  color: var(--ink);
  text-decoration: none;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.more-list a:hover {
  background: var(--surface);
  border-color: var(--accent);
  transform: translateY(-1px);
}

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

.more-topic {
  justify-self: start;
  display: inline-block;
  padding: 0.15em 0.6em;
  font-family: var(--f-head);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-tint);
  border-radius: 999px;
}

.more-topic.is-threat {
  color: var(--second);
  background: var(--second-tint);
}

.more-name {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.35;
  overflow-wrap: break-word;
  transition: color 0.15s ease;
}

.more-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Підвал */
.foot {
  background: var(--bg-deep);
  color: var(--muted);
  font-family: var(--f-head);
  font-size: var(--fs-small);
  border-top: 1px solid var(--line);
}

.foot-row {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding-top: var(--sp-5);
  padding-bottom: var(--sp-5);
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-1) var(--sp-4);
  list-style: none;
  padding: 0;
}

.foot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-soft);
  text-decoration: none;
}

.foot a:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.dmca {
  min-height: 36px !important;
  padding: 0 var(--sp-3);
  font-size: var(--fs-xs);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.foot a.dmca:hover {
  border-color: var(--accent);
  text-decoration: none;
}

/* ≥ 480px */
@media (min-width: 480px) {
  :root {
    --gutter: 20px;
  }

  .post {
    padding: var(--sp-6) var(--sp-5);
  }

  .summary {
    padding: var(--sp-4) var(--sp-5);
  }

  .post blockquote {
    padding: var(--sp-5) var(--sp-5) var(--sp-5) var(--sp-6);
  }
}

/* ≥ 768px */
@media (min-width: 768px) {
  :root {
    --gutter: 28px;
    --header-h: 68px;
  }

  html {
    scroll-padding-top: 96px;
  }

  .topbar-row {
    flex-wrap: nowrap;
    padding-top: 0;
    gap: var(--sp-5);
  }

  .menu {
    order: 0;
    width: auto;
    margin: 0 auto 0 0;
    padding: 0;
    overflow: visible;
  }

  .lang {
    margin-left: 0;
  }

  .crumbs {
    margin: var(--sp-6) 0 var(--sp-4);
  }

  .post-head h1,
  h1 {
    font-size: clamp(1.5rem, 1rem + 1.2vw, 1.75rem);
  }

  .cover {
    margin-bottom: var(--sp-7);
  }

  .post {
    padding: var(--sp-7) var(--sp-7);
  }

  .post .intro {
    font-size: 1.15rem;
  }

  .post h2 {
    font-size: 1.3125rem;
  }

  .post h3 {
    font-size: 1.125rem;
  }

  .terms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .more {
    padding: var(--sp-7) 0;
  }

  .more h2 {
    font-size: 1.3125rem;
  }

  .more-list a {
    grid-template-columns: 120px minmax(0, 220px) minmax(0, 1fr);
    align-items: baseline;
    padding: var(--sp-4) var(--sp-5);
  }

  table {
    display: table;
    overflow: visible;
  }

  .foot-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
  }
}

/* ≥ 1024px */
@media (min-width: 1024px) {
  :root {
    --fs-base: 1.09rem;
  }

  .post-head h1,
  h1 {
    font-size: 1.875rem;
    line-height: 1.28;
  }

  .post-layout {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: var(--sp-7);
    align-items: start;
  }

  .toc {
    position: sticky;
    top: 96px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: var(--sp-4) var(--sp-3);
    background: transparent;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
  }

  .toc-title {
    padding-left: var(--sp-2);
  }

  .post {
    margin: 0;
  }

  .post h2 {
    font-size: 1.4375rem;
  }

  .post h3 {
    font-size: 1.1875rem;
  }
}

/* ≥ 1280px */
@media (min-width: 1280px) {
  .post-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: var(--sp-8);
  }

  .post {
    padding: var(--sp-7) var(--sp-8);
  }
}

/* Зменшення руху */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .more-list a:hover {
    transform: none;
  }
}

/* Друк */
@media print {
  body {
    background: #fff;
  }

  .topbar,
  .toc,
  .more,
  .foot,
  .skip {
    display: none;
  }

  .post {
    border: 0;
    box-shadow: none;
    padding: 0;
    max-width: none;
  }
}