/* New homepage / layout styles. Scoped to body.new-design so the live site is unchanged. */

.new-design {
    --nd-navy: #27274a;
    --nd-cream: #fffdee;
    --nd-dark-cream: #f0efe7;
    --nd-voice: #ecc500;
    --nd-family: #07719b;
    --nd-care: #016357;
    --nd-people: #d10d5d;
    --nd-scaffolding: #ff7843;
    --nd-border: 3px;
    --nd-radius: 8px;
}

html:has(body.new-design) {
    scroll-padding-top: var(--nd-header-height, 9rem);
}

.new-design h1,
.new-design .nd-h1 {
    font-weight: 700;
    color: var(--nd-navy);
    line-height: 1;
    letter-spacing: 0;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
}

.new-design h2,
.new-design .nd-h2 {
    font-weight: 700;
    color: var(--nd-navy);
    line-height: 1.1;
    letter-spacing: 0;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.new-design .nd-lead {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    line-height: 1.5;
}

.new-design .nd-small {
    font-size: 0.875rem;
    line-height: 1.71875;
}

.new-design .nd-section {
    padding-block: clamp(2.5rem, 6vw, 4.875rem);
}

.new-design .nd-about .nd-section {
    padding-block: clamp(1.25rem, 3vw, 2.4375rem);
}

.new-design .nd-card {
    background-color: var(--nd-cream);
    border: var(--nd-border) solid var(--nd-navy);
    border-radius: var(--nd-radius);
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
}

.new-design .nd-card--family {
    border-color: var(--nd-family);
    justify-content: space-between;
}

.new-design .nd-card--people {
    border-color: var(--nd-people);
    justify-content: space-between;
}

.new-design .nd-card-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--nd-navy);
    margin: 0;
}

.new-design .nd-card p {
    margin-bottom: 0;
}

.new-design .nd-card a:not(.nd-btn) {
    color: inherit;
    text-underline-offset: 0.15em;
}

.new-design .nd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 41px;
    min-width: 11rem;
    padding: 0.5rem 1.5rem;
    border: 0;
    border-radius: var(--nd-radius);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.new-design .nd-btn:focus-visible {
    outline: 3px solid var(--nd-navy);
    outline-offset: 3px;
}

.new-design .nd-btn--family {
    background-color: var(--nd-family);
    color: #fff;
}

.new-design .nd-btn--family:hover,
.new-design .nd-btn--family:focus-visible {
    background-color: color-mix(in srgb, var(--nd-family) 85%, #000);
    color: #fff;
}

.new-design .nd-btn--people {
    background-color: var(--nd-people);
    color: #fff;
}

.new-design .nd-btn--people:hover,
.new-design .nd-btn--people:focus-visible {
    background-color: color-mix(in srgb, var(--nd-people) 85%, #000);
    color: #fff;
}

.new-design button.nd-btn {
    font-family: inherit;
    cursor: pointer;
}

.new-design .nd-card--listing {
    align-items: flex-start;
    text-align: start;
}

.new-design .nd-org-filter {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 2rem;
    max-width: 36rem;
}

.new-design .nd-org-filter-label {
    font-weight: 700;
    color: var(--nd-navy);
}

.new-design .nd-org-filter-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.new-design .nd-org-filter-controls .nd-select {
    flex: 1 1 16rem;
}

.new-design .nd-listing-heading {
    font-weight: 700;
}

.new-design .nd-listing-heading .nd-route {
    color: var(--nd-family);
}

.new-design .nd-listing-heading .nd-story {
    color: var(--nd-people);
}

/* Override live-site dropdown caret from bootstrap.min.css */
.new-design .dropdown-toggle::after,
.new-design .nav-link.dropdown-toggle::after,
.new-design .nav-link.dropdown-toggle.show::after {
    display: none !important;
    background-image: none !important;
}

.new-design .nd-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: var(--nd-cream);
}

.new-design .nd-header.is-stuck {
    box-shadow: 0 2px 8px rgba(39, 39, 74, 0.12);
}

.new-design .nd-header li {
    margin-bottom: 0;
}

.new-design .nd-header-top {
    padding-block: 0.75rem;
}

.new-design .nd-logo {
    display: block;
    width: 194px;
    max-width: 42vw;
    height: auto;
}

.new-design .nd-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.new-design .nd-top-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.new-design .nd-top-nav a {
    display: inline-block;
    padding: 0.25rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.72;
    color: var(--nd-navy);
    text-decoration: none;
    white-space: nowrap;
}

.new-design .nd-top-nav a:hover,
.new-design .nd-top-nav a:focus-visible,
.new-design .nd-top-nav a[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.new-design .nd-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 50px;
    width: min(300px, 100%);
    padding: 0.625rem 0.875rem;
    background: #fff;
    border: 2px solid var(--nd-navy);
    border-radius: var(--nd-radius);
    box-shadow: 0 1px 1px rgba(10, 13, 18, 0.05);
    color: var(--nd-navy);
    text-align: left;
}

.new-design .nd-search-label {
    flex: 1;
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.5;
    white-space: nowrap;
}

.new-design .nd-search-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--nd-navy);
}

