@charset "utf-8";
/* 특허·상표·인증 게시판 (sm_patent)
   - 목록: 회사소개 스타일(sm-about.css)의 브레드크럼·첫 화면 글꼴을 쓰고, 사업 영역처럼 화면 폭 가득한 회색 줄 목록
   - 상세·글쓰기: 기존 틀 유지 */


/* ---------- 목록: 서브 상단 사진 배너·하위 메뉴 탭은 쓰지 않음(회사소개와 같이 헤더 바로 아래에서 첫 화면 시작) ---------- */
body:has(.sm-ip-list) .sm-subhead, body:has(.sm-ip-view-wrap) .sm-subhead { display: none; }
body:has(.sm-ip-list) #container, body:has(.sm-ip-list) #container_wr, body:has(.sm-ip-view-wrap) #container, body:has(.sm-ip-view-wrap) #container_wr { width: auto; background: var(--sm-white); }
body:has(.sm-ip-list) #container, body:has(.sm-ip-view-wrap) #container { padding-top: 0; }
.sm-ip-list, .sm-ip-view-wrap { padding-bottom: clamp(96px, 10vw, 160px); word-break: keep-all; }

/* 머리: 영문 제목 아래에 한 문장·소개를 바로 이어 왼쪽 한 줄기로 쌓음(양끝으로 벌어진 빈 공간 없이). 게시판이라 크기를 줄이고 등장 효과는 넣지 않음 */
.sm-ip-hero { padding: calc(var(--sm-hd-total) + 32px) var(--sm-ab-pad) 0; }
.sm-ip-hero-main { display: flex; flex-direction: column; gap: clamp(20px, 2vw, 28px); max-width: 620px; margin-top: clamp(32px, 4vw, 56px); }
.sm-ip-title { margin: 0; font-family: var(--sm-font-display); font-size: clamp(44px, 5.6vw, 88px); font-weight: 700; line-height: 1; letter-spacing: -0.045em; color: var(--sm-ink); }
.sm-ip-hero-copy .sm-ab-hero-lead { margin: 0 0 10px; }
.sm-ip-hero-copy .sm-ab-text { margin: 0; }

/* 분류 탭: 밑줄 글자 탭 */
.sm-ip-sec { margin-top: clamp(48px, 5vw, 80px); }
.sm-ip-cate { padding: 0 var(--sm-ab-pad); }
.sm-ip-cate #bo_cate_ul { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 0 0 24px; padding: 0; list-style: none; }
.sm-ip-cate #bo_cate_ul a { position: relative; display: inline-block; padding: 6px 0; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; color: var(--sm-ink-3); text-decoration: none; transition: color .2s ease; }
.sm-ip-cate #bo_cate_ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sm-ink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s cubic-bezier(.22, .8, .24, 1); }
.sm-ip-cate #bo_cate_ul a:hover, .sm-ip-cate #bo_cate_ul a#bo_cate_on { color: var(--sm-ink); }
.sm-ip-cate #bo_cate_ul a#bo_cate_on::after, .sm-ip-cate #bo_cate_ul a:hover::after { transform: none; }

