/* ==========================================================================
   Reviorum — content.css
   Block editor output inside .rv-entry (posts, plain pages). Scoped so Gutenberg
   classes (.wp-block-*, .has-*) keep their own core styles.
   ========================================================================== */

.rv-content-head { margin: var(--rv-s-6) 0; }
.rv-content-head__title { font-size: var(--rv-fs-h1); line-height: 1.1; font-weight: 800; }

.rv-content { padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); }

.rv-entry { font-size: 1.0625rem; line-height: 1.7; color: var(--rv-ink-2); }
.rv-entry > * + * { margin-top: 1.1em; }
.rv-entry h2,
.rv-entry h3,
.rv-entry h4 { color: var(--rv-ink); line-height: 1.25; margin-top: 1.8em; }
.rv-entry h2 { font-size: var(--rv-fs-h2); }
.rv-entry h3 { font-size: 1.25rem; }
.rv-entry p { margin-bottom: 0; }
.rv-entry ul,
.rv-entry ol { padding-left: 1.4em; }
.rv-entry li + li { margin-top: 0.4em; }
.rv-entry a { text-decoration: underline; text-underline-offset: 2px; }
.rv-entry blockquote { margin-inline: 0; padding: var(--rv-s-4) var(--rv-s-5); border-left: 4px solid var(--rv-accent); background: var(--rv-accent-soft); border-radius: 0 var(--rv-r-md) var(--rv-r-md) 0; }
.rv-entry figure { margin-inline: 0; }
.rv-entry img { border-radius: var(--rv-r-md); }
.rv-entry figcaption { font-size: var(--rv-fs-sm); color: var(--rv-muted); margin-top: var(--rv-s-2); }
.rv-entry table { width: 100%; border-collapse: collapse; font-size: var(--rv-fs-md); }
.rv-entry th,
.rv-entry td { padding: 10px 12px; border-bottom: 1px solid var(--rv-line); text-align: left; }
.rv-entry .wp-block-table { overflow-x: auto; }
.rv-entry pre { overflow-x: auto; padding: var(--rv-s-4); background: var(--rv-night); color: #fff; border-radius: var(--rv-r-md); font-size: var(--rv-fs-md); }
.rv-entry .rv-legal-template-note { padding: var(--rv-s-3) var(--rv-s-4); border-radius: var(--rv-r-md); background: var(--rv-warm); color: var(--rv-ink); }
