/* ============================================================================
 * rental-detail-chungho.css
 *
 * 청호나이스 (CHUNGHO) 상품 상세 — 운영 화면용 CSS 스코프.
 * chungho.com REST API (`/api/goods/{id}`) 응답의 goodsDetailHtml 영역을
 * unescape + sanitize 후 .rental-detail-chungho wrapper 로 감싸 사용.
 *
 * 본문 패턴: image.chungho.com/editor/{uuid}.{jpg|gif} 시퀀스 위주.
 *
 * 사용:
 *   <link rel="stylesheet" href="/rental/assets/css/rental-detail-chungho.css">
 *   <div class="rental-detail-chungho"> ... 정리된 detail HTML ... </div>
 * ============================================================================ */

.rental-detail-chungho {
    max-width: 100%;
    margin: 0 auto;
    color: #1a1a1a;
    line-height: 1.6;
    font-size: 16px;
    word-break: keep-all;
}
.rental-detail-chungho * { box-sizing: border-box; }

/* ── 본문 이미지 (editor uuid 시퀀스) ────────────────────── */
.rental-detail-chungho img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ── 본문 wrapper (text-align: center inline style 보존) ── */
.rental-detail-chungho > div,
.rental-detail-chungho [style*="text-align: center"] {
    margin: 0 0 8px;
}

/* ── 본문 텍스트/p ─────────────────────────────────────── */
.rental-detail-chungho p {
    margin: 0 0 8px;
}
.rental-detail-chungho br {
    line-height: 1.2;
}

/* ── 안전망 (sanitize 누락 시) ──────────────────────────── */
.rental-detail-chungho .blind,
.rental-detail-chungho .hidden,
.rental-detail-chungho .sr-only { display: none !important; }
