.bohaterowie-page {
  overflow: clip;
}

.bohaterowie-page .section {
  position: relative;
}

.heroes-hero {
  position: relative;
  display: grid;
  min-height: 41.875rem;
  overflow: hidden;
  isolation: isolate;
  background: var(--color-arctic-navy);
}

.heroes-hero::before,
.heroes-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
}

.heroes-hero::before {
  background: linear-gradient(90deg, rgba(8, 24, 39, 0.98) 0%, rgba(8, 24, 39, 0.88) 35%, rgba(8, 24, 39, 0.42) 65%, rgba(8, 24, 39, 0.3) 100%);
}

.heroes-hero::after {
  background: radial-gradient(circle at 67% 78%, var(--color-furnace-glow), transparent 20rem), linear-gradient(180deg, rgba(8, 24, 39, 0.08), rgba(8, 24, 39, 0.66));
}

.heroes-hero__media {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
}

.heroes-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.heroes-hero__container {
  display: grid;
  width: min(100% - (2 * var(--container-padding)), var(--container-max));
  align-items: center;
  padding-block: calc(var(--space-11) + var(--space-6)) var(--space-10);
}

.heroes-hero__content {
  display: flex;
  width: min(100%, 42.5rem);
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}

.heroes-hero__content .eyebrow,
.heroes-hero__content h1,
.heroes-hero__content p {
  margin: 0;
}

.heroes-hero__content h1 {
  max-width: 16ch;
  font-size: clamp(3.25rem, 6.5vw, 5.8rem);
  line-height: var(--line-tight);
}

.heroes-hero__content .lead {
  max-width: 40rem;
}

.heroes-hero__cta {
  width: auto;
}

.heroes-hero__note {
  width: min(100%, 34rem);
  padding: var(--space-4) var(--space-5);
  border: var(--border-default);
  border-radius: var(--radius-lg);
  background: rgba(16, 43, 64, 0.88);
  box-shadow: var(--shadow-panel);
}

.heroes-hero__note p {
  color: var(--text-secondary);
  font-size: var(--text-14);
  line-height: 1.5;
}

.heroes-purpose__intro,
.heroes-roles__intro,
.heroes-scenarios__intro,
.heroes-pitfalls__intro,
.heroes-related__intro {
  width: min(100%, 41rem);
  margin-bottom: var(--space-7);
}

.heroes-purpose__intro > :last-child,
.heroes-roles__intro > :last-child,
.heroes-scenarios__intro > :last-child,
.heroes-pitfalls__intro > :last-child,
.heroes-related__intro > :last-child {
  margin-bottom: 0;
}

.heroes-purpose__grid,
.heroes-roles__grid,
.heroes-scenarios__grid,
.heroes-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

.heroes-purpose__grid > *,
.heroes-roles__grid > *,
.heroes-scenarios__grid > *,
.heroes-related__grid > * {
  min-width: 0;
}

.heroes-decision-card,
.heroes-role-card,
.heroes-scenario-card,
.heroes-pitfall-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  border: var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--surface-panel);
  box-shadow: var(--shadow-panel);
  transition: border-color var(--transition-base), transform var(--transition-base), background-color var(--transition-base);
}

.heroes-decision-card > *,
.heroes-role-card > *,
.heroes-scenario-card > *,
.heroes-pitfall-card > * {
  margin: 0;
}

.heroes-decision-card:hover,
.heroes-role-card:hover,
.heroes-scenario-card:hover,
.heroes-pitfall-card:hover {
  border-color: var(--color-ice-line-strong);
  transform: translateY(-1px);
}