.new-design .nd-search-caret {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    overflow: hidden;
}

.new-design .nd-search-caret img {
    display: block;
    width: 100%;
    height: 100%;
}

.new-design .nd-header-bar {
    position: relative;
    z-index: 1030;
    background-color: var(--nd-navy);
}

.new-design .nd-mega-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0.75rem 0;
}

.new-design .nd-mega-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--nd-cream);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.375;
    white-space: nowrap;
}

.new-design .nd-mega-toggle:hover,
.new-design .nd-mega-toggle:focus-visible {
    color: #fff;
}

.new-design .nd-mega-toggle:focus-visible {
    outline: 2px solid var(--nd-voice);
    outline-offset: 4px;
}

.new-design .nd-mega-toggle.show,
.new-design .nd-sop-dropdown.show > .nd-mega-toggle {
    color: var(--nd-voice);
}

.new-design .nd-caret {
    display: block;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    overflow: hidden;
}

.new-design .nd-caret img {
    display: block;
    width: 100%;
    height: 100%;
}

.new-design .nd-mega-dropdown {
    position: static;
}

.new-design .nd-mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 1.25rem 0 2rem;
    border: 0;
    border-radius: 0;
    background-color: var(--nd-navy);
    transform: none !important;
    max-height: calc(100dvh - var(--nd-header-height, 9rem));
    overflow-y: auto;
}

.new-design .nd-mega-menu.show {
    display: block;
}

.new-design .nd-mega-heading {
    margin: 0 0 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.5;
}

.new-design .nd-mega-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.new-design .nd-mega-list li + li {
    margin-top: 0.35rem;
}

.new-design .nd-mega-list a {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--nd-cream);
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.72;
    text-decoration: none;
}

.new-design .nd-mega-list a:hover,
.new-design .nd-mega-list a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 0.15em;
    color: #fff;
}

.new-design .nd-mega-bullet {
    display: block;
    width: 16px;
    height: 16px;
    margin-top: 0.35rem;
    flex-shrink: 0;
    overflow: hidden;
}

.new-design .nd-mega-bullet img {
    display: block;
    width: 100%;
    height: 100%;
}

.new-design .nd-sop-dropdown {
    position: static;
}

.new-design .nd-sop-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 1.25rem 0 2rem;
    border: 0;
    border-radius: 0;
    background-color: var(--nd-navy);
    transform: none !important;
    max-height: calc(100dvh - var(--nd-header-height, 9rem));
    overflow-y: auto;
}

.new-design .nd-sop-menu.show {
    display: block;
}

.new-design .nd-sop-menu .nd-mega-heading {
    color: var(--nd-cream);
}

.new-design .nd-sop-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem;
}

.new-design .nd-sop-list > li + li {
    margin-block-start: 0;
}

.new-design .nd-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 2px solid var(--nd-navy);
    border-radius: var(--nd-radius);
    background: transparent;
    color: var(--nd-navy);
}

.new-design .nd-toggler-icon {
    font-size: 1.35rem;
    line-height: 1;
}

.new-design .nd-toggler:focus-visible {
    outline: 2px solid var(--nd-navy);
    outline-offset: 3px;
}

.new-design .nd-offcanvas {
    background-color: var(--nd-navy);
    color: var(--nd-cream);
}

.new-design .nd-offcanvas .btn-close {
    filter: invert(1) grayscale(1);
}

.new-design .nd-offcanvas .nd-search {
    width: 100%;
    margin-bottom: 1.5rem;
}

.new-design .nd-offcanvas-nav {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.new-design .nd-offcanvas-nav a {
    display: block;
    padding: 0.5rem 0;
    color: var(--nd-cream);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
}

.new-design .nd-offcanvas-nav a:hover,
.new-design .nd-offcanvas-nav a:focus-visible {
    text-decoration: underline;
}

.new-design .nd-offcanvas-details {
    border-top: 1px solid rgba(255, 253, 238, 0.2);
}

.new-design .nd-offcanvas-details > summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--nd-cream);
}

