.container.decorate .container__body {
    padding: calc(1.5rem - 8px);
    position: relative;
    z-index: 1;
    height: auto !important;
}
.container.decorate .container__body .wrapper .content__wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.625rem;
    margin-bottom: 0.625rem;
}

/* 하단 플로팅 버튼 */
.btn_surf {
    position: fixed;
    z-index: 2;
    bottom: 32px;
    margin-left: 290px;
}
.container__footer {
    display: flex;
    position: fixed;
    z-index: 2;
    bottom: 32px;
    margin: 0 87px;
    width: fit-content;
}

.container__footer .btn__decorate {
    display: flex;
    width: 216px;
    height: 56px;
    align-items: center;
    background: rgba(25, 31, 40, 0.9);
    border-radius: 100px;
    outline: 1px solid #ffffff1a;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 5px 10px 0 rgba(25, 31, 40, 0.15);
    gap: 14px;
}
.container__footer .btn__explore {
    background-color: rgba(255, 255, 255, 0.9);
    margin-left: 6px;
    cursor: pointer;
}
.btn__decorate .btn__explore:hover{
    opacity: 0.8
}

.btn__decorate__edit:hover,
.btn__decorate__add:hover {
    opacity: 0.6
}

.btn__decorate:active {
    transform: scale(0.97);
    -webkit-transform: scale(0.97);
    -moz-transform: scale(0.97);
    -ms-transform: scale(0.97); 
    -o-transform: scale(0.97);
}

.container__footer .btn__explore span {
    color: rgba(25, 31, 40, 0.2);
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.025em;
}
/* 박스 종류 */
.box__link.link_page .box_inline,
.box__cmt.link_page .box_inline{
    cursor:pointer;
}

/* .box__cmt.link_page .box__content.btn__area div{
    cursor: pointer;
    background-color: #191f28;
} */

.grid__3by3 .box__item .title__box {
    width: 100%;
    height: calc(100% - 80px);
    padding: 10px 18px;
    text-align: left;
}

.box__text.grid__2by3[data-edit_type="TXT"] .box_inline {
    display: flex;
    justify-content: center;
}

.box__text.grid__2by3 .box__item,
.box__link.grid__3by3 .box__item {
    padding: 2px;
}
/* 박스 그리드 */

.gs-2>.grid-stack-item {
    width: 50%;
}
.gs-2>.grid-stack-item[gs-w="2"] {
    width:100%;
}

.gs-2>.grid-stack-item[gs-x="1"] {
    left:50%;
}
.container_page .grid-stack-item-content {
    height: auto;
}

.grid-stack-item > .grid-stack-item-content {
    border-radius: 24px;
}

.grid-stack>.grid-stack-item>.grid-stack-item-content {
    overflow-y:hidden!important;
    box-shadow: 0px 2px 4px 0px rgba(25, 31, 40, 0.05);
}

/* 박스 섀도우 */
.box_outline {
    width: 100%;
    height: 100%;
    border: 1px solid #191f281a;
    border-radius: 24px;
}

.box_inline {
    width: 100%;
    height: 100%;
    background-clip: content-box, border-box;
    background-origin: border-box;
    border-radius: 23px;
    padding: 1px;
}

.blank__wrap {
    height: 128px;
}

