@charset "utf-8";

.wr_content iframe:nth-of-type(n+2) {
    display: none !important;
}
img{
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}
figure{
    position: relative;
    display: block;
    padding: 0;
    margin: 0;
    width: 100%;
}
footer{
    border-top: 1px solid #eee;
}
/* VIEW */
.column-layout{
    width: 100%;
    max-width: 120rem;
    margin: auto;
    padding: 0 8rem;
}
#read-page{
    margin: 20rem auto 10rem;
}
#read-column #column-head{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
#read-column #column-head h1{
    text-align: center;
    font-size: 3.6rem;
}
#read-column #column-head #content-info strong{
    font-weight: 300;
}
#read-column #content-info{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.4rem;
}
#read-column #content-info i{
    display: inline-block;
    margin-right: 0.5rem;
    color: var(--grey-color-);
    font-style: italic;
}
#read-column #content-info #writer{
    position: relative;
}
#read-column #content-info #writer::after{
    content: '/';
    font-size: 1rem;
    color: var(--grey-color-);
    position: absolute;
    right: -1.4rem;
    top: 47%;
    transform: translate(0,-50%);
}
#read-control{
    display: flex;
    margin-bottom: 1rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #f5f5f5;
    width: 100%;
}
#read-control ul.control-list{
    display: flex;
    gap: 2rem;
    margin-left: auto;
}
#read-control ul.control-list a.btns{
    color: var(--black-color-);
    font-size: 1.8rem;
}
#read-column .list-contents{
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px dotted #ececec;
}
#read-column .list-contents .desc{
    color: #727274
}
#read-column .list-contents strong{
    color: var(--black-color-);
}
#main-contents .main-desc{
    margin-top: 3rem;
}
#main-contents .main-desc p{
    font-size: 1.8rem;
    line-height: 1.5;
}
#sub-contents .tit{
    font-size: 3rem;
    font-weight: 400;
}
#sub-contents .image-data{
    margin-top: 2rem;
}
#sub-contents .desc{
    margin-top: 2rem;
}
#sub-contents .desc p{
    font-size: 1.8rem;
    line-height: 1.7;
}
#sub-contents .desc ul,
#sub-contents .desc ol{
    line-height: 1.5;
    font-size: 1.8rem;
    margin: 1rem 0;
}
#sub-contents .desc li::before{
    content: '\00B7';
    display: inline-block;
    margin-right: 0.6rem;
}
#read-column .list-contents a strong,
#main-contents .main-desc p a,
#sub-contents .desc p a{
    color: var(--blue-color-);
    text-decoration: underline;
    text-underline-offset: 0.4rem;
}

/*#sub-contents .desc p a::after{
    content: '\f35d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    display: inline-block;
    margin: 0 5px;
    font-size: 1rem;
}*/

#counsel-btn{
    margin-top: 5rem;
}
#counsel-btn .mark{
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    color: #dcdcdc;
}
#counsel-btn .mark span{
    display: block;
    background-color: #eee;
    height: 1px;
    width: 100%;
}
#counsel-btn .counsel-subject{
    font-size: 1.8rem;
    line-height: 1.5;
}
#counsel-btn .counsel-subject a{
    color: var(--blue-color-);
    border-bottom: 1px solid var(--blue-color-);
}
#counsel-btn ul{
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}
#counsel-btn ul li{
    flex: 1;
    border-radius: 1rem;
}
#counsel-btn ul li a{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    line-height: 1;
    padding: 1.8rem;
    color: white;
}
#counsel-btn ul li i{
    font-size: 3rem;
}
#counsel-btn ul li span{
    font-size: 1.8rem;
}
#counsel-btn ul li.price{
    background-color: var(--black-color-);
}

#counsel-btn ul li.kakao{
    background-color: #fbdf00;
    transition: .2s;
}
#counsel-btn ul li.kakao a{
    color: #361c1d;
    transition: .2s;
}
#counsel-btn ul li.kakao:hover a{
    color: #fbdf00;
}
#counsel-btn ul li.kakao i{
    color: #361c1d;
    transition: .2s;
}
#counsel-btn ul li.kakao:hover{
    background-color: #361c1d;
}
#counsel-btn ul li.kakao:hover i{
    color: #fbdf00;
}

/* WRITE */
#write-page{
    margin: 20rem auto 10rem;
}
#write-content{
    display: flex;
    flex-direction: column;
}
#write-column .list-page-btn{
    background-color: var(--black-color-);
    color: white;
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 0;
    margin-bottom: 3rem;
}
#write-column .bo_w_select{
    margin-bottom: 2rem;
}
#write-column .bo_w_select select{
    padding: 1rem;
}
#write-column .bo_v_option{
    display: flex;
}
#write-column .important{
    margin-top: 1rem;
}
#write-title{
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px dotted #ccc;
}
#write-title .bo_w_tit{
    margin-top: 1rem;
}

