
/* r5: two exact palettes from the supplied VERBA prototypes; existing component/adaptives. */

:root {
    --indent: 50px
}

body {
    background: white
}

body,
.stage,
.stage.topbar-stage {
    min-height: 0
}

.ny-topbar {
    --surface: #152A45;
    --surface-text: #fff;
    --cta-bg: #fff;
    --cta-text: #152A45;
    --decoration: #D9DAA1;
    background: var(--surface);
    color: var(--surface-text);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 60px
}

.theme-1,
.theme-3,
.theme-5 {
    --surface: #152A45;
    --surface-text: #fff;
    --cta-bg: #fff;
    --cta-text: #152A45;
    --cta-hover: #e8edf3;
    --decoration: #c6d2e0
}

.theme-2,
.theme-4,
.theme-6 {
    --surface: #576027;
    --surface-text: #fff;
    --cta-bg: #f7f7f0;
    --cta-text: #576027;
    --cta-hover: #f0f0db;
    --decoration: #d9daa1
}

.ny-topbar .topbar-inner {
    position: relative;
    z-index: 1;
    max-width: 1610px;
    width: 100%;
    padding: 8px var(--indent);
    min-height: 60px;
    gap: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0px !important;
}

.ny-topbar .holiday-label {
    order: 0;
    flex: none;
    max-width: 196px;
    padding: 5px 12px;
    border: 1px solid currentColor;
    border-radius: 100px;
    font-size: 12px;
    line-height: 16px;
    color: var(--surface-text);
    white-space: nowrap
}

.ny-topbar .topbar-title {
    order: 2;
    min-width: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 20px;
    flex: 1;
    color: var(--surface-text)
}

.ny-topbar .action {
    order: 3;
    flex: none;
    min-height: 36px;
    padding: 8px 18px;
    line-height: 20px;
    background: var(--cta-bg);
    color: var(--cta-text);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    border-radius: 5px
}

.ny-topbar .action:hover {
    filter: none;
    background: var(--cta-hover)
}

.ny-topbar .close {
    order: 4;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 50%;
    border: 1px solid currentColor;
    color: var(--surface-text);
    background: transparent
}

.ny-topbar .close img {
    width: 12px;
    height: 12px;
    filter: brightness(0) invert(1)
}

.ny-topbar .close:hover {
    background: #80808020
}

.ny-topbar :is(a, button):focus-visible {
    outline: 2px solid var(--surface-text);
    outline-offset: 3px
}

.festive-media {
    order: 1;
    display: block;
    flex: none;
    width: 96px;
    height: 60px;
    margin-block: -8px;
    object-fit: contain;
    pointer-events: none
}

.theme-3 .festive-media {
    width: 112px
}

.theme-4 .festive-media {
    order: 3;
    width: 96px;
    height: 64px;
    margin-block: -10px
}

.festive-year {
    order: 1;
    flex: none;
    width: 88px;
    padding: 4px 0 4px 5px;
    text-align: center;
    border-block: 0;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: .28em;
    color: #fff;
    opacity: .62;
    font-weight: 500
}

.holiday-decoration {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden
}

.edge-photo {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    width: min(3.2vw, 100px);
    object-fit: cover
}

.edge-photo.left {
    left: 0;
    object-position: left center
}

.edge-photo.right {
    right: 0;
    object-position: right center
}

.theme-6 .ribbon {
    display: none
}

@media(max-width:1199px) {
    .ny-topbar .topbar-inner {
        gap: 16px
    }
    .ny-topbar .topbar-title {
        font-size: 14px;
        line-height: 19px
    }
    .ny-topbar .holiday-label {
        font-size: 11px;
        padding: 5px 9px
    }
    .ny-topbar .action {
        font-size: 13px;
        padding: 8px 13px
    }
}

@media(max-width:1024px) {
     :root {
        --indent: 30px
    }
    .ny-topbar .holiday-label {
        display: none
    }
}

