@import './page-blocks.css';
/* Core content layout. Zero specificity lets themes override defaults without !important.
   Explicit, validated editor colours are inline and take precedence over theme defaults. */
:where(.ct-rich-text) { overflow-wrap:anywhere; }
:where(.ct-rich-text table) { width:100%; border-collapse:collapse; margin:1.25rem 0; }
:where(.ct-rich-text th,.ct-rich-text td) { padding:.65rem .8rem; border:1px solid color-mix(in srgb,currentColor 20%,transparent); text-align:start; vertical-align:top; }
:where(.ct-rich-text caption) { padding:.65rem; text-align:center; }
:where(.ct-rich-text figure) { margin:1.25rem auto; max-width:100%; }
:where(.ct-rich-text figure[data-align="left"]) { margin-inline-start:0; }
:where(.ct-rich-text figure[data-align="right"]) { margin-inline-end:0; }
:where(.ct-rich-text figure[data-size="small"]) { width:30%; }
:where(.ct-rich-text figure[data-size="medium"]) { width:55%; }
:where(.ct-rich-text figure[data-size="large"]) { width:80%; }
:where(.ct-rich-text figure[data-size="full"]) { width:100%; }
:where(.ct-rich-text figure img) { display:block; width:100%; max-width:100%; }
:where(.ct-rich-text figcaption) { margin-top:.6rem; text-align:center; font-size:.9em; }
:where(.ct-rich-text hr) { margin:1.5rem 0; border:0; border-top:1px solid color-mix(in srgb,currentColor 25%,transparent); }
:where(.ct-rich-text [data-page-block="gallery"]) { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(12rem,100%),1fr)); gap:1rem; margin:1.25rem 0; }
:where(.ct-rich-text [data-page-block="gallery"] > figure) { width:100%; margin:0; }
:where(.ct-rich-text [data-page-block="gallery"] > figure > img) { width:100%; height:var(--ct-page-gallery-height,15rem); object-fit:cover; }
:where(.ct-rich-text [data-page-block="image-text"]) { display:grid; grid-template-columns:1fr 1fr; gap:1.25rem; align-items:center; margin:1.25rem 0; }
:where(.ct-rich-text [data-page-block="image-text"] > figure) { width:100%; margin:0; }
:where(.ct-rich-text [data-page-block="image-text"] > blockquote) { border:0; padding:0; margin:0; color:inherit; }
:where(.ct-rich-text [data-page-block="note"]) { padding:1rem 1.25rem; margin:1.25rem 0; border-inline-start:4px solid; border-radius:.5rem; }
:where(.ct-rich-text a[data-page-block="button"]) { display:inline-block; max-width:100%; box-sizing:border-box; border:1px solid; border-radius:.55rem; padding:.75rem 1.15rem; text-decoration:none; transition:filter .16s,transform .16s; }
:where(.ct-rich-text a[data-page-block="button"]:hover) { transform:translateY(-1px); }
:where(.ct-rich-text a[data-page-block="button"][data-page-width],.ct-rich-text a[data-page-block="button"][data-page-height]) { display:inline-flex; align-items:center; justify-content:center; max-width:100%; box-sizing:border-box; white-space:normal; overflow-wrap:anywhere; vertical-align:middle; }
:where(.ct-rich-text [data-page-border-color]) { border:1px solid; padding:1rem; border-radius:.55rem; }
:where(.ct-rich-text [data-page-block] figcaption,.ct-rich-text [data-page-block] blockquote) { color:inherit; }
:where(.ct-page-contents) { padding:1rem 1.25rem; margin:1.25rem 0; border:1px solid color-mix(in srgb,currentColor 20%,transparent); border-radius:.75rem; }
:where(.ct-page-contents h2) { font-size:1.1em; margin:0 0 .75rem; }
:where(.ct-page-contents ul) { margin:0; padding-inline-start:1.25rem; }
:where(.ct-page-contents li) { margin-block:.5rem; }
:where(.ct-page-contents summary) { cursor:pointer; font-weight:600; }
:where(.ct-page-contents [open] > summary) { margin-bottom:1rem; }
:where(.ct-page-contents [data-heading-level="3"]) { margin-inline-start:.65rem; }
:where(.ct-page-contents [data-heading-level="4"]) { margin-inline-start:1.3rem; }
:where(.ct-page-document-layout) { display:grid; grid-template-columns:minmax(0,1fr) minmax(12rem,16rem); gap:2rem; align-items:start; }
:where(.ct-page-document-layout[data-toc-position="left"]) { grid-template-columns:minmax(12rem,16rem) minmax(0,1fr); }
:where([data-toc-position="left"] > .ct-page-document-navigation) { order:-1; }
:where(.ct-page-document-body) { min-width:0; }
:where(.ct-page-document-navigation) { position:sticky; top:1rem; max-height:calc(100dvh - 2rem); overflow:auto; }
:where(.ct-page-document-navigation .ct-page-contents) { margin:0; }
:where(.ct-rich-text [id^="page-heading-"]) { scroll-margin-top:2rem; }
:where([data-faq-items]) { display:grid; gap:.75rem; margin:1.5rem 0; }
:where([data-faq-items] > h2) { font-size:1.4em; line-height:1.35; margin:1.25rem 0 .25rem; }
:where([data-faq-items] > h2:first-child) { margin-top:0; }
:where([data-faq-item]) { border:1px solid color-mix(in srgb,currentColor 20%,transparent); border-radius:.65rem; overflow:hidden; }
:where([data-faq-item] > summary) { cursor:pointer; padding:1rem 1.25rem; transition:background-color .16s; }
:where([data-faq-item] > summary:hover) { background:color-mix(in srgb,currentColor 5%,transparent); }
:where([data-faq-item] > div) { padding:.25rem 1.25rem 1.25rem; }
:where([data-faq-item] > div > :first-child) { margin-top:0; }
:where([data-faq-item] > div > :last-child) { margin-bottom:0; }
@media(max-width:800px) {
    :where(.ct-page-document-layout,.ct-page-document-layout[data-toc-position="left"]) { display:flex; flex-direction:column; }
    :where(.ct-page-document-navigation) { order:-1; position:static; max-height:18rem; width:100%; }
}
@media(max-width:600px) {
    :where(.ct-rich-text figure[data-size]) { width:100%; }
    :where(.ct-rich-text table) { display:block; overflow-x:auto; }
    :where(.ct-rich-text [data-page-block="image-text"]) { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) {
    :where(.ct-rich-text a[data-page-block="button"],[data-faq-item] > summary) { transition:none; transform:none; }
}
