@charset "euc-kr";
/* ============================================================
   WEADD(2026-09-12): 대표원장 칼럼 스킨(column) 스타일  - 위치: /css/column.css (스킨 폴더 /board/ 는 robots.txt 로 막혀 있어 검색로봇이 CSS 를 못 읽는 문제를 피함)
   - 목록(카드형) / 글(아티클) / 배너 / 작성자 박스 / 관련 시술 / 상담 버튼
   - 시술안내·이벤트 페이지와 같은 색(골드 #b99a63, 진회 #2c2a27, 크림 #f9f7f3)과 글꼴(Pretendard)
   ============================================================ */

/* ---------- 상단 배너 (sub09_05.html 에서 출력) ----------
   - 배너는 화면 맨 위(고정 헤더 아래)부터 시작: PC 는 헤더가 투명이라 배너가 헤더 뒤로 비치고(이벤트 안내 페이지와 같은 방식),
     1024px 이하에서는 헤더(64px)가 흰색 불투명이라 padding-top 64px 로 내용을 헤더 아래에 둠.
   - 원장님 사진(/images/sub08/doctor_profile.jpg, 세로 1100x1650 스튜디오 사진)은 오른쪽에 두고 왼쪽 가장자리를 서서히 지움(mask).
     가로로 꽉 채우는(cover) 방식은 세로 사진이라 얼굴만 크게 잘려서 이 방식으로.
   - PC 에서는 오른쪽 퀵메뉴(카카오톡 등 동그라미)·LOGIN/JOIN 과 겹치지 않게 사진을 오른쪽 끝에서 130px 띄움. */
