/* Reusable presentation variants for the reviewed inner-page layouts. */
:root { --etts-ink: #0b203d; --etts-pale: #f0f7fc; }
/* The homepage service cards retain their design and expose carousel navigation. */
.our-services-section .our-services-carousel .nxb-simple-pods__grid { position: relative; padding-bottom: 68px; }
.our-services-section .our-services-carousel .slick-arrow { position: absolute; top: auto; bottom: 0; z-index: 2; width: 44px; height: 44px; padding: 0; transform: none; border: 1px solid #2789a4; border-radius: 50%; background: #fff; color: #087690; font-size: 0; }
.our-services-section .our-services-carousel .slick-prev { left: 12px; }
.our-services-section .our-services-carousel .slick-next { right: 12px; }
.our-services-section .our-services-carousel .slick-prev::before { content: '←'; font-size: 24px; }
.our-services-section .our-services-carousel .slick-next::before { content: '→'; font-size: 24px; }
.our-services-section .our-services-carousel .slick-arrow:hover { background: #087690; color: #fff; }
.our-services-section .our-services-carousel .slick-arrow:focus-visible { outline: 3px solid #087690; outline-offset: 3px; }
.our-services-section .our-services-carousel .slick-dots { position: absolute; left: 68px; right: 68px; bottom: 0; height: 44px; margin: 0; align-items: center; }
.our-services-section .our-services-carousel .slick-dots li { width: 20px; height: 24px; margin: 0; align-items: center; }
.our-services-section .our-services-carousel .slick-dots button { color: #087690; background: #087690; }
.site-header { padding-inline: max(24px, calc((100% - 1280px) / 2)); gap: 24px; }
.main-navigation > ul { flex-wrap: nowrap; }
.main-navigation > ul > li { flex: 0 0 auto; }
.main-navigation > ul > li > span > a,
.header-actions .button { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1199px) {
    .site-header { grid-template-columns: 150px minmax(0, 1fr) auto; gap: 16px; padding-inline: 20px; }
    .site-header .header-logo img { width: 150px; height: auto; }
    .site-header .main-navigation > ul { gap: 17px; }
    .site-header .main-navigation a { font-size: 14px; letter-spacing: 0; }
    .site-header .main-navigation > ul > li > span > a { padding-inline: 6px; }
    .site-header .main-navigation > ul > li.has-child > span > a { padding-right: 22px; }
    .header-actions { gap: 15px; }
    .header-actions .button { font-size: 14px; padding: 10px 12px; }
}

/* A full-width image banner with a readable panel and an editable heading. */
.nxb-banner--editorial-hero { height: auto; min-height: 345px; color: #fff; background: #082640; }
.nxb-banner--editorial-hero .nxb-banner__layout { min-height: 345px; }
.nxb-banner--editorial-hero .nxb-banner__media { grid-area: 1 / 1; position: absolute; inset: 0; }
.nxb-banner--editorial-hero .nxb-banner__image { height: 100%; object-fit: cover; }
.nxb-banner--editorial-hero .nxb-banner__media::after { background: linear-gradient(100deg, #062744f5 0%, #073b63dd 43%, #07334e44 69%, transparent 100%); opacity: 1; }
.nxb-banner--editorial-hero .nxb-banner__content { width: min(1180px, calc(100% - 64px)); margin-inline: auto; padding: 48px 0; align-items: center; justify-content: flex-start; }
.nxb-banner--editorial-hero .nxb-banner__content-inner { width: 58%; max-width: 640px; align-items: flex-start; text-align: left; }
.nxb-banner--editorial-hero .nxb-banner__subtitle { color: #7cccf1; margin: 0 0 12px; font-size: 13px; letter-spacing: 2px; text-align: left; }
.nxb-banner--editorial-hero .nxb-banner__title { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.12; letter-spacing: -.6px; font-weight: 700; margin: 0 0 18px; }
.nxb-banner--editorial-hero .nxb-banner__intro { max-width: 570px; font-size: 16px; line-height: 1.55; margin: 0; }
.nxb-banner--editorial-hero .nxb-banner__intro p { margin: 0; }

/* Shared detail composition: content alongside a two-column photo gallery. */
.nxb-block:has(> .nxb-block__inner > :is(.nxb-detail, .nxb-detail-panel, .nxb-copy, .nxb-cards--editorial, .nxb-cards--profiles, .nxb-cards--team, .nxb-gallery--client-cards)) { padding-block: 56px; }
.nxb-block:has(> .nxb-block__inner > :is(.nxb-detail, .nxb-detail-panel, .nxb-copy, .nxb-cards--editorial, .nxb-cards--profiles, .nxb-cards--team, .nxb-gallery--client-cards)) > .nxb-block__inner { width: min(1180px, calc(100% - 64px)); max-width: 1180px; }
.nxb-detail, .nxb-detail-panel { --nxb-grid-column-gap: 42px; color: var(--etts-ink); }
.nxb-detail .umb-block-grid__layout-item:has(> .nxb-block--gallery) { align-self: start; }
.nxb-detail .nxb-grid-layout__inner, .nxb-detail-panel .nxb-grid-layout__inner { width: 100%; max-width: none; padding: 0; }
.nxb-detail > .nxb-grid-layout__inner .nxb-block,
.nxb-detail-panel > .nxb-grid-layout__inner .nxb-block { padding: 0; background: transparent; }
.nxb-copy .nxb-text-block__inner { padding: 0; width: 100%; max-width: none; }
.nxb-copy { color: var(--etts-ink); }
.nxb-copy .nxb-text-block__heading { margin: 0 0 20px; font-size: 34px; font-weight: 700; line-height: 1.15; letter-spacing: -.7px; }
.nxb-copy h1.nxb-text-block__heading { font-size: clamp(34px, 3.2vw, 44px); }
.nxb-copy .nxb-text-block__secondary-heading { margin: 0 0 10px; color: #0076bc; font-size: 13px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; }
.nxb-copy .nxb-text-block__content, .nxb-copy .nxb-text-block__intro-text,
.nxb-copy .nxb-text-block__content .intro { font-size: 16px; line-height: 1.55; letter-spacing: 0; }
.nxb-copy .nxb-text-block__content h2, .nxb-copy .nxb-text-block__content h3,
.nxb-copy .nxb-text-block__content h4 { font-size: 21px; font-weight: 700; line-height: 1.3; margin: 26px 0 10px; }
.nxb-copy .nxb-text-block__content hr { width: 50px; height: 2px; background: #0076bc; margin: 0 0 22px; }
.nxb-copy .nxb-text-block__content li { padding-left: 3px; margin-bottom: 5px; }
.nxb-copy .nxb-text-block__content p:empty { display: none; }
.nxb-copy .nxb-text-block__content table { display: block; max-width: 100%; overflow-x: auto; }
.nxb-copy .nxb-text-block__buttons { margin-top: 20px; }
.nxb-copy .nxb-text-block__button { border-radius: 4px; padding: 11px 22px; font-size: 15px; font-weight: 700; }
.nxb-gallery--editorial .nxb-gallery__viewport { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.nxb-gallery--editorial .nxb-gallery__item { border-radius: 10px; overflow: hidden; }
.nxb-gallery--editorial .nxb-gallery__image { width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; }
.nxb-block:has(> .nxb-block__inner > .nxb-detail-panel),
.nxb-block:has(> .nxb-block__inner > .nxb-copy--band) { background-color: var(--etts-pale); }
.nxb-detail-panel .nxb-copy { height: 100%; background: #fff; padding: 28px; border-radius: 10px; }
.nxb-detail-panel .nxb-copy .nxb-text-block__content > :first-child { margin-top: 0; }
.nxb-detail-panel .nxb-copy .nxb-text-block__content { font-size: 15px; }
.nxb-block:has(> .nxb-block__inner > .nxb-copy--section-heading) { padding-bottom: 0; }
.nxb-block--muted:has(> .nxb-block__inner > .nxb-copy--section-heading) { background: var(--etts-pale); }
.nxb-block:has(> .nxb-block__inner > .nxb-copy--section-heading) + .nxb-block:has(> .nxb-block__inner > .nxb-detail-panel) { padding-top: 8px; }
.nxb-copy--band .nxb-text-block__content { font-size: 15px; }

/* Image cards are still populated by the editable child-page listing. */
.nxb-block:has(> .nxb-block__inner > :is(.nxb-cards--editorial, .nxb-cards--profiles, .nxb-cards--team, .nxb-gallery--client-cards)) .nxb-section-intro { max-width: 900px; margin: 0 auto 36px; }
.nxb-block:has(> .nxb-block__inner > :is(.nxb-cards--editorial, .nxb-cards--profiles, .nxb-cards--team, .nxb-gallery--client-cards)) .nxb-section-eyebrow { color: #0879b8; font-size: 13px; font-weight: 700; letter-spacing: 1.7px; margin: 0 0 10px; }
.nxb-block:has(> .nxb-block__inner > :is(.nxb-cards--editorial, .nxb-cards--profiles, .nxb-cards--team, .nxb-gallery--client-cards)) .nxb-section-heading { color: var(--etts-ink); font-size: 38px; line-height: 1.16; letter-spacing: -.6px; font-weight: 700; margin: 0 0 20px; }
.nxb-block:has(> .nxb-block__inner > :is(.nxb-cards--editorial, .nxb-cards--profiles, .nxb-cards--team, .nxb-gallery--client-cards)) .nxb-section-introduction { font-size: 16px; line-height: 1.55; }
.nxb-block:has(> .nxb-block__inner > :is(.nxb-cards--editorial, .nxb-cards--profiles, .nxb-cards--team, .nxb-gallery--client-cards)) .nxb-section-introduction :is(p, .intro) { font-size: inherit; line-height: inherit; }
.nxb-simple-pods.nxb-cards--editorial .nxb-simple-pods__grid { gap: 24px; align-items: stretch; }
.nxb-cards--editorial .nxb-simple-pods__card { background: #fff; border: 1px solid #edf0f3; border-radius: 9px; overflow: hidden; box-shadow: 0 4px 18px #102c4510; display: flex; flex-direction: column; }
.nxb-cards--editorial .nxb-simple-pods__media { aspect-ratio: 16 / 9; }
.nxb-cards--editorial .nxb-simple-pods__image { width: 100%; height: 100%; object-fit: cover; }
.nxb-cards--editorial .nxb-simple-pods__content { padding: 22px; flex: 1; display: flex; flex-direction: column; align-items: flex-start; min-height: 225px; }
.nxb-cards--editorial .nxb-simple-pods__heading { font-size: 22px; color: var(--etts-ink); font-weight: 700; line-height: 1.22; margin: 0 0 13px; text-align: left; }
.nxb-cards--editorial .nxb-simple-pods__text { font-size: 15px; line-height: 1.5; color: #37465b; text-align: left; }
.nxb-cards--editorial .nxb-simple-pods__text p { margin: 0; }
.nxb-cards--editorial .nxb-simple-pods__link { position: static; display: inline-flex; width: auto; height: auto; margin-top: auto; padding: 18px 0 0; background: none; color: #006eb2; border: 0; opacity: 1; font-size: 14px; font-weight: 700; text-align: left; text-decoration: none; }
.nxb-cards--editorial .nxb-simple-pods__link::after { content: ' →'; padding-left: 6px; }
.nxb-cards--editorial .nxb-simple-pods__link:hover { color: #064368; text-decoration: underline; }
.nxb-cards--editorial .nxb-simple-pods__link:focus-visible { outline: 2px solid #006eb2; outline-offset: 5px; }
.nxb-simple-pods.nxb-cards--balanced .nxb-simple-pods__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.nxb-cards--balanced .nxb-simple-pods__card { grid-column: span 3; }
.nxb-simple-pods.nxb-cards--balanced .nxb-simple-pods__grid:has(> :nth-child(7):last-child) > :nth-child(n+5) { grid-column: span 4; }
.nxb-block:has(> .nxb-block__inner > .nxb-cards--balanced) .nxb-section-intro { max-width: none; margin-inline: 0; text-align: left; }
.nxb-block:has(> .nxb-block__inner > .nxb-cards--portfolio) { padding-block: 72px 80px; }
.nxb-block:has(> .nxb-block__inner > .nxb-cards--portfolio) .nxb-section-intro,
.nxb-block:has(> .nxb-block__inner > .nxb-gallery--client-cards) .nxb-section-intro { text-align: center; }
.nxb-block:has(> .nxb-block__inner > .nxb-cards--portfolio) .nxb-section-heading::after,
.nxb-block:has(> .nxb-block__inner > .nxb-gallery--client-cards) .nxb-section-heading::after { content: ''; display: block; width: 48px; height: 3px; background: #1687c0; margin: 18px auto 0; }

/* Company profiles and logos use their existing media selections. */
.nxb-simple-pods.nxb-cards--profiles .nxb-simple-pods__grid { gap: 24px; }
.nxb-cards--profiles .nxb-simple-pods__card { display: grid; grid-template-columns: 36% minmax(0,1fr); padding: 8px; border: 0; border-radius: 10px; background: #f4f7fa; gap: 20px; }
.nxb-cards--profiles .nxb-simple-pods__media { border-radius: 7px; overflow: hidden; align-self: start; }
.nxb-cards--profiles .nxb-simple-pods__image { width: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.nxb-cards--profiles .nxb-simple-pods__content { padding: 10px 12px 12px 0; }
.nxb-cards--profiles .nxb-simple-pods__heading { color: var(--etts-ink); font-size: 23px; font-weight: 700; margin: 0 0 5px; }
.nxb-cards--profiles .nxb-simple-pods__text { font-size: 14px; line-height: 1.5; }
.nxb-profile-role { color: #007bc2; font-weight: 700; }
.nxb-simple-pods.nxb-cards--team .nxb-simple-pods__grid { gap: 24px; }
.nxb-cards--team .nxb-simple-pods__card { border-radius: 10px; overflow: hidden; border: 1px solid #edf0f3; }
.nxb-cards--team .nxb-simple-pods__media { max-height: 320px; }
.nxb-cards--team .nxb-simple-pods__image { width: 100%; height: 320px; object-fit: cover; object-position: top; }
.nxb-cards--team .nxb-simple-pods__content { padding: 22px; }
.nxb-cards--team .nxb-simple-pods__heading { color: var(--etts-ink); font-size: 23px; font-weight: 700; }
.nxb-cards--team .nxb-simple-pods__text { font-size: 15px; }
.nxb-block:has(> .nxb-block__inner > .nxb-gallery--client-cards) { position: relative; isolation: isolate; padding-block: 24px; background-color: #fff; background-repeat: no-repeat; background-position: left top; background-size: 760px auto !important; }
.nxb-block:has(> .nxb-block__inner > .nxb-gallery--client-cards)::before { content: ''; position: absolute; inset: 0; background: #ffffff40; pointer-events: none; }
.nxb-block:has(> .nxb-block__inner > .nxb-gallery--client-cards) > .nxb-block__inner { position: relative; width: min(1380px, calc(100% - 64px)); max-width: 1380px; }
.nxb-block:has(> .nxb-block__inner > .nxb-gallery--client-cards) .nxb-section-intro { max-width: 710px; margin-bottom: 32px; }
.nxb-block:has(> .nxb-block__inner > .nxb-gallery--client-cards) .nxb-section-eyebrow { margin-bottom: 4px; color: #187ca9; letter-spacing: 1.5px; }
.nxb-block:has(> .nxb-block__inner > .nxb-gallery--client-cards) .nxb-section-heading { color: #101214; font-size: 36px; margin-bottom: 12px; }
.nxb-block:has(> .nxb-block__inner > .nxb-gallery--client-cards) .nxb-section-heading::after { margin-top: 10px; }
.nxb-gallery--client-cards { margin-block: 0; }
.nxb-gallery--client-cards .nxb-gallery__viewport { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; padding-bottom: 0; }
.nxb-gallery--client-cards .nxb-gallery__item { --nxb-artwork-max-height: 80px; border-radius: 8px; background: #fff; padding: 12px 24px; border: 1px solid #f0f2f4; box-shadow: 0 2px 9px #15314b0b; display: grid; place-items: center; min-height: 104px; }
.nxb-gallery--client-cards .nxb-gallery__item--portrait-artwork { --nxb-artwork-max-height: 116px; }
.nxb-gallery--client-cards .nxb-gallery__image { object-fit: contain; }
.nxb-gallery--client-cards .nxb-gallery__link { width: 100%; background: #fff; }
.nxb-gallery--client-cards .nxb-gallery__link:not([href]):hover .nxb-gallery__image { transform: none; opacity: 1; }
.nxb-block:has(> .nxb-block__inner > .nxb-gallery--client-cards) .nxb-section-introduction,
.nxb-block:has(> .nxb-block__inner > .nxb-gallery--client-cards) .nxb-section-introduction :is(p, .intro) { color: #20252c; font-size: 15px; line-height: 1.45; margin: 0; }
.nxb-block:has(> .nxb-block__inner > .nxb-gallery--client-cards) .nxb-section-introduction hr { display: none; }
.nxb-copy--quote .nxb-text-block__content { max-width: 850px; margin: auto; font-size: 20px; font-style: italic; font-weight: 500; text-align: center; color: #25537a; }
.nxb-copy--quote .nxb-text-block__content p { margin: 0; }
.nxb-block:has(> .nxb-block__inner > .nxb-copy--quote) { padding-block: 30px; background: var(--etts-pale); }
.nxb-block:has(> .nxb-block__inner > .nxb-copy--partnership) { padding-block: 14px; background: #f1f7fc; }
.nxb-copy--partnership .nxb-text-block__content { position: relative; display: flex; align-items: center; gap: 32px; max-width: 880px; font-size: 16.5px; line-height: 1.45; }
.nxb-copy--partnership .nxb-text-block__content::before { content: ''; display: block; flex: 0 0 100px; height: 56px; background: url('/images/handshake.svg') left center / 70px 56px no-repeat; border-right: 2px solid #dce7ee; }
.nxb-copy--partnership blockquote { flex: 1; margin: 0; padding: 0 0 13px; border: 0; font: inherit; color: #25537a; background: none; }
.nxb-copy--partnership .nxb-text-block__content::after { content: ''; position: absolute; left: 50%; bottom: 8px; width: 48px; height: 3px; transform: translateX(-50%); background: #1687c0; }
.nxb-block--no-top:has(> .nxb-block__inner > :is(.nxb-detail, .nxb-detail-panel, .nxb-copy, .nxb-cards--editorial, .nxb-cards--profiles, .nxb-cards--team, .nxb-gallery--client-cards)) { padding-top: 0; }
.nxb-block--no-bottom:has(> .nxb-block__inner > :is(.nxb-detail, .nxb-detail-panel, .nxb-copy, .nxb-cards--editorial, .nxb-cards--profiles, .nxb-cards--team, .nxb-gallery--client-cards)) { padding-bottom: 0; }

@media (max-width: 991px) {
    .site-header { padding-inline: 24px; }
    .nxb-simple-pods.nxb-cards--balanced .nxb-simple-pods__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .nxb-cards--balanced .nxb-simple-pods__card,
    .nxb-simple-pods.nxb-cards--balanced .nxb-simple-pods__grid:has(> :nth-child(7):last-child) > :nth-child(n+5) { grid-column: auto; }
    .nxb-simple-pods.nxb-cards--profiles .nxb-simple-pods__grid { grid-template-columns: 1fr; }
    .nxb-gallery--client-cards .nxb-gallery__viewport { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .nxb-detail, .nxb-detail-panel { --nxb-grid-column-gap: 26px; }
    .nxb-banner--editorial-hero .nxb-banner__content-inner { width: 75%; }
}
@media (max-width: 767px) {
    .site-header { padding-inline: 18px; }
    .nxb-block:has(> .nxb-block__inner > :is(.nxb-detail, .nxb-detail-panel, .nxb-copy, .nxb-cards--editorial, .nxb-cards--profiles, .nxb-cards--team, .nxb-gallery--client-cards)) { padding-block: 36px; }
    .nxb-block:has(> .nxb-block__inner > :is(.nxb-detail, .nxb-detail-panel, .nxb-copy, .nxb-cards--editorial, .nxb-cards--profiles, .nxb-cards--team, .nxb-gallery--client-cards)) > .nxb-block__inner { width: calc(100% - 36px); }
    .nxb-banner--editorial-hero .nxb-banner__layout { min-height: 360px; }
    .nxb-banner--editorial-hero .nxb-banner__content { width: calc(100% - 36px); padding-block: 40px; }
    .nxb-banner--editorial-hero .nxb-banner__content-inner { width: 100%; }
    .nxb-banner--editorial-hero .nxb-banner__media::after { background: #062744c9; }
    .nxb-detail .umb-block-grid__area-container, .nxb-detail-panel .umb-block-grid__area-container { display: flex; flex-direction: column; gap: 28px; }
    .nxb-detail .umb-block-grid__area, .nxb-detail-panel .umb-block-grid__area { width: 100%; }
    .nxb-copy .nxb-text-block__heading { font-size: 30px; }
    .nxb-copy h1.nxb-text-block__heading { font-size: 34px; }
    .nxb-gallery--editorial .nxb-gallery__viewport { gap: 12px; }
    .nxb-detail-panel .nxb-copy { padding: 22px; }
    .nxb-simple-pods.nxb-cards--editorial .nxb-simple-pods__grid, .nxb-simple-pods.nxb-cards--team .nxb-simple-pods__grid { grid-template-columns: 1fr; }
    .nxb-cards--editorial .nxb-simple-pods__content { min-height: 0; }
    .nxb-cards--editorial .nxb-simple-pods__heading { font-size: 23px; }
    .nxb-cards--profiles .nxb-simple-pods__card { grid-template-columns: 32% minmax(0,1fr); gap: 14px; }
    .nxb-cards--profiles .nxb-simple-pods__heading { font-size: 21px; }
    .nxb-cards--profiles .nxb-simple-pods__text { font-size: 14px; }
    .nxb-gallery--client-cards .nxb-gallery__viewport { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
    .nxb-gallery--client-cards .nxb-gallery__item { padding: 14px; min-height: 112px; }
    .nxb-copy--partnership .nxb-text-block__content { gap: 20px; font-size: 16px; }
    .nxb-copy--partnership .nxb-text-block__content::before { flex-basis: 76px; background-size: 56px 48px; }
    .nxb-block:has(> .nxb-block__inner > :is(.nxb-cards--editorial, .nxb-cards--profiles, .nxb-cards--team, .nxb-gallery--client-cards)) .nxb-section-heading { font-size: 31px; }
}

/* Nested components use the spacing of their detail grid, at every width. */
.nxb-grid-layout:is(.nxb-detail, .nxb-detail-panel) .nxb-block { padding: 0; }
.nxb-grid-layout:is(.nxb-detail, .nxb-detail-panel) .nxb-block > .nxb-block__inner { width: 100%; max-width: none; }

@media (max-width: 575px) {
    .nxb-cards--profiles .nxb-simple-pods__card { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
    .nxb-cards--profiles .nxb-simple-pods__media { width: min(180px, 100%); }
    .nxb-cards--profiles .nxb-simple-pods__content { padding: 0; }
}

@media (max-width: 575px) {
    .nxb-block:has(> .nxb-block__inner > .nxb-gallery--client-cards) { background-size: 560px auto !important; }
    .nxb-copy--partnership .nxb-text-block__content { flex-direction: column; gap: 12px; }
    .nxb-copy--partnership .nxb-text-block__content::before { flex-basis: auto; width: 70px; height: 52px; border: 0; background-position: center; }
    .nxb-copy--partnership .nxb-text-block__content::after { bottom: 0; }
    .nxb-block:has(> .nxb-block__inner > .nxb-copy--partnership) { padding-block: 22px; }
}
