/* ==========================================================================
   jeckun.cc blog prototype — palette borrowed from the Fiverr Guides article
   page (green #1DBF73, ink #222325 / #404145, muted #62646A, line #E4E5E7).
   ========================================================================== */

:root {
  --green: #1dbf73;
  --green-dark: #19a463;
  --green-soft: #eafaf1;
  --ink: #222325;
  --ink-2: #404145;
  --muted: #62646a;
  --muted-2: #74767e;
  --muted-3: #95979d;
  --line: #e4e5e7;
  --soft: #f7f7f7;
  --blue: #4a73e8;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 24px rgba(34, 35, 37, 0.08);
  --sidebar: 288px;
  --font: "Inter", "Inter var", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 16px/1.6 var(--font);
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ---------- top navigation ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.topbar-in {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  white-space: nowrap;
}

.brand .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
}

.brand span {
  color: var(--muted-3);
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 600;
  color: var(--muted);
  font-size: 15px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.mobile-nav-toggle {
  display: none;
}

.nav a,
.drop-toggle {
  position: relative;
  color: var(--muted);
  font: 600 15px/1 var(--font);
}

.nav a:hover,
.drop-toggle:hover,
.drop-toggle.is-active,
.nav a.is-active {
  color: var(--ink-2);
}

.nav a.is-active::after,
.drop-toggle.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -24px;
  height: 2px;
  background: var(--green);
}

.drop-toggle {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.caret {
  font-size: 10px;
  color: var(--muted-3);
  transition: transform 0.15s ease;
}

.drop.is-open .caret {
  transform: rotate(180deg);
}

/* topics dropdown */

.drop {
  position: relative;
}

.drop-menu {
  position: absolute;
  top: 34px;
  left: -14px;
  z-index: 30;
  min-width: 268px;
  display: none;
  padding: 12px 8px 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.drop.is-open .drop-menu {
  display: block;
}

.drop-label {
  margin: 4px 10px 8px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-3);
}

.drop-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  font-size: 14.5px;
}

.drop-menu a:hover {
  background: var(--soft);
}

.drop-menu .count,
.tags .count {
  color: var(--muted-3);
  font-size: 12px;
  font-weight: 600;
}

.drop-all {
  margin-top: 6px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm) !important;
  color: var(--green-dark) !important;
  font-weight: 600;
}

.topbar-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: var(--muted-2);
  background: #fff;
}

.search input {
  border: 0;
  outline: 0;
  font: inherit;
  font-size: 14px;
  width: 148px;
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font: 600 15px/1 var(--font);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--green);
  color: #fff;
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink-2);
}

.btn-ghost:hover {
  border-color: var(--muted-3);
}

/* ---------- page shell ---------- */

.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 24px 72px;
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

/* ---------- left rail: profile + article index ---------- */