@media(max-width:600px) {
    .ny-topbar {
        min-height: 0
    }
    .ny-topbar .topbar-inner {
        display: block;
        min-height: 0;
        padding: 8px var(--indent) 10px;
        line-height: 18px
    }
    .ny-topbar .topbar-inner:after {
        content: '';
        display: block;
        clear: both
    }
    .ny-topbar .close {
        position: static;
        display: grid;
        float: right;
        width: 32px;
        height: 32px;
        margin: 0 0 3px 12px
    }
    .ny-topbar .topbar-title {
        display: inline;
        font-size: 14px;
        line-height: 18px;
        min-width: 0
    }
    .ny-topbar .action {
        display: inline;
        min-height: 0;
        margin-left: 8px;
        padding: 3px 0;
        background: none;
        color: var(--surface-text);
        font-size: 13px;
        font-weight: 700;
        line-height: 24px;
        text-decoration: underline;
        text-underline-offset: 3px;
        white-space: normal;
        border-radius: 0
    }
    .ny-topbar .action:after {
        content: ' ↗';
        white-space: nowrap
    }
    .ny-topbar .action:hover {
        filter: none;
        background: none;
        text-decoration-thickness: 2px
    }
    .ny-topbar .festive-media,
    .ny-topbar .festive-year {
        display: none
    }
    .edge-photo {
        width: 12px;
        opacity: .7
    }
    .theme-6 .holiday-decoration:before {
        display: none
    }
}

@media(max-width:576px) {
     :root {
        --indent: 5.20833vw
    }
}


/* Explicit user text enlargement in the existing copy column. */

@media(min-width:1200px) {
    .theme-1 .topbar-title,
    .theme-2 .topbar-title,
    .theme-3 .topbar-title,
    .theme-4 .topbar-title {
        font-size: 18px;
        line-height: 22px
    }
}

.theme-5 .festive-media {
    order: 3;
    width: 96px
}

.theme-6 .festive-media {
    width: 104px
}

@media(max-width:1024px) {
    .theme-5 .festive-year {
        display: none
    }
}

@media(max-width:1024px) {
    .theme-5 .festive-media,
    .theme-6 .festive-media {
        width: 64px
    }
}


/* User-approved plain close and reordered foliage. */

.ny-topbar .close {
    border: 0;
    border-radius: 0;
    background: none
}

.ny-topbar .close:hover {
    background: none
}

.ny-topbar .close img {
    width: 14px;
    height: 14px
}

.theme-3 .festive-media {
    order: 3
}

.wide-art {
    order: 1;
    position: relative;
    display: block;
    flex: none;
    width: clamp(220px, 18vw, 320px);
    height: 60px;
    margin-block: -8px;
    overflow: hidden;
    pointer-events: none
}

.wide-art img {
    position: absolute;
    left: 0;
    top: 50%;
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    transform: translateY(-50%)
}

.theme-4 .wide-art {
    order: 3
}

@media(max-width:1024px) {
    .wide-art {
        display: none
    }
}


/* r6: text before art, quieter edges and full-width mobile buttons. */

.ny-topbar {
    --cta-bg: #fff
}

.theme-2 .wide-art,
.theme-5 .wide-art,
.theme-6 .wide-art {
    order: 3
}

.theme-4 .wide-art,
.theme-5 .wide-art,
.theme-6 .wide-art {
    margin-left: -12px;
    margin-right: 12px;
    mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 10px), transparent)
}

