/* =========================================
    CSS Variables
    ========================================= */
:root{
    --main-color: #273B90;
    --main-light-grey: #f1f3f5;
    --main-grey: #86888a;

    --color-header-main:        var(--main-color);
    --color-header-text:        #4a5156;
    --color-header-white:          #ffffff;

    /* 경계/디바이더 */
    --color-border:      #e6e8ea;

    /* 링크/디바이더 */
    --color-link:        var(--color-header-main);
    --color-divider:     var(--color-border);

    /* 서브메뉴 */
    --color-submenu-bg:   var(--color-header-main);
    --color-submenu-text: var(--color-header-white);

    /* 그림자 */
    --shadow-soft:        0 5px 5px rgba(0,0,0,.10);
}
/* =========================================
    Main
    ========================================= */
html, * {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 2;
}

.container {
    max-width: 1400px;
    width: 100%;
}

html {
    height: 100%;
}

body {
    height: 100%;
}

#wrap{ /*A*/
    height: auto;
    min-height: 100%;
    position: relative;
    padding-bottom: 140px; /* footer height */
}

#footer { /*B*/
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
/* =========================================
   Header / Top Utilities
   ========================================= */
#header { border-top: 4px solid var(--color-header-main); }
#header .container { position: relative; }
#header ul { margin: 0; padding: 0; list-style: none; }

.h_top { border-bottom: 1px solid var(--color-border); }
.h_top a { text-decoration: none; }

.logo{
    display: inline-block;
    line-height: 110px;
    font-size: 2rem;
    font-weight: 600;
}

.login-section { color: var(--color-header-white); border-bottom: 1px solid var(--color-border); }
.login-section .container { text-align: right; }

/* =========================================
   Top Links (우측 링크바)
   ========================================= */
.linkul{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border: 0;
    gap: 0; /* divider로 구분 */
}
.linkul > li { /* flex 사용: float 제거 */ }
.linkul a{
    text-decoration: none;
    line-height: 35px;
    font-weight: 400;
    color: var(--color-link);
    font-size: 1rem;
}
.linkul a::after{
    content: '';
    display: inline-block;
    width: 1px;
    height: 10px;
    background-color: var(--color-divider);
    vertical-align: top;
    margin: 15px 16px 0;
}
.linkul li:last-child a::after{ display: none; }

/* =========================================
   Mobile Header / Drawer
   ========================================= */
.mobile_wrap{
    display: none;
    text-align: center;
    position: relative;
    align-items: center;
}
.mobile_wrap a:first-of-type{
    font-size: 2rem;
    font-weight: 600;
}
.mobile_menu{ position: absolute; right: 0; }

.m_menuwrap{
    position: absolute;
    inset: 0 0 0 0;
    background-color: var(--color-header-white);
    z-index: 50;
    width: 100%;
    display: none;
}
.m_menu_header{
    border-top: 4px solid var(--color-header-main);
    border-bottom: 2px solid var(--color-border);
    padding: 12px 20px 12px 10px;
    box-sizing: border-box;
}
.m_menu_logo{ display: inline-block; }
.m_menu_top{
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}
.m_xbtn{ color: var(--color-header-main); margin-top: 0; }

.m_linkul{ display: flex; gap: 15px; }
.m_linkul > li > a{
    font-size: 14px;
    color: var(--color-header-text);
    position: relative;
    font-weight: 300;
    display: block;
    text-decoration: none;
}
.m_linkul > li:not(:last-of-type) > a::after{
    content: '|';
    display: inline-block;
    margin-left: 15px;
}

.m_menu_ul > li > a{
    display: block;
    font-size: 18px;
    background: var(--color-header-main);
    color: var(--color-header-white);
    padding: 15px;
    border-bottom: 1px solid var(--color-header-white);
    text-decoration: none;
}

.depul{
    background-color: #e9eff4; /* 톤 유지가 목적이면 유지, 통일하려면 var(--color-border)로 변경 가능 */
    padding: 15px !important;
    display: none;
}
.depul > li{ line-height: 2.3; }
.depul > li > a{
    font-size: 16px;
    color: var(--color-header-text);
    font-weight: 300;
    display: block;
    text-decoration: none;
}

