:root {
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --bg-card: #ffffff;
  --text: #1a1d29;
  --muted: #5b6178;
  --border: #e3e6ef;
  --primary: #4338ca;
  --primary-hover: #3730a3;
  --primary-soft: #eef0ff;
  --pdf: #dc2626;
  --pdf-soft: #fdecec;
  --img: #0284c7;
  --img-soft: #e6f4fb;
  --office: #1d6fb8;
  --office-soft: #e5eefb;
  --txt: #0f766e;
  --txt-soft: #e3f5f2;
  --ok: #15803d;
  --ok-soft: #e9f7ee;
  --danger: #b91c1c;
  --danger-soft: #fdecec;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 4px 16px rgba(16, 24, 40, .06);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1117;
    --bg-soft: #161925;
    --bg-card: #1b1f2d;
    --text: #e8eaf2;
    --muted: #a0a6bd;
    --border: #2b3042;
    --primary: #818cf8;
    --primary-hover: #a5b4fc;
    --primary-soft: #23264a;
    --pdf: #f87171;
    --pdf-soft: #3a1d22;
    --img: #38bdf8;
    --img-soft: #132b3a;
    --office: #7cb4f0;
    --office-soft: #16243a;
    --txt: #2dd4bf;
    --txt-soft: #12302c;
    --ok: #4ade80;
    --ok-soft: #14301f;
    --danger: #f87171;
    --danger-soft: #3a1d22;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 16px rgba(0, 0, 0, .25);
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); }
img, svg { max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); letter-spacing: -.01em; }
h3 { font-size: 1.1rem; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.icon { width: 24px; height: 24px; flex: none; }
.icon.tiny { width: 15px; height: 15px; vertical-align: -2px; }
.small { font-size: .875rem; color: var(--muted); }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 760px; }

