/* Shared typography for published descriptions and the visual content editor.
   Keep imported presentation layouts and explicit editor alignment intact. */
.description.format {
    --prose-ink:#28364a; --prose-muted:#58687c; --prose-link:#174b88;
    --prose-line:#dce4ed; --prose-soft:#f4f7fb; --prose-paper:#fff;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
    font-size:17px; line-height:1.75; color:var(--prose-ink);
    padding:24px clamp(0px,2vw,24px) 0; overflow-wrap:break-word;
}
.description.format :is(p,h1,h2,h3,h4,h5,h6,ul,ol,blockquote,pre,hr):not(:where(.gen-present *,.contacts *,#flow-wrapper *,.goods-grid *,.benefits *,.gallery *)) {
    max-width:760px; margin-inline:auto; box-sizing:border-box;
}
.description.format p:not(:where(.gen-present *,.contacts *,#flow-wrapper *,.goods-grid *,.benefits *,.gallery *)) {
    margin-block:0 1em; text-indent:0; text-align:start;
}
.description.format :is(h1,h2,h3,h4,h5,h6):not(:where(.gen-present *,.contacts *,#flow-wrapper *,.goods-grid *,.benefits *,.gallery *)) {
    font-family:inherit; font-weight:650; line-height:1.3; letter-spacing:-.025em;
    color:var(--prose-ink); margin-block:1.65em .65em; text-wrap:pretty;
}
.description.format h1{font-size:clamp(26px,3vw,34px)}
.description.format h2{font-size:clamp(23px,2.5vw,28px)}
.description.format h3{font-size:22px}.description.format h4{font-size:19px}
.description.format :is(h5,h6){font-size:17px}
.description.format>:first-child{margin-top:0}
.description.format :is(ul,ol):not(:where(.gen-present *,.contacts *,#flow-wrapper *,.goods-grid *,.benefits *,.gallery *)) {
    margin-block:.75em 1.25em; padding-inline-start:1.6em; list-style:disc outside;
}
.description.format ol:not(:where(.gen-present *,.contacts *,#flow-wrapper *,.goods-grid *,.benefits *,.gallery *)){list-style-type:decimal}
.description.format :is(ul,ol) :is(ul,ol){margin-block:.35em}
.description.format :is(ul,ol) li:not(:where(.gen-present *,.contacts *,#flow-wrapper *,.goods-grid *,.benefits *,.gallery *)){padding:0 0 0 .3em;margin-block:.35em}
.description.format ul li:not(:where(.gen-present *,.contacts *,#flow-wrapper *,.goods-grid *,.benefits *,.gallery *))::before{content:none}
.description.format li::marker{color:var(--prose-link)}
.description.format a:not(:where(.gen-present *,.goods-grid *)){color:var(--prose-link);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.description.format a:hover{text-decoration-thickness:2px}
.description.format a:focus-visible{outline:2px solid var(--prose-link);outline-offset:3px;border-radius:2px}
.description.format blockquote{border:0;border-inline-start:3px solid var(--prose-link);background:var(--prose-soft);padding:16px 22px;margin-block:1.5em;color:var(--prose-muted);border-radius:0 8px 8px 0}
.description.format blockquote p:last-child{margin-bottom:0}
.description.format table:not(:where(.gen-present *,.contacts *)){width:100%;border-collapse:collapse;border:1px solid var(--prose-line);margin-block:1.5em;font-size:.94em;line-height:1.55}
.description.format table tr :is(td,th):not(:where(.gen-present *,.contacts *)){border:1px solid var(--prose-line);padding:12px 16px;vertical-align:top;text-align:start}
.description.format table th:not(:where(.gen-present *,.contacts *)){background:var(--prose-soft);font-weight:650}
.description.format table tbody tr:nth-child(even):not(:where(.gen-present *,.contacts *)){background:var(--prose-soft)}
.description.format caption{caption-side:bottom;color:var(--prose-muted);font-size:.85em;padding:10px;text-align:start}
.description.format :is(code,kbd){font: .88em/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;background:var(--prose-soft);padding:.15em .35em;border-radius:4px}
.description.format pre{padding:18px 22px;background:var(--prose-soft);border:1px solid var(--prose-line);border-radius:8px;overflow:auto;line-height:1.6}
.description.format pre code{padding:0;background:none}
.description.format hr{border:0;border-top:1px solid var(--prose-line);margin-block:2em}
.description.format img{max-width:100%;height:auto}.description.format figure{max-width:100%;margin:1.5em 0}
.description.format figcaption{color:var(--prose-muted);font-size:.85em;text-align:center;margin-top:8px}
.description.format mark{background:#fff0b4;color:#453b1c;padding:.1em .2em;border-radius:3px}
.description.format .gen-present{color:#28364a}
/* Only editor documents receive admin colours; the storefront remains light. */
html[data-admin-theme=dark] .description.format{--prose-ink:#e1e8f2;--prose-muted:#b0bfd1;--prose-link:#91bff6;--prose-line:#3b4b61;--prose-soft:#253348;--prose-paper:#192536;background:var(--prose-paper);color-scheme:dark}
@media(max-width:600px){.description.format{font-size:16px;line-height:1.7;padding-inline:0}.description.format table :is(td,th){padding:9px 11px}.description.format blockquote{padding:13px 16px}.description.format .contacts{min-width:0}}
