body.ny-2027 .ny-2027-band {
    height: clamp(35px, 4.5vw, 48px);
    background: #f2f9fe url('../images/ny-2027/spruce.webp') center top / max(100%, 760px) 100% no-repeat;
}

@media (min-width: 1441px) {
    body.ny-2027 .ny-2027-band {
        background-size: 900px 100%;
        background-repeat: repeat-x;
    }
}

body.ny-2027 .ny-2027-garland {
    position: relative;
    height: 100%;
    pointer-events: none;
    background-image: radial-gradient(ellipse 61px 33px at 60px -11px, transparent 96%, #243624d9 97% 99%, transparent 100%);
}

body.ny-2027 .ny-2027-garland,
body.ny-2027 .ny-2027-garland::before,
body.ny-2027 .ny-2027-garland::after {
    background-position: center top;
    background-repeat: repeat-x;
    background-size: 120px 35px;
}

body.ny-2027 .ny-2027-garland::before,
body.ny-2027 .ny-2027-garland::after {
    content: '';
    position: absolute;
    inset: 0;
}

body.ny-2027 .ny-2027-garland::before {
    background-image:
        radial-gradient(circle at 14px 11px, #fff8df 0 1.6px, #f8b451 2.5px, #ec931958 4px, transparent 7px),
        radial-gradient(circle at 60px 23px, #fff8df 0 1.6px, #f8b451 2.5px, #ec931958 4px, transparent 7px),
        radial-gradient(circle at 106px 11px, #fff8df 0 1.6px, #f8b451 2.5px, #ec931958 4px, transparent 7px);
}

body.ny-2027 .ny-2027-garland::after {
    background-image:
        radial-gradient(circle at 36px 20px, #fffdf2 0 1.6px, #ffe2a1 2.5px, #ffcc5e66 4px, transparent 7px),
        radial-gradient(circle at 84px 20px, #fffdf2 0 1.6px, #ffe2a1 2.5px, #ffcc5e66 4px, transparent 7px);
}

@media (prefers-reduced-motion: no-preference) {
    body.ny-2027 .ny-2027-garland::before { animation: ny-2027-glow 2.4s ease-in-out 2; }
    body.ny-2027 .ny-2027-garland::after { animation: ny-2027-glow 2.4s ease-in-out -1.2s 2; }
}

@keyframes ny-2027-glow {
    0%, 15%, 100% { opacity: 1; }
    46%, 60% { opacity: .27; }
}

body.ny-2027 .wrapper > .header {
    position: relative;
    isolation: isolate;
    background: radial-gradient(ellipse at 52% 80%, #dceffb, transparent 54%), linear-gradient(#f2f9fe, #fbfdff);
}

body.ny-2027 .ny-2027-flurries {
    position: absolute;
    inset: 0;
    max-width: 1170px;
    margin: 0 auto;
    z-index: -1;
    pointer-events: none;
    color: #6fadd4;
    font-family: 'Segoe UI Symbol', 'DejaVu Sans', sans-serif;
}

body.ny-2027 .ny-2027-flurries span { position: absolute; line-height: 1; }
body.ny-2027 .ny-2027-flurries span:nth-child(1) { left: 45%; top: 57%; font-size: 43px; opacity: .55; transform: rotate(-16deg); }
body.ny-2027 .ny-2027-flurries span:nth-child(2) { left: 54%; top: 44%; font-size: 24px; opacity: .63; transform: rotate(18deg); }
body.ny-2027 .ny-2027-flurries span:nth-child(3) { left: 57%; top: 76%; font-size: 18px; opacity: .65; }
body.ny-2027 .ny-2027-flurries span:nth-child(4) { left: 51%; top: 81%; font-size: 12px; color: #97621a; }
body.ny-2027 .ny-2027-flurries span:nth-child(5) { left: 59%; top: 60%; font-size: 12px; color: #97621a; }

body.ny-2027 .header .logo img {
    border-radius: 50%;
    background: radial-gradient(circle, #fff 43%, #e2f2fc 72%, transparent 75%);
    box-shadow: 0 0 0 3px #d9ecfa;
}

body.ny-2027 .navigation .line {
    background-color: #f0f8fd;
    box-shadow: inset 0 1px #c2e0f4;
}

body.ny-2027 .ny-2027-news-flake {
    display: inline-block;
    margin: 0 .55em;
    color: #357dab;
    font: .78em/1 'Segoe UI Symbol', 'DejaVu Sans', sans-serif;
}

body.ny-2027 #content.mpage .news-list .news_img {
    /* The site's .main_news rule centers a 304px image, capped by its column width. */
    --ny-2027-photo-width: 304px;
    --ny-2027-photo-inset: max(0px, calc((100% - var(--ny-2027-photo-width)) / 2));
    position: relative;
}

body.ny-2027 #content.mpage .news-list .main_news {
    outline: 2px solid #bfe7ff;
    outline-offset: -2px;
}

body.ny-2027 #content.mpage .news-list .main_news:not(:hover) {
    box-shadow: 0 0 0 1px #77aacc, 0 2px 11px #286e9347;
}

body.ny-2027 #content.mpage .news-list .news_img::before,
body.ny-2027 #content.mpage .news-list .news_img::after {
    position: absolute;
    content: '';
    pointer-events: none;
    background: url('../images/ny-2027/frost.webp') center / 100% 100% no-repeat;
    filter: contrast(1.16) brightness(1.18) drop-shadow(0 1px 1px #215985e6) drop-shadow(0 0 3px #8cd8ffb3);
}

body.ny-2027 #content.mpage .news-list .news_img::before {
    inset: 0 auto auto var(--ny-2027-photo-inset);
    width: min(48%, 142px);
    aspect-ratio: 1.55;
    border-bottom-right-radius: 7px;
    transform: rotate(180deg);
}

body.ny-2027 #content.mpage .news-list .news_img::after {
    inset: auto var(--ny-2027-photo-inset) 0 auto;
    width: min(40%, 116px);
    aspect-ratio: 1.3;
    border-bottom-right-radius: 7px;
}

@media (max-width: 767px) {
    body.ny-2027 .ny-2027-flurries span:first-child {
        left: auto;
        right: 15px;
        top: 27%;
        font-size: 29px;
        opacity: .4;
    }

    body.ny-2027 .ny-2027-flurries span:nth-child(n + 2) { display: none; }
}

@media print {
    body.ny-2027 .ny-2027-band,
    body.ny-2027 .ny-2027-flurries,
    body.ny-2027 .ny-2027-news-flake,
    body.ny-2027 #content.mpage .news-list .news_img::before,
    body.ny-2027 #content.mpage .news-list .news_img::after { display: none; }
}