.portrait-art {
    order: 3;
    position: relative;
    display: block;
    flex: none;
    width: 112px;
    height: 60px;
    margin-block: -8px;
    overflow: hidden;
    pointer-events: none;
    mask-image: linear-gradient(90deg, transparent, #000 8px, #000 calc(100% - 8px), transparent)
}

.portrait-art img {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: auto;
    max-width: none;
    transform: translateY(-50%)
}

@media(min-width:1200px) {
    .ny-topbar .topbar-title {
        font-size: 18px;
        line-height: 22px
    }
}

@media(max-width:1199px) {
    .theme-2 .wide-art {
        display: none
    }
}

@media(max-width:600px) {
    .portrait-art {
        display: none
    }
    .ny-topbar .action {
        display: flex;
        justify-content: center;
        align-items: center;
        clear: both;
        width: 100%;
        min-height: 32px;
        margin: 6px 0 0;
        padding: 7px 12px;
        background: #fff;
        color: var(--surface);
        font-size: 13px;
        line-height: 18px;
        text-decoration: none;
        border-radius: 5px
    }
    .ny-topbar .action:after {
        content: none
    }
    .ny-topbar .action:hover {
        background: var(--cta-hover);
        text-decoration: none
    }
}


/* r7: smaller complete single-line desktop copy5/6; olive winter scene2. */

@media(min-width:1200px) {
    .theme-5 .topbar-title,
    .theme-6 .topbar-title {
        font-size: 14px;
        line-height: 20px
    }
}

@media(min-width:1200px) and (max-width:1439px) {
    .theme-5 .wide-art,
    .theme-6 .wide-art {
        display: none
    }
}

.theme-2 .wide-art {
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent), linear-gradient(0deg, transparent, #000 10px, #000 calc(100% - 8px), transparent);
    mask-composite: intersect
}

.theme-2 .wide-image {
    transform: translateY(-55%)
}


/* r8: user-selected desktop type sizes, preserving complete single-line copy. */

@media(min-width:1200px) {
    .theme-5 .topbar-title {
        font-size: 16px;
        line-height: 20px
    }
    .theme-6 .topbar-title {
        font-size: 15px;
        line-height: 20px
    }
    .theme-5 .wide-art,
    .theme-6 .wide-art {
        width: clamp(220px, calc(18vw - 40px), 280px)
    }
}

@media(min-width:601px) and (max-width:1024px) {
    .theme-1 .topbar-title,
    .theme-2 .topbar-title,
    .theme-4 .topbar-title,
    .theme-6 .topbar-title {
        white-space: pre-line
    }
}

.theme-1 .edge-photo.right {
    right: 2px;
    width: calc(var(--indent) - 4px);
    object-fit: contain;
    object-position: center
}

@media(max-width:600px) {
    .theme-1 .holiday-decoration {
        display: none
    }
}


/* Current desktop copy sizing */

@media(min-width:1200px) {
    .theme-5 .topbar-title {
        font-size: clamp(16px, calc(.833333vw + 6px), 18px);
        line-height: 22px;
        margin: 0px;
    }
    .theme-6 .topbar-title {
        font-size: clamp(15px, 1.25vw, 18px);
        line-height: 22px
    }
}

section#component.ny-topbar {
    width: 100%;
    min-width: 100%;
    position: absolute;
    left: 0;
    top: 100%;
}

p#topbar-title {
    margin: 0px;
    width: fit-content;
    max-width: fit-content;
    display: flex;
    justify-content: center;
}

.ny-topbar .close {
    top: 50%;
    transform: translateY(-50%);
}

.ny-topbar .close {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.ny-topbar .action:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    transform: translateX(-50%);
}

.ny-topbar .close:hover {
    opacity: 0.25;
}

section#component {
    padding: 0px !important;
    height: fit-content;
}

@media (min-width: 600px) {
    p#topbar-title {
        max-width: fit-content !important;
    }
}

@media (max-width: 1199px) {
    .ny-topbar .topbar-inner {
        padding-right: 60px !important;
    }
    .ny-topbar .close {
        right: 10px !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    section#component.ny-topbar {
        display: flex;
        min-height: fit-content;
    }
}

@media (max-width: 601px) {
    section#component.ny-topbar {
        display: flex;
        min-height: fit-content;
    }
    .ny-topbar .topbar-inner {
        padding: 8px 15px 10px !important;
    }
    .ny-topbar .close {
        transform: none !important;
        right: unset !important;
    }
    .ny-topbar .close {
        z-index: 9;
        position: relative;
    }
    .ny-topbar .action:before {
        z-index: 1;
    }
}


/*  */

