/* North 37th News v0.1.1 */
.n37-news-page{
    background:#fff;
    color:#10253a;
}

.n37-news-wrap{
    width:min(100% - 48px,1180px);
    margin:0 auto;
}

.n37-news-hero{
    background:#071d31;
    color:#fff;
}

.n37-news-hero-media picture,
.n37-news-hero-media img{
    display:block;
    width:100%;
    height:auto;
}

.n37-news-heading{
    padding:48px 0 42px;
}

.n37-news-kicker{
    margin:0 0 14px;
    color:#f5c843;
    font-size:13px;
    line-height:1.2;
    letter-spacing:.18em;
    text-transform:uppercase;
    font-weight:800;
}

.n37-news-title{
    margin:0;
    color:#fff;
    font-size:clamp(40px,6vw,76px);
    line-height:1;
    font-weight:700;
    letter-spacing:-.03em;
    max-width:980px;
}

.n37-news-meta{
    margin-top:18px;
    color:rgba(255,255,255,.72);
    font-size:15px;
}

.n37-news-article{
    background:#fff;
    padding:76px 0 86px;
}

.n37-news-content{
    width:min(100%,800px);
    margin:0 auto;
    background:transparent !important;
    color:#15283a;
    font-size:19px;
    line-height:1.82;
    padding:0 !important;
    border:0 !important;
    box-shadow:none !important;
}

.n37-news-content > *:first-child{
    margin-top:0;
}

.n37-news-content p{
    margin:0 0 1.45em;
}

.n37-news-content h2,
.n37-news-content h3{
    color:#10253a;
    line-height:1.16;
    margin:1.9em 0 .7em;
}

.n37-news-content blockquote{
    margin:2em 0;
    padding:24px 28px;
    border-left:5px solid #f5c843;
    background:#f7f8fa;
    font-size:1.08em;
}

.n37-news-source{
    width:min(100%,800px);
    margin:44px auto 0;
    padding-top:24px;
    border-top:1px solid #d9dee4;
    font-size:14px;
    color:#6d7783;
}

.n37-news-source a{
    color:#10253a;
    font-weight:700;
}

@media(max-width:700px){
    .n37-news-wrap{
        width:min(100% - 44px,1180px);
    }

    .n37-news-heading{
        padding:34px 0 30px;
    }

    .n37-news-title{
        font-size:clamp(38px,11vw,58px);
        line-height:1.02;
    }

    .n37-news-article{
        padding:44px 0 58px;
    }

    .n37-news-content{
        width:100%;
        font-size:18px;
        line-height:1.76;
    }

    .n37-news-content p{
        margin-bottom:1.35em;
    }

    .n37-news-source{
        width:100%;
        margin-top:34px;
    }
}


/* Global promotional banners */
.n37-global-banner{
    background:#fff;
    width:100%;
    margin:0;
    padding:0;
    overflow:hidden;
}

.n37-global-banner picture,
.n37-global-banner img{
    display:block;
    width:100%;
    height:auto;
}

.n37-global-banner-top{
    border-bottom:0;
}

.n37-global-banner-bottom{
    margin-top:0;
}

@media(max-width:700px){
    .n37-global-banner picture,
    .n37-global-banner img{
        width:100%;
        height:auto;
    }
}


/* North 37th News custom footer */
.single-n37_news .site-footer{
    display:none;
}

.n37-news-footer{
    background:#050505;
    color:#fff;
    padding:58px 0 34px;
}

.n37-news-footer-inner{
    width:min(100% - 48px,1180px);
    margin:0 auto;
}

.n37-news-footer-brand h2{
    margin:0 0 10px;
    font-size:clamp(30px,4vw,46px);
    line-height:1.05;
    color:#fff;
}

.n37-news-footer-brand p{
    margin:0;
    color:#b9bec6;
    font-size:18px;
}

.n37-news-footer-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:42px;
    margin-top:44px;
}

