/* Focused production adjustments requested on 2026-10-26. */

/* Match the hero proof typography to the Golden Gate proof reference. */
.preview-hero-stats dt {
  margin: 0;
  color: var(--preview-ink);
  font-family: "Castoro", Georgia, serif;
  font-size: clamp(1.75rem, 2.7vw, 2.55rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.preview-hero-stats dd {
  color: var(--preview-ink);
  font-family: "Raleway", Verdana, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: normal;
}

/* Keep all primary section headings on the same scale as the Jak pracuji title. */
@media (width > 700px) {
  #reference .client-reviews-heading h2,
  #reseni .solutions-intro h2,
  #reseni .strategy-intro h3 {
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    line-height: 1.12;
  }
}

@media (width <= 700px) {
  #reseni .strategy-intro h3 {
    font-size: 1.9rem;
    line-height: 1.12;
  }
}

@media (width >= 1200px) {
  #jak-pracuji .clarity-intro {
    width: min(1320px, calc(100vw - 48px));
    max-width: none;
    justify-self: center;
  }

  #jak-pracuji #clarity-title {
    max-width: none;
    white-space: nowrap;
  }
}

@media (width >= 901px) {
  #reseni .strategy-editorial-row--dragon {
    height: auto;
    min-height: 0;
    align-items: start;
  }

  #reseni .strategy-editorial-row--dragon .strategy-editorial-media {
    align-self: start;
    width: 100%;
    height: clamp(370px, 27vw, 390px);
  }

  #reseni .strategy-editorial-row--dragon .strategy-editorial-copy {
    height: auto;
    justify-content: flex-start;
  }

  #reseni .strategy-editorial-row--dragon .strategy-editorial-copy h3 {
    margin-bottom: 13px;
  }

  #reseni .strategy-editorial-row--dragon .strategy-author {
    margin-bottom: 22px;
  }

  #reseni
    .strategy-editorial-row--dragon
    .strategy-editorial-copy
    > p:not(.strategy-author)
    + p {
    margin-top: 17px;
  }

  /* Keep the Permanent Portfolio copy rhythm identical to Dragon Portfolio. */
  #reseni .strategy-editorial-row--permanent .strategy-editorial-copy {
    height: auto;
    justify-content: flex-start;
  }

  /* Match Harry Browne's image height to the adjacent copy without changing width. */
  #reseni .strategy-editorial-row--permanent {
    height: auto;
    min-height: 0;
    align-items: stretch;
  }

  #reseni .strategy-editorial-row--permanent .strategy-editorial-media {
    height: auto;
    min-height: 0;
    align-self: stretch;
  }

  #reseni .strategy-editorial-row--permanent .strategy-editorial-media img {
    position: absolute;
    inset: 0;
  }

  #reseni .strategy-editorial-row--permanent .strategy-editorial-copy h3 {
    margin-bottom: 13px;
  }

  #reseni .strategy-editorial-row--permanent .strategy-author {
    margin-bottom: 22px;
  }

  #reseni
    .strategy-editorial-row--permanent
    .strategy-editorial-copy
    > p:not(.strategy-author)
    + p {
    margin-top: 17px;
  }
}

/* Brand DNA: every CTA button uses the same subtle four-pixel rounding. */
.button,
.header-main .nav-links > a.button,
.footer-newsletter-row button {
  border-radius: 4px !important;
}

#o-mne.mock-story-section {
  padding-top: 4.5rem;
}

@media (width <= 767px) {
  #o-mne.mock-story-section {
    padding-top: 2.75rem;
  }
}

/* Match the requested content gaps to the 110px hero-to-reviews rhythm. */
#reseni .strategy-intro {
  padding-top: calc(110px - clamp(1.25rem, 2.25vw, 2rem));
}

#reseni.asset-solutions {
  padding-bottom: 38px;
}

/* Match SEBA's Trustindex composition: profile proof first, cards immediately after it. */
#reference .client-reviews-stage {
  display: grid;
  grid-template-columns: 266px minmax(0, 1fr);
  align-items: center;
  gap: 0;
  min-width: 0;
}

