/* NORDIAL – produktový příběh v5 */
.nd-story,
.nd-story * {
  box-sizing: border-box;
}

.nd-story {
  --nd-green: #1C3B2D;
  --nd-text: #242824;
  --nd-muted: #666D68;
  --nd-cream: #F5F3ED;
  --nd-line: #DFE2DC;
  max-width: 1040px;
  margin: -52px auto 0;
  color: var(--nd-text);
  font-family: "Urbanist", sans-serif;
  font-size: 17px;
  line-height: 1.58;
}

.nd-story img {
  display: block;
  width: 100%;
  height: auto;
}

.nd-story h2,
.nd-story h3,
.nd-story p,
.nd-story figure {
  margin-top: 0;
}

.nd-story h2,
.nd-story h3 {
  color: var(--nd-green);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.nd-story h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.22;
}

.nd-story h3 {
  margin-bottom: 11px;
  font-size: clamp(23px, 2.4vw, 31px);
}

.nd-story p {
  margin-bottom: 12px;
}

.nd-story__eyebrow {
  display: block;
  margin-bottom: 9px;
  color: var(--nd-green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.nd-story__intro {
  max-width: 800px;
  margin: 0 auto 25px;
  padding: 0 20px;
  text-align: center;
}

.nd-story__intro p {
  margin: 0 auto;
  color: var(--nd-muted);
  font-size: 18px;
}

.nd-story__benefits {
  margin: 30px 0 38px;
  padding: 30px 32px;
  background: var(--nd-cream);
}

.nd-story__benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.nd-story__benefit {
  padding-top: 14px;
  border-top: 1px solid rgba(28, 59, 45, .28);
}

.nd-story__benefit strong {
  display: block;
  margin-bottom: 6px;
  color: var(--nd-green);
  font-size: 17px;
  font-weight: 600;
}

.nd-story__benefit p {
  margin: 0;
  color: var(--nd-muted);
  font-size: 14px;
  line-height: 1.5;
}

.nd-story__split {
  display: grid;
  grid-template-columns: minmax(280px, .92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4.5vw, 52px);
  align-items: center;
  margin: 38px 0;
}

.nd-story__media {
  overflow: hidden;
  background: var(--nd-cream);
}

.nd-story__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.nd-story__copy {
  padding: 2px 0;
}

.nd-story__copy p:last-child {
  margin-bottom: 0;
}

/* VIDEO NAD KARTAMI */
.nd-story__media-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin: 38px 0 18px;
}

.nd-story__video {
  position: relative;
  overflow: hidden;
  width: min(100%, 330px);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  background: #111;
}

.nd-story__video iframe,
.nd-story__video video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.nd-story__info-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.nd-story__card {
  padding: 25px 27px;
  border: 1px solid var(--nd-line);
  background: #fff;
}

.nd-story__card h3 {
  margin-bottom: 9px;
  font-size: 22px;
  line-height: 1.25;
}

.nd-story__card p {
  font-size: 15px;
  line-height: 1.55;
}

.nd-story__card p:last-child {
  margin-bottom: 0;
}

.nd-story__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nd-story__list li {
  position: relative;
  padding: 8px 0 8px 19px;
  border-bottom: 1px solid var(--nd-line);
  font-size: 15px;
  line-height: 1.5;
}

.nd-story__list li:last-child {
  border-bottom: 0;
}

.nd-story__list li::before {
  position: absolute;
  top: 16px;
  left: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--nd-green);
  content: "";
}

/* ZELENÝ BLOK */
.nd-story__note {
  display: grid;
  grid-template-columns: minmax(250px, .9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: center;
  margin: 18px 0 0;
  padding: 30px 34px;
  background: var(--nd-green);
  color: #fff;
}

.nd-story__note .nd-story__eyebrow,
.nd-story__note h3 {
  color: #fff;
}

.nd-story__note h3 {
  margin: 0;
  font-size: 27px;
  line-height: 1.2;
}

.nd-story__note p {
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-size: 16px;
  line-height: 1.6;
}

/* MOBILNÍ VERZE */
@media (max-width: 767px) {
  .nd-story {
    margin-top: -22px;
    font-size: 16px;
    line-height: 1.55;
  }

  .nd-story h2 {
    margin-bottom: 11px;
    font-size: 24px;
    line-height: 1.25;
  }

  .nd-story h3 {
    margin-bottom: 9px;
    font-size: 22px;
  }

  .nd-story p {
    margin-bottom: 10px;
  }

  .nd-story__intro {
    margin: 0 auto 19px;
    padding: 0 15px;
  }

  .nd-story__intro p {
    font-size: 16px;
  }

  .nd-story__benefits {
    margin: 24px 0 28px;
    padding: 23px 19px;
  }

  .nd-story__benefit-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .nd-story__benefit {
    padding-top: 11px;
  }

  .nd-story__benefit strong {
    font-size: 16px;
  }

  .nd-story__benefit p {
    font-size: 14px;
  }

  .nd-story__split {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 28px 0;
  }

  .nd-story__media img {
    aspect-ratio: 4 / 3;
    object-position: center 58%;
  }

  .nd-story__copy {
    padding: 0 15px;
  }

  .nd-story__media-info {
    gap: 13px;
    margin: 28px 0 16px;
  }

  .nd-story__video {
    width: 100%;
    max-width: none;
    aspect-ratio: 9 / 16;
  }

  .nd-story__info-stack {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nd-story__card {
    padding: 22px 19px;
  }

  .nd-story__card h3 {
    font-size: 20px;
  }

  .nd-story__note {
    display: block;
    margin-top: 14px;
    padding: 25px 20px;
  }

  .nd-story__note h3 {
    margin-bottom: 12px;
    font-size: 22px;
  }

  .nd-story__note p {
    font-size: 15px;
  }
}

@media (max-width: 380px) {
  .nd-story h2 {
    font-size: 23px;
  }

  .nd-story h3 {
    font-size: 21px;
  }
}