.col_visual { position: relative; height: 440px; overflow: hidden; box-sizing: border-box; display: flex; flex-flow: column-reverse; justify-content: center; align-items: flex-start;
    padding: 0 20px 0 max(24px, calc((100vw - 1400px) / 2 + 24px));
    /* 오른쪽 끝 색을 사진의 스튜디오 배경색(#c5d2d8 근처)에 맞춰 사진 테두리가 안 보이게 */
    background: linear-gradient(90deg, #ffffff 0%, #f6f7f8 36%, #e4eaed 60%, #d0dbe1 80%, #c5d2d8 100%); }
.col_visual::before { content: ''; position: absolute; top: 0; right: 130px; bottom: 0; width: 430px;
    background: url('/images/sub08/doctor_profile.jpg') right 12% / auto 128% no-repeat;
    /* 사진의 왼쪽·오른쪽 가장자리를 길게 서서히 지워서 경계선이 안 보이게 (사진 자체는 선명하게 유지) */
    -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 10%, #000 46%, #000 80%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 10%, #000 46%, #000 80%, rgba(0,0,0,0) 100%); }
.col_visual::after { content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(255,255,255,0) 60%, rgba(255,255,255,.08) 100%); }   /* 오른쪽 위 LOGIN/JOIN 글자 자리 아주 옅게 밝힘 */
.col_visual.is_view { height: 300px; }
.col_visual.is_view::before { width: 280px; }
.col_visual .col_vtit { position: relative; z-index: 1; font-family: 'Pretendard', 'Malgun Gothic', sans-serif; font-size: 40px; font-weight: 700; color: #1e1e1e; margin: 0; line-height: 1.2; }
.col_visual .col_vtit::after { content: ''; display: block; width: 44px; height: 2px; background: #b99a63; margin-top: 16px; }
.col_visual .col_ven { position: relative; z-index: 1; font-family: 'Raleway', 'Pretendard', sans-serif; font-size: 13px; font-weight: 400; letter-spacing: 4px; color: #b99a63; margin: 0 0 12px; }
@media (max-width: 1199px) {
    .col_visual::before { right: 100px; }
}
@media (max-width: 1024px) {
    /* 헤더가 흰색 불투명 64px 이 되는 구간(tpl_top.php 규칙): 배너 내용·사진을 헤더 아래로 */
    .col_visual { height: 404px; padding-top: 64px; }
    .col_visual.is_view { height: 284px; }
    /* 사진: 세로 110% 크기로 오른쪽 정렬 -> 상자 왼쪽 약 27% 지점부터 사진이 시작되므로 가로 fade 를 25%~60% 로.
       위쪽도 서서히 지워서(세로 fade) 흰 헤더 밑 사진 윗부분 경계가 안 보이게 - 가로/세로 fade 를 겹쳐(intersect) 적용 */
    .col_visual::before { top: 64px; right: 24px; width: 340px; background-position: right 25%; background-size: auto 110%;
        -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 25%, #000 60%, #000 84%, rgba(0,0,0,0) 100%), linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 30%);
        -webkit-mask-composite: source-in;
        mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 25%, #000 60%, #000 84%, rgba(0,0,0,0) 100%), linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 30%);
        mask-composite: intersect; }
    .col_visual.is_view::before { width: 240px;
        -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 30%, #000 64%, #000 84%, rgba(0,0,0,0) 100%), linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 30%);
        mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 30%, #000 64%, #000 84%, rgba(0,0,0,0) 100%), linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 30%); }
}

/* ---------- 공통 ---------- */
.col_page { font-family: 'Pretendard', 'Noto Sans KR', 'Malgun Gothic', sans-serif; color: #333; -webkit-font-smoothing: antialiased; }
.col_page a { color: inherit; text-decoration: none; }
.col_page a:hover { text-decoration: none; }
.col_bc { max-width: 860px; margin: 0 auto; padding: 18px 24px 0; font-size: 13px; color: #888; }   /* 글 영역(.col_art)과 같은 폭 */
.col_bc span { margin: 0 8px; color: #bbb; }
.col_bc a:hover { color: #b99a63; }

/* ---------- 목록 ---------- */
.col_wrap { max-width: 1000px; margin: 0 auto; padding: 40px 24px 90px; box-sizing: border-box; }
/* 소개 박스: 사진 없이 큰 따옴표 + 글 + 약력 줄 (원장님 사진은 배너에 있으므로 중복 안 함) */
.col_intro { display: flex; gap: 18px; align-items: flex-start; padding: 28px 32px 24px 28px; background: #f9f7f3; border-left: 4px solid #b99a63; border-radius: 0 12px 12px 0; margin-bottom: 36px; }
.col_intro_q { flex: 0 0 auto; font-family: Georgia, 'Times New Roman', serif; font-size: 66px; line-height: 0.55; color: #b99a63; margin-top: 16px; }
.col_intro h2 { font-size: 22px; font-weight: 700; color: #2c2a27; margin: 0 0 8px; line-height: 1.3; }
.col_intro h2 small { font-size: 13px; color: #b99a63; font-weight: 500; margin-left: 10px; letter-spacing: 1px; font-family: 'Raleway', 'Pretendard', sans-serif; }
.col_intro p { margin: 0; font-size: 16px; line-height: 1.7; color: #555; word-break: keep-all; }
.col_motto { margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid #e8e1d3; font-size: 15px; font-weight: 600; color: #8a6d3b; letter-spacing: -0.01em; }
.col_motto::before { content: ''; display: inline-block; width: 18px; height: 2px; background: #b99a63; margin: 0 10px 5px 0; }
.col_cats_wrap { position: relative; margin: 0 0 26px; }
.col_cats { display: flex; gap: 7px; flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; list-style: none; }
.col_cats li { margin: 0; }
.col_cats a { display: inline-block; padding: 8px 14px; border: 1px solid #e0d5c5; border-radius: 999px; font-size: 14.5px; color: #6f624d; background: #fff; white-space: nowrap; transition: all .2s ease; }
.col_cats_more { display: none; }
/* PC(1240px 이상): 분류 버튼 12개가 한 줄에 오도록 버튼 줄만 본문 폭(1000px)보다 좌우 100px 씩 넓게 (글자 크기는 그대로) */
@media (min-width: 1240px) {
    .col_cats_wrap { margin-left: -100px; margin-right: -100px; }
}
.col_cats a:hover { border-color: #b99a63; color: #8a6d3b; }
.col_cats a.on { background: #b99a63; border-color: #b99a63; color: #fff; }
.col_tools { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 14px; color: #888; }
.col_tools .col_admin a { display: inline-block; padding: 6px 14px; border: 1px solid #2c2a27; border-radius: 999px; font-size: 13px; color: #2c2a27; margin-left: 6px; }
.col_grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 24px; }
.col_card { display: block; }
.col_card .th { aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: #efece6; margin-bottom: 14px; }
.col_card .th img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.col_card:hover .th img { transform: scale(1.04); }
.col_card .cat { display: inline-block; font-size: 12.5px; color: #b99a63; font-weight: 600; letter-spacing: .5px; margin-bottom: 6px; }
.col_card .cat.news { color: #7a6a52; }
.col_card h3 { font-size: 18px; font-weight: 700; color: #2c2a27; line-height: 1.45; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: keep-all; }
.col_card:hover h3 { color: #8a6d3b; }
.col_card p { font-size: 14.5px; color: #777; line-height: 1.6; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: keep-all; }
.col_card .meta { font-size: 13px; color: #999; }
.col_card .meta i { font-style: normal; margin: 0 6px; color: #ccc; }
.col_empty { padding: 60px 0; text-align: center; color: #888; font-size: 16px; }
.col_paging { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 48px; flex-wrap: wrap; }
.col_paging a, .col_paging span { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e5e1d9; border-radius: 8px; font-size: 14px; color: #555; padding: 0 6px; box-sizing: border-box; }
.col_paging a:hover { border-color: #b99a63; color: #8a6d3b; }
.col_paging span.on { background: #2c2a27; border-color: #2c2a27; color: #fff; }
.col_search { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.col_search select, .col_search input[type=text] { height: 40px; border: 1px solid #e0d5c5; border-radius: 8px; padding: 0 12px; font-size: 14px; font-family: inherit; color: #444; background: #fff; }
.col_search input[type=text] { width: 220px; }
.col_search button { height: 40px; padding: 0 18px; border: 0; border-radius: 8px; background: #2c2a27; color: #fff; font-size: 14px; font-family: inherit; cursor: pointer; }

/* ---------- 글 ---------- */
.col_art { max-width: 860px; margin: 0 auto; padding: 34px 24px 90px; box-sizing: border-box; }
.col_art .cat { display: inline-block; font-size: 13px; color: #b99a63; font-weight: 600; letter-spacing: .5px; }
.col_art h1.col_tit { font-size: 34px; font-weight: 700; color: #1e1e1e; line-height: 1.35; margin: 10px 0 18px; word-break: keep-all; letter-spacing: -0.01em; }
.col_byline { display: flex; align-items: center; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid #e5e1d9; font-size: 14.5px; color: #777; flex-wrap: wrap; }
.col_byline > span::before { content: ''; display: inline-block; width: 18px; height: 2px; background: #b99a63; margin: 0 10px 4px 0; }   /* 작은 골드 선 (사진 대신) */
.col_byline b { color: #2c2a27; font-weight: 600; }
.col_byline i { font-style: normal; color: #ccc; margin: 0 4px; }
.col_summary { margin: 28px 0 8px; padding: 20px 24px; background: #f9f7f3; border-left: 3px solid #b99a63; border-radius: 0 10px 10px 0; }
.col_summary b { display: block; font-size: 14px; color: #b99a63; letter-spacing: 1px; margin-bottom: 8px; }
.col_summary p { margin: 0; font-size: 16px; line-height: 1.75; color: #444; word-break: keep-all; }
/* 본문: 에디터(스마트에디터)에서 넣은 인라인 글꼴·크기는 무시하고 사이트 글꼴·크기로 통일 */
.col_body { font-size: 17.5px; line-height: 1.9; color: #333; word-break: keep-all; overflow-wrap: break-word; margin-top: 24px; }
.col_body p { margin: 0 0 1.1em; }
.col_body span, .col_body font, .col_body p { font-family: inherit !important; font-size: inherit !important; line-height: inherit !important; }
.col_body b, .col_body strong { font-weight: 700; color: #2c2a27; }
.col_body img { max-width: 100% !important; height: auto !important; border-radius: 8px; display: block; margin: 8px auto 22px; }
.col_body h2 { font-size: 24px; font-weight: 700; color: #2c2a27; margin: 44px 0 14px; padding-bottom: 10px; border-bottom: 2px solid #2c2a27; line-height: 1.4; }
.col_body h3 { font-size: 19px; font-weight: 600; color: #2c2a27; margin: 28px 0 10px; padding-left: 10px; border-left: 3px solid #b99a63; line-height: 1.45; }
.col_body h4 { font-size: 17.5px; font-weight: 600; color: #2c2a27; margin: 22px 0 8px; }
.col_body ul, .col_body ol { padding-left: 22px; margin: 0 0 1.1em; }
.col_body table { max-width: 100%; border-collapse: collapse; }
.col_body td, .col_body th { border: 1px solid #e5e1d9; padding: 8px 10px; }
.col_body a { color: #8a6d3b; text-decoration: underline; text-underline-offset: 3px; }
.col_body iframe { max-width: 100%; }
.col_attach { margin-top: 20px; font-size: 14px; color: #666; }
.col_attach a { color: #8a6d3b; text-decoration: underline; }
.col_author { display: flex; gap: 22px; align-items: center; margin-top: 50px; padding: 26px 28px; border: 1px solid #e5e1d9; border-radius: 12px; }
.col_author img { width: 78px; height: 98px; border-radius: 10px; object-fit: cover; object-position: center top; flex: 0 0 78px; background: #e6e0d4; }   /* 동그라미 대신 세로 사진 */
.col_author b { display: block; font-size: 18px; color: #2c2a27; margin-bottom: 6px; }
.col_author b small { font-size: 12.5px; color: #b99a63; margin-left: 8px; font-weight: 500; font-family: 'Raleway', 'Pretendard', sans-serif; letter-spacing: 1px; }
.col_author p { margin: 0 0 10px; font-size: 15px; color: #666; line-height: 1.65; word-break: keep-all; }
.col_author a.more { font-size: 14px; color: #8a6d3b; text-decoration: underline; text-underline-offset: 3px; }
.col_rel { margin-top: 44px; }
.col_rel h2 { font-size: 20px; font-weight: 700; color: #2c2a27; margin: 0 0 14px; }
.col_rel ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.col_rel li { margin: 0; }
.col_rel li a { display: block; padding: 16px 18px; border: 1px solid #e5e1d9; border-radius: 10px; font-size: 15.5px; color: #2c2a27; font-weight: 600; transition: border-color .2s; }
.col_rel li a:hover { border-color: #b99a63; }
.col_rel li a small { display: block; font-size: 13px; color: #999; font-weight: 400; margin-top: 4px; }
.col_cta { display: flex; gap: 10px; margin-top: 34px; }
.col_cta a { flex: 1; text-align: center; padding: 16px; border-radius: 10px; font-size: 16px; font-weight: 600; }
.col_cta .k { background: #fae100; color: #3c1e1e; }
.col_cta .t { background: #2c2a27; color: #fff; }
.col_pn { margin-top: 40px; border-top: 1px solid #e5e1d9; border-bottom: 1px solid #e5e1d9; }
.col_pn a, .col_pn div { display: flex; gap: 14px; padding: 16px 4px; font-size: 15.5px; color: #444; align-items: baseline; }
.col_pn a + a, .col_pn div + a, .col_pn a + div { border-top: 1px solid #eee; }
.col_pn b { flex: 0 0 56px; color: #999; font-weight: 500; font-size: 13.5px; }
.col_pn a:hover span { color: #8a6d3b; }
.col_pn .none { color: #bbb; }
.col_btns { display: flex; justify-content: center; gap: 8px; margin-top: 28px; }
.col_btns a { padding: 13px 40px; border: 1px solid #2c2a27; border-radius: 999px; font-size: 15px; color: #2c2a27; }
.col_btns a.adm { border-color: #ccc; color: #888; padding: 13px 22px; }
.col_btns a:hover { background: #2c2a27; color: #fff; }

/* ---------- 태블릿 / 폰 ---------- */
@media (max-width: 1024px) {
    .col_grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .col_visual { height: 304px; padding-top: 64px; }      /* 보이는 높이 240px + 헤더 64px */
    .col_visual::before { top: 64px; right: 6px; width: 250px;
        -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 28%, #000 62%, #000 84%, rgba(0,0,0,0) 100%), linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 30%);
        mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 28%, #000 62%, #000 84%, rgba(0,0,0,0) 100%), linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 30%); }
    .col_visual.is_view { height: 244px; }                  /* 보이는 높이 180px + 헤더 64px */
    .col_visual.is_view::before { width: 190px;
        -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 28%, #000 62%, #000 84%, rgba(0,0,0,0) 100%), linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 30%);
        mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 28%, #000 62%, #000 84%, rgba(0,0,0,0) 100%), linear-gradient(180deg, rgba(0,0,0,0) 0%, #000 30%); }
    .col_visual .col_vtit { font-size: 26px; }
    .col_visual .col_vtit::after { margin-top: 12px; }
    .col_visual .col_ven { font-size: 11px; letter-spacing: 3px; }
    .col_bc { padding: 14px 20px 0; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .col_wrap { padding: 26px 20px 60px; }
    .col_intro { gap: 10px; padding: 20px 18px 18px 16px; margin-bottom: 26px; }
    .col_intro_q { font-size: 46px; margin-top: 12px; }
    .col_intro h2 { font-size: 19px; } .col_intro p { font-size: 15px; }
    .col_motto { font-size: 13.5px; padding-left: 22px; text-indent: -22px; word-break: keep-all; line-height: 1.6; }   /* 두 줄이 되면 둘째 줄이 글자 시작선에 맞게 */
    .col_motto::before { width: 14px; margin-right: 8px; }
    /* 폰: 라이브 모바일 사이트의 분류 네모 박스 격자와 같은 형태 - 3칸씩 4줄, 전부 한눈에 보임 */
    .col_cats_wrap { margin: 0 0 20px; }
    .col_cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid #dcd6cb; border-radius: 6px; overflow: hidden; background: #fff; }
    .col_cats li { border-right: 1px solid #e6e1d8; border-bottom: 1px solid #e6e1d8; }
    .col_cats li:nth-child(3n) { border-right: 0; }                     /* 각 줄 마지막 칸 (전체 포함 12칸 = 4줄 x 3칸) */
    .col_cats li:nth-last-child(-n+3) { border-bottom: 0; }              /* 마지막 줄 */
    .col_cats a { display: block; padding: 11px 4px; border: 0; border-radius: 0; text-align: center; font-size: 13.5px; color: #555; background: #fff; white-space: nowrap; }
    .col_cats a.on { color: #b99a63; font-weight: 700; background: #fbf8f2; }
    .col_grid { grid-template-columns: 1fr; gap: 26px; }
    .col_card h3 { font-size: 17.5px; }
    .col_search input[type=text] { width: 150px; }
    .col_art { padding: 22px 20px 60px; }
    .col_art h1.col_tit { font-size: 24px; }
    .col_byline { font-size: 13.5px; }
    .col_summary { padding: 16px 18px; } .col_summary p { font-size: 15px; }
    .col_body { font-size: 16px; line-height: 1.85; }
    .col_body h2 { font-size: 20px; margin-top: 36px; } .col_body h3 { font-size: 17px; }
    .col_author { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; margin-top: 40px; }
    .col_rel ul { grid-template-columns: 1fr; }
    .col_cta { flex-direction: column; }
    .col_pn a, .col_pn div { font-size: 14.5px; }
}
