/**
 * 통합플랫폼 허브 — Nate 골격(1200px) 레이아웃 SSOT
 * 콘텐츠·라벨은 portal SSOT — 구조·정렬·슬롯만 고정
 */

body.nt-integration-hub[data-nt-device="desktop"] {
  /* 뉴스 그룹 1200px 골격 SSOT:
     좌측 850 = 660 + (10) | (10) + 170 · 좌우 간격 20 · 우측 330 (분할 없음) */
  --ihub-page-w: 1200px;
  --ihub-main-w: 850px;
  --ihub-side-w: 330px;
  --ihub-gap-w: 20px;
  --ihub-main-col: 680px; /* 660 콘텐츠 + 20 (10+|+10 구분선 패딩) */
  --ihub-side-col: 170px;
  --ihub-mid-banner-w: 660px;
  --ihub-thumb-w: 170px;
  --ihub-thumb-gap: 15px;
  --ihub-area-gap: 20px;
  --ihub-inner-gap: 15px;
  --ihub-divider-pad: 10px;
  --ihub-header-h: 211px;
  --ihub-banner-h: 140px;
  --ihub-banner-gap: 20px;
  --ihub-ad02-h: 191px;
  --ihub-kwd-strip-w: 287px;
  --ihub-body-top: calc(var(--ihub-header-h) + var(--ihub-banner-gap) + var(--ihub-banner-h) + var(--ihub-banner-gap));
  --ihub-text-col-w: calc((var(--ihub-main-col) - 36px) / 3);
}

/* ── 페이지 셸 ── */
body.nt-integration-hub[data-nt-device="desktop"] #mainContainer {
  position: relative;
  min-width: var(--ihub-page-w);
  width: var(--ihub-page-w);
  margin: 0 auto;
}

body.nt-integration-hub[data-nt-device="desktop"] #container {
  width: var(--ihub-page-w);
  margin: 0 auto;
}

body.nt-integration-hub[data-nt-device="desktop"] #header {
  position: relative;
  width: var(--ihub-page-w);
  height: var(--ihub-header-h);
  margin: 0 auto;
  z-index: 4;
  /* border-bottom 1px이 header-h 밖으로 밀려 배너 좌표가 1px 표류하는 것 방지 */
  box-sizing: border-box;
}

/* ── 광고 오버레이(메인배너·우측상단) — 문서흐름과 분리, 좌표만 SSOT ── */
body.nt-integration-hub[data-nt-device="desktop"] #adContainer {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--ihub-page-w);
  height: 0;
  z-index: 2;
  pointer-events: none;
}

body.nt-integration-hub[data-nt-device="desktop"] #adContainer .area_ad01,
body.nt-integration-hub[data-nt-device="desktop"] #adContainer .area_ad02 {
  pointer-events: auto;
}

body.nt-integration-hub[data-nt-device="desktop"] #adContainer .area_ad03,
body.nt-integration-hub[data-nt-device="desktop"] #adContainer .area_ad04,
body.nt-integration-hub[data-nt-device="desktop"] #adContainer .area_ad06,
body.nt-integration-hub[data-nt-device="desktop"] #adContainer .area_adual {
  display: none !important;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_ad01 {
  top: calc(var(--ihub-header-h) + var(--ihub-banner-gap));
  left: 0;
  width: var(--ihub-page-w);
  height: var(--ihub-banner-h);
  overflow: hidden;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_ad01 #NateBiRolling,
body.nt-integration-hub[data-nt-device="desktop"] .area_ad01 #NateBiRolling a,
body.nt-integration-hub[data-nt-device="desktop"] .area_ad01 #NateBiRolling img {
  display: block;
  width: var(--ihub-page-w);
  max-width: var(--ihub-page-w);
  height: var(--ihub-banner-h);
  object-fit: cover;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_ad02 {
  top: var(--ihub-body-top);
  right: 0;
  width: var(--ihub-side-w);
  height: var(--ihub-ad02-h);
  overflow: hidden;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_ad02 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── 본문 3열 그리드: 850 | gap | 330 ── */
body.nt-integration-hub[data-nt-device="desktop"] #content {
  display: grid;
  grid-template-columns: var(--ihub-main-w) var(--ihub-gap-w) var(--ihub-side-w);
  width: var(--ihub-page-w);
  margin: 0 auto;
  /* 배너 위 20px + 배너 140px + 배너 아래 20px — 아래 gap 누락 시 본문이 배너에 1px까지 붙음 */
  padding-top: calc(var(--ihub-banner-gap) + var(--ihub-banner-h) + var(--ihub-banner-gap));
  row-gap: var(--ihub-area-gap);
  box-sizing: border-box;
  position: relative;
  z-index: 3;
}

body.nt-integration-hub[data-nt-device="desktop"] #content > hr,
body.nt-integration-hub[data-nt-device="desktop"] #content > h2 {
  display: none !important;
}

