/* =========================================================================
   Elementor HTML 위젯 격리 리셋 (.tf-iso)
   .tf-iso 로 감싼 위젯 마크업이 테마 전역 CSS(global/custom/부모 base)의
   영향을 받지 않도록 경계에서 무력화. 위젯 쪽 !important 불필요화가 목적.
   ⚠️ 반드시 테마/Elementor CSS '뒤에' 로드 (enqueue priority 100).
   ========================================================================= */

.elementor-widget-html .tf-iso,
.elementor-widget-html .tf-iso *,
.elementor-widget-html .tf-iso *::before,
.elementor-widget-html .tf-iso *::after { box-sizing: border-box; }

/* 텍스트 기본값 — 위젯이 자체 폰트/색을 지정하지 않을 때의 안전 기준 */
.elementor-widget-html .tf-iso {
  font-family: 'Pretendard', system-ui, -apple-system, 'Apple SD Gothic Neo', sans-serif;
  line-height: 1.6;
  color: #0a0a0a;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 링크 — 테마 밑줄/색/hover 제거 (위젯이 직접 지정) */
.elementor-widget-html .tf-iso a { color: inherit; text-decoration: none; }

/* 리스트 — 테마 list-style/마진 제거 */
.elementor-widget-html .tf-iso :is(ul, ol) { margin: 0; padding: 0; list-style: none; }

/* 제목·문단·인용 — 테마 마진 제거 (간격은 위젯 유틸리티가 담당) */
.elementor-widget-html .tf-iso :is(h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd) { margin: 0; }

/* 버튼 — 테마 버튼 스킨 완전 제거, UA 기본으로 되돌림 */
.elementor-widget-html .tf-iso button { all: revert; font: inherit; cursor: pointer; }

/* 폼 요소 — 폰트/색 상속, 테마 appearance 제거 */
.elementor-widget-html .tf-iso :is(input, select, textarea) { font: inherit; color: inherit; }

/* 이미지/SVG — 반응형 기본 */
.elementor-widget-html .tf-iso img,
.elementor-widget-html .tf-iso svg { max-width: 100%; height: auto; }

/* 표 — 테마 table 스킨 제거 */
.elementor-widget-html .tf-iso table { border-collapse: collapse; width: 100%; }
