
/* Hide the WordPress theme page title/header on NBE campaign pages. This removes the gray title bar that is not in the mockup. */
body.nbe-campaign-active .entry-header,
body.nbe-campaign-active header.entry-header,
body.nbe-campaign-active .page-header,
body.nbe-campaign-active .page-title,
body.nbe-campaign-active h1.entry-title,
body.nbe-campaign-active .wp-block-post-title,
body.nbe-campaign-active .post-title {
    display: none !important;
}

body.nbe-campaign-active .site-main,
body.nbe-campaign-active .content-area,
body.nbe-campaign-active article.page,
body.nbe-campaign-active .entry-content,
body.nbe-campaign-active .wp-site-blocks main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.nbe-campaign-active .entry-content > *:first-child {
    margin-top: 0 !important;
}

body.nbe-campaign-active .entry-content > .nbe-page {
    margin-top: 0 !important;
}

/* NBE Campaign landing page. Version 1.6.0. Hero photo sizing corrected to match the approved mockup direction. */
.nbe-page,
.nbe-page * {
    box-sizing: border-box;
}

.nbe-page {
    --nbe-blue: #0757b8;
    --nbe-blue-dark: #0047a8;
    --nbe-text: #0c1727;
    --nbe-muted: #28364a;
    --nbe-border: #d7dde8;
    --nbe-bg: #f3f7fb;
    --nbe-white: #ffffff;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    color: var(--nbe-text);
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

.nbe-page h1,
.nbe-page h2,
.nbe-page h3 {
    margin-top: 0;
}

.nbe-page h1,
.nbe-form-card h2,
.nbe-dark-section h2,
.nbe-audience-cards h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.nbe-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(330px, 1.05fr) minmax(245px, .68fr) minmax(350px, .92fr);
    gap: 22px;
    align-items: center;
    min-height: 760px;
    padding: 64px max(44px, calc((100vw - 1220px) / 2)) 66px;
    background:
        radial-gradient(circle at 80% 25%, rgba(255,255,255,.96), rgba(255,255,255,0) 32%),
        linear-gradient(115deg, #f8fbff 0%, #edf3f9 58%, #e8eff7 100%);
}

.nbe-hero-content {
    z-index: 2;
    align-self: center;
    padding-top: 10px;
}

.nbe-kicker {
    display: block;
    margin-bottom: 34px;
    color: var(--nbe-blue);
    font-size: 15px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    background: transparent;
    padding: 0;
}

.nbe-page h1 {
    font-size: clamp(42px, 4.25vw, 59px);
    line-height: 1.18;
    color: #111111;
    margin: 0 0 24px;
}

.nbe-hero-content::after,
.nbe-info-grid h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--nbe-blue);
    margin: 26px 0 24px;
}

.nbe-subheadline {
    max-width: 420px;
    margin: 0;
    color: #1c2636;
    font-size: 17px;
    line-height: 1.6;
}

.nbe-hero-image {
    z-index: 1;
    align-self: stretch;
    min-height: 570px;
    height: 570px;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    margin-left: -18px;
}

.nbe-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.nbe-support-card {
    position: absolute;
    left: max(44px, calc((100vw - 1220px) / 2));
    bottom: 116px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 24px;
    width: 375px;
    min-height: 112px;
    padding: 22px 24px;
    background: #ffffff;
    color: #172333;
    border: none;
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(20, 32, 51, .08);
    font-size: 16px;
    line-height: 1.45;
}

.nbe-icon-card img {
    width: 64px;
    height: 64px;
    flex: 0 0 auto;
    object-fit: contain;
}

.nbe-form-card {
    z-index: 5;
    width: 100%;
    max-width: 435px;
    justify-self: end;
    background: #ffffff;
    border: 1px solid rgba(180, 190, 206, .7);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(20, 32, 51, .13);
    padding: 30px 31px 34px;
}

.nbe-form-card h2 {
    color: #111111;
    font-size: 36px;
    line-height: 1.15;
    margin: 0 0 16px;
}

.nbe-form-card p {
    margin: 0 0 22px;
    color: #111111;
    font-size: 16px;
    line-height: 1.5;
}

.nbe-lead-form label {
    display: block;
    margin: 0 0 16px;
    color: #111111;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 800;
}

.nbe-lead-form label span {
    display: block;
    margin-bottom: 8px;
}

.nbe-lead-form label b {
    color: #d82727;
    font-weight: 800;
}