.new-design .nd-offcanvas-details > summary::-webkit-details-marker,
.new-design .nd-offcanvas-details > summary::marker,
.new-design .nd-offcanvas-sub > summary::-webkit-details-marker,
.new-design .nd-offcanvas-sub > summary::marker {
    display: none;
    content: none;
}

.new-design .nd-offcanvas-details[open] > summary {
    color: var(--nd-voice);
}

.new-design .nd-offcanvas-details > summary .nd-caret,
.new-design .nd-offcanvas-sub > summary .nd-caret {
    transition: transform 0.2s ease;
}

.new-design .nd-offcanvas-details[open] > summary .nd-caret,
.new-design .nd-offcanvas-sub[open] > summary .nd-caret {
    transform: rotate(180deg);
}

.new-design .nd-offcanvas-sub {
    border-top: 1px solid rgba(255, 253, 238, 0.15);
}

.new-design .nd-offcanvas-sub > summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 0.65rem 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--nd-cream);
}

.new-design .nd-offcanvas-sub[open] > summary {
    color: var(--nd-voice);
}

.new-design .nd-offcanvas-details > summary:focus-visible,
.new-design .nd-offcanvas-sub > summary:focus-visible {
    outline: 2px solid var(--nd-voice);
    outline-offset: 3px;
}

.new-design .nd-select {
    appearance: none;
    width: 100%;
    min-height: 44px;
    padding: 0.625rem 2.5rem 0.625rem 0.875rem;
    background-color: var(--nd-cream);
    background-image: url("/images/home-new/chevron-down.svg");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    background-size: 20px 20px;
    border: 1px solid var(--nd-navy);
    border-radius: var(--nd-radius);
    box-shadow: 0 1px 1px rgba(10, 13, 18, 0.05);
    color: var(--nd-navy);
    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
}

.new-design .nd-select:focus-visible {
    outline: 3px solid var(--nd-navy);
    outline-offset: 3px;
}

.new-design .nd-select:has(option[value=""]:checked) {
    color: color-mix(in srgb, var(--nd-navy) 50%, transparent);
}

.new-design .nd-select option {
    color: var(--nd-navy);
}

.new-design .nd-welcome-copy p {
    font-size: 1rem;
    line-height: 1.72;
    color: var(--nd-navy);
    max-width: 36rem;
}

.new-design .nd-welcome-copy p:last-child {
    margin-bottom: 0;
}

.new-design .nd-parts-heading .nd-route {
    color: var(--nd-family);
}

.new-design .nd-parts-heading .nd-story {
    color: var(--nd-people);
}

.new-design .nd-find {
    background-color: var(--nd-navy);
    color: var(--nd-cream);
}

.new-design .nd-find h2,
.new-design .nd-find .nd-lead {
    color: var(--nd-cream);
}

.new-design .nd-find .nd-card {
    color: var(--nd-navy);
}

.new-design .nd-find .nd-route {
    color: var(--nd-family);
    font-weight: 700;
}

.new-design .nd-find .nd-story {
    color: var(--nd-people);
    font-weight: 700;
}

.new-design .nd-video {
    max-width: 630px;
    margin-inline: auto;
}

.new-design .nd-video-facade {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: var(--nd-navy);
    cursor: pointer;
}

.new-design .nd-video-facade:focus-visible {
    outline: 3px solid var(--nd-navy);
    outline-offset: 4px;
}

