/* Persisted content uses attributes, with the same typography in editor and public. */
@font-face{font-family:Poppins;src:url('/assets/fonts/Poppins-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Poppins;src:url('/assets/fonts/Poppins-SemiBold.ttf') format('truetype');font-weight:600 800;font-display:swap}
:is(.rich-editor,.content-prose) div[data-content-block]{box-sizing:border-box;min-width:0;margin:28px 0;padding:27px 29px;border:1px solid #d8e6ef;border-radius:12px;background:#fff;color:#29495e;font-family:Poppins,'Segoe UI',Arial,sans-serif;font-size:16px;font-weight:400;line-height:1.85;overflow-wrap:anywhere}
:is(.rich-editor,.content-prose) div[data-content-block] :is(p,li,td,th,blockquote,div[data-block-card]){font-family:inherit;font-size:inherit;line-height:inherit}
:is(.rich-editor,.content-prose) div[data-content-block] h2{font-family:Poppins,'Segoe UI',Arial,sans-serif;font-size:25px;line-height:1.4;letter-spacing:-.025em;color:#194c6c;font-weight:600;margin:0 0 16px;scroll-margin-top:125px}
:is(.rich-editor,.content-prose) div[data-content-block] h3{font-family:Poppins,'Segoe UI',Arial,sans-serif;font-size:19px;line-height:1.5;letter-spacing:-.015em;color:#205f81;font-weight:600;margin:0 0 12px}
:is(.rich-editor,.content-prose) div[data-content-block] h4{font-family:Poppins,'Segoe UI',Arial,sans-serif;font-size:17px;line-height:1.5;color:#205f81;margin:20px 0 10px}
:is(.rich-editor,.content-prose) div[data-content-block] p{margin:12px 0}
:is(.rich-editor,.content-prose) div[data-content-block] :is(ul,ol){margin:12px 0;padding-left:23px}
:is(.rich-editor,.content-prose) div[data-content-block] li{margin:7px 0}
:is(.rich-editor,.content-prose) div[data-content-block] a{color:#086fa6;text-underline-offset:3px}
:is(.rich-editor,.content-prose) div[data-content-block] :is(a,button):focus-visible{outline:3px solid #bd7900;outline-offset:4px}
:is(.rich-editor,.content-prose) div[data-content-block] table{box-sizing:border-box;width:100%;max-width:100%;display:block;overflow:auto;border-collapse:collapse;border-radius:7px;font-size:14px;line-height:1.65;margin:17px 0}
:is(.rich-editor,.content-prose) div[data-content-block] :is(td,th){border:1px solid #d5e3ec;padding:11px 13px;font-size:14px;line-height:1.65;text-align:left}
:is(.rich-editor,.content-prose) div[data-content-block] th{font-weight:600;background:#eaf4fa}
:is(.rich-editor,.content-prose) div[data-content-block] tr:nth-child(even) td{background:#f8fbfd}
:is(.rich-editor,.content-prose) div[data-content-block] :is(p,ul,ol,table):last-child{margin-bottom:0}
:is(.rich-editor,.content-prose) div[data-content-block] img{max-width:100%;height:auto;border-radius:8px;margin:18px 0}
:is(.rich-editor,.content-prose) div[data-content-block="download"]{background:#eff7fc;border-color:#c7e0ef;border-top:4px solid #1681b8}
:is(.rich-editor,.content-prose) div[data-content-block="download"] p>a[href^="/dokumenty/"]{display:inline-flex;gap:11px;align-items:center;max-width:100%;padding:11px 16px;border:1px solid #c0dced;border-radius:7px;background:#fff;font-size:14px;line-height:1.6;font-weight:600;text-decoration:none;color:#14658e}
:is(.rich-editor,.content-prose) div[data-content-block="download"] p>a[href^="/dokumenty/"]::before{content:'PDF';display:inline-block;flex-shrink:0;font-size:10px;line-height:1;padding:6px 5px;border:1px solid #aacfe4;border-radius:4px;color:#2b759b;background:#f1f8fc;letter-spacing:.03em}
:is(.rich-editor,.content-prose) div[data-content-block="download"] p>a[href^="/dokumenty/"]:hover{border-color:#68aad0;background:#f8fcff}
:is(.rich-editor,.content-prose) div[data-content-block="notice"]{border-color:#e5d5b2;border-left:4px solid #b88729;background:#fffaf0}
:is(.rich-editor,.content-prose) div[data-content-block="notice"] h2{color:#755421}
:is(.rich-editor,.content-prose) div[data-content-block="cards"]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:0;border:0;border-radius:0;background:transparent}
:is(.rich-editor,.content-prose) div[data-content-block="cards"]>h2{grid-column:1/-1;margin-bottom:0}
:is(.rich-editor,.content-prose) div[data-content-block="cards"]>:not([data-block-card]){grid-column:1/-1}
:is(.rich-editor,.content-prose) div[data-content-block="cards"]>div[data-block-card="1"]{min-width:0;border:1px solid #d8e6ef;border-radius:12px;padding:24px;background:#f7fbfd}
/* Odd final card spans the row; editor controls do not affect the count. */
:is(.rich-editor,.content-prose) div[data-content-block="cards"]>div[data-block-card="1"]:nth-child(odd of div[data-block-card="1"]):nth-last-child(1 of div[data-block-card="1"]){grid-column:1/-1}

/* Authoring chrome is excluded from saved content. */
.page-blocks-workspace{border:1px solid #cddfea;border-radius:11px;background:#f4f9fc;padding:18px 20px;margin:20px 0;color:#31566c;font-family:'Segoe UI',Arial,sans-serif}
.page-blocks-workspace[hidden],.page-blocks-workspace [hidden]{display:none!important}
.page-blocks-intro{display:flex;align-items:center;gap:24px;justify-content:space-between}
.page-blocks-intro h3{margin:0 0 7px;font-size:16px;color:#245574}
.page-blocks-intro p{font-size:12px;line-height:1.7;margin:0;max-width:650px}
.page-blocks-buttons{display:flex;flex-wrap:wrap;gap:8px;flex-shrink:0}
.page-blocks-buttons .button{font-size:12px;white-space:nowrap;min-height:38px;padding:9px 12px}
.page-blocks-footer{display:flex;gap:20px;align-items:center;justify-content:space-between;margin-top:13px;padding-top:12px;border-top:1px solid #dce9f1}
.page-blocks-footer p{font-size:12px;line-height:1.6;margin:0}
.page-blocks-footer button{border:0;background:none;text-decoration:underline;text-underline-offset:3px;color:#17678e;padding:5px 0;font-size:12px;white-space:nowrap;cursor:pointer}
.rich-editor div[data-content-block]>.page-block-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:9px 0 12px;margin:0 0 17px;border-bottom:1px dashed #c5dae7;font:12px/1.4 'Segoe UI',Arial,sans-serif;user-select:none;color:#446e87}
.rich-editor div[data-content-block="cards"]>.page-block-actions{grid-column:1/-1;margin:0;padding:8px 0 10px}
.rich-editor div[data-content-block]>.page-block-actions .page-block-kind{font:600 11px/1.4 'Segoe UI',Arial,sans-serif;letter-spacing:.025em;margin-right:auto;padding:5px 6px 5px 0;color:#55758a}
.rich-editor div[data-content-block]>.page-block-actions button{font:12px/1.4 'Segoe UI',Arial,sans-serif;border:1px solid #bed4e2;border-radius:5px;color:#2a6789;background:#fff;padding:6px 9px;cursor:pointer;white-space:nowrap}
.rich-editor div[data-content-block]>.page-block-actions button:hover{background:#e9f5fc;border-color:#7cb5d6}
.rich-editor div[data-content-block]>.page-block-actions button:disabled{opacity:.4;cursor:default}
.rich-editor div[data-content-block]>.page-block-actions button[data-block-action="remove"]{color:#a34141}
.rich-editor div[data-content-block="cards"]>div[data-block-card="1"]>.page-block-card-actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:0 0 17px;padding:0 0 11px;border-bottom:1px dashed #c7dce8;user-select:none;font:12px/1.4 'Segoe UI',Arial,sans-serif}
.rich-editor .page-block-card-actions button{font:11px/1.4 'Segoe UI',Arial,sans-serif;border:1px solid #c8dce8;border-radius:5px;background:white;color:#39748f;padding:5px 8px;cursor:pointer}
.rich-editor .page-block-card-actions button:hover{background:#eaf5fb;border-color:#8cbcd5}
.rich-editor .page-block-card-actions button:disabled{opacity:.4;cursor:default}
.rich-editor .page-block-card-actions button[data-block-action="card-remove"]{margin-left:auto;color:#a34141}
.rich-editor div[data-content-block] p:empty::before,.rich-editor div[data-content-block] p:has(>br:only-child)::before{content:'Doplňte text…';color:#7d94a2;font-style:italic;pointer-events:none}
.page-block-dialog{box-sizing:border-box;width:min(590px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;padding:28px;border:1px solid #c9dce8;border-radius:14px;color:#2e5167;background:#fff;box-shadow:0 20px 80px #153d5a38;font:14px/1.75 'Segoe UI',Arial,sans-serif}
.page-block-dialog::backdrop{background:#183c59a6}
.page-block-dialog h2{font-family:Poppins,'Segoe UI',Arial,sans-serif;color:#1e536f;font-size:23px;line-height:1.4;margin:0 0 14px}
.page-block-dialog p{margin:10px 0 18px}
.page-block-dialog-heading{display:flex;align-items:start;justify-content:space-between;gap:18px;margin-bottom:17px}
.page-block-dialog-heading h2{margin-bottom:0}
.page-block-dialog-heading .page-block-eyebrow{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#6b899b;margin:0 0 6px}
.page-block-dialog-heading>button{border:0;background:#f1f6f9;border-radius:6px;color:#517187;padding:0;width:32px;height:32px;font-size:24px;line-height:1;cursor:pointer;flex-shrink:0}
.page-block-dialog label{display:block;font-size:13px;font-weight:600;margin:17px 0 6px}
.page-block-dialog :is(input,select){box-sizing:border-box;width:100%;border:1px solid #bcd0df;border-radius:7px;padding:10px 12px;color:#284e64;background:white;font:14px/1.5 'Segoe UI',Arial,sans-serif;min-height:43px}
.page-block-dialog :is(button,input,select):focus-visible,.page-blocks-workspace button:focus-visible{outline:3px solid #bd7900;outline-offset:3px}
.page-block-dialog .page-block-help{font-size:12px;line-height:1.7;color:#678295}
.page-block-sample{display:grid;gap:6px;padding:16px 18px;border-left:3px solid #5e9fbf;background:#f1f8fc;border-radius:0 7px 7px 0;margin:13px 0 21px}
.page-block-sample strong{font-size:14px;color:#2a6687}
.page-block-sample span{font-size:12px;line-height:1.7;color:#658194}
.page-block-dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;border-top:1px solid #e1eaf0;padding-top:19px;margin-top:24px}
.page-block-dialog .button{display:inline-flex;align-items:center;justify-content:center;min-height:41px;border:1px solid #1279af;border-radius:7px;padding:9px 15px;background:#147eb4;color:white;font:600 13px/1.5 'Segoe UI',Arial,sans-serif;cursor:pointer;text-decoration:none}
.page-block-dialog .button.secondary{background:white;border-color:#c1d5e2;color:#426d87}
.page-block-dialog .button.page-block-danger{background:#a74444;border-color:#a74444}
.page-template-preview{list-style:none;counter-reset:template;padding:0;margin:20px 0;display:grid;gap:9px}
.page-template-preview li{counter-increment:template;position:relative;padding:12px 15px 12px 49px;background:#f3f8fc;border:1px solid #dce8ef;border-radius:8px}
.page-template-preview li::before{content:counter(template);position:absolute;top:13px;left:14px;color:#4b819e;font-weight:600}
.page-template-preview strong,.page-template-preview span{display:block}
.page-template-preview strong{font-size:13px;color:#2c617f}
.page-template-preview span{font-size:12px;color:#6a8596;margin-top:3px}
@media(max-width:1000px){.page-blocks-intro{display:block}.page-blocks-buttons{margin-top:14px}}
@media(max-width:650px){:is(.rich-editor,.content-prose) div[data-content-block]{padding:21px 19px;font-size:14px}:is(.rich-editor,.content-prose) div[data-content-block] h2{font-size:22px}:is(.rich-editor,.content-prose) div[data-content-block="cards"]{grid-template-columns:1fr;padding:0;gap:14px}:is(.rich-editor,.content-prose) div[data-content-block="cards"]>div[data-block-card="1"]{padding:20px}.page-blocks-footer{align-items:start;flex-direction:column;gap:8px}.page-block-dialog{padding:22px}.page-block-dialog-actions .button{flex:1}.rich-editor div[data-content-block]>.page-block-actions .page-block-kind{width:100%;margin:0}}
/* A portable content boundary has no decorative box. Its child keeps its ordinary public styling. */
:is(.rich-editor,.content-prose) div[data-content-block="content"]{margin:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;box-shadow:none}
/* Plain columns reuse the card editor while retaining each column's own heading and content order. */
:is(.rich-editor,.content-prose) div[data-content-block="cards"][data-card-style="columns"]{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;align-items:start}
:is(.rich-editor,.content-prose) div[data-content-block="cards"][data-card-style="columns"][data-column-ratio="wide-left"]{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
:is(.rich-editor,.content-prose) div[data-content-block="cards"][data-card-style="columns"][data-column-ratio="wide-right"]{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}
:is(.rich-editor,.content-prose) div[data-content-block="cards"][data-card-style="columns"]>div[data-block-card="1"]{padding:0;border:0;border-radius:0;background:transparent}
:is(.rich-editor,.content-prose) div[data-content-block="cards"][data-card-style="columns"]>div[data-block-card="1"]>:first-child{margin-top:0}
:is(.rich-editor,.content-prose) div[data-content-block="cards"][data-card-style="columns"]>div[data-block-card="1"]>img{width:100%;height:auto;margin:0 0 24px}
:is(.rich-editor,.content-prose) div[data-content-block="cards"][data-card-style="columns"]>div[data-block-card="1"]>div[data-content-block="gallery"]{margin:0}
:is(.rich-editor,.content-prose) div[data-content-block="cards"][data-card-style="columns"]>div[data-block-card="1"]>div[data-content-block="gallery"] div[data-gallery-item="1"] img{width:100%;height:auto;max-height:none;object-fit:contain}
@media(max-width:760px){:is(.rich-editor,.content-prose) div[data-content-block="cards"][data-card-style="columns"],:is(.rich-editor,.content-prose) div[data-content-block="cards"][data-card-style="columns"][data-column-ratio]{grid-template-columns:1fr;gap:28px}}
/* Card icons are decorative, selected from the same closed set as the editor. */
:is(.rich-editor,.content-prose) div[data-content-block="cards"]>div[data-block-card="1"][data-card-icon]::before,
:is(.rich-editor,.content-prose) div[data-content-block="cards"][data-card-style]>div[data-block-card="1"][data-card-icon]::before{content:'';display:block;position:static;width:48px;height:48px;margin:0 0 18px;background-color:#137cb7;mask-image:var(--content-card-icon);mask-repeat:no-repeat;mask-position:center;mask-size:contain;-webkit-mask-image:var(--content-card-icon);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:contain}
:is(.rich-editor,.content-prose) [data-card-icon="clock"]{--content-card-icon:url('/assets/content-icons/clock.svg')}
:is(.rich-editor,.content-prose) [data-card-icon="phone"]{--content-card-icon:url('/assets/content-icons/phone.svg')}
:is(.rich-editor,.content-prose) [data-card-icon="calendar-check"]{--content-card-icon:url('/assets/content-icons/calendar-check.svg')}
:is(.rich-editor,.content-prose) [data-card-icon="rehabilitation"]{--content-card-icon:url('/assets/content-icons/rehabilitation.svg')}
:is(.rich-editor,.content-prose) [data-card-icon="therapy-equipment"]{--content-card-icon:url('/assets/content-icons/therapy-equipment.svg')}
:is(.rich-editor,.content-prose) [data-card-icon="manual-care"]{--content-card-icon:url('/assets/content-icons/manual-care.svg')}
:is(.rich-editor,.content-prose) [data-card-icon="lymphatic-device"]{--content-card-icon:url('/assets/content-icons/lymphatic-device.svg')}
