#jns-portfolio .jns-social-project .jp-thumb{display:block;aspect-ratio:16/9;overflow:hidden;position:relative;border-radius:15px;background:#18242a}#jns-portfolio .jns-social-project .jp-thumb img{display:block;width:100%;height:100%;object-fit:cover}#jns-portfolio .jns-project-detail-link{text-decoration:none;color:inherit}#jns-portfolio .jns-social-project h2{font-size:20px;line-height:1.25;min-height:2.5em;margin:12px 0 6px}#jns-portfolio .jns-social-project p{font-size:13px;line-height:1.5}.jns-project-no-image{display:grid;place-items:center;height:100%;color:white}
.jns-project-dialog{position:fixed!important;inset:0!important;margin:auto!important;width:min(960px,calc(100vw - 28px));max-width:calc(100vw - 28px);height:fit-content;max-height:calc(100dvh - 28px);padding:22px;background:#fff;color:#111;border:0;border-radius:16px;overflow:auto;box-sizing:border-box;font:400 14px/1.5 Inter,system-ui,sans-serif}.jns-project-dialog::backdrop{background:#000c}.jns-project-dialog[open]{display:block}.jns-project-dialog[data-ratio=vertical]{width:min(430px,calc(100vw - 28px))}.jns-project-dialog h2{font:650 18px/1.35 Inter,system-ui,sans-serif;margin:0 32px 18px 0}.jns-project-close{position:absolute;right:10px;top:8px;width:36px;height:36px;display:grid;place-items:center;border:0;background:#fff;border-radius:50%;color:#111;font:26px/1 system-ui;cursor:pointer;padding:0}.jns-project-player{width:100%;min-width:0}.jns-project-player>iframe,.jns-project-player>video{display:block;width:100%;height:auto;aspect-ratio:16/9;max-height:calc(100dvh - 190px);object-fit:contain;background:#000;border:0}.jns-project-dialog[data-ratio=vertical] .jns-project-player>iframe,.jns-project-dialog[data-ratio=vertical] .jns-project-player>video{aspect-ratio:9/16}.jns-project-dialog[data-platform=Instagram] .jns-project-player>iframe{aspect-ratio:auto;max-height:none;min-height:0;background:#fff}.jns-project-player .instagram-media{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;box-sizing:border-box!important}.jns-project-dialog .jns-project-fallback{margin:16px 0 6px}.jns-project-dialog .jns-project-fallback a{color:#684f2b;text-decoration:underline}.jns-project-help{font-size:12px;color:#666;margin:0}.jns-project-preferences{padding:10px 18px;border:1px solid #111;border-radius:99px;background:#111;color:#fff;cursor:pointer;white-space:normal;font:600 14px/1.5 Inter,system-ui,sans-serif}.jns-project-page{max-width:1080px;padding:35px 24px 60px;margin:auto;font:400 16px/1.6 Inter,system-ui,sans-serif}.jns-project-page h1{font-size:clamp(28px,4vw,48px);line-height:1.15}.jns-project-cover{display:block;position:relative;max-width:900px;aspect-ratio:16/9;background:#111;border-radius:16px;overflow:hidden;margin:25px 0}.jns-project-cover img{width:100%;height:100%;object-fit:cover}.jns-project-cover>span{position:absolute;bottom:24px;left:24px;background:#111d;color:#fff;padding:12px 20px;border-radius:99px}
@media(max-width:600px){.jns-project-dialog{padding:16px}.jns-project-dialog h2{font-size:16px}.jns-project-dialog .jns-project-player .instagram-media{min-width:0!important}#jns-portfolio .jns-social-project h2{min-height:0}}

.jns-project-dialog[data-platform=Instagram]{width:min(540px,calc(100vw - 28px))}

/* Provider-sized desktop Instagram stage: preserve the complete post without cropping. */
.jns-instagram-stage{position:relative;margin:auto;max-width:100%;min-height:160px}.jns-instagram-stage>iframe{max-width:none!important;min-width:0!important;box-sizing:border-box}
#jns-portfolio .jp-grid{scroll-margin-top:110px}
@media(max-width:780px){#jns-portfolio .jp-filters{display:flex;flex-wrap:wrap;gap:8px}#jns-portfolio .jp-filter{min-height:44px;padding:10px 14px;white-space:normal;font-size:13px;line-height:1.4}#jns-portfolio .jp-pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}#jns-portfolio .jp-pagination button{width:44px;min-width:44px;height:44px;min-height:44px}#jns-portfolio .jp-project h2{font-size:19px;line-height:1.3;overflow-wrap:anywhere}#jns-portfolio .jp-project p{line-height:1.55;overflow-wrap:anywhere}#jns-portfolio .jp-grid{scroll-margin-top:95px}}

/* A single thumbnail frame for legacy and future projects. */
#jns-portfolio .jp-project .jp-thumb{display:block;position:relative;aspect-ratio:16/9;height:auto;overflow:hidden;border-radius:15px;background:#18242a}
#jns-portfolio .jp-project .jp-thumb img{display:block;width:100%;height:100%;object-fit:cover}