/* =========================================
   Global Navigation (Desktop)
   ========================================= */
.menu01{
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 999;
}
.menu01 > li{
    color: var(--color-header-text);
    height: 100%;
    line-height: 100%;
    font-weight: 400;
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.menu01 > li > a{
    font-size: 1.2rem;
    font-weight: 400;
    color: inherit;
    text-decoration: none;
}
.menu01 li span{
    font-size: 1.4rem;
    color: var(--color-header-text);
    font-weight: 400;
}
.menu01 li a::after {
    position: relative;
    content: "";
    display: block;
    border-bottom: 3px solid var(--main-color);

    width: 0;

    transition: all 250ms ease-out;
    left: 50%;
    top: 8px;
}
.menu01 .submenu li a::after {
    position: relative;
    content: "";
    display: block;
    border-bottom: 3px solid white;
    transition: all 250ms ease-out;
    left: 50%;
    width: 0;
    top: 8px;
}
.menu01 li a:hover::after {
    transition: all 250ms ease-out;
    left: 0;
    width: 100%;
    top: 8px;
}

/* Full-down submenu */
.submenu{
    width: 100%;
    height: 60px;
    position: absolute;
    left: 0;
    bottom: -60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-submenu-bg);
    box-shadow: var(--shadow-soft);
}
.submenu li{ margin: 0 30px; color: var(--color-submenu-text); }
.submenu li a{
    font-size: 1.1rem;
    text-decoration: none;
    color: var(--color-submenu-text);
}

/* Sub grid helper */
.sub > div{ width: 19%; }

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 1119px){
    .mobile_wrap{ display: flex !important; }
    .logo, .menu01, .linkul{ display: none !important; }
}

/* =========================================
   Footer
   ========================================= */
.f_text {
    background-color: #44494d;
    height: auto;
    box-sizing: border-box;
    padding: 20px 10px;
}

.f_textul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.f_text strong{
    color: #999999;
    font-size: 16px;
}
.f_textul > li > p{
    font-size: 15px;
}
.f_text p{
    color: #999999;
}

.f_textul li {
    width: 100%;
    text-align: left;

    color: #999999;

    display: flex;
    flex-wrap: wrap;
    column-gap: 15px;

    margin: 0;
}

.f_text span{
    color: #999999;
    font-weight: 300;
}

/* =========================================
   Breadcrumb
   ========================================= */
.header-full-box {
    background-size: cover;
    background-image: url(	https://d11dbvc62xodqh.cloudfront.net/koreaec/homepage/main/main-1.png);
    background-position: center;
}

.full-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 145px;
}

.full-title {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    padding: 25px 0;
}

.now-page-section {
    border-bottom: 1px solid #eee;
}

.now-page {
    display: flex;
    column-gap: 15px;
    flex-wrap: wrap;

    font-size: 1.2rem;

    padding: 15px 0;
    margin: 0;

    list-style: none;
}

.now-page li > .fas.fa-chevron-right {
    margin-left: 15px;
}
/* =========================================
   Content
   ========================================= */
.content {
    padding: 30px 0;

    font-size: 1.2rem;
}

.content .container > h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 50px 0 15px;
}

.content .container > h2:first-child {
    margin-top: 0;
}

.content .container > h2:before {
    content: '';
    background-image: url(	https://d11dbvc62xodqh.cloudfront.net/koreaec/homepage/main/main-icon2.png);
    background-size: contain;
    background-repeat: no-repeat;

    display: inline-block;
    width: 2rem;
    height: 2rem;

    margin-right: 8px;;
    vertical-align: middle;
}

.content .container > h4 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
    margin: 2rem 0 6px;
}

.content .container > *:last-child {
    margin-bottom: 0;
}

/* =========================================
   Table
   ========================================= */
.table {
    width: 100%;
    border-collapse: collapse;
    border-top: 3px solid var(--main-color) !important;
    margin-bottom: 30px;
}

.table th, .table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
    vertical-align: middle;
}

.table th {
    background-color: var(--main-light-grey);
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
}

/* =========================================
   Buttons
   ========================================= */
.btn-default {
    background-color: var(--main-color);
    color: white;
}

.btn-default:hover {
    background-color: #1e2e6c;
    color: white;
}