.new-design .nd-video-facade img.nd-video-poster {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.new-design .nd-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.new-design .nd-play-icon {
    width: 74px;
    height: 74px;
    overflow: hidden;
}

.new-design .nd-play-icon img {
    display: block;
    width: 100%;
    height: 100%;
}

.new-design .nd-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.new-design .nd-footer-symbol {
    height: 91px;
    background-image: url("/images/common/footer-repeat.svg");
    background-repeat: repeat-x;
    background-position: center top;
}

.new-design .nd-footer {
    background-color: var(--nd-navy);
    color: #fff;
    padding-block: 2.5rem 3rem;
}

.new-design .nd-footer-logo {
    display: block;
    max-width: 220px;
    height: auto;
    margin-bottom: 1rem;
}

.new-design .nd-footer .social-icons a {
    color: #fff;
}

.new-design .nd-footer .social-icons a:hover,
.new-design .nd-footer .social-icons a:focus-visible {
    color: var(--nd-voice);
}

.new-design .nd-tps-logo {
    display: block;
    max-width: 219px;
    height: auto;
    mix-blend-mode: lighten;
}

.new-design .nd-footer-copy {
    color: var(--nd-dark-cream);
    font-size: 0.875rem;
    line-height: 1.72;
}

.new-design .nd-footer-copy a {
    color: inherit;
}

.new-design .nd-footer-nav a {
    display: block;
    color: #fff;
    font-size: 1rem;
    line-height: 1.72;
    text-decoration: none;
}

.new-design .nd-footer-nav a.header {
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.new-design .nd-footer-nav a:hover,
.new-design .nd-footer-nav a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.new-design .nd-panel-text p {
    font-size: 1rem;
    line-height: 1.72;
    color: var(--nd-navy);
}

.new-design .nd-panel-text p:last-child {
    margin-bottom: 0;
}

.new-design .nd-panel-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.new-design .nd-question-mark {
    display: block;
    width: min(14.3rem, 55%);
    height: auto;
    max-height: 21.7rem;
}

.new-design .nd-divider-arrow {
    display: flex;
    justify-content: center;
    margin-block: -1.25rem;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.new-design .nd-divider-arrow img {
    display: block;
    width: 67px;
    height: 49px;
}

.new-design .nd-panel-media .nd-video {
    width: 100%;
    max-width: 30.25rem;
}

.new-design .nd-progress-graphic {
    display: block;
    width: min(100%, 30.25rem);
    height: auto;
}

.new-design .nd-btn--wide {
    min-width: 0;
    width: fit-content;
    max-width: 100%;
    padding: 0.75rem 1.5rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-align: center;
    white-space: normal;
}

.new-design .nd-panel-text .nd-btn {
    margin-top: 0.5rem;
}

.new-design .nd-mitm-diagram {
    display: flex;
    justify-content: center;
    margin-block: 2rem 2.5rem;
}

.new-design .nd-mitm-diagram img {
    display: block;
    width: min(100%, 62.8rem);
    height: auto;
}

.new-design .nd-faqs h2 {
    margin-bottom: 2.5rem;
}

.new-design .nd-faq-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem 1.2rem;
    max-width: 60.8rem;
    padding: 2rem 1.25rem;
    background-color: var(--nd-family);
    border-radius: 20px;
}

.new-design .nd-faq-item {
    background-color: #fff;
    border: 1px solid #dde1e6;
    border-radius: 20px;
    min-height: 4.75rem;
    overflow: hidden;
}

.new-design .nd-faq-heading {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

.new-design .nd-faq-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    min-height: 4.75rem;
    padding: 1rem;
    border: 0;
    background: transparent;
    color: #21272a;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.53;
    text-align: left;
    cursor: pointer;
}

.new-design .nd-faq-toggle:hover {
    background-color: #f8f9fa;
}

.new-design .nd-faq-toggle:focus-visible {
    outline: 3px solid var(--nd-navy);
    outline-offset: -6px;
}

.new-design .nd-faq-icon {
    position: relative;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.new-design .nd-faq-icon .fa-solid {
    position: absolute;
    inset: 0;
    place-items: center;
    font-size: 1rem;
    color: #21272a;
}

.new-design .nd-faq-icon-plus,
.new-design .nd-faq-toggle[aria-expanded="true"] .nd-faq-icon-minus {
    display: grid;
}

.new-design .nd-faq-icon-minus,
.new-design .nd-faq-toggle[aria-expanded="true"] .nd-faq-icon-plus {
    display: none;
}

.new-design .nd-faq-body {
    padding: 0 1rem 1rem;
    color: #21272a;
}

.new-design .nd-faq-body p {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.72;
}

@media (min-width: 768px) {
    .new-design .nd-faq-panel {
        grid-template-columns: 1fr 1fr;
        gap: 1.7rem 1.2rem;
        padding: 2rem;
    }
}

@media (max-width: 1199.98px) {
    .new-design .nd-top-nav {
        gap: 0.25rem 0.75rem;
    }

    .new-design .nd-search {
        width: min(240px, 100%);
    }

    .new-design .nd-sop-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .new-design .nd-header-top {
        padding-block: 0.5rem;
    }

    .new-design .nd-card {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .new-design .nd-mega-nav {
        gap: 1.25rem;
    }

    .new-design .nd-footer-nav {
        margin-top: 2rem;
    }

    .new-design .nd-btn--wide {
        letter-spacing: 0.08em;
    }
}
