#footer_first {
    margin-top: 0 !important;
    position: relative;
}

.gallery_container {
    position: relative;
}

.gallery_top_container {
    width: 96%;
    padding: 80px 100px 0;
    max-width: 1860px;
    min-width: 1300px;
    margin: 0 auto;
}

h2.h2-title {
    font-weight: 600;
    font-size: 32px;
    line-height: 39px;
    color: #000000;
    text-align: center;
    text-transform: uppercase;
    padding: 0 0 24px;
}

.gallery_container .text_description {
    color: #000;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 28px;
    margin-bottom: 30px;
    max-width: 913px;
    margin: 0 auto;
}

.gallery_tabs {
    color: #000000;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #A9A9A9;
    padding-top: 30px;
}

.gallery_tabs_top_fixed_con.tabs_fixed {
    max-width: 1860px;
    margin: 0 auto;
    padding: 0 100px;
    position: fixed;
    top: 64px;
    left: 0;
    width: 96%;
    transform: translateX(calc((100vw - 100% - 16px) / 2));
    background-color: rgba(255, 255, 255, 1);
    z-index: 999;
}

.gallery_tabs li {
    margin: 0 40px;
    padding-bottom: 30px;
    position: relative;
    cursor: pointer;
}

.gallery_tabs .active {
    font-weight: 600;
}

.gallery_tabs .active::after {
    content: "";
    width: 100%;
    height: 4px;
    position: absolute;
    bottom: -2px;
    left: 0;
    z-index: 9;
    background: rgba(255, 139, 0, 1);
}






.featured_gallery_content {
    position: relative;
    padding-bottom: 0;
    margin-bottom: -530px;
    min-height: 1035px;
}

.submit_photo_left_content {
    width: 123px;
    height: 101px;
    position: absolute;
    /* top: 20px; */
    top: 335px;
    left: 40px;
    background: url('/image/catalog/kficons/submit_photo.png') no-repeat center top;
    background-size: 107px 77px;
    z-index: 999;
}

.submit_photo_left_content button {
    width: 123px;
    height: 34px;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 90px;
    background: linear-gradient(272deg, #FF8B00 36.98%, #FFB95E 105.15%);
    box-shadow: 0 4px 12px 0 rgba(235, 91, 7, 0.36) inset, 0 9px 20px 0 rgba(255, 188, 112, 0.24) inset;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    color: #FFF;
    text-shadow: 0 2px 6px rgba(174, 97, 5, 0.39);
    font-size: 12px;
    font-weight: 700;
    line-height: 24px;
    transition: all 0.3s ease-in-out;
}

.submit_photo_left_content.has-tabs {
    /* top: 80px; */
    top: 443px;
}

.submit_photo_left_content.fixed {
    position: fixed;
    top: 112px;
}

.submit_photo_left_content.fixed.has-tabs {
    /* top: 172px; */
    top: 222px;
}

.submit_photo_left_content button:hover {
    transform: scale(1.1);
}






.featured_gallery_content .middle_content {
    width: 96%;
    min-width: 1300px;
    max-width: 1860px;
    margin: 0 auto;
    padding: 60px 100px 0;
}

.featured_gallery_content .featured_gallery_tab {
    display: none;
}

.featured_gallery_content .featured_gallery_tab_0 {
    display: block;
}

.featured_gallery_content .grid-item {
    width: calc(25% - 12px);
    margin-bottom: 12px;
    font-size: 0;
    position: relative;
    overflow: hidden;
}

.featured_gallery_content .grid-item-2 {
    width: calc(50% - 20px);
}

.featured_gallery_content .grid-item-3 {
    width: calc(75% - 20px);
}

.featured_gallery_content .grid-item .artwork {
    width: 100%;
    height: auto;
    transition: transform 0.6s;
    transform-style: preserve-3d; 
}
.featured_gallery_content .grid-item .artwork.back-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: rotateY(180deg);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    backface-visibility: hidden;
}
.featured_gallery_content .grid-item.has_two_imgs:hover .artwork.front-img {
    transform: rotateY(180deg);
}
.featured_gallery_content .grid-item.has_two_imgs:hover .artwork.back-img {
    transform: rotateY(0deg);
}

.featured_gallery_content .grid-item .item-info {
    padding: 6px 20px 16px;
    /* height: 92px; */
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    transition: all 0.3s ease-in-out;
    transform: translateY(92px);
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.featured_gallery_content .grid-item:hover .item-info {
    transform: translateY(0);
}

.featured_gallery_content .grid-item .title {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    max-height: 34px;
}

.featured_gallery_content .grid-item .info-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    margin-top: 9px;
    border-top: 0.4px solid rgba(255, 255, 255, 0.5);
}

