.senior-mode{--sm-scale:1;--bg:#f3f0eb}
.senior-mode body{font-size:calc(max(20px,1.25rem) * var(--sm-scale));line-height:1.6}
.sm-wrap{width:min(1108px,calc(100% - 48px));margin-inline:auto}
.sm-head{background:var(--green);color:#fff}
.sm-head :focus-visible{outline-color:#fff}
.sm-head-inner{min-height:197px;display:grid;grid-template-columns:222px minmax(0,1fr);align-items:center;gap:clamp(24px,5vw,96px);padding-block:30px}
.sm-logo{display:block;width:222px;max-width:100%;aspect-ratio:2/1}
.sm-brand{font-size:1.3em;line-height:1.3}
.sm-tools,.sm-scale{display:flex;align-items:center;flex-wrap:wrap;gap:14px 32px}
.sm-tools{margin-top:32px;justify-content:space-between}
.sm-tools>.sm-pill{font-size:.85em;width:calc(315px * var(--sm-scale));min-height:51px;padding:.55em 1em}
.sm-pill{display:inline-flex;align-items:center;justify-content:center;min-height:51px;padding:.55em 1.2em;border-radius:2em;background:#fff;color:var(--green);font-size:1em;font-weight:700;line-height:1.25;text-align:center}
.sm-pill:hover{text-decoration:underline}
.sm-stepper{width:calc(224px * var(--sm-scale));display:flex;align-items:stretch;border:1px solid #fff;border-radius:2em;overflow:hidden}
.sm-stepper button{background:#fff;color:var(--green);min-height:49px;min-width:68px;font-size:1.3em;line-height:1}
.sm-stepper button:disabled{background:#e5eae8;color:#4e645e;cursor:default}
.sm-stepper button:focus-visible{outline:3px solid var(--yellow);outline-offset:-5px}
.sm-stepper output{flex:1;text-align:center;font-size:1.1em;padding:.35em .8em;align-self:center;font-weight:600}
.sm-content{padding-block:60px 72px}
.sm-content h1{text-align:center;font-size:1.75em;font-weight:700;line-height:1.25;letter-spacing:-.025em;margin-block:6px 24px}
.sm-intro{text-align:center;overflow-wrap:anywhere;hyphens:auto}
.sm-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 42px;margin-block:59px}
.sm-cards a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5em;min-height:244px;padding:1.7em .8em;background:var(--green);color:#fff;text-align:center;border-radius:var(--r)}
.sm-cards a:hover,.sm-cards a:focus-visible{background:var(--green-dark);text-decoration:underline;text-underline-offset:.18em}
.sm-cards .icon{font-size:64px;margin-bottom:.08em}
.sm-cards .icon img{filter:brightness(0) invert(1)}
.sm-cards strong,.sm-contact{font-size:1.45em}
.sm-contact{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6em 1em;background:var(--yellow);border-radius:var(--r);padding:1.1em 2em}
.sm-contact a{font-weight:700;padding-block:.15em}
.sm-contact a:hover,.sm-detail article a:not(.btn){text-decoration:underline;text-underline-offset:.15em}
.sm-detail h1{margin-bottom:24px}
.sm-detail article{margin-top:1.4em}
.sm-detail article h2{margin-top:2em;margin-bottom:.85em;font-size:1.35em;line-height:1.3;font-weight:700}
.sm-detail article :is(p,li,h3,.dots){font-size:inherit;line-height:inherit;letter-spacing:normal;word-spacing:normal}
.sm-detail article :is(p,h3){margin:0}
.sm-detail article > p + p{margin-top:1.25em}
.sm-detail .d{display:none}
/* Reset bloku nesmi prepsat rozestupy nadpisu v Senior modu. */
.sm-detail :where(.b){margin:0;width:auto;max-width:none}
.sm-detail article > .b-checks{margin-block:2em}
.sm-detail article > .b-numbered{margin-top:1.25em}
.sm-detail .b-checks,.sm-detail .b-bullets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1em 2em}
.sm-detail .b-checks li,.sm-detail .b-numbered li{height:auto;min-height:0}
.sm-detail .b-checks h3,.sm-detail .b-numbered h3{font-weight:700}
.sm-detail .b-checks h3{padding-left:2em}
.sm-detail .b-checks p,.sm-detail .b-numbered p{margin-top:.8em}
.sm-detail .b-numbered{gap:1.5em}
.sm-detail .b-numbered li{background:none;padding:0 0 0 3.6em}
.sm-detail .b-numbered .no{left:0;top:0;width:2em;height:2em;font-size:inherit}
.sm-detail .b-numbered .d{display:initial}
.sm-detail article{overflow-wrap:anywhere}
.sm-docs{display:grid;gap:1.25em}
.sm-docs a{display:inline-block;min-height:48px;padding-block:.4em}
.sm-docs span:not(.icon){display:block;font-weight:600}
.sm-detail .read-aloud,.sm-online{font-size:1em;min-height:52px;height:auto;white-space:normal;padding-block:.5em;line-height:1.35}
.sm-online{margin-top:1.25em;font-size:1em;min-height:64px;padding:10px 28px 10px 12px;gap:16px;max-width:100%;letter-spacing:normal}
.sm-online .btn__dot{width:44px;height:44px}
.sm-detail .b-bullets,.sm-detail .b-checks,.sm-detail .b-numbered{font-size:inherit;line-height:inherit}
.sm-detail article > .b-bullets{margin-block:0 2em}
.sm-detail .b-checks{row-gap:1.5em}
.sm-pill:is(:hover,:focus-visible),.sm-stepper button:not(:disabled):is(:hover,:focus-visible){background:var(--yellow);color:var(--green)}
.sm-back{background:var(--green);color:#fff;margin-top:2.5em}

@media(max-width:760px){
  .sm-wrap{width:calc(100% - 32px)}
  .sm-head-inner{grid-template-columns:minmax(0,1fr);gap:16px;padding-block:24px}
  .sm-logo{width:170px}
  .sm-tools{margin-top:16px}
  .sm-content{padding-block:32px 48px}
  .sm-cards,.sm-detail .b-checks,.sm-detail .b-bullets{grid-template-columns:minmax(0,1fr);gap:16px}
  .sm-cards{margin-block:32px}
  .sm-cards a{min-height:150px}
  .sm-contact{padding:.85em}
  .sm-stepper button{min-width:52px}
}

/* Text a ovládání se přizpůsobují i úzkému oknu a zvětšení písma. */
.sm-head-inner>div,.sm-tools>*,.sm-scale,.sm-stepper{min-width:0;max-width:100%}
.sm-brand,.sm-content h1,.sm-cards a,.sm-contact,.sm-pill{overflow-wrap:anywhere;hyphens:auto}
.sm-pill{max-width:100%;min-height:52px}
.sm-stepper button{flex-shrink:0}
.sm-stepper output{min-width:0;padding-inline:.5em}
.sm-detail .read-aloud{max-width:100%;gap:.5em;padding:.6em .8em;letter-spacing:normal}
.sm-detail .read-aloud__label{overflow-wrap:anywhere}
.sm-detail .b-checks>li>.icon{top:.25em}
.sm-detail .dots li{padding-left:1.5em}
.sm-detail .dots li+li{margin-top:.75em}
.sm-detail .dots li::before{top:.65em}
.sm-contact a{display:inline-block;min-height:48px}
@media(max-width:760px){
  .sm-detail .b-checks{row-gap:1.5em}
  .sm-detail .b-numbered li{padding-left:2.75em}
  .sm-contact{font-size:1.2em}
}.senior-mode a[href^="tel:"]{white-space:normal}.sm-cards a>*,.sm-contact>*{min-width:0;max-width:100%}