.rail {
  display: grid;
  gap: 20px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.profile,
.rail-block,
.latest-article {
  border: 0;
  background: var(--soft);
}

.profile {
  padding: 22px 20px;
  text-align: center;
}

.avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: linear-gradient(140deg, var(--green), #12a06a);
  color: #fff;
  font-weight: 700;
  font-size: 26px;
  display: grid;
  place-items: center;
  letter-spacing: 0.02em;
}

.profile h1 {
  margin: 0 0 4px;
  font-size: 20px;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}

.profile .role {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.profile .bio {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.social-link {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
}

.social-link:hover {
  background: var(--ink-2);
}

.social-link.is-disabled {
  background: var(--soft);
  color: var(--muted-3);
}

.social-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-link svg.icon-github {
  fill: currentColor;
  stroke: none;
}

.profile-cta {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 16px;
}

.profile-note {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted-3);
}

.rail-block {
  padding: 18px 20px 20px;
}

.rail-block h2 {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.rail-list li {
  padding-left: 14px;
  border-left: 2px solid var(--line);
}

.rail-list li.is-active {
  border-left-color: var(--green);
}

.rail-list a {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink-2);
  display: block;
}

.rail-list a:hover {
  color: var(--green-dark);
}

.rail-list .date {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--muted-3);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags a {
  background: var(--soft);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  color: var(--muted);
}

#topics .tags .count {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-dark);
}

.tags a:hover {
  background: var(--green-soft);
  color: var(--green-dark);
}

/* ---------- main column ---------- */

.main {
  min-width: 0;
}

.latest-articles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.latest-article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  height: 100%;
  min-width: 0;
  padding: 16px;
  overflow: hidden;
  color: var(--ink-2);
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.latest-article-cover {
  width: calc(100% + 32px);
  max-width: none;
  flex-shrink: 0;
  aspect-ratio: 16 / 9;
  margin: -16px -16px 0;
  object-fit: cover;
}

.latest-article small {
  margin-top: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.latest-article:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.page-head {
  margin-bottom: 26px;
}

.page-head .eyebrow {
  color: var(--green-dark);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.page-head h1 {
  margin: 8px 0 10px;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink-2);
}

.page-head p {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

/* summary cards */

.post-list {
  display: grid;
  gap: 22px;
}

.post {
  border: 0;
  padding: 26px 28px;
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.post-cover,
.article-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.post-cover {
  margin-bottom: 20px;
}

.article-cover {
  margin: 24px 0;
}

.post:hover {
  border-color: #d9dade;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--muted-3);
}

.like-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted-3);
  font: inherit;
  cursor: pointer;
}

.like-button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.like-button:hover,
.like-button.is-liked {
  color: var(--green-dark);
}

.like-button.is-liked svg {
  fill: var(--green-soft);
}

.like-button:disabled {
  cursor: default;
}

.chip {
  background: var(--green-soft);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 12px;
  border-radius: 999px;
  padding: 4px 11px;
  letter-spacing: 0.02em;
}

.post h2 {
  margin: 12px 0 12px;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink-2);
}

.post h2 a:hover {
  color: var(--green-dark);
}

.post .summary {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}

.post .summary p {
  margin: 0 0 10px;
}

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

.post-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.read-more {
  color: var(--green-dark);
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.read-more:hover {
  color: var(--ink-2);
}

.wordcount {
  font-size: 13px;
  color: var(--muted-3);
}

.aside-note {
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
  background: var(--soft);
}

/* marks content or cards that came from (or were changed by) the admin prototype */

.edit-note {
  margin: 0 0 18px;
  padding: 10px 14px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  background: var(--soft);
  color: var(--muted-2);
  font-size: 13.5px;
}

.post.is-local {
  border-left: 3px solid var(--green);
  background: linear-gradient(180deg, #fbfffd, #fff 120px);
}

/* ---------- article page ---------- */

.article-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 24px 80px;
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.article {
  max-width: 760px;
  min-width: 0;
}

.crumbs {
  font-size: 13.5px;
  color: var(--muted-3);
  margin-bottom: 18px;
}

.crumbs a:hover {
  color: var(--green-dark);
}

.article h1 {
  margin: 0 0 16px;
  font-size: 40px;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--ink-2);
}

.article .standfirst {
  margin: 0 0 22px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}

.byline .avatar-sm {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--green), #12a06a);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: grid;
  place-items: center;
}

.byline .who {
  font-weight: 700;
  color: var(--ink-2);
  font-size: 14.5px;
}

.byline .when {
  font-size: 13px;
  color: var(--muted-3);
}

.byline .spacer {
  margin-left: auto;
}

.body {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.78;
}

.body > p {
  margin: 0 0 20px;
}

.body h1 {
  margin: 40px 0 18px;
  font-size: 34px;
  line-height: 1.2;
  color: var(--ink-2);
}

.body a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.body h2 {
  margin: 44px 0 16px;
  font-size: 27px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink-2);
  scroll-margin-top: 90px;
}

.body h3 {
  margin: 30px 0 12px;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}

.body h4,
.body h5,
.body h6 {
  margin: 24px 0 10px;
  font-size: 16px;
  color: var(--ink-2);
}

.body ul,
.body ol {
  margin: 0 0 22px;
  padding-left: 22px;
}

.body li {
  margin-bottom: 9px;
}

.body li::marker {
  color: var(--green);
}

.body strong {
  color: var(--ink-2);
}

.body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 34px 0;
}

.body blockquote {
  margin: 0 0 22px;
  padding: 12px 18px;
  border-left: 3px solid var(--green);
  background: var(--soft);
  color: var(--muted);
}

.body table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 0 0 24px;
  font-size: 15px;
}

.body th,
.body td {
  padding: 9px 12px;
  border: 1px solid var(--line);
  text-align: left;
}

.body th {
  background: var(--soft);
  color: var(--ink-2);
}

.body pre {
  overflow-x: auto;
  margin: 0 0 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  font-size: 14px;
  line-height: 1.6;
}

.body :not(pre) > code {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--soft);
  font-size: .9em;
}

.body img {
  max-width: 100%;
  height: auto;
}

.body .youtube-video {
  aspect-ratio: 16 / 9;
  max-width: 100%;
  margin: 26px 0 30px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
}

