/* Original Webflow masonry classes provide the responsive column counts. */
.evermark-page .evermark-project-collection .portfolio-masonry-list{column-gap:15px}
.evermark-page .evermark-project-collection .portfolio-masonry-item{width:100%;break-inside:avoid;vertical-align:top;overflow:hidden}
.evermark-page .evermark-project-collection .portfolio-grid-image{display:block;width:100%;height:auto}
/* Hide an unused, unsized duplicate from the export; the social rail remains. */
.evermark-page img.image-45[src*="Logo-wechat.svg"]{display:none}
/* Place ordered projects across the top first, retaining their natural heights. */
.evermark-page .evermark-project-collection .evermark-masonry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1px;align-items:start;column-count:auto;column-gap:15px;row-gap:0}
@media(max-width:991px){.evermark-page .evermark-project-collection .evermark-masonry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:479px){.evermark-page .evermark-project-collection .evermark-masonry-grid{grid-template-columns:minmax(0,1fr)}}
.evermark-page .evermark-project-collection .portfolio-dark-overlay{z-index:1;opacity:0;background:rgba(0,0,0,.78);cursor:default;transition:opacity .25s ease;padding:24px}
.evermark-page .evermark-project-collection .portfolio-dark-overlay .white-text.without-spacing{font-size:28px;line-height:1.15;max-width:100%;overflow-wrap:break-word;word-break:normal}
.evermark-page .evermark-project-collection .portfolio-item-category{max-width:100%;margin-bottom:6px}
@media(max-width:991px){.evermark-page .evermark-project-collection .portfolio-dark-overlay{padding:clamp(10px,2vw,18px)}.evermark-page .evermark-project-collection .portfolio-dark-overlay .white-text.without-spacing{font-size:clamp(17px,2.5vw,22px);line-height:1.15}.evermark-page .evermark-project-collection .portfolio-item-category{font-size:clamp(10.5px,1.5vw,12px);line-height:1.35;letter-spacing:.2px}}
.evermark-page .evermark-project-collection .portfolio-masonry-item:hover .portfolio-dark-overlay{opacity:1}
.evermark-page .evermark-project-detail{max-width:1200px;margin:auto;padding:150px 30px 80px}
.evermark-page .evermark-project-detail-cover{display:block;width:100%;max-height:720px;height:auto;object-fit:contain;margin:30px auto}
.evermark-page .evermark-project-detail-location{font-size:18px;margin-top:15px}
.evermark-page .evermark-project-detail-back{display:inline-block;margin-bottom:35px}
@media(max-width:479px){.evermark-page .evermark-project-detail{padding:110px 20px 50px}}
@media(prefers-reduced-motion:reduce){.evermark-page .evermark-project-collection .portfolio-dark-overlay{transition:none}}
