/* ================================
   ANGELBEAT Simple v3
================================ */

.ab-latest{
width: 100%;
    max-width: 1050px; /* 원하는 최대 픽셀 값을 입력하세요 (예: 800px, 1000px 등) */
    margin: 20px auto;
}

.ab-latest-header{
    font-size:20px;
    font-weight:400;
    color:#222;
    letter-spacing:-0.3px;
    margin-bottom:14px;
    padding-bottom:10px;
    border-bottom:1px solid #f2f2f2;
}

.ab-item{
    display:block;
    padding:7px 4px; /* 기존 13px에서 7px로 수정하여 위아래 간격을 줄였습니다 */
    text-decoration:none;
}

.ab-item:hover{
    padding-left:12px;
    background:#fafafa;
}

.ab-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
}

/* 제목 영역 전체를 감싸는 컨테이너 */
.ab-title{
    display:flex;
    align-items:center;
    flex:1;
    min-width:0;
}

/* 게시판명 및 카테고리명 스타일 */
.ab-prefix{
    color:#555;
    font-size:14px;
    margin-right:8px;
    white-space:nowrap;
    flex-shrink:0; /* 공간이 부족해도 줄어들거나 줄바꿈 되지 않도록 설정 */
}

/* 실제 제목 텍스트 (중복 선언된 부분 병합) */
.ab-title-text{
    flex:1;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:17px;
    font-weight:400;
    color:#333;
}

.ab-item:hover .ab-title-text{
    color:#111;
}

.ab-meta{
    width:140px;
    display:flex;
    justify-content:space-between;
    color:#9a9a9a;
    flex-shrink:0;
}

.ab-date{
    width:90px;
    text-align:right;
}

.ab-comments{
    width:45px;
    text-align:right;
}

.ab-badge{
    margin-right:8px;
    background:#ff4d4f;
    color:#fff;
    font-size:10px;
    padding:2px 7px;
    border-radius:20px;
    font-weight:700;
    flex-shrink:0;
}

@media(max-width:768px){
    .ab-row{
        flex-direction:column;
        align-items:flex-start;
        gap:8px;
    }

    .ab-meta{
        gap:15px;
    }

    .ab-title-text{
        white-space:normal; /* 모바일에서는 제목이 말줄임되지 않고 여러 줄로 보이게 설정 */
    }
}