.body .youtube-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.body input[type="checkbox"] {
  margin-right: 7px;
}

.body .src {
  color: var(--muted-3);
  font-size: 13.5px;
  margin: -6px 0 22px;
}

/* section openers: match the "Key features / Pros / Cons / Pricing" rhythm */

.body h3.section,
.body h4.section {
  display: inline-block;
  background: var(--soft);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 34px 0 14px;
}

.body h3.section.pros,
.body h4.section.pros {
  background: var(--green-soft);
  color: var(--green-dark);
}

.body h3.section.cons,
.body h4.section.cons {
  background: #fdf1f0;
  color: #c0392b;
}

.body h3.section.reviews,
.body h4.section.reviews {
  background: #f2f4ff;
  color: #3d5bd9;
}

/* review callouts (👍 / 👎) */

.review {
  margin: 0 0 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #fcfffd;
  padding: 16px 20px;
}

.review.neg {
  border-left-color: #e0a3a0;
  background: #fffdfd;
}

.review.continue {
  background: #fff;
  border-left-color: var(--line);
  margin-top: -8px;
}

/* the article's own table of contents */

.body ul.toc {
  columns: 2;
  column-gap: 32px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 20px 38px;
  margin: 0 0 26px;
}

.body ul.toc li {
  break-inside: avoid;
  font-size: 15px;
  color: var(--muted);
}

.body ul.toc a {
  color: var(--ink-2);
  text-decoration: none;
}

.body ul.toc a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.review .mark {
  font-size: 15px;
  margin-right: 6px;
}

.review blockquote {
  display: inline;
  margin: 0;
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink);
}

.review blockquote em {
  font-style: italic;
}

.review cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 13.5px;
  color: var(--muted-3);
}

/* pricing blocks */

.pricing {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  padding: 6px 20px 14px;
  margin: 0 0 24px;
  list-style: none;
  padding-left: 20px;
}

.pricing li {
  margin: 14px 0;
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.65;
}

.pricing li strong {
  display: block;
  color: var(--ink-2);
  font-size: 15.5px;
}

.pricing li::marker {
  content: "";
}

/* article footer */

.article-foot {
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.article-foot .tags {
  margin: 0;
}

.article-foot-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.more-articles {
  flex: 0 0 auto;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: var(--green-dark);
  font: inherit;
  cursor: pointer;
}

.more-articles:hover {
  color: var(--ink-2);
}

.callout {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  background: var(--green-soft);
  border-color: #cdeedd;
}

.callout h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--ink-2);
}

.callout p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- responsive ---------- */

/* ---------- ranking, list controls, topic grid, about, contact ---------- */

[hidden] {
  display: none !important;
}

.post {
  position: relative;
}

.heat {
  color: var(--green-dark);
  font-weight: 600;
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.head-aside {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--muted-3);
  white-space: nowrap;
}

.list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 34px 0 16px;
}

.list-head h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}

.clear-filter {
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 600;
}

.list-foot {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.list-note {
  margin: 0;
  color: var(--muted-3);
  font-size: 13.5px;
}

.post.is-just-shown {
  animation: card-in 0.35s ease-out both;
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

/* topic grid */

.tag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(184px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.tag-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tag-card:hover {
  border-color: var(--green);
  box-shadow: 0 6px 18px rgba(29, 191, 115, 0.12);
}

.tag-card.is-active {
  border-color: var(--green);
  background: var(--green-soft);
}

.tag-name {
  font-weight: 700;
  color: var(--ink-2);
}

.tag-count {
  font-size: 12.5px;
  color: var(--muted-3);
}

.post-tags {
  display: flex;
  flex-basis: 100%;
  flex-wrap: wrap;
  gap: 7px;
}

.post-tags a {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 12px;
}

.post-tags a:hover {
  background: var(--green-soft);
  color: var(--green-dark);
}

/* rail extras */

.rail-more {
  display: inline-block;
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green-dark);
}

.rail-more:hover {
  color: var(--ink-2);
}

/* about */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 268px;
  gap: 28px;
  align-items: start;
  margin-top: 8px;
}

.about-section {
  margin-bottom: 26px;
}

.about-section h2 {
  margin: 0 0 10px;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}

.about-body p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.about-facts {
  padding: 20px 20px 8px;
}

.about-facts h2 {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-3);
}

.about-facts dl {
  margin: 0;
}

.fact {
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.fact:first-child {
  border-top: 0;
}

.fact dt {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-3);
}

.fact dd {
  margin: 4px 0 0;
  font-size: 14.5px;
  color: var(--ink-2);
}

/* contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 288px;
  gap: 28px;
  align-items: start;
  margin-top: 8px;
}

.contact-aside {
  display: grid;
  gap: 18px;
}

.subscribe-form {
  display: grid;
  gap: 15px;
  padding: 26px 28px 22px;
  max-width: 460px;
  position: relative;
}

.subscribe-form .field label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}

.subscribe-form .field label span {
  color: var(--muted-3);
  font-weight: 500;
}

.subscribe-form input[type="text"],
.subscribe-form input[type="email"] {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  outline: none;
}

.subscribe-form input::placeholder {
  color: var(--muted-3);
}

.subscribe-form input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(29, 191, 115, 0.14);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
}

.turnstile-wrap {
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  background: var(--soft);
}

.turnstile-note {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--muted-3);
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.consent-row input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--green);
}

.consent-row a {
  color: var(--green-dark);
  text-underline-offset: 2px;
}

.submit-button {
  justify-content: space-between;
  min-height: 50px;
  font-size: 15px;
}

.submit-button .arrow {
  font-size: 17px;
  line-height: 1;
}

.submit-button:disabled {
  background: #a8b0ac;
  cursor: not-allowed;
}

.form-message {
  min-height: 22px;
  margin: 0;
  color: var(--muted-3);
  font-size: 13px;
}

.plain-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.plain-list li {
  margin-bottom: 8px;
}

.plain-list li::marker {
  color: var(--green);
}

.plain-list a {
  color: var(--green-dark);
}

.note {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

code {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 5px;
  font-size: 12.5px;
}

/* footer */

.site-foot {
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.site-foot-in {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted-3);
  font-size: 13.5px;
}

.site-foot-in nav {
  display: flex;
  gap: 18px;
}

.site-foot-in a:hover {
  color: var(--ink-2);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 25;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.back-to-top:hover {
  background: var(--ink-2);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1000px) {
  .site-foot-in nav {
    min-width: 0;
    max-width: 100%;
    flex-wrap: wrap;
    gap: 12px;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }

  .shell,
  .article-shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-top: 24px;
  }

  .rail {
    position: static;
  }

  .topbar-in {
    height: auto;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 16px;
  }

  .nav {
    order: 3;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    display: block;
    overflow: visible;
    padding: 0;
  }

  .mobile-nav-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border: 0;
    background: none;
    color: var(--ink-2);
    font: 600 15px/1 var(--font);
    cursor: pointer;
  }

  .menu-icon {
    display: grid;
    gap: 4px;
  }

  .menu-icon i {
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }

  .nav-menu {
    display: none;
  }

  .nav.is-open .nav-menu {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 4px 0 8px;
  }

  .nav-menu > a {
    padding: 12px 0;
  }

  .nav-menu > .drop,
  .drop-toggle {
    width: 100%;
    text-align: left;
  }

  .drop-toggle {
    padding: 12px 0;
    justify-content: space-between;
  }

  .nav a.is-active::after,
  .drop-toggle.is-active::after {
    display: none;
  }

  .drop-menu {
    position: static;
    min-width: 0;
    padding: 0 0 0 12px;
    border: 0;
    box-shadow: none;
  }

  .drop-label {
    display: none;
  }

  .search {
    display: none;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .subscribe-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .subscribe-form > * {
    min-width: 0;
  }

  .page-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .latest-articles {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 22px;
  }

  .head-aside {
    white-space: normal;
  }

  .article h1 {
    font-size: 30px;
  }

  .page-head h1 {
    font-size: 27px;
  }
}

.post[hidden] {
  display: none !important;
}

.list-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0;
  padding: 0 28px;
  color: var(--muted);
}

.home-list-end {
  flex-direction: column;
  justify-content: center;
  padding: 0;
  text-align: center;
}

.articles-list-end {
  justify-content: center;
}

.list-end p,
.list-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.list-load-more {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green-dark);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.list-load-more:hover {
  color: var(--ink-2);
}

.standalone {
  width: min(760px, calc(100% - 48px));
  min-height: calc(100vh - 150px);
  margin: 48px auto;
}

.standalone h1 {
  margin: 0 0 24px;
  color: var(--ink-2);
  font-size: clamp(30px, 5vw, 42px);
}

.standalone h2 {
  margin: 30px 0 8px;
  color: var(--ink-2);
  font-size: 20px;
}

.standalone p {
  color: var(--muted);
  line-height: 1.8;
}

.standalone a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1000px) {
  .list-end {
    align-items: flex-start;
    flex-direction: column;
  }
}