.featured_gallery_content .grid-item .info-bottom .user-fa {
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured_gallery_content .grid-item .info-bottom .user-fa img.avatar {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 6px;
}

.featured_gallery_content .grid-item .info-bottom .user-fa .user-name {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;
}

.featured_gallery_content .grid-item .like-fa {
    display: flex;
    align-items: center;
}

.featured_gallery_content .grid-item .like-icon {
    width: 20px;
    height: 20px;
    background: url('/image/catalog/kficons/like-grey.png') no-repeat center;
    background-size: 100% 100%;
    margin-right: 6px;
    cursor: pointer;
}

.featured_gallery_content .grid-item .like-icon.active {
    background: url('/image/catalog/kficons/like-on.png') no-repeat center;
    background-size: 100% 100%;
}

.featured_gallery_content .grid-item .like-num {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 500;
    font-size: 14px;
    line-height: 14px;
}

.featured_gallery_content .view_more_fa {
    position: absolute;
    left: 0;
    bottom: 530px;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 4px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, #FFF 110.75%);
}

.featured_gallery_content .view_more_fa .view_more {
    width: 224px;
    height: 40px;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    border: 1px solid #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.featured_gallery_content .view_more_fa .view_more:hover {
    color: #ff8b00;
    border-color: #ff8b00;
}

.featured_gallery_content .view_more_fa .view_more img {
    width: 20px;
    height: 20px;
    margin-left: 6px;
    filter: drop-shadow(0px 50px #000);
    transform: translateY(-50px);
    color: #000;
}

.featured_gallery_content .view_more_fa .view_more:hover img {
    filter: drop-shadow(0px 50px #ff8b00);
    color: #ff8b00;
}

.view_img_popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.view_img_popup .img_popup_content {
    border-radius: 8px;
    background: rgba(0, 0, 0, 1);
    max-width: 88vw;
    /* min-width: 600px; */
    height: 660px;
    /* max-height: calc(100vh - 100px);
    min-height: 500px; */
    /* height: 100%; */
    position: relative;
    display: flex;
    align-items: center;
    transform: translateY(-25px);
}

/* 当视口高度 ≤ 725px 时生效 */
@media (max-height: 750px) {
    .view_img_popup .img_popup_content {
        height: 600px;
    }
}

.view_img_popup .img_popup_content .close_popup {
    width: 37px;
    height: 37px;
    position: absolute;
    top: -21px;
    right: -37px;
    cursor: pointer;
    padding: 6px;
}

.view_img_popup .img_popup_content .close_popup .close_icon {
    width: 25px;
    height: 25px;
}

.view_img_popup .img_popup_content .view_prev_img {
    width: 36px;
    height: 36px;
    position: absolute;
    bottom: -70px;
    left: calc(50% - 36px - 10px);
    transform: scale(-1);
    cursor: pointer;
}

.view_img_popup .img_popup_content .view_next_img {
    width: 36px;
    height: 36px;
    position: absolute;
    bottom: -70px;
    left: calc(50% + 10px);
    cursor: pointer;
}

.view_img_popup .img_popup_content .view_prev_img[disabled],
.view_img_popup .img_popup_content .view_next_img[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.view_img_popup .img_popup_content .left_box {
    max-width: calc(88vw - 514px);
    height: 100%;
    border-radius: 8px 0 0 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.view_img_popup .img_popup_content .artwork {
    max-width: calc(88vw - 514px);
    height: 100%;
    object-fit: cover;
}

.view_img_popup .img_popup_content .item-info {
    width: 514px;
    height: 100%;
    padding: 50px 50px 44px 40px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.view_img_popup .img_popup_content .item-info .user-fa {
    display: flex;
    align-items: center;
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.28);
    padding-bottom: 14px;
    margin-bottom: 30px;
}

.view_img_popup .img_popup_content .item-info .user-fa img.avatar {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 8px;
}

.view_img_popup .img_popup_content .item-info .user-fa .user-name {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
}

.view_img_popup .img_popup_content .item-info .title {
    color: rgba(255, 255, 255, 1);
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 14px;
}

.view_img_popup .img_popup_content .item-info .desc {
    flex: 1;
    min-height: 200px;
    color: rgba(255, 255, 255, 0.68);
    font-weight: 400;
    font-size: 13px;
    line-height: 16px;
    overflow-y: auto;
    margin-right: -10px;
    padding-right: 10px;
}

.view_img_popup .img_popup_content .item-info .location,
.view_img_popup .img_popup_content .item-info .exif {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    margin-top: 20px;
}

.view_img_popup .img_popup_content .item-info .location .location-icon {
    width: 18px;
    height: 18px;
    margin-right: 5px;
}

.view_img_popup .img_popup_content .item-info .info-bottom {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    border-top: 0.5px solid rgba(255, 255, 255, 0.28);
    margin-top: 14px;
    padding-top: 26px;
}

.view_img_popup .img_popup_content .item-info .time {
    flex: 1;
}

.view_img_popup .img_popup_content .item-info .like-fa {
    display: flex;
    align-items: center;
    margin-right: 34px;
}

.view_img_popup .img_popup_content .item-info .like-icon {
    width: 20px;
    height: 20px;
    background: url('/image/catalog/kficons/like-grey.png') no-repeat center;
    background-size: 100% 100%;
    margin-right: 10px;
    cursor: pointer;
}

.view_img_popup .img_popup_content .item-info .like-icon.active {
    background: url('/image/catalog/kficons/like-on.png') no-repeat center;
    background-size: 100% 100%;
}

.view_img_popup .img_popup_content .item-info .view-fa {
    display: flex;
    align-items: center;
}

.view_img_popup .img_popup_content .item-info .view-fa .view-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}


