/* ==========================================
   KBOARD SUGGEST LIST - SKY BLUE FULL FIX
========================================== */

#kboard-suggest-list{
    position:relative;
    width:100%;
    max-width:1200px;
    min-height:420px;
    margin:0 auto;
    padding:38px;
    box-sizing:border-box;
    border-radius:20px;
    background:linear-gradient(135deg,#f8fdff,#e6f8ff);
    border:1px solid rgba(100,190,240,.45);
    box-shadow:0 18px 45px rgba(60,150,210,.18);
    overflow:hidden;
    color:#36516a;
}

/* 상단 빛 */
#kboard-suggest-list:before{
    content:'';
    position:absolute;
    top:0;
    left:50%;
    transform:translateX(-50%);
    width:60%;
    height:1px;
    background:linear-gradient(to right,transparent,rgba(91,174,232,.55),transparent);
}

/* =========================
   상단
========================= */
#kboard-suggest-list .board-top-wrap{
display:block;
    margin-bottom:34px;
    flex-wrap:wrap;
}

/* =========================
   셀렉트
========================= */
#kboard-suggest-list select{
    height:40px;
    padding:0 34px 0 14px;
    border-radius:10px;
    border:1px solid rgba(91,174,232,.65);
    background:
        linear-gradient(45deg, transparent 50%, #1f86c9 50%) right 15px center / 6px 6px no-repeat,
        linear-gradient(135deg, #1f86c9 50%, transparent 50%) right 10px center / 6px 6px no-repeat,
        linear-gradient(to bottom,#ffffff,#eaf8ff);
    color:#1f86c9;
    outline:none;
    font-size:13px;
    font-weight:900;
    appearance:none;
    -webkit-appearance:none;
    cursor:pointer;
    box-shadow:0 5px 14px rgba(80,160,220,.13);
    transition:.25s;
}

#kboard-suggest-list select:hover,
#kboard-suggest-list select:focus{
    border-color:#27a8f2;
    box-shadow:0 0 14px rgba(80,180,255,.24);
}

/* =========================
   검색
========================= */
#kboard-suggest-list .kboard-search form{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    padding:12px;
    border-radius:12px;
    background:#ffffff;
    border:1px solid rgba(110,190,235,.4);
    box-shadow:0 5px 16px rgba(80,160,220,.08);
}

#kboard-suggest-list .kboard-search input{
    width:260px;
    height:40px;
    padding:0 14px;
    border-radius:8px;
    outline:none;
    border:1px solid rgba(90,170,225,.55);
    background:#ffffff;
    color:#184d73;
    font-size:13px;
    font-weight:800;
    box-sizing:border-box;
    transition:.25s;
}

#kboard-suggest-list .kboard-search input::placeholder{
    color:#6a97b3;
}

#kboard-suggest-list .kboard-search input:focus{
    border-color:#27a8f2;
    box-shadow:0 0 14px rgba(80,180,255,.24);
}

/* =========================
   버튼
========================= */
#kboard-suggest-list .kboard-search-btn,
#kboard-suggest-list .write-btn,
#kboard-suggest-list .kboard-control a,
#kboard-suggest-list .kboard-control button,
#kboard-suggest-list .kboard-control input[type="submit"]{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:40px;
    padding:0 24px;
    border-radius:10px;
    border:1px solid rgba(90,170,225,.6);
    cursor:pointer;
    text-decoration:none !important;
    font-size:13px;
    font-weight:900;
    color:#ffffff !important;
    background:linear-gradient(to bottom,#7bd4ff,#2d96dc);
    box-shadow:0 8px 18px rgba(70,170,240,.22);
    transition:all .25s ease;
}

#kboard-suggest-list .kboard-search-btn:hover,
#kboard-suggest-list .write-btn:hover,
#kboard-suggest-list .kboard-control a:hover,
#kboard-suggest-list .kboard-control button:hover,
#kboard-suggest-list .kboard-control input[type="submit"]:hover{
    transform:translateY(-2px);
    background:linear-gradient(to bottom,#a8e8ff,#4bb2f0);
    box-shadow:0 8px 22px rgba(70,170,240,.28);
}

/* =========================
   리스트
========================= */
#kboard-suggest-list .kboard-list-wrap{
    display:flex;
    flex-direction:column;
    gap:14px;
}

/* =========================
   게시글
========================= */
#kboard-suggest-list .board-item{
    position:relative;
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:78px;
    padding:0 24px;
    border-radius:14px;
    background:#ffffff;
    border:1px solid rgba(100,180,230,.45);
    overflow:hidden;
    text-decoration:none !important;
    box-shadow:0 8px 24px rgba(80,160,220,.12);
    transition:all .28s ease;
}

