/* Scoped editorial refinements. Existing Hero and other page families are untouched. */
.nv-editorial { --nv-ink: #002d4a; --nv-blue: #004672; --nv-copy: #33485b; --nv-line: #dbe4ea; --nv-paper: #f5f8fa; }
.nv-editorial ::selection { background: #d0efdf; color: var(--nv-ink); }
.nv-editorial .sub-section { padding: clamp(40px, 5vw, 72px) 0; scroll-margin-top: 100px; }
.nv-editorial .sub-section::before, .nv-editorial .sub-section::after,
.nv-editorial .sub-feature::before, .nv-editorial .sub-feature::after,
.nv-editorial .sub-list li::before,
.nv-editorial .sub-list li::after, .nv-editorial .sub-cta::before, .nv-editorial .sub-cta::after { display: none; }
.nv-editorial .sub-block { margin-bottom: 28px; opacity: 1; transform: none; }
.nv-editorial .sub-block__title { display: block; color: var(--nv-ink); font-size: clamp(1.65rem, 2.6vw, 2.25rem); line-height: 1.22; letter-spacing: -.025em; text-wrap: balance; max-width: 26ch; margin: 0 0 20px; padding: 0; }
.nv-editorial .sub-block__title::after { content: ''; display: block; position: static; width: 48px; height: 3px; background: #2dc471; margin-top: 16px; transform: none; }
.nv-editorial .sub-block__text, .nv-editorial .sub-feature__text { color: var(--nv-copy); font-size: 1rem; line-height: 1.65; max-width: 70ch; }
.nv-editorial .sub-block__text { margin: 0; }
.nv-editorial .sub-section--gray { background: var(--nv-paper); }
.nv-editorial .nv-product-intro { display: grid; grid-template-columns: 1fr 1.12fr; gap: 64px; align-items: center; margin-bottom: 42px; }
.nv-editorial .nv-product-intro .sub-block { margin: 0; }
.nv-editorial .nv-product-media { min-width: 0; }
.nv-editorial .nv-product-image { display: block; width: 100%; height: auto; max-height: 440px; object-fit: contain; border-radius: 0; box-shadow: none; }
.nv-editorial .sub-features { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin-top: 0; }
.nv-editorial .sub-feature, .nv-editorial .sub-feature:last-child { display: grid; grid-template-columns: 36px 1fr; gap: 12px 14px; align-content: start; align-items: center; grid-column: auto; border: 1px solid var(--nv-line); padding: 24px; border-radius: 0; background: #fff; box-shadow: none; transform: none; transition: border-color .2s ease, background-color .2s ease; opacity: 1; }
.nv-editorial .sub-feature.visible:hover { background: #f5faf8; border-color: #a5cfb9; transform: none; box-shadow: none; }
.nv-editorial .sub-feature__icon { display: flex; width: 36px; height: 36px; margin: 0; background: #e9f7ef; color: #08733d; }
.nv-editorial .sub-feature__icon svg { width: 22px; height: 22px; }
.nv-editorial .sub-feature__title { color: var(--nv-ink); font-size: 1.06rem; line-height: 1.4; margin: 0; text-wrap: balance; }
.nv-editorial .sub-feature__text { grid-column: 1 / -1; margin: 0; }
.nv-editorial .nv-bank-value { background: var(--nv-blue); }
.nv-editorial .nv-bank-value .sub-block__title, .nv-editorial .nv-bank-value .sub-feature__title { color: #fff; }
.nv-editorial .nv-bank-value .sub-block__text, .nv-editorial .nv-bank-value .sub-feature__text { color: #e3edf3; }
.nv-editorial .nv-bank-value .sub-feature { background: #12557f; border-color: #477893; }
.nv-editorial .nv-bank-value .sub-feature.visible:hover { background: #1b6089; border-color: #91bba5; }
.nv-editorial .nv-bank-value .sub-feature__icon { background: #226b88; color: #8ce0b0; }
.nv-editorial .nv-bank-value .sub-features { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.nv-editorial .sub-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 40px; list-style: none; margin: 0; padding: 0; }
.nv-editorial .sub-list li { background: transparent; border: 0; border-bottom: 1px solid var(--nv-line); padding: 18px 0; color: var(--nv-copy); font-size: 1rem; line-height: 1.65; box-shadow: none; min-width: 0; opacity: 1; transform: none; transition: none; backdrop-filter: none; }
.nv-editorial .sub-list li.visible:hover { background: transparent; box-shadow: none; transform: none; }
.nv-editorial .nv-bank-value .sub-list li { color: #e3edf3; border-color: #65889e; }
.nv-editorial .nv-details { border: 1px solid var(--nv-line); background: var(--nv-paper); padding: 0 24px; }
.nv-editorial .nv-details summary { cursor: pointer; min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 24px; list-style: none; padding: 20px 0; color: var(--nv-blue); font: 600 1.18rem/1.4 var(--font-heading,'Sora',sans-serif); }
.nv-editorial .nv-details summary::-webkit-details-marker { display: none; }
.nv-editorial .nv-details summary::after { content: ''; width: 10px; height: 10px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); flex: 0 0 10px; margin-right: 5px; transition: transform .2s ease; }
.nv-editorial .nv-details[open] summary::after { transform: rotate(225deg); }
.nv-editorial .nv-details__content { padding-bottom: 24px; }
.nv-editorial .nv-details__content > p { max-width: 70ch; color: var(--nv-copy); line-height: 1.65; margin: 24px 0 0; }
.nv-editorial a:focus-visible, .nv-editorial button:focus-visible, .nv-editorial summary:focus-visible { outline: 3px solid #08733d; outline-offset: 5px; }
.nv-editorial .nv-bank-value a:focus-visible, .nv-editorial .nv-bank-value button:focus-visible { outline-color: #fff; }
.nv-editorial .sub-block.text-center { text-align: left; }
.nv-editorial .sub-ecosystem__flow { justify-content: flex-start; gap: 12px 28px; }
.nv-editorial .sub-ecosystem__node { padding: 12px 18px; border: 1px solid #cddfd6; background: #f1f8f4; border-radius: 0; color: var(--nv-blue); min-height: 44px; text-decoration: none; }
.nv-editorial .sub-ecosystem__node:hover { background: #e0f2e7; color: #08733d; transform: none; }
.nv-editorial .nv-close { background: var(--nv-ink); padding: 48px 0; }
.nv-editorial .nv-close .container { display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.nv-editorial .sub-cta__title { font-size: clamp(1.45rem,2.3vw,1.9rem); line-height: 1.3; max-width: 36ch; margin: 0; text-wrap: balance; }
.nv-editorial .sub-cta__desc { margin: 0; color: #e3edf3; max-width: 60ch; }
.nv-editorial .sub-cta__btn { white-space: nowrap; margin-top: 6px; }
.nv-editorial .nv-steps { list-style: decimal; margin: 26px 0 0; padding-left: 24px; }
.nv-editorial .nv-steps li { padding: 0 0 18px 10px; color: var(--nv-ink); }
.nv-editorial .nv-steps li::marker { color: var(--nv-blue); font-weight: 700; }
.nv-editorial .nv-steps p { color: var(--nv-copy); margin: 3px 0 0; font-size: 1rem; }
.nv-editorial--smart-karta .nv-product-image { max-height: 540px; }
.nv-editorial--bankowosc-dla-dzieci .nv-product-image { max-height: 420px; }
.nv-editorial--wsparcie .nv-bank-value .sub-features { grid-template-columns: repeat(2,minmax(0,1fr)); }
.nv-editorial--serwis-atm .nv-service-scope .sub-features { grid-template-columns: repeat(3,minmax(0,1fr)); }
.nv-editorial--serwis-atm .sub-section--gray .sub-features { grid-template-columns: repeat(4,minmax(0,1fr)); }
.nv-editorial--serwis-atm .sub-section--gray .sub-feature { display: block; padding: 20px 0; background: transparent; border: 0; }
.nv-editorial--serwis-atm .sub-section--gray .sub-feature__icon { margin-bottom: 14px; }
.nv-editorial--serwis-atm .sub-section--gray .sub-feature__title { margin-bottom: 10px; }
.nv-editorial .nv-lane-nav { display: flex; flex-wrap: wrap; gap: 12px 30px; margin: 0 0 44px; }
.nv-editorial .nv-lane-nav a { color: var(--nv-blue); min-height: 44px; padding: 10px 0; text-decoration: underline; text-underline-offset: 5px; }
.nv-editorial .video-facade { aspect-ratio: 16 / 9; }
.nv-editorial .video-facade__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nv-editorial .nv-video-link { display: inline-block; margin-top: 18px; color: #fff; min-height: 44px; text-decoration: underline; text-underline-offset: 5px; }
.page-id-1128 .novum-history-event__text a { color: #004672; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .nv-editorial .nv-product-intro { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nv-editorial .nv-bank-value .sub-features, .nv-editorial--serwis-atm .nv-service-scope .sub-features, .nv-editorial--serwis-atm .sub-section--gray .sub-features { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
}
@media (max-width: 640px) {
  .nv-editorial .nv-product-intro { grid-template-columns: 1fr; gap: 28px; margin-bottom: 28px; }
  .nv-editorial .nv-product-image { max-height: 360px; }
  .nv-editorial .sub-features, .nv-editorial .sub-list, .nv-editorial .nv-bank-value .sub-features, .nv-editorial--wsparcie .nv-bank-value .sub-features, .nv-editorial--serwis-atm .nv-service-scope .sub-features, .nv-editorial--serwis-atm .sub-section--gray .sub-features { grid-template-columns: 1fr; gap: 16px; }
  .nv-editorial .sub-feature, .nv-editorial .sub-feature:last-child { padding: 20px; }
  .nv-editorial .nv-details { padding: 0 18px; }
  .nv-editorial .nv-close .container { grid-template-columns: 1fr; gap: 16px; }
  .nv-editorial .sub-cta__btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; white-space: normal; }
  .nv-editorial .sub-block__title { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .nv-editorial .nv-details summary::after { transition: none; }
}
