/* R09/R10/R14: refine existing components; preserve all assets and interactions. */

/* Existing light-theme frames share the original .wrap axis. */
.cx-wrap,
.cx-legacy > summary,
.of-method > summary,
.strj-related-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.25rem);
}
.cx-legacy.cx-context {
  width: 100%;
  max-width: none;
  padding-inline: 0;
}
.strj-related-intro,
.strj-related-links {
  min-width: 0;
}

/* Natural reflow for the existing translated headlines; no type-size change. */
html:is([lang="de"], [lang="es"], [lang="it"], [lang="fr"]) .hero-h1[data-astro-cid-i3irphx7] > :is(.hl-a, .hl-b)[data-astro-cid-i3irphx7] {
  white-space: normal;
  text-wrap: balance;
}

/* Keep the original animated mascot inside its scene, including its initial state. */
.st-pravy[data-astro-cid-u5tqterp],
.st-maskot[data-astro-cid-u5tqterp],
.st-znak-obal[data-astro-cid-u5tqterp] {
  min-width: 0;
  max-width: 100%;
}
.st-znak-obal[data-astro-cid-u5tqterp] > svg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
@media (min-width: 980px) {
  .st-wrap[data-kdo=""] .st-pravy[data-astro-cid-u5tqterp] {
    right: 0;
  }
}

/* Language choices reflow together even when the prompt uses another locale. */
.geo-akce[data-astro-cid-duouj2dl] {
  flex: 0 1 auto;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
}
.geo-akce[data-astro-cid-duouj2dl] .geo-btn[data-astro-cid-duouj2dl] {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Existing catalogue choices shrink within their column, including long locales. */
.kf-volba[data-astro-cid-mfdzljrz] {
  min-width: 0;
  max-width: 100%;
  grid-template-columns: 2.4rem minmax(0, 1fr) auto;
}
.kf-volba[data-astro-cid-mfdzljrz] > .kf-v-n[data-astro-cid-mfdzljrz] {
  min-width: 0;
  flex-wrap: wrap;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.kf-volba[data-astro-cid-mfdzljrz] > .kf-v-c[data-astro-cid-mfdzljrz] {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
}

/* Preserve the gear drawing at its existing scale, aligned to its section edge. */
.sp[data-astro-cid-kahvzwtb] .sp-prevody {
  right: 0;
  max-width: 100%;
}

/* Both existing consent choices retain equal width and complete labels. */
@media (max-width: 600px) {
  .consent-actions[data-astro-cid-ejn4wx6a] {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    flex: 1 1 100%;
  }
  .consent-actions[data-astro-cid-ejn4wx6a] .consent-btn[data-astro-cid-ejn4wx6a] {
    min-width: 0;
    min-height: 44px;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
  }
}

/* The existing four profiles, carousel, portraits, vectors and animations stay. */
.team--consultants .tm--consultant .tm-role[data-astro-cid-ae2kqkmy] {
  min-width: 0;
  max-width: 100%;
  font-size: .75rem;
  letter-spacing: .035em;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.team--consultants .tm--consultant .tm-line[data-astro-cid-ae2kqkmy] {
  font-size: .9375rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.team--consultants .tm--consultant .tm-tags[data-astro-cid-ae2kqkmy] li[data-astro-cid-ae2kqkmy] {
  font-size: .75rem;
  letter-spacing: .015em;
  line-height: 1.4;
}
.team--consultants .consultant-more[data-astro-cid-ae2kqkmy] summary[data-astro-cid-ae2kqkmy] {
  font-size: .75rem;
  letter-spacing: .035em;
}
.team--consultants .consultant-fact[data-astro-cid-ae2kqkmy] {
  grid-template-columns: 30px minmax(0, 1fr);
  font-size: .875rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.team--consultants .consultant-fact[data-astro-cid-ae2kqkmy] small[data-astro-cid-ae2kqkmy] {
  font-size: .72rem;
  letter-spacing: .035em;
  line-height: 1.5;
}
