@charset "utf-8";

/* RESET */
html {overflow-x:hidden}
body {background-color:#fff}
html,body {-webkit-text-size-adjust:none}
body, button, input, select, option, textarea {color:#121212; font-size:15px; letter-spacing:-0.039em; font-family:'Noto Sans KR', 'Helvetica Neue','Apple SD Gothic Neo','AppleGothic','Droid Sans fallback',sans-serif}
body,div,span,em,strong,select,section,article,nav,footer,header,address,caption,figure,figcaption,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,form,fieldset,p,textarea,input,button,tr,th,td,table {margin:0; padding:0;box-sizing:border-box}
h1,h2,h3,h4,h5,h6 {font-size:100%}
ol,ul,li {list-style-type:none}
img,fieldset, iframe {border:0 none; vertical-align:top}
img {max-width:100%}
input,button,select,textarea,label {vertical-align:middle; resize:none; outline:none}
input,textarea {-webkit-appearance:none; -webkit-border-radius:0}
input[type='checkbox'] {-webkit-appearance:checkbox}
input[type='radio'] {-webkit-appearance:radio; -webkit-border-radius:10px}
input[type='button'], input[type='submit'], input[type='reset'] {cursor:pointer}
button {border:0 none; background:transparent; cursor:pointer}
i,em,address,optgroup {font-style:normal}
hr {display:none}
table {border-collapse:collapse; border-spacing:0}
header, footer, section, article, aside, nav, hgroup, details, menu, figure, figcaption {display:block}
legend, .blind {position:absolute; width:1px; height:1px; margin:-1px; padding:0; border:none; overflow:hidden; clip:rect(0 0 0 0); color:transparent}
caption {width:0; height:0; overflow:hidden; color:transparent; text-indent:-9999px}
a {color:#222; text-decoration:none}
a:hover {text-decoration:none}

.inp-txt::placeholder {color:#888; font-size:16px}
.inp-txt:-ms-input-placeholder {color:#888; font-size:16px}
.inp-txt::-ms-input-placeholder {color:#888; font-size:16px}

.loading-spinner {position:absolute; top:50%; left:50%; display:flex; justify-content:center; align-items:center; width:100%; height:73%; transform:translate(-50%, -50%); text-align:center; background-color:#fff}
.detail-top + .chart-area .loading-spinner {height:100%}
.detail-top + .chart-area .loading-spinner .spinner {width:100px; height:100px}

/* 파이어폭스에서만 */
@supports (-moz-appearance: none) {
  .aside-news-list {padding-right:12px; scrollbar-color:#121212 transparent}
}

/* 광고 */
.ad-box, .ad-bottom {margin:0 auto; padding:20px 0; box-sizing:border-box; text-align:center; background-color:#F7F7F7}
.ad-box {margin-bottom:40px}

.isSticky .hk-header.ver-2025[data-header="price"] {pointer-events:none}
.isSticky .hk-header.ver-2025[data-header="price"] .hk-header__inner {pointer-events:auto}
[data-category="price"] .search-wrap.active {position:fixed}

/* .modal-open {overflow:hidden} */
html:has(body.modal-open) {overflow:hidden}
.date, .source, .detail-info .place {letter-spacing:0; font-family:"Helvetica Neue", sans-serif; font-size:12px; color:#585858}
.date + .source-area {margin-left:6px}
.date {margin-top:6px}
.layout-inner {max-width:1200px; margin:0 auto}
.source-area {display:flex; align-items:center; gap:8px}
.source-area .source {color:#121212}
.source-area .date {margin-top:0}
.chart-head .source-area {position:absolute; top:4px; right:0}


/* 검색 영역 */
.search-wrap {position:relative; height:140px; padding:40px 0; box-sizing:border-box; background:url('https://static.hankyung.com/resource/www/price/img/bg-top.png') no-repeat center top}
.search-wrap .btn-search-close {display:none; position:absolute; top:180px; left:50%; transform:translateX(-50%); width:30px; height:30px; margin-left:400px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30' fill='none'%3E%3Cpath d='M21.25 8.75L8.75 21.25M8.75 8.75L21.25 21.25' stroke='%23121212' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.search-form {position:relative; width:580px; height:60px; margin:0 auto; border-radius:100px; border:1px solid #585858; overflow:hidden; background-color:#fff}
.search-wrap.active {z-index:99999; position:absolute; top:0; left:0; width:100%; height:100%; padding:240px 0 40px; background-position:center 146px; background-color:rgba(255, 255, 255, 0.8); -webkit-backdrop-filter:saturate(180%) blur(15px); backdrop-filter:saturate(180%) blur(15px)}
.search-wrap.active .btn-search-close {display:block}
.search-wrap.active .search-form {box-shadow:0 4px 8px 0 rgba(0, 0, 0, 0.08), 0 0 4px 0 rgba(0, 0, 0, 0.08); animation: slideUp 450ms ease forwards;}
/* .search-form .btn-search {position:absolute; top:0; right:0; width:60px; height:60px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3E%3Cpath stroke='%23121212' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m21 21-6-6m2-5a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z'/%3E%3C/svg%3E"); background-position:8px center; background-size:24px 24px; background-repeat:no-repeat; cursor:pointer} */
.search-form .search-input {display:flex; align-items:center; justify-content:space-between; gap:16px; width:100%; height:100%; padding-left:55px; padding-right:10px; box-sizing:border-box; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none'%3E%3Cpath stroke='%23121212' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m21 21-6-6m2-5a7 7 0 1 1-14 0 7 7 0 0 1 14 0Z'/%3E%3C/svg%3E"); background-position:16px center; background-size:24px 24px; background-repeat:no-repeat;}
.search-form .search-input .inp-txt {flex:1 1 auto; width:calc(100% - 36px); padding:16px 0px; border:none; font-size:16px; background:transparent}
.search-form .btn-delete {display:none; width:30px; height:30px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none'%3E%3Cmask id='a' width='20' height='20' x='0' y='0' maskUnits='userSpaceOnUse' style='mask-type:luminance'%3E%3Cpath fill='%23fff' d='M0 0h20v20H0V0Z'/%3E%3C/mask%3E%3Cg mask='url(%23a)'%3E%3Cpath fill='%23888' d='M10 20a10 10 0 1 0 0-20 10 10 0 0 0 0 20Z'/%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.667' d='m13.333 6.667-6.666 6.666m0-6.666 6.666 6.666'/%3E%3C/g%3E%3C/svg%3E"); background-position:center; background-size:20px 20px; background-repeat:no-repeat}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.result-box {z-index:2; opacity:0; visibility:hidden; position:absolute; left:0; top:300x; width:100%; height:calc(100vh - 300px); padding:24px 16px 47px 0; border-top:1px solid #ddd; box-sizing:border-box}
.result-inner {overflow-y:auto; width:100%; height:100%}
.result-inner::-webkit-scrollbar {width:4px}
.result-inner::-webkit-scrollbar-track {border-radius:100px; background:transparent; border:none}
.result-inner::-webkit-scrollbar-thumb {border-radius:100px; background-color:#B2B2B2}
.search-wrap.active .result-box {opacity:1; visibility:visible; border-top:none; animation: slideUp 450ms ease forwards;}
.result-box .result-list {max-width:550px; margin:0 auto}
.result-box .result-list li {padding:6px 8px; font-size:14px; box-sizing:border-box}
.result-box .result-list li + li {margin-top:4px}
.result-box .result-list li > a {display:inline-block; position:relative}
.result-box .result-list li > a:hover::after {content:''; display:block; position:absolute; left:0; bottom:0; width:100%; height:1px; background-color:#121212}
.result-box .result-list li > a > span + span {position:relative; padding-left:16px}
.result-box .result-list li > a > span + span::before {content:''; display:block; position:absolute; top:3px; left:0; width:16px; height:16px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none'%3E%3Cpath stroke='%23585858' stroke-linecap='round' stroke-linejoin='round' d='m6 12 4-4-4-4'/%3E%3C/svg%3E")}

.result-box .result-list.type2 {max-width:580px}
.result-box .result-list.type2 li + li {margin-top:0}
.result-box .result-list.type2 li {padding:12px 0; border-bottom:1px solid #ddd}
.result-box .result-list.type2 li > a {display:flex; align-items:center; gap:8px; width:100%}
.result-box .result-list.type2 li > a:hover::after {display:none}
.result-box .result-list.type2 li > a > span {flex:0 0 auto; width:calc(33% - 4px); text-overflow:ellipsis; white-space:nowrap; overflow:hidden; font-size:16px}
.result-box .result-list.type2 li > a > span + span {padding:0}
.result-box .result-list.type2 li > a > span + span::before {display:none}

.result-box .search-result {color:#EE4C4C}
.search-wrap.active .search-form .btn-delete,
.search-area.active .search-form .btn-delete {display:block}

.result-box.nodata, .result-box.first {padding-top:88px}
.result-box.nodata .nodata-txt, .result-box.first .txt-box {max-width:550px; margin:0 auto; text-align:center}
.result-box.nodata .nodata-txt > strong,
.result-box.first .txt-box > strong {display:block; font-size:16px}
.result-box.nodata .nodata-txt > p,
.result-box.first .txt-box > p {margin-top:4px; font-size:14px}
.result-box.nodata .nodata-txt::before {content:''; display:block; width:56px; height:56px; margin:0 auto 32px; background:url('https://static.hankyung.com/resource/www/price/img/icon-search-nodata.svg') no-repeat center/contain}
.result-box.first .txt-box::before {content:''; display:block; width:56px; height:56px; margin:0 auto 32px; background:url('https://static.hankyung.com/resource/www/price/img/icon-search-first.svg') no-repeat center/contain}

.result-box .btn-area {position:absolute; bottom:0; left:50%; transform:translateX(-50%); display:flex; justify-content:flex-end; align-items:center; width:100%; max-width:568px; height:47px; margin:0 auto}
.result-box .btn-close {display:inline-block; color:#585858; font-size:14px}

.cont-wrap {padding-top:40px}
.container:has(.search-wrap) > .cont-wrap {padding-top:0px}
.cont-module {margin-bottom:40px}
.main .cont-module {margin-bottom:20px}
.cont-module .module-tit-wrap {padding:20px 0 16px; border-top:1px solid #121212}
.cont-module .sub-tit {display:block; margin-bottom:12px; font-weight:700; font-size:16px}
.layout-inner > .cont-module:first-child .module-tit-wrap {border-top:0; padding-top:0}
.module-tit-wrap {display:flex; align-items:center; justify-content:space-between}
.module-tit-wrap .module-tit {font-size:18px}
.module-tit-wrap .date {margin-top:0; color:#585858; font-size:12px; letter-spacing:0}
.module-tit-area {display:flex; align-items:center; gap:32px}
.main .module-tit-area {position:relative; display:inline-flex; gap:4px}

.tab-menu {display:flex; align-items:center; gap:12px}
.tab-menu li {position:relative; line-height:1}
.tab-menu li button {font-size:14px}
.tab-menu li.on::before {content:''; display:block; position:absolute; left:0; bottom:-4px; width:100%; height:2px; background-color:#121212}
.tab-menu li.on button {font-weight:700}

.grid-box {width:calc(100% - 340px); display:grid; grid-template-columns:repeat(4, 1fr); gap:16px; grid-auto-rows:134px;}
.grid-box .grid-item.col-2 {grid-column:span 2}
.grid-box .grid-item.row-2 {grid-row:span 2}
.grid-box .grid-item {display:flex; flex-direction:column; justify-content:space-between; border-radius:8px; padding:20px 16px}
.grid-item.up, .card-item.up,
.data-list .data-item.up {background:rgba(181, 0, 0, 0.05)}
.grid-item.down, .card-item.down,
.data-list .data-item.down {background:rgba(40, 83, 178, 0.05)}
.grid-item.hold, .card-item.hold,
.data-list .data-item.hold {background:rgba(88, 88, 88, 0.06)}

.top-module::before,
.top-module::after {content:''; display:block; position:absolute; top:0; bottom:0; z-index:1}
.top-module::before {left:0px; width:24px; background:-moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,0.75) 51%, rgba(255,255,255,0) 100%); background:-webkit-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,0.75) 51%, rgba(255,255,255,0) 100%); background:linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0.75) 51%, rgba(255,255,255,0) 100%)}
.top-module::after {right:0px; width:25px; background:-moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.75) 51%, rgba(255,255,255,1) 100%); background:-webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,0.75) 51%, rgba(255,255,255,1) 100%); background:linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.75) 51%, rgba(255,255,255,1) 100%)}
.top-module .marquee,
.top-module *[class^="marquee"] {white-space:nowrap}

.top-module {position:relative; display:flex; gap:40px; height:124px; margin-bottom:40px; padding:0 20px; overflow:hidden}
.top-module .item-tit {font-weight:700; font-size:16px}
.top-module .item-right {text-align:right}
.top-module .item-price {line-height:1; font-weight:700; font-size:18px}
.top-module .rate-area > span {font-size:12px}

.top-module.type2 {flex-direction:column; gap:16px; height:148px; margin:16px 0 0; transition:height .3s}
.top-module.type2 .item-right {height:100%}
.top-module.type2 .item-tit, .top-module.type2 .item-price {font-weight:400; font-size:16px}
.top-module.type2 .marquee-area {display:flex; gap:40px; height:124px}
.top-module.type2 .item-head {display:flex; gap:2px; flex-direction:column}
.top-module.type2 .card-list .card-item > a {flex-direction:row; gap:16px; padding:10px 16px; height:100%}
.top-module.type2 .card-list .card-item {min-width:66px; width:auto; height:66px}
.top-module.type2 .card-list .card-item .unit {font-weight:400; font-size:14px}
/* .top-module.type2 .card-list .card-item .item-cont {vertical-align:bottom} */
.top-module.type2 .rate-area {display:flex; flex-direction:column; align-items:flex-end; justify-content:flex-end; padding:2px 0; height:100%}
.top-module.type2 .rate-area > span {display:block; text-align:left}
.top-module.type2 .rate-area > span + span {margin-top:6px}
.top-module.type2 .rate-area .price {font-weight:400; line-height:1; font-size:14px}
/* .modal-open .top-module.type2 {height:0; margin-top:0} */

.card-list {display:inline-flex; align-items:center; gap:16px}
.card-list .card-item {border-radius:8px; width:200px; height:124px}
.card-list .card-item > a {display:flex; flex-direction:column; justify-content:space-between; padding:12px 16px; box-sizing:border-box}
/* .card-list .card-item .item-head {margin-bottom:16px} */

.rate, .percent {font-family:"Helvetica Neue", sans-serif; font-size:14px; letter-spacing:0}
.rate + .percent {margin-left:8px}
.up .rate, .up .percent, .card-item.up .price {color:#B50000}
.up .rate {padding-left:12px; background-repeat:no-repeat; background-position:center left; background-size:9px 6px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='7' fill='none'%3E%3Cpath fill='%23B50000' d='M4.5.5 0 6.5h9L4.5.5Z'/%3E%3C/svg%3E")}
.down .rate, .down .percent, .card-item.down .price {color:#2853B2}
.down .rate {padding-left:12px; background-repeat:no-repeat; background-position:center left; background-size:9px 6px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='6' fill='none'%3E%3Cpath fill='%232853B2' d='M4.5 6 9 0H0l4.5 6Z'/%3E%3C/svg%3E")}
.hold .rate, .hold .percent, .card-item.hold .price {color:#585858}

.top-aside-news {position:relative; width:300px; padding:24px 20px; border-radius:15px; box-sizing:border-box; background-color:#fff}
.top-aside-news::before {content:''; display:block; position:absolute; top:-1px; left:-1px; right:-1px; bottom:-1px; border-radius:16px; background:linear-gradient(140deg, #AD7BFF, #00B6ED, #00BFB8); z-index:-1}
.top-aside-news .module-tit {margin-bottom:16px}
/* .top-aside-news .module-tit::before, .news-module .module-tit::before {content:''; display:inline-block; width:18px; height:18px; margin-right:6px; background:url('https://static.hankyung.com/resource/www/price/img/icon-news.svg') no-repeat center/contain} */

.aside-news-list {overflow-y:auto; max-height:492px; padding-right:16px; box-sizing:border-box}
.aside-news-list::-webkit-scrollbar {width:4px}
.aside-news-list::-webkit-scrollbar-track {border-radius:100px; background:#f0f0f0; border:none}
.aside-news-list::-webkit-scrollbar-thumb {border-radius:100px; background-color:#121212}
.aside-news-list li + li {margin-top:16px; padding-top:16px; border-top:1px solid #ddd}
.news-item {display:flex; gap:12px}
.news-item .text-cont {width:100%}
.news-item .news-tit {font-weight:400; line-height:1.3; font-size:16px}
.news-item > .thumb {flex:0 0 auto; width:96px; height:60px}
.news-item > .thumb img {width:100%; height:100%; object-fit:cover}
.news-module .news-item {height:80px}
.news-module .news-item + .news-item {border-top:1px solid #ddd; margin-top:16px; padding-top:16px; box-sizing:border-box}
.news-module .news-item .news-tit > a {display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden}
.news-module.cont-module .data-cont > .col {width:33%}
.news-module .news-item.type-headline {flex-direction:row-reverse}
.news-module .news-item.type-headline > .thumb {width:136px; height:85px}
.news-module .news-item.type-headline .news-tit {font-size:18px}

.menu-cont {display:flex; align-items:center; gap:20px; height:400px; border:1px solid #ddd; box-sizing:border-box; background-color:#fff}
.menu-cont .chart-area {flex:0 0 auto; display:flex; flex-direction:column; align-items:flex-start; width:807px; height:100%; padding:16px 16px 16px 0; box-sizing:border-box}
.menu-cont .chart-area .chart-head, .menu-cont .chart-area .chart-cont {width:100%}
.menu-cont .chart-area .chart-head {position:relative; justify-content:flex-start}
.chart-area {position:relative}
.chart-area .chart-head {display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:16px}
.chart-area .chart-tit {font-weight:500; font-size:16px}
.seafood-module .chart-area .chart-tit, .livestock-module .chart-area .chart-tit {display:block; max-width:160px; text-overflow:ellipsis; white-space:nowrap; overflow:hidden}
.chart-cont + .chart-legend {margin-top:24px}
.chart-desc {color:#585858; font-size:12px}
.chart-info {display:flex; align-items:center; justify-content:space-between; margin-top:24px}
.legend-list {display:inline-flex; align-items:center}
.legend-list.type1 {gap:20px}
.legend-list.type1 li::before {content:''; display:inline-block; width:12px; height:12px; margin-right:4px; border-radius:50%; vertical-align:-2px}
.legend-list.type1 li {color:#585858; font-size:12px}
.legend-list.type2 {border-radius:100px; overflow:hidden}
.legend-list.type2 li {height:100%; padding:3px 12px; font-size:12px; text-align:center; box-sizing:border-box}

.figure-area {display:flex; align-items:center}
.main .figure-area > span {line-height:1}
.figure-area .present {flex:0 0 auto; margin-right:12px; font-family:"Helvetica Neue", sans-serif; font-weight:700; font-size:16px; letter-spacing:0}
.figure-area .unit {margin-right:12px; font-size:16px}
.figure-area .rate-area {flex:0 0 auto}

.menu-cont .side-menu-area {display:flex; flex:0 0 auto; width:calc(100% - 830px); height:100%; border-right:1px solid #ddd}
.menu-cont .side-menu-area .menu-list {flex:0 0 auto; padding:16px 14px; box-sizing:border-box}
.side-menu-area .menu-list.depth1 {width:160px; background-color:#f5f5f5}
.side-menu-area .menu-list.depth1 .menu-item {display:block; width:100%; padding:8px 8px 8px 12px; box-sizing:border-box; letter-spacing:-0.03em}
.side-menu-area .menu-list.depth1 .menu-item > span {display:block; text-align:left}
.side-menu-area .menu-list.depth1 .menu-item .tit {font-size:12px}
.side-menu-area .menu-list.depth1 .menu-item .txt-en {font-size:14px}
.side-menu-area .menu-list.depth1 .menu-item.on {border-radius:8px; color:#fff; background-color:#121212}
.side-menu-area .menu-list.depth1 .menu-item.on .txt-en {font-weight:700}
.side-menu-area .menu-list.depth2 {width:210px; padding-right:3px; padding-bottom:0}
.side-menu-area .menu-list.depth2 ul {height:100%; overflow-y:auto; padding-right:10px; padding-bottom:10px}
.side-menu-area .menu-list.depth2 ul::-webkit-scrollbar {width:4px}
.side-menu-area .menu-list.depth2 ul::-webkit-scrollbar-track {border-radius:100px; background:transparent; border:none}
.side-menu-area .menu-list.depth2 ul::-webkit-scrollbar-thumb {border-radius:100px; background-color:#121212}
.side-menu-area .menu-list.depth2 li {position:relative; width:100%; padding:6px 0; box-sizing:border-box}
.side-menu-area .menu-list.depth2 li.on::before {content:''; display:block; position:absolute; bottom:0; left:0; width:100%; height:1px; background-color:#121212}
.side-menu-area .menu-list.depth2 li button {display:block; width:100%; text-overflow:ellipsis; white-space:nowrap; overflow:hidden; text-align:left}
.side-menu-area .menu-list.depth2 li + li {margin-top:8px}

.news-slide-wrap {position:relative; margin-top:24px; height:43px}
.news-slide-wrap .major-text-news {padding-right:36px; box-sizing:border-box}
.news-slide-wrap .slick-arrow {z-index:1; position:absolute; right:0; width:30px; height:25px; margin-right:-6px; text-indent:-99999em; background-repeat:no-repeat; background-position:center; background-size:20px 20px; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none'%3E%3Cpath stroke='%23121212' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m15 12.5-5-5-5 5'/%3E%3C/svg%3E")}
.news-slide-wrap .slick-arrow.slick-prev {top:-3px}
.news-slide-wrap .slick-arrow.slick-next {bottom:-3px; transform:rotate(180deg)}
.major-text-news {display:flex !important; align-items:center; gap:40px}
.major-text-news .col {flex:0 0 auto; width:calc(50% - 20px)}
.major-text-news .col + .col {position:relative}
.major-text-news .col + .col::before {content:''; display:block; position:absolute; top:3px; left:-20px; width:1px; height:43px; background-color:#ddd}
.major-text-news .news-tit {text-overflow:ellipsis; white-space:nowrap; overflow:hidden}
.major-text-news .news-tit > a {font-size:16px}
.major-text-news.col-4 {align-items:flex-start}
.major-text-news.col-4 .col {flex:1 1 auto; width:calc(25% - 30px)}
.major-text-news.col-4 .col + .col::before {height:64px}
.major-text-news.col-4 .text-cont .news-tit {height:42px}
.news-slide-wrap.col-3 {height:64px}
.news-slide-wrap.col-3 .major-text-news .col {width:calc(33% - 20px)}
.news-slide-wrap.col-3 .major-text-news .col:first-child {width:30%}
.news-slide-wrap.col-3 .major-text-news .news-tit {display:-webkit-box; height:42px; white-space:wrap; -webkit-box-orient:vertical; -webkit-line-clamp:2;}
.news-slide-wrap.col-3 .major-text-news .col + .col::before {left:-21px; height:64px}

.main .cont-module .data-cont {display:flex; gap:40px}
.main .cont-module .data-cont > .col {flex:1 1 auto; min-width:373px}
.main .cont-module .data-cont .data-col {flex:0 0 auto}
.data-col > .tbl-data {width:373px; padding:8px 0; box-sizing:border-box}
.data-col > .tbl-data + .tbl-data {width:393px; margin-left:20px; padding-left:20px; border-left:1px solid #ddd; box-sizing:border-box}
.data-col > .module-tit-wrap {padding:0; border-top:none}
.tbl-data .tbl-item {display:flex; align-items:center; gap:4px; padding:12px 0; box-sizing:border-box}
.tbl-data .tbl-item .col {flex:0 0 auto}
.tbl-data .tbl-item .col:not(.tit) {text-align:right}
.tbl-data .tbl-item .col.tit, .tbl-data .tbl-item .col.price, .tbl-data .tbl-item .col.unit {font-size:14px}
.tbl-data .tbl-item .col.tit {width:125px}
.tbl-data .tbl-item .col.tit > a, .tbl-data .tbl-item .col.unit {display:block; text-overflow:ellipsis; white-space:nowrap; overflow:hidden}
.tbl-data .tbl-item .col.price {width:90px}
.tbl-data .tbl-item .col.num,
.tbl-data .tbl-item .col.unit {width:77px}
.tbl-data .tbl-item .col.percent {width:68px}

.produce-module {padding-top:20px; border-top:1px solid #121212; box-sizing:border-box}
.produce-module .data-cont > .col:first-child {width:calc(100% - 413px)}
.produce-module .tbl-data .tbl-item + .tbl-item {border-top:1px solid #ddd}
.produce-module .tbl-data .tbl-item:last-child {padding-bottom:0}
.produce-module .chart-area .chart-head {position:relative; justify-content:flex-start; gap:4px}
.produce-module .chart-area .chart-tit {font-weight:700; font-size:18px}
.produce-module .data-col > .tbl-data {padding-top:4px; padding-bottom:0}
.main .cont-module:not(.produce-module) .data-col {display:flex; border-top:1px solid #ddd; border-bottom:1px solid #ddd} 
.main .cont-module:not(.produce-module) .data-col > .tbl-data .tbl-item {padding:8px 0}
.main .cont-module:not(.produce-module, .news-module) .data-cont > .col {flex:0 0 auto}

.necessities-module .data-cont + .major-text-news {margin-top:24px; padding-top:20px; border-top:1px solid #ddd}
.main .necessities-module .data-cont {flex-wrap:wrap; gap:0; border-top:1px solid #ddd; border-bottom:1px solid #ddd}
.necessities-module .data-cont > .col {border-bottom:1px solid #ddd; box-sizing:border-box}
.necessities-module .data-cont > .col:nth-last-child(-n+3) {border-bottom:0}
.necessities-module .data-cont > .col:nth-child(3n+2) {position:relative; padding:0 40px 0 40px}
.necessities-module .data-cont > .col:nth-child(3n+2)::before, .necessities-module .data-cont > .col:nth-child(3n+2)::after {content:''; display:block; position:absolute; top:0; width:1px; height:100%; background-color:#ddd}
.necessities-module .data-cont > .col:nth-child(3n+2)::before {left:20px}
.necessities-module .data-cont > .col:nth-child(3n+2)::after {right:20px}

/* 소비자물가지수 */
.monthly-module .chart-legend {text-align:center}
.monthly-module .legend-list li.legend1::before {background-color:#A87AF4}
.monthly-module .legend-list li.legend2::before {background-color:#70C6FF}
.monthly-module .legend-list li.legend3::before {background-color:#12B76A}
.monthly-module .legend-list li.legend4::before {background-color:#FFAE1F}

.yoy-module .legend-list {height:25px}
.yoy-module .legend-list li.legend1 {background-color:#EFFAF9}
.yoy-module .legend-list li.legend2 {background-color:#DAF1EF}
.yoy-module .legend-list li.legend3 {background-color:#B1E1DD}
.yoy-module .legend-list li.legend4 {background-color:#7DCEC8}
.yoy-module .legend-list li.legend5 {background-color:#5CC1BA}
.yoy-module .legend-list li.legend6 {background-color:#04B4A9}
.yoy-module .legend-list li.legend7 {background-color:#00948A}

.tbl-detail {border-top:1px solid #eee}
.tbl-detail .bg-color1 {background-color:#F8FAF3}
.tbl-detail .bg-color2 {background-color:#EEF6D6}
.tbl-detail .bg-color3 {background-color:#E2F0BD}
.tbl-detail .bg-color4 {background-color:#D3E7A6}
.tbl-detail table {table-layout:fixed; width:100%}
.tbl-detail table th, .tbl-detail table td {height:52px; padding:0 8px; border-bottom:1px solid #eee; box-sizing:border-box}
.tbl-detail table th + th, .tbl-detail table td + td {border-left:1px solid #eee}
.tbl-detail table th {font-weight:400; background-color:#f5f5f5}
.tbl-detail thead th {color:#585858; font-size:14px}
.tbl-detail thead th, .tbl-detail tbody td {text-align:right}
.tbl-detail thead th:first-child, .tbl-detail tbody th {text-align:left}
.tbl-detail tbody th, .tbl-detail tbody td {font-size:15px}
.tbl-detail table .sub-th {padding-left:16px}

.data-box {margin-top:40px}
.data-list {display:flex; align-items:center; gap:24px}
.data-list .data-item {flex:1 1 auto; width:calc(16% - 12px); display:block; padding:16px; border-radius:8px; box-sizing:border-box}
.data-list .data-item .tit {font-weight:400; font-size:16px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.data-list .data-item .figure-area {justify-content:space-between; margin-top:2px}
.data-list .data-item .figure-area .present {margin-right:0; font-weight:400}
.data-list .data-item .figure-area .present, .data-list .data-item .figure-area .unit {font-size:14px}
.data-list .data-item .rate, .data-list .data-item .percent {font-size:12px}
.data-list .data-item.up .figure-area .present {color:#B50000}
.data-list .data-item.down .figure-area .present {color:#2853B2}
.data-list .data-item.hold .figure-area .present,
.data-list .data-item.hold .figure-area .price {color:#585858}
.desc-list li {padding-left:15px; text-indent:-15px; line-height:1.5; color:#585858; font-size:14px}
.desc-list li::before {content:''; display:inline-block; width:3px; height:3px; margin-right:10px; border-radius:50%; background-color:#585858; vertical-align:middle}

.detail-top {min-height:213px; padding:32px 24px; border-top:1px solid #ccc; box-sizing:border-box}
.detail-top + .chart-area {margin-bottom:20px; border-top:1px solid #ccc; box-sizing:border-box}
.detail-head {display:flex; align-items:center; justify-content:space-between; margin-bottom:16px}
.detail-head .category .major, .detail-head .category .sub {color:#585858; font-size:14px}
.detail-title {margin-bottom:8px}
/* .detail-head .category .sub::before, */
.detail-info > span + span::before {content:''; display:inline-block; width:1px; height:12px; margin:0 8px 0 6px; background-color:#ddd; vertical-align:middle}
.detail-head .category .sub::before {content:''; display:inline-block; width:2px; height:2px; border-radius:50%; margin:0 5px 0 3px; background-color:#121212; vertical-align:5px}
.detail-head .category .place {display:inline-flex; align-items:center; height:25px; margin-left:16px; padding:0 8px; border-radius:4px; border:1px solid #585858; box-sizing:border-box; color:#585858; font-size:14px}
.detail-cont {display:flex; align-items:flex-end; gap:24px}
.detail-cont > div {flex:1 1 auto; width:50%}
.detail-cont .info-box .tit, .detail-title .tit {font-weight:700; font-size:34px}
.detail-cont .info-box .tit .unit {font-size:34px; font-weight:400}
.detail-cont .info-box .tit .unit::before {content:''; display:inline-block; width:1px; height:24px; background-color:#585858; margin:0 16px}
.detail-cont .num-box {padding-left:50px; box-sizing:border-box}
.detail-cont .tit + .figure-area {margin-top:8px}
.detail-cont .figure-area {align-items:flex-end}
.detail-cont .figure-area .present {margin-right:24px; font-size:40px}
.detail-cont .figure-area .present .unit {margin-left:4px; margin-right:0}
.detail-cont .figure-area .rate, .detail-cont .figure-area .percent {font-weight:500; font-size:18px}
.detail-cont .rate + .percent {margin-left:16px}
.detail-cont .row {display:flex; align-items:center; justify-content:space-between; gap:64px}
.detail-cont .row + .row {margin-top:16px}
.detail-cont .row-item {flex:0 0 auto; width:calc(50% - 32px); display:flex; align-items:center; gap:24px; font-size:16px}
.detail-cont .row-item .tit {width:60px; text-align:left}
.detail-cont .row-item .txt {flex:1 1 auto; font-family:"Helvetica Neue", sans-serif; text-align:right}
.detail-cont .row-item .txt .percent {font-size:16px}

.related-new-module .major-text-news .news-tit {display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; white-space:normal}
.tooltip-wrap {position:relative}
.tooltip-wrap .btn-tooltip {display:block; width:20px; height:20px; background-size:contain; background-position:center; background-repeat:no-repeat; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='17' fill='none'%3E%3Cpath stroke='%23585858' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.2' d='M8 5.833V8.5m0 2.667h.007m6.66-2.667a6.667 6.667 0 1 1-13.333 0 6.667 6.667 0 0 1 13.333 0Z'/%3E%3C/svg%3E")}
.tooltip-wrap .tooltip-cont {z-index:1; opacity:0; visibility:hidden; position:absolute; left:-15px; bottom:30px; width:400px; padding:6px 12px; border-radius:8px; border:1px solid #121212; font-size:14px; background-color:#fff; box-sizing:border-box; transition:all .2s; word-break:break-all; overflow-wrap: anywhere;}
.tooltip-wrap .tooltip-cont::after {content:''; display:block; position:absolute; bottom:-6px; left:20px; width:10px; height:6px; font-size:14px; background-size:contain; background-repeat:no-repeat; background-position:center; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath fill='%23fff' stroke='%23121212' stroke-linejoin='round' d='M12.067-.5 6.384 6.32 6 6.781l-.384-.46L-.067-.5h12.134Z'/%3E%3C/svg%3E")}
.tooltip-wrap.active .tooltip-cont {opacity:1; visibility:visible}
.tooltip-wrap.active .tooltip-cont > p {height:100%; overflow:hidden}

/* .produce-module .chart-area .tooltip-cont {top:-78px; height:auto; margin-left:5px}
.commodities-module .tooltip-cont {top:-82px; height:78px} */
.commodities-module .module-tit-area {margin-bottom:16px}
.commodities-module .module-tit {font-size:18px}

.desc-area {margin-bottom:40px; text-align:right}
.desc-area .logo-kpf {display:inline-block; width:81px; height:24px; margin-left:4px; vertical-align:-7px; background:url('https://static.hankyung.com/resource/www/price/img/logo-kpf.svg') no-repeat center/contain}
.desc-area > p {color:#707070; font-weight:700; font-size:12px}

/* 데이터센터 */
.datacenter-wrap {display:flex; height:100vh}
.datacenter-header, .datacenter-cont,
.datacenter-header .logo__price,
.datacenter-cont .cont-wrap {box-sizing:border-box}
.datacenter-header {display:flex; flex-direction:column; flex:0 0 auto; gap:40px; width:240px; padding:24px 24px 32px; border-right:1px solid #eee; background-color:#f5f5f5}
.datacenter-header .logo__price {display:block; padding:0 8px}
.datacenter-header .logo__price::before {width:105px; height:30px}
.datacenter-cont {width:calc(100% - 240px)}
.datacenter-cont .cont-wrap {padding:32px 40px 40px}

.datacenter-wrap .lnb-item {position:relative}
.datacenter-wrap .lnb-item::before {content:''; display:block; position:absolute; top:12px; left:8px; width:18px; height:18px; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' viewBox='0 0 18 18'%3E%3Cpath stroke='%23585858' stroke-linecap='round' stroke-linejoin='round' d='m6.75 13.5 4.5-4.5-4.5-4.5'/%3E%3C/svg%3E") no-repeat center/contain; transition:all .3s; pointer-events:none}
.datacenter-wrap .lnb-menu {display:block; width:100%; padding:8px 8px 8px 40px; color:#121212; font-size:15px; text-align:left; box-sizing:border-box}
.datacenter-wrap .lnb-menu::before {content:''; display:inline-block; width:16px; height:16px; margin-right:6px; vertical-align:-2px; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23121212' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.333' d='m8.667 4.667-.743-1.488c-.214-.428-.321-.642-.481-.798a1.3 1.3 0 0 0-.498-.308C6.733 2 6.495 2 6.015 2H3.468c-.746 0-1.12 0-1.405.145-.25.128-.455.332-.583.583-.145.285-.145.659-.145 1.405v.534m0 0h10.133c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874c.218.428.218.988.218 2.108V10.8c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874c-.427.218-.988.218-2.108.218H4.534c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874c-.218-.428-.218-.988-.218-2.108z'/%3E%3C/svg%3E") no-repeat center/contain}
.datacenter-wrap .lnb-sub {display:none; padding:8px 8px 16px 40px; box-sizing:border-box}
.datacenter-wrap .lnb-sub .sub-menu {padding:6px 0; font-size:14px; box-sizing:border-box}
.datacenter-wrap .lnb-sub .sub-item.on .sub-menu,
.datacenter-wrap .lnb-sub .sub-menu:hover,
.datacenter-wrap .lnb-sub .sub-menu:focus {color:#436F91; font-weight:500}
.datacenter-wrap .lnb-item.on::before {transform:rotate(90deg)}
.datacenter-wrap .lnb-item.on .lnb-sub {display:block}
.datacenter-wrap .lnb-item.on .lnb-menu {border-radius:8px; font-weight:500; background:rgba(0, 0, 0, 0.05)}
.datacenter-wrap .lnb-item.on .lnb-menu::before {background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath fill='%23121212' d='M6.772 1.111c.303.003.578.02.834.11.28.096.536.254.748.461.193.19.332.428.47.698l.7 1.398h2.388c.549 0 1 0 1.367.03.375.03.72.096 1.043.261.502.256.91.663 1.165 1.165.165.323.231.668.262 1.043.03.367.03.819.03 1.367v2.934c0 .549 0 1.001-.03 1.368-.03.374-.097.72-.262 1.043-.255.501-.663.91-1.165 1.165-.323.165-.668.23-1.043.26-.366.03-.818.03-1.367.03H4.98c-.55 0-1.002 0-1.369-.03-.374-.03-.72-.095-1.043-.26a2.67 2.67 0 0 1-1.165-1.165c-.164-.324-.23-.669-.26-1.043-.03-.367-.03-.82-.03-1.368V3.912c0-.362-.001-.675.02-.93.021-.264.07-.526.198-.778a2 2 0 0 1 .874-.874c.252-.129.514-.177.777-.199.256-.02.569-.02.931-.02zM8 3.778h.033L8 3.712z'/%3E%3C/svg%3E")}

.datacenter-wrap .cont-tit {display:block; margin-bottom:24px; font-weight:700; font-size:20px}
.datacenter-wrap .search-area {padding:12px 40px; border-bottom:1px solid #eee; box-sizing:border-box}
.datacenter-wrap .search-form {width:100%; height:40px; border:none; border-radius:0}
.datacenter-wrap .search-form .search-input {padding-left:36px; background-position:left center; background-size:20px 20px}
.datacenter-wrap .search-form .search-input .inp-txt {height:100%; padding:0; font-size:15px}
.datacenter-wrap .tbl-wrap {overflow-x:auto; -webkit-overflow-scrolling:touch}
.datacenter-wrap .tbl-wrap table {table-layout:fixed; width:100%; min-width:700px}
.datacenter-wrap .tbl-wrap .opt7 {text-align:right !important}
.datacenter-wrap .tbl-wrap .opt8 {overflow:hidden; white-space:nowrap; text-overflow:ellipsis}
.datacenter-wrap .tbl-wrap .opt9 {text-align:center !important}
.datacenter-wrap .tbl-wrap thead tr {border-bottom:1px solid #ddd}
.datacenter-wrap .tbl-wrap tbody tr {border-bottom:1px solid #eee; cursor:pointer}
.datacenter-wrap .tbl-wrap tbody tr:hover {background:rgba(0, 0, 0, 0.05)}
.datacenter-wrap .tbl-wrap th {height:37px; padding:8px 16px 12px; font-weight:400; color:#585858; font-size:12px; text-align:left; box-sizing:border-box}
.datacenter-wrap .tbl-wrap td {height:40px; padding:8px 16px; font-size:14px; text-align:left; box-sizing:border-box}
.datacenter-wrap .select-paging {width:820px; margin:24px auto 0}

/* 셀렉트 박스 */
.dropdown-layer {position:relative; display:inline-block; width:100px; margin-left:24px; white-space:nowrap}
.dropdown-layer .dropdown-toggle {display:inline-flex; align-items:center; justify-content:space-between; gap:4px; width:100%; height:36px; line-height:38px; padding:0 12px; border:1px solid #585858; border-radius:8px; background:#fff; box-sizing:border-box; outline:none; font-size:16px; text-align:left; letter-spacing:-0.038em}
.dropdown-layer .dropdown-toggle .text {display:block; flex:1 1 auto; padding-right:12px; overflow:hidden; color:#888; text-overflow:ellipsis; white-space:nowrap; font-size:14px}
.dropdown-layer .dropdown-toggle::after {content:''; flex:0 0 auto; display:inline-block; width:11px; height:6px; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='6' fill='none' viewBox='0 0 11 6'%3E%3Cpath stroke='%23121212' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m.75.75 4.5 4.5 4.5-4.5'/%3E%3C/svg%3E") no-repeat 50% 50%/contain}
/* .dropdown-layer .dropdown-toggle[data-value=""] .text {color:#888} */
.dropdown-layer .dropdown-cont {display:none; position:absolute; left:0; top:48px; z-index:2; width:100%; border:1px solid #585858; border-top:none; border-radius:0 0 8px 8px; background:#fff; box-sizing:border-box; overflow:hidden}
.dropdown-layer .dropdown-menu {font-size:16px}
.dropdown-layer .dropdown-menu a {display:flex; align-items:center; height:32px; padding:8px 12px; text-decoration:none; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:400; font-size:14px; box-sizing:border-box}
.dropdown-layer .dropdown-menu a:hover, .dropdown-layer .dropdown-menu li.on a {background:#F7F7F7}
.dropdown-layer.active {z-index:3}
.dropdown-layer.active .dropdown-toggle {border-bottom-left-radius:0; border-bottom-right-radius:0}
.dropdown-layer.active .dropdown-toggle::after {transform:rotate(180deg)}
.dropdown-layer.active .dropdown-cont {display:block}
.dropdown-layer.active .dropdown-toggle .text, .dropdown-layer:focus .dropdown-toggle .text {color:#121212}