#write-title .title-image{
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}
#write-title .title-image .input-titles{
    order: 2;
}
#write-title .title-image .add-files{
    order: 1;
}
#write-title .title-image .file-preview{
    order: 3;
    width: 100%;
}

.wr_content .cke_sc{
    display: none;
}
.wr_content textarea{
    resize: none;
}
.contents-manage{
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 3rem;
    margin-bottom: 3rem;
}
.contents-manage:last-child{
    border: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}
.write-contents h2{
    font-size: 2.6rem;
    margin-bottom: 2rem;
}
.write-contents .input-titles{
    margin-bottom: 1rem;
    display: block;
}
#add-content{
    background-color: #eee;
    color: var(--grey-color-);
    width: 100%;
    padding: 1.4rem;
    height: auto;
    font-size: 1.4rem;
    margin-top: 2rem;
}
.column-subject input{
    border: none;
    border-bottom: 1px solid #e9e9ec;
    font-size: 3rem;
    text-align: center;
    padding: 1rem;
    height: 6rem;
}
.file-upload-input{
    display: none;
}
.file-upload-icon{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 6rem;
    height: 6rem;
    background-color: #f1f1f1;
    border: 1px dashed #ccc;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s;
    margin-bottom: 10px;
}
.file-upload-icon:hover{
    background-color: #d0d0d0;
}
.plus-icon{
    font-size: 2rem;
    color: #666;
}
.file-preview{
    position: relative;
}
.preview-image{
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
}
.file-delete-btn{
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--important-color-);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1rem;
}
.file-delete-btn:hover{
    background: #e60000;
}

/* LIST */
#list-column{
    margin: 20rem auto 10rem;
}
#list-column .title-box{
    width: calc(50% - 7rem);
}
#list-column .title{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14rem;
}
#list-column .title h1{
    font-size: 3.6rem;
    font-weight: 300;
}
#list-column .title p{
    color: var(--grey-color-);
    font-size: 1.8rem;
    margin-top: 2rem;
}
#list-column .title p span{
    display: block;
}
#list-column .title p b{
    color: var(--black-color-);
}
#list-column-search{
    display: block;
    position: relative;
    width: calc(50% - 7rem);
}
#list-column-search .search-field{
    position: relative;
}
#list-column-search .sch_bar{
    display: flex;
}
#list-column-search .sch_bar i{
    font-size: 2rem;
}
#list-column-search input{
    border: none;
    border-bottom: 1px solid var(--black-color-);
    padding: 1rem;
    font-size: 2rem;
    color: var(--black-color-);
    width: 100%;
}
#column-items{
    margin-top: 8rem;
}
#column-items .column-list{
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}
#column-items .column-list li{
    width: calc(33.333% - 2rem);
}
#column-items .column-list li a{
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #eee;
}
#column-items .column-list li .new-badge{
  position: absolute;
  top: -0.8rem;
  right: -0.8rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  aspect-ratio: 1;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  background-color: #ff3b30;
  border-radius: 50%;
  pointer-events: none;
}

#column-items .column-list li .list-content{
    padding: 3rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}
#column-items .column-list li .list-title{
    margin-bottom: 2rem;
    font-weight: 300;
    font-size: 2rem;
    line-height: 1.4;
}
#column-items .column-list li .list-date{
    margin-top: auto;
    font-size: 1.2rem;
    color: var(--grey-color-);
}

@media (max-width: 768px) {
    .box{
        padding: 0;
    }
    #list-column{
        margin: 12rem auto 8rem;
    }
    #list-column .title{
        gap: 5rem;
        padding: 0 4rem;
        width: 100%;
    }
    #list-column .title-box{
        width: 100%;
    }
    #list-column-search{
        width: 100%;
    }
    #category{
        width: 100%;
        padding-left: 4rem;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    #category::-webkit-scrollbar {
        display: none;
    }
    #category-item li:last-child{
        padding-right: 4rem;
    }
    #list-column-item{
        padding: 0 4rem; 
    }
    #list-column-item .page-list-column-list{
        padding: 2rem 0;
    }
    #list-column-item .page-list-column-list .page-list-column-content p{
        padding: 0;
        padding-bottom: 3rem;
    }
    #list-column-item .page-list-column-list a{
        width: 1.4rem;
        height: 1.4rem;
    }
    #column-items{
        padding: 0 4rem;
    }
    #column-items .column-list li{
        width: 100%;
    }
    #read-page{
        margin: 12rem auto 8rem;
    }
    .column-layout{
        padding: 0 4rem;
    }
    #counsel-btn ul{
        flex-direction: column;
        gap: 2rem;
    }
}