/* 닷코드 기자실 기사(source=gijasil)에만 붙는 작은 css (0042-01, 보조⑲) — 뉴스 4곳 틀(nm · dn · pd · ne) 어디에나 맞게 색 · 글꼴은 사이트 것을 그대로 씀.
   기자 얼굴 사진은 원본 비율 그대로(높이만 맞춤, 자르지 않음 · 빈 곳 채우지 않음). */
.gj-who{display:inline-flex;align-items:center;gap:8px;vertical-align:middle}
.gj-face{display:block;width:30px;height:30px;max-width:30px;max-height:30px;object-fit:cover;border-radius:50%;flex:none;pointer-events:none}   /* 보조K8: 둥근 아이콘 */
.nm .by b.gj-who{display:flex;white-space:nowrap}   /* fb/90: 뉴스미터 「.nm .by b{display:block}」이 이겨 이름이 사진 아래로 떨어지던 것 — 사진 옆 한 줄(입력 시각은 그대로 다음 줄) */
.gj-rep{display:flex;align-items:center;gap:16px;margin:36px 0 18px;padding:18px 20px;border:1px solid rgba(0,0,0,.12);border-radius:6px;background:rgba(0,0,0,.025)}
.gj-rface{display:block;width:56px;height:56px;max-width:56px;max-height:56px;object-fit:cover;border-radius:50%;flex:none;pointer-events:none}
.gj-rt{flex:1;min-width:0}
.gj-rt b{display:block;font-size:17px;font-weight:700;line-height:1.4}
.gj-rt span{display:block;margin-top:2px;font-size:13px;opacity:.75}
.gj-rt small{display:block;margin-top:6px;font-size:12.5px;line-height:1.55;opacity:.65}
.gj-rep>a{flex:none;font-size:13.5px;font-weight:600;white-space:nowrap}
.art-b .gj-info,.ar-b .gj-info{margin:0 0 26px;padding:14px 18px;border:1px solid rgba(0,0,0,.14);border-radius:4px;background:rgba(0,0,0,.035);font-size:14.5px;line-height:1.8;word-break:keep-all}
/* 사진 칸(에디터 0045, README 11) — 4곳 틀(nm .art-b · dn/pd/ne .ar-b) 공통. 원본 비율 그대로, 자르지 않고 흐림 · 색으로 채우지 않음 */
/* 개별사진: 문서 너비(doc)는 사이트 기본 figure 그대로 · 원본 크기(orig) · 작게(small, 절반) + 정렬 */
.art-b figure.dc-photo img,.ar-b figure.dc-photo img{display:inline-block;height:auto!important;max-width:100%;vertical-align:top}
.art-b figure.dc-orig img,.ar-b figure.dc-orig img{width:auto!important}
.art-b figure.dc-small img,.ar-b figure.dc-small img{width:50%!important}
.art-b figure.dc-al-left,.ar-b figure.dc-al-left{text-align:left}
.art-b figure.dc-al-center,.ar-b figure.dc-al-center{text-align:center}
.art-b figure.dc-al-right,.ar-b figure.dc-al-right{text-align:right}
.art-b figure.dc-photo figcaption,.ar-b figure.dc-photo figcaption{text-align:center}
/* PH-5 원본 그대로(기준 3판, 2026-11-28): 새로 낸 글의 가로 500 ~ 1199 가로 사진은 늘려 저장하지 않고 figure.dc-keep + --nw(원래 가로 × 1.5, app/gj/yjkeep.php gj_yk_fig) —
   화면에서 칸 폭까지 키워 가운데(원래 가로의 1.5배 넘게는 안 키움). 옛 틀 4곳 · 새 틀 4곳 모두 figure 폭을 min(칸, --nw)로 잡거나 칸 가득이라 그림 쪽만 맞춤.
   1200 으로 늘려 저장한 옛 글 · 끈 뒤에 낸 글은 이 class 가 없어 지금 그대로 */
figure.dc-keep img{display:block!important;width:min(100%,var(--nw))!important;max-width:100%!important;height:auto!important;margin-left:auto!important;margin-right:auto!important}
/* 콜라주(나란히): 줄마다 가로/세로 비율(flex)로 나눠 높이를 맞춤. 줄 폭 한도(style max-width)는 서버가 적음 — 원본보다 크게 늘리지 않음 (0059-03) */
.dc-row{display:flex;gap:6px;margin-left:auto;margin-right:auto}
.dc-row+.dc-row{margin-top:6px}
.dc-cell{min-width:0}
.art-b .dc-cell img,.ar-b .dc-cell img{display:block;width:100%!important;height:auto!important;max-width:none;margin:0}
/* k/63center: 묶음 figure 폭 = 그 줄 폭(서버가 적은 줄 폭 한도까지, 칸을 넘지 않음)으로 잡아 본문 칸 가운데에. 사이트 css 의 figure[style*="--nw"](lib.php fig_nw 가 첫 사진 폭을 적음)가
   묶음 전체를 첫 사진 한 장 폭으로 줄이던 것을 PC · 태블릿에서 바로잡음 — 각 사진은 줄 폭 한도 때문에 원본보다 커지지 않는다. 휴대폰(767 이하)은 그대로 */
