#lineage-guide-board{
    width:100%;
    margin:0 auto;
    padding:30px 0 70px;
	    padding: 38px;
    box-sizing: border-box;
    border-radius: 20px;
    background: radial-gradient(circle at top, rgba(120, 70, 20, .08), transparent 45%), linear-gradient(to bottom, rgba(24, 14, 8, .97), rgba(9, 5, 2, .99));
    border: 1px solid rgba(168, 112, 38, .28);
    box-shadow: 0 0 45px rgba(0, 0, 0, .72), inset 0 1px 0 rgba(255, 220, 140, .05);
    overflow: hidden;
}

/* 상단 */
.guide-top-wrap{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
    gap:15px;
    flex-wrap:wrap;
}

.guide-total-count{
    color:#d0a15d;
    font-size:13px;
    letter-spacing:1px;
}

/* 검색 */
.guide-search form{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.guide-search select,
.guide-search input{
    height:44px;
    border-radius:10px;
    border:1px solid #5a3513;
    background:#130803;
    color:#e0b06b;
    padding:0 14px;
    outline:none;
}

.guide-search input{
    width:240px;
}

.guide-search button,
.guide-write-btn{
    height:44px;
    padding:0 24px;
    border:none;
    border-radius:10px;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:
    linear-gradient(to bottom,
    #ffdf92,
    #c4811f);
    color:#2d1700;
    font-weight:bold;
    text-decoration:none;
    transition:.25s;
}

.guide-search button:hover,
.guide-write-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 0 14px rgba(255,190,90,.35);
}

/* 리스트 */
.guide-list-wrap{
    display:flex;
    flex-direction:column;
    gap:18px;
}

/* 카드 */
.guide-item{
    display:flex;
    align-items:stretch;
    overflow:hidden;
    border-radius:14px;
    text-decoration:none;
    background:
    linear-gradient(to right,
    rgba(20,8,3,.96),
    rgba(10,4,2,.98));
    border:1px solid #4f2d0f;
    transition:all .3s ease;
    min-height:180px;
}

.guide-item:hover{
    transform:translateY(-4px);
    border-color:#ffbf5a;
    box-shadow:0 0 22px rgba(255,170,50,.18);
}

/* 이미지 */
.guide-thumb{
    width:333px;
    min-width:333px;
    overflow:hidden;
    position:relative;
}

.guide-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .45s ease;
}

.guide-item:hover img{
    transform:scale(1.05);
}

/* 우측 */
.guide-content{
    flex:1;
    padding:28px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

/* 제목 */
.guide-title{
    position:relative;
    color:#ffd46d;
    font-size:30px;
    font-weight:bold;
    margin-bottom:28px;
    padding-bottom:16px;
    letter-spacing:-1px;
}

.guide-title:after{
    content:'';
    position:absolute;
    left:0;
    bottom:0;
    width:120px;
    height:2px;
    background:
    linear-gradient(to right,
    #a16a22,
    #f7d48a,
    #a16a22);
}

/* 내용 */
.guide-desc{
    color:#f2e2c5;
    font-size:19px;
    line-height:1.8;
    margin-bottom:22px;

    display:-webkit-box;
    -webkit-line-clamp:4;
    -webkit-box-orient:vertical;
        white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 메타 */
.guide-meta{
    display:flex;
    align-items:center;
    gap:10px;
    color:#9f7744;
    font-size:13px;
}

.dot{
    width:4px;
    height:4px;
    border-radius:50%;
    background:#6f4921;
}

/* 페이지 */
.guide-pagination{
    margin-top:45px;
}

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

.kboard-pagination-pages li a,
.kboard-pagination-pages li span{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:8px;
    background:#140804;
    border:1px solid #5b3613;
    color:#d7a65e;
    text-decoration:none;
}

.kboard-pagination-pages li.active span{
    background:
    linear-gradient(to bottom,
    #ffdf8e,
    #bf7b1f);
    color:#2a1500;
    font-weight:bold;
}

/* 글쓰기 */
.guide-write-wrap{
    margin-top:40px;
}
.guide-title{
    min-height:28px;
    line-height:28px;
    display:flex;
    align-items:center;
    overflow:hidden;
}

.guide-title span{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    width:100%;
}

.guide-desc{
    height:22px;
    line-height:22px;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}

.guide-content{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-width:0;
}
/* 모바일 */
@media(max-width:900px){

    .guide-item{
        flex-direction:column;
    }

    .guide-thumb{
        width:100%;
        min-width:100%;
        height:240px;
    }

    .guide-title{
        font-size:24px;
    }

    .guide-desc{
        font-size:16px;
    }

}

@media(max-width:640px){

    .guide-search input{
        width:100%;
    }

    .guide-content{
        padding:22px;
    }

    .guide-title{
        font-size:20px;
    }

    .guide-desc{
        font-size:14px;
        line-height:1.6;
    }

}