/**
 * Public site — styled HTML from rich editor (not admin).
 */
.rich-content,
.service-content {
    line-height: 1.75;
    color: var(--text-primary, #e8eaed);
    font-size: 1rem;
}

.rich-content h1,
.rich-content h2,
.rich-content h3,
.rich-content h4,
.service-content h1,
.service-content h2,
.service-content h3,
.service-content h4 {
    margin: 1.5rem 0 0.75rem;
    color: var(--text-primary, #fff);
    line-height: 1.3;
}

.rich-content h1:first-child,
.rich-content h2:first-child,
.service-content h1:first-child { margin-top: 0; }

.rich-content h1, .service-content h1 { font-size: 2rem; }
.rich-content h2, .service-content h2 { font-size: 1.6rem; }
.rich-content h3, .service-content h3 { font-size: 1.35rem; }
.rich-content h4, .service-content h4 { font-size: 1.15rem; }

.rich-content p,
.service-content p { margin: 0 0 1rem; }

.rich-content ul,
.rich-content ol,
.service-content ul,
.service-content ol {
    margin: 0 0 1rem;
    padding-left: 1.5rem;
}

.rich-content li,
.service-content li { margin-bottom: 0.35rem; }

.rich-content a,
.service-content a {
    color: var(--cyan, #00d4ff);
    text-decoration: underline;
}

.rich-content blockquote,
.service-content blockquote {
    margin: 1.25rem 0;
    padding: 0.75rem 1rem;
    border-left: 3px solid var(--cyan, #00d4ff);
    color: var(--text-secondary, #9aa0a6);
    font-style: italic;
}

.rich-content code,
.service-content code {
    font-family: ui-monospace, monospace;
    font-size: 0.9em;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.15em 0.4em;
    border-radius: 4px;
}

.rich-content pre,
.service-content pre {
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 8px;
    overflow-x: auto;
}

.rich-content pre code,
.service-content pre code {
    background: none;
    padding: 0;
}

.rich-content img,
.rich-content-image,
.service-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.25rem auto;
    display: block;
}

.rich-content strong,
.service-content strong { font-weight: 700; }