body.nt-integration-hub[data-nt-device="desktop"] #content > .area_auth {
  display: none !important;
}

body.nt-integration-hub[data-nt-device="desktop"] #content > .area_news {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  margin: 0;
  padding: 0;
  float: none;
}

body.nt-integration-hub[data-nt-device="desktop"] #content > .area_contents {
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  margin: 0;
}

body.nt-integration-hub[data-nt-device="desktop"] #content > .container {
  display: contents;
}

body.nt-integration-hub[data-nt-device="desktop"] #content > .ihub-sidebar {
  grid-column: 3;
  grid-row: 1 / 4;
  display: flex;
  flex-direction: column;
  gap: var(--ihub-area-gap);
  width: var(--ihub-side-w);
  align-self: start;
  box-sizing: border-box;
  /* 우측상단 광고(area_ad02)가 absolute로 이 자리에 앉음 — 쇼핑탭이 광고와 겹치지 않게 예약 */
  padding-top: calc(var(--ihub-ad02-h) + var(--ihub-area-gap));
}

body.nt-integration-hub[data-nt-device="desktop"] #content > .ihub-sidebar > .area_shopping {
  flex: 0 0 auto;
  width: 100% !important;
  margin: 0;
  position: relative !important;
  top: auto !important;
  right: auto !important;
  height: auto;
}

body.nt-integration-hub[data-nt-device="desktop"] #content > .ihub-sidebar > .area_shopping_today {
  flex: 0 0 auto;
  display: block !important;
  position: relative !important;
  top: auto !important;
  right: auto !important;
  width: 100%;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid #e5e5e5;
  background-color: #fbfbfb;
  box-sizing: border-box;
}

body.nt-integration-hub[data-nt-device="desktop"] #content > .ihub-sidebar .area_shopping_today h4 {
  display: block;
  margin: 0 0 var(--ihub-inner-gap);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: #333;
  text-indent: 0;
}

body.nt-integration-hub[data-nt-device="desktop"] #content > .ihub-sidebar .area_shopping_today .list_prod {
  display: flex;
  flex-direction: row;
  gap: var(--ihub-inner-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

body.nt-integration-hub[data-nt-device="desktop"] #content > .ihub-sidebar .area_shopping_today .list_prod li {
  flex: 1 1 0;
  margin: 0;
}

body.nt-integration-hub[data-nt-device="desktop"] #content > .ihub-sidebar .area_shopping_today .thumb_img,
body.nt-integration-hub[data-nt-device="desktop"] #content > .ihub-sidebar .area_shopping_today .thumb_img img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

body.nt-integration-hub[data-nt-device="desktop"] #content > .ihub-sidebar .area_shopping_today .tit {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.35;
  color: #666;
  text-align: center;
  white-space: normal;
  word-break: break-word;
}

body.nt-integration-hub[data-nt-device="desktop"] #content > .ihub-sidebar .area_ranking {
  flex: 0 0 auto;
  width: 100%;
  margin: 0;
  position: relative !important;
  top: auto !important;
  right: auto !important;
  align-self: auto;
  padding-left: 0;
}

body.nt-integration-hub[data-nt-device="desktop"] #content .area_issue {
  grid-column: 1;
  grid-row: 3;
  width: 100%;
  align-self: start;
}

body.nt-integration-hub[data-nt-device="desktop"] #content > #divShortForm,
body.nt-integration-hub[data-nt-device="desktop"] #content > .short-form-content {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 0;
}

body.nt-integration-hub[data-nt-device="desktop"] #content > .ad_area_bottom {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--ihub-gap-w);
  width: 100%;
  margin-top: 0;
}

body.nt-integration-hub[data-nt-device="desktop"] #content > .area_quick {
  grid-column: 1 / -1;
}

body.nt-integration-hub[data-nt-device="desktop"] #content > #divMallMenu {
  grid-column: 1 / -1;
  display: none;
}