/* ------------------------------------------------------------ header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--text); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.logo { display: inline-flex; }
.site-nav { display: flex; gap: 6px; }
.site-nav a { color: var(--text); font-weight: 600; padding: 8px 12px; border-radius: 10px; }
.site-nav a:hover, .site-nav a[aria-current] { background: var(--primary-soft); color: var(--primary); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .2s; }
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 16px 16px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; }
}

/* ------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; padding: 10px 18px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-card); color: var(--text); cursor: pointer; transition: background .15s, border-color .15s, transform .05s; text-decoration: none; }
.btn:hover { border-color: var(--primary); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; }
@media (prefers-color-scheme: dark) { .btn.primary { color: #0f1117; } }
.btn.primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn.big { padding: 14px 26px; font-size: 1.05rem; }
.btn.small { padding: 6px 12px; font-size: .875rem; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--text); border-color: var(--border); }
.btn.success { background: var(--ok); border-color: var(--ok); color: #fff; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 55%, transparent); outline-offset: 2px; }

/* ------------------------------------------------------------ hero */
.hero { background: radial-gradient(1200px 400px at 50% -10%, var(--primary-soft), transparent 70%); padding: 56px 0 36px; text-align: center; }
.hero h1 span { color: var(--primary); }
.hero .lead { margin: 0 auto 24px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.trust { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; color: var(--muted); font-size: .92rem; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust .icon { width: 18px; height: 18px; color: var(--ok); }
.page-head .trust { justify-content: flex-start; }

/* ------------------------------------------------------------ tool grid */
.tool-section { margin: 40px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2 { margin: 0; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin: 18px 0 28px; }
.tool-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); color: var(--text); transition: border-color .15s, box-shadow .15s, transform .15s; }
.tool-card:hover { text-decoration: none; border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.tool-card-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tool-card-body span { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.tool-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; flex: none; }
.cat-pdf .tool-icon, .tool-icon.cat-pdf { background: var(--pdf-soft); color: var(--pdf); }
.cat-image .tool-icon, .tool-icon.cat-image { background: var(--img-soft); color: var(--img); }
.cat-office .tool-icon, .tool-icon.cat-office { background: var(--office-soft); color: var(--office); }
.cat-text .tool-icon, .tool-icon.cat-text { background: var(--txt-soft); color: var(--txt); }
.tool-icon.big { width: 64px; height: 64px; border-radius: 18px; margin-bottom: 12px; }
.tool-icon.big .icon { width: 32px; height: 32px; }

/* ------------------------------------------------------------ features */
.features { margin: 48px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 18px; }
.feature { padding: 22px; background: var(--bg-soft); border-radius: var(--radius); }
.feature .icon { width: 30px; height: 30px; color: var(--primary); margin-bottom: 10px; }
.feature p { color: var(--muted); margin: 0; }
.home-about { margin: 40px 0 60px; max-width: 860px; }

/* ------------------------------------------------------------ page head */
.breadcrumbs ol { list-style: none; padding: 0; margin: 18px 0 8px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .875rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; }
.breadcrumbs a { color: var(--muted); }
.page-head { margin: 10px 0 26px; }
.tool-head { text-align: center; }
.tool-head .lead { margin: 0 auto; }

/* ------------------------------------------------------------ tool box */
.tool { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow); padding: 20px; margin-bottom: 32px; }
.dropzone { border: 2px dashed color-mix(in srgb, var(--primary) 45%, var(--border)); border-radius: 16px; background: var(--primary-soft); padding: 46px 20px; text-align: center; transition: background .15s, border-color .15s; cursor: pointer; }
.dropzone.drag { border-color: var(--primary); background: color-mix(in srgb, var(--primary-soft) 70%, var(--primary) 12%); }
.dropzone p { margin: 10px 0 0; color: var(--muted); }
.drop-icon { width: 46px; height: 46px; color: var(--primary); display: block; margin: 0 auto 14px; }
.workspace { display: flex; flex-direction: column; gap: 18px; }
.file-list { display: flex; flex-direction: column; gap: 8px; }
.file-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); }
.file-item.dragging { opacity: .5; }
.file-item.drop-target { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-soft); }
.file-thumb { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; background: var(--bg-soft); flex: none; display: flex; align-items: center; justify-content: center; color: var(--pdf); font-weight: 800; font-size: .72rem; }
.file-meta { flex: 1; min-width: 0; }
.file-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-size { font-size: .85rem; color: var(--muted); }
.file-actions { display: flex; gap: 4px; }
.icon-btn { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg-card); color: var(--text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; line-height: 1; padding: 0; }
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn.danger:hover { border-color: var(--danger); color: var(--danger); }
.drag-handle { cursor: grab; color: var(--muted); padding: 0 4px; user-select: none; }
.add-more { align-self: flex-start; }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 18px; padding: 16px; background: var(--bg-soft); border-radius: 14px; }
.options .hint, .options .bulk { grid-column: 1 / -1; margin: 0; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .92rem; font-weight: 600; }
.field span { display: flex; justify-content: space-between; gap: 8px; }
.field output { font-weight: 700; color: var(--primary); }
.field input[type=text], .field input[type=number], .field input[type=password], .field input[type=email], .field input[type=url], .field input[type=date], .field input[type=datetime-local], .field input[type=time], .field select { font: inherit; font-weight: 400; padding: 9px 11px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-card); color: var(--text); width: 100%; }
.field input[type=color] { width: 100%; height: 40px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-card); padding: 3px; }
.field input[type=range] { width: 100%; accent-color: var(--primary); }
.check { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; align-self: end; padding-bottom: 8px; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); }
.bulk { display: flex; flex-wrap: wrap; gap: 8px; }
.hint { color: var(--muted); font-size: .92rem; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: center; }
.progress { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.progress-bar { width: 100%; max-width: 480px; height: 10px; background: var(--bg-soft); border-radius: 99px; overflow: hidden; border: 1px solid var(--border); }
.progress-bar div { height: 100%; width: 0; background: var(--primary); transition: width .2s; }
.progress-text { font-size: .9rem; color: var(--muted); }
.error { background: var(--danger-soft); color: var(--danger); border-radius: 12px; padding: 12px 14px; font-weight: 600; }

/* page grid (organize/rotate/delete/extract) */
.page-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px; max-height: 620px; overflow: auto; padding: 4px; }
.page { position: relative; border: 2px solid var(--border); border-radius: 12px; background: var(--bg); padding: 8px 8px 6px; cursor: pointer; user-select: none; transition: border-color .15s, box-shadow .15s; }
.page:hover { border-color: color-mix(in srgb, var(--primary) 50%, var(--border)); }
.page .thumb { aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center; background: var(--bg-soft); border-radius: 6px; overflow: hidden; }
.page canvas { max-width: 100%; max-height: 100%; box-shadow: 0 1px 4px rgba(0,0,0,.18); transition: transform .2s; background: #fff; }
.page .num { text-align: center; font-size: .82rem; color: var(--muted); margin-top: 4px; font-weight: 600; }
.page .page-tools { display: flex; justify-content: center; gap: 4px; margin-top: 4px; }
.page .page-tools .icon-btn { width: 28px; height: 28px; font-size: .85rem; }
.page.selected { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.page.marked-delete { border-color: var(--danger); }
.page.marked-delete .thumb::after { content: "✕"; position: absolute; inset: 8px 8px auto 8px; aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--danger); background: color-mix(in srgb, var(--danger-soft) 75%, transparent); border-radius: 6px; }
.page .badge { position: absolute; top: 4px; right: 4px; background: var(--primary); color: #fff; border-radius: 99px; width: 24px; height: 24px; display: none; align-items: center; justify-content: center; font-size: .8rem; z-index: 2; }
.page.selected .badge { display: flex; }
.page.drop-target { border-color: var(--primary); border-style: dashed; }

/* results */
.results { display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; padding: 10px 0; }
.results h2 { margin: 0; }
.result-ok { display: inline-flex; width: 56px; height: 56px; border-radius: 50%; align-items: center; justify-content: center; background: var(--ok-soft); color: var(--ok); font-size: 1.8rem; }
.result-stats { color: var(--muted); }
.result-stats strong { color: var(--ok); }
.result-list { width: 100%; display: flex; flex-direction: column; gap: 8px; text-align: left; max-height: 460px; overflow: auto; }
.result-item { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); }
.result-item img { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; background: var(--bg-soft); }
.result-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.result-text { width: 100%; min-height: 320px; font: .92rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); color: var(--text); resize: vertical; }
.preview-canvas-wrap { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.preview-canvas-wrap figure { margin: 0; width: 150px; text-align: center; font-size: .8rem; color: var(--muted); }
.preview-canvas-wrap img { width: 150px; height: 150px; object-fit: contain; background: repeating-conic-gradient(var(--bg-soft) 0 25%, var(--bg) 0 50%) 0 0 / 16px 16px; border: 1px solid var(--border); border-radius: 10px; transition: transform .2s; }

/* ------------------------------------------------------------ content */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; margin: 10px 0 40px; }
@media (max-width: 900px) { .content-grid { grid-template-columns: 1fr; } }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose code { background: var(--bg-soft); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose blockquote { margin: 1.2em 0; padding: 4px 18px; border-left: 4px solid var(--primary); background: var(--bg-soft); border-radius: 0 10px 10px 0; }
.table-wrap { overflow-x: auto; margin: 1.2em 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: .94rem; }
.prose th, .prose td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-soft); }
.post header { margin: 10px 0 20px; }
.meta { color: var(--muted); font-size: .92rem; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; margin: 14px 0; min-height: 30px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.faq details { border: 1px solid var(--border); border-radius: 12px; padding: 0 16px; margin: 10px 0; background: var(--bg-card); }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--primary); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 14px; color: var(--muted); }
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.side-box { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; background: var(--bg-card); }
.side-box h2 { font-size: 1.05rem; margin-bottom: 12px; }
.related { display: flex; flex-direction: column; gap: 10px; }
.related .tool-card { padding: 10px; }
.related .tool-card span span, .related .tool-card-body span { display: none; }
.related .tool-icon { width: 36px; height: 36px; border-radius: 10px; }
.related .tool-card-body { justify-content: center; align-self: center; }
.privacy-box { background: var(--ok-soft); border-color: transparent; }
.privacy-box .icon { color: var(--ok); width: 30px; height: 30px; }
.privacy-box p { margin: 0; color: var(--muted); font-size: .94rem; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 18px 0 36px; }
.post-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); color: var(--text); transition: border-color .15s, box-shadow .15s; }
.post-card:hover { text-decoration: none; border-color: var(--primary); box-shadow: var(--shadow); }
.post-card strong { font-size: 1.08rem; line-height: 1.35; }
.post-card span { color: var(--muted); font-size: .94rem; }
.post-card time { color: var(--muted); font-size: .82rem; margin-top: auto; }
.more-posts { margin-bottom: 40px; }
.contact-card { padding: 20px; border-radius: var(--radius); background: var(--primary-soft); margin: 20px 0; }
.contact-card h2 { margin: 0 0 4px; font-size: 1.1rem; }
.contact-card p { margin: 0; font-size: 1.15rem; font-weight: 700; }
.center-page { text-align: center; padding: 40px 16px 60px; }
.center-page .lead { margin: 0 auto 20px; }