.nbe-lead-form input,
.nbe-lead-form select {
    display: block;
    width: 100%;
    height: 45px;
    margin: 0;
    border: 1px solid #cdd6e4;
    border-radius: 5px;
    background: #ffffff;
    color: #111111;
    padding: 0 14px;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    box-shadow: none;
}

.nbe-lead-form select {
    appearance: auto;
}

.nbe-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.nbe-button {
    display: block;
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 6px;
    background: var(--nbe-blue);
    color: #ffffff;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
    margin: 4px 0 20px;
    box-shadow: 0 10px 22px rgba(7, 87, 184, .22);
}

.nbe-button:hover,
.nbe-button:focus {
    background: var(--nbe-blue-dark);
}

.nbe-consent {
    position: relative;
    margin: 0 0 0 28px !important;
    color: #3e4754 !important;
    font-size: 12px !important;
    line-height: 1.55 !important;
}

.nbe-consent::before {
    content: '▣';
    position: absolute;
    left: -27px;
    top: 0;
    color: #555f6e;
    font-size: 16px;
}

.nbe-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.nbe-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;
    max-width: 1220px;
    margin: 0 auto;
    padding: 55px 44px 66px;
    background: #ffffff;
}

.nbe-info-grid article {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.nbe-info-grid h3 {
    color: var(--nbe-blue);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
    margin: 0;
}

.nbe-info-grid h3::after {
    width: 42px;
    height: 3px;
    margin: 18px 0 25px;
}

.nbe-info-grid p,
.nbe-info-grid li {
    color: #111111;
    font-size: 16px;
    line-height: 1.75;
}

.nbe-info-grid p {
    margin: 0;
}

.nbe-info-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nbe-icon-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin: 0 0 18px;
    line-height: 1.35;
}

.nbe-icon-list img {
    width: 27px;
    height: 27px;
    object-fit: contain;
    flex: 0 0 auto;
    margin-top: -2px;
}

.nbe-check-list img {
    width: 20px;
    height: 20px;
    margin-top: 0;
}

.nbe-dark-section {
    background:
        radial-gradient(circle at 50% 110%, rgba(255,255,255,.11), rgba(255,255,255,0) 38%),
        linear-gradient(115deg, #101114 0%, #22252a 52%, #111214 100%);
    color: #ffffff;
    padding: 30px 44px 60px;
}

.nbe-dark-inner {
    max-width: 1220px;
    margin: 0 auto;
}

.nbe-dark-section h2 {
    color: #ffffff;
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 8px;
}

.nbe-dark-section > div > p {
    max-width: 570px;
    margin: 0 0 30px;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.45;
}

.nbe-audience-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 42px;
}

.nbe-audience-cards article {
    text-align: center;
    color: #ffffff;
}

.nbe-audience-cards img {
    display: block;
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 5px;
    margin: 0 0 18px;
}

.nbe-audience-cards h3 {
    color: #ffffff;
    font-size: 25px;
    line-height: 1.2;
    margin: 0 0 10px;
}

.nbe-audience-cards p {
    max-width: 260px;
    margin: 0 auto;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.45;
}

