/* 뉴스·EVENT 공통 틀 · 이 파일 하나로 두 사이트의 PC 틀을 같이 맞춘다 (대표 11/1 "뉴스랑 이벤트 합쳐서 관리", "뉴스+이벤트 다 같은 페이지인데, 사이즈가 안맞거나 형식이 다르면 안돼")
   ▸ 기준 화면: 뉴스 기사 idxno=156350 · 본문 칸 가로 1280(안쪽 1240, 좌우 20) · 메뉴 띠 아래 14px · 왼쪽 여백 大賞 엠블럼 + 도구 줄 · 오른쪽 여백 구글 스카이스크래퍼
   ▸ 뉴스는 app/views/layout.php 가, EVENT 는 /srv/class/www/head.sub.php 가 맨 마지막에 불러 쓴다 · 틀 숫자는 여기서만 고친다
   ▸ 휴대폰 화면은 건드리지 않는다 (1024px 이상만) */

/* 1) 스크롤바 기준 통일 · EVENT 는 html{overflow-y:scroll} 이라 50vw 가 스크롤바만큼(7.5px) 작게 계산돼 엠블럼·도구 줄·스카이스크래퍼가 본문 쪽으로 밀려 겹쳤다 (대표 11/1 "좌우 스카이스크레퍼와 걸림") */
html{overflow-y:auto!important}

@media (min-width:1024px){
/* 2) EVENT 본문 칸 = 뉴스 main.wrap · 가로 1280, 안쪽 좌우 20(보이는 폭 1240), 메뉴 띠 아래 14px */
#cnt.container{padding-top:14px!important}
#cnt.container>.contents{box-sizing:border-box!important;width:1280px!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important;padding-left:20px!important;padding-right:20px!important}
}

/* 3) 왼쪽 大賞 엠블럼 · 1420px 이상 · 본문 칸 왼쪽 바깥 */
@media (min-width:1420px){html body .brand-emblem{display:block;position:fixed;left:auto;right:calc(50vw + 630px);width:min(96px,calc((100vw - 1280px) / 2 - 6px))}}

/* 4) 도구 줄(공유·글자크기·인쇄·맨 위로·SNS) · 1024~1399 숨김 · 1420~1499 본문 오른쪽 바깥 · 1500 이상 엠블럼 아래 가운데 */
@media (min-width:1024px) and (max-width:1399px){html body:not(.is-admin) .home-tools{display:none!important}}
@media (min-width:1420px) and (max-width:1499px){html body:not(.is-admin) .home-tools{left:auto!important;right:calc(50% - 620px - 76px)!important;top:150px!important}}
@media (min-width:1500px){html body:not(.is-admin):not(.is-insu) .home-tools{left:auto!important;right:calc(50vw + 630px + min(96px, (100vw - 1280px) / 2 - 6px) / 2 - 32px)!important;top:max(150px, min(360px, calc(100vh - 500px)))!important}}

/* 5) 오른쪽 구글 스카이스크래퍼 160×600 · 1600px·높이 700 이상 · 본문 칸 오른쪽 바깥 */
@media (min-width:1600px) and (min-height:700px){html body .sky{display:block;position:fixed;z-index:20;top:max(80px, min(232px, calc(100vh - 620px)));width:160px;height:600px}html body .sky-r{left:calc(50vw + 636px);right:auto}}

/* 6) EVENT 화면 사진 둥근 모서리·왼쪽 세로 막대 빼기 (대표 11/1 "사진 라운딩 빼주고", "이런 바도 다 삭제") */
.bnx-lead{border-left:0!important;padding-left:0!important;background:none!important}
.bnx-hero,.bnx img,.bnx-cards li a,.bnx-list li{border-radius:0!important}
