/* 미용 칼럼 글의 나 판 (2026-10-15 가지 content/beauty-column-b. 틀은 src/beauty-info.mjs).
   머리 · 그림 칸 · 맺는 면은 안중 칼럼과 같은 틀(pain-post.css 의 .pp-e · herb-info.css 의 .pz.hi)을 그대로 쓰고,
   여기서는 미용 칼럼에만 서는 것(번호 칸 줄 수 · 그림 한 장 · 단추 · 원문 접기)만 맞춘다. 값은 시안(beauty-column-mock.mjs)의 것 그대로다. */

/* 머리의 글 날짜: 짙은 바탕 위라 밝게(옛 칼럼 쪽에 있던 날짜를 나 판 머리에도 둔다) */
.pz.bi .pp-e-top .news-date { color: rgba(255, 255, 255, 0.72); }

/* 번호 칸: 셋까지는 한 줄, 넷은 둘씩 두 줄, 다섯 · 여섯은 셋씩 */
.pz.bi .ig-three.bi-three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 24px; }
.pz.bi .ig-three.bi-three[style*="--n:2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
.pz.bi .ig-three.bi-three[style*="--n:4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 860px; }
.pz.bi .ig-three .ig-name { font-size: 21px; font-weight: 800; line-height: 1.35; }

/* 그림 한 장(성분표 같은 원 글의 그림) */
.pz.bi .bi-fig { margin: 0 0 28px; border-radius: 8px; overflow: hidden; max-width: 900px; }
.pz.bi .bi-fig img { display: block; width: 100%; height: auto; }

/* 그림 칸의 때(UVA · 무기자차 같은 딱지)는 시술 쪽 그림 칸 그대로(그림 왼쪽 위 딱지). 기울임만 걷는다 */
.pz.bi .sc-when { font-style: normal; }
.pz.bi .ig-sc .sc-card .sc-cells[style] .draw .sc-pic img { object-fit: contain; }

/* 맺는 면의 단추(다음 글 · 시술 쪽으로) */
.pz.bi .bi-link { display: inline-flex; gap: 14px; align-items: center; padding: 16px 26px; border-radius: 999px; background: var(--c-main); color: #fff; font-weight: 800; font-size: 19px; text-decoration: none; }
.pz.bi .bi-link:hover { background: var(--c-dark); }
.pz.bi .bi-link:focus-visible { outline: 3px solid var(--c-main); outline-offset: 3px; }
.pz.bi .bi-close .ig-sub { max-width: 24em; }

/* 원문 전체 보기: 접힌 채로 서고, 펼치면 옛 글 꼴(article-body) 그대로 */
.pz.bi .bi-orig { max-width: 1080px; padding: 72px 5vw 24px; font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", sans-serif; word-break: keep-all; }
.pz.bi .bi-orig .article-body { max-width: 720px; }
.pz.bi .bi-orig summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 6px 0; border-top: 2px solid var(--c-dark); border-bottom: 1px solid var(--ig-hair, rgba(34, 38, 34, 0.16)); font-weight: 800; font-size: 19px; color: var(--c-dark); }
.pz.bi .bi-orig summary::-webkit-details-marker { display: none; }
.pz.bi .bi-orig summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform 0.2s; }
.pz.bi .bi-orig details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.pz.bi .bi-orig summary:focus-visible { outline: 3px solid var(--c-main); outline-offset: 2px; }
.pz.bi .bi-orig .article-body { padding-top: 24px; }

@media (max-width: 767px) {
  .pz.bi .ig-three.bi-three, .pz.bi .ig-three.bi-three[style*="--n:2"], .pz.bi .ig-three.bi-three[style*="--n:4"] { grid-template-columns: 1fr; gap: 10px; }
  .pz.bi .ig-three .ig-name { font-size: 19px; }
  .pz.bi .bi-link { font-size: 17px; padding: 14px 22px; }
  .pz.bi .bi-orig { padding: 40px 20px 16px; }
}