.heroes-card-number,
.heroes-scenario-label,
.heroes-related-card__number,
.heroes-pitfall-label {
  color: var(--color-ice-turquoise);
  font-size: var(--text-12);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.heroes-decision-card h3 span {
  color: var(--color-fire-orange);
}

.heroes-decision-card blockquote {
  margin-top: auto;
  margin-bottom: 0;
  padding-block: var(--space-3);
  font-size: var(--text-16);
}

.heroes-roles {
  background: linear-gradient(180deg, transparent, rgba(16, 43, 64, 0.28), transparent);
}

.heroes-role-card {
  position: relative;
  min-height: 22rem;
}

.heroes-role-card::before {
  width: 100%;
  height: 1px;
  margin-bottom: var(--space-2);
  background: linear-gradient(90deg, var(--color-ice-turquoise), transparent);
  content: "";
}

.heroes-role-card__mark {
  color: var(--color-polar-blue);
  font-size: var(--text-14);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.heroes-role-card__question {
  margin-top: auto;
  color: var(--color-polar-blue);
  font-weight: 600;
}

.heroes-roles__summary {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--space-6);
  width: 100%;
  min-width: 0;
  margin-top: var(--space-5);
  padding: var(--space-6);
  border: var(--border-default);
  border-left: 3px solid var(--color-fire-orange);
  border-radius: var(--radius-lg);
  background: rgba(16, 43, 64, 0.92);
}

.heroes-roles__summary > * {
  min-width: 0;
  margin: 0;
}

.heroes-roles__summary p {
  max-width: 60ch;
  color: var(--color-polar-blue);
}

.heroes-molly__layout,
.heroes-development__layout,
.heroes-resources__layout {
  display: grid;
  min-width: 0;
  gap: var(--space-8);
}

.heroes-molly__layout {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
}

.heroes-molly__layout > *,
.heroes-development__layout > *,
.heroes-resources__layout > * {
  min-width: 0;
}

.heroes-molly__figure,
.heroes-resources__figure {
  width: 100%;
  min-width: 0;
  margin: 0;
}

.heroes-molly__figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow-panel);
}

.heroes-molly__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}

.heroes-molly__content > * {
  margin: 0;
}

.heroes-molly__content > p:not(.eyebrow) {
  max-width: 62ch;
}

.heroes-molly__content strong {
  color: var(--color-ice-turquoise);
}

.heroes-molly__questions {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  width: min(100%, 39rem);
}

.heroes-molly__questions > article {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  column-gap: var(--space-3);
  min-width: 0;
  padding-bottom: var(--space-4);
  border-bottom: var(--border-default);
}

.heroes-molly__questions > article > * {
  min-width: 0;
  margin: 0;
}

.heroes-question-number {
  grid-row: span 2;
  color: var(--color-ice-turquoise);
  font-family: var(--font-heading);
  font-size: var(--text-32);
  font-weight: 700;
  line-height: 1;
}

.heroes-molly__questions h3 {
  margin-bottom: var(--space-2);
}

.heroes-molly__note {
  width: min(100%, 36rem);
  padding: var(--space-4);
  border: var(--border-default);
  border-radius: var(--radius-md);
  background: var(--surface-panel-solid);
}

.heroes-molly__note p {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--text-14);
}

.heroes-development {
  background: rgba(16, 43, 64, 0.22);
}

.heroes-development__layout {
  grid-template-columns: minmax(18rem, 5fr) minmax(0, 7fr);
  align-items: start;
}

.heroes-development__context {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}

.heroes-development__context > * {
  margin: 0;
}

.heroes-development__context .lead {
  max-width: 34rem;
}

.heroes-development__reminder {
  width: 100%;
  padding: var(--space-5);
  border: var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--surface-panel);
}

.heroes-development__reminder h3,
.heroes-development__reminder p {
  margin: 0;
}

.heroes-development__reminder h3 {
  margin-bottom: var(--space-3);
}

.heroes-development__reminder p {
  color: var(--text-secondary);
  font-size: var(--text-14);
}

.heroes-steps {
  display: grid;
  gap: var(--space-5);
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.heroes-steps > li {
  position: relative;
  min-width: 0;
  padding-left: var(--space-7);
}

.heroes-steps > li::before {
  position: absolute;
  top: 0;
  bottom: calc(var(--space-5) * -1);
  left: 0.65rem;
  width: 1px;
  background: var(--color-ice-turquoise);
  content: "";
}

.heroes-steps > li:last-child::before {
  bottom: 50%;
}

.heroes-steps article {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5);
  border: var(--border-default);
  border-radius: var(--radius-lg);
  background: rgba(16, 43, 64, 0.8);
}

.heroes-steps article > * {
  margin: 0;
}

.heroes-steps article p:last-child {
  max-width: 56ch;
}

.heroes-step-number {
  color: var(--color-ice-turquoise);
  font-size: var(--text-14);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.heroes-step--featured {
  border-color: var(--color-ice-line-strong) !important;
  background: var(--surface-panel-solid) !important;
}

.heroes-step--featured .heroes-step-number {
  color: var(--color-fire-orange);
}

.heroes-scenario-card {
  min-height: 27rem;
}

.heroes-scenario-card ul {
  display: grid;
  gap: var(--space-2);
  margin: auto 0 0;
}

.heroes-scenario-card a {
  margin-top: auto;
  font-weight: 600;
}

.heroes-scenario-map {
  margin-top: auto !important;
  color: var(--color-ice-turquoise);
  font-size: var(--text-14);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.heroes-resources__layout {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: start;
}

.heroes-resources__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
}

.heroes-resources__content > * {
  margin: 0;
}

.heroes-resource-module {
  width: min(100%, 43rem);
  padding: var(--space-5);
  border: var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--surface-panel);
}

