@charset "utf-8";

/* 모든 페이지에서 사용하는 최상단 헤더 규격. */
:root {
    --ramp-header-height: 72px;
}

html body #header.ramp-common-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 var(--ramp-header-height);
    height: var(--ramp-header-height);
    min-height: var(--ramp-header-height);
    padding: 0 24px;
    box-sizing: border-box;
    border-bottom: 1px solid #e5eaf0;
    background: #fff;
}

html body #header.ramp-common-header + #container {
    height: calc(100dvh - var(--ramp-header-height));
}

html body #header.ramp-common-header .logo-wrap {
    display: flex;
    align-items: center;
    gap: 24px;
    min-width: 0;
}

html body #header.ramp-common-header .logo-wrap > div {
    margin: 0;
}

html body #header.ramp-common-header .logo-wrap .logo {
    display: flex;
    align-items: center;
    flex: none;
    padding-top: 5px;
}

html body #header.ramp-common-header .logo-wrap .logo a {
    display: block;
    line-height: 0;
}

html body #header.ramp-common-header .logo-wrap .logo img {
    display: block;
    width: 111.105px;
    height: 32px;
    max-width: none;
    object-fit: contain;
}

html body #header.ramp-common-header .logo-wrap .menu-title ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

html body #header.ramp-common-header .menu-title ul li.main-menu {
    display: block;
    margin: 0;
    padding: 0;
    color: #05031c;
    font-family: Freesentation, sans-serif;
    font-size: 24px;
    font-weight: 500;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: 0;
    white-space: nowrap;
}

html body #header.ramp-common-header .logo-wrap .menu-title ul li.sub-menu {
    display: none;
}

html body #header.ramp-common-header .logo-wrap .mobile-menu {
    display: none;
}

@media (min-width: 1024px) and (max-width: 1399px) {
    :root { --ramp-header-height: 64px; }

    html body #header.ramp-common-header { padding-inline: 20px; }
    html body #header.ramp-common-header .logo-wrap { gap: 16px; }
    html body #header.ramp-common-header .menu-title ul li.main-menu { font-size: 20px; }
}

@media (max-width: 1023px) {
    :root { --ramp-header-height: 60px; }

    html body #header.ramp-common-header { padding-inline: 12px; }
    html body #header.ramp-common-header .logo-wrap { gap: 16px; }
    html body #header.ramp-common-header .logo-wrap .mobile-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: none;
        width: 32px;
        height: 40px;
    }
    html body #header.ramp-common-header .logo-wrap .mobile-menu img {
        display: block;
        width: 24px;
        height: 24px;
    }
    html body #header.ramp-common-header .logo-wrap .logo img {
        width: 97.217px;
        height: 28px;
    }
    html body #header.ramp-common-header .menu-title ul li.main-menu { font-size: 18px; }
    html body #header.ramp-common-header .user-wrap { flex: none; }
    html body #header.ramp-common-header .user-wrap .user-menu > li.main-menu,
    html body #header.ramp-common-header .user-menu-trigger > em { display: none; }
}

@media (max-width: 479px) {
    html body #header.ramp-common-header .logo-wrap { gap: 10px; }
    html body #header.ramp-common-header .menu-title ul li.main-menu { font-size: 16px; }
    html body #header.ramp-common-header .user-menu-trigger { padding: 0; }
}
