/* ── Quill Editor Container ──────────────────────────────── */

.editor-fallback-textarea {
  width: 100%;
  min-height: 360px;
  padding: 16px 18px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--card-bg);
  color: var(--text);
  font: inherit;
  line-height: 1.7;
  resize: vertical;
  box-sizing: border-box;
}

.editor-fallback-textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.editor-container {
  position: relative;
  border: 2px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card-bg);
  transition: border-color .2s;
}
.editor-container:focus-within {
  border-color: var(--accent);
}

/* Quill toolbar стилизация */
.editor-container .ql-toolbar.ql-snow {
  border: none;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  padding: 8px 12px;
}
.editor-container .ql-toolbar button {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  margin-right: 2px;
}
.editor-container .ql-toolbar button:hover,
.editor-container .ql-toolbar button.ql-active,
.editor-container .ql-toolbar .ql-picker-label:hover,
.editor-container .ql-toolbar .ql-picker-label.ql-active {
  background: rgba(255, 255, 255, 0.08);
}
.editor-container .ql-toolbar .ql-stroke {
  stroke: var(--text);
}
.editor-container .ql-toolbar .ql-fill {
  fill: var(--text);
}
.editor-container .ql-toolbar .ql-picker-label {
  color: var(--text);
}
.editor-container .ql-toolbar .ql-picker-label::before,
.editor-container .ql-toolbar .ql-picker-item::before {
  color: var(--text);
}
.editor-container .ql-toolbar .ql-picker-options {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
}
.editor-container .ql-toolbar .ql-picker-item:hover {
  background: rgba(255, 255, 255, 0.06);
}
.editor-container .ql-toolbar button:hover .ql-stroke,
.editor-container .ql-toolbar button.ql-active .ql-stroke {
  stroke: var(--accent);
}
.editor-container .ql-toolbar button:hover .ql-fill,
.editor-container .ql-toolbar button.ql-active .ql-fill {
  fill: var(--accent);
}
.editor-container .ql-toolbar button:hover,
.editor-container .ql-toolbar button.ql-active {
  color: var(--accent);
}

.post-editor-page {
  max-width: 1180px;
  padding-top: 28px;
  padding-bottom: 56px;
}
.post-editor-hero {
  margin-bottom: 24px;
  padding: 30px 34px;
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: 24px;
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.18), transparent 38%), linear-gradient(135deg, rgba(17, 24, 39, 0.94), rgba(15, 23, 42, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}
.post-editor-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.14);
  color: #c7d2fe;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.post-editor-title {
  margin: 16px 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  font-weight: 800;
}
.post-editor-subtitle {
  max-width: 760px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}
.post-editor-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.post-editor-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
}
.post-editor-pill--accent {
  color: #fff;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.95), rgba(59, 130, 246, 0.9));
  border-color: transparent;
}
.post-editor-form-card {
  display: block;
  padding: 26px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.72));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26);
}
.post-editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.9fr);
  gap: 24px;
}
.post-editor-main {
  min-width: 0;
}
.post-editor-field {
  margin-bottom: 18px;
}
.post-editor-field .form-control {
  border-radius: 14px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.04);
}
.post-editor-field select.form-control {
  color: var(--text);
  appearance: auto;
}
.post-editor-field select.form-control.form-control--category {
  min-height: 48px;
  padding: 11px 14px;
  line-height: 1.35;
}
.post-editor-field select.form-control option {
  color: #111827;
  background: #ffffff;
  padding: 8px 10px;
}
.post-editor-settings-row {
  display: block;
  margin-bottom: 18px;
}
.post-editor-flags {
  display: grid;
  gap: 12px;
}
.post-editor-flags--compact {
  grid-template-columns: repeat(auto-fit, minmax(220px, max-content));
  gap: 10px;
  margin-bottom: 18px;
}
.post-editor-caption--category {
  margin-top: 10px;
  margin-bottom: 0;
}
.post-editor-category-note {
  min-height: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  padding: 13px 16px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
}
.post-editor-flag {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}
.post-editor-flag--compact {
  padding: 10px 12px;
  border-radius: 12px;
  gap: 8px;
}
.post-editor-flag input {
  margin-top: 3px;
}
.post-editor-flag--compact input {
  margin-top: 2px;
  transform: scale(0.95);
}
.post-editor-flag span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.post-editor-flag--compact span {
  gap: 2px;
}
.post-editor-flag strong {
  font-size: 0.92rem;
}
.post-editor-flag--compact strong {
  font-size: 0.85rem;
}
.post-editor-flag small {
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.45;
}
.post-editor-flag--compact small {
  font-size: 0.74rem;
  line-height: 1.35;
}
.post-editor-field textarea.form-control {
  min-height: 110px;
  resize: vertical;
}
.post-editor-caption {
  margin: 8px 0 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}