#reference .google-rating-summary {
  display: grid;
  grid-template-columns: 65px minmax(0, 1fr);
  align-items: start;
  width: 266px;
  min-height: 117px;
  gap: 15px;
  margin: 0;
  padding: 0 20px 0 0;
  border: 0;
  border-radius: 0;
  color: #0f1f31;
  background: transparent;
  font-family: "Raleway", Verdana, sans-serif;
}

#reference .google-rating-logo {
  width: 65px;
  height: 65px;
  flex: 0 0 65px;
  border-radius: 4px;
}

#reference .google-rating-details {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

#reference .google-rating-name {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 600;
  line-height: 21px;
  white-space: nowrap;
}

#reference .google-rating-stars {
  display: flex;
  align-items: center;
  gap: 1px;
  height: 19px;
  margin: 0 0 5px;
}

#reference .google-rating-stars svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: #fbbc04;
}

#reference .google-rating-count {
  color: #0f1f31;
  font-size: 14px;
  font-weight: 400;
  line-height: 19.6px;
  white-space: nowrap;
}

/* Align the lower proof figures to the visual centres of the figures above. */
.golden-gate-band .golden-gate-stats > div:first-child {
  display: grid;
  width: max-content;
  justify-items: center;
}

.golden-gate-band .golden-gate-stats > div:first-child > dd {
  margin-inline-start: 0;
}

@media (width >= 701px) {
  .golden-gate-band .golden-gate-stats > div:nth-child(3) > dt {
    transform: translateX(28px);
  }

  .golden-gate-band .golden-gate-stats > div:nth-child(4) > dt {
    transform: translateX(32px);
  }

  .golden-gate-band .golden-gate-stats > div:nth-child(3) > dd {
    transform: translateX(-1px);
  }

  .golden-gate-band .golden-gate-stats > div:nth-child(4) > dd {
    transform: translateX(-59.4px);
  }
}

/* Use the same restrained corner radius as the cards in Jak pracuji. */
#reference .client-review-card {
  border-radius: 10px !important;
  overflow: hidden;
}

/* Match the compact SEBA review strip without changing review content. */
#reference .client-reviews-stage {
  position: relative;
}

#reference .client-reviews-row {
  gap: 16px;
  padding-bottom: 0;
}

#reference .client-review-card {
  min-height: 250px;
  flex: 0 0 275px;
  padding: 20px;
}

#reference .client-review-stars {
  gap: 6px;
  margin-top: 12px;
  font-size: 17px;
  line-height: 17px;
  letter-spacing: 0;
}

#reference .client-review-verified {
  width: 15px;
  height: 15px;
}

#reference .client-review-card blockquote {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.42;
}

#reference .client-reviews-nav {
  position: absolute;
  top: 50%;
  right: 0;
  left: 266px;
  z-index: 3;
  display: block;
  height: 0;
  pointer-events: none;
}

#reference .client-reviews-nav button {
  position: absolute;
  top: 0;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #d8d8d8;
  border-radius: 50%;
  background: #fff;
  box-shadow: none;
  pointer-events: auto;
  transform: translateY(-50%);
}

#reference .client-reviews-nav [data-client-reviews-prev] {
  left: -16px;
}

#reference .client-reviews-nav [data-client-reviews-next] {
  right: -16px;
}

#reference .client-reviews-nav button::before {
  width: 8px;
  height: 8px;
  border-width: 0 0 1.5px 1.5px;
}

@media (width >= 701px) and (width <= 767px) {
  #reseni.asset-solutions {
    padding-bottom: 66px;
  }
}

@media (width <= 700px) {
  #reseni .strategy-intro {
    padding-top: 40px;
  }

  #reseni.asset-solutions {
    padding-bottom: 16px;
  }

  #reference .client-reviews-stage {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  #reference .google-rating-summary {
    width: min(266px, 100%);
    min-height: auto;
  }

  #reference .client-review-card {
    min-height: 250px;
    flex-basis: min(82vw, 275px);
  }

  #reference .client-reviews-nav {
    display: none;
  }
}
