/* 기본 가로 메뉴 컨테이너 */
.hbm-wrapper {
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

/* 전체 넓이 확장 옵션 */
.hbm-wrapper.hbm-width-full {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

.hbm-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    box-sizing: border-box;
}

/* 홈 버튼 링크 */
.hbm-home {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    gap: 5px;
    font-weight: bold;
}

/* 계층별 메뉴 아이템 그룹 */
.hbm-item-group {
    display: flex;
    align-items: center;
    position: relative;
}

.hbm-divider {
    margin: 0 12px;
    opacity: 0.5;
}

.hbm-title {
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

/* 드롭다운 토글 버튼 */
.hbm-dropdown-toggle {
    position: relative;
    margin-left: 8px;
}

.hbm-arrow-btn {
    background: rgba(255, 255, 255, 0.25);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.hbm-arrow-btn:hover {
    background: rgba(255, 255, 255, 0.45);
}

.hbm-arrow-icon {
    font-size: 9px;
    color: #ffffff;
    transition: transform 0.3s ease;
    display: inline-block;
    line-height: 1;
}

.hbm-dropdown-toggle.open {
    z-index: 10;
}

.hbm-dropdown-toggle.open .hbm-arrow-btn {
    background: #ffffff;
}

.hbm-dropdown-toggle.open .hbm-arrow-icon {
    color: #004098;
    transform: rotate(180deg);
}

/* 서브메뉴 드롭다운 레이어 */
.hbm-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border: 1px solid #e1e1e1;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    z-index: 20;
}

.hbm-dropdown-toggle.open .hbm-dropdown-menu {
    display: block;
}

.hbm-dropdown-menu li {
    margin: 0;
}

.hbm-dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
    text-align: center;
    transition: background 0.2s;
}

.hbm-dropdown-menu li a:hover,
.hbm-dropdown-menu li.active a {
    background-color: #f2f5f9;
    color: #004098;
    font-weight: bold;
}

/* 제목형 숏코드(type2 / type2-1) 스타일 */
.hbm-title-section-wrapper {
    width: 100%;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
}

.hbm-title-section-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.hbm-page-main-title {
    margin: 0;
    padding: 0;
    font-weight: 700;
    text-align: center;
    flex-grow: 1;
    letter-spacing: -0.5px;
}

.hbm-nav-arrow {
    width: 40px;
    display: flex;
    align-items: center;
}

.hbm-nav-left {
    justify-content: flex-start;
}

.hbm-nav-right {
    justify-content: flex-end;
}

.hbm-arrow-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #004098;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
}

.hbm-arrow-link:hover {
    opacity: 0.7;
    transform: scale(1.08);
}

/* -------------------------------------------------- */
/* [신규] 이미지결합형 숏코드(type3) 전용 스타일 */
/* -------------------------------------------------- */
.hbm-img-banner-wrapper {
    width: 100%;
    position: relative;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    box-sizing: border-box;
}

.hbm-img-banner-wrapper.hbm-img-width-full {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    width: 100vw;
}

.hbm-img-banner-wrapper.hbm-img-width-container {
    max-width: 1200px;
    margin: 0 auto;
}

.hbm-img-banner-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25); /* 은은한 오버레이 효과 */
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.hbm-img-banner-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.hbm-banner-title-text {
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hbm-banner-text-1 {
    letter-spacing: 1.5px;
    font-weight: 600;
}

.hbm-banner-text-2 {
    letter-spacing: -0.5px;
    margin-top: 5px;
}