.layout.blog-layout {
  max-width: 74ch;
}

.disclaim {
  border-top: 1px solid var(--hairline, rgba(0, 0, 0, 0.12));
  border-bottom: 1px solid var(--hairline, rgba(0, 0, 0, 0.12));
  background: rgba(88, 101, 242, 0.06);
  padding: 8px 24px;
}

.disclaim p {
  margin: 0 auto;
  max-width: 74ch;
  font-size: 0.85rem;
  color: var(--muted);
}

.post-card {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  padding: 22px 0;
  display: block;
  text-decoration: none;
  color: inherit;
}

.post-card:hover .card-title {
  text-decoration: underline;
}

.card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.card-title {
  font-size: 1.15rem;
  font-family: Georgia, "Times New Roman", Times, serif;
  margin: 0 0 6px;
  line-height: 1.35;
}

.card-sum {
  color: var(--muted);
  margin: 0 0 10px;
}

.card-meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.author-line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.author-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.author-av.is-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-raise, #eee7db);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.author-name {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.author-line a.author-name {
  color: var(--ink);
}

.author-line a.author-name:hover {
  text-decoration: underline;
}

.flair {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 3px;
  padding: 1px 5px;
}

.flair.is-admin {
  color: #5865F2;
}

.flair.is-trusted {
  color: var(--ok, #2d8547);
}

.flair.is-verified {
  color: var(--accent-deep, #303a9f);
  border-color: transparent;
  background: rgba(88, 101, 242, 0.12);
  border: 1px solid rgba(88, 101, 242, 0.4);
}

.badge {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 3px;
  padding: 1px 6px;
}

.badge.is-published {
  color: var(--ok, #2d8547);
}

.badge.is-draft {
  color: var(--muted);
}

.badge.is-pending {
  color: var(--warn, #a8640b);
}

.badge.is-needs_changes {
  color: var(--danger, #b33);
}

.badge.is-hidden {
  color: var(--danger, #b33);
}

.tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent-deep, #303a9f);
  border: 1px solid rgba(88, 101, 242, 0.35);
  border-radius: 999px;
  padding: 1px 8px;
  text-decoration: none;
  display: inline-block;
  margin: 2px 4px 2px 0;
}

.tag:hover {
  background: rgba(88, 101, 242, 0.1);
}

.article-head {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  padding-bottom: 18px;
  margin-bottom: 22px;
}

.article-body > h2,
.article-body > h3,
.article-body > h4 {
  margin-top: 26px;
}

.article-body code {
  font-family: var(--mono);
  font-size: 0.85em;
  background: var(--paper-raise, #eee7db);
  padding: 1px 4px;
  border-radius: 3px;
}

.article-body pre {
  background: var(--paper-raise, #eee7db);
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 12px;
  overflow-x: auto;
}

.article-body ul {
  padding-left: 20px;
  margin: 10px 0;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.pub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}

.l-btn,
.editor form .l-btn {
  border: 1px solid #5865F2;
  background: #5865F2;
  color: #fff;
  font: inherit;
  border-radius: 4px;
  padding: 7px 16px;
  cursor: pointer;
}

.l-btn:hover {
  background: #4b56d2;
}

.l-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-line {
  border: 1px solid rgba(0, 0, 0, 0.25);
  background: transparent;
  color: var(--ink);
  font: inherit;
  border-radius: 4px;
  padding: 7px 16px;
  cursor: pointer;
}

.btn-line:hover {
  background: var(--paper-raise, #eee7db);
}

.btn-line.is-danger {
  border-color: var(--danger, #b33);
  color: var(--danger, #b33);
}

.btn-link {
  border: 0;
  background: none;
  color: var(--accent-deep, #303a9f);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.who {
  grid-area: auto;
  justify-self: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--ink);
  text-decoration: none;
}

.masthead-actions {
  grid-area: status;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.masthead-inner {
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "wordmark status"
    "tag tag";
}

.masthead-actions .who {
  grid-area: auto;
  justify-self: auto;
}

.masthead-actions form.inline {
  margin: 0;
}

.who-av {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.masthead .who {
  color: var(--muted);
}

.masthead .who:hover {
  color: var(--ink);
}

form.inline {
  display: inline;
}

.editor .field {
  margin-bottom: 16px;
}

.editor label {
  display: block;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}

.editor input[type="text"],
.editor textarea {
  width: 100%;
  max-width: 100%;
  font: inherit;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  color: var(--ink);
  border-radius: 4px;
  padding: 8px 10px;
}

.editor textarea#body {
  min-height: 260px;
  font-family: var(--mono);
  font-size: 0.9rem;
  line-height: 1.5;
}

.editor .hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 4px;
}

.datatable {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.datatable th,
.datatable td {
  text-align: left;
  vertical-align: top;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.datatable th {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.preview-frame {
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  border-radius: 4px;
  padding: 22px 26px;
  margin: 18px 0;
}

.turnstile {
  margin: 10px 0;
}

.kv {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.9rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.kv dt {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.empty {
  color: var(--muted);
  padding: 30px 0;
}

.status-chip {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
}

.pagination {
  display: flex;
  gap: 12px;
  margin: 18px 0;
  font-size: 0.9rem;
}

.section-no {
  color: var(--accent-deep);
}

.author-profile {
  margin-bottom: 12px;
}

.author-big {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.author-big.is-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-raise, #eee7db);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 1.2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}

form.inline input[type="text"] {
  width: 150px;
  font: inherit;
  font-size: 0.8rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: #fff;
  color: var(--ink);
  border-radius: 3px;
  padding: 3px 6px;
  margin-right: 4px;
}