/* 박스 */
.title__box {
    width: calc(100% - 60px);
    color: var(--text-title, #191f28);
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.025em;
}
.sub__title__box {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.025em;
    color: var(--text-title, #76808f);
    opacity: 60%;
}
.box__text .title__box {
    width: 100%;
}

.txt__area {
    width: 100%;
    padding: 0 1.5rem 0 1.5rem;
}
.box__img .img__box {
    width: 100%;
}
.img__box {
    font-size: 20px;
    line-height: 30px;
    letter-spacing: -0.025em;
    text-align: center;
    border-radius: 20px;
}

.vgb__container {
    position: absolute;
    width: 100%;
    height: 100vh;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
}

.vgb__container iframe {
    height: calc(100% + 1px) !important;
}

.body__template .body .swiper.landing__scroll .container__body {
    overflow: hidden;
}
.container_page[data-tab_type="MNG"],
.container_page[data-tab_type="STS"],
.container_page[data-tab_type="ULL"] {
    position: absolute;
    top: 0;
    z-index: 10;
}

.cmt_btn_round {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0px 5px 10px 0px rgba(25, 31, 40, 0.15);
    border: 1px solid #ffffff1a;
}

/* 페이지 슬라이드 */
.swiper.landing__list,
.swiper.landing__scroll {
    width: 100%;
    height: 100%;
}
/* .landing__scroll > .swiper-wrapper {
    overflow-y: scroll;
    overflow-x: hidden;
} */
/* .landing__scroll > .swiper-wrapper::-webkit-scrollbar {
    width: 0;
} */
.swiper.landing__list .swiper-slide,
.swiper.landing__scroll .swiper-slide {
    height: auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.swiper.landing__list > .swiper-pagination {
    top: 21px !important;
    left: 50% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(-50%);
    position: absolute;
    width: 78px !important;
    height: 34px;
    border-radius: 20px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    background: rgba(25, 31, 40, 0.95);
    box-shadow: 0px 5px 10px 0px rgba(25, 31, 40, 0.2);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.swiper.landing__list > .swiper-pagination > .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: #76808f;
    transition: background 0.2s;
    opacity: 1;
}
.swiper.landing__list > .swiper-pagination > .swiper-pagination-bullet-active {
    background: white;
}

/* 박스안에 이미지 슬라이드 */
.swiper.box__img__list > .swiper-pagination {
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%);
    position: absolute;
    height: 8px;
    border-radius: 20px;
}
.swiper.box__img__list > .swiper-pagination > .swiper-pagination-bullet,
.swiper .cmt-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    outline: 1px solid rgb(25, 31, 40, 0.2);
    background-color: #fff;
    transition: background 0.2s;
    margin: 0 2px;
    opacity: 0.4;
}
.swiper.box__img__list > .swiper-pagination > .swiper-pagination-bullet-active,
.swiper .cmt-pagination .swiper-pagination-bullet-active {
    outline: 1px solid rgb(25, 31, 40, 0.4);
    opacity: 1;
}

/* 댓글박스 슬라이드 */
.swiper .cmt-pagination {
    position: absolute;
    height: 8px;
    bottom: 36px !important;
    left: unset !important;
    right: 0;
    padding-top: 1px;
}

/* 박스 드래그 버튼 */
.drag__btn {
    position: absolute;
    left: 6px;
    top: 6px;
    z-index: 10;
}
.edit__box__btn {
    position: absolute;
    right: 6px;
    top: 6px;
    z-index: 10;
}
.drag__btn.hidden{
    display:none!important;
}
.edit__box__btn.hidden{
    display:none!important;
}

.box__content.msg__area div {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: break-spaces;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* 스크롤바의 썸 (움직이는 부분)에 대한 스타일 */
::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-thumb {
    background-color: darkgrey;
    border-radius: 4px;
}

/* 반응형 */
@media (orientation: Portrait) and (max-width: 600px) {
    .btn_surf {
        right: 44px;
    }
    .container__footer {
        justify-content: unset;
        width: fit-content;
        margin: 0 auto;
        left: 0;
        right: 0;
    }
}

/* 1025px 이상 웹 가로보기 */
@media all and (min-width: 1025px) {
    .box__link[data-edit_type="LINK"].link_page .grid-stack-item-content:hover,
    .box__cmt[data-edit_type="CMT"].link_page .grid-stack-item-content:hover {
        /* transform: scale(1.03) translateZ(0);
        -webkit-transform: scale(1.03) translateZ(0);
        -moz-transform: scale(1.03) translateZ(0);
        -ms-transform: scale(1.03) translateZ(0); 
        -o-transform: scale(1.03) translateZ(0); */

        transform: perspective(600px) translateZ(20px);
    }

    .box__link[data-edit_type="LINK"].link_page .grid-stack-item-content:active,
    .box__cmt[data-edit_type="CMT"].link_page .grid-stack-item-content:active{
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1); 
        -o-transform: scale(1);
    }
    
    /* 툴팁 */
    .tool_tip.wh {
        background-color: #ffffff;
        border: 1px solid #191f281A;
        color: #191f28;
    }
    .tool_tip.wh::before,
    .tool_tip.wh::after {
        top: 100%;
    }
    .tool_tip.wh::before {
        border-top: 6px solid #191f281A;
        margin-top: 0px;
    }
    .tool_tip.wh::after {
        border-top: 6px solid #ffffff;
        margin-top: 0;
        z-index: 1;
    }
    .tool_tip.explore {
        position: absolute;
        top: -25px;
        left: -10px;
    }
    .tool_tip.explore::before,
    .tool_tip.explore::after { 
        left: 50px;
    }
    .tool_tip.edit {
        position: absolute;
        top: -25px;
        left: 70px;
    }
    .tool_tip.edit::before,
    .tool_tip.edit::after { 
        left: 43px;
    }

    .tool_tip.add {
        position: absolute;
        top: -25px;
        left: 152px;
    }
    .tool_tip.add::before,
    .tool_tip.add::after { 
        left: 30px;
    }

    /* 링크페이지 툴팁 */
    .tool_tip.recommend_link {
        z-index: 2;            
        position: fixed;
        bottom: 83px;
        margin-left: 241px;
    }
    .tool_tip.recommend_link::before,
    .tool_tip.recommend_link::after {
        left: 80px;
    }
}

/* 1024px 이하 모바일 웹 가로보기 */
    @media (min-width: 360px) and (max-width: 1024px) {
        .box__link[data-edit_type="LINK"].link_page .grid-stack-item-content:active,
        .box__cmt[data-edit_type="CMT"].link_page .grid-stack-item-content:active{
        transform: scale(0.97);
        -webkit-transform: scale(0.97);
        -moz-transform: scale(0.97);
        -ms-transform: scale(0.97); 
        -o-transform: scale(0.97);
    }
}
