@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;
}

/* 이미지 영역 */
.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-details {
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.8);
    width: 100%;
    min-height: 72px; /* 기존 description의 최소 높이를 유지하여 레이아웃 깨짐 방지 */
}

.lounge-card-details dl {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 8px 16px;
    margin: 0;
}

.lounge-card-details dt {
    font-weight: 600;
    color: #003179; /* --color-primary-01 */
    flex-shrink: 0;
}

.lounge-card-details dd {
    margin: 0;
    font-weight: 400;
    color: #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 카드 하단 (지정일 및 작성일) */
.lounge-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 16px;
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.6); /* --color-text-secondary */
}

.lounge-card-designated-date {
    font-weight: 500;
}



/* 구분선 */
.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;
}

/* 라운지 view 본문 상세 (대표/주소/전화번호/지정일) - upgrade_adm_from_figma.md 기준 */
.lounge-view-details {
    background-color: #f1f3f7; /* --color-primary-bg */
    border-radius: 12px; /* --radius-lg */
    padding: 32px; /* --spacing-3xl */
    margin-bottom: 24px; /* --spacing-2xl */
    width: 100%;
}

.lounge-view-details dl {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 12px 16px; /* --gap-2xl, --gap-3xl */
    margin: 0;
}

.lounge-view-details dt {
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 800; /* --text-bold-medium */
    line-height: 1.5;
    color: #003179; /* --color-primary-01 */
    flex-shrink: 0;
}

.lounge-view-details dd {
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 400; /* --text-body-medium */
    line-height: 1.8;
    color: #000000;
    margin: 0;
}

/* 소개 행: dt/dd 전체 너비, wr_content(HTML) 표시 */
.lounge-view-details dt.lounge-view-intro-dt {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid #dddddd;
}

.lounge-view-details dd.lounge-view-intro {
    grid-column: 1 / -1;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid #dddddd;
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #000000;
}

.lounge-view-details dd.lounge-view-intro p {
    margin: 0 0 12px 0;
}

.lounge-view-details dd.lounge-view-intro p:last-child {
    margin-bottom: 0;
}

.lounge-view-details dd.lounge-view-intro img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 12px 0;
    border-radius: 12px;
}

/* 지도(iframe) 스타일 */
.lounge-view-details dd.lounge-view-intro iframe {
    width: 100%;
    max-width: 100%;
    height: 360px;
    margin: 16px 0;
    border: 0;
    border-radius: 12px;
    display: block;
}

/* 라운지 view 썸네일 영역 - 이미지 두 개 세로 배치, 중앙 정렬, 너비 800px 높이 auto */
.lounge-view-thumbnail {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
    overflow: hidden;
    margin-bottom: 24px;
    border-radius: 12px;
}

.lounge-view-thumbnail::after {
    display: none;
}

.lounge-view-thumbnail a.view_image {
    display: block;
    width: 800px;
    overflow: hidden;
    border-radius: 12px;
}

.lounge-view-thumbnail img {
    width: 800px;
    height: auto;
    margin-bottom: 0;
    border-radius: 12px;
    display: block;
}

.lounge-view-thumbnail img:last-child {
    margin-bottom: 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;
    }
}



div#daum_map {
    width: 100% !important;
    height: 600px !important;
    margin: 0 auto;
}

iframe.reels-iframe {
    width: 60% !important;
    height: auto !important;
}