.nbe-thank-you {
    padding: 64px 44px;
    background: linear-gradient(115deg, #f8fbff 0%, #edf3f9 100%);
}

.nbe-thank-you-layout {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 0;
    align-items: stretch;
}

.nbe-thank-you-card {
    background: #ffffff;
    border-radius: 16px 0 0 16px;
    box-shadow: 0 24px 70px rgba(20, 32, 51, .14);
    padding: 58px;
    text-align: center;
}

.nbe-thank-you-image {
    min-height: 520px;
    overflow: hidden;
    border-radius: 0 16px 16px 0;
    box-shadow: 0 24px 70px rgba(20, 32, 51, .12);
}

.nbe-thank-you-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nbe-checkmark {
    width: 76px;
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #eaf2ff;
    color: var(--nbe-blue);
    font-size: 46px;
    font-weight: 900;
    margin-bottom: 18px;
}

.nbe-thank-you-card .nbe-subheadline {
    margin: 0 auto 14px;
}

.nbe-small-card {
    position: static;
    width: auto;
    max-width: 520px;
    margin: 24px auto 0;
    text-align: left;
}

@media (max-width: 1120px) {
    .nbe-hero {
        grid-template-columns: 1fr 1fr;
        min-height: auto;
        padding-top: 46px;
    }
    .nbe-hero-content {
        grid-column: 1 / 2;
    }
    .nbe-hero-image {
        grid-column: 2 / 3;
        min-height: 470px;
        height: 470px;
        margin-left: 0;
    }
    .nbe-form-card {
        grid-column: 1 / -1;
        max-width: 720px;
        justify-self: center;
    }
    .nbe-support-card {
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 900px) {
    .nbe-hero,
    .nbe-info-grid,
    .nbe-audience-cards,
    .nbe-thank-you-layout {
        grid-template-columns: 1fr;
    }
    .nbe-hero {
        padding: 38px 24px 52px;
    }
    .nbe-hero-content,
    .nbe-hero-image,
    .nbe-form-card {
        grid-column: auto;
    }
    .nbe-hero-image {
        height: 360px;
        min-height: 360px;
    }
    .nbe-info-grid {
        gap: 36px;
        padding: 44px 24px 54px;
    }
    .nbe-dark-section {
        padding: 38px 24px 54px;
    }
    .nbe-thank-you-card {
        border-radius: 16px 16px 0 0;
    }
    .nbe-thank-you-image {
        min-height: 340px;
        border-radius: 0 0 16px 16px;
    }
}

@media (max-width: 600px) {
    .nbe-two-col {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .nbe-page h1 {
        font-size: 38px;
    }
    .nbe-form-card,
    .nbe-thank-you-card {
        padding: 26px 22px;
    }
    .nbe-support-card {
        width: 100%;
        min-height: auto;
    }
}


/* v1.6 hero photo correction
   The mockup uses a tall photographic asset between the headline and the form.
   This forces that asset to remain a tall photo, keeps the notebook/pen visible,
   and aligns the image height more closely with the form instead of cropping it like a banner. */
.nbe-landing .nbe-hero {
    grid-template-columns: minmax(330px, 1.05fr) minmax(200px, 0.58fr) minmax(350px, .92fr);
    align-items: start;
}

.nbe-landing .nbe-hero-image {
    align-self: start;
    width: 100%;
    max-width: 245px;
    height: 632px;
    min-height: 632px;
    margin-top: 24px;
    margin-left: -10px;
    overflow: hidden;
    background: transparent;
}

.nbe-landing .nbe-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

@media (max-width: 1100px) {
    .nbe-landing .nbe-hero {
        grid-template-columns: minmax(300px, 1fr) minmax(190px, .55fr) minmax(330px, .9fr);
    }

    .nbe-landing .nbe-hero-image {
        max-width: 230px;
        height: 615px;
        min-height: 615px;
    }
}

@media (max-width: 900px) {
    .nbe-landing .nbe-hero-image {
        max-width: none;
        width: 100%;
        height: 430px;
        min-height: 430px;
        margin-top: 0;
        margin-left: 0;
    }
}


/* v1.7 mockup match correction
   Fill the full space between the left headline block and the form with the photographic hero image.
   Do not make the hero image a narrow floating strip. It should occupy its whole center column, close to the mockup. */
.nbe-landing .nbe-hero {
    grid-template-columns: minmax(330px, 1.02fr) minmax(245px, 0.72fr) minmax(350px, 0.92fr) !important;
    column-gap: 22px !important;
    align-items: start !important;
}

.nbe-landing .nbe-hero-image {
    align-self: start !important;
    justify-self: stretch !important;
    width: 100% !important;
    max-width: none !important;
    height: 632px !important;
    min-height: 632px !important;
    margin-top: 24px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
}

.nbe-landing .nbe-hero-image img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center bottom !important;
}

@media (min-width: 1180px) {
    .nbe-landing .nbe-hero {
        grid-template-columns: minmax(430px, 1fr) minmax(275px, 0.65fr) minmax(420px, 0.92fr) !important;
    }

    .nbe-landing .nbe-hero-image {
        height: 632px !important;
        min-height: 632px !important;
    }
}

@media (max-width: 1100px) {
    .nbe-landing .nbe-hero {
        grid-template-columns: minmax(300px, 1fr) minmax(210px, .64fr) minmax(330px, .9fr) !important;
        column-gap: 18px !important;
    }

    .nbe-landing .nbe-hero-image {
        height: 615px !important;
        min-height: 615px !important;
    }
}

@media (max-width: 900px) {
    .nbe-landing .nbe-hero {
        grid-template-columns: 1fr !important;
    }

    .nbe-landing .nbe-hero-image {
        max-width: none !important;
        width: 100% !important;
        height: 430px !important;
        min-height: 430px !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
    }
}