body.nt-integration-hub[data-nt-device="desktop"] #container > #footer {
  width: var(--ihub-page-w);
  margin: 0 auto;
  clear: both;
}

/* ── 헤더: 로고·GNB·인기검색어 ── */
body.nt-integration-hub[data-nt-device="desktop"] #container #header,
body.nt-integration-hub[data-nt-device="desktop"] .area_ignb,
body.nt-integration-hub[data-nt-device="desktop"] .area_gnb {
  width: var(--ihub-page-w);
}

body.nt-integration-hub[data-nt-device="desktop"] .area_gnb {
  width: calc(var(--ihub-page-w) - var(--ihub-kwd-strip-w));
}

body.nt-integration-hub[data-nt-device="desktop"] .area_gnb ul > li {
  margin: 0 8px 0 0;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_gnb ul > li > a {
  font-size: 15px;
  letter-spacing: -0.5px;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_bi h1.bi.ihub-brand,
body.nt-integration-hub[data-nt-device="desktop"] .area_bi h1.bi.ihub-brand a {
  top: 68px;
  left: 0;
  width: auto;
  max-width: 142px;
  height: auto;
  background: none;
  text-indent: 0;
  overflow: visible;
}

body.nt-integration-hub[data-nt-device="desktop"] .ihub-brand-logo,
body.nt-integration-hub[data-nt-device="desktop"] .area_bi .ihub-brand-logo {
  display: block;
  max-width: 142px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

body.nt-integration-hub[data-nt-device="desktop"] #gnbMorePanel.ihub-gnb-more {
  position: absolute;
  top: var(--ihub-header-h);
  left: 0;
  z-index: 10;
  width: var(--ihub-page-w);
  border: 1px solid #d4d4d4;
  background: #fff;
  box-sizing: border-box;
}

body.nt-integration-hub[data-nt-device="desktop"] #gnbMorePanel.ihub-gnb-more .gnb_more_inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 16px 20px 12px;
}

body.nt-integration-hub[data-nt-device="desktop"] #gnbMorePanel.ihub-gnb-more ul {
  flex: 1 1 25%;
  min-width: 180px;
  margin: 0;
  padding: 0;
}

body.nt-integration-hub[data-nt-device="desktop"] #gnbMorePanel.ihub-gnb-more ul li {
  margin: 0 0 8px 0;
  font-size: 15px;
  line-height: 1.5;
}

body.nt-integration-hub[data-nt-device="desktop"] #gnbMorePanel.ihub-gnb-more .btn_close {
  position: absolute;
  top: 8px;
  right: 12px;
  width: auto;
  height: auto;
  padding: 4px 10px;
  font-size: 15px;
  line-height: 1.5;
  text-indent: 0;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
}

body.nt-integration-hub[data-nt-device="desktop"] #keywordRank.area_rtkwd.type_alone {
  top: 182px;
  right: var(--ihub-kwd-strip-w);
  width: 0;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

body.nt-integration-hub[data-nt-device="desktop"] #bizRank.area_biz.type_alone {
  top: 182px;
  right: 0;
  width: var(--ihub-kwd-strip-w);
  height: 29px;
  overflow: hidden;
  z-index: 5;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
}

body.nt-integration-hub[data-nt-device="desktop"] #bizRank.area_biz.type_alone h3.type_biz {
  position: static;
  top: auto;
  left: auto;
  flex: 0 0 auto;
  width: auto;
  max-width: 118px;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  float: none;
}

body.nt-integration-hub[data-nt-device="desktop"] #bizRank.area_biz.type_alone .kwd_list.type_biz {
  position: relative;
  top: auto;
  left: auto;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 20px;
  margin: 0;
  overflow: hidden;
}

body.nt-integration-hub[data-nt-device="desktop"] #bizRank.area_biz.type_alone .kwd_list.type_biz ol {
  margin: 0;
}

body.nt-integration-hub[data-nt-device="desktop"] #bizRank.area_biz.type_alone .kwd_list.type_biz ol li {
  height: 20px;
  line-height: 20px;
  margin: 0;
}

body.nt-integration-hub[data-nt-device="desktop"] #bizRank.area_biz.type_alone .kwd_list.type_biz ol li p {
  display: flex;
  align-items: center;
  height: 20px;
  margin: 0;
  padding: 0 0 0 20px;
  line-height: 20px;
}

