/* =========================================================
   SJDB web – styly nového webu Školní jídelny Dolní Břežany
   Vše je uzavřeno pod třídou .sjdb, aby se styly nepotkaly
   se šablonou webu ani s Elementorem.
   ========================================================= */

/* ---- Písma (uložená v pluginu, nenačítají se z cizích serverů) ---- */
@font-face{font-family:"Figtree";font-style:normal;font-display:swap;font-weight:300 900;src:url(fonts/figtree-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Figtree";font-style:normal;font-display:swap;font-weight:300 900;src:url(fonts/figtree-latin-wght-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Bricolage Grotesque";font-style:normal;font-display:swap;font-weight:200 800;src:url(fonts/bricolage-grotesque-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Bricolage Grotesque";font-style:normal;font-display:swap;font-weight:200 800;src:url(fonts/bricolage-grotesque-latin-wght-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---- Základ ---- */
body.sjdb{
	--ink:#13241B;
	--text2:#46574D;
	--green:#1E6A43;
	--green-dark:#164F32;
	--green-deep:#0F3A24;
	--green-line:#2E6B49;
	--green-soft:#CFE3D6;
	--tint:#EDF3EE;
	--band:#F3F7F4;
	--line:#DCE5DE;
	--orange:#F28C28;
	--orange-tint:#FDEEDC;
	--orange-ink:#8A4500;
	--brown:#4A2600;
	--display:"Bricolage Grotesque",system-ui,-apple-system,"Segoe UI",sans-serif;
	--body:"Figtree",system-ui,-apple-system,"Segoe UI",sans-serif;
	margin:0;
	background:#fff;
	color:var(--ink);
	font-family:var(--body);
	font-size:17px;
	line-height:1.5;
	-webkit-text-size-adjust:100%;
	text-rendering:optimizeLegibility;
}
body.sjdb *,body.sjdb *::before,body.sjdb *::after{box-sizing:border-box}
:where(body.sjdb) :where(h1,h2,h3,p,ul,ol,figure){margin:0}
body.sjdb ul{padding:0;list-style:none}
.sjdb img{max-width:100%;height:auto;display:block}
body.sjdb a{color:var(--green);text-underline-offset:3px}
body.sjdb a:hover{color:var(--green-dark)}
body.sjdb a[href^="tel:"]{white-space:nowrap}
body.sjdb button{font:inherit;color:inherit}
body.sjdb :focus-visible{outline:3px solid var(--ink);outline-offset:3px;border-radius:6px}
/* Na tmavých plochách je obrys oranžový, aby byl dobře vidět. */
body.sjdb .sjdb-today :focus-visible,body.sjdb .sjdb-ctabox :focus-visible,body.sjdb .sjdb-footer :focus-visible,body.sjdb .sjdb-orderbar:focus-visible,body.sjdb .sjdb-previewbar :focus-visible{outline-color:var(--orange)}
body.sjdb [hidden]{display:none!important}

.sjdb-wrap{max-width:1248px;margin:0 auto;padding:0 24px}
.sjdb-previewbar{background:var(--ink);color:#fff;font-size:14px;font-weight:600;text-align:center;padding:6px 16px}
.sjdb-sr{position:absolute!important;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.sjdb-skip{position:absolute;left:-9999px;top:0;background:var(--ink);color:#fff!important;padding:12px 18px;z-index:100}
.sjdb-skip:focus{left:12px;top:12px}
.sjdb-icon{flex:none}
.sjdb-muted{color:var(--text2)}
.sjdb-small{font-size:15px}
.sjdb-lead{font-size:19px;color:var(--text2);max-width:36em}
.sjdb-printonly{display:none}
.sjdb-eyebrow{font-weight:700;font-size:14px;letter-spacing:.08em;text-transform:uppercase;color:var(--green-dark)}

body.sjdb h1,body.sjdb h2{font-family:var(--display);letter-spacing:-.01em;line-height:1.1}

/* Přepínání ZŠ / MŠ */
body.sjdb[data-school="zs"] .sjdb-ms,
body.sjdb[data-school="ms"] .sjdb-zs{display:none!important}

/* ---- Tlačítka ---- */
.sjdb-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:11px 24px;border-radius:999px;border:2px solid transparent;font-weight:700;font-size:16px;line-height:1.2;text-decoration:none;cursor:pointer;background:none}
body.sjdb .sjdb-btn--primary{background:var(--green);color:#fff}
body.sjdb .sjdb-btn--primary:hover{background:var(--green-dark);color:#fff}
body.sjdb .sjdb-btn--dark{background:var(--ink);color:#fff}
body.sjdb .sjdb-btn--dark:hover{background:#000;color:#fff}
body.sjdb .sjdb-btn--light{background:#fff;color:var(--green-dark)}
body.sjdb .sjdb-btn--light:hover{background:var(--tint);color:var(--green-dark)}
body.sjdb .sjdb-btn--outline{background:#fff;color:var(--ink);border-color:#728479}
body.sjdb .sjdb-btn--outline:hover{border-color:var(--green-dark);color:var(--green-dark)}
body.sjdb .sjdb-more{display:inline-block;font-weight:700;padding:10px 0}

/* ---- Přepínač (pilulky) ---- */
.sjdb-switch{display:inline-flex;flex-wrap:wrap;gap:4px;padding:4px;border-radius:26px;background:var(--tint)}
.sjdb-switch button{min-height:44px;padding:10px 18px;border:0;border-radius:999px;background:transparent;color:var(--ink);font-weight:600;font-size:15px;cursor:pointer}
.sjdb-switch button[aria-pressed="true"]{background:var(--green-dark);color:#fff;font-weight:700}
.sjdb-switch--white{background:#fff}
.sjdb-switch--dark{background:var(--green-deep)}
.sjdb-switch--dark button{color:#fff}
.sjdb-switch--dark button[aria-pressed="true"]{background:#fff;color:var(--green-dark)}

/* ---- Štítky ---- */
.sjdb-chip{display:inline-block;background:var(--tint);color:var(--green-dark);font-weight:700;font-size:14px;padding:4px 12px;border-radius:999px}
.sjdb-chip--dark{background:var(--ink);color:#fff}
.sjdb-badge{display:inline-block;background:var(--green);color:#fff;font-weight:700;font-size:13px;padding:4px 10px;border-radius:999px}
.sjdb-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;font-size:14px;color:var(--text2)}

/* ---- Hlavička ---- */
.sjdb-header{border-bottom:1px solid var(--line);background:#fff}
.sjdb-header__in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 32px;padding-top:16px;padding-bottom:16px}
body.sjdb .sjdb-logo{display:flex;align-items:center;text-decoration:none;color:var(--ink)}
.sjdb-logo img{height:44px;width:auto}
.sjdb-logo__text{display:flex;flex-direction:column;line-height:1.15}
.sjdb-logo__text strong{font-family:var(--display);font-size:21px}
.sjdb-logo__text span{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--text2)}
.sjdb-nav{display:flex;flex-wrap:wrap;align-items:center;gap:4px 28px}
body.sjdb .sjdb-nav a:not(.sjdb-btn){color:var(--ink);text-decoration:none;font-weight:600;font-size:16px;padding:10px 0 7px;border-bottom:3px solid transparent}
body.sjdb .sjdb-nav a:not(.sjdb-btn):hover{border-bottom-color:var(--line)}
body.sjdb .sjdb-nav a[aria-current="page"]{font-weight:700;border-bottom-color:var(--orange)}
body.sjdb .sjdb-nav a.sjdb-nav__ig{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;color:var(--ink);background:var(--tint);transition:transform .2s,background .2s,color .2s}
body.sjdb .sjdb-nav a.sjdb-nav__ig:hover{background:var(--orange);color:#fff;transform:rotate(-8deg) scale(1.06)}
.sjdb-nav__ig span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.sjdb-navtoggle{display:none;width:44px;height:44px;border:1px solid var(--line);border-radius:12px;background:#fff;align-items:center;justify-content:center;cursor:pointer}

/* ---- Upozornění ---- */
.sjdb-notice-row{padding-top:24px}
.sjdb-notice{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;background:var(--orange-tint);color:var(--brown);border-radius:14px;padding:14px 20px}
.sjdb-notice .sjdb-icon{color:var(--orange-ink)}
.sjdb-notice p{flex:1 1 320px;font-weight:500}
body.sjdb .sjdb-notice a{color:var(--brown);font-weight:700;padding:10px 0}

/* ---- Úvod: dnešní menu ---- */
.sjdb-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,438px);gap:24px;padding-top:24px;padding-bottom:56px}
.sjdb-today{background:var(--green-dark);color:#fff;border-radius:24px;padding:40px;display:flex;flex-direction:column;gap:28px}
.sjdb-today__top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px}
.sjdb-today__date{font-weight:600;color:var(--green-soft)}
body.sjdb .sjdb-today h1{font-weight:800;font-size:60px;line-height:1;letter-spacing:-.02em}
.sjdb-today__rows{display:flex;flex-direction:column;border-bottom:1px solid var(--green-line)}
.sjdb-today__row{display:grid;grid-template-columns:150px minmax(0,1fr);gap:4px 24px;padding:18px 0;border-top:1px solid var(--green-line)}
.sjdb-today__label{color:var(--green-soft);font-weight:600;font-size:15px;padding-top:6px}
.sjdb-today__dish{font-size:26px;font-weight:600;line-height:1.25}
.sjdb-today__al{margin-top:6px}
.sjdb-today__foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px;color:var(--green-soft);font-size:15px;margin-top:auto}
body.sjdb .sjdb-today__foot a{color:#fff;font-weight:600;padding:10px 0;margin-left:auto}
.sjdb-today__empty{color:var(--green-soft);font-size:19px}

.sjdb-hero__side{display:flex;flex-direction:column;gap:24px}
.sjdb-deadline{background:var(--orange-tint);border-radius:24px;padding:32px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;color:var(--brown)}
.sjdb-deadline .sjdb-eyebrow{color:var(--orange-ink)}
.sjdb-deadline__when{font-family:var(--display);font-weight:700;font-size:34px;line-height:1.1;color:var(--ink)}
.sjdb-deadline .sjdb-btn{margin-top:8px}
.sjdb-quick{border:1px solid var(--line);border-radius:24px;padding:8px 24px;display:flex;flex-direction:column}
body.sjdb .sjdb-quick a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;text-decoration:none;color:var(--ink);border-bottom:1px solid var(--line)}
body.sjdb .sjdb-quick a:last-child{border-bottom:0}
.sjdb-quick span{display:flex;flex-direction:column}
.sjdb-quick strong{font-size:18px}
.sjdb-quick small{color:var(--text2);font-size:15px}
.sjdb-quick .sjdb-icon{color:var(--green)}

/* ---- Pásy a nadpisy sekcí ---- */
.sjdb-band{background:var(--band);padding:56px 0}
.sjdb-band--warm{background:var(--orange-tint)}
.sjdb-section{padding-top:64px;padding-bottom:64px}
body.sjdb .sjdb-band h2,body.sjdb .sjdb-section>h2,body.sjdb .sjdb-sectionhead h2{font-weight:700;font-size:36px}
.sjdb-sectionhead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;margin-bottom:28px}
.sjdb-sectionhead__left{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px}
body.sjdb .sjdb-sectionhead>a{font-weight:700;padding:10px 0}
.sjdb-section>h2,.sjdb-band .sjdb-wrap>h2{margin-bottom:24px}

/* ---- Úvod: týden ---- */
.sjdb-weekgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}
.sjdb-daycard{background:#fff;border:2px solid #fff;border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:14px}
.sjdb-daycard.is-today{border-color:var(--green)}
.sjdb-daycard__head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.sjdb-daycard__head strong{display:block;font-size:18px}
.sjdb-daycard__head span:not(.sjdb-badge){color:var(--text2);font-size:14px}
.sjdb-daycard__rows{display:flex;flex-direction:column;gap:14px}
.sjdb-daycard__rows span{display:block;color:var(--text2);font-size:13px;font-weight:600}
.sjdb-daycard__rows p{font-size:15px;line-height:1.35}
.sjdb-daycard__rows p.is-main{font-weight:600}

/* ---- Aktuality: karty na úvodu ---- */
.sjdb-newsgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px}
.sjdb-newsgrid--two{grid-template-columns:repeat(2,minmax(0,1fr))}
body.sjdb .sjdb-newsgrid--two h2{font-family:var(--body);font-size:22px;line-height:1.25;font-weight:700;letter-spacing:0}
body.sjdb .sjdb-newsgrid--two h2 a{color:var(--ink);text-decoration:none}
body.sjdb .sjdb-newsgrid--two h2 a:hover{text-decoration:underline}
.sjdb-newscard time{color:var(--text2);font-size:14px}
.sjdb-newscard{border:1px solid var(--line);border-radius:18px;padding:28px;display:flex;flex-direction:column;gap:12px}
body.sjdb .sjdb-newscard h3{font-size:22px;line-height:1.25;font-weight:700}
body.sjdb .sjdb-newscard h3 a{color:var(--ink);text-decoration:none}
body.sjdb .sjdb-newscard h3 a:hover{text-decoration:underline}
.sjdb-newscard>p:not(.sjdb-meta){color:var(--text2)}
.sjdb-newscard .sjdb-more{margin-top:auto;align-self:flex-start}

/* ---- Úvod: jak vaříme ---- */
.sjdb-cooking{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:40px;align-items:stretch}
.sjdb-cooking__text{display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.sjdb-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%}
.sjdb-stats div{background:#fff;border-radius:18px;padding:22px}
.sjdb-stats strong{display:block;font-family:var(--display);font-weight:800;font-size:34px;line-height:1.1;color:var(--green);margin-bottom:4px}
.sjdb-stats span{color:var(--text2)}
.sjdb-cooking__photo{position:relative;border-radius:24px;overflow:hidden;min-height:320px;background:var(--line)}
.sjdb-cooking__photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* ---- Patička ---- */
.sjdb-footer{background:var(--ink);color:#D5E0D8;padding:56px 0 40px}
.sjdb-footer__cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:40px}
.sjdb-footer__cols>div{display:flex;flex-direction:column;gap:10px}
.sjdb-footer__cols ul{display:flex;flex-direction:column;gap:10px}
.sjdb-footer__brand{font-family:var(--display);font-weight:700;font-size:22px;line-height:1.2;color:#fff}
.sjdb-footer__title{font-weight:700;color:#fff}
body.sjdb .sjdb-footer a{color:#fff}
body.sjdb .sjdb-footer ul a{color:#D5E0D8}
body.sjdb .sjdb-footer a:hover{color:#fff;text-decoration-thickness:2px}
.sjdb-footer__note{border-top:1px solid #2B4034;margin-top:40px;padding-top:24px;font-size:15px;color:#B4C4B9}
.sjdb-orderbar{display:none}

/* ---- Podstránky ---- */
.sjdb-page{padding-top:48px;padding-bottom:72px;display:flex;flex-direction:column;gap:28px}
.sjdb-page--narrow{max-width:968px}
.sjdb-gdpr-contacts{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}
.sjdb-gdpr-contacts .sjdb-contact{border:1px solid var(--line)}
.sjdb-gdpr section>p{max-width:46em}
.sjdb-gdpr section>ul{max-width:46em}
.sjdb-pagehead{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px}
.sjdb-pagehead--stack{flex-direction:column;align-items:flex-start;gap:12px}
body.sjdb .sjdb-pagehead h1{font-weight:800;font-size:52px;line-height:1;letter-spacing:-.02em}
.sjdb-pagehead__tools{display:flex;flex-wrap:wrap;align-items:center;gap:12px}

/* ---- Jídelníček ---- */
.sjdb-weektabs{display:flex;flex-wrap:wrap;gap:8px}
.sjdb-weektabs button{min-height:52px;padding:8px 18px;border:2px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);font-weight:600;font-size:16px;cursor:pointer}
.sjdb-weektabs button:hover{border-color:#B9C7BD}
.sjdb-weektabs button[aria-pressed="true"]{background:var(--green-dark);border-color:var(--green-dark);color:#fff;font-weight:700}
.sjdb-week{display:flex;flex-direction:column;gap:16px}
.sjdb-day{display:grid;grid-template-columns:170px minmax(0,1fr);gap:8px 32px;border:1px solid var(--line);border-radius:20px;padding:24px 28px}
.sjdb-day.is-today{border:2px solid var(--green);padding:23px 27px}
.sjdb-day__head{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
body.sjdb .sjdb-day__head h2{font-weight:700;font-size:28px}
.sjdb-day__head p{color:var(--text2)}
.sjdb-day__row{display:grid;grid-template-columns:150px minmax(0,1fr) auto;align-items:baseline;gap:2px 20px;padding:11px 0;border-top:1px solid var(--line)}
.sjdb-day__row:first-child{border-top:0}
.sjdb-day__label{color:var(--text2);font-size:15px;font-weight:600}
.sjdb-day__dish{font-size:18px}
.sjdb-day__dish.is-main{font-weight:600}
.sjdb-day__al{display:flex;justify-content:flex-end}
.sjdb-allergens{background:var(--band);border-radius:20px;padding:28px;display:flex;flex-direction:column;gap:18px}
body.sjdb .sjdb-allergens h2{font-weight:700;font-size:26px}
.sjdb-allergens ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px 32px;font-size:16px}
.sjdb-allergens li{display:flex;align-items:center;gap:12px}
.sjdb-allergens li .sjdb-al__icon{width:36px;height:36px;flex:none}
/* Ikony alergenů */
.sjdb-al{display:inline-flex;flex-wrap:wrap;align-items:center;gap:4px}
.sjdb-al__item{position:relative;display:inline-flex;cursor:help;border-radius:50%}
/* Bublina s názvem: zůstane, i když na ni najedete myší (je spojená s ikonou), zavře se klávesou Esc. */
.sjdb-al__item::after{content:attr(data-tip);position:absolute;left:50%;bottom:100%;transform:translate(-50%,4px);background:var(--ink);color:#fff;font-size:13px;font-weight:600;line-height:1.2;white-space:nowrap;padding:6px 10px;border-radius:8px;opacity:0;visibility:hidden;transition:opacity .12s,transform .12s;z-index:20;margin-bottom:6px}
.sjdb-al__item::before{content:"";position:absolute;left:-4px;right:-4px;bottom:100%;height:10px}
.sjdb-al__item:hover::after,.sjdb-al__item.is-open::after{opacity:1;visibility:visible;transform:translate(-50%,0)}
.sjdb-al__item.is-dismissed::after{opacity:0!important;visibility:hidden!important}
.sjdb-tv .sjdb-al__item::after{display:none}
.sjdb-al__icon{width:24px;height:24px;display:block;transition:transform .15s}
.sjdb-al__item:hover .sjdb-al__icon{transform:scale(1.25) rotate(-6deg)}
.sjdb-al__codes{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.sjdb-today .sjdb-al__icon{width:26px;height:26px}

/* ---- Pro strávníky ---- */
.sjdb-tabs{align-self:flex-start}
.sjdb-tabs button{font-size:16px;padding:10px 22px}
.sjdb-twocol{display:flex;flex-wrap:wrap;align-items:flex-start;gap:32px 56px}
.sjdb-sidenav{flex:1 1 200px;display:flex;flex-direction:column;font-weight:600;position:sticky;top:24px}
body.sjdb .sjdb-sidenav a{color:var(--ink);text-decoration:none;padding:10px 0;border-bottom:1px solid var(--line)}
body.sjdb .sjdb-sidenav a:last-child{border-bottom:0}
body.sjdb .sjdb-sidenav a:hover{color:var(--green)}
.sjdb-content{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;gap:48px}
.sjdb-content [data-sjdb-panel]{display:flex;flex-direction:column;gap:48px}
.sjdb-content section{display:flex;flex-direction:column;align-items:flex-start;gap:16px;scroll-margin-top:24px}
.sjdb-content section>*{max-width:100%}
body.sjdb .sjdb-content h2{font-weight:700;font-size:32px}
.sjdb-content section>ul{list-style:disc;padding-left:22px;display:flex;flex-direction:column;gap:8px;max-width:40em}
.sjdb-content section>p.sjdb-muted{max-width:40em}
.sjdb-keytiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.sjdb-keytile{background:var(--tint);border-radius:20px;padding:26px;display:flex;flex-direction:column;gap:6px}
.sjdb-keytile p:last-child{font-family:var(--display);font-weight:700;font-size:26px;line-height:1.15}
.sjdb-keytile--accent{background:var(--orange-tint)}
.sjdb-keytile--accent .sjdb-eyebrow{color:var(--orange-ink)}
.sjdb-list{align-self:stretch;border:1px solid var(--line);border-radius:18px;padding:4px 24px}
.sjdb-list--tint{border:0;background:var(--band);padding:8px 24px}
.sjdb-list>div{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 16px;padding:15px 0;border-bottom:1px solid var(--line)}
.sjdb-list>div:last-child{border-bottom:0}
.sjdb-list span{color:var(--text2)}
.sjdb-list strong{font-size:19px}
.sjdb-list--tint strong{font-size:17px}
.sjdb-list strong.sjdb-big{font-size:20px}
.sjdb-ctabox{background:var(--green-dark);color:#fff;border-radius:22px;padding:32px;align-self:stretch}
.sjdb-ctabox p{color:var(--green-soft);max-width:40em}
body.sjdb .sjdb-ctabox a:not(.sjdb-btn){color:#fff}

/* Přihláška ke stravování */
.sjdb-apply{background:#fff;color:var(--ink);border-radius:18px;padding:24px;margin-top:20px;display:flex;flex-direction:column;gap:18px}
body.sjdb .sjdb-apply p{color:var(--text2);max-width:none}
body.sjdb .sjdb-apply .sjdb-apply__privacy{background:var(--tint);color:var(--ink);border-radius:12px;padding:12px 14px;font-size:15px}
.sjdb-apply__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px}
.sjdb-field{display:flex;flex-direction:column;gap:6px;min-width:0}
.sjdb-field--full{grid-column:1 / -1}
.sjdb-field label{font-weight:600;font-size:15px;color:var(--ink)}
.sjdb-field label span{font-weight:400;color:var(--text2)}
body.sjdb .sjdb-field input{font:inherit;font-size:16px;color:var(--ink);background:#fff;border:1px solid #6B7D72;border-radius:10px;padding:11px 12px;width:100%;min-height:48px}
body.sjdb .sjdb-field input:focus-visible{outline:3px solid var(--ink);outline-offset:1px;border-color:var(--green-dark)}
.sjdb-apply__actions{display:flex;flex-wrap:wrap;gap:12px}
body.sjdb .sjdb-apply .sjdb-apply__status{font-weight:600;color:var(--green-dark);min-height:1.5em}
body.sjdb .sjdb-apply .sjdb-apply__status.is-error{color:#A12B14}
body.sjdb .sjdb-apply .sjdb-apply__status:empty{display:none}
.sjdb-apply__hint{font-size:15px}
.sjdb-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}
.sjdb-steps>div{background:var(--tint);border-radius:18px;padding:20px 22px;display:flex;flex-direction:column;gap:8px}
.sjdb-docs{align-self:stretch;border:1px solid var(--line);border-radius:18px;padding:4px 24px;display:flex;flex-direction:column}
body.sjdb .sjdb-docs>a,.sjdb-docs summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;min-height:44px;text-decoration:none;color:var(--ink);font-weight:600;cursor:pointer}
body.sjdb .sjdb-docs>a,.sjdb-docs details{border-bottom:1px solid var(--line)}
.sjdb-docs>:last-child{border-bottom:0!important}
.sjdb-docs small{color:var(--text2);font-size:14px;font-weight:400}
.sjdb-docs summary{list-style:none}
.sjdb-docs summary::-webkit-details-marker{display:none}
.sjdb-docs summary .sjdb-icon{color:var(--green);transition:transform .15s}
.sjdb-docs details[open] summary .sjdb-icon{transform:rotate(45deg)}
.sjdb-docs details p{color:var(--text2);max-width:40em;padding-bottom:16px}

/* ---- Aktuality ---- */
.sjdb-chips{display:flex;flex-wrap:wrap;gap:8px}
body.sjdb .sjdb-chips a{display:inline-flex;align-items:center;min-height:44px;padding:8px 18px;border:2px solid var(--line);border-radius:999px;color:var(--ink);font-weight:600;font-size:15px;text-decoration:none}
body.sjdb .sjdb-chips a[aria-current="true"]{background:var(--green-dark);border-color:var(--green-dark);color:#fff;font-weight:700}
.sjdb-important{background:var(--orange-tint);color:var(--brown);border-radius:20px;padding:28px;display:flex;flex-direction:column;gap:10px}
.sjdb-important .sjdb-meta{color:var(--brown)}
body.sjdb .sjdb-important h2{font-family:var(--body);font-size:26px;line-height:1.2;font-weight:700;letter-spacing:0;color:var(--ink)}
.sjdb-newslist{display:flex;flex-direction:column;border-bottom:1px solid var(--line)}
.sjdb-newslist article{display:grid;grid-template-columns:130px minmax(0,1fr);gap:8px 32px;padding:28px 0;border-top:1px solid var(--line)}
.sjdb-newslist time{color:var(--text2);font-weight:600;padding-top:4px}
.sjdb-newslist article>div{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
body.sjdb .sjdb-newslist h2{font-family:var(--body);font-size:24px;line-height:1.25;font-weight:700;letter-spacing:0}
body.sjdb .sjdb-newslist h2 a{color:var(--ink);text-decoration:none}
body.sjdb .sjdb-newslist h2 a:hover{text-decoration:underline}
.sjdb-newslist p{color:var(--text2)}
.sjdb-pager{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 24px}

/* ---- Detail aktuality ---- */
body.sjdb .sjdb-back{font-weight:700;padding:10px 0;display:inline-block}
.sjdb-article{display:flex;flex-direction:column;gap:16px}
body.sjdb .sjdb-article h1{font-weight:800;font-size:44px;line-height:1.08;letter-spacing:-.02em}
.sjdb-article__body{font-size:18px;line-height:1.6;max-width:42em}
body.sjdb .sjdb-article__body p,body.sjdb .sjdb-article__body ul,body.sjdb .sjdb-article__body ol{margin:0 0 16px}
body.sjdb .sjdb-article__body ul,body.sjdb .sjdb-article__body ol{padding-left:24px;list-style:revert}
body.sjdb .sjdb-article__body h2,body.sjdb .sjdb-article__body h3{font-family:var(--body);font-size:24px;line-height:1.25;letter-spacing:0;margin:28px 0 12px}
.sjdb-article__body img{border-radius:14px;margin:8px 0}
.sjdb-adjacent{display:grid;grid-template-columns:1fr 1fr;gap:16px;border-top:1px solid var(--line);padding-top:28px;margin-top:20px}
body.sjdb .sjdb-adjacent a{display:flex;flex-direction:column;gap:4px;text-decoration:none;color:var(--ink);font-weight:700}
body.sjdb .sjdb-adjacent a:last-child{text-align:right}
.sjdb-adjacent small{color:var(--text2);font-weight:600}

/* ---- O jídelně ---- */
.sjdb-about{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);gap:40px;margin-top:12px}
.sjdb-features{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:28px 32px;align-content:start}
.sjdb-features div{display:flex;flex-direction:column;gap:6px}
body.sjdb .sjdb-features h2{font-family:var(--body);font-size:21px;line-height:1.25;font-weight:700;letter-spacing:0}
.sjdb-features p{color:var(--text2)}
.sjdb-daily{background:var(--green-dark);color:#fff;border-radius:24px;padding:32px;display:flex;flex-direction:column;gap:14px}
.sjdb-daily .sjdb-eyebrow{color:var(--green-soft)}
.sjdb-daily li{padding:12px 0;border-top:1px solid var(--green-line);font-size:20px;font-weight:600}
.sjdb-daily li:last-child{border-bottom:1px solid var(--green-line)}
.sjdb-daily__sign{margin-top:auto;color:var(--green-soft);font-size:15px}
.sjdb-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}
.sjdb-gallery a{display:block;border-radius:18px;overflow:hidden;aspect-ratio:4/3;background:var(--line)}
.sjdb-gallery img{width:100%;height:100%;object-fit:cover;transition:transform .2s}
.sjdb-gallery a:hover img{transform:scale(1.03)}
.sjdb-gallery:not(.is-open) a.is-extra{display:none}
.sjdb-gallery__more{margin-top:24px;text-align:center}
.sjdb-team{display:flex;flex-wrap:wrap;gap:12px}
.sjdb-team>div{display:flex;flex-direction:column;justify-content:center;background:var(--tint);border-radius:16px;padding:14px 20px;font-weight:600}
.sjdb-team .sjdb-team__chef{background:var(--green-dark);color:#fff}
.sjdb-team small{font-size:13px;font-weight:500;color:var(--text2)}
.sjdb-team strong{font-weight:700}
.sjdb-team__chef small{font-size:13px;color:var(--green-soft)}
.sjdb-team__chef strong{font-size:18px}
.sjdb-contacts{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}
.sjdb-contact{background:#fff;border-radius:20px;padding:28px;display:flex;flex-direction:column;gap:6px}
.sjdb-contact .sjdb-eyebrow{color:var(--orange-ink)}
.sjdb-contact__name{font-weight:700;font-size:22px;line-height:1.2}
body.sjdb .sjdb-contact a{font-weight:600}
body.sjdb .sjdb-contact__phone{font-weight:700;font-size:20px;display:inline-block;padding-top:8px}
.sjdb-contacts__foot{display:flex;flex-wrap:wrap;gap:8px 32px;margin-top:28px;color:var(--brown);font-size:15px}
body.sjdb .sjdb-contacts__foot a{color:var(--brown);font-weight:600}

/* ---- Menší obrazovky ---- */
@media (max-width:960px){
	.sjdb-hero,.sjdb-cooking,.sjdb-about{grid-template-columns:minmax(0,1fr)}
	.sjdb-navtoggle{display:inline-flex}
	.sjdb-nav{display:none;flex-basis:100%;flex-direction:column;align-items:stretch;gap:0;padding-bottom:8px}
	.sjdb-nav.is-open{display:flex}
	body.sjdb .sjdb-nav a:not(.sjdb-btn){padding:14px 0;border-bottom:1px solid var(--line)}
	body.sjdb .sjdb-nav a[aria-current="page"]{border-bottom-color:var(--orange)}
	.sjdb-nav .sjdb-btn{margin-top:16px}
	body.sjdb .sjdb-nav a.sjdb-nav__ig{width:auto;height:auto;justify-content:flex-start;gap:10px;padding:14px 0;border-radius:0;background:none;border-bottom:1px solid var(--line)}
	body.sjdb .sjdb-nav a.sjdb-nav__ig:hover{background:none;color:var(--green-dark);transform:none}
	.sjdb-nav__ig span{position:static;width:auto;height:auto;overflow:visible;clip:auto;font-weight:600}
	.sjdb-sidenav{position:static;display:none}
	.sjdb-cooking__photo{min-height:0;aspect-ratio:16/10}
}
@media (max-width:700px){
	body.sjdb{font-size:16px;padding-bottom:76px}
	.sjdb-wrap{padding:0 16px}
	.sjdb-logo img{height:38px}
	.sjdb-hero{gap:16px;padding-top:16px;padding-bottom:40px}
	.sjdb-notice-row{padding-top:16px}
	.sjdb-today{padding:24px 20px;gap:18px;border-radius:22px}
	body.sjdb .sjdb-today h1{font-size:40px}
	.sjdb-tabs{display:flex;flex-wrap:nowrap}
	.sjdb-tabs button{flex:1 1 auto;padding:10px 6px;font-size:14px;white-space:nowrap}
	.sjdb-today__top .sjdb-switch{width:100%}
	.sjdb-today__top .sjdb-switch button{flex:1 1 0;padding:10px 8px}
	.sjdb-today__row{grid-template-columns:minmax(0,1fr);padding:12px 0}
	.sjdb-today__label{font-size:13px;padding-top:0}
	.sjdb-today__dish{font-size:20px}
	.sjdb-deadline{padding:22px 20px;border-radius:22px}
	.sjdb-deadline__when{font-size:28px}
	.sjdb-quick{padding:4px 20px;border-radius:22px}
	.sjdb-band{padding:40px 0}
	.sjdb-section{padding-top:40px;padding-bottom:40px}
	body.sjdb .sjdb-band h2,body.sjdb .sjdb-section>h2,body.sjdb .sjdb-sectionhead h2{font-size:28px}
	.sjdb-sectionhead__left .sjdb-switch{width:100%}
	.sjdb-sectionhead__left .sjdb-switch button{flex:1 1 0;padding:10px 8px}
	.sjdb-weekgrid{grid-template-columns:minmax(0,1fr);gap:10px}
	.sjdb-daycard{padding:16px;gap:10px}
	.sjdb-daycard__rows{gap:8px}
	.sjdb-page{padding-top:32px;padding-bottom:48px;gap:20px}
	body.sjdb .sjdb-pagehead h1{font-size:38px}
	.sjdb-day{grid-template-columns:minmax(0,1fr);padding:18px 18px}
	.sjdb-day.is-today{padding:17px 17px}
	.sjdb-day__head{flex-direction:row;flex-wrap:wrap;align-items:baseline;gap:4px 12px}
	body.sjdb .sjdb-day__head h2{font-size:24px}
	.sjdb-day__row{grid-template-columns:minmax(0,1fr) auto}
	.sjdb-day__label{grid-column:1 / -1;font-size:13px}
	body.sjdb .sjdb-content h2{font-size:26px}
	.sjdb-content,.sjdb-content [data-sjdb-panel]{gap:36px}
	.sjdb-newslist article{grid-template-columns:minmax(0,1fr);padding:20px 0}
	.sjdb-newsgrid--two{grid-template-columns:minmax(0,1fr);gap:16px}
	.sjdb-steps{grid-template-columns:minmax(0,1fr)}
	.sjdb-newscard{padding:22px 20px}
	body.sjdb .sjdb-newslist h2{font-size:21px}
	body.sjdb .sjdb-article h1{font-size:32px}
	.sjdb-adjacent{grid-template-columns:1fr}
	body.sjdb .sjdb-adjacent a:last-child{text-align:left}
	.sjdb-stats{gap:10px}
	.sjdb-stats div{padding:16px}
	.sjdb-stats strong{font-size:24px}
	.sjdb-stats span{font-size:15px}
	.sjdb-ctabox{padding:22px 18px}
	.sjdb-apply{padding:18px 16px}
	.sjdb-apply__grid{grid-template-columns:minmax(0,1fr)}
	.sjdb-apply__actions .sjdb-btn{flex:1 1 auto}
	.sjdb-footer{padding:36px 0 28px}
	.sjdb-footer__cols{gap:28px}
	body.sjdb .sjdb-orderbar{display:flex;align-items:center;justify-content:center;position:fixed;left:12px;right:12px;bottom:12px;min-height:52px;background:var(--green);color:#fff;font-weight:700;font-size:17px;text-decoration:none;border-radius:999px;box-shadow:0 6px 20px rgba(19,36,27,.28);z-index:50}
}

/* ---- Tisk jídelníčku ---- */
@page{size:A4 portrait;margin:12mm}
@media print{
	.sjdb-previewbar,.sjdb-header,.sjdb-footer,.sjdb-orderbar,.sjdb-noprint,.sjdb-skip,.sjdb-apply,.sjdb-doodle,#wpadminbar{display:none!important}
	.sjdb-reveal{opacity:1!important;transform:none!important}
	.sjdb-band::before,.sjdb-footer::before{display:none!important}
	html{margin-top:0!important}
	body.sjdb{font-size:10.5pt;line-height:1.3;padding:0;background:#fff}
	.sjdb-wrap{max-width:none;padding:0}
	.sjdb-page{padding:0;gap:6pt}
	.sjdb-view-jidelnicek .sjdb-pagehead{display:none}
	.sjdb-printonly{display:block;font-family:var(--display);font-weight:700;font-size:15pt;margin-bottom:2pt}
	.sjdb-week{gap:5pt}
	.sjdb-day{border:1px solid #999!important;padding:5pt 9pt!important;gap:8pt;break-inside:avoid;border-radius:5pt}
	body.sjdb .sjdb-day__head h2{font-size:13pt}
	.sjdb-day__row{padding:2.5pt 0}
	.sjdb-day__dish{font-size:10.5pt}
	.sjdb-day__label,.sjdb-day__head p{font-size:9pt}
	.sjdb-day__al,.sjdb-small{font-size:8.5pt}
	.sjdb-badge{display:none}
	.sjdb-allergens{background:none;padding:0;gap:4pt;break-inside:avoid}
	.sjdb-allergens ul{font-size:8.5pt;grid-template-columns:repeat(4,minmax(0,1fr))}
	body.sjdb .sjdb-allergens h2{font-size:11pt}
	.sjdb-allergens ul{gap:1pt 12pt}
}

/* =========================================================
   TV obrazovka: vše se počítá z šířky obrazovky,
   takže se rozvržení přizpůsobí libovolné televizi 16:9.
   ========================================================= */
body.sjdb-view-tv{background:var(--green-dark);overflow:hidden;padding:0}
.sjdb-tv{--u:min(calc(100vw / 1920),calc(100vh / 1080));--fit:1;--safe:calc(var(--u)*30);width:100vw;height:100vh;display:flex;flex-direction:column;background:var(--green-dark);color:#fff;font-family:var(--body);overflow:hidden}
.sjdb-tv__top{flex:none;display:flex;align-items:center;justify-content:space-between;gap:calc(var(--u)*48);padding:calc(var(--u)*44) calc(var(--u)*72) calc(var(--u)*28)}
.sjdb-tv__day{display:flex;align-items:baseline;gap:calc(var(--u)*52)}
.sjdb-tv__day strong{font-family:var(--display);font-weight:800;font-size:calc(var(--u)*84);line-height:1;letter-spacing:-.02em}
.sjdb-tv__day span{font-size:calc(var(--u)*44);font-weight:500;color:var(--green-soft)}
.sjdb-tv__day em{font-style:normal;font-weight:700;font-size:calc(var(--u)*28);background:var(--orange);color:var(--ink);padding:calc(var(--u)*10) calc(var(--u)*24);border-radius:999px;align-self:center}
.sjdb-tv__side{display:flex;align-items:center;gap:calc(var(--u)*80);min-width:0}
.sjdb-tv__nameday{font-size:calc(var(--u)*34);font-weight:600;color:var(--green-soft);text-align:right;line-height:1.2;max-width:calc(var(--u)*860)}
.sjdb-tv__clock{font-family:var(--display);font-weight:700;font-size:calc(var(--u)*72);line-height:1;font-variant-numeric:tabular-nums}
.sjdb-tv__rows{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;padding:0 calc(var(--u)*72)}
.sjdb-tv__row{flex:1 1 0;min-height:0;display:flex;align-items:center;gap:calc(var(--u)*44);border-top:calc(var(--u)*2) solid var(--green-line)}
.sjdb-tv__label{flex:0 0 calc(var(--u)*270);display:flex;flex-wrap:wrap;align-items:center;gap:calc(var(--u)*6) calc(var(--u)*34)}
.sjdb-tv__num{width:calc(var(--u)*104);height:calc(var(--u)*104);border-radius:50%;background:var(--orange);color:var(--ink);font-family:var(--display);font-weight:800;font-size:calc(var(--u)*68);line-height:1;display:flex;align-items:center;justify-content:center}
.sjdb-tv__word{font-size:calc(var(--u)*30);font-weight:600;color:var(--green-soft)}
.sjdb-tv__pill{background:var(--green-deep);color:#fff;font-weight:700;font-size:calc(var(--u)*34);padding:calc(var(--u)*14) calc(var(--u)*28);border-radius:999px}
.sjdb-tv__pill--light{background:#fff;color:var(--green-dark)}
.sjdb-tv__sub{flex-basis:100%;font-size:calc(var(--u)*24);color:var(--green-soft);padding-left:calc(var(--u)*8)}
.sjdb-tv__text{flex:1 1 auto;min-width:0}
.sjdb-tv__dish{font-size:calc(var(--u)*62*var(--fit));font-weight:700;line-height:1.12}
.sjdb-tv__al{margin-top:calc(var(--u)*10)}
.sjdb-tv .sjdb-al{gap:calc(var(--u)*10)}
.sjdb-tv .sjdb-al__icon{width:calc(var(--u)*56);height:calc(var(--u)*56)}
.sjdb-tv__empty{flex:1;display:flex;align-items:center;justify-content:center;text-align:center;font-family:var(--display);font-weight:700;font-size:calc(var(--u)*72);border-top:calc(var(--u)*2) solid var(--green-line)}
.sjdb-tv__bottom{flex:none;min-height:calc(var(--u)*120);background:var(--green-deep);display:flex;align-items:center;justify-content:space-between;gap:calc(var(--u)*48);padding:calc(var(--u)*26) calc(var(--u)*72)}
.sjdb-tv__next{min-width:0;font-size:calc(var(--u)*32);line-height:1.25}
.sjdb-tv__next strong{color:#F9B76B;margin-right:calc(var(--u)*14)}
.sjdb-tv__weather{flex:none;display:flex;align-items:center;gap:calc(var(--u)*40);background:var(--green-deep);border-top:calc(var(--u)*2) solid var(--green-line);padding:calc(var(--u)*18) calc(var(--u)*72) calc(var(--u)*22)}
.sjdb-wx__label{flex:0 0 calc(var(--u)*290);display:flex;flex-direction:column;gap:calc(var(--u)*6)}
.sjdb-wx__label strong{font-size:calc(var(--u)*34);color:#F9B76B;line-height:1.15}
.sjdb-wx__label span{font-size:calc(var(--u)*24);color:var(--green-soft);line-height:1.2}
.sjdb-wx__label small{font-size:calc(var(--u)*16);color:var(--green-soft);opacity:.65}
.sjdb-wx__hours{flex:1 1 auto;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:calc(var(--u)*16);min-width:0}
.sjdb-wx__hour{display:flex;align-items:center;gap:calc(var(--u)*16);background:rgba(255,255,255,.06);border-radius:calc(var(--u)*20);padding:calc(var(--u)*12) calc(var(--u)*18)}
.sjdb-wx__icon{width:calc(var(--u)*72);height:calc(var(--u)*72);flex:none}
.sjdb-wx__data{display:flex;flex-direction:column;gap:calc(var(--u)*4);min-width:0}
.sjdb-wx__temp{font-family:var(--display);font-weight:700;font-size:calc(var(--u)*46);line-height:1}
.sjdb-wx__meta{display:flex;align-items:center;gap:calc(var(--u)*14);font-size:calc(var(--u)*22);color:var(--green-soft);white-space:nowrap}
.sjdb-wx__time{font-weight:600}
.sjdb-wx__rain{display:flex;align-items:center;gap:calc(var(--u)*5)}
.sjdb-wx__rain svg{width:calc(var(--u)*12);height:calc(var(--u)*16);color:#8CC8FF;opacity:.55}
.sjdb-wx__rain.is-wet{color:#fff;font-weight:700}
.sjdb-wx__rain.is-wet svg{opacity:1}
/* Spodní pás nekončí až u okraje obrazovky: televize okraje často ořezávají. */
.sjdb-tv>:last-child{padding-bottom:calc(var(--u)*22 + var(--safe))}
.sjdb-tv__notice{flex:none;max-width:45%;background:var(--orange);color:var(--ink);font-weight:700;font-size:calc(var(--u)*30);line-height:1.2;padding:calc(var(--u)*14) calc(var(--u)*30);border-radius:calc(var(--u)*40)}

/* =========================================================
   Hravé prvky: vlnky u pruhů, pára nad talířem, jemné pohyby.
   Při „omezit pohyb“ v systému se animace vypnou.
   ========================================================= */
.sjdb-band{position:relative}
.sjdb-band::before,.sjdb-footer::before{content:"";position:absolute;left:0;right:0;top:-13px;height:14px;background:inherit;pointer-events:none;
	-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 14'%3E%3Cpath d='M0 14V8c8 0 8-6 16-6s8 6 16 6 8-6 16-6v12z'/%3E%3C/svg%3E") repeat-x left bottom/48px 14px;
	mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 14'%3E%3Cpath d='M0 14V8c8 0 8-6 16-6s8 6 16 6 8-6 16-6v12z'/%3E%3C/svg%3E") repeat-x left bottom/48px 14px}
.sjdb-footer{position:relative}
.sjdb-today{position:relative;overflow:hidden}
.sjdb-today>*:not(.sjdb-doodle){position:relative}
.sjdb-doodle{position:absolute;right:-18px;bottom:-22px;width:210px;height:auto;color:#fff;opacity:.07;pointer-events:none}
.sjdb-doodle__steam path{animation:sjdb-steam 3.2s ease-in-out infinite}
.sjdb-doodle__steam path:nth-child(2){animation-delay:.6s}
.sjdb-doodle__steam path:nth-child(3){animation-delay:1.2s}
@keyframes sjdb-steam{0%,100%{transform:translateY(0);opacity:.4}50%{transform:translateY(-8px);opacity:1}}
.sjdb-badge{animation:sjdb-wiggle 1.4s ease-in-out .6s 2}
@keyframes sjdb-wiggle{0%,100%{transform:rotate(0)}20%{transform:rotate(-7deg)}40%{transform:rotate(6deg)}60%{transform:rotate(-3deg)}80%{transform:rotate(2deg)}}
.sjdb-btn{transition:transform .15s ease,background .15s,color .15s,border-color .15s}
.sjdb-btn:hover{transform:translateY(-2px)}
.sjdb-btn:active{transform:translateY(0) scale(.97)}
.sjdb-daycard,.sjdb-newscard,.sjdb-contact,.sjdb-stats>div,.sjdb-quick,.sjdb-deadline{transition:transform .2s ease,box-shadow .2s ease}
.sjdb-daycard:hover,.sjdb-newscard:hover,.sjdb-contact:hover,.sjdb-stats>div:hover{transform:translateY(-4px) rotate(-.4deg);box-shadow:0 10px 24px rgba(19,36,27,.08)}
.sjdb-newscard:nth-child(even):hover,.sjdb-stats>div:nth-child(even):hover,.sjdb-daycard:nth-child(even):hover{transform:translateY(-4px) rotate(.4deg)}
.sjdb-stats>div:nth-child(2) strong{color:var(--orange-ink)}
.sjdb-stats>div:nth-child(4) strong{color:var(--orange-ink)}
.sjdb-gallery a{transition:transform .2s ease}
.sjdb-gallery a:hover{transform:rotate(-1deg) scale(1.02)}
.sjdb-gallery a:nth-child(even):hover{transform:rotate(1deg) scale(1.02)}
.sjdb-team>div{transition:transform .2s ease}
.sjdb-team>div:hover{transform:translateY(-3px) rotate(-1.5deg)}
.sjdb-js .sjdb-reveal{opacity:0;transform:translateY(18px);transition:opacity .5s ease,transform .5s ease}
.sjdb-js .sjdb-reveal.is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
	.sjdb *,.sjdb *::before,.sjdb *::after{animation:none!important;transition:none!important}
	.sjdb-js .sjdb-reveal{opacity:1;transform:none}
}

/* =========================================================
   TV: mezery přes okraje místo vlastnosti „gap“.
   Prohlížeče v televizích bývají starší a „gap“ u flexboxu neznají,
   pak by se nadpisy, čísla a ikony slepily dohromady.
   ========================================================= */
.sjdb-tv__top,.sjdb-tv__day,.sjdb-tv__side,.sjdb-tv__row,.sjdb-tv__label,.sjdb-tv .sjdb-al,.sjdb-tv__bottom,.sjdb-tv__weather,.sjdb-wx__label,.sjdb-wx__hour,.sjdb-wx__data,.sjdb-wx__meta,.sjdb-wx__rain{gap:0}
.sjdb-tv__top>*+*{margin-left:calc(var(--u)*48)}
.sjdb-tv__day>*+*{margin-left:calc(var(--u)*52)}
.sjdb-tv__side>*+*{margin-left:calc(var(--u)*80)}
.sjdb-tv__row>*+*{margin-left:calc(var(--u)*44)}
.sjdb-tv__label>*+*{margin-left:calc(var(--u)*34)}
.sjdb-tv__label>.sjdb-tv__sub{margin-left:0;flex-basis:100%;margin-top:calc(var(--u)*6)}
.sjdb-tv .sjdb-al>*+*{margin-left:calc(var(--u)*10)}
.sjdb-tv__bottom>*+*{margin-left:calc(var(--u)*48)}
.sjdb-tv__weather>*+*{margin-left:calc(var(--u)*40)}
.sjdb-wx__label>*+*{margin-top:calc(var(--u)*6)}
.sjdb-wx__hours{grid-column-gap:calc(var(--u)*16)}
.sjdb-wx__hour>*+*{margin-left:calc(var(--u)*16)}
.sjdb-wx__data>*+*{margin-top:calc(var(--u)*4)}
.sjdb-wx__meta>*+*{margin-left:calc(var(--u)*14)}
.sjdb-wx__rain>*+*{margin-left:calc(var(--u)*5)}
/* Datum začíná ve stejném sloupci jako názvy jídel (štítek 300 + mezera 44). */
.sjdb-tv__label{flex-basis:calc(var(--u)*300)}
.sjdb-tv__day strong{min-width:calc(var(--u)*344);box-sizing:border-box;padding-right:calc(var(--u)*24)}
.sjdb-tv__day>span{margin-left:0}

/* Prohlížení fotografií */
body.sjdb-noscroll{overflow:hidden}
body.sjdb-noscroll .sjdb-orderbar{display:none!important}
.sjdb-lightbox{position:fixed;inset:0;z-index:1000;background:rgba(8,16,11,.97);display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:auto minmax(0,1fr);align-items:center;color:#fff}
.sjdb-lightbox[hidden]{display:none}
.sjdb-lightbox__bar{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;padding:14px 18px}
.sjdb-lightbox__count{font-weight:600;font-size:15px;color:#CFE3D6;padding-left:6px}
.sjdb-lightbox button{font:inherit;color:#fff;background:rgba(255,255,255,.12);border:0;cursor:pointer;transition:background .15s,transform .15s}
.sjdb-lightbox button:hover{background:rgba(255,255,255,.24)}
.sjdb-lightbox button:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
.sjdb-lightbox svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.sjdb-lightbox__close{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 18px 0 14px;border-radius:999px;font-weight:700}
.sjdb-lightbox__nav{width:56px;height:56px;margin:0 16px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.sjdb-lightbox__nav:active{transform:scale(.94)}
.sjdb-lightbox__stage{margin:0;height:100%;display:flex;align-items:center;justify-content:center;padding:0 0 24px;min-width:0}
.sjdb-lightbox__stage img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,.45);opacity:0;transition:opacity .2s}
.sjdb-lightbox__stage img.is-loaded{opacity:1}
.sjdb-gallery a{cursor:zoom-in}
@media (max-width:700px){
	.sjdb-lightbox{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
	.sjdb-lightbox__stage{grid-column:1;grid-row:2;padding:0 8px 96px}
	.sjdb-lightbox__nav{position:fixed;bottom:24px;margin:0}
	.sjdb-lightbox__nav--prev{left:24px}
	.sjdb-lightbox__nav--next{right:24px}
}


/* Velmi úzké displeje (320 px): záložky se vejdou bez vodorovného posouvání. */
@media (max-width:360px){
	.sjdb-tabs button{padding:10px 4px;font-size:13px}
}

/* Řád jídelny */
.sjdb-rad__toc{border:1px solid var(--line);border-radius:18px;padding:20px 24px}
.sjdb-rad__toc ol{margin:10px 0 0;padding-left:28px;list-style:upper-roman;columns:2;column-gap:32px}
.sjdb-rad__toc li{padding:3px 0;break-inside:avoid}
.sjdb-rad__num{color:var(--orange-ink)}
.sjdb-rad h2{scroll-margin-top:24px}
.sjdb-table{width:100%;border-collapse:collapse;font-size:16px}
.sjdb-table th,.sjdb-table td{text-align:left;padding:12px 14px;border-bottom:1px solid var(--line);vertical-align:top}
.sjdb-table thead th{font-size:14px;color:var(--text2);font-weight:600}
.sjdb-table tbody th{font-weight:600}
@media (max-width:700px){
	.sjdb-rad__toc ol{columns:1}
	.sjdb-table th,.sjdb-table td{padding:10px 8px;font-size:15px}
}


/* =========================================================
   Úpravy 1.11: hamburger, vodorovný posuv týdnů, záložky strávníků
   ========================================================= */

/* Hamburger: tři čárky se při otevření „poskládají“ do křížku s pružným doskokem,
   prostřední čárka odjede jako lžíce do šuplíku. Při najetí se čárky jemně zavlní. */
.sjdb-navtoggle{position:relative;padding:0}
.sjdb-burger{position:relative;display:block;width:22px;height:16px}
.sjdb-burger i{position:absolute;left:0;width:22px;height:2.5px;border-radius:3px;background:var(--ink);transform-origin:50% 50%;
	transition:transform .45s cubic-bezier(.68,-.6,.32,1.6),opacity .25s,width .3s,background .2s}
.sjdb-burger i:nth-child(1){top:0}
.sjdb-burger i:nth-child(2){top:6.75px;width:16px}
.sjdb-burger i:nth-child(3){top:13.5px}
.sjdb-navtoggle[aria-expanded="false"]:hover .sjdb-burger i:nth-child(1){animation:sjdb-wave .6s ease-in-out}
.sjdb-navtoggle[aria-expanded="false"]:hover .sjdb-burger i:nth-child(2){width:22px;animation:sjdb-wave .6s ease-in-out .08s}
.sjdb-navtoggle[aria-expanded="false"]:hover .sjdb-burger i:nth-child(3){animation:sjdb-wave .6s ease-in-out .16s}
.sjdb-navtoggle[aria-expanded="true"]{background:var(--orange-tint);border-color:var(--orange)}
.sjdb-navtoggle[aria-expanded="true"] .sjdb-burger i{animation:none;background:var(--brown)}
.sjdb-navtoggle[aria-expanded="true"] .sjdb-burger i:nth-child(1){transform:translateY(6.75px) rotate(45deg)}
.sjdb-navtoggle[aria-expanded="true"] .sjdb-burger i:nth-child(2){transform:translateX(18px) scaleX(0);opacity:0}
.sjdb-navtoggle[aria-expanded="true"] .sjdb-burger i:nth-child(3){width:22px;transform:translateY(-6.75px) rotate(-45deg)}
.sjdb-navtoggle.is-boing{animation:sjdb-boing .5s cubic-bezier(.34,1.56,.64,1)}
@keyframes sjdb-wave{0%,100%{transform:none}50%{transform:translateX(3px) scaleX(.85)}}
@keyframes sjdb-boing{0%{transform:scale(1)}30%{transform:scale(.86) rotate(-6deg)}65%{transform:scale(1.08) rotate(4deg)}100%{transform:scale(1)}}
.sjdb-nav.is-open{animation:sjdb-drop .35s ease-out}
@keyframes sjdb-drop{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}

/* Týdny jídelníčku ve vodorovném posuvu (bez zalamování do více řádků). */
.sjdb-weektabs{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:2px 2px 6px;margin:-2px -2px -6px}
.sjdb-weektabs::-webkit-scrollbar{display:none}
.sjdb-weektabs button{flex:0 0 auto;white-space:nowrap;scroll-snap-align:start}

@media (max-width:700px){
	/* Hlavička: hamburger má nahoře i dole volno (pravidlo .sjdb-wrap mu bralo svislé odsazení). */
	.sjdb-wrap.sjdb-header__in{padding-top:14px;padding-bottom:14px}
	/* Týdny až k okraji displeje, s jemným přechodem tam, kde pokračují. */
	.sjdb-weektabs{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px;scroll-padding-left:16px;
		-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 16px,#000 calc(100% - 28px),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 16px,#000 calc(100% - 28px),transparent 100%)}
	.sjdb-weektabs.is-start{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent 100%);mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent 100%)}
	.sjdb-weektabs.is-end{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 16px);mask-image:linear-gradient(90deg,transparent 0,#000 16px)}
	.sjdb-weektabs.is-start.is-end{-webkit-mask-image:none;mask-image:none}
	.sjdb-weektabs button{min-height:48px;padding:8px 16px;font-size:15px}
	/* Pro strávníky: ZŠ / MŠ / Senioři přes celou šířku. */
	.sjdb-switch.sjdb-tabs{display:flex;width:100%}
	.sjdb-switch.sjdb-tabs button{flex:1 1 auto;min-width:0;padding-left:10px;padding-right:10px}
}
/* Bublina u poslední ikony v řádku se zarovná doprava, aby nepřetékala přes okraj displeje. */
.sjdb-al__item:nth-last-child(-n+3)::after{left:auto;right:0;transform:translate(0,4px)}
.sjdb-al__item:nth-last-child(-n+3):hover::after,.sjdb-al__item:nth-last-child(-n+3).is-open::after{transform:translate(0,0)}