#kboard-suggest-list .board-item:nth-child(even){
    background:#f7fcff;
}

/* 새글 glow */
#kboard-suggest-list .board-item.new-item{
    border-color:#37a9f0;
    box-shadow:
        0 14px 34px rgba(80,160,220,.16),
        inset 0 1px 0 rgba(255,255,255,.45);
}

/* 빛반사 */
#kboard-suggest-list .board-item.new-item:before{
    content:'';
    position:absolute;
    top:0;
    left:-140px;
    width:80px;
    height:100%;
    background:linear-gradient(to right,transparent,rgba(255,255,255,.65),transparent);
    transform:skewX(-25deg);
    animation:reflectMove 3s linear infinite;
}

#kboard-suggest-list .board-item:hover{
    transform:translateY(-2px);
    background:#eaf8ff;
    border-color:#37a9f0;
    box-shadow:0 14px 34px rgba(80,160,220,.22);
}

/* =========================
   좌측
========================= */
#kboard-suggest-list .board-left{
    display:flex;
    align-items:center;
    gap:14px;
    min-width:0;
}

#kboard-suggest-list .board-title-wrap{
    display:flex;
    align-items:center;
    gap:12px;
    position:relative;
    min-width:0;
}

/* =========================
   NEW
========================= */
#kboard-suggest-list .board-new-badge{
    position:relative;
    min-width:54px;
    height:26px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:30px;
    background:linear-gradient(to bottom,#ff7d7d,#ff3f3f);
    color:#ffffff;
    font-size:11px;
    font-weight:900;
    overflow:hidden;
    box-shadow:0 5px 12px rgba(255,60,60,.25);
}

/* NEW 반사 */
#kboard-suggest-list .board-new-badge:before{
    content:'';
    position:absolute;
    top:0;
    left:-60px;
    width:30px;
    height:100%;
    background:linear-gradient(to right,transparent,rgba(255,255,255,.65),transparent);
    transform:skewX(-25deg);
    animation:newReflect 2.5s linear infinite;
}

/* =========================
   제목
========================= */
#kboard-suggest-list .board-title{
    position:relative;
    color:#17527d;
    font-size:15px;
    font-weight:900;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

#kboard-suggest-list .board-title:before{
    content:"✦";
    margin-right:7px;
    color:#2aa6ed;
    font-size:9px;
}

#kboard-suggest-list .board-title.is-new{
    color:#0098e6;
    text-shadow:0 0 8px rgba(80,180,255,.25);
}

/* 제목 반사 */
#kboard-suggest-list .board-title.is-new:after{
    content:'';
    position:absolute;
    top:0;
    left:-120px;
    width:60px;
    height:100%;
    background:linear-gradient(to right,transparent,rgba(255,255,255,.8),transparent);
    transform:skewX(-25deg);
    animation:titleReflect 3s linear infinite;
}

/* =========================
   비밀글
========================= */
#kboard-suggest-list .secret-badge{
    padding:7px 15px;
    border-radius:30px;
    background:linear-gradient(to bottom,#ff7d7d,#ff3f3f);
    color:#ffffff;
    font-size:11px;
    font-weight:900;
    flex-shrink:0;
    box-shadow:0 5px 12px rgba(255,60,60,.25);
}

/* =========================
   우측
========================= */
#kboard-suggest-list .board-right{
    display:flex;
    align-items:center;
    gap:26px;
    flex-shrink:0;
    color:#6a97b3;
    font-size:13px;
    font-weight:800;
}

/* =========================
   댓글
========================= */
#kboard-suggest-list .board-comment{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:46px;
    height:32px;
    padding:0 12px;
    border-radius:30px;
    background:linear-gradient(to bottom,#ffffff,#eaf8ff);
    border:1px solid rgba(91,174,232,.55);
    color:#1f86c9;
    font-size:12px;
    font-weight:900;
}

#kboard-suggest-list .board-comment.active{
    background:linear-gradient(to bottom,#7bd4ff,#2d96dc);
    color:#ffffff;
}

/* =========================
   페이지
========================= */
#kboard-suggest-list .kboard-pagination{
    margin-top:42px;
    text-align:center;
}

#kboard-suggest-list .kboard-pagination-pages{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
    padding:0;
    margin:0;
    list-style:none;
}

#kboard-suggest-list .kboard-pagination-pages li a,
#kboard-suggest-list .kboard-pagination-pages li span{
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:#ffffff;
    border:1px solid rgba(90,170,225,.55);
    color:#2286c9;
    text-decoration:none;
    font-weight:900;
    box-shadow:0 5px 15px rgba(80,160,220,.15);
    transition:.25s;
}

