/* ==========================================================================
   core_sections — reusable section rhythm helpers (alternating bands +
   dividers) for calmer vertical flow. Theme-aware via the --nb-* tokens.
   ========================================================================== */

/* Subtle elevated band to differentiate adjacent sections from pure bg. */
.nb-section--alt {
    background: var(--nb-bg-alt, #0c0e1a);
    border-top: 1px solid var(--nb-border, rgba(255, 255, 255, 0.06));
    border-bottom: 1px solid var(--nb-border, rgba(255, 255, 255, 0.06));
}

/* Tighten the gap when two full-bleed bands sit back-to-back so the seam
   reads as one transition rather than a double border. */
.nb-section--alt + .nb-section--alt {
    border-top: none;
}

/* Optional centered gradient hairline divider (use between sections). */
.nb-divider {
    height: 1px;
    border: 0;
    margin: 0 auto;
    max-width: var(--nb-maxw, 1180px);
    background: linear-gradient(
        90deg,
        transparent,
        var(--nb-border-strong, rgba(255, 255, 255, 0.16)) 18%,
        var(--nb-border-strong, rgba(255, 255, 255, 0.16)) 82%,
        transparent
    );
}