.n37-news-footer-section h3{
    margin:0 0 16px;
    color:#f5c843;
    text-transform:uppercase;
    letter-spacing:.14em;
    font-size:14px;
}

.n37-news-footer-section p{
    margin:0 0 10px;
    color:#d9dce1;
    font-size:16px;
    line-height:1.55;
}

.n37-news-footer-section a{
    color:#fff;
    text-decoration:none;
}

.n37-news-footer-section a:hover{
    text-decoration:underline;
}

.n37-news-footer-bottom{
    border-top:1px solid #2a2a2a;
    margin-top:40px;
    padding-top:24px;
    color:#8f96a0;
    font-size:14px;
}

.n37-news-footer-bottom p{
    margin:0 0 8px;
}

@media(max-width:700px){
    .n37-news-footer{
        padding:42px 0 28px;
    }

    .n37-news-footer-inner{
        width:min(100% - 44px,1180px);
    }

    .n37-news-footer-grid{
        grid-template-columns:1fr;
        gap:28px;
        margin-top:34px;
    }

    .n37-news-footer-brand p{
        font-size:17px;
    }
}


/* V0.1.5 banner sizing refinement */
.n37-global-banner{
    width:100%;
    overflow:hidden;
}

.n37-global-banner picture{
    display:block;
    width:100%;
}

.n37-global-banner img{
    display:block;
    width:100%;
    height:auto;
    object-fit:cover;
}

@media(min-width:701px){
    .n37-global-banner img{
        aspect-ratio:8 / 1;
        object-fit:cover;
    }
}

@media(max-width:700px){
    .n37-global-banner{
        height:150px;
    }

    .n37-global-banner picture,
    .n37-global-banner img{
        width:100%;
        height:150px;
    }

    .n37-global-banner img{
        object-fit:cover;
        object-position:center;
    }
}


/* V0.1.7: global banners must never crop */
.n37-global-banner{
    width:100%;
    height:auto !important;
    overflow:visible !important;
    background:#fff;
}

.n37-global-banner picture{
    display:block;
    width:100%;
    height:auto !important;
}

.n37-global-banner img{
    display:block;
    width:100%;
    max-width:100%;
    height:auto !important;
    aspect-ratio:auto !important;
    object-fit:contain !important;
    object-position:center !important;
}

@media(min-width:701px){
    .n37-global-banner,
    .n37-global-banner picture,
    .n37-global-banner img{
        height:auto !important;
        aspect-ratio:auto !important;
    }
}

@media(max-width:700px){
    .n37-global-banner,
    .n37-global-banner picture,
    .n37-global-banner img{
        height:auto !important;
        aspect-ratio:auto !important;
        object-fit:contain !important;
    }
}

/* V0.1.9 Resources & Insights hub + category system */
.n37-resources-hub,
.n37-tax-page{
    background:#f6f7f9;
    color:#10253a;
}

.n37-resources-inner{
    width:min(100% - 48px,1180px);
    margin:0 auto;
}

.n37-resources-hero{
    background:#071d31;
    color:#fff;
    padding:72px 0 58px;
}

.n37-resources-kicker{
    margin:0 0 12px;
    color:#f5c843;
    font-size:13px;
    font-weight:800;
    letter-spacing:.18em;
    text-transform:uppercase;
}

.n37-resources-kicker a{
    color:#f5c843;
    text-decoration:none;
}

.n37-resources-hero h1{
    margin:0;
    color:#fff;
    font-size:clamp(42px,6vw,72px);
    line-height:1;
    letter-spacing:-.03em;
}

.n37-resources-intro{
    max-width:780px;
    margin:20px 0 0;
    color:rgba(255,255,255,.78);
    font-size:20px;
    line-height:1.6;
}

.n37-resource-chips{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:30px;
}

