@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Borel&display=swap');

/* ============================================================
   Salon List Page Styles
   Figma 시안 기준 (node-id: 1:904)
   ============================================================ */

/* ── 페이지 레이아웃 ── */
.salon-list-page {
    max-width: 1280px;
    margin: 0 auto;
    padding-bottom: 56px;
}

.salon-list-page .page-title {
    font-family: var(--font-family);
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    color: #18191d;
    margin: 0 0 32px 0;
}

/* ── 다크 배너 ── */
.salon-banner {
    display: flex;
    align-items: center;
    width: 100%;
    height: 116px;
    padding: 0 32px;
    background-color: #1c1c1c;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 32px;
    box-sizing: border-box;
}

.salon-banner .banner-logo {
    flex-shrink: 0;
    height: 52px;
    margin-right: 32px;
}

.salon-banner .banner-logo img {
    height: 100%;
    width: auto;
}

.salon-banner .banner-desc {
    flex: 1;
    font-family: var(--font-family);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.45;
    color: #fff;
    margin: 0;
}

.salon-banner .banner-image {
    flex-shrink: 0;
    height: 76px;
    margin-left: 32px;
}

.salon-banner .banner-image img {
    height: 100%;
    width: auto;
}

/* ── 카드 그리드 ── */
.salon-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
}

/* ── 카드 아이템 ── */
.salon-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-decoration: none;
    color: inherit;
}

.salon-card:hover {
    text-decoration: none;
    color: inherit;
}

.salon-card .card-thumb {
    width: 100%;
    height: 240px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #fafafa;
}

.salon-card .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.salon-card:hover .card-thumb img {
    transform: scale(1.05);
}

.salon-card .card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

/* 해시태그 */
.salon-card .card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 18.3px;
}

.salon-card .card-tags span {
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 400;
    line-height: 18.3px;
    color: #460082;
}

/* 카드 제목 - 고정 2줄 높이 */
.salon-card .card-title {
    font-family: var(--font-family);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #18191d;
    margin: 0;
    min-height: calc(18px * 1.4 * 2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 카드 요약 - 고정 3줄 높이 */
.salon-card .card-summary {
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    color: #3d3e44;
    margin: 0;
    min-height: calc(22px * 3);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 카드 날짜 - 하단 고정 */
.salon-card .card-date {
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 400;
    line-height: 18.3px;
    color: #a0a1a7;
    margin-top: auto;
}

/* ── 빈 목록 ── */
.salon-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 0;
    font-family: var(--font-family);
    font-size: 16px;
    color: #a0a1a7;
    line-height: 1.6;
}

/* ── 페이징 ── */
.salon-list-page .paging {
    margin-top: 48px;
}

/* ── Salon Detail Page Styles (기존 유지) ── */
.media_detail_wrap .date {
    margin-top: 30px;
}