.heroes-resource-module > * {
  margin: 0;
}

.heroes-resource-module h3 {
  margin-bottom: var(--space-3);
}

.heroes-resource-module a {
  display: inline-block;
  margin-top: var(--space-4);
  font-weight: 600;
}

.heroes-resource-module--light {
  border-color: rgba(185, 230, 242, 0.38);
  background: rgba(185, 230, 242, 0.1);
}

.heroes-resources__figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  object-fit: cover;
  box-shadow: var(--shadow-panel);
}

.heroes-pitfalls__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}

.heroes-pitfalls__grid > * {
  min-width: 0;
}

.heroes-pitfall-card > div {
  display: grid;
  grid-template-columns: minmax(6rem, 0.7fr) minmax(0, 2fr);
  gap: var(--space-3);
  min-width: 0;
}

.heroes-pitfall-card > div > * {
  min-width: 0;
  margin: 0;
}

.heroes-pitfall-label {
  color: var(--color-polar-blue);
}

.heroes-checklist__panel {
  display: flex;
  width: min(100%, 64rem);
  min-width: 0;
  margin-inline: auto;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-5);
  padding: clamp(var(--space-5), 4vw, var(--space-7));
  border: var(--border-default);
  border-radius: var(--radius-xl);
  background: var(--surface-panel);
  box-shadow: var(--shadow-panel);
}

.heroes-checklist__panel > * {
  margin: 0;
}

.heroes-checklist__panel .lead {
  max-width: 60ch;
}

.heroes-checklist__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  width: 100%;
}

.heroes-checklist__grid > * {
  min-width: 0;
}

.heroes-check-item {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  align-items: start;
  gap: var(--space-3);
  min-width: 0;
  min-height: 7.5rem;
  margin: 0;
  padding: var(--space-4);
  border: var(--border-default);
  border-radius: var(--radius-md);
  background: rgba(8, 24, 39, 0.38);
  color: var(--text-primary);
  transition: border-color var(--transition-base), background-color var(--transition-base), transform var(--transition-base);
}

.heroes-check-item:hover {
  border-color: var(--color-ice-line-strong);
  transform: translateY(-1px);
}

.heroes-check-item input {
  width: 2.75rem;
  min-width: 2.75rem;
  height: 2.75rem;
  min-height: 2.75rem;
  margin: 0;
}

.heroes-check-item span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: var(--space-2);
}

.heroes-check-item strong,
.heroes-check-item small {
  min-width: 0;
}

.heroes-check-item small {
  color: var(--text-secondary);
  font-size: var(--text-14);
  line-height: 1.43;
}

.heroes-check-item:has(input:checked) {
  border-color: var(--color-fire-orange);
  background: rgba(242, 138, 69, 0.1);
}

.heroes-checklist__status {
  color: var(--text-secondary);
  font-size: var(--text-14);
}

.heroes-related__grid {
  margin-top: var(--space-7);
}

.heroes-related-card {
  display: flex;
  min-width: 0;
  min-height: 18rem;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  border: var(--border-default);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(16, 43, 64, 0.92), rgba(8, 24, 39, 0.72));
  color: var(--text-primary);
  text-decoration: none;
  transition: border-color var(--transition-base), transform var(--transition-base), background-color var(--transition-base);
}

.heroes-related-card > * {
  margin: 0;
}

.heroes-related-card:hover {
  border-color: var(--color-ice-turquoise);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.heroes-related-card span {
  margin-top: auto;
  color: var(--color-ice-turquoise);
  font-size: var(--text-14);
  font-weight: 600;
}

.heroes-disclaimer {
  padding-top: 0;
}

.heroes-disclaimer__panel {
  width: min(100%, 51rem);
  margin-inline: auto;
  padding: var(--space-5) var(--space-6);
  border: var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--surface-deep);
}

.heroes-disclaimer__panel > * {
  margin: 0;
}

.heroes-disclaimer__panel p:not(.eyebrow) {
  max-width: 68ch;
  color: var(--text-secondary);
  font-size: var(--text-14);
  line-height: 1.43;
}

