/* ===============================
   sub01.css (기업소개 서브페이지)
   =============================== */

/* 기본 여백 제거 + 고정 헤더 가림 방지 */
html,
body {
  margin: 0;
  padding: 0;
}
:root {
  --full: 1920px;
  --container: 1300px;
  --header-h: 72px;

  /* Palette */
  --text: #212529;
  --white: #fff;
  --green: #348413;
  --green-2: #dfece0;
  --green-3: #e9f1e9;
  --muted: #6b7280;
  --line: #e6e6e6;
  --tt-yellow: #ffd400;
}

/* 서브페이지는 헤더가 fixed라 본문이 가리지 않도록 위 패딩 */
body {
  padding-top: var(--header-h);
}

/* ===== Layout ===== */
.full-wrap {
  width: 100%;
  max-width: var(--full);
  margin: 0 auto;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eaeaea;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* 메인 메뉴 */
.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  display: block;
  padding: 8px 4px;
  font-size: 15px;
  font-weight: 600;
  color: #348413;
  position: relative;
  text-decoration: none;
}
.nav-link:hover {
  color: #348413;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #348413;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}
.nav-link:hover::after {
  width: 70%;
}

/* ===========================
   전체 드롭다운 컨테이너
   =========================== */

/* 전체 배경 */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  top: 72px;
  width: 100%;
  height: 0;
  background: #348413;
  border-top: 1px solid #e5e5e5;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: height 0.3s ease;
  z-index: 1;
}

/* hover 시 전체 내려옴 */
.site-header:hover::after {
  height: 250px;
}

/* ===========================
   모든 서브메뉴 줄맞춤
   =========================== */

.has-sub {
  position: relative;
}

/* 모든 mega-sub를 가로 정렬된 라인으로 */
.nav-item.has-sub .mega-sub {
  position: absolute;
  top: 72px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2;
}

/* 헤더 전체 hover 시, 모든 서브메뉴 한 줄로 표시 */
.site-header:hover .nav-item.has-sub .mega-sub {
  opacity: 1;
  pointer-events: auto;
}

/* 각 서브리스트: 자기 메인메뉴 밑으로 */
.nav-item.has-sub .sub-list {
  list-style: none;
  margin: 0;
  padding: 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 160px;
  text-align: center;
}

/* 서브링크 */
.sub-link {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s; /* ← 문법만 정상화 */
}
.sub-link:hover {
  color: #999999;
}
/* ===============================
   기업소개 메인 이미지 영역
   =============================== */
.sub-hero {
  position: relative;
  width: 100%;
  height: 300px;
  background: url("../img/sub_partnership.jpg") no-repeat center/cover;
  display: flex;
  align-items: center; /* 세로 가운데 정렬 */
}

/* 1300px 기준 왼쪽 정렬 */
.sub-hero .container {
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  padding: 0 20px; /* 좌우 여백 */
  box-sizing: border-box;
}

/* 텍스트 스타일 */
.sub-title {
  font-size: 50px;
  font-weight: 800;
  color: #fff;
  text-align: left;
  line-height: 1;
}

/* ====== 글로벌 파트너 섹션 ====== */
.partner-global {
  padding: 80px 0 100px;
  background: #ffffff;
  font-family: "SUIT", "Noto Sans KR", sans-serif;
}

.partner-global .inner {
  width: 1300px;
  max-width: 100%;
  margin: 0 auto;
}

/* 상단 타이틀 */
.pg-subtitle {
  font-size: 20px;
  color: #000;
  margin-bottom: 6px; /* 빨간 제목과 붙어 보이도록 */
  font-weight: 600;
}

.pg-title {
  margin-top: -10px;
  font-size: 30px;
  font-weight: 700;
  color: #d62828; /* 빨간 제목 */
  margin-bottom: 22px; /* 아래 본문과 적당 간격 */
}

/* 설명 문단 */
.pg-desc,
.pg-desc-bottom {
  font-size: 20px;
  line-height: 1.8;
  color: #212529;
}

/* “HPE와 Juniper의 결합은” 라인 */
.pg-mid-title {
  margin-top: 80px;
  font-size: 20px;
  color: #000;

  margin-bottom: 6px; /* 초록문과 너무 붙지 않게 */
}

/* 초록 강조문 */
.pg-highlight-title {
  font-size: 20px;
  margin-bottom: 25px;
}

.pg-highlight-title span {
  font-size: 30px;
  font-weight: 700;
  color: #03a94d;
}

/* 리스트 */
.pg-list {
  margin: 35px 0 35px;
  padding: 0;
  list-style: none;
}

.pg-list li {
  font-size: 20px;
  line-height: 1.7;
  color: #212529;
  position: relative;
  padding-left: 12px;
  font-weight: 600;
}

.pg-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #03a94d;
}

/* 메인 이미지 */
.pg-img-wrap {
  margin: 40px auto;
  width: 1300px;
  max-width: 100%;
}

.pg-img-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

/* 하단 문단 */
.pg-desc-bottom {
  margin-top: 10px;
  margin-bottom: 30px;
}

/* 버튼 */
.pg-btn-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  flex-wrap: wrap;
  margin-top: 50px; /* 버튼 윗 간격 */
}

.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  height: 46px;
  border-radius: 15px;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}

.btn-green {
  background: #03a94d;
  color: #fff;
  transition: 0.2s;
}

.btn-green:hover {
  background: #2f5f22;
}

@media all and (max-width:1300px) {

  :root {
    --header-h: 50px;
  }
  .sub-hero{height:200px;}
  .sub-title{font-size:26px;}

  .partner-global{padding:60px 5%;}

  .pg-subtitle{font-size:16px;}
  .pg-title{font-size:24px;}
  .pg-highlight-title{font-size:18px;}
  .pg-highlight-title span{font-size:20px;}
  .pg-desc, .pg-desc-bottom{font-size:14px;}
  .pg-list{}
  .pg-list li{font-size:14px;}
  .pg-list li::before{top:8px;}
  .btn-link{height:50px;font-size:15px;}
  .pg-btn-wrap{gap:20px;}
}