/* Стили для rich-text (CKEditor5 HTML) — отображение на публичных страницах */

.rich-text p { margin-bottom: 1em; }
.rich-text p:last-child { margin-bottom: 0; }
.rich-text h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.75rem; font-weight: 600; color: #122218; margin: 1.5em 0 0.5em; }
.rich-text h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.375rem; font-weight: 600; color: #122218; margin: 1.25em 0 0.4em; }
.rich-text ul { list-style: none; padding: 0; margin-bottom: 1em; }
.rich-text ul li { padding-left: 1.4em; position: relative; margin-bottom: 0.4em; }
.rich-text ul li::before { content: '—'; position: absolute; left: 0; color: #B8934A; }
.rich-text ol { padding-left: 1.6em; margin-bottom: 1em; }
.rich-text ol li { margin-bottom: 0.4em; }
.rich-text a {
  color: #7A5333; font-weight: 500;
  text-decoration: underline; text-decoration-color: #B8934A;
  text-decoration-thickness: 2px; text-underline-offset: 3px;
  transition: color .15s;
}
.rich-text a:hover { color: #B8934A; }
/* на тёмных блоках (шапка, зелёные секции) — светлое золото */
[class*="bg-[#122218]"] .rich-text a, [class*="bg-[#1C3829]"] .rich-text a { color: #DFC283; }
[class*="bg-[#122218]"] .rich-text a:hover, [class*="bg-[#1C3829]"] .rich-text a:hover { color: #FAF7F0; }
.rich-text blockquote { border-left: 3px solid #B8934A; padding-left: 1.2em; color: #5E5B4F; font-style: italic; margin: 1.5em 0; }
.rich-text strong { color: #122218; font-weight: 600; }
