.cd_page {
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    background: #fff;
    box-sizing: border-box;
    padding: 14px 12px;
    background: #fff;
    padding-bottom: 86px;
}

/* 상단(이미지 + 타이틀) */
.cd_top {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.cd_thumb {
    flex: 0 0 108px;
    width: 108px;
    height: 108px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eaeaea;
    background: #fafafa;
}

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

.cd_head {
    flex: 1 1 auto;
    min-width: 0;
}

.cd_badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-bottom: 8px;
}

.cd_badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    color: #333;
    background: #f5f5f5;
    white-space: nowrap;
}

.cd_badge_sub {
    color: #5f6f82;
    background: #EDF3F8;
}

.cd_badge_pink {
    color: #e7088a;
    background: #fde7f1;
    font-weight: 600;
}

.cd_title {
    font-size: 20px;
    line-height: 24px;
    color: #222;
    font-weight: 600;
    margin: 0 0 8px 0;
    word-break: keep-all;
}

.cd_offer {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* ✅ 2줄 */
    overflow: hidden;

    font-size: 15px;
    line-height: 20px;
    color: #e7088a;
    margin-bottom: 10px;
    word-break: break-word;
}

.cd_link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e7088a;
    font-weight: 700;
    text-decoration: none;
}

.cd_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 12px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    box-sizing: border-box;
}

.cd_btn_primary {
    background: #e7088a;
    color: #fff;
    border: 1px solid #e7088a;
}

.cd_btn_outline {
    background: #fff;
    color: #e7088a;
    border: 1px solid #f1b7d5;
}

.cd_btn_ghost {
    background: #fff;
    color: #555;
    border: 1px solid #eaeaea;
}

/* 섹션 카드 */
.cd_section {
    margin-top: 14px;
    border-top: 7px solid #f5f5f5; /* 모아뷰 섹션 구분 느낌 */
    padding-top: 14px;
}

.cd_section_title {
    font-size: 17px;
    font-weight: 800;
    color: #222;
    margin-bottom: 10px;
}

/* 정보 목록 */
.cd_meta {
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 10px 12px;
    background: #fff;
}

.cd_meta_row {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f3f3f3;
}

    .cd_meta_row:last-child {
        border-bottom: 0;
    }

.cd_meta_key {
    flex: 0 0 72px;
    font-size: 15px;
    color: #888;
    font-weight: 600;
}

.cd_meta_val {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 15px;
    color: #333;
    line-height: 18px;
    word-break: break-word;
}

.cd_tag {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #e7088a;
    background: #fde7f1;
}

/* 상세 텍스트 */
.cd_detail {
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 12px;
    background: #fff;
    font-size: 14px;
    line-height: 20px;
    color: #444;
    word-break: break-word;
}

.cd_empty {
    color: #999;
}

/* 하단 고정 바 */
.cd_bottom_bar {
    position: fixed;
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px;
    background: #fff;
    border-top: 1px solid #eaeaea;
    box-sizing: border-box;
    z-index: 9999;
}

/* 가로 100% 신청하기 버튼 */
.cd_apply_btn {
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #e7088a;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}
