@charset "utf-8";

/* 기부자 라운지 갤러리 목록 스타일 */

/* 검색 창과 총 게시물 수 가로 배치 */
.lounge-header-bar {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

/* 리스트 컨테이너 */
.lounge-list-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    border-top: 2px solid #003179;
    border-bottom: 2px solid #003179;
    padding:60px 0;
}

/* 개별 카드 */
.lounge-list-item {
    display: flex;
    flex-direction: row;
    gap: 54px;
    align-items: center;
    width: 100%;
    padding: 0;
}

/* 썸네일 없음(예: message 게시판) - 텍스트만 좌우 꽉 채움 */
.lounge-list-item--no-image .lounge-card-content {
    width: 100%;
    flex: 1 1 100%;
    max-width: none;
}

/* 이미지 영역 */
.lounge-card-image {
    position: relative;
    width: 336px;
    height: 336px;
    min-width: 336px;
    min-height: 336px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.lounge-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lounge-card-image-placeholder {
    width: 100%;
    height: 100%;
    background: #f9f9f9;
    display: block;
}

/* 텍스트 영역 */
.lounge-card-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 1;
    min-width: 0;
    padding: 0;
}

/* 제목 */
.lounge-card-title {
    font-family: 'Paperlogy', sans-serif;
    font-weight: 800;
    font-size: 28px;
    line-height: 1.5;
    color: #000000;
    width: 100%;
}

.lounge-card-title a {
    color: #000000;
    text-decoration: none;
    display: block;
}

.lounge-card-title a:hover {
    text-decoration: underline;
}

/* 본문 */
.lounge-card-description {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.8;
    color: #000000;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 72px;
    max-height: 72px;
}

/* 날짜 */
.lounge-card-date {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
}

/* 구분선 */
.lounge-card-divider {
    width: 100%;
    height: 1px;
    background: #ddd;
    margin: 40px 0;
}

/* 빈 목록 */
.lounge-list-empty {
    width: 100%;
    padding: 85px 0;
    text-align: center;
}

.lounge-list-empty p {
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    color: #777;
    margin: 0;
    padding: 0;
}

/* 모바일 반응형 (1024px 이하) */
@media (max-width: 1024px) {
    .lounge-header-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 0;
        box-sizing: border-box;
    }

    .lounge-list-container {
        padding: 40px 0px;
        box-sizing: border-box;
    }

    .lounge-list-item {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .lounge-card-image {
        width: 100%;
        height: 300px;
        min-width: 100%;
        min-height: 300px;
    }
    
    .lounge-card-content {
        width: 100%;
    }
    
    .lounge-card-title {
        font-size: 24px;
    }
    
    .lounge-card-description {
        font-size: 18px;
    }
    
    .lounge-card-divider {
        margin: 20px 0;
    }
}