html.top-bar-show:not(.is-scrolled-header) section#component.ny-topbar {
    position: absolute !important;
    order: 1;
    top: -60px;
    left: 0;
    display: flex;
}

html.top-bar-show:not(.is-scrolled-header) header {
    margin-top: 60px;
}

html.top-bar-show nav.ui-breadcrumbs {
    padding-top: 65px;
}

html.top-bar-show body {
    padding-top: 60px;
}

@media (max-width: 992px) {
    html.top-bar-show nav.ui-breadcrumbs {
        padding-top: 0px;
    }

    /* html.top-bar-show nav.ui-breadcrumbs {
        padding-top: 78px;
    } */
    html.top-bar-show body {
        padding-top: 73px;
    }
    html.top-bar-show:not(.is-scrolled-header) section#component.ny-topbar {
        top: -73px;
    }
    html.top-bar-show:not(.is-scrolled-header) header {
        margin-top: 73px;
    }
    .ny-topbar .topbar-inner {
        min-height: 73px;
    }
}

@media (max-width: 600px) {
    .section:first-of-type>.section__wrapper, .section:first-of-type .section__wrapper--head {
        padding-top: 80px !important;
    }
    /* html.top-bar-show nav.ui-breadcrumbs {
        padding-top: 97px;
    } */
    html.top-bar-show body {
        padding-top: 92px;
    }
    html.top-bar-show:not(.is-scrolled-header) section#component.ny-topbar {
        top: -92px;
    }
    html.top-bar-show:not(.is-scrolled-header) header {
        margin-top: 92px;
    }
    .ny-topbar .topbar-inner {
        min-height: 92px;
    }
    p#topbar-title {
        padding-right: 28px;
    }
    .ny-topbar .close {
        z-index: 9;
        position: absolute;
        right: 10px !important;
        top: 10px;
    }
}

@media (max-width: 515px) {
    /* html.top-bar-show nav.ui-breadcrumbs {
        padding-top: 115px;
    }
    html.top-bar-show body {
        padding-top: 110px;
    }
    html.top-bar-show:not(.is-scrolled-header) section#component.ny-topbar {
        top: -110px;
    }
    html.top-bar-show:not(.is-scrolled-header) header {
        margin-top: 110px;
    }
    .ny-topbar .topbar-inner {
        min-height: 110px;
    }  */
    .ny-topbar .topbar-inner {
        padding: 8px !important;
    }
    p#topbar-title {
        font-size: 12px;
        padding-right: 16px;
    }
    .ny-topbar .close {
        margin: 0px !important;
        right: 2px !important;
        top: 2px;
    }
}

@media (max-width: 334.98px) {
    /* html.top-bar-show nav.ui-breadcrumbs {
        padding-top: 133px;
    }
    html.top-bar-show body {
        padding-top: 128px;
    }
    html.top-bar-show:not(.is-scrolled-header) section#component.ny-topbar {
        top: -128px;
    }
    html.top-bar-show:not(.is-scrolled-header) header {
        margin-top: 128px;
    }
    .ny-topbar .topbar-inner {
        min-height: 128px;
    } */
    html.top-bar-show nav.ui-breadcrumbs {
        padding-top: 115px;
    }
    html.top-bar-show body {
        padding-top: 110px;
    }
    html.top-bar-show:not(.is-scrolled-header) section#component.ny-topbar {
        top: -110px;
    }
    html.top-bar-show:not(.is-scrolled-header) header {
        margin-top: 110px;
    }
    .ny-topbar .topbar-inner {
        min-height: 110px;
    }
}

html.top-bar-show.navActive section#component.ny-topbar {
    display: none !important;
}

html.top-bar-show.navActive header.c-header {
    margin-top: 0px !important;
}
@media (max-width: 768px) {
    
html.top-bar-show:not(.is-scrolled-header) section#component.ny-topbar {
    opacity: 0;
    top: -150px;
}

html.top-bar-show body {
    padding-top: 0px;
}

html.top-bar-show:not(.is-scrolled-header) header {
    margin-top: 0px;
}
}