/* ==========================================================================
   Jedno Zdraví v2 – vzhled
   Paleta: lesní zelená (značka), teplý akcent, barvy rubrik.
   Písma: Source Serif 4 (nadpisy), Inter (text) – hostované lokálně.
   ========================================================================== */

:root {
  --ink: #12241d;
  --ink-2: #3a4c44;
  --muted: #66756e;
  --line: #e1e8e3;
  --line-2: #edf2ee;
  --bg: #ffffff;
  --soft: #f4f7f4;
  --cream: #faf8f3;
  --brand: #1e6b52;
  --brand-d: #14503c;
  --brand-50: #eaf3ee;
  --brand-100: #d3e7db;
  --warm: #f0a35e;
  --c: var(--brand);

  --serif: 'Source Serif 4', 'Iowan Old Style', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --r: 16px;
  --r-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(18, 36, 29, .06);
  --shadow: 0 1px 2px rgba(18, 36, 29, .05), 0 10px 30px -14px rgba(18, 36, 29, .22);
  --shell: 1240px;
  --narrow: 820px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Základ ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
button, input { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 650; line-height: 1.18; letter-spacing: -.012em; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
mark { background: #fdeccc; color: inherit; padding: 0 .12em; border-radius: 3px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, white); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brand-100); }

.icon { width: 1.15em; height: 1.15em; flex: none; }
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: 24px; }
.shell--narrow { max-width: calc(var(--narrow) + 48px); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.hp { position: absolute; left: -9999px; }

/* ---------- Tlačítka, formuláře ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .78em 1.25em; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--brand); color: #fff; font-weight: 600; font-size: .95rem; line-height: 1.1;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--brand-d); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 1.5px var(--brand-100); }
.btn--ghost:hover { background: var(--brand-50); color: var(--brand-d); }
.btn--sm { padding: .58em 1em; font-size: .88rem; }
.btn .icon { width: 1.05em; height: 1.05em; }

.input {
  width: 100%; min-width: 0; padding: .8em 1.1em; border: 1.5px solid var(--line); border-radius: 999px;
  background: #fff; font-size: .98rem; transition: border-color .2s, box-shadow .2s;
}
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }

.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s;
}
.icon-btn:hover { background: var(--soft); color: var(--brand); }
.icon-btn .icon { width: 21px; height: 21px; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: .92rem; color: var(--brand); white-space: nowrap; }
.link-arrow .icon { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.link-arrow:hover { color: var(--brand-d); }
.link-arrow:hover .icon { transform: translateX(3px); }

.eyebrow { font: 600 .74rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: .6rem; }

/* Štítek rubriky */
.kicker {
  display: inline-flex; align-items: center; gap: .45em;
  font: 600 .74rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  color: var(--c);
}
.kicker::before { content: ''; width: 7px; height: 7px; border-radius: 2px; background: var(--c); }
a.kicker:hover { color: color-mix(in srgb, var(--c) 75%, black); }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: .15em .5em; font-size: .82rem; color: var(--muted); }
.meta__author { color: var(--ink-2); font-weight: 500; }
.meta__dot { opacity: .6; }

/* Avatary */
.avatar-img { border-radius: 50%; object-fit: cover; flex: none; background: var(--soft); }
.avatar-mono {
  display: inline-grid; place-items: center; flex: none; border-radius: 50%;
  background: var(--brand-50); color: var(--brand); font-family: var(--serif); font-weight: 650; letter-spacing: .02em;
}

/* ---------- Horní lišta a hlavička ---------- */
.topbar { background: var(--brand-d); color: rgba(255, 255, 255, .82); font-size: .8rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 36px; }
.topbar__links { display: flex; gap: 1.4rem; }
.topbar a:hover { color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line); transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -16px rgba(18, 36, 29, .35); }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 38px; height: 38px; border-radius: 10px; }
.brand__word { font: 500 1.42rem/1 var(--serif); letter-spacing: -.02em; }
.brand__word b { font-weight: 700; color: var(--brand); margin-left: .18em; }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand__word b { color: #9fd8bd; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; list-style: none; gap: 4px; }
.main-nav a {
  position: relative; display: block; padding: 10px 12px; border-radius: 8px;
  font-weight: 500; font-size: .94rem; color: var(--ink-2); white-space: nowrap;
}
.main-nav a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after, .main-nav a[aria-current]::after { transform: scaleX(1); }
.main-nav a[aria-current] { color: var(--ink); }

.site-header__actions { display: flex; align-items: center; gap: 6px; }
.menu-btn { display: none; }
.menu-btn .i-close, .menu-open .menu-btn .i-open { display: none; }
.menu-open .menu-btn .i-close { display: block; }

.header-search { border-top: 1px solid var(--line); background: #fff; padding: 18px 0 22px; }
.search-form { position: relative; display: flex; gap: 8px; align-items: center; }
.search-form__ico { position: absolute; left: 18px; width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.search-form__input {
  flex: 1; min-width: 0; padding: .9em 1.1em .9em 3em; border: 1.5px solid var(--line); border-radius: 999px; background: var(--soft);
  font-size: 1rem; transition: border-color .2s, background .2s, box-shadow .2s;
}
.search-form__input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-50); }

.mobile-menu { border-top: 1px solid var(--line); background: #fff; padding: 20px 0 28px; max-height: calc(100vh - var(--header-h)); overflow: auto; }
.mobile-menu .eyebrow { margin: 6px 0 10px; color: var(--muted); }
.mobile-menu__cats, .mobile-menu__links { list-style: none; display: grid; gap: 2px; margin-bottom: 18px; }
.mobile-menu__cats a { display: flex; align-items: center; gap: 12px; padding: 10px 6px; border-radius: 10px; font-weight: 600; }
.mobile-menu__cats a:hover { background: var(--soft); color: var(--ink); }
.mobile-menu__cats small { margin-left: auto; color: var(--muted); font-weight: 500; }
.mobile-menu__links a { display: block; padding: 9px 6px; color: var(--ink-2); }
.cat-ico { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: color-mix(in srgb, var(--c) 12%, white); color: var(--c); flex: none; }
.cat-ico .icon { width: 19px; height: 19px; }

.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), #3fa47f); transform: scaleX(0); transform-origin: left; }

/* ---------- Sekce ---------- */
.section { padding: 64px 0; }
.section--tight { padding: 40px 0 72px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.section-title { font-size: clamp(1.55rem, 1.2rem + 1vw, 2.05rem); }
.section-title--sm { font-size: 1.45rem; }
.section-title a:hover { color: var(--c); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }

/* ---------- Karty ---------- */
.card { position: relative; display: flex; flex-direction: column; gap: 16px; }
.card__media, .mini__media, .lead__media, .result__media {
  position: relative; display: block; overflow: hidden; border-radius: var(--r); background: var(--soft);
}
.card__media { aspect-ratio: 3 / 2; }
.card__media img, .mini__media img, .lead__media img, .result__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img, .mini:hover .mini__media img, .lead:hover .lead__media img { transform: scale(1.035); }
.card__body { display: flex; flex-direction: column; gap: 10px; }
.card__title { font-size: 1.28rem; line-height: 1.25; }
.card__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.card:hover .card__title a { background-size: 100% 1px; color: var(--ink); }
.card__excerpt { color: var(--ink-2); font-size: .96rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.card--row { flex-direction: row; align-items: flex-start; gap: 18px; }
.card--row .card__media { width: 38%; max-width: 200px; flex: none; aspect-ratio: 4 / 3; border-radius: 12px; }
.card--row .card__title { font-size: 1.1rem; }
.card--row .card__body { gap: 8px; padding-top: 2px; }

.card--feature .card__media { aspect-ratio: 16 / 10; }
.card--feature .card__title { font-size: clamp(1.45rem, 1.1rem + 1vw, 1.9rem); }
.card--feature .card__excerpt { -webkit-line-clamp: 4; font-size: 1.02rem; }

.card--wide { align-items: center; gap: 40px; }
.card--wide .card__media { width: 56%; max-width: none; aspect-ratio: 16 / 10; border-radius: var(--r); }
.card--wide .card__title { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
.card--wide .card__excerpt { -webkit-line-clamp: 4; font-size: 1.04rem; }
.card--wide .card__body { gap: 14px; }

.mini { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: start; }
.mini__media { aspect-ratio: 4 / 3; border-radius: 10px; }
.mini__body { display: flex; flex-direction: column; gap: 6px; }
.mini__title { font-size: 1.04rem; line-height: 1.3; }
.mini__title a:hover { color: var(--brand); }

.media-fallback { display: grid; place-items: center; width: 100%; height: 100%; min-height: 100%; background: color-mix(in srgb, var(--c) 10%, white); color: var(--c); }
.media-fallback .icon { width: 34%; height: 34%; opacity: .55; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 48px; background: linear-gradient(180deg, var(--soft), #fff 85%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.lead { display: flex; flex-direction: column; gap: 22px; }
.lead__media { aspect-ratio: 16 / 9.5; border-radius: 20px; box-shadow: var(--shadow); }
.lead__body { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.lead__title { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.85rem); line-height: 1.1; letter-spacing: -.02em; }
.lead__title a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--c); }
.lead__excerpt { font-size: 1.1rem; color: var(--ink-2); line-height: 1.6; }

.byline { display: inline-flex; align-items: center; gap: 12px; margin-top: 4px; }
.byline > span, .byline > div { display: flex; flex-direction: column; line-height: 1.3; }
.byline__name { font-weight: 600; font-size: .95rem; color: var(--ink); }
a.byline:hover .byline__name, .byline__name:hover { color: var(--brand); }
.byline__meta, .byline__role { font-size: .84rem; color: var(--muted); }

.hero__side { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px 24px 20px; box-shadow: var(--shadow-sm); }
.side-title { display: flex; align-items: center; gap: 10px; font: 700 .8rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #d9534f; box-shadow: 0 0 0 0 rgba(217, 83, 79, .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(217, 83, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(217, 83, 79, 0); } }
.hero__list { display: grid; }
.hero__list .mini { padding: 16px 0; border-top: 1px solid var(--line-2); }
.hero__list .mini:first-child { border-top: 0; padding-top: 0; }
.hero__side > .link-arrow { margin-top: 10px; }

/* ---------- Rubriky (dlaždice) ---------- */
.topics { padding: 8px 0 8px; }
.topics__list { list-style: none; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.topic {
  display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.topic:hover { color: var(--ink); border-color: color-mix(in srgb, var(--c) 40%, white); box-shadow: var(--shadow); transform: translateY(-2px); }
.topic__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: color-mix(in srgb, var(--c) 12%, white); color: var(--c); flex: none; }
.topic__ico .icon { width: 21px; height: 21px; }
.topic__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.topic__txt strong { font-size: .9rem; font-weight: 600; }
.topic__txt small { font-size: .78rem; color: var(--muted); }

/* ---------- Rubrikové bloky ---------- */
.cat-block--alt { background: var(--cream); }
.cat-block__head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 2px solid var(--c); }
.cat-block__head p { color: var(--muted); margin-top: 4px; max-width: 640px; font-size: .98rem; }
.cat-block__ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; background: var(--c); color: #fff; }
.cat-block__ico .icon { width: 27px; height: 27px; }
.cat-block .link-arrow { color: var(--c); }
.cat-block__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.cat-block__list { display: grid; gap: 0; }
.cat-block__list .card--row { padding: 20px 0; border-top: 1px solid var(--line); }
.cat-block__list .card--row:first-child { padding-top: 0; border-top: 0; }
.cat-block--alt .cat-block__list .card--row { border-color: #e9e4d8; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.duo__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 2px solid var(--c); }
.duo__head .link-arrow { margin-left: auto; color: var(--c); }
.duo__list { display: grid; gap: 20px; }

/* ---------- Redakce / důvěra ---------- */
.trust { background: var(--brand-d); color: #fff; position: relative; overflow: hidden; }
.trust::before {
  content: ''; position: absolute; inset: auto -120px -160px auto; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(159, 216, 189, .16), transparent 70%);
}
.trust .eyebrow { color: #9fd8bd; }
.trust .section-title { color: #fff; }
.trust__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 56px; align-items: center; }
.trust__intro > p { color: rgba(255, 255, 255, .8); margin: 14px 0 24px; font-size: 1.04rem; }
.trust__points { list-style: none; display: grid; gap: 14px; margin-bottom: 28px; }
.trust__points li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255, 255, 255, .78); font-size: .95rem; }
.trust__points strong { display: block; color: #fff; font-weight: 600; }
.trust__points .icon { width: 22px; height: 22px; color: #9fd8bd; margin-top: 2px; }
.trust .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.trust .btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.person {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 28px 18px 24px;
  border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  transition: background .2s, transform .2s var(--ease);
}
.person:hover { background: rgba(255, 255, 255, .1); color: #fff; transform: translateY(-3px); }
.person .avatar-img, .person .avatar-mono { margin-bottom: 12px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); }
.person__name { font-family: var(--serif); font-weight: 650; font-size: 1.12rem; color: #fff; }
.person__role { font-size: .85rem; color: rgba(255, 255, 255, .72); line-height: 1.4; }
.person__count { margin-top: 8px; font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #9fd8bd; }

/* ---------- Newsletter ---------- */
.nl-band { background: var(--brand-50); border-top: 1px solid var(--brand-100); padding: 56px 0; }
.nl-band__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.nl-band h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); max-width: 520px; }
.nl-band__points { list-style: none; display: grid; gap: 8px; margin-top: 18px; color: var(--ink-2); font-size: .96rem; }
.nl-band__points li { display: flex; gap: 10px; align-items: center; }
.nl-band__points .icon { color: var(--brand); width: 18px; height: 18px; }
.nl-band__form { background: #fff; border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.nl__row { display: flex; gap: 8px; }
.nl__legal { display: block; margin-top: 12px; font-size: .78rem; line-height: 1.5; color: var(--muted); }
.nl__legal a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.nl__msg { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 14px; border-radius: 10px; font-size: .9rem; font-weight: 500; }
.nl__msg.is-ok { background: var(--brand-50); color: var(--brand-d); }
.nl__msg.is-err { background: #fdecec; color: #9b1c1c; }

/* ---------- Patička ---------- */
.site-footer { background: #0f211a; color: rgba(255, 255, 255, .7); font-size: .92rem; padding: 64px 0 28px; }
.site-footer a:hover { color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.site-footer__about p { margin-top: 16px; max-width: 380px; line-height: 1.65; }
.site-footer h2 { font: 600 .76rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer__col ul { list-style: none; display: grid; gap: 9px; }
.site-footer__col p + p { margin-top: 8px; }
.site-footer__small { font-size: .84rem; color: rgba(255, 255, 255, .55); }
.site-footer__disclaimer { display: flex; gap: 14px; padding: 18px 20px; border-radius: 14px; background: rgba(255, 255, 255, .05); font-size: .85rem; line-height: 1.6; }
.site-footer__disclaimer .icon { width: 20px; height: 20px; color: #9fd8bd; margin-top: 2px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; margin-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; color: rgba(255, 255, 255, .5); }

/* ---------- Článek ---------- */
.article-head { padding: 36px 0 32px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 6%, white), #fff); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .84rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--brand); }
.crumbs .icon { width: 14px; height: 14px; opacity: .6; }
.crumbs span[aria-current] { color: var(--ink-2); }
.article-head .kicker { margin-bottom: 14px; }
.article-title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); line-height: 1.1; letter-spacing: -.022em; }
.article-lead { margin-top: 18px; font: 400 clamp(1.12rem, 1rem + .4vw, 1.3rem)/1.55 var(--serif); color: var(--ink-2); }
.article-byline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.article-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .86rem; color: var(--muted); }
.article-facts li { display: inline-flex; align-items: center; gap: 7px; }
.article-facts .icon { width: 16px; height: 16px; color: var(--brand); }

.article-figure { margin: 8px auto 0; max-width: calc(1160px + 48px); }
.article-figure img { width: 100%; aspect-ratio: 16 / 8.4; object-fit: cover; border-radius: 20px; }
.article-figure figcaption { margin-top: 10px; font-size: .84rem; color: var(--muted); }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; margin-top: 48px; max-width: calc(1100px + 48px); }
.article-main { min-width: 0; max-width: 720px; }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 20px; }

.toc { border-left: 2px solid var(--line); padding: 2px 0 2px 0; }
.toc__title { display: flex; align-items: center; gap: 8px; padding-left: 18px; margin-bottom: 12px; font: 700 .76rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.toc__title .icon { width: 16px; height: 16px; color: var(--brand); }
.toc ol { list-style: none; display: grid; gap: 2px; }
.toc a { position: relative; display: block; margin-left: -2px; padding: 6px 0 6px 18px; border-left: 2px solid transparent; font-size: .9rem; line-height: 1.4; color: var(--muted); transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--brand); border-left-color: var(--brand); font-weight: 600; }

.toc-mobile { display: none; margin-bottom: 28px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft); }
.toc-mobile summary { display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-weight: 600; cursor: pointer; list-style: none; }
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile summary small { margin-left: auto; color: var(--muted); font-weight: 500; }
.toc-mobile summary .icon { color: var(--brand); }
.toc-mobile ol { padding: 0 18px 16px 38px; display: grid; gap: 8px; font-size: .95rem; }
.toc-mobile a { color: var(--ink-2); }

.aside-nl { padding: 22px; border-radius: 16px; background: var(--brand-50); }
.aside-nl__title { display: flex; align-items: center; gap: 8px; font: 650 1.08rem/1.25 var(--serif); margin-bottom: 6px; }
.aside-nl__title .icon { color: var(--brand); }
.aside-nl > p:not(.aside-nl__title) { font-size: .88rem; color: var(--ink-2); margin-bottom: 14px; }
.aside-nl .nl__row { flex-direction: column; }
.aside-nl .btn { width: 100%; }
.aside-nl .input { background: #fff; }

/* Text článku */
.prose { font-size: 1.11rem; line-height: 1.75; color: #1f322a; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { margin-top: 2.1em; font-size: clamp(1.5rem, 1.25rem + .8vw, 1.85rem); line-height: 1.22; }
.prose h3 { margin-top: 1.8em; font-size: 1.3rem; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--brand) 45%, white); }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { font-weight: 650; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .55em; }
.prose ul li::marker { color: var(--c); }
.prose ol li::marker { color: var(--c); font-weight: 700; }
.prose figure { margin-inline: 0; }
.prose img { border-radius: 14px; max-height: 620px; width: auto; margin-inline: auto; }
.prose figure.wp-block-image img { box-shadow: var(--shadow-sm); }
.prose figcaption { text-align: center; font-size: .86rem; color: var(--muted); margin-top: 10px; }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--c); font: italic 400 1.22rem/1.55 var(--serif); color: var(--ink); }
.prose blockquote p { margin: 0; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .96rem; line-height: 1.5; }
.prose .wp-block-table { overflow-x: auto; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { background: var(--soft); font-weight: 600; border-bottom: 2px solid var(--line); }
.prose > p:first-child { font-size: 1.18rem; color: var(--ink); }

.notice { display: flex; gap: 14px; margin-top: 40px; padding: 18px 20px; border-radius: 14px; background: #fff8ee; border: 1px solid #f5e1c4; font-size: .92rem; line-height: 1.6; color: #5c4a2e; }
.notice .icon { width: 22px; height: 22px; color: #c07b2a; margin-top: 1px; }

.share-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 40px; padding: 18px 0; border-block: 1px solid var(--line); }
.share-row > span { font-weight: 600; font-size: .92rem; }
.share { display: flex; gap: 8px; }
.share a, .share button {
  position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); cursor: pointer; transition: all .2s;
}
.share a:hover, .share button:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-50); }
.share .icon { width: 18px; height: 18px; }
.share .copied { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); padding: 4px 8px; border-radius: 6px; background: var(--ink); color: #fff; font-size: .74rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.share .is-copied .copied { opacity: 1; }

.author-box { display: flex; gap: 22px; margin-top: 36px; padding: 28px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line-2); }
.author-box h2 { font-size: 1.35rem; }
.author-box__role { font-size: .9rem; color: var(--brand); font-weight: 500; margin: 2px 0 10px; }
.author-box p:not(.eyebrow):not(.author-box__role) { color: var(--ink-2); font-size: .97rem; margin-bottom: 12px; }
.author-box .eyebrow { margin-bottom: 4px; color: var(--muted); }

.related { background: var(--soft); margin-top: 72px; }
.related .section-head { border-color: #dde5df; }

/* ---------- Archivy ---------- */
.archive-head { padding: 36px 0 36px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 8%, white), #fff); border-bottom: 1px solid var(--line-2); }
.archive-head__row { display: flex; gap: 22px; align-items: flex-start; }
.archive-ico { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 18px; background: var(--c); color: #fff; flex: none; box-shadow: 0 10px 24px -12px var(--c); }
.archive-ico .icon { width: 34px; height: 34px; }
.archive-title { font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); letter-spacing: -.02em; }
.archive-desc { margin-top: 10px; max-width: 680px; font-size: 1.08rem; color: var(--ink-2); }
.archive-count { margin-top: 12px; font-size: .86rem; font-weight: 600; color: var(--c); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips--center { justify-content: center; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .86rem; font-weight: 500; color: var(--ink-2); transition: all .2s; }
.chip:hover { border-color: var(--c); color: var(--c); }
.chip[aria-current] { background: var(--c); border-color: var(--c); color: #fff; }
.archive-lead { margin-bottom: 52px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }

.profile { display: flex; gap: 28px; align-items: center; }
.profile .avatar-img, .profile .avatar-mono { box-shadow: 0 0 0 6px #fff, var(--shadow); }
.profile .eyebrow { margin-bottom: 6px; }

.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pagination .page-numbers { display: inline-flex; align-items: center; gap: 6px; min-width: 44px; height: 44px; justify-content: center; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-weight: 500; font-size: .94rem; }
.pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--brand); color: var(--brand); }
.pagination .dots { border: 0; }
.pagination .icon { width: 16px; height: 16px; }

/* Hledání */
.search-big { margin-top: 24px; }
.search-big .search-form__input { background: #fff; }
.results { display: grid; gap: 0; }
.result { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.result__media { aspect-ratio: 4 / 3; border-radius: 12px; }
.result__title { font-size: 1.3rem; margin: 8px 0 6px; }
.result__title a:hover { color: var(--brand); }
.result p { color: var(--ink-2); font-size: .96rem; margin-bottom: 8px; }
.empty { padding: 40px 0; text-align: center; color: var(--ink-2); }
.empty h2 { margin-bottom: 8px; }
.empty .chips { justify-content: center; }

.notfound { padding: 72px 0 24px; text-align: center; }
.notfound__code { font: 700 clamp(5rem, 4rem + 6vw, 9rem)/1 var(--serif); color: var(--brand-100); letter-spacing: -.04em; }
.notfound .archive-desc { margin-inline: auto; }
.notfound .search-big { max-width: 560px; margin-inline: auto; }

/* Stránky */
.page-head { padding: 36px 0 28px; background: linear-gradient(180deg, var(--soft), #fff); }
.page-figure { margin: 0 0 32px; }
.page-figure img { border-radius: 18px; width: 100%; }
.prose--page { padding-bottom: 72px; }
.prose--page > p:first-child { font-size: 1.2rem; }
.prose--page hr { margin: 2.4em 0; }
.prose--page h3 { margin-top: 1.2em; }
.prose--page img[style*="50%"] { box-shadow: 0 0 0 5px var(--brand-50); }

/* ==========================================================================
   Responzivita
   ========================================================================== */
@media (max-width: 1180px) {
  .topics__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .main-nav a { padding: 10px 9px; font-size: .9rem; }
  .site-header__cta { display: none; }
}

@media (max-width: 1024px) {
  :root { --header-h: 64px; }
  .main-nav { display: none; }
  .menu-btn { display: inline-grid; }
  .site-header__actions { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .cat-block__grid { grid-template-columns: 1fr; gap: 32px; }
  .trust__grid { grid-template-columns: 1fr; gap: 40px; }
  .article-layout { grid-template-columns: 1fr; gap: 0; }
  .article-aside { display: none; }
  .article-main { max-width: 720px; margin-inline: auto; }
  .toc-mobile { display: block; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__about { grid-column: 1 / -1; }
  .card--wide { flex-direction: column; align-items: stretch; gap: 20px; }
  .card--wide .card__media { width: 100%; }
}

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
  .duo { grid-template-columns: 1fr; gap: 44px; }
  .nl-band__inner { grid-template-columns: 1fr; gap: 28px; }
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .person { padding: 22px 10px 18px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .shell { padding-inline: 18px; }
  .topbar { display: none; }
  .brand__word { font-size: 1.28rem; }
  .brand__mark { width: 34px; height: 34px; }
  .section { padding: 44px 0; }
  .hero { padding: 20px 0 32px; }
  .lead__media { border-radius: 16px; margin-inline: -4px; }
  .hero__side { padding: 20px; border-radius: 16px; }
  .topics__list { display: flex; overflow-x: auto; gap: 10px; padding-bottom: 6px; scroll-snap-type: x mandatory; margin-inline: -18px; padding-inline: 18px; scrollbar-width: none; }
  .topics__list::-webkit-scrollbar { display: none; }
  .topics__list li { flex: 0 0 auto; scroll-snap-align: start; }
  .topic { padding: 10px 14px 10px 10px; }
  .grid-3 { grid-template-columns: 1fr; gap: 32px; }
  .cat-block__head { grid-template-columns: auto 1fr; }
  .cat-block__head .link-arrow { grid-column: 1 / -1; }
  .cat-block__ico { width: 46px; height: 46px; }
  .card--row .card__media { width: 112px; }
  .team { grid-template-columns: 1fr; }
  .person { flex-direction: row; text-align: left; gap: 0 16px; padding: 16px; display: grid; grid-template-columns: 72px 1fr; align-items: center; }
  .person .avatar-img, .person .avatar-mono { width: 72px !important; height: 72px !important; grid-row: span 3; margin: 0; }
  .person__count { margin-top: 2px; }
  .nl-band { padding: 40px 0; }
  .nl-band__form { padding: 20px; }
  .nl__row { flex-direction: column; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__bottom { flex-direction: column; }
  .article-head { padding: 22px 0 24px; }
  .crumbs { margin-bottom: 16px; }
  .article-byline { flex-direction: column; align-items: flex-start; }
  .article-figure { padding-inline: 0; }
  .article-figure img { border-radius: 0; aspect-ratio: 16 / 10; }
  .article-figure figcaption { padding-inline: 18px; }
  .article-layout { margin-top: 32px; }
  .prose { font-size: 1.06rem; line-height: 1.72; }
  .prose > p:first-child { font-size: 1.12rem; }
  .author-box { flex-direction: column; gap: 14px; padding: 22px; }
  .archive-head__row { flex-direction: column; gap: 16px; }
  .archive-ico { width: 56px; height: 56px; }
  .profile { flex-direction: column; align-items: flex-start; gap: 18px; }
  .profile .avatar-img, .profile .avatar-mono { width: 96px !important; height: 96px !important; }
  .result { grid-template-columns: 96px 1fr; gap: 16px; }
  .result__title { font-size: 1.12rem; }
  .search-form .btn { padding-inline: 1em; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -18px; padding: 0 18px 4px; scrollbar-width: none; }
  .chip { flex: none; }
  .chips--center { flex-wrap: wrap; justify-content: center; overflow: visible; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .topbar, .site-header, .nl-band, .site-footer, .article-aside, .share-row, .related, .toc-mobile { display: none !important; }
  .article-layout { display: block; }
}

/* Zarovnání hlavičky článku s textem a obrázkem */
.article-head .shell--narrow, .article-figure { max-width: calc(1100px + 48px); }
.article-head .shell--narrow > * { max-width: 820px; }
.article-head .article-byline { max-width: 100%; }
.article-figure img { aspect-ratio: 16 / 8; }

/* Dlaždice rubrik: ikona nad textem, názvy na jeden řádek */
@media (min-width: 761px) {
  .topic { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
  .topic__txt strong { white-space: nowrap; }
}
@media (min-width: 761px) and (max-width: 1180px) {
  .topics__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Bublina „Zkopírováno“ nesmí přetéct na mobilu */
.share .copied { left: auto; right: 0; transform: none; visibility: hidden; }
.share .is-copied .copied { visibility: visible; }

/* Stránka O redakci: členové týmu jako karty (bloky .team-member z obsahu stránky) */
.prose .team-member { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--soft); }
.prose .team-member > .wp-block-group__inner-container,
.prose .team-member:not(:has(> .wp-block-group__inner-container)) { display: grid; grid-template-columns: 112px minmax(0, 1fr); column-gap: 24px; align-items: start; }
.prose .team-member > *, .prose .team-member > .wp-block-group__inner-container > * { margin: 0; grid-column: 2; }
.prose .team-member figure { grid-column: 1 !important; grid-row: 1 / span 3; }
.prose .team-member img { width: 112px !important; height: 112px !important; margin: 0; box-shadow: 0 0 0 5px #fff; }
.prose .team-member h3 { font-size: 1.3rem; margin-top: 4px; }
.prose .team-member p { font-size: 1rem; line-height: 1.6; color: var(--ink-2); }
.prose .team-member p em { font-style: normal; font-weight: 600; font-size: .92rem; color: var(--brand); }
.prose .team-member p + p { margin-top: 6px; }
.prose .team-member + .team-member { margin-top: 16px; }
@media (max-width: 760px) {
  .prose .team-member { padding: 20px; }
  .prose .team-member > .wp-block-group__inner-container, .prose .team-member:not(:has(> .wp-block-group__inner-container)) { grid-template-columns: 1fr; }
  .prose .team-member > .wp-block-group__inner-container > *, .prose .team-member > * { grid-column: 1; }
  .prose .team-member figure { grid-row: auto; margin-bottom: 14px !important; }
  .prose .team-member img { width: 88px !important; height: 88px !important; }
}

/* Kontakt */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 8px 0 72px; }
.contact-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.contact-card:hover { color: var(--ink); border-color: var(--brand-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.contact-card .cat-ico { --c: var(--brand); margin-bottom: 6px; }
.contact-card strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 650; }
.contact-card span { font-size: .92rem; color: var(--ink-2); }
.contact-card em { font-style: normal; font-weight: 600; font-size: .92rem; color: var(--brand); margin-top: auto; }
.prose--page:has(+ .contact-cards) { padding-bottom: 32px; }
@media (max-width: 760px) { .contact-cards { grid-template-columns: 1fr; } }

/* Komerční sdělení */
.sponsored-label { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px 10px; padding: 3px 9px; border-radius: 999px; background: #fff4e5; color: #8a4b00; border: 1px solid #f3d3a4; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
.card .sponsored-label, .mini .sponsored-label, .tcard .sponsored-label { margin: 0 0 8px; font-size: .66rem; padding: 2px 8px; }
.kicker + .sponsored-label { margin-left: 8px; }
.card__body > .sponsored-label, .mini__body > .sponsored-label { align-self: flex-start; margin: 0 !important; }