.post-editor-caption--bottom {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 0.84rem;
}
.post-editor-error {
  margin-top: 8px;
  color: #f87171;
  font-size: 0.84rem;
}
.post-editor-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.post-editor-sidecard {
  padding: 20px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.post-editor-sidecard h3 {
  margin: 0 0 12px;
  font-size: 1rem;
}
.post-editor-sideitem {
  position: relative;
  padding-left: 16px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}
.post-editor-sideitem + .post-editor-sideitem {
  margin-top: 10px;
}
.post-editor-sideitem::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.post-editor-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* Quill editor area */
.editor-container .ql-container.ql-snow {
  border: none;
  font-size: 1.05rem;
  font-family: inherit;
}
.editor-container .ql-editor {
  min-height: 600px;
  max-height: none;
  padding: 24px 28px;
  line-height: 1.75;
  color: var(--text);
}
.editor-container .ql-editor.ql-blank::before {
  color: var(--text-muted);
  font-style: normal;
}

/* Quill content — заголовки, цитаты, списки */
.editor-container .ql-editor h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1.2em 0 .5em;
}
.editor-container .ql-editor h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1em 0 .4em;
}
.editor-container .ql-editor blockquote {
  border-left: 4px solid var(--accent);
  margin: 1em 0;
  padding: 8px 16px;
  color: var(--text-muted);
  background: var(--bg);
  border-radius: 0 8px 8px 0;
}
.editor-container .ql-editor img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
  margin: 8px 0;
  display: block;
}
.editor-container .ql-editor hr {
  border: none;
  border-top: 2px solid var(--border);
  margin: 2em 0;
}
.editor-container .ql-editor a {
  color: var(--accent);
  text-decoration: underline;
}
.editor-container .ql-editor iframe {
  display: block;
  width: 100%;
  min-height: 260px;
  margin: 1em 0;
  border: 0;
  border-radius: 14px;
  background: #000;
}

/* Кастомный Video embed blot внутри редактора */
.ql-video-wrapper {
  position: relative;
  width: 100%;
  min-height: 260px;
  aspect-ratio: 16 / 9;
  margin: 1em 0;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
.ql-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Drop overlay */
.editor-drop-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .08);
  border: 3px dashed var(--accent);
  border-radius: 12px;
  z-index: 20;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  pointer-events: none;
}

/* ── Blog list page ──────────────────────────────────────── */

.blog-search-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.blog-search-bar input {
  flex: 1;
  padding: 10px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--text);
  font-size: .95rem;
}
.blog-search-bar input:focus {
  outline: none;
  border-color: var(--accent);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.blog-card-cover {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg);
}
.blog-card-cover-placeholder {
  width: 100%;
  height: 120px;
  background: linear-gradient(135deg, var(--accent), var(--accent-alt, #2D9CDB));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.blog-card-body {
  padding: 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-meta {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.blog-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}
.blog-card-title a {
  color: var(--text);
  text-decoration: none;
}
.blog-card-title a:hover {
  color: var(--accent);
}
.blog-card-summary {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  font-size: .82rem;
  color: var(--text-muted);
}

/* ── Blog detail page ────────────────────────────────────── */

.article-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 16px 56px;
}
.article-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-hero-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 28px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}
.article-content-card,
.article-feedback-card {
  padding: 28px 30px;
  border-radius: 24px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}
.article-shell {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.article-hero-card--plain {
  min-height: 0;
}
.article-hero-cover {
  position: absolute;
  inset: 0;
}
.article-hero-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 16, 0.14) 0%, rgba(10, 12, 18, 0.18) 24%, rgba(9, 11, 16, 0.48) 52%, rgba(8, 10, 14, 0.82) 82%, rgba(6, 8, 12, 0.95) 100%);
}
.article-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 30px;
}
.article-hero-card--plain .article-hero-inner {
  min-height: 0;
}
.article-hero-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: auto;
}
.article-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.article-hero-topbar .btn,
.article-hero-actions .btn {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(12, 14, 20, 0.58);
  color: #f8fafc;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.26);
  backdrop-filter: blur(12px);
}
.article-hero-topbar .btn:hover,
.article-hero-actions .btn:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(24, 26, 34, 0.88);
  color: #ffffff;
}
.article-hero-header {
  max-width: 760px;
}
.article-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}
.article-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 700;
}
.article-badge--accent {
  background: rgba(99, 102, 241, 0.16);
  color: #c7d2fe;
}
.article-badge--muted {
  background: rgba(245, 158, 11, 0.15);
  color: #fcd34d;
}
.article-header {
  margin-bottom: 0;
}
.article-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 14px;
}
.article-lead {
  margin: 0 0 22px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
}
.article-lead--inline {
  margin-bottom: 26px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .92rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.article-meta .author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-alt, #60a5fa));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .95rem;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.26);
}
.article-meta-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.article-meta-line {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.article-content-card {
  overflow: hidden;
}
.article-body {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--text);
}
.article-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2em 0 .5em;
}
.article-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5em 0 .4em;
}
.article-body p {
  margin: 0 0 1.2em;
}
.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
  margin: 16px 0;
  cursor: zoom-in;
}

