@charset "UTF-8";

/* Pretendard 폰트 import */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/static/pretendard.css');

/* CSS 변수 import */
@import url('./styleguide.css');

/* 헤더 전용 CSS */

/* 헤더 기본 스타일 */
.header-heder {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  position: relative;
  background-color: #ffffff;
}

.header-2-heder {
  display: flex;
  height: 78px;
  align-items: center;
  position: relative;
  align-self: stretch;
  width: 100%;
  background-color: #ffffff;
}

/* 상단 헤더 좌우 공간 - 메뉴의 content-wrapper와 완전히 동일하게 */
.header-2-heder::before {
  content: '';
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  flex-grow: 1;
  padding: 0 10px;
}

.header-2-heder::after {
  content: '';
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  flex-grow: 1;
  padding: 0 10px;
}

/* 상단 콘텐츠 영역 - 메뉴와 정확한 정렬 */
.header-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1141px; /* 메뉴 영역과 정확히 동일한 너비 */
  flex-shrink: 0;
  padding: 0; /* 패딩 제거하여 메뉴와 정확히 맞춤 */
}

/* 로고 영역 - 첫 번째 메뉴(학회소개)와 동일한 시작점 */
.header-content-wrapper .logo-eng-heder {
  margin-left: 10px; /* frame-25-heder의 padding과 동일 */
}

/* 상단 메뉴 영역 - 마지막 메뉴(알림마당)와 동일한 끝점 */
.header-content-wrapper .frame-22-heder {
  margin-right: 10px; /* frame-25-heder의 padding과 동일 */
}

.logo-eng-heder {
  position: relative;
  width: 127px;
  height: 52px;
  margin-top: -7.00px;
  margin-bottom: -7.00px;
}

.frame-22-header-heder {
  display: flex;
  width: 138px;
  align-items: center;
  justify-content: flex-end;
  gap: 36px;
  position: relative;
}

.frame-23-heder {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  flex: 0 0 auto;
  margin-left: -22.00px;
}

.content-3-heder {
  font-family: "Pretendard-Regular", Helvetica;
  font-weight: 400;
  color: var(--blackblack-60);
  font-size: 14px;
  text-align: center;
  line-height: 22px;
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  letter-spacing: 0;
  white-space: nowrap;
}

.content-4-heder {
  font-family: "Pretendard-Regular", Helvetica;
  font-weight: 400;
  color: var(--blackblack-20);
  font-size: 14px;
  text-align: center;
  line-height: 22px;
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  letter-spacing: 0;
  white-space: nowrap;
}

.frame-24-heder {
  display: flex;
  align-items: center;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  height: 48px;
}

.content-wrapper-heder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 10px;
  position: relative;
  flex: 1;
  flex-grow: 1;
  background-color: #24397a;
  height: 100%;
}

.content-5-heder {
  opacity: 0;
  font-family: var(--bold-body-l-800-font-family);
  font-weight: var(--bold-body-l-800-font-weight);
  color: #ffffff;
  font-size: var(--bold-body-l-800-font-size);
  text-align: center;
  line-height: var(--bold-body-l-800-line-height);
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  letter-spacing: var(--bold-body-l-800-letter-spacing);
  white-space: nowrap;
  font-style: var(--bold-body-l-800-font-style);
}

.frame-25-heder {
  display: flex;
  width: 163px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 10px;
  position: relative;
  background-color: #24397a;
  height: 100%;
}

.content-6-heder {
  font-family: var(--bold-body-l-800-font-family);
  font-weight: var(--bold-body-l-800-font-weight);
  color: #ffffff;
  font-size: var(--bold-body-l-800-font-size);
  text-align: center;
  line-height: var(--bold-body-l-800-line-height);
  position: relative;
  width: fit-content;
  margin-top: -1.00px;
  letter-spacing: var(--bold-body-l-800-letter-spacing);
  white-space: nowrap;
  font-style: var(--bold-body-l-800-font-style);
}

/* 메뉴 아이템 스타일 */
.menu-item-heder {
  position: relative;
  cursor: pointer;
}

.menu-item .content-6-heder {
  cursor: pointer;
}

/* 통합 드롭다운 메뉴 스타일 */
.unified-dropdown-menu-heder {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  
  background-color: #ffffff;
  border-top: 1px solid #e1e1e1;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

/* 활성 상태에서 통합 드롭다운 표시 */
.unified-dropdown-menu-heder.active-heder {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.unified-dropdown-content-heder {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 0;
  padding-left: calc(27px); /* 왼쪽 여백 + 첫 번째 content-wrapper 너비 */
  display: flex;
  justify-content: flex-start;
}

/* 각 메뉴 섹션 스타일 - 정확한 위치 맞춤 */
.menu-section-heder {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 163px;
    flex-shrink: 0;
    text-align: center;
    border-right: 1px solid;
    border-left: 1px solid;
    border-color: #E4E7EC;
}

.dropdown-item-heder {
    display: block;
    padding: 6px 0;
    color: #606060;
    text-decoration: none;
    font-family: var(--regular-body-s-400-font-family);
    font-weight: var(--regular-body-s-400-font-weight);
    font-size: 16px;
    line-height: 24px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown-item-heder:hover {
  color: #1B70B0;
}

/* 드롭다운 메뉴가 다른 콘텐츠 위에 표시되도록 */
.header-heder {
  position: relative;
  z-index: 100;
} 