@media(min-width:768px){
  .nm .art-b figure.dc-collage[style*="--nw"],.dn .ar-b figure.dc-collage[style*="--nw"],.pd .ar-b figure.dc-collage[style*="--nw"],.ne .ar-b figure.dc-collage[style*="--nw"]{width:fit-content;max-width:100%;margin-left:auto;margin-right:auto}
  .nm .art-b figure.dc-collage[style*="--nw"] figcaption,.dn .ar-b figure.dc-collage[style*="--nw"] figcaption,.pd .ar-b figure.dc-collage[style*="--nw"] figcaption,.ne .ar-b figure.dc-collage[style*="--nw"] figcaption{width:0;min-width:100%}   /* 설명 줄이 묶음 폭을 넓히지 않게 */
}
/* 슬라이드: 옆으로 넘기는 줄(스크립트 없이) */
.dc-track{display:flex;align-items:center;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.dc-slide-item{flex:0 0 100%;scroll-snap-align:center;text-align:center}
.art-b .dc-slide-item img,.ar-b .dc-slide-item img{display:inline-block;width:auto!important;max-width:100%;max-height:80vh;height:auto!important;margin:0}
.dc-n{display:block;margin-top:4px;font-size:12px;opacity:.6}
.art-b figure.dc-collage figcaption,.art-b figure.dc-slide figcaption,.ar-b figure.dc-collage figcaption,.ar-b figure.dc-slide figcaption{text-align:center}
.art-b .gj-tags,.ar-b .gj-tags{margin-top:28px;font-size:14px;opacity:.7;word-break:break-all}
.art-b blockquote .src,.ar-b blockquote .src{margin-top:6px;font-size:14px;font-weight:400;opacity:.7}
/* 광고 자리: 이 기사의 광고는 기자 애드센스(pub-…). 실제 광고가 아닐 때(임시 주소 · 시험) 「광고 자리(pub-…)」 로 보여 줌 */
.ad[data-pub]::after{content:"광고 자리(" attr(data-pub) ") · " attr(data-pc)}
.ad.ad-live::after{content:none}
@media(max-width:767px){
  .ad[data-pub][data-mo]::after{content:"광고 자리(" attr(data-pub) ") · " attr(data-mo)}
  .gj-rep{flex-wrap:wrap;gap:12px;padding:16px}
  .gj-rface{height:48px;width:48px}
  .gj-rep>a{flex-basis:100%}
}
/* 휴대폰: 0059-03 부터 줄을 깨지 않는다 — 네이버 블로그처럼 PC 와 같은 줄(에디터 모양 = 기사 모양). 틀이 휴대폰에서 figure 를 화면 끝까지 넓히는 것(nm margin:-16px)은 그대로 */
/* 영상(0059-03): 바깥 영상 = 사이트 공통 16:9 칸(reset.css .yt) · 쇼츠 = 9:16 세로 칸(가운데, 폭 360 까지) · 영상 파일 = 원래 비율(채우지 않음) */
figure.vid-tall{max-width:360px;margin-left:auto!important;margin-right:auto!important}
figure.vid-tall .yt{padding-bottom:177.78%}
figure.vid-file video{display:block;width:auto;max-width:100%;max-height:80vh;height:auto;margin:0 auto;aspect-ratio:auto 16/9}
figure.vid figcaption{text-align:center}
/* 슬라이드 PC 화살표(js/gj/art.js 가 붙임) — 마우스가 있는 화면에서만, 손가락 화면은 옆으로 밀기 */
figure.dc-slide{position:relative}
.dc-nav{display:none}
@media (hover:hover) and (pointer:fine){
  .dc-js .dc-nav{display:block}
  .dc-nav button{position:absolute;top:calc(50% - 40px);z-index:2;width:44px;height:44px;border:0;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;font:400 30px/40px sans-serif;cursor:pointer;opacity:.85}
  .dc-nav button:hover{opacity:1}
  .dc-nav button:disabled{opacity:.18;cursor:default}
  .dc-nav .dc-prev{left:10px}
  .dc-nav .dc-next{right:10px}
}
/* 0059 커츄 1122-17 표: 뉴스 4곳의 옛 기사 표 모양(.art-b · .ar-b table)을 그대로 쓰고, 옛 kina 틀만 휴대폰에서 표가 옆으로 밀리게 */
.r-kina .art-b table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
