/* Local static-copy compatibility rules.
 * Navigation links inside the requested regions are rendered as spans so the
 * original layout remains intact without clickable anchors. */
.hkpm_menu .hkpm_main .hkpm_menu_main .hkpm_menu_item > span {
    position: relative;
    display: block;
    font-size: 15px;
    line-height: 2em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
}

.hkpm_menu .hkpm_main .hkpm_menu_main .hkpm_menu_item > span::after {
    content: "";
    display: block;
    width: 1%;
    height: 2px;
    background: #A28C57;
    opacity: 0;
}

.hkpm_menu .hkpm_main .hkpm_menu_main .hkpm_menu_item.active > span::after,
.hkpm_menu .hkpm_main .hkpm_menu_main .hkpm_menu_item:hover > span::after {
    width: 100%;
    opacity: 1;
}

.hkpm_menu .hkpm_main .hkpm_menu_main .hkpm_menu_dropdown > span {
    display: block;
    padding: 0 0 15px;
    color: #000;
}

.hkpm_menu .hkpm_main .hkpm_menu_main .hkpm_menu_dropdown > span:last-of-type {
    padding-bottom: 0;
}

.hkpm_menu .hkpm_main .hkpm_menu_side > span,
.hkpm_menu .hkpm_main .hkpm_menu_side .hkpm_menu_profile > span,
.hkpm_menu .hkpm_main .hkpm_menu_side .hkpm_menu_profile_dropdown > span {
    margin: 0 7px;
    color: #000;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}

.hkpm_menu .hkpm_menu_profile > span {
    position: relative;
    display: block;
    max-width: 100px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.hkpm_menu .hkpm_menu_profile:not(.js-menu_profile_unlogged) > span {
    padding-right: 10px;
}

.hkpm_menu .hkpm_menu_profile:not(.js-menu_profile_unlogged) > span::after {
    content: "";
    position: absolute;
    top: calc(50% - 2px);
    right: 1px;
    width: 4px;
    height: 4px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
}

.hkpm_menu .hkpm_menu_profile .hkpm_menu_profile_dropdown > span {
    display: block;
    position: relative;
    margin: 0;
    padding: 0 30px 15px;
    background: #F6F6F6;
    color: #000 !important;
    opacity: 1 !important;
}

.hkpm_menu .hkpm_menu_profile .hkpm_menu_profile_dropdown > span:first-of-type {
    padding-top: 30px;
}

.hkpm_menu .hkpm_menu_profile .hkpm_menu_profile_dropdown > span:last-of-type {
    padding-bottom: 30px;
}

.hkpm_menu.dark:not(.floating, .open) .hkpm_main .hkpm_menu_main .hkpm_menu_item > span,
.hkpm_menu.dark:not(.floating, .open) .hkpm_main .hkpm_menu_side span {
    color: #fff;
}

.hkpm_crumb > span {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 14px;
    text-transform: uppercase;
}

.hkpm_crumb > span::after {
    content: ">";
    display: block;
    margin: 0 15px;
}

.hkpm_mini_program {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
}

.hkpm_mini_program img {
    width: 136px;
    height: 136px;
    flex: 0 0 auto;
    object-fit: contain;
}

.hkpm_mini_program p {
    margin: 0;
    color: #000;
    font-size: 16px;
    line-height: 1.45;
}

@media screen and (max-width: 767px) {
    .hkpm_mobile_menu .hkpm_menu_item > span {
        display: block;
        color: #000;
        font-size: 20px;
        text-transform: uppercase;
    }

    .hkpm_mobile_menu .hkpm_menu_item.open > span {
        color: #A28C57;
    }

    .hkpm_mobile_menu .hkpm_menu_dropdown > span {
        display: block;
        padding: 0 0 10px;
        color: #000;
        font-size: 16px;
        text-transform: none;
    }

    .hkpm_mini_program {
        gap: 16px;
        margin-top: 20px;
    }

    .hkpm_mini_program img {
        width: 112px;
        height: 112px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
