/**
 * publishing.css — 달링 .page 시안 (디자이너 베이스와 공존 · work-r2 화면 정합)
 */

/* layout.css #header — id="header" + .header 충돌 */
.page > header.header#header,
.page header.header#header {
  position: absolute;
  top: 0;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 100;
  width: 100%;
  max-width: var(--layout-max);
  height: auto;
  min-height: 0;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

.page > header.header#header .contain,
.page header.header#header .contain {
  display: block;
  max-width: none;
  padding: 0;
  margin: 0;
  height: auto;
}

.page #gnb,
.page .submenu-bg,
.page .btn-m-menu,
.page .mobile-navigation,
.page .mobile-overlay {
  display: none !important;
}

.page #footer {
  display: none !important;
}

/* layout.css .sub-visual — 달링 BEM .sub-visual__* 와 공유 클래스명 */
.page .sub-visual {
  display: block;
  align-items: unset;
  justify-content: unset;
  margin-top: 0;
  height: auto;
  min-height: 0;
  background: transparent;
  text-align: inherit;
}

.page .sub-visual > h2 {
  font-size: inherit;
  line-height: inherit;
  position: absolute;
}

/* layout .lnb / #contArea — 달링은 .sub-nav · .sub-body 사용 */
.page .lnb-wrap,
.page .lnb {
  display: none !important;
}

.page #container,
.page #contArea,
.page .sub-title,
.page .real-cont {
  max-width: none;
  margin: 0;
  padding: 0;
  min-height: 0;
}

.page .sub-title {
  padding: 0;
  text-align: inherit;
}

/* GNB 호버 — bar+mega 흰 배경 (Figma 9074:491) · 메인·서브 공통 */
.page header.header#header.is-open {
  background: var(--color-white);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.08);
}

.page header.header#header.is-open .header__bar,
.page header.header#header.is-open .header__mega,
.page header.header#header.is-open .header__mega-panel {
  background: var(--color-white);
}
