/* Corporate look, first viewport: light header and light hero.
   Loaded only on pages where nr_corp_active() is true (inc/nr-corporate.php),
   and listed in NR_CRITICAL_CSS so it blocks rendering: the header and hero
   are the first thing painted. The class is doubled (body.nr-corp.nr-corp) and
   the rules are !important because the Carbon bundle sets these colors with
   !important at body-class specificity. Tokens: ink #0C1210, text #3E4742,
   mute #6B7770, rule #DCE3DF, mist #EEF2F0, green #2EE08A, dark green #0E8F55. */

/* ── Header ─────────────────────────────────────────────────────────── */
body.nr-corp.nr-corp header.nr-header,
body.nr-corp.nr-corp header.nr-header > .container-fluid,
body.nr-corp.nr-corp header.nr-header .header-main {
    background: #fff !important;
}
body.nr-corp.nr-corp header.nr-header {
    border-bottom: 1px solid #DCE3DF !important;
    box-shadow: none !important;
}
body.nr-corp.nr-corp header.nr-header .main-menu > ul > li > a,
body.nr-corp.nr-corp header.nr-header .nr-header__action,
body.nr-corp.nr-corp header.nr-header .nr-header__action * {
    color: #0C1210 !important;
}
body.nr-corp.nr-corp header.nr-header .main-menu > ul > li > a:hover,
body.nr-corp.nr-corp header.nr-header .main-menu > ul > li:hover > a {
    color: #0E8F55 !important;
}
body.nr-corp.nr-corp header.nr-header .nr-header__action {
    border-color: #BFCAC4 !important;
    background: #fff !important;
}
body.nr-corp.nr-corp header.nr-header .nr-header__action:hover {
    border-color: #0C1210 !important;
}
body.nr-corp.nr-corp header.nr-header .nr-header__actions .nr-btn,
body.nr-corp.nr-corp header.nr-header .nr-header__actions .nr-btn * {
    color: #0C1210 !important;
}
body.nr-corp.nr-corp header.nr-header .nr-header__actions .nr-btn {
    border-color: #BFCAC4 !important;
    background: #fff !important;
}
body.nr-corp.nr-corp header.nr-header .nr-rev-chip {
    background: #fff !important;
    border-color: #DCE3DF !important;
}
body.nr-corp.nr-corp header.nr-header .nr-rev-chip__score,
body.nr-corp.nr-corp header.nr-header .nr-rev-chip__source {
    color: #0C1210 !important;
}
body.nr-corp.nr-corp header.nr-header .nr-rev-stars,
body.nr-corp.nr-corp header.nr-header .nr-rev-stars__fill {
    color: #0E8F55 !important;
}
/* "Log in" is drawn by ::after on the menu's login link. */
body.nr-corp.nr-corp header.nr-header .main-menu > ul > li > a.nr-btn::after {
    color: #0C1210 !important;
}
body.nr-corp.nr-corp header.nr-header .main-menu > ul > li > a.nr-btn {
    border-color: #BFCAC4 !important;
    background: #fff !important;
}
/* The logo file is ink; the carbon header whitens it with a filter. On the
   light header it is shown as it is. */
body.nr-corp.nr-corp header.nr-header .nr26-logo__img {
    filter: none !important;
}
body.nr-corp.nr-corp header.nr-header .nr-mnav-toggle {
    border-color: #BFCAC4 !important;
    background: #fff !important;
}
body.nr-corp.nr-corp header.nr-header .nr-mnav-toggle__bar {
    background: #0C1210 !important;
}

