/* Scope visual variants to the requested homepage sections. */
.nbs-home-audience .nbs-working-packages__bottom-cta { margin-top: 2rem; }
.nbs-home-audience .nbs-working-packages__bottom-cta .nbs-working-packages__intro-text { text-align: center; }
.nbs-home-change { padding: 2rem 24px; }
.nbs-home-change__title { text-align: center; margin: 0; }
.nbs-home-change .nbs-icon-cards__text { flex: 0 0 auto; }
.nbs-home-change .nbs-icon-cards__text + .nbs-icon-cards__text { margin-top: 1rem; }
.nbs-home-change .wp-block-buttons { justify-content: center; }
.nbs-booklet-dark { background: var(--wp--preset--color--int-dark); color: var(--wp--preset--color--white); padding: 2rem 0; }
.nbs-booklet-dark .nbs-image-with-description__text h2,
.nbs-booklet-dark .nbs-image-with-description__text .body-default { color: var(--wp--preset--color--white); }
.nbs-booklet-dark .nbs-image-with-description__image img { max-height: 580px; object-fit: contain; }
@media (max-width: 700px) {
 .nbs-booklet-dark .nbs-image-with-description__image,
 .nbs-booklet-dark .nbs-image-with-description__text { width: 100%; min-width: 0; flex-basis: auto; }
}

/* Second layout review: compact horizontal cards and a full-bleed booklet. */
.nbs-home-audience .nbs-working-packages__cards {
 display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 1fr; gap: 1.5rem;
}
.nbs-home-audience .nbs-working-packages__card {
 display: grid; grid-template-columns: minmax(64px,20%) minmax(0,1fr);
 grid-template-rows: auto 1fr; column-gap: 24px; row-gap: 12px;
 min-height: 0; min-width: 0; max-width: none; align-items: start; text-align: left;
}
.nbs-home-audience .nbs-working-packages__icon {
 grid-column: 1; grid-row: 1 / span 2; align-self: center; margin: 0 auto;
}
.nbs-home-audience .nbs-working-packages__card-title {
 grid-column: 2; grid-row: 1; text-align: left; margin: 0;
}
.nbs-home-audience .nbs-working-packages__card-desc {
 grid-column: 2; grid-row: 2; text-align: left; margin: 0;
}
@media (min-width: 1040px) {
 .home .nbs-our-methodology__col--left { display: flex; flex-direction: column; justify-content: space-between; }
 .home .nbs-our-methodology__col--right { min-height: 0; align-items: flex-end; }
}
.nbs-booklet-dark {
 width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw) !important;
 margin-right: 0 !important; box-sizing: border-box;
}
.nbs-booklet-dark .nbs-image-with-description__image img {
 width: 88%; max-width: 490px; max-height: 430px; margin: 0 auto; border-radius: 0;
}
.nbs-booklet-dark .wp-block-buttons { margin-top: 28px; }
.nbs-booklet-dark .cta-button .wp-block-button__link { padding: 6px 24px; }
.home .nbs-partners-logos__item img {
 max-width: 80%; max-height: 80%;
}
@media (max-width: 600px) {
 .nbs-home-audience .nbs-working-packages__cards { grid-template-columns: minmax(0,1fr); grid-auto-rows: auto; }
 .nbs-home-audience .nbs-working-packages__card { column-gap: 16px; }
 .nbs-booklet-dark .nbs-image-with-description__image img { max-width: 360px; }
}

/* Third layout review: original card copy in the heading font. */
.nbs-home-audience .nbs-working-packages__card { grid-template-rows: 1fr; row-gap: 0; align-items: center; }
.nbs-home-audience .nbs-working-packages__icon { grid-row: 1; }
.nbs-home-audience .nbs-working-packages__card-desc { grid-column: 2; grid-row: 1; align-self: center; font-family: var(--wp--preset--font-family--oswald); font-size: 20px; font-weight: 500; line-height: 1.4; color: var(--wp--preset--color--text-primary); }
.home .nbs-our-methodology__col--left h2 { margin-bottom: 2rem; }

/* Keep the complete supplied mockup visible at its intrinsic proportions. */
.nbs-booklet-dark .nbs-image-with-description__image { overflow: visible; }
.nbs-booklet-dark .nbs-image-with-description__image img { display: block; width: 88%; max-width: 490px; height: auto; max-height: none; object-fit: contain; aspect-ratio: auto; margin: 0 auto; }

/* Download section: one quarter image, three quarters text, no image cropping. */
.nbs-booklet-dark .nbs-image-with-description__inner {
 display: grid; grid-template-columns: minmax(0,1fr) minmax(0,3fr); align-items: center;
}
.nbs-booklet-dark .nbs-image-with-description__image,
.nbs-booklet-dark .nbs-image-with-description__text {
 width: 100%; min-width: 0; max-width: 100%; margin-left: 0; margin-right: 0;
}
.nbs-booklet-dark .nbs-image-with-description__image { overflow: visible; }
.nbs-booklet-dark .nbs-image-with-description__image img {
 width: 100%; max-width: 100%; height: auto; max-height: none; object-fit: contain; margin: 0;
}
@media (max-width: 700px) {
 .nbs-booklet-dark .nbs-image-with-description__inner { grid-template-columns: minmax(0,1fr); }
}

/* Let the mockup and its shadow reach past the left content boundary. */
.nbs-booklet-dark .nbs-image-with-description,
.nbs-booklet-dark .nbs-image-with-description__inner,
.nbs-booklet-dark .nbs-image-with-description__image { overflow: visible; }
@media (min-width: 701px) {
 .nbs-booklet-dark .nbs-image-with-description__image img {
  transform: translateX(calc(-1 * max(24px, (100vw - var(--wp--custom--section-width, 1140px)) / 2)));
 }
}

/* Match the supplied composition: enlarged mockup beside a wide text block. */
.nbs-booklet-dark { background-color: #053640; padding-top: 0; padding-bottom: 0; }
@media (min-width: 701px) {
 .nbs-booklet-dark .nbs-image-with-description__image { position: relative; align-self: stretch; }
 .nbs-booklet-dark .nbs-image-with-description__image img {
  position: absolute; top: 50%; left: 0; width: 160%; max-width: none; height: auto;
  transform: translate(-31%, -50%);
 }
}
@media (max-width: 700px) {
 .nbs-booklet-dark { padding-top: 16px; padding-bottom: 16px; }
 .nbs-booklet-dark .nbs-image-with-description__image img {
  position: static; width: 100%; max-width: 360px; height: auto; transform: none; margin: 0 auto;
 }
}

.nbs-booklet-dark .nbs-image-with-description__text { position: relative; z-index: 1; }
