/* Retain Nhadep6D's native typography, spacing, facts, story and gallery classes. */
.n6d7-page .n6d7-full-image{height:auto!important;aspect-ratio:auto!important;max-height:none!important;overflow:visible!important}
.n6d7-page .n6d7-full-image img{display:block;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;position:static!important}
.n6d7-content .n6d-project-gallery__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.n6d7-content .n6d-project-gallery__item{margin:0;min-width:0;height:auto!important;overflow:visible!important}
.n6d7-content .n6d-project-gallery__open{display:block;height:auto!important;aspect-ratio:auto!important;overflow:visible!important}
.n6d7-content .n6d-project-gallery__item img{display:block;position:static!important;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;transform:none!important}
.n6d7-content .n6d-project-gallery__item figcaption{position:static!important;padding:16px 0;color:inherit;background:none;font-family:inherit}
.n6d7-content .n6d-project-gallery__item figcaption p{font-size:14px;line-height:1.65;margin:8px 0 0}
@media(max-width:620px){.n6d7-content .n6d-project-gallery__grid{grid-template-columns:minmax(0,1fr)}.n6d7-content .n6d-project-facts dl{grid-template-columns:1fr!important}}
/* Project components scoped to the seven imported articles. */
.n6d7-page{color:#2b2f29;background:#faf8f3;font-family:"N6D Inter",Arial,sans-serif}
.n6d7-page h1,.n6d7-page h2,.n6d7-page h3{font-family:"N6D Playfair",Georgia,"Times New Roman",serif;color:#151713}
.n6d7-page .n6d-article{width:min(820px,calc(100% - 48px));margin:0 auto;padding:clamp(56px,9vw,124px) 0}
.n6d7-content .n6d-case-study-badge{display:grid;grid-template-columns:220px 1fr;gap:30px;padding:24px 28px;margin:0 0 60px;border:1px solid #d8d0c3;background:#f7f3eb}
.n6d7-content .n6d-case-study-badge p{margin:0}
.n6d7-content .n6d-project-lead{font-size:clamp(19px,2vw,24px);line-height:1.7}
.n6d7-content .n6d-project-facts dl{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border:1px solid #d8d0c3;margin:36px 0 60px}
.n6d7-content .n6d-project-facts dl>div{padding:20px 14px;border-right:1px solid #d8d0c3}
.n6d7-content .n6d-project-facts dt{font-size:12px;color:#746c5e;text-transform:uppercase;margin-bottom:10px}
.n6d7-content .n6d-project-facts dd{margin:0;font-size:16px;line-height:1.5}
.n6d7-content .n6d-project-story{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:clamp(50px,8vw,110px) 0;border:1px solid #d8d0c3}
.n6d7-content .n6d-project-story section{padding:clamp(24px,3.5vw,46px);border:1px solid #d8d0c3}
.n6d7-content .n6d-project-story h2{font-size:clamp(26px,2.5vw,34px);line-height:1.25}
.n6d7-content .n6d-project-kicker{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#96804f}
.n6d7-content p,.n6d7-content li{line-height:1.8}
.n6d7-content .n6d-project-gallery{width:min(1280px,calc(100vw - 48px));max-width:none;margin-left:50%;transform:translateX(-50%);margin-top:60px;margin-bottom:60px}
.n6d7-content .n6d-project-cta{margin:50px 0;padding:30px;background:#f7f3eb;border:1px solid #d8d0c3}
.n6d7-content .n6d-project-cta a{display:inline-block;padding:12px 22px;background:#151713;color:#fff;text-decoration:none}
@media(max-width:700px){.n6d7-content .n6d-case-study-badge,.n6d7-content .n6d-project-story{grid-template-columns:1fr}.n6d7-content .n6d-project-facts dl{grid-template-columns:repeat(2,minmax(0,1fr))}.n6d7-content .n6d-project-facts dl>div{border-bottom:1px solid #d8d0c3}.n6d7-content .n6d-project-gallery{width:100%;transform:none;margin-left:0}.n6d7-page .n6d-article{width:calc(100% - 32px)}}

/* 1.0.2: override legacy project rules only inside this collection. */
#main-content.n6d7-page .n6d7-content .n6d-project-gallery {
    width:min(1280px,calc(100vw - 48px))!important;
    margin-top:40px!important;margin-bottom:40px!important;
    padding:0!important;
}
#main-content.n6d7-page .n6d7-content .n6d-project-gallery__grid {
    gap:28px 24px!important;align-items:start!important;
}
#main-content.n6d7-page .n6d7-content .n6d-project-gallery__item,
#main-content.n6d7-page .n6d7-content .n6d-project-gallery__open {
    display:block!important;height:auto!important;min-height:0!important;
    max-height:none!important;aspect-ratio:auto!important;
    margin:0!important;padding:0!important;overflow:visible!important;
}
#main-content.n6d7-page .n6d7-content .n6d-project-gallery__open {
    line-height:0!important;background:transparent!important;
}
#main-content.n6d7-page .n6d7-full-image img,
#main-content.n6d7-page .n6d7-content .n6d-project-gallery__item img {
    display:block!important;width:100%!important;height:auto!important;
    min-height:0!important;max-height:none!important;
    aspect-ratio:var(--n6d7-image-ratio,auto)!important;
    contain:none!important;contain-intrinsic-size:none!important;
    margin:0!important;padding:0!important;position:static!important;
    object-fit:contain!important;transform:none!important;
}
#main-content.n6d7-page .n6d7-content .n6d-project-gallery__item figcaption {
    display:block!important;position:static!important;
    padding:12px 0 0!important;margin:0!important;
    text-transform:none!important;letter-spacing:normal!important;
    background:transparent!important;font-size:15px!important;line-height:1.65!important;
}
#main-content.n6d7-page .n6d7-content .n6d-project-gallery__item figcaption strong {
    display:block!important;font-size:16px!important;line-height:1.5!important;
    text-transform:none!important;letter-spacing:normal!important;
}
#main-content.n6d7-page .n6d7-content .n6d-project-gallery__item figcaption p {
    margin:6px 0 0!important;padding:0!important;font-size:14px!important;
    text-transform:none!important;letter-spacing:normal!important;line-height:1.65!important;
}
#main-content.n6d7-page .n6d7-content .n6d-project-gallery__item figcaption p:empty,
#main-content.n6d7-page .n6d7-content .n6d-project-gallery__item figcaption::before {
    display:none!important;
}
@media(max-width:700px) {
    #main-content.n6d7-page .n6d7-content .n6d-project-gallery {width:100%!important}
}