/* ── Hero ───────────────────────────────────────────────────────────── */
body.nr-corp.nr-corp .nr-hero,
body.nr-corp.nr-corp .nr-hero.is-light {
    background: #fff !important;
    background-image: none !important;
    color: #3E4742 !important;
}
body.nr-corp.nr-corp .nr-hero::before,
body.nr-corp.nr-corp .nr-hero::after,
body.nr-corp.nr-corp .nr-hero .nr-hero__bg {
    display: none !important;
}
body.nr-corp.nr-corp .nr-hero .nr-hero__headline,
body.nr-corp.nr-corp .nr-hero h1 {
    color: #0C1210 !important;
}
/* The accent word: ink on a green underline; green text on white is too faint. */
body.nr-corp.nr-corp .nr-hero h1 em {
    color: #0C1210 !important;
    -webkit-text-fill-color: #0C1210 !important;
    background: none !important;
    font-style: normal !important;
    box-shadow: inset 0 -0.18em 0 #2EE08A !important;
}
body.nr-corp.nr-corp .nr-hero .nr-hero__eyebrow {
    color: #0E8F55 !important;
}
body.nr-corp.nr-corp .nr-hero .nr-hero__sub,
body.nr-corp.nr-corp .nr-hero .nr-hero__longtext p,
body.nr-corp.nr-corp .nr-hero .nr-hero__content > p {
    color: #3E4742 !important;
}
body.nr-corp.nr-corp .nr-hero .nr-ophero-pillars li,
body.nr-corp.nr-corp .nr-hero .nr-hero__content li {
    color: #0C1210 !important;
}
body.nr-corp.nr-corp .nr-hero .nr-ophero-pillars svg {
    color: #0E8F55 !important;
    stroke: #0E8F55 !important;
}
body.nr-corp.nr-corp .nr-hero .nr-btn--primary {
    background: #0C1210 !important;
    border-color: #0C1210 !important;
    color: #fff !important;
}
body.nr-corp.nr-corp .nr-hero .nr-btn--primary * {
    color: #fff !important;
}
body.nr-corp.nr-corp .nr-hero .nr-btn--ghost {
    background: #fff !important;
    border: 1px solid #BFCAC4 !important;
    color: #0C1210 !important;
}
body.nr-corp.nr-corp .nr-hero .nr-btn--ghost:hover {
    border-color: #0C1210 !important;
}
body.nr-corp.nr-corp .nr-hero .nr-hero__badge,
body.nr-corp.nr-corp .nr-hero .nr27-hero-reviews__src,
body.nr-corp.nr-corp .nr-hero .nr27-hero-reviews__sep {
    color: #6B7770 !important;
}
body.nr-corp.nr-corp .nr-hero .nr27-hero-reviews__item,
body.nr-corp.nr-corp .nr-hero .nr27-hero-reviews__item strong {
    color: #0C1210 !important;
}
body.nr-corp.nr-corp .nr-hero .nr27-hero-reviews__stars {
    color: #0E8F55 !important;
}
body.nr-corp.nr-corp .nr-hero .nr-hero__crumbs,
body.nr-corp.nr-corp .nr-hero .nr-hero__crumbs a,
body.nr-corp.nr-corp .nr-breadcrumbs,
body.nr-corp.nr-corp .nr-breadcrumbs a {
    color: #6B7770 !important;
}

/* The hero's tiles: the white one needs an edge on a white hero. */
body.nr-corp.nr-corp .nr-hero .nr26-bento__tile {
    box-shadow: 0 0 0 1px #DCE3DF !important;
}

/* Collapsed hero text fades into the hero's own color. */
html body.nr-corp.nr-corp .nr-hero__longtext.nr-clamp::after {
    background: linear-gradient(rgba(255, 255, 255, 0), #fff) !important;
}
body.nr-corp.nr-corp .nr-hero .nr-hero__more,
body.nr-corp.nr-corp .nr-hero .nr-hero__more-txt,
body.nr-corp.nr-corp .nr-hero .nr-hero__more-ico {
    color: #0E8F55 !important;
    border-color: #0E8F55 !important;
}

/* ── Hero photo in place of the tiles (nr_corp_hero_photos) ─────────── */
body.nr-corp.nr-corp .nr-hero .nr-hero__media.nr-corp-has-photo {
    display: block !important;
    position: relative !important;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
    min-height: 0 !important;
    height: auto !important;
}
body.nr-corp.nr-corp .nr-hero .nr-hero__media.nr-corp-has-photo > :not(.nr-corp-photo) {
    display: none !important;
}
body.nr-corp.nr-corp .nr-corp-photo {
    position: relative;
    margin: 0 !important;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1 / 1.04;
    background: #0C1210;
}
body.nr-corp.nr-corp .nr-corp-photo img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: 50% 62%;
    border-radius: 0 !important;
}
body.nr-corp.nr-corp .nr-corp-photo__stats {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    background: #fff;
    border-radius: 6px;
    padding: 16px 20px;
    margin: 0 !important;
    text-align: left;
}
body.nr-corp.nr-corp .nr-corp-photo__stats b,
body.nr-corp.nr-corp .nr-corp-photo__stats b * {
    display: block;
    font: 700 20px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace !important;
    color: #0C1210 !important;
}
body.nr-corp.nr-corp .nr-corp-photo__stats span {
    font-size: 12px !important;
    line-height: 1.4 !important;
    color: #6B7770 !important;
}
body.nr-corp.nr-corp .nr-corp-photo__stats b span {
    font: inherit !important;
    color: inherit !important;
}
@media (max-width: 900px) {
    body.nr-corp.nr-corp .nr-hero .nr-hero__media.nr-corp-has-photo {
        display: block !important;
        margin-top: 28px !important;
    }
    body.nr-corp.nr-corp .nr-corp-photo { aspect-ratio: 1 / .9; }
    body.nr-corp.nr-corp .nr-corp-photo__stats { left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; gap: 8px; }
    body.nr-corp.nr-corp .nr-corp-photo__stats b,
    body.nr-corp.nr-corp .nr-corp-photo__stats b * { font-size: 16px !important; }
}