/* ------------------------------------------------------------ ads */
.ad-wrap { margin: 28px auto; text-align: center; min-height: 100px; }
.ad-label { display: block; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }

/* ------------------------------------------------------------ footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); margin-top: 40px; padding: 44px 0 20px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-about p { color: var(--muted); max-width: 320px; }
.site-footer h3 { font-size: .95rem; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer li a { color: var(--muted); }
.site-footer li a:hover { color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--border); margin-top: 30px; padding-top: 18px; color: var(--muted); }
.footer-bottom p { margin: 0; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------ SEO extras */
.toc { background: var(--bg-soft); border-radius: var(--radius); padding: 16px 20px; margin: 0 0 24px; }
.toc strong { display: block; margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin: 4px 0; }
.guide-links { list-style: none; padding: 0 !important; }
.guide-links li { margin: 0 0 12px; display: flex; flex-direction: column; }
.guide-links a { font-weight: 700; }
.guide-links span { color: var(--muted); font-size: .92rem; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0 0 40px; color: var(--muted); }
.prose h2[id], .prose h3[id] { scroll-margin-top: 80px; }

/* ------------------------------------------------------------ module tools */
.options .wide, .options .field.wide { grid-column: 1 / -1; }
.field textarea { font: .95rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 400; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg-card); color: var(--text); width: 100%; resize: vertical; }
.custom-ui { display: flex; flex-direction: column; gap: 14px; }
.result-extra { width: 100%; }
.footer-grid { grid-template-columns: 1.4fr repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ guide images */
.post-thumb { width: calc(100% + 40px); max-width: none; height: auto; margin: -20px -20px 6px; border-radius: var(--radius) var(--radius) 0 0; display: block; aspect-ratio: 1200 / 630; }
.post-card { overflow: hidden; }
.post-cover { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); margin: 0 0 22px; display: block; }
.post-figure { margin: 26px 0; }
.post-figure img { width: 100%; height: auto; display: block; border-radius: 16px; box-shadow: var(--shadow); }
.post-figure figcaption { font-size: .88rem; color: var(--muted); text-align: center; margin-top: 8px; }
.post-photo { margin: 0 0 22px; }
.post-photo .post-cover { margin: 0; }
.post-photo figcaption { font-size: .8rem; color: var(--muted); margin-top: 6px; text-align: right; }
.post-photo figcaption a { color: var(--muted); text-decoration: underline; }
