/* -------- 메인 -------- */
.wrap.commu {padding: 55px 0 150px;}
.wrap.commu .main_banner {border-radius: 0;}


/* 인기글 */
.commu_list {display: flex; flex-direction: column; width: 100%;}
.commu_con {display: flex; flex-direction: column; width: 100%; gap: 10px; padding: 20px 0; border-bottom: 1px solid #eee;}
.commu_con:last-child {border-bottom: none; padding-bottom: 0;}
.commu_con .commu_cont {display: flex; gap: 15px;}
.commu_cont .commu_left {display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: calc(100% - 95px);}
.commu_cont .commu_left .commu_tit {font-size: 15px; line-height: 1.4;}
.commu_cont .commu_thumb {min-width: 80px; height: 80px; border-radius: 5px; overflow: hidden; position: relative;}
.commu_cont .commu_thumb img {width: 100%; height: 100%; display: block; object-fit: cover;}
.commu_cont .commu_thumb .count {position: absolute; top: 6px; left: 6px; background-color: #00000050; color: #fff; font-size: 14px; font-weight: 600; padding: 4px 5px 6px;}

.commu_info {display: flex; justify-content: space-between; align-items: center; width: 100%;}
.commu_info span {font-size: 13px; color: #999;}
.commu_detail {display: flex; align-items: center; gap: 15px;}
.commu_detail .commu_sub {display: flex; align-items: center; gap: 5px;}
.commu_detail .commu_sub i {display: block; width: 14px; height: 14px;}
.commu_detail .commu_sub .like {background: url(../img/commu_like.png) no-repeat center/contain;}
.commu_detail .commu_sub .reply {background: url(../img/commu_reply.png) no-repeat center/contain;}
.commu_detail .commu_sub .write {background: url(../img/commu_write.png) no-repeat center/contain;}


/* 공지사항 */
.notice_list {display: flex; flex-direction: column; width: 100%;}
.notice_con {display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 0; border-bottom: 1px solid #eee;}
.notice_con:last-child {border-bottom: none; padding-bottom: 0;}
.notice_con .title {display: flex; align-items: flex-start; width: 100%;}
.notice_con .title p {font-size: 15px; line-height: 1.5; width: calc(100% - 32px); padding-right: 10px;}
.notice_con .title i {display: block; width: 22px; height: 22px; background: url(../img/notice_new.png) no-repeat center/contain;}
.notice_con span {font-size: 13px; color: #999;}


.btn_fixed {width: max-content; position: fixed; bottom: 110px; right: 1.2em; display: flex; align-items: center; gap: 5px; border-radius: 60px; border: 1px solid #5834E8; box-shadow: 4px 4px 10px 6px #1B086715; background-color: #fff; z-index: 10; padding: 12px 30px;}
.btn_fixed i {display: block; width: 16px; height: 16px;}
.btn_fixed i img {width: 100%; height: 100%; display: block; object-fit: contain;}
.btn_fixed span {font-size: 15px; font-weight: 600; color: #5834E8;}



/* -------- 카테고리별 페이지 -------- */
/* 전체+정렬필터 */
.amount_filter {display: flex; align-items: center; justify-content: space-between; padding: 6px 0;}
.amount_filter span {font-size: 13px; color: #666; font-weight: 500;}
.amount_filter .ft_slt {display: flex; align-items: center; gap: 12px;}
.amount_filter .ft_slt span {font-size: 13px; font-weight: 500; color: #666;}
.amount_filter .ft_slt i {display: block; width: 13px; height: 13px; background: url(../img/slt_arrow_down.png) no-repeat center/contain;}

.wrap.commu_sub {padding: 55px 0 150px;}
.wrap.commu_sub .sub_tab {margin-bottom: 0px;}
.wrap.commu_sub .main_banner {border-radius: 0;}



/* -------- 게시글 상세보기 -------- */
/* 본문 */
.write_box {padding-bottom: 30px;}
.write_title {display: flex; flex-direction: column; gap: 12px; width: 100%; padding-bottom: 25px; border-bottom: 1px solid #eee;}
.write_opt {display: flex; align-items: center; justify-content: space-between;}
.write_opt .btn_menu {width: 35px; height: 35px; background: url(../img/btn_menu.png) no-repeat center/contain;}
.write_title .tit {display: flex; flex-direction: column; align-items: flex-start; gap: 12px;}
.write_title .tit p {font-size: 16px; line-height: 1.4;}
.write_title .tit span {font-size: 13px; color: #999;}
.write_con {display: flex; flex-direction: column; gap: 20px; padding: 25px 0;}
.write_con p {font-size: 15px; line-height: 1.5;}
.write_con .img_box {display: flex; flex-direction: column; gap: 15px; width: 100%;}
.write_con .img_box img {width: 100%; display: block; object-fit: contain;}

.write_box .user {display: flex; align-items: center; gap: 15px; width: 100%; padding-top: 20px; border-top: 1px solid #eee;}
.write_box .user .prof {width: 60px; height: 60px;}
.write_box .user .prof img {width: 100%; height: 100%; display: block; object-fit: contain;}
.write_box .user_info {display: flex; flex-direction: column; align-items: flex-start; gap: 10px;}
.write_box .user_info .name {font-size: 15px; font-weight: 500;}
.write_box .user_info .commu_sub span {color: #999; font-size: 14px;}

/* 댓글 */
.reply_ft {display: flex; align-items: center; justify-content: space-between; padding: 30px 0 25px; border-bottom: 1px solid #eee;}
.reply_ft .amount {font-size: 13px; color: #666;}
.reply_ft .filter {display: flex; align-items: center; gap: 10px;}
.reply_ft .filter span {font-size: 14px; font-weight: 500; color: #999;}
.reply_ft .filter span.on {color: #5834E8;}
.reply_ft .filter i {display: block; width: 2px; height: 2px; border-radius: 100%; background-color: #ccc;}


.reply_list {display: flex; flex-direction: column; width: 100%; gap: 25px; padding-top: 40px;}
.reply_set {display: flex; flex-direction: column; width: 100%; gap: 18px;}
.reply_con {display: flex; flex-direction: column; gap: 3px;}
.reply_con.re {padding-left: 40px;}
.reply_con .reply_tit {display: flex; align-items: center; justify-content: space-between;}
.reply_tit .reply_user {display: flex; align-items: center; gap: 8px;}
.reply_tit .btn_menu {width: 35px; height: 35px; background: url(../img/btn_menu.png) no-repeat center/contain;}
.reply_user .prof {width: 30px; height: 30px; border-radius: 100%; overflow: hidden;}
.reply_user .prof img {width: 100%; height: 100%; display: block; object-fit: contain;}
.reply_user .name_box {display: flex; align-items: center; gap: 5px;}
.reply_user .name_box span {font-size: 14px; color: #777;}
.reply_user .name_box em {font-size: 14px; font-weight: 500; color: #5834E8;}
.reply_user .name_box i {display: block; width: 2px; height: 2px; border-radius: 100%; background-color: #ccc;}

.reply_con .cont {display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-left: 40px;}
.reply_con .cont p {font-size: 15px; line-height: 1.5;}
.reply_con .cont .reply_opt {display: flex; align-items: center; gap: 5px;}
.reply_con .reply_opt span {font-size: 14px; font-weight: 500; color: #999;}
.reply_con .reply_opt i {display: block; width: 2px; height: 2px; border-radius: 100%; background-color: #ccc;}
.reply_con .reply_opt dl {display: flex; align-items: center; gap: 5px;}
.reply_con .reply_opt dt {display: block; width: 12px; height: 12px;}
.reply_con .reply_opt dt.reply {background: url(../img/reply_reply.png) no-repeat center/contain;}
.reply_con .reply_opt dt.like {background: url(../img/reply_like.png) no-repeat center/contain;}
.reply_con .reply_opt dd {font-size: 14px; font-weight: 500; color: #999;}

.reply_bottom {width: 100%; position: fixed; bottom: 0; left: 0; background-color: #fff; padding: 15px 1.2em; border-top: 1px solid #eee; box-shadow: 0px -2px 8px  rgba(0, 0, 0, .03); display: flex; align-items: center; justify-content: space-between;}
.reply_bottom .like_con {display: flex; flex-direction: column; align-items: center; gap: 4px;}
.reply_bottom .like_con i {display: block; width: 26px; height: 26px;}
.reply_bottom .like_con i img {width: 100%; height: 100%; object-fit: contain; display: block;}
.reply_bottom .like_con i img.on {display: none;}
.reply_bottom .like_con.on i img.on {display: block;}
.reply_bottom .like_con.on i img.default {display: none;}
.reply_bottom .like_con span {font-size: 14px; font-weight: 600; color: #666;}
.reply_bottom .like_con.on span {color: #5834E8;}

.reply_bottom .btn_enter {width: 44px; height: 44px; background: url(../img/write_reply.png);}
.reply_bottom .btn_enter.on {width: 44px; height: 44px; background: url(../img/write_reply_on.png);}
.reply_bottom input[class="reply"] {background-color: #f5f5f5; padding: 14px 20px; font-size: 16px; border-radius: 50px; width: calc(100% - 100px);}
.reply_bottom input[class="reply"]::placeholder {color: #888;}