/* =============================================================
   Layout — GNB / Sub-Header / Footer  (HTML 원본 스타일 유지)
   ============================================================= */

/* === GNB === */
.gnb { height: 70px; background: var(--c-white); padding: 0 40px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--c-border); }
.gnb-inner { max-width: 1280px; width: 100%; display: flex; align-items: center; justify-content: space-between; }
.gnb-logo { display: flex; align-items: center; text-decoration: none; }
.gnb-logo strong { font-size: 20px; color: var(--c-primary); letter-spacing: 1px; }
.gnb-logo span { font-size: 9px; color: var(--c-text-s); letter-spacing: .5px; }
.gnb-logo-img { height: 44px; width: auto; display: block; }
.gnb-center { display: flex; gap: 36px; font-size: 14px; }
.gnb-center a { color: var(--c-text); text-decoration: none; font-weight: 500; padding: 4px 0; }
.gnb-center a:hover { color: var(--c-primary); }
.gnb-center a.active { color: var(--c-primary); font-weight: 700; border-bottom: 2px solid var(--c-primary); }
.gnb-right { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--c-text-s); }
.gnb-right a { color: var(--c-text-s); text-decoration: none; }
.gnb-user { background: var(--c-bg-light); border: 1px solid var(--c-border); padding: 6px 14px; font-size: 12px; color: var(--c-primary); font-weight: 600; }

/* === Sub-header === */
.sub-header { background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%); color: #fff; padding: 32px 40px; }
.sub-header-inner { max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-end; }
.sub-header-text h1 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.sub-header-eng { font-size: 12px; opacity: .7; margin-bottom: 6px; }
.sub-header-desc { font-size: 13px; opacity: .85; }
.sub-header-actions { display: flex; gap: 14px; }
.action-link { color: rgba(255,255,255,.8); text-decoration: none; font-size: 13px; border: 1px solid rgba(255,255,255,.3); padding: 6px 14px; border-radius: 4px; }
.action-link:hover { background: rgba(255,255,255,.1); }

/* === Content === */
.content-wrap { max-width: 1280px; margin: 0 auto; padding: 24px 40px 40px; }

/* === Footer === (다크 배경 복원 + 농촌진흥청 표준 레이아웃 유지) */
.footer {
    background: var(--c-text);            /* #1f2937 - 초기 Phase 0 다크 톤 */
    color: #d1d5db;
    font-size: 13px;
    margin-top: 40px;
    padding: 24px 40px;
    border-top: none;
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
}
.footer-logo {
    flex-shrink: 0;
    min-width: 160px;
    display: flex;
    align-items: center;
}
/* 다크 배경 위에서 로고 가독성 확보 위해 밝은 박스 */
.footer-logo img {
    height: 46px;
    width: auto;
    display: block;
    background: #ffffff;
    padding: 6px 10px;
    border-radius: 6px;
}

.footer-info { flex: 1; line-height: 1.7; color: #d1d5db; font-size: 13px; }
.footer-info .footer-meta { margin: 0 0 2px; font-size: 13px; color: #d1d5db; }
.footer-info .footer-meta strong { font-weight: 700; color: #f3f4f6; margin-right: 2px; }
.footer-info .ft-ico { display: inline-block; margin-right: 4px; color: #9ca3af; }
.footer-info .ft-sep { display: inline-block; color: #4b5563; margin: 0 8px; }

.footer-links {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #f3f4f6;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
}
.footer-links a { color: #f3f4f6; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-links .ft-nolink { color: #f3f4f6; cursor: default; }

.footer-copy-inline {
    margin: 6px 0 0;
    font-size: 12px;
    color: #9ca3af;
    letter-spacing: .2px;
}

/* === Step Indicator === */
.step-indicator { display: flex; gap: 0; margin-bottom: 18px; background: var(--c-white); border: 1px solid var(--c-border); border-radius: 10px; overflow: hidden; }
.step-item { flex: 1; padding: 12px 14px; display: flex; align-items: center; gap: 10px; border-right: 1px solid var(--c-border); position: relative; }
.step-item:last-child { border-right: none; }
.step-item.active { background: var(--c-bg-light); }
.step-item.done { background: var(--c-white); }
.step-num { width: 24px; height: 24px; border-radius: 50%; background: var(--c-border); color: var(--c-text-s); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; line-height: 1; }
.step-item.active .step-num { background: var(--c-primary); color: var(--c-white); }
.step-item.done .step-num   { background: var(--c-primary); color: var(--c-white); }
.step-label { font-size: 12px; color: var(--c-text); font-weight: 500; line-height: 1.3; }
.step-item.active .step-label { color: var(--c-primary); font-weight: 700; }
