/*! iStage · Magazín · v1.0.0
 *  Stránky:  rubrika článků /clanky-istage/ (výpis) a její články (Shoptet: Vzhled a obsah → Články), jen česká verze.
 *  Vzhled z redesignu: štítky, velký nadpis, perex, řádek s autorem a délkou čtení, vpravo obsah článku
 *  a „Produkty z článku“ s cenou a tlačítkem Koupit (doplní magazin.js). Rozvržení dělá samo CSS – stránka
 *  při načítání neposkakuje a čte se i bez skriptu. Písmo Poppins ze složky /user/documents/homepage/fonts/.
 */
@font-face{font-family:'HP Poppins';font-style:normal;font-weight:600;font-display:swap;src:url(/user/documents/homepage/fonts/poppins-600-latin-ext.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:'HP Poppins';font-style:normal;font-weight:600;font-display:swap;src:url(/user/documents/homepage/fonts/poppins-600-latin.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:'HP Poppins';font-style:normal;font-weight:700;font-display:swap;src:url(/user/documents/homepage/fonts/poppins-700-latin-ext.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:'HP Poppins';font-style:normal;font-weight:700;font-display:swap;src:url(/user/documents/homepage/fonts/poppins-700-latin.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}

/* ---------- 1) Společné ---------- */
html[lang="cs"]:not(.mg-off) body.in-clanky-istage {
  --mg-font: 'HP Poppins', 'Poppins', 'Roboto', Arial, sans-serif;
  --mg-ink: #0b0d10; --mg-body: #2b2f35; --mg-2: #55595f; --mg-3: #6b7079; --mg-line: #e2e2df; --mg-line-2: #cdcdc9; --mg-sunk: #f0f0ee;
  --mg-blue: #0063c7; --mg-ok: #146c40; --mg-star: #f5a524;
  --mg-lift: 0 8px 20px -8px rgba(11, 13, 16, .16), 0 18px 40px -22px rgba(11, 13, 16, .22);
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage main#content { float: none; width: 100%; max-width: none; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage .mg-badge {
  display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border: 1px solid var(--mg-line); border-radius: 7px;
  font: 700 11px/1 var(--mg-font); letter-spacing: .05em; text-transform: uppercase; color: var(--mg-2); white-space: nowrap;
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage .mg-badge.is-ink { border-color: var(--mg-ink); background: var(--mg-ink); color: #fff; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage .mg-eyebrow { margin: 0 0 10px; font: 600 12px/1.5 var(--mg-font); letter-spacing: .09em; text-transform: uppercase; color: var(--mg-3); }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage .mg-sr {
  position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important;
  overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important;
}

/* ---------- 2) Článek: štítky → nadpis → perex → autor a datum → text; vpravo obsah a produkty ---------- */
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail { position: relative; display: flex; flex-direction: column; max-width: 1200px; padding-bottom: 8px; color: var(--mg-body); }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text { display: contents; }                 /* odstavce článku jsou přímo v rozvržení (kvůli pořadí) */
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > *, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text > * { order: 0; max-width: 760px; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text > .ig-tags {                           /* štítky nad nadpisem (skript z nich udělá odznaky) */
  order: -4; display: flex; flex-wrap: nowrap; gap: 8px; height: 26px; margin: 0 0 18px !important; overflow: hidden;
  font: 700 11px/26px var(--mg-font); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; color: var(--mg-3);
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > h1 {
  order: -3; max-width: 900px; margin: 0 0 18px !important; padding: 0 !important;
  font-family: var(--mg-font) !important; font-size: 48px !important; font-weight: 600 !important; line-height: 1.1 !important;
  letter-spacing: -.03em; text-transform: none !important; color: var(--mg-ink) !important; text-wrap: balance;
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > h1::before, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > h1::after { content: none !important; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text > .ig-lead {
  order: -2; margin: 0 0 22px !important; font-size: 19px; line-height: 1.6; color: var(--mg-2); text-wrap: pretty;
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > time, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .mg-meta {   /* datum Shoptetu → řádek autor · datum · délka čtení · Sdílet */
  order: -1; box-sizing: border-box; display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; height: 63px; margin: 0 0 34px;
  padding: 0 0 22px; overflow: hidden; border-bottom: 1px solid var(--mg-line); font-size: 14px; line-height: 1.4; white-space: nowrap; color: var(--mg-3);
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-meta time { display: inline; height: auto; margin: 0; padding: 0; border: 0; overflow: visible; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-meta time::before, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-meta time::after { content: none !important; display: none !important; }   /* ikona šablony – máme vlastní */
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-ava {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--mg-sunk); font: 700 12.5px/1 var(--mg-font); color: var(--mg-2);
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-meta .mg-ico { width: 15px; height: 15px; margin-right: -4px; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-dot { color: var(--mg-line-2); }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-share {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; margin: 0 0 0 auto; padding: 0 16px; border: 0; border-radius: 999px;
  background: var(--mg-sunk); font: 600 14px/1 var(--mg-font); color: var(--mg-ink); cursor: pointer; transition: background .15s;
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-share:hover { background: #e6e6e3; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-share .mg-ico { width: 16px; height: 16px; margin: 0; }

/* text článku */
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text > p, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text > ul, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text > ol {
  margin: 0 0 18px !important; font-size: 17px; line-height: 1.75; color: var(--mg-body);
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text > ul, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text > ol { padding-left: 24px; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text li { margin: 0 0 8px; padding-left: 2px; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text li::marker { color: var(--mg-3); }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text > h2 {
  margin: 40px 0 14px !important; padding: 0 !important; scroll-margin-top: 110px;
  font-family: var(--mg-font) !important; font-size: 27px !important; font-weight: 600 !important; line-height: 1.25 !important;
  letter-spacing: -.02em; text-transform: none !important; color: var(--mg-ink) !important;
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text > h1 {                 /* starší články mají druhý nadpis H1 v textu – jako H2 */
  margin: 36px 0 14px !important; padding: 0 !important; font-family: var(--mg-font) !important; font-size: 30px !important;
  font-weight: 600 !important; line-height: 1.2 !important; letter-spacing: -.02em; text-transform: none !important; color: var(--mg-ink) !important;
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text > h1::before, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text > h1::after { content: none !important; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text > h3 {
  margin: 28px 0 10px !important; padding: 0 !important; scroll-margin-top: 110px;
  font-family: var(--mg-font) !important; font-size: 20px !important; font-weight: 600 !important; line-height: 1.3 !important;
  letter-spacing: -.01em; text-transform: none !important; color: var(--mg-ink) !important;
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text > h2::before, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text > h2::after,
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text > h3::before, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text > h3::after { content: none !important; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text strong { color: var(--mg-ink); }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text a { color: var(--mg-blue); text-decoration: underline; text-underline-offset: 3px; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text a:hover { color: var(--mg-ink); }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text img { max-width: 100%; height: auto; border-radius: 14px; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text > blockquote {
  margin: 8px 0 26px; padding: 6px 0 6px 20px; border-left: 3px solid var(--mg-ink);
  font: italic 500 19px/1.6 var(--mg-font); color: var(--mg-ink);
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text > blockquote p { margin: 0 !important; font: inherit; color: inherit; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text table {
  width: 100%; margin: 6px 0 26px; border-collapse: separate; border-spacing: 0; border: 1px solid var(--mg-line); border-radius: 14px;
  overflow: hidden; font-size: 15px; line-height: 1.5; color: var(--mg-body);
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text th, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text td { padding: 11px 14px; border: 0; border-bottom: 1px solid var(--mg-line); text-align: left; vertical-align: top; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text tr:last-child > * { border-bottom: 0; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text thead th, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text tr:first-child > th { background: var(--mg-sunk); font: 600 14px/1.4 var(--mg-font); color: var(--mg-ink); }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text tbody tr:nth-child(even) > td { background: #fafaf9; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text td:first-child { font-weight: 700; color: var(--mg-ink); }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text > .ig-sources { margin: 34px 0 0; padding-top: 18px; border-top: 1px solid var(--mg-line); font-size: 14px; line-height: 1.6; color: var(--mg-3); }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .ig-sources h2 {
  margin: 0 0 8px !important; font-family: var(--mg-font) !important; font-size: 15px !important; font-weight: 600 !important;
  line-height: 1.4 !important; color: var(--mg-2) !important; text-transform: none !important;
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .ig-sources h2::before, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .ig-sources h2::after { content: none !important; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .ig-sources ul { margin: 0; padding-left: 18px; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .ig-sources li { margin: 0 0 4px; font-size: 14px; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .ig-sources a { color: var(--mg-3) !important; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post.mg-on .news-item-detail > .text > .ig-products { display: none; }   /* produkty přesunul skript do pravého sloupce */
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .share { display: none; }                   /* tlačítko Facebooku nahrazuje „Sdílet“ */
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .next-prev, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .comments { order: 2; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .next-prev { display: flex; gap: 10px; margin: 34px 0 0; text-align: left; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .next-prev .btn {
  display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border: 1px solid var(--mg-line-2); border-radius: 999px;
  background: #fff; font: 600 14px/1 var(--mg-font); color: var(--mg-ink); text-transform: none; box-shadow: none;
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .next-prev .btn:hover { border-color: var(--mg-ink); }

/* pravý sloupec: obsah článku a produkty */
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-aside { order: 1; max-width: none; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-toc { margin: 0 0 30px; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-toc ol { margin: 0; padding: 0; list-style: none; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-toc li { margin: 0; padding: 0; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-toc li::before { content: none; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-toc a {
  display: block; padding: 6px 0 6px 12px; border-left: 2px solid var(--mg-line); font-size: 14px; line-height: 1.45;
  color: var(--mg-2) !important; text-decoration: none !important; transition: color .15s, border-color .15s;
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-toc a:hover { color: var(--mg-ink) !important; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-toc a.is-on { border-color: var(--mg-ink); color: var(--mg-ink) !important; font-weight: 700; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prods-h {
  margin: 0 0 14px !important; padding: 0 !important; font-family: var(--mg-font) !important; font-size: 20px !important; font-weight: 600 !important;
  line-height: 1.25 !important; letter-spacing: -.015em; text-transform: none !important; color: var(--mg-ink) !important;
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prods-h::before, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prods-h::after { content: none !important; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prods { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prods > li { min-width: 0; margin: 0; padding: 0; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prods > li::before { content: none; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prod {
  display: flex; flex-direction: column; gap: 9px; height: 100%; padding: 14px; border: 1px solid var(--mg-line); border-radius: 20px;
  background: #fff; color: var(--mg-ink); transition: border-color .2s, box-shadow .2s;
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prod:hover { border-color: var(--mg-line-2); box-shadow: var(--mg-lift); }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prod-img { display: block; aspect-ratio: 5 / 4; overflow: hidden; border-radius: 14px; background: #fff; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prod-img img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 0 !important; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prod-name {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  font: 600 15px/1.35 var(--mg-font); letter-spacing: -.01em; color: var(--mg-ink) !important; text-decoration: none !important;
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prod-name:hover { color: var(--mg-2) !important; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prod-rate { display: flex; align-items: center; gap: 6px; font-size: 13.5px; line-height: 1; color: var(--mg-3); }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prod-rate b { color: var(--mg-ink); }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-stars {
  --s: 14px; --g: 2px; display: inline-block; flex: 0 0 auto; width: calc(5 * var(--s) + 4 * var(--g)); height: var(--s);
  background: linear-gradient(90deg, var(--mg-star) calc(var(--vi, 0) * (var(--s) + var(--g)) + var(--vf, 0) * var(--s)), #cdcdc9 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid meet'%3E%3Cpath d='M12 1.8l3.1 6.4 7 1-5.1 4.9 1.2 7L12 17.8l-6.2 3.3 1.2-7L1.9 9.2l7-1z'/%3E%3C/svg%3E") 0 0 / calc(var(--s) + var(--g)) var(--s) repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' preserveAspectRatio='xMinYMid meet'%3E%3Cpath d='M12 1.8l3.1 6.4 7 1-5.1 4.9 1.2 7L12 17.8l-6.2 3.3 1.2-7L1.9 9.2l7-1z'/%3E%3C/svg%3E") 0 0 / calc(var(--s) + var(--g)) var(--s) repeat-x;
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prod-av { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--mg-av, var(--mg-ok)); }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prod-av::before { content: ''; flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prod-av:empty, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prod-rate:empty { display: none; }   /* varianty: dostupnost má každá zvlášť */
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prod-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 4px; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prod-price { font: 700 21px/1.1 var(--mg-font); letter-spacing: -.02em; color: var(--mg-ink); white-space: nowrap; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prod-price small { margin-right: 3px; font-size: 13px; font-weight: 600; color: var(--mg-3); }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prod-price s { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; color: var(--mg-3); }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-buy {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 104px; height: 42px; margin: 0; padding: 0 16px;
  border: 1px solid var(--mg-ink); border-radius: 999px; background: var(--mg-ink); font: 600 14px/1 var(--mg-font); color: #fff !important;
  text-decoration: none !important; cursor: pointer; transition: background .15s, color .15s;
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-buy:hover { background: #2b2f35; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-buy.is-ghost { background: #fff; color: var(--mg-ink) !important; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-buy.is-ghost:hover { background: var(--mg-sunk); }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-buy.is-done { border-color: var(--mg-ok); background: var(--mg-ok); }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-buy[disabled] { opacity: .7; cursor: default; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-buy .mg-ico { width: 16px; height: 16px; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prod.is-loading .mg-prod-img, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prod.is-loading .mg-prod-name { background: var(--mg-sunk); }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-ico { display: inline-block; flex: 0 0 auto; width: 18px; height: 18px; vertical-align: middle; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-share:focus-visible, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-buy:focus-visible, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prod-name:focus-visible, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-toc a:focus-visible,
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text a:focus-visible, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .next-prev .btn:focus-visible { outline: 3px solid var(--mg-blue); outline-offset: 2px; }

@media (min-width: 1200px) {                     /* počítač: pravý sloupec vedle textu, jeho obsah jede s čtením */
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post main#content > .content-inner { max-width: 1180px; margin-left: auto; margin-right: auto; }   /* šablona: 921 px */
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail { padding-right: 380px; }
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-aside { position: absolute; top: 0; right: 0; bottom: 0; width: 320px; }
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-aside-in.is-sticky { position: sticky; top: var(--mg-top, 96px); }
}
@media (max-width: 1199px) {                     /* tablet a mobil: produkty pod článkem, obsah článku není potřeba */
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-toc { display: none; }
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-aside { margin: 40px 0 0; }
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > h1 { font-size: 38px !important; }
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > h1 { font-size: 30px !important; line-height: 1.15 !important; }
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text > .ig-lead { font-size: 17px; }
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > time, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .mg-meta { gap: 8px; height: 53px; margin-bottom: 26px; padding-bottom: 16px; font-size: 13px; }
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-author, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-meta .mg-ico:not(.mg-share .mg-ico) { display: none; }   /* na mobilu jen iS · datum · délka · ikona sdílení */
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-ava { width: 32px; height: 32px; font-size: 12px; }
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-share { width: 36px; height: 36px; padding: 0; justify-content: center; }
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-share span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text > p, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text > ul, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text > ol { font-size: 16px; line-height: 1.7; }
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text > h2 { margin-top: 32px !important; font-size: 23px !important; }
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text table { display: block; overflow-x: auto; white-space: nowrap; font-size: 14px; }
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text th, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .news-item-detail > .text td { padding: 9px 12px; }
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prods {                                /* produkty vedle sebe, posouvají se prstem */
    grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 74%; gap: 10px;
    margin: 0 -12px; padding: 0 12px 10px; scroll-padding: 0 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin;
  }
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prods > li { scroll-snap-align: start; }
}

/* ---------- 3) Výpis článků: karty jako na úvodní stránce ---------- */
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing .sectionDescription { max-width: 900px; margin: 0 0 32px; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing .sectionDescription h1 {
  margin: 0 0 12px !important; padding: 0 !important; font-family: var(--mg-font) !important; font-size: 48px !important; font-weight: 600 !important;
  line-height: 1.1 !important; letter-spacing: -.03em; text-transform: none !important; color: var(--mg-ink) !important;
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing .sectionDescription h1::before, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing .sectionDescription h1::after { content: none !important; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing .sectionDescription p { margin: 0 0 8px !important; font-size: 17px; line-height: 1.6; color: var(--mg-2); }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing #newsWrapper.news-wrapper { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; margin: 0 0 40px; padding: 0; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing #newsWrapper .news-item { display: flex; flex-direction: column; gap: 12px; float: none; width: auto; min-width: 0; margin: 0; padding: 0; border: 0; background: none; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing #newsWrapper .news-item > .image {
  position: relative; float: none; width: auto; max-width: none; margin: 0; padding: 0; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: 14px; background: var(--mg-sunk);
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing #newsWrapper .news-item > .image a { display: block; width: 100%; height: 100%; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing #newsWrapper .news-item > .image img {
  display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing #newsWrapper .news-item:hover > .image img { transform: scale(1.04); }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing #newsWrapper .news-item > .text { display: flex; flex-direction: column; gap: 8px; float: none; width: auto; margin: 0; padding: 0; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing #newsWrapper .news-item a.title {
  order: 0; font: 600 20px/1.3 var(--mg-font); letter-spacing: -.015em; color: var(--mg-ink) !important; text-decoration: none !important;
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing #newsWrapper .news-item a.title:hover { color: var(--mg-2) !important; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing #newsWrapper .news-item .description {        /* perex: 3 řádky textu – i když Shoptet vloží celý článek s nadpisy a obrázky */
  order: 1; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; max-height: 4.8em;
  font-size: 14.5px; line-height: 1.6; color: var(--mg-2);
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing #newsWrapper .news-item .description * {
  display: inline !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important;
  font: inherit !important; color: inherit !important; text-decoration: none !important;
}
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing #newsWrapper .news-item .description :is(img, picture, video, iframe, table, hr, br, figure, svg, script, style) { display: none !important; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing #newsWrapper .news-item .mg-min { white-space: nowrap; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing #newsWrapper .news-item time { order: 2; display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 1.4; color: var(--mg-3); }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing #newsWrapper .news-item .mg-kicker { position: absolute; left: 12px; top: 12px; pointer-events: none; }
html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing #newsWrapper .news-item a.title:focus-visible, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing #newsWrapper .news-item .image a:focus-visible { outline: 3px solid var(--mg-blue); outline-offset: 3px; }
@media (max-width: 991px) {
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing #newsWrapper.news-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing .sectionDescription h1 { font-size: 38px !important; }
}
@media (max-width: 767px) {
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing #newsWrapper.news-wrapper { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing .sectionDescription h1 { font-size: 32px !important; }
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing #newsWrapper .news-item a.title { font-size: 18px; }
}
@media (hover: none) {
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing #newsWrapper .news-item:hover > .image img { transform: none; }
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prod:hover { box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing #newsWrapper .news-item > .image img, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-prod, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-toc a, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-buy, html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-post .mg-share { transition: none; }
  html[lang="cs"]:not(.mg-off) body.in-clanky-istage.type-posts-listing #newsWrapper .news-item:hover > .image img { transform: none; }
}