body.nt-integration-hub[data-nt-device="desktop"] #bizRank.area_biz.type_alone .kwd_list.type_biz ol li .num {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  line-height: 1;
}

body.nt-integration-hub[data-nt-device="desktop"] #bizRank.area_biz.type_alone .kwd_list.type_biz ol li a {
  display: block;
  height: 20px;
  line-height: 20px;
  font-size: 15px;
  color: #222;
  overflow: visible;
  white-space: nowrap;
}

/* ── 뉴스 블록: 탭 + 670|180 ── */
body.nt-integration-hub[data-nt-device="desktop"] .area_news {
  width: var(--ihub-main-w);
  padding-bottom: 0;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .menu {
  position: relative;
  top: auto;
  left: auto;
  width: var(--ihub-main-w);
  height: auto;
  min-height: 24px;
  margin: 0 0 var(--ihub-inner-gap) 0;
  display: flow-root;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .menu h4 {
  float: left;
  margin: 0 18px 0 0;
  height: 20px;
  font-size: 15px;
  line-height: 1.33;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content {
  width: var(--ihub-main-w);
  /* twin 고정 height 468px·relative 해제 — 통합허브는 자동 높이, nav는 area_news 기준 */
  position: static;
  height: auto;
  margin-top: 0;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content.type_news {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .tabCnt {
  position: relative;
  flex: 0 0 var(--ihub-main-col);
  width: var(--ihub-main-col);
  max-width: var(--ihub-main-col);
  margin: 0;
  padding: 0 var(--ihub-gap-w) 0 0;
  box-sizing: border-box;
  overflow: hidden;
}

/* 구분선 | — 콘텐츠 660 끝에서 10px, bizCnt 앞 10px (패딩 20px 중앙) */
body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .tabCnt::after {
  content: "";
  position: absolute;
  top: 0;
  right: var(--ihub-divider-pad);
  width: 1px;
  height: 100%;
  background-color: #eaeaea;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .bizCnt {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  float: none !important;
  flex: 0 0 var(--ihub-side-col);
  width: var(--ihub-side-col);
  max-width: var(--ihub-side-col);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ihub-inner-gap);
  text-align: center;
  box-sizing: border-box;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .bizCnt .isKeyword {
  width: 168px;
  margin: 0;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .bizCnt h4 {
  display: block;
  position: static;
  width: auto;
  height: auto;
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: #333;
  text-indent: 0;
  overflow: visible;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .bizCnt .isKeywordList {
  position: relative;
  width: 168px;
  margin: 0;
  overflow: hidden;
  text-align: left;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .bizCnt .isKeywordList li {
  position: relative;
  display: flex;
  padding-top: 7px;
  overflow: hidden;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .bizCnt .isKeywordList li .slide-content {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

/* 통합허브: 키워드 전체 목록 상시 표시 — twin의 translateY(1건 롤링) 무효화, 롤링은 하이라이트만 */
body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .bizCnt .isKeywordList li.hidden .slide-content {
  transform: none !important;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .bizCnt .isKeywordList li a {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  margin-left: 8px;
  padding: 0;
  font-size: 15px;
  color: #3b3b3b;
  height: auto;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .bizCnt .isKeywordList li .num_rank {
  flex: 0 0 10px;
  width: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #222;
  text-align: left;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .bizCnt .isKeywordList li .txt_rank {
  flex: 1 1 auto;
  min-width: 0;
  overflow: visible;
  white-space: normal;
  word-break: break-word;
  font-size: 15px;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .bizCnt .isKeywordList li .fc {
  flex: 0 0 26px;
  width: 26px;
  margin-left: 4px;
  font-size: 14px;
  font-weight: 700;
  color: #777;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .bizCnt .btn_more_wrap {
  position: relative;
  width: 168px;
  height: 15px;
  margin-top: 4px;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .bizCnt .btn_more_wrap .btn_more {
  position: absolute;
  top: 0;
  right: 0;
  width: 15px;
  height: 15px;
  text-indent: -9999px;
  overflow: hidden;
  background: #eee;
  border: 1px solid #ddd;
  border-radius: 2px;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .bizCnt .adBox {
  position: relative;
  width: 168px;
  height: auto;
  min-height: 0;
  margin: 0 auto;
  align-self: center;
  text-align: center;
  overflow: visible;
  text-align: center;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .bizCnt .adBox:empty {
  display: none;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .bizCnt .adBox a {
  display: block;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .bizCnt .adBox a > span {
  display: block;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .bizCnt .adBox .thumb {
  display: block;
  height: 97px;
  overflow: hidden;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .bizCnt .adBox .thumb img {
  display: block;
  width: 168px;
  height: 97px;
  object-fit: cover;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .bizCnt .adBox .title {
  display: block;
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -0.5px;
  color: #222;
  overflow: visible;
  white-space: normal;
  word-break: break-word;
  text-align: center;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .bizCnt .todayBox {
  position: relative;
  width: 168px;
  height: auto;
  margin: 0;
  overflow: hidden;
  border: 1px solid #e6e6ea;
  background-color: #f6f6fa;
  text-align: left;
  box-sizing: border-box;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .bizCnt .todayBox .cmBox2,
body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .bizCnt .todayBox .cmBox2 a {
  display: block;
  width: 168px;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .bizCnt .todayBox .thumb {
  display: block;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .bizCnt .todayBox .thumb img {
  display: block;
  width: 168px;
  height: 138px;
  object-fit: cover;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .bizCnt .todayBox h3 {
  position: absolute;
  top: 10px;
  left: 15px;
  width: auto;
  height: auto;
  font-size: 15px;
  line-height: 1.35;
  color: #222;
  text-indent: 0;
  overflow: visible;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .bizCnt .todayBox .svcLink li {
  font-size: 15px;
  text-align: left;
}

/* ── 원본(Nate) 표현 — 사진 세로 1열(좌 168px) + 텍스트 리스트(우) ── */
body.nt-integration-hub[data-nt-device="desktop"] .area_news .content ul.type_thumb.type02 {
  display: block;
  float: left;
  width: 168px;
  margin: 0;
  padding: 0;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content ul.type_thumb.type02 li {
  float: none;
  width: 168px;
  margin: 0 0 18px 0;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .type_thumb.type02 a {
  position: relative;
  display: block;
  width: 168px;
  height: 138px;
  overflow: hidden;
  font-size: 15px;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .type_thumb .thumb_img,
body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .type_thumb .thumb_img img {
  display: block;
  width: 168px;
  height: 97px;
  object-fit: cover;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .type_thumb.type02 .txt {
  display: block;
  margin: 6px 0 15px 0;
  font-size: 15px;
  line-height: 1.38;
  color: #222;
  overflow: hidden;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content ul.type_thumb.type01 {
  display: none !important;
}

/* 미드배너 — 660px 콘텐츠열(탭Cnt 폭) 아래 */
body.nt-integration-hub[data-nt-device="desktop"] .area_news > .ihub-mid-banner {
  display: block;
  width: var(--ihub-mid-banner-w);
  max-width: calc(var(--ihub-main-col) - 2 * var(--ihub-divider-pad));
  margin: var(--ihub-inner-gap) 0 0 0;
  clear: both;
  overflow: hidden;
}

body.nt-integration-hub[data-nt-device="desktop"] .ihub-mid-banner a,
body.nt-integration-hub[data-nt-device="desktop"] .ihub-mid-banner img {
  display: block;
  width: 100%;
  max-width: var(--ihub-mid-banner-w);
  height: 90px;
  object-fit: cover;
}

/* 텍스트 리스트 — 사진열 우측 세로 스택 (원본 340px 대응 확장폭) */
body.nt-integration-hub[data-nt-device="desktop"] .area_news .content ul.type_text {
  float: left;
  clear: none;
  width: calc(100% - 186px);
  margin: -5px 0 15px 18px;
  padding: 0 0 6px;
  overflow: hidden;
  box-sizing: border-box;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content ul.type_text li a {
  display: block;
  overflow: visible;
  white-space: normal;
  word-break: break-word;
  text-overflow: clip;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content.type_rank .tabCnt {
  width: 100%;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content.type_rank .rankBox {
  position: relative;
  width: 100%;
  margin: 0 0 var(--ihub-inner-gap);
  overflow: visible;
  display: flow-root;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content.type_rank .rankBox .tit {
  display: block;
  float: none;
  clear: both;
  width: 100%;
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: #333;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content.type_rank .list_rank {
  float: left;
  width: calc(50% - 12px);
  margin: 0 24px 0 0;
  padding: 5px 0 9px;
  box-sizing: border-box;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content.type_rank .list_rank:nth-of-type(2n) {
  margin-right: 0;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_news .content.type_rank .list_rank li {
  float: none;
  width: 100%;
  padding: 0 0 4px;
  line-height: 20px;
  overflow: visible;
}

/* 랭킹뉴스 탭 — 텍스트 전용·제목 전체 표시 */
body.nt-integration-hub[data-nt-device="desktop"] .area_news .content.type_rank .list_rank .link_rank {
  display: block;
  font-size: 15px;
  color: #222;
  overflow: visible;
  white-space: normal;
  word-break: break-word;
  text-overflow: clip;
}

/* 원본에서 안 보이는 보조 요소 — 고정높이 클리핑 대체 */
body.nt-integration-hub[data-nt-device="desktop"] .area_news .content .content_recommend,
body.nt-integration-hub[data-nt-device="desktop"] .area_news .content > #newsNotice {
  display: none;
}

/* 뉴스 롤링 내비 — 원본처럼 뉴스박스 상단 우측(사진·텍스트 구간 우상단) */
body.nt-integration-hub[data-nt-device="desktop"] .area_news .nav#newsOptBtn {
  position: absolute;
  top: 0;
  right: calc(var(--ihub-side-col) + var(--ihub-gap-w));
  z-index: 2;
  display: flex;
  align-items: center;
}

/* ── 판·이슈UP ── */
body.nt-integration-hub[data-nt-device="desktop"] .area_contents {
  width: var(--ihub-main-w);
}

body.nt-integration-hub[data-nt-device="desktop"] .area_contents .menu,
body.nt-integration-hub[data-nt-device="desktop"] .area_contents .content {
  width: 100%;
}

/* 원본 2열(325px/730px) 비율을 850px 폭에 맞춰 확장 — 홀수열 margin 50px 유지 */
body.nt-integration-hub[data-nt-device="desktop"] .area_contents .content .ctList li {
  width: 400px;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_issue {
  width: var(--ihub-main-w) !important;
  box-sizing: border-box;
}

/* ── 우측하단 Biz 추천검색어(사진+텍스트) ── */
body.nt-integration-hub[data-nt-device="desktop"] .area_ranking h3 {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_ranking .menu h4 {
  position: static;
  width: auto;
  height: auto;
  margin: 0 0 var(--ihub-inner-gap) 4px;
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.5px;
  text-align: left;
  color: #333;
  text-indent: 0;
  overflow: visible;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_ranking .content ul.type_thumb {
  margin: 0;
  padding: 0;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_ranking .type_thumb li {
  position: relative;
  width: 100%;
  height: 72px;
  margin: 0 0 var(--ihub-inner-gap);
  padding: 0;
  overflow: hidden;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_ranking .type_thumb li:last-child {
  margin-bottom: 0;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_ranking .type_thumb li a {
  display: block;
  height: 72px;
  overflow: hidden;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_ranking .type_thumb li a::after {
  content: "";
  display: block;
  clear: both;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_ranking .type_thumb li .thumb {
  position: relative;
  float: left;
  width: 72px;
  height: 72px;
  margin: 0 var(--ihub-inner-gap) 0 0;
  overflow: hidden;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_ranking .type_thumb li .thumb img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_ranking .type_thumb li .text {
  display: block;
  padding: 8px 0 0;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -0.5px;
  color: #333;
  overflow: visible;
  white-space: normal;
  word-break: break-word;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_ranking .type_thumb li .desc {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.35;
  color: #999;
  overflow: visible;
  white-space: normal;
  word-break: break-word;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_ranking .type_thumb li.commercial .text {
  color: #3f7dee;
}

/* ── 쇼핑 사이드(330) — 4탭 쇼핑·온딜·나눔·공공 ── */
body.nt-integration-hub[data-nt-device="desktop"] #shopitemMall {
  position: relative;
  width: 100%;
  min-height: 360px;
}

body.nt-integration-hub[data-nt-device="desktop"] #shopitemMall .tab {
  width: 82px;
}

body.nt-integration-hub[data-nt-device="desktop"] #shopitemMall .tab .link {
  font-size: 15px;
}

body.nt-integration-hub[data-nt-device="desktop"] #shopitemMall .shopmall {
  width: 100%;
  max-width: 312px;
  box-sizing: border-box;
}

body.nt-integration-hub[data-nt-device="desktop"] #shopitemMall .shopmall .imglist .txt {
  font-size: 15px;
  line-height: 1.35;
  overflow: visible;
  white-space: normal;
  word-break: break-word;
}

/* ── 숏폼 8열(사진+텍스트) ── */
body.nt-integration-hub[data-nt-device="desktop"] #divShortForm.short-form-content {
  width: var(--ihub-page-w);
  box-sizing: border-box;
}

body.nt-integration-hub[data-nt-device="desktop"] #divShortForm .best-shortform-wrap {
  width: 100%;
}

body.nt-integration-hub[data-nt-device="desktop"] #divShortForm .best-shortform {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  gap: var(--ihub-inner-gap);
}

body.nt-integration-hub[data-nt-device="desktop"] #divShortForm .best-shortform li {
  flex: 0 0 calc((var(--ihub-page-w) - 7 * var(--ihub-inner-gap)) / 8);
  width: calc((var(--ihub-page-w) - 7 * var(--ihub-inner-gap)) / 8);
  margin: 0;
}

body.nt-integration-hub[data-nt-device="desktop"] #divShortForm .best-shortform .thumb img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

body.nt-integration-hub[data-nt-device="desktop"] #divShortForm .best-shortform .subject {
  font-size: 15px;
  line-height: 1.4;
  margin-top: 6px;
  overflow: visible;
  white-space: normal;
  word-break: break-word;
}

/* ── 하단 광고 850+330 ── */
body.nt-integration-hub[data-nt-device="desktop"] .area_ad09 {
  flex: 0 0 var(--ihub-main-w);
  width: var(--ihub-main-w) !important;
  float: none !important;
  height: 90px;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_ad09 ul li,
body.nt-integration-hub[data-nt-device="desktop"] .area_ad09 ul li:first-child {
  width: calc((var(--ihub-main-w) - 3px) / 4);
}

body.nt-integration-hub[data-nt-device="desktop"] .area_ad10 {
  flex: 0 0 var(--ihub-side-w);
  width: var(--ihub-side-w) !important;
  float: none !important;
  margin: 0 !important;
  height: 90px;
}

body.nt-integration-hub[data-nt-device="desktop"] .area_ad10 img {
  width: 100%;
  height: 90px;
  object-fit: cover;
}

/* ── 공지 마키 2행 ── */
body.nt-integration-hub[data-nt-device="desktop"] #footer .footer-notice-row {
  position: relative;
  width: var(--ihub-page-w);
  margin: 0 auto;
  padding-bottom: 8px;
}

body.nt-integration-hub[data-nt-device="desktop"] #footer .notice.notice-marquee {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  white-space: nowrap;
}

body.nt-integration-hub[data-nt-device="desktop"] #footer .notice.notice-marquee h3 {
  position: static;
  flex: 0 0 auto;
  margin: 0 var(--ihub-divider-pad) 0 0;
  padding-right: var(--ihub-divider-pad);
  font-size: 15px;
  line-height: 1.5;
  text-indent: 0;
  width: auto;
  height: auto;
}

body.nt-integration-hub[data-nt-device="desktop"] #footer .notice.notice-marquee h3::after {
  content: "|";
  margin-left: var(--ihub-divider-pad);
  color: #d0d0d0;
  font-weight: 400;
}

body.nt-integration-hub[data-nt-device="desktop"] #footer .notice-marquee-track {
  flex: 1 1 auto;
  overflow: hidden;
  min-width: 0;
}

body.nt-integration-hub[data-nt-device="desktop"] #footer .notice-marquee-inner {
  display: inline-flex;
  align-items: center;
  gap: 0;
  animation: ihub-notice-marquee 28s linear infinite;
}

body.nt-integration-hub[data-nt-device="desktop"] #footer .notice-marquee-inner a {
  display: inline-block;
  padding: 0 var(--ihub-divider-pad);
  font-size: 15px;
  color: #333;
  white-space: nowrap;
}

body.nt-integration-hub[data-nt-device="desktop"] #footer .notice-marquee-inner a + a::before {
  content: "|";
  margin-right: var(--ihub-divider-pad);
  color: #d0d0d0;
}

body.nt-integration-hub[data-nt-device="desktop"] #footer a.view_all {
  position: static;
  display: block;
  width: auto;
  margin: 8px 0 0 auto;
  padding: 0;
  height: auto;
  font-size: 15px;
  line-height: 1.5;
  text-align: right;
  border: 0;
  color: #222;
}

@keyframes ihub-notice-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══ 모바일(m.nate) — 간격 20/15px · 로고 · 사진+텍스트 슬롯 ══ */
body[data-nt-device="mobile"] {
  --ihub-area-gap: 20px;
  --ihub-inner-gap: 15px;
}

/* 모바일 메뉴 13개(GNB SSOT) — 좁은 화면은 가로 스크롤(스크롤바 숨김은 vendor) */
body[data-nt-device="mobile"] .blockNavi .navTab {
  justify-content: flex-start;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

body[data-nt-device="mobile"] .blockNavi .navTab li {
  flex: 0 0 auto;
}

body[data-nt-device="mobile"] .blockNavi .navTab li a {
  display: block;
  padding: 0 10px;
  white-space: nowrap;
}

body[data-nt-device="mobile"] .section.FIELD,
body[data-nt-device="mobile"] section > .section.FIELD {
  margin-bottom: var(--ihub-area-gap);
}

body[data-nt-device="mobile"] .section.FIELD:last-child,
body[data-nt-device="mobile"] .ct1 > .section.FIELD:last-of-type {
  margin-bottom: 0;
}

body[data-nt-device="mobile"] .section .thd {
  margin-bottom: var(--ihub-inner-gap);
}

body[data-nt-device="mobile"] .slider_scroll .isList {
  gap: var(--ihub-inner-gap);
}

body[data-nt-device="mobile"] .slider_scroll .pt1 a > span:last-child,
body[data-nt-device="mobile"] .mpt1 .pt2 a > span:last-child {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.4;
}

body[data-nt-device="mobile"] .slider_scroll .iBox img,
body[data-nt-device="mobile"] .mpt1 .pt2 .iBox img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

body[data-nt-device="mobile"] .mt1 li {
  margin-bottom: var(--ihub-inner-gap);
}

body[data-nt-device="mobile"] .mt1 li:last-child {
  margin-bottom: 0;
}

body[data-nt-device="mobile"] .srchWrap h1 a .ihub-brand-logo {
  display: block;
  max-width: 120px;
  max-height: 36px;
  width: auto;
  height: auto;
  object-fit: contain;
}

body[data-nt-device="mobile"] .srchWrap h1 a:has(.ihub-brand-logo) .logo {
  display: none !important;
  background: none !important;
  text-indent: 0;
}

/* srchword 접힘 롤: vendor 정밀 geometry(rankFold h=40 창) 유지 —
   margin-top 추가 시 창이 rankFold clip 밖으로 밀려 키워드가 안 보임 */

/* 모바일 광고 슬롯 (M-AD-TOP · M-AD-SHBOX) — 전폭 100px */
body[data-nt-device="mobile"] .mainBn.ihub-mob-ad {
  margin: 0 0 var(--ihub-area-gap);
}

body[data-nt-device="mobile"] .mainBn.ihub-mob-ad a,
body[data-nt-device="mobile"] .mainBn.ihub-mob-ad img {
  display: block;
  width: 100%;
  height: 100px;
  object-fit: cover;
}

body[data-nt-device="mobile"] .shopBox.FIELD {
  margin-bottom: var(--ihub-area-gap);
}

body[data-nt-device="mobile"] #footer .footer {
  padding-top: var(--ihub-area-gap);
}

/* ══ 제목 전체 표시 ══
   뉴스~랭킹 구간(뉴스 리스트·판·이슈UP·랭킹뉴스)은 원본(Nate) 한 줄 말줄임 표현 유지 —
   ad09 하단 광고 스트립만 전체 표시 */
body.nt-integration-hub[data-nt-device="desktop"] .area_ad09 ul li span {
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: clip !important;
  word-break: break-word;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  display: block !important;
  max-height: none !important;
}

body[data-nt-device="mobile"] .mt1 .lt1_1 a .tit,
body[data-nt-device="mobile"] .mt1 .lt2.ep a .tit,
body[data-nt-device="mobile"] .slider_scroll .pt1 a > span:last-child,
body[data-nt-device="mobile"] .mpt1 .pt1_2 a .iBox + span .tit,
body[data-nt-device="mobile"] .mpt1 .pt2 a > span:last-child,
body[data-nt-device="mobile"] .srchword .rank ol li a {
  overflow: visible !important;
  white-space: normal !important;
  text-overflow: clip !important;
  word-break: break-word;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  display: block !important;
  max-height: none !important;
  min-height: 0 !important;
}