.heroes-disclaimer__panel p + p:not(.eyebrow) {
  margin-top: var(--space-3);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .heroes-decision-card,
  .heroes-role-card,
  .heroes-scenario-card,
  .heroes-pitfall-card,
  .heroes-checklist__panel,
  .heroes-hero__note,
  .heroes-resource-module,
  .heroes-development__reminder {
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    backdrop-filter: blur(16px) saturate(120%);
  }
}

@media (max-width: 63.99rem) {
  .heroes-hero {
    min-height: 38rem;
  }

  .heroes-hero__content {
    width: min(100%, 38rem);
  }

  .heroes-purpose__grid,
  .heroes-roles__grid,
  .heroes-scenarios__grid,
  .heroes-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .heroes-purpose__grid > :nth-child(3),
  .heroes-roles__grid > :nth-child(3),
  .heroes-scenarios__grid > :nth-child(3),
  .heroes-related__grid > :nth-child(3) {
    grid-column: 1 / -1;
  }

  .heroes-molly__layout,
  .heroes-development__layout,
  .heroes-resources__layout {
    grid-template-columns: 1fr;
  }

  .heroes-molly__figure {
    width: min(100%, 44rem);
  }

  .heroes-resources__figure {
    width: min(100%, 42rem);
  }

  .heroes-development__context .lead {
    max-width: 42rem;
  }
}

@media (max-width: 57.49rem) {
  .heroes-hero {
    min-height: 35rem;
  }

  .heroes-hero::before {
    background: linear-gradient(90deg, rgba(8, 24, 39, 0.98), rgba(8, 24, 39, 0.82) 64%, rgba(8, 24, 39, 0.46));
  }

  .heroes-hero__media img {
    object-position: 68% center;
  }

  .heroes-molly__layout,
  .heroes-development__layout,
  .heroes-resources__layout {
    gap: var(--space-6);
  }
}

@media (max-width: 49.99rem) {
  .heroes-checklist__grid {
    grid-template-columns: 1fr;
  }

  .heroes-roles__summary {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
}

@media (max-width: 47.99rem) {
  .heroes-hero {
    min-height: 35rem;
  }

  .heroes-hero::before {
    background: linear-gradient(180deg, rgba(8, 24, 39, 0.96) 0%, rgba(8, 24, 39, 0.9) 54%, rgba(8, 24, 39, 0.52) 100%);
  }

  .heroes-hero__media img {
    object-position: 70% bottom;
  }

  .heroes-hero__container {
    align-items: start;
    padding-block: calc(var(--space-9) + var(--space-6)) var(--space-6);
  }

  .heroes-hero__content {
    gap: var(--space-4);
  }

  .heroes-hero__content h1 {
    max-width: 13ch;
    font-size: clamp(2.75rem, 12vw, 3.625rem);
  }

  .heroes-hero__cta {
    width: 100%;
  }

  .heroes-hero__note {
    width: 100%;
  }

  .heroes-purpose__grid,
  .heroes-roles__grid,
  .heroes-scenarios__grid,
  .heroes-related__grid,
  .heroes-pitfalls__grid {
    grid-template-columns: 1fr;
  }

  .heroes-purpose__grid > :nth-child(3),
  .heroes-roles__grid > :nth-child(3),
  .heroes-scenarios__grid > :nth-child(3),
  .heroes-related__grid > :nth-child(3) {
    grid-column: auto;
  }

  .heroes-decision-card,
  .heroes-role-card,
  .heroes-scenario-card,
  .heroes-pitfall-card,
  .heroes-related-card {
    padding: var(--space-5);
  }

  .heroes-role-card,
  .heroes-scenario-card,
  .heroes-related-card {
    min-height: auto;
  }

  .heroes-molly__figure {
    order: 2;
  }

  .heroes-molly__content {
    order: 1;
  }

  .heroes-molly__layout {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
  }

  .heroes-molly__figure {
    width: 100%;
  }

  .heroes-molly__questions > article {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }

  .heroes-steps > li {
    padding-left: var(--space-6);
  }

  .heroes-pitfall-card > div {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }

  .heroes-checklist__panel {
    padding: var(--space-5);
  }

  .heroes-check-item {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    min-height: 0;
  }

  .heroes-disclaimer__panel {
    padding: var(--space-5);
  }
}

@media (max-width: 22.49rem) {
  .heroes-steps > li {
    padding-left: 0;
  }

  .heroes-steps > li::before {
    display: none;
  }

  .heroes-step-number {
    margin-bottom: var(--space-1) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .heroes-decision-card,
  .heroes-role-card,
  .heroes-scenario-card,
  .heroes-pitfall-card,
  .heroes-check-item,
  .heroes-related-card {
    transition: none;
  }
}