/* ── Lightbox ─────────────────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lightbox-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-overlay__img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
  transform: scale(0.94);
  transition: transform 0.22s ease;
  cursor: default;
}
.lightbox-overlay.open .lightbox-overlay__img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.65;
  padding: 4px 10px;
  border-radius: 6px;
  transition: opacity 0.15s, background 0.15s;
}
.lightbox-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
}
.article-body blockquote {
  border-left: 4px solid var(--accent);
  padding: 10px 20px;
  margin: 1.2em 0;
  background: var(--bg);
  border-radius: 0 8px 8px 0;
  color: var(--text-muted);
}
.article-body ul, .article-body ol {
  margin: 0 0 1.2em 1.5em;
}
.article-body hr {
  border: none;
  border-top: 2px solid var(--border);
  margin: 2em 0;
}
.article-body a {
  color: var(--accent);
}
.article-external-box {
  margin-top: 24px;
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
.article-external-box p {
  margin: 0 0 14px;
  color: var(--text-muted);
}
.article-body .video-embed,
.article-body .ql-video-wrapper,
.article-body iframe {
  position: relative;
  width: 100%;
  min-height: 260px;
  aspect-ratio: 16 / 9;
  margin: 1.2em 0;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}
.article-body .video-embed iframe,
.article-body .ql-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.article-feedback-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.article-feedback-title {
  font-size: 1rem;
  font-weight: 700;
}
.article-feedback-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.article-feedback-note {
  margin-top: 6px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-muted);
}
.article-viewers {
  margin-top: 6px;
  justify-content: center;
}
.article-back-row {
  margin-top: 2px;
}

@media (max-width: 980px) {
  .post-editor-grid {
    grid-template-columns: 1fr;
  }

  .post-editor-settings-row {
    grid-template-columns: 1fr;
  }

  .article-hero-topbar {
    flex-direction: column;
  }

  .article-hero-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .post-editor-hero,
  .post-editor-form-card,
  .article-content-card,
  .article-feedback-card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .article-feedback-card {
    justify-content: center;
    text-align: center;
  }

  .article-meta {
    align-items: flex-start;
  }

  .article-hero-card {
    min-height: 360px;
  }

  .article-hero-inner {
    min-height: 360px;
    padding: 22px 18px;
  }
}

/* ── Link dialog ─────────────────────────────────────────── */
.editor-dialog-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.editor-dialog-overlay.open {
  display: flex;
}
.editor-dialog {
  background: linear-gradient(180deg, rgba(15,23,42,0.98), rgba(17,24,39,0.98));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 24px;
  min-width: 420px;
  max-width: min(92vw, 760px);
  box-shadow: 0 22px 70px rgba(0,0,0,.45);
}
.editor-dialog h3 {
  margin: 0 0 16px;
  font-size: 1.1rem;
}
.editor-dialog input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font-size: .95rem;
  margin-bottom: 10px;
  box-sizing: border-box;
}
.editor-dialog input:focus {
  outline: none;
  border-color: var(--accent);
}
.editor-dialog-status {
  margin-bottom: 12px;
  font-size: 0.84rem;
  color: var(--text-muted);
}
.editor-dialog-preview {
  position: relative;
  min-height: 210px;
  margin-bottom: 16px;
  border-radius: 14px;
  border: 1px dashed rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.editor-dialog-preview.is-ready {
  border-style: solid;
}
.editor-dialog-preview iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.editor-dialog-preview__placeholder {
  color: var(--text-muted);
  font-size: 0.88rem;
  text-align: center;
  padding: 24px;
}
.editor-dialog-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.post-preview-overlay {
  overflow-y: auto;
  padding: 24px 16px;
}
.post-preview-dialog {
  width: min(1100px, 96vw);
  margin: auto;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(180deg, rgba(15,23,42,0.99), rgba(17,24,39,0.99));
  box-shadow: 0 28px 80px rgba(0,0,0,0.42);
  padding: 20px;
}
.post-preview-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.post-preview-dialog__header h3 {
  margin: 0;
  font-size: 1.1rem;
}
.post-preview-dialog__body {
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  padding-right: 4px;
}
.article-container--preview {
  max-width: 100%;
  padding: 0;
}
.article-preview-cover-hidden {
  display: none;
}
