/* KFFA — 상단 로고 + GNB 메뉴 (SWF Flash 대체, 원본 이미지 재사용) */

/* 페이지마다 스크롤바 유무로 100vw 가 달라져 콘텐츠가 조금씩 shift 되는 것을 방지:
   - 세로 스크롤바 항상 표시 (짧은 페이지에서도 폭 고정)
   - 페이지 최소 높이 확보로 짧은 페이지도 스크롤바 유지 */
html {
    overflow-y: scroll;
}
body {
    margin: 0;
    min-height: 100vh;
}


/* 상단 헤더 (989 × 100) — 원본 flash 로고만, 파란띠는 분리 */
.kffa-header {
    position: relative;
    width: 989px;
    height: 100px;
    background: #ffffff;
    overflow: visible;
    margin: 0 auto;
}

/* 로고 (좌측 상단) - 원본 flash 로고 이미지 */
.kffa-logo {
    position: absolute;
    left: 15px;
    top: 12px;
    display: block;
    line-height: 0;
    z-index: 5;
}
.kffa-logo img {
    display: block;
    border: 0;
}

/* GNB 파란띠 wrapper (화면 100% 폭 - 부모 989px 밖으로 확장) */
.kffa-gnb-wrap {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: url('/img/fla_static/gnb_full.png') repeat-x center;
    background-color: #184a9f;
    height: 45px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* GNB 메뉴 (989px 중앙 정렬) */
.kffa-gnb {
    width: 989px;
    margin: 0 auto;
    height: 45px;
    padding: 0 0 0 285px;
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
    list-style: none;
    background: transparent;
}
.kffa-gnb > li {
    list-style: none;
    position: relative;
    display: flex;
    align-items: center;
}
.kffa-gnb > li > a {
    display: block;
    padding: 0 26px;
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    line-height: 45px;
    letter-spacing: -0.3px;
    transition: color 0.2s;
    white-space: nowrap;
    text-shadow: 0 1px 1px rgba(0,0,0,0.25);
}
.kffa-gnb > li:hover > a,
.kffa-gnb > li > a:hover {
    color: #ffd94a;
}

/* 서브메뉴 (hover 세로 드롭다운) */
.kffa-gnb > li .kffa-sub {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 180px;
    background: rgba(0, 30, 80, 0.94);
    padding: 6px 0;
    margin: 0;
    display: none;
    z-index: 200;
    box-shadow: 0 4px 8px rgba(0,0,0,0.25);
    list-style: none;
}
.kffa-gnb > li:hover .kffa-sub { display: block; }
.kffa-gnb > li .kffa-sub li { list-style: none; }
.kffa-gnb > li .kffa-sub a {
    display: block;
    padding: 9px 20px;
    color: #eaeef7;
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
    transition: all 0.15s;
}
.kffa-gnb > li .kffa-sub a:hover {
    background: rgba(255,255,255,0.12);
    color: #ffd94a;
    padding-left: 24px;
}

/* 메인 배너 (m_fla.png 위 텍스트 오버레이 안 씀 - 원본 이미지에 텍스트 이미 있음) */
.kffa-main-banner {
    position: relative;
    width: 490px;
    height: 522px;
    background: url('/img/fla_static/m_fla.png') no-repeat center;
    background-size: contain;
}

/* 서브 페이지 배너 (하단 크롭 이미지: 하늘·튤립·과일·잎사귀 배경) */
.kffa-sub-banner {
    position: relative;
    width: 989px;
    height: 140px;
    background-repeat: no-repeat;
    background-position: center top;
    background-color: #eaf5ff;
    overflow: hidden;
    border-top: 1px solid #dfe6ef;
    margin-top: 0;
}
.kffa-sub-banner .banner-text {
    position: absolute;
    left: 480px;
    top: 30px;
    color: #1a3d75;
    text-shadow: 0 1px 3px rgba(255,255,255,0.7);
    text-align: right;
    right: 40px;
}
.kffa-sub-banner .banner-text h1 {
    font-size: 32px;
    font-weight: 900;
    margin: 0 0 6px 0;
    letter-spacing: -1px;
    color: #1a3d75;
}
.kffa-sub-banner .banner-text p {
    font-size: 13px;
    margin: 0;
    color: #2a4d80;
    opacity: 0.95;
    font-weight: 500;
}