/* 줄 목록: 분류 | 이름·관련 브랜드 | 번호·날짜·상태 | 화살표. 마우스를 올리면 제목 색과 화살표만 살짝 바뀜 */
.sm-ip-rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid #dedede; }
.sm-ip-row { border-bottom: 1px solid #dedede; }
.sm-ip-row > a { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 260px) 24px; gap: clamp(16px, 2.4vw, 40px); align-items: center; padding: clamp(20px, 2vw, 28px) var(--sm-ab-pad); color: inherit; text-decoration: none; outline: 0; }
.sm-ip-kind { justify-self: start; padding: 4px 12px; border: 1px solid #d6d6d6; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--sm-ink-2); }
.sm-ip-name strong { display: block; font-size: clamp(17px, 1.35vw, 20px); font-weight: 600; line-height: 1.5; letter-spacing: -0.02em; color: var(--sm-ink); transition: color .2s ease; }
.sm-ip-name em { display: block; margin-top: 4px; font-size: 14px; font-style: normal; color: var(--sm-ink-3); }
.sm-ip-facts { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--sm-ink-3); }
.sm-ip-no { font-family: var(--sm-font-display); font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--sm-ink-2); font-variant-numeric: tabular-nums; }
.sm-ip-when i { margin-left: 8px; font-style: normal; font-weight: 600; color: var(--sm-mango); }
.sm-ip-go { color: #c4c4c4; transition: color .2s ease; }
.sm-ip-row > a:hover .sm-ip-name strong, .sm-ip-row > a:focus-visible .sm-ip-name strong { color: var(--sm-mango); }
.sm-ip-row > a:hover .sm-ip-go, .sm-ip-row > a:focus-visible .sm-ip-go { color: var(--sm-ink); }
.sm-ip-row > a:focus-visible { outline: 2px solid var(--sm-ink); outline-offset: -2px; }

.sm-ip-empty { padding: 90px var(--sm-ab-pad); text-align: center; color: var(--sm-ink-3); }
.sm-ip-note { margin: 32px 0 0; padding: 0 var(--sm-ab-pad); font-size: 14px; color: var(--sm-ink-3); }
.sm-ip-paging { margin: 40px 0; padding: 0 var(--sm-ab-pad); }
.sm-ip-list #bo_btn_top { padding: 0 var(--sm-ab-pad); }

/* 상세 화면 배지 */
.sm-ip-badge { display: inline-block; padding: 5px 13px; border-radius: 999px; font-size: 13px; font-weight: 700; line-height: 1.4; color: #fff; background: var(--sm-ink-2); }
.sm-ip-badge.is-patent { background: var(--sm-primary); }
.sm-ip-badge.is-trademark { background: var(--sm-dark); }
.sm-ip-badge.is-cert { background: var(--sm-leaf); }

/* ---------- 상세 ---------- */
/* 원래 구성(가운데 분류·제목·번호, 정보 표, 설명, 목록 버튼)을 유지하고 목록과 같은 색·선으로 맞춤 */
.sm-ip-view-wrap { padding-top: calc(var(--sm-hd-total) + 32px); padding-left: var(--sm-ab-pad); padding-right: var(--sm-ab-pad); }
.sm-ip-view { max-width: 880px; margin: clamp(40px, 5vw, 72px) auto 0; }
.sm-ip-view-head { padding-bottom: 40px; text-align: center; }
.sm-ip-view-head .sm-ip-badge { margin-bottom: 18px; padding: 4px 12px; border: 1px solid #d6d6d6; background: none; font-size: 13px; font-weight: 600; color: var(--sm-ink-2); }
.sm-ip-view-title { margin: 0; font-size: clamp(26px, 2.8vw, 38px); font-weight: 700; line-height: 1.4; letter-spacing: -0.035em; color: var(--sm-ink); word-break: keep-all; }
.sm-ip-view-no { margin: 12px 0 0; font-family: var(--sm-font-display); font-size: 17px; font-weight: 600; color: var(--sm-ink-2); font-variant-numeric: tabular-nums; }
.sm-ip-table { width: 100%; margin-bottom: 48px; border-collapse: collapse; border-top: 1px solid var(--sm-ink); }
.sm-ip-table th, .sm-ip-table td { padding: 18px 20px; border-bottom: 1px solid #dedede; text-align: left; vertical-align: middle; font-size: 16px; }
.sm-ip-table th { width: 28%; font-size: 15px; font-weight: 600; color: var(--sm-ink-3); }
.sm-ip-table td { color: var(--sm-ink); }
.sm-ip-doc { margin-bottom: 48px; text-align: center; }
.sm-ip-doc img { max-width: 100%; height: auto; border: 1px solid #dedede; }
.sm-ip-body { margin-bottom: 56px; font-size: 17px; line-height: 1.85; color: var(--sm-ink-2); word-break: keep-all; }
.sm-ip-view .btn_bo_user .btn_b01 { border: 1px solid #d6d6d6; background: #fff; color: var(--sm-ink); font-weight: 600; transition: border-color .2s ease; }
.sm-ip-view .btn_bo_user .btn_b01:hover, .sm-ip-view .btn_bo_user .btn_b01:focus-visible { border-color: var(--sm-ink); }

/* ---------- 버튼 ---------- */
.sm-ip-list .btn_bo_user, .sm-ip-view .btn_bo_user { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 0; list-style: none; }
.sm-ip-list .btn_bo_user .btn_b01, .sm-ip-view .btn_bo_user .btn_b01 { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 120px; height: 48px; padding: 0 24px; border-radius: 999px; }

/* ---------- 글쓰기 여분필드 ---------- */
.sm-ip-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; padding: 20px; border: 1px solid var(--sm-line); border-radius: 10px; background: var(--sm-cream); }
.sm-ip-fields label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 14px; color: var(--sm-dark); }
.sm-ip-fields label span { font-weight: 400; color: var(--sm-ink-3); }
.sm-ip-fields .is-wide { grid-column: 1 / -1; }

@media (max-width: 1024px) {
    .sm-ip-row > a { grid-template-columns: 80px minmax(0, 1fr) minmax(0, 200px); }
    .sm-ip-go { display: none; }
}
@media (max-width: 768px) {
    .sm-ip-table th, .sm-ip-table td { padding: 14px 14px; }
    .sm-ip-body { font-size: 16px; }
    .sm-ip-view-wrap { padding-top: calc(var(--sm-hd-total) + 24px); }
    .sm-ip-hero { padding-top: calc(var(--sm-hd-total) + 24px); }
    .sm-ip-hero-main { margin-top: 24px; gap: 16px; }
    .sm-ip-title { font-size: 44px; }
    .sm-ip-sec { margin-top: 48px; }
    .sm-ip-cate #bo_cate_ul a { font-size: 16px; }
    .sm-ip-row > a { grid-template-columns: minmax(0, 1fr); gap: 10px; padding-top: 22px; padding-bottom: 22px; }
    .sm-ip-name strong { font-size: 17px; }
    .sm-ip-facts { flex-direction: row; flex-wrap: wrap; gap: 4px 12px; }
    .sm-ip-fields { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .sm-ip-table th { width: 36%; } .sm-ip-table th, .sm-ip-table td { padding: 12px 10px; font-size: 15px; } }
