#main-body {
    margin-top: 8rem;
}
.pj-pagetitle {
    font-size: 4rem;
    line-height: 1.2;
    font-weight: 700;
    color: #333;
    padding: 0 0 1rem 0;
    margin: 0;
    /* border-bottom: 1px solid #b8b8b8 */
}
body:lang(en-US) .pj-pagetitle {
    font-family: 'TTNP_DemiBold', sans-serif;
    font-weight: 400;
}
.topsect {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 5rem 0 0 0;
  border-bottom: 2px solid #b8b8b8
}
.navsect {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

#pcatnav {
    position: relative;
    width: 16.6rem;
    max-width: none;
    /* padding: 0 0 0 1rem; */
    background: #fff;
}
.vscomp-wrapper {
    background: #B9B9B9;
    font-size: 1.6rem;
    line-height: 1.5;
    color: #fff;
}
@media (hover: hover) {
    .vscomp-wrapper:hover {
        background-color: #000;
    }
}
body:lang(en-US) .vscomp-wrapper {
    font-family: 'TTNP_Regular', sans-serif;
}
.pop-comp-wrapper {
    /* left: 3.8rem; */
    transform: translate3d(0px, 32px, 0px) !important;
    box-shadow: none;
}
.vscomp-option.focused {
    background-color: rgba(255, 255, 255, 0.3);
}
/* body:lang(en-US) .vscomp-option.focused {
    font-family: 'TTNP_Medium', sans-serif;
} */
.vscomp-option.selected {
    background-color: #000;
}
body:lang(en-US) .vscomp-option.selected {
    font-family: 'TTNP_Bold', sans-serif;
}
body:lang(zh-CN) .vscomp-option.selected {
    font-weight: 700;
}
.vscomp-toggle-button {
    margin: 0;
    /* padding: 1.2rem 1.2rem 1.2rem 1.2rem; */
    padding: .8rem 2.2rem .8rem .8rem;
    background: transparent;
    background: 0 0;
    border: none;
}
.vscomp-arrow {
    right: .4rem;
    /* display: none; */
}
.vscomp-arrow::after {
    border-bottom-color: #ffffff;
    border-right-color: #ffffff;
}
.vscomp-value {
    font-size: 1.5rem;
    line-height: 1;
    color: #fff;
    height: auto;
}
.vscomp-wrapper.focused .vscomp-toggle-button, .vscomp-wrapper:focus .vscomp-toggle-button {
    box-shadow: none;
    background: #000;
    border: none;
}
.vscomp-dropbox {
    color: #fff;
    background: #000;
    /* padding: 1.2rem 0; */
}
.vscomp-option {
    padding: 0 1.6rem 0 2rem;
}
.navsel {
    background: #000;
}
input.navsel {
    background: #000;
}

#searchnav {
  position: relative;
    width: 16.6rem;
}
input.proj-search {
    border: none;
    font-size: 1.5rem;
    line-height: 0;
    height: auto;
    border-radius: 0;
    /* border-bottom: 1px solid #888;
    margin-bottom: .5rem;
    padding: .5rem;
    padding-right: 2rem; */
    margin: 0;
    /* padding: 1rem 1.2rem; */
    padding: .6rem .8rem .6rem .8rem;
    color: #fff;
    background: #B9B9B9;
}
input.proj-search::placeholder {
    color: #fff;
}
input.proj-search:focus {
    background-color: #000;
    /* border-bottom: 1px solid #888; */
}
@media (hover: hover) {
    input.proj-search:hover {
        background-color: #000;
    }
}
input.proj-search:focus {
    background-color: #000;
    /* border-bottom: 1px solid #888; */
}
.search-btn {
    position: absolute;
    /* top: 1.2rem; */
    top: .6rem;
    /* right: 1.2rem; */
    right: .8rem;
    margin-bottom: 0;
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(350deg) brightness(106%) contrast(102%);
}
.search-btn:hover {
    opacity: 1;
}

.foldsect {
    display: grid;
    grid-row-gap: 2rem;
    grid-column-gap: 2rem;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: row;
    grid-auto-rows: auto;
    margin-top: 2.4rem;
    margin-bottom: 6rem;
}

.foldelm {
    width: 100%;
    overflow: hidden;
}


.foldelm {
    position: relative;
}
.foldelm picture {
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
}
.foldelm img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
}
.proj-name {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2.4rem;
    color: #fff;
    opacity: 1;
}
body:lang(zh-CN) .proj-title {
    font-weight: 700;
    /* word-spacing: -1px; */
}
.proj-title br {
    display: none;
}
@media (hover: hover) {
    .foldelm picture::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #000;
        opacity: 0;
        transition: opacity .5s cubic-bezier(.75, .25, .25, .75);
    }
    .foldelm a:hover picture::after {
        opacity: 0.5;
    }
    .foldelm a:hover img {
        transform: scale(1.1);
        opacity: 1;
    }
    .foldelm a:hover .proj-name {
        opacity: 1;
        transition: opacity .5s cubic-bezier(.75, .25, .25, .75), filter .5s cubic-bezier(.75, .25, .25, .75);
    }
    .proj-name {
        opacity: 0;
    }
}
@media (max-width: 1280px) {
    section {
        max-width: calc(100vw - 4.2rem - 4.2rem);
        margin-left: 4.2rem;
        margin-right: 4.2rem;
    }
}
@media (max-width: 1024px) {
    #main-body {
        margin-top: 0;
    }
    .foldsect {
        grid-template-columns: repeat(2, 1fr);
        grid-row-gap: 3rem;
        grid-column-gap: 1.6rem;
    }
    .proj-name {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        padding: 0;
        color: #333;
        opacity: 1;
    }
    .proj-tag {
        display: none;
    }
}

@media (max-width: 768px) {
    section {
        max-width: calc(100vw - 1.6rem - 1.6rem);
        margin-left: 1.6rem;
        margin-right: 1.6rem;
    }
    #pnav {
        width: 100%;
        border-bottom: 2px solid #b8b8b8;
    }
    .pj-pagetitle {
        font-size: 3rem;
        line-height: 1.2;
        padding: 1rem 0;
    }
    .topsect {
        padding: 0;
        flex-direction: column;
        align-items: start;
        border: 0;
    }
    .navsect {
        flex-direction: column;
        align-items: start;
        width: 100%;
    }
    #pcatnav {
        width: 100%;
        max-width: none !important;
        margin-top: 1.6rem;
    }
    .vscomp-toggle-button {
        padding: .8rem 1.2rem 0.8rem 1.2rem;
    }
    #searchnav {
        width: 100%;
    }
    input.proj-search {
        padding: .6rem 1.2rem;
    }
    .search-btn {
        top: .6rem;
    }
}
@media (max-width: 640px) {
    .foldsect {
        grid-template-columns: 1fr;
    }
}

.resdesc {
    display: block;
    font-size: 2.3rem;
    line-height: 1.5;
    color: #333;
    font-weight: 400;
    margin: 2rem 0 4rem 0;
}
.relevant {
    display: block;
    font-size: 2rem;
    line-height: 1.2;
    color: #7e7e7e;
    font-weight: 700;
}
body:lang(en-US) .relevant {
    font-family: 'TTNP_Bold', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
}
@media (max-width: 768px) {
    .resdesc {
        font-size: 2rem;
        line-height: 1.4;
        margin: 2rem 0 4rem 0;
    }
    .relevant {
        font-size: 1.6rem;
        line-height: 1.2;
    }
}
@media (max-width: 480px) {
    .resdesc {
        font-size: 1.6rem;
        line-height: 1.4;
        margin: 1rem 0 4rem 0;
    }
}