#kboard-suggest-list .kboard-pagination-pages li a:hover,
#kboard-suggest-list .kboard-pagination-pages li.active a,
#kboard-suggest-list .kboard-pagination-pages li.active span{
    background:linear-gradient(to bottom,#7fd5ff,#2e98de);
    color:#ffffff;
}

/* =========================
   글쓰기
========================= */
#kboard-suggest-list .kboard-control{
    margin-top:42px;
}
/* =========================================================
   정렬
========================================================= */
#kboard-suggest-list .kboard-sort select,
#kboard-suggest-list select[name="kboard_list_sort"]{
    width:120px;
    height:40px;
    padding:0 34px 0 14px;
    border-radius:10px;
    border:1px solid rgba(91,174,232,.65);
    background:
        linear-gradient(45deg, transparent 50%, #1f86c9 50%) right 15px center / 6px 6px no-repeat,
        linear-gradient(135deg, #1f86c9 50%, transparent 50%) right 10px center / 6px 6px no-repeat,
        linear-gradient(to bottom,#ffffff,#eaf8ff);
    color:#1f86c9;
    font-size:13px;
    font-weight:900;
    outline:none;
    appearance:none;
    -webkit-appearance:none;
    cursor:pointer;
    box-shadow:0 5px 14px rgba(80,160,220,.13);
}

/* =========================================================
   검색
========================================================= */
#kboard-suggest-list .kboard-search{
display: flex !important;
    align-items: center !important;
    gap: 8px;
    margin: 22px 0 !important;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(110, 190, 235, .4);}

#kboard-suggest-list .kboard-search form{
    display:flex;
    gap:10px;
    align-items:center;
    flex-wrap:wrap;
    padding:12px;
    border-radius:12px;
    background:#ffffff;
    border:1px solid rgba(110,190,235,.4);
    box-shadow:0 5px 16px rgba(80,160,220,.08);
	width:100%;
}
#kboard-suggest-list .kboard-search select{
width:90px;
}
#kboard-suggest-list .kboard-search input {
    flex: 1;
    width:260px;

}
.kboard-list-wrap {
    display: block !important;
    width: 100%;
    margin-top: 18px !important;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(100, 180, 230, .45);
    box-shadow: 0 10px 30px rgba(80, 160, 220, .12);
    min-height: 300px;
}
#kboard-suggest-list .kboard-search select,
#kboard-suggest-list .kboard-search input{
    height:40px;
    border-radius:8px;
    border:1px solid rgba(90,170,225,.55);
    background:#ffffff;
    color:#184d73;
    padding:0 14px;
    outline:none;
    font-size:13px;
    font-weight:800;
    box-sizing:border-box;
}

#kboard-suggest-list .kboard-search select{
    width:90px;
}

#kboard-suggest-list .kboard-search input{
    flex:1;
    min-width:240px;
}

#kboard-suggest-list .kboard-search input::placeholder{
    color:#6a97b3;
}

#kboard-suggest-list .kboard-search select:focus,
#kboard-suggest-list .kboard-search input:focus{
    border-color:#27a8f2;
    box-shadow:0 0 14px rgba(80,180,255,.24);
}


/* =========================
   애니메이션
========================= */
@keyframes reflectMove{
    0%{ left:-140px; }
    100%{ left:140%; }
}

@keyframes titleReflect{
    0%{ left:-120px; }
    100%{ left:140%; }
}

@keyframes newReflect{
    0%{ left:-60px; }
    100%{ left:180%; }
}

/* =========================
   모바일
========================= */
@media(max-width:768px){

    #kboard-suggest-list{
        padding:24px;
        border-radius:16px;
    }

    #kboard-suggest-list .board-top-wrap{
        flex-direction:column;
        align-items:stretch;
    }

    #kboard-suggest-list .kboard-search form{
        flex-wrap:wrap;
    }

    #kboard-suggest-list .kboard-search input,
    #kboard-suggest-list .kboard-search select,
    #kboard-suggest-list .kboard-search-btn,
    #kboard-suggest-list .write-btn{
        width:100%;
    }

    #kboard-suggest-list .board-item{
        flex-direction:column;
        align-items:flex-start;
        gap:16px;
        padding:18px;
    }

    #kboard-suggest-list .board-right{
        width:100%;
        justify-content:space-between;
        gap:10px;
        flex-wrap:wrap;
    }

    #kboard-suggest-list .board-title{
        white-space:normal;
        line-height:1.5;
    }

    #kboard-suggest-list .kboard-control,
    #kboard-suggest-list .kboard-control a,
    #kboard-suggest-list .kboard-control button,
    #kboard-suggest-list .kboard-control input[type="submit"]{
        width:100%;
    }
}