.n37-resource-chips a{
    display:inline-flex;
    align-items:center;
    min-height:40px;
    padding:9px 15px;
    border:1px solid rgba(255,255,255,.28);
    border-radius:999px;
    color:#fff;
    text-decoration:none;
    font-size:14px;
    font-weight:700;
}

.n37-resource-chips a:hover{
    background:#f5c843;
    border-color:#f5c843;
    color:#071d31;
}

.n37-resources-section{
    padding:58px 0 18px;
}

.n37-resources-category-section{
    padding-top:42px;
}

.n37-resources-section:last-child{
    padding-bottom:78px;
}

.n37-resources-section-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:20px;
    margin-bottom:24px;
}

.n37-resources-section-head span{
    display:block;
    margin-bottom:4px;
    color:#7b8792;
    font-size:12px;
    font-weight:800;
    letter-spacing:.16em;
    text-transform:uppercase;
}

.n37-resources-section-head h2{
    margin:0;
    color:#10253a;
    font-size:clamp(28px,4vw,42px);
    line-height:1.08;
}

.n37-resource-viewall{
    color:#10253a;
    font-weight:800;
    text-decoration:none;
    white-space:nowrap;
}

.n37-resource-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px;
}

.n37-resource-card{
    margin:0;
    background:#fff;
    border:1px solid #e1e5ea;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 8px 24px rgba(7,29,49,.06);
}

.n37-resource-card-link{
    display:flex;
    flex-direction:column;
    height:100%;
    color:inherit;
    text-decoration:none;
}

.n37-resource-card-media{
    aspect-ratio:16 / 9;
    overflow:hidden;
    background:#071d31;
}

.n37-resource-card-media img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .25s ease;
}

.n37-resource-card-link:hover .n37-resource-card-media img{
    transform:scale(1.025);
}

.n37-resource-card-body{
    display:flex;
    flex-direction:column;
    flex:1;
    padding:22px;
}

.n37-resource-card-cat{
    color:#c88400;
    font-size:11px;
    font-weight:900;
    letter-spacing:.14em;
    text-transform:uppercase;
}

.n37-resource-card h3{
    margin:8px 0 10px;
    color:#10253a;
    font-size:24px;
    line-height:1.13;
}

.n37-resource-card p{
    margin:0 0 18px;
    color:#66727d;
    font-size:15px;
    line-height:1.6;
}

.n37-resource-card-meta{
    margin-top:auto;
    color:#7b8792;
    font-size:12px;
    font-weight:700;
}

.n37-tax-back{
    margin:24px 0 0;
}

.n37-tax-back a{
    color:#fff;
    font-weight:700;
    text-decoration:none;
}

.tax-n37_news_category .site-footer,
.post-type-archive-n37_news .site-footer{
    display:none;
}

.tax-n37_news_category .n37-news-footer,
.post-type-archive-n37_news .n37-news-footer{
    display:block;
}

.n37-tax-page .navigation.pagination{
    margin:36px 0 48px;
}

.n37-tax-page .nav-links{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

.n37-tax-page .page-numbers{
    display:inline-flex;
    min-width:40px;
    min-height:40px;
    align-items:center;
    justify-content:center;
    padding:8px 12px;
    border-radius:8px;
    background:#fff;
    color:#10253a;
    text-decoration:none;
    border:1px solid #dfe4e9;
}

.n37-tax-page .page-numbers.current{
    background:#071d31;
    border-color:#071d31;
    color:#fff;
}

@media(max-width:900px){
    .n37-resource-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:700px){
    .n37-resources-inner{
        width:min(100% - 36px,1180px);
    }

    .n37-resources-hero{
        padding:48px 0 40px;
    }

    .n37-resources-intro{
        font-size:18px;
    }

    .n37-resources-section{
        padding-top:40px;
    }

    .n37-resources-section-head{
        align-items:flex-start;
    }

    .n37-resource-grid{
        grid-template-columns:1fr;
        gap:18px;
    }

    .n37-resource-card h3{
        font-size:22px;
    }
}
