/* ═══════════════════════════════════════════════════════════════
   HOME v2 (/home2/) — 프론트페이지 후보 디자인 시스템 (현 프론트페이지)
   - 조건부 로드: functions.php 의 is_page('home2') 분기로만 enqueue
   - prefix: fnc-h2-*  (기존 클래스와 충돌 없음)
   - Newsreader serif (Body): assets/fonts/ 셀프호스팅 가변폰트 (latin subset).
     한글은 unicode-range 에 걸리지 않아 폴백(Pretendard)으로 렌더.
     (구 Google Fonts CDN @import 제거 — 렌더 블로킹·외부 의존 해소, 2026-06)
   ═══════════════════════════════════════════════════════════════ */

@font-face {
    font-family: 'Newsreader';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('../fonts/Newsreader-var-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Newsreader';
    font-style: italic;
    font-weight: 400 600;
    font-display: swap;
    src: url('../fonts/Newsreader-italic-var-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.fnc-h2-page {
    --h2-primary: #012d1d;
    --h2-primary-soft: #1b4332;
    --h2-primary-tint: #f0f7f2;
    --h2-on-primary: #ffffff;
    --h2-emerald-50: #ecfdf5;
    --h2-emerald-300: #6ee7b7;
    --h2-emerald-700: #047857;
    --h2-emerald-900: #064e3b;
    --h2-surface: #f7f9fb;
    --h2-surface-low: #f2f4f6;
    --h2-surface-container: #eceef0;
    --h2-on-surface: #191c1e;
    --h2-on-surface-variant: #414844;
    --h2-outline: #717973;
    --h2-outline-variant: #c1c8c2;
    --h2-slate-100: #f1f5f9;
    --h2-slate-200: #e2e8f0;
    --h2-slate-300: #cbd5e1;
    --h2-slate-400: #94a3b8;
    --h2-slate-500: #64748b;
    --h2-slate-600: #475569;
    --h2-amber-600: #d97706;
    --h2-font-headline: 'Inter', 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;
    --h2-font-body: 'Newsreader', 'Pretendard Variable', Pretendard, Georgia, 'Apple SD Gothic Neo', 'Malgun Gothic', serif;
    --h2-font-label: 'Inter', 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', system-ui, sans-serif;

    background: var(--h2-surface);
    color: var(--h2-on-surface);
    font-family: var(--h2-font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.fnc-h2-page * { box-sizing: border-box; }
.fnc-h2-page img { display: block; max-width: 100%; height: auto; }
.fnc-h2-page a { text-decoration: none; color: inherit; transition: color .2s ease, opacity .2s ease, background .2s ease; }

.fnc-h2-container { max-width: 1360px; margin: 0 auto; padding: 0 24px; }

/* ── Hero (N장 순환 슬라이더) ─────────────────────────────────
   판형·모션·진행 레일의 최종 규칙은 아래 "Hero: rotating full-bleed
   statement slides" 블록이 소유한다. 여기는 타이포 기초만 둔다. */
.fnc-h2-hero {
    display: block;
    margin: 32px 0 64px;
}
.fnc-h2-hero__title {
    font-family: var(--h2-font-headline);
    font-weight: 700;
    font-size: 2.4rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--h2-primary);
    margin: 16px 0 16px;
}
.fnc-h2-hero__lede {
    font-family: var(--h2-font-body);
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--h2-on-surface-variant);
    margin: 0 0 24px;
    max-width: 36em;
}

/* ── About strip (Hero 아래 미션 한 줄 띠) ──────────────────── */
.fnc-h2-about {
    margin-bottom: 64px;
    padding: 36px 40px;
    background: linear-gradient(135deg, #012d1d 0%, #083d2a 100%);
    border-radius: 12px;
    border-left: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.fnc-h2-about__content {
    flex: 1;
    min-width: 280px;
}
.fnc-h2-about__badge {
    display: inline-block;
    font-family: var(--h2-font-label);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--h2-emerald-300);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.fnc-h2-about__title {
    font-family: var(--h2-font-headline);
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
    word-break: keep-all;
}
.fnc-h2-about__lede {
    font-family: var(--h2-font-body);
    font-size: 0.98rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    word-break: keep-all;
    max-width: 56em;
}
.fnc-h2-about__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 22px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    font-family: var(--h2-font-label);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.32);
    white-space: nowrap;
    transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
.fnc-h2-about__cta:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff !important;
    transform: translateX(2px);
}
.fnc-h2-about__cta .material-symbols-outlined { font-size: 18px; }

@media (max-width: 700px) {
    .fnc-h2-about {
        margin-bottom: 40px;
        padding: 24px 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .fnc-h2-about__title { font-size: 1.15rem; }
    .fnc-h2-about__cta { width: 100%; justify-content: center; }
}

/* ── Tag chip ──────────────────────────────────────────────── */
.fnc-h2-chip {
    display: inline-block;
    padding: 4px 12px;
    background: var(--h2-emerald-50);
    color: var(--h2-emerald-900);
    font-family: var(--h2-font-label);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    border-radius: 4px;
    text-transform: uppercase;
}
.fnc-h2-chip--sm { padding: 2px 8px; font-size: 0.65rem; }

/* ── Primary button ────────────────────────────────────────── */
.fnc-h2-page a.fnc-h2-btn,
.fnc-h2-page button.fnc-h2-btn,
.fnc-h2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 24px;
    background: var(--h2-primary);
    color: #ffffff !important;
    font-family: var(--h2-font-label);
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all .2s ease;
    text-decoration: none;
}
.fnc-h2-page a.fnc-h2-btn:hover,
.fnc-h2-btn:hover { background: var(--h2-primary-soft); color: #ffffff !important; }
.fnc-h2-btn--block { width: 100%; }

/* ── 12-col main + sidebar layout ─────────────────────────── */
.fnc-h2-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}
@media (min-width: 1024px) {
    .fnc-h2-grid { grid-template-columns: 8fr 4fr; }
}
.fnc-h2-main { display: flex; flex-direction: column; gap: 64px; }
.fnc-h2-aside { display: flex; flex-direction: column; gap: 40px; }

/* ── Section header (icon + title + cta) ──────────────────── */
.fnc-h2-sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: 1px solid var(--h2-slate-200);
    padding-bottom: 16px;
    margin-bottom: 32px;
    gap: 16px;
}
.fnc-h2-sec-head__title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}
.fnc-h2-sec-head__title h3 {
    font-family: var(--h2-font-headline);
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--h2-primary);
    margin: 0;
    letter-spacing: -0.01em;
}
.fnc-h2-sec-head__title .material-symbols-outlined { color: var(--h2-primary); font-size: 28px; }
.fnc-h2-sec-head__cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--h2-font-label);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--h2-on-surface-variant);
    white-space: nowrap;
}
.fnc-h2-sec-head__cta:hover { color: var(--h2-primary); }
.fnc-h2-sec-head__cta .material-symbols-outlined { font-size: 16px; }

/* ── Deep analysis (horizontal feature) ───────────────────── */
.fnc-h2-deep-list { display: flex; flex-direction: column; gap: 40px; }
.fnc-h2-deep-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
}
@media (min-width: 700px) {
    .fnc-h2-deep-item { grid-template-columns: 5fr 7fr; gap: 32px; }
}
.fnc-h2-deep-img { overflow: hidden; border-radius: 8px; }
.fnc-h2-deep-img img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform .5s ease;
}
.fnc-h2-deep-item:hover .fnc-h2-deep-img img { transform: scale(1.04); }
.fnc-h2-deep-eyebrow {
    display: block;
    margin-bottom: 8px;
    font-family: var(--h2-font-label);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--h2-outline);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.fnc-h2-deep-title {
    font-family: var(--h2-font-headline);
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--h2-primary);
    margin: 0 0 12px;
    transition: color .2s ease;
}
.fnc-h2-deep-item:hover .fnc-h2-deep-title { color: var(--h2-primary-soft); }
.fnc-h2-deep-desc {
    font-family: var(--h2-font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--h2-on-surface-variant);
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fnc-h2-deep-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--h2-font-label);
    font-size: 0.75rem;
    color: var(--h2-outline);
}
.fnc-h2-deep-meta .material-symbols-outlined { font-size: 16px; }

/* ── Data insight block (풀폭 3-col, globaltrends-block 패턴) ── */
.fnc-h2-data-block {
    margin-top: 80px;
    padding: 64px 0;
    border-top: 1px solid var(--h2-slate-200);
}
.fnc-h2-data-block__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 16px;
}
.fnc-h2-data-block__head-title {
    display: flex;
    align-items: center;
    gap: 12px;
}
.fnc-h2-data-block__head-title .material-symbols-outlined {
    color: var(--h2-primary);
    font-size: 28px;
}
.fnc-h2-data-block__head h3 {
    font-family: var(--h2-font-headline);
    font-size: 2rem;
    color: var(--h2-primary);
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.fnc-h2-data-block__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--h2-font-label);
    font-size: 0.875rem;
    color: var(--h2-primary);
    font-weight: 500;
    white-space: nowrap;
}
.fnc-h2-data-block__cta:hover { text-decoration: underline; }
.fnc-h2-data-block__cta .material-symbols-outlined { font-size: 18px; }

.fnc-h2-data-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 700px) {
    .fnc-h2-data-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    /* 풀폭 3-col */
    .fnc-h2-data-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

@media (max-width: 700px) {
    .fnc-h2-data-block { margin-top: 48px; padding: 40px 0; }
    .fnc-h2-data-block__head h3 { font-size: 1.4rem; }
    .fnc-h2-data-block__head-title .material-symbols-outlined { font-size: 22px; }
}
.fnc-h2-data-card {
    background: var(--h2-surface-low);
    border: 1px solid var(--h2-slate-200);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}
.fnc-h2-data-card__label {
    font-family: var(--h2-font-label);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--h2-primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 16px;
}
.fnc-h2-data-card__num-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}
.fnc-h2-data-card__num {
    font-family: var(--h2-font-headline);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--h2-primary);
    line-height: 1;
    letter-spacing: -0.02em;
}
.fnc-h2-data-card__trend--down { color: var(--h2-emerald-700); }
.fnc-h2-data-card__trend--up { color: var(--h2-amber-600); }
.fnc-h2-data-card__desc {
    font-family: var(--h2-font-body);
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--h2-on-surface-variant);
    margin: 0;
}
.fnc-h2-data-card__footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--h2-slate-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--h2-font-label);
    font-size: 0.75rem;
    color: var(--h2-outline);
}

/* ── Topic 2-card grid (Food Security / etc) ──────────────── */
.fnc-h2-topic-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 700px) {
    .fnc-h2-topic-grid { grid-template-columns: 1fr 1fr; }
}
.fnc-h2-topic-card { display: flex; flex-direction: column; gap: 16px; }
.fnc-h2-topic-card img {
    width: 100%;
    height: 224px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--h2-slate-100);
}
.fnc-h2-topic-card h4 {
    font-family: var(--h2-font-headline);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--h2-on-surface);
    margin: 0;
    cursor: pointer;
    transition: color .2s ease;
}
.fnc-h2-topic-card:hover h4 { color: var(--h2-primary-soft); }
.fnc-h2-topic-card p {
    font-family: var(--h2-font-body);
    font-size: 0.95rem;
    color: var(--h2-on-surface-variant);
    margin: 0;
    line-height: 1.55;
}
.fnc-h2-topic-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--h2-font-label);
    font-size: 0.75rem;
    color: var(--h2-outline);
}

/* ── Horizontal item (Agri-Energy section) ────────────────── */
.fnc-h2-hitem-list { display: flex; flex-direction: column; gap: 24px; }
.fnc-h2-hitem {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: all .2s ease;
}
@media (min-width: 700px) {
    .fnc-h2-hitem { flex-direction: row; gap: 24px; }
}
.fnc-h2-hitem:hover { background: #fff; border-color: var(--h2-slate-200); }
.fnc-h2-hitem img {
    width: 100%;
    height: 128px;
    object-fit: cover;
    border-radius: 6px;
}
@media (min-width: 700px) {
    .fnc-h2-hitem img { width: 192px; flex-shrink: 0; }
}
.fnc-h2-hitem__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fnc-h2-hitem__title {
    font-family: var(--h2-font-headline);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--h2-on-surface);
    margin: 0;
    line-height: 1.3;
    transition: color .2s ease;
}
.fnc-h2-hitem:hover .fnc-h2-hitem__title { color: var(--h2-primary); }
.fnc-h2-hitem__desc {
    font-family: var(--h2-font-body);
    font-size: 0.95rem;
    color: var(--h2-on-surface-variant);
    margin: 0;
    line-height: 1.55;
}
.fnc-h2-hitem__meta {
    font-family: var(--h2-font-label);
    font-size: 0.75rem;
    color: var(--h2-outline);
}

/* ── Sidebar boxes ────────────────────────────────────────── */
.fnc-h2-aside-box {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--h2-slate-200);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.fnc-h2-aside-box__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.fnc-h2-aside-box__head .material-symbols-outlined {
    color: var(--h2-primary);
    font-size: 22px;
}
.fnc-h2-aside-box__head h3 {
    font-family: var(--h2-font-label);
    font-size: 0.8rem;
    color: var(--h2-primary);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 0;
    font-weight: 700;
}
.fnc-h2-aside-event__date {
    color: var(--h2-primary);
    font-weight: 700;
    font-family: var(--h2-font-label);
    font-size: 0.875rem;
    letter-spacing: 0.04em;
}
.fnc-h2-aside-event__title {
    font-family: var(--h2-font-headline);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--h2-on-surface);
    margin: 4px 0 16px;
    line-height: 1.35;
}
.fnc-h2-aside-event__desc {
    font-family: var(--h2-font-body);
    font-size: 0.95rem;
    color: var(--h2-on-surface-variant);
    margin: 0 0 24px;
    line-height: 1.55;
}

.fnc-h2-newsletter {
    background: var(--h2-primary);
    color: var(--h2-on-primary);
    padding: 32px;
    border-radius: 12px;
}
.fnc-h2-newsletter h3 {
    font-family: var(--h2-font-headline);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 16px;
}
.fnc-h2-newsletter p {
    font-family: var(--h2-font-body);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 0 24px;
    opacity: 0.9;
}
.fnc-h2-newsletter input[type="email"] {
    width: 100%;
    background: #fff;
    color: var(--h2-on-surface);
    border: none;
    border-radius: 6px;
    padding: 12px 14px;
    font-family: var(--h2-font-label);
    font-size: 0.875rem;
    margin-bottom: 12px;
    box-sizing: border-box;
}
.fnc-h2-newsletter input[type="email"]:focus { outline: 2px solid var(--h2-emerald-300); }
.fnc-h2-newsletter button {
    width: 100%;
    padding: 12px;
    background: var(--h2-primary-tint);
    color: var(--h2-primary);
    border: none;
    border-radius: 6px;
    font-family: var(--h2-font-label);
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .2s ease;
}
.fnc-h2-newsletter button:hover { opacity: 0.9; }
.fnc-h2-newsletter__note {
    font-family: var(--h2-font-label);
    font-size: 0.72rem;
    margin: 24px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.18);
    opacity: 0.75;
    text-align: center;
}
.fnc-h2-newsletter input[type="email"]:invalid:not(:placeholder-shown) {
    outline: 2px solid #ffb3b3;
    box-shadow: 0 0 0 2px rgba(255,179,179,.25);
}

/* ── Sidebar interactive tools ───────────────────────────── */
.fnc-h2-tools {
    display: grid;
    gap: 14px;
}

.fnc-h2-tool-card {
    --h2-tool-accent: #1d5a49;
    --h2-tool-accent-deep: #102f2a;
    --h2-tool-surface: #edf5ef;
    position: relative;
    min-height: 132px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 28px;
    align-items: start;
    gap: 14px;
    padding: 20px 17px;
    color: var(--h2-on-surface);
    background-color: rgba(255, 255, 255, .94);
    background:
        radial-gradient(circle at 96% 8%, color-mix(in srgb, var(--h2-tool-accent) 12%, transparent), transparent 42%),
        rgba(255, 255, 255, .94);
    border: 1px solid #d9e7df;
    border-color: color-mix(in srgb, var(--h2-tool-accent) 22%, #fff);
    border-radius: 16px;
    box-shadow: var(--h2-shadow-1, 0 10px 28px rgba(1, 45, 29, .07));
    touch-action: manipulation;
}

.fnc-h2-tool-card--strawberry {
    --h2-tool-accent: #9a4150;
    --h2-tool-accent-deep: #6f2633;
    --h2-tool-surface: #faecef;
    border-color: #ecd1d6;
}

.fnc-h2-tool-card--supply {
    --h2-tool-accent: #7bc4d5;
    --h2-tool-accent-deep: #d9f3f8;
    --h2-tool-surface: #dff3f6;
    min-height: clamp(330px, 27vw, 370px);
    color: #fff;
    background:
        radial-gradient(circle at 94% 8%, rgba(123, 196, 213, .35), transparent 34%),
        linear-gradient(145deg, #0c3044 0%, #12475c 58%, #0b374c 100%);
    border-color: #1c5b70;
    box-shadow: 0 18px 38px rgba(7, 44, 59, .25);
}

.fnc-h2-tool-card--supply:hover {
    color: #fff;
    background:
        radial-gradient(circle at 94% 8%, rgba(150, 221, 234, .42), transparent 34%),
        linear-gradient(145deg, #0d3a50 0%, #15566d 58%, #0b4057 100%);
    border-color: #5eacbd;
    box-shadow: 0 24px 52px rgba(7, 44, 59, .33);
}

.fnc-h2-tool-card--supply .fnc-h2-tool-card__icon {
    color: #0d4055;
    background: #e2f5f7;
    box-shadow: 0 8px 20px rgba(2, 25, 35, .24);
}

.fnc-h2-tool-card--supply .fnc-h2-tool-card__eyebrow,
.fnc-h2-tool-card--supply .fnc-h2-tool-card__body strong {
    color: #fff;
}

.fnc-h2-tool-card--supply .fnc-h2-tool-card__meta {
    color: #d9edf2;
}

.fnc-h2-tool-card--supply .fnc-h2-tool-card__body {
    align-self: stretch;
}

.fnc-h2-tool-card--supply .fnc-h2-tool-card__arrow {
    color: #0d4055;
    background: #e2f5f7;
}

.fnc-h2-supply-card__topics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 6px;
}

.fnc-h2-supply-card__topics span {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-top: 7px;
    color: #e5f5f7;
    border-top: 1px solid rgba(214, 242, 247, .26);
    font-family: var(--h2-font-label);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .01em;
}

.fnc-h2-supply-card__topics b {
    color: #8fd3e0;
    font-size: .64rem;
    letter-spacing: .08em;
}

.fnc-h2-supply-card__action {
    margin-top: auto;
    padding-top: 13px;
    color: #fff;
    font-family: var(--h2-font-label);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.fnc-h2-tool-card:hover {
    color: var(--h2-on-surface);
    background-color: #fff;
    border-color: #b8d2c4;
    border-color: color-mix(in srgb, var(--h2-tool-accent) 42%, #fff);
    box-shadow: var(--h2-shadow-2, 0 20px 52px rgba(1, 45, 29, .11));
    transform: translateY(-3px);
}

.fnc-h2-tool-card__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: #fff;
    background: var(--h2-tool-accent);
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(29, 90, 73, .18);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--h2-tool-accent) 24%, transparent);
    font-size: 1.45rem !important;
}

.fnc-h2-tool-card__body {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.fnc-h2-tool-card__eyebrow {
    color: var(--h2-tool-accent-deep);
    font-family: var(--h2-font-label);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.3;
    text-transform: uppercase;
}

.fnc-h2-tool-card__body strong {
    color: var(--h2-on-surface);
    font-family: var(--h2-font-headline);
    font-size: 1rem;
    font-weight: 750;
    line-height: 1.38;
    letter-spacing: -.02em;
    word-break: keep-all;
}

.fnc-h2-tool-card__meta {
    color: var(--h2-on-surface-variant);
    font-family: var(--h2-font-body);
    font-size: .82rem;
    line-height: 1.45;
    word-break: keep-all;
}

.fnc-h2-tool-card__arrow {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: var(--h2-tool-accent-deep);
    background: var(--h2-tool-surface);
    border-radius: 50%;
    font-size: 1rem !important;
    transition: color .2s ease, background-color .2s ease;
}

.fnc-h2-tool-card:hover .fnc-h2-tool-card__arrow {
    color: #fff;
    background: var(--h2-tool-accent);
}

.fnc-h2-policy {
    background: var(--h2-emerald-900);
    color: #fff;
    padding: 32px;
    border-radius: 12px;
}
.fnc-h2-policy__head {
    margin-bottom: 16px;
}
.fnc-h2-policy__head h3 {
    font-family: var(--h2-font-headline);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
    letter-spacing: -0.01em;
}
.fnc-h2-policy__list { display: flex; flex-direction: column; gap: 16px; }
.fnc-h2-policy__item {
    border-bottom: 1px solid #1b4332;
    padding-bottom: 16px;
    display: block;
}
.fnc-h2-policy__list .fnc-h2-policy__item:last-child { border-bottom: none; padding-bottom: 0; }
.fnc-h2-policy__item:hover h4 { color: var(--h2-emerald-300); }
.fnc-h2-policy__item h4 {
    font-family: var(--h2-font-headline);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: #fff;
    transition: color .2s ease;
}
.fnc-h2-policy__item p {
    font-family: var(--h2-font-body);
    font-size: 0.85rem;
    margin: 0;
    color: rgba(255,255,255,0.78);
    line-height: 1.5;
}
.fnc-h2-policy__cta {
    display: block;
    width: 100%;
    margin-top: 24px;
    padding: 10px;
    border: 1px solid var(--h2-primary-soft);
    background: transparent;
    color: #fff;
    border-radius: 6px;
    font-family: var(--h2-font-label);
    font-size: 0.8rem;
    text-align: center;
    cursor: pointer;
    transition: background .2s ease;
}
.fnc-h2-policy__cta:hover { background: var(--h2-primary-soft); color: #fff; }

.fnc-h2-bulletins__head {
    font-family: var(--h2-font-label);
    font-size: 1.0625rem;
    color: var(--h2-primary);
    letter-spacing: 0.02em;
    text-transform: none;
    margin: 0 0 24px;
    font-weight: 700;
    border-left: 4px solid var(--h2-primary);
    padding: 4px 0 4px 16px;
}
.fnc-h2-bulletin {
    border-bottom: 1px solid var(--h2-slate-200);
    padding-bottom: 16px;
    margin-bottom: 16px;
}
.fnc-h2-bulletin:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.fnc-h2-bulletin__date {
    font-family: var(--h2-font-label);
    font-size: 0.7rem;
    color: var(--h2-outline);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.fnc-h2-bulletin__title {
    font-family: var(--h2-font-headline);
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--h2-on-surface);
    margin-top: 4px;
    line-height: 1.4;
}
.fnc-h2-bulletin__title:hover { color: var(--h2-primary); }
.fnc-h2-bulletins__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    font-family: var(--h2-font-label);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--h2-primary);
    background: var(--h2-primary-tint);
    border: 1px solid rgba(1,45,29,.15);
    border-radius: 999px;
    padding: 8px 18px;
    transition: background .15s ease, border-color .15s ease;
}
.fnc-h2-bulletins__cta:hover {
    background: #d8ede2;
    border-color: rgba(1,45,29,.25);
    text-decoration: none;
}
.fnc-h2-bulletins__cta .material-symbols-outlined { font-size: 16px; }

.fnc-h2-fellows {
    background: var(--h2-surface-container);
    padding: 32px;
    border-radius: 12px;
}
.fnc-h2-fellows h3 {
    font-family: var(--h2-font-label);
    font-size: 0.8rem;
    color: var(--h2-primary);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 0 0 24px;
    font-weight: 700;
}
.fnc-h2-fellows__list { display: flex; flex-direction: column; gap: 20px; }
.fnc-h2-fellow { display: flex; align-items: center; gap: 16px; }
.fnc-h2-fellow__avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--h2-slate-300);
    flex-shrink: 0;
}
.fnc-h2-fellow__avatar img { width: 100%; height: 100%; object-fit: cover; }
.fnc-h2-fellow__avatar--initial {
    background: var(--h2-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--h2-font-headline);
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: 0.02em;
}
.fnc-h2-fellow__name {
    font-family: var(--h2-font-label);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--h2-primary);
    margin: 0;
}
.fnc-h2-fellow__role {
    font-family: var(--h2-font-label);
    font-size: 0.75rem;
    color: var(--h2-outline);
    margin: 2px 0 0;
}

/* ── Events section ────────────────────────────────────────── */
.fnc-h2-events-block {
    margin-top: 80px;
    padding: 64px 0;
    border-top: 1px solid var(--h2-slate-200);
}
.fnc-h2-events-block__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 16px;
}
.fnc-h2-events-block__head h3 {
    font-family: var(--h2-font-headline);
    font-size: 2rem;
    color: var(--h2-primary);
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.fnc-h2-events-block__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--h2-font-label);
    font-size: 0.875rem;
    color: var(--h2-primary);
    font-weight: 500;
}
.fnc-h2-events-block__cta:hover { text-decoration: underline; }
.fnc-h2-events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 700px) {
    .fnc-h2-events-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .fnc-h2-events-grid { grid-template-columns: repeat(4, 1fr); }
}
.fnc-h2-event-card {
    background: #fff;
    padding: 24px;
    border-top: 4px solid var(--h2-primary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: box-shadow .2s ease;
}
.fnc-h2-event-card:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.fnc-h2-event-card--secondary { border-top-color: #545f72; }
.fnc-h2-event-card--accent { border-top-color: var(--h2-primary-soft); }
.fnc-h2-event-card--earth { border-top-color: var(--h2-amber-600); }
.fnc-h2-event-card__date {
    color: var(--h2-primary);
    font-family: var(--h2-font-label);
    font-size: 0.875rem;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: 0.04em;
}
.fnc-h2-event-card--secondary .fnc-h2-event-card__date { color: #545f72; }
.fnc-h2-event-card--accent .fnc-h2-event-card__date { color: var(--h2-primary-soft); }
.fnc-h2-event-card--earth .fnc-h2-event-card__date { color: var(--h2-amber-600); }
.fnc-h2-event-card__title {
    font-family: var(--h2-font-headline);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--h2-on-surface);
    margin: 0 0 12px;
}
.fnc-h2-event-card__desc {
    font-family: var(--h2-font-body);
    font-size: 0.95rem;
    color: var(--h2-on-surface-variant);
    margin: 0 0 16px;
    line-height: 1.55;
}
.fnc-h2-event-card__loc {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--h2-font-label);
    font-size: 0.75rem;
    color: var(--h2-primary);
}
.fnc-h2-event-card__loc .material-symbols-outlined { font-size: 16px; }

/* ── Global Trends Block (전역 4-카드 가로 배치) ────────────── */
.fnc-h2-globaltrends-block {
    margin-top: 80px;
    padding: 64px 0;
    border-top: 1px solid var(--h2-slate-200);
}
.fnc-h2-globaltrends-block__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 16px;
}
.fnc-h2-globaltrends-block__head-title {
    display: flex;
    align-items: center;
    gap: 12px;
}
.fnc-h2-globaltrends-block__head-title .material-symbols-outlined {
    color: var(--h2-primary);
    font-size: 28px;
}
.fnc-h2-globaltrends-block__head h3 {
    font-family: var(--h2-font-headline);
    font-size: 2rem;
    color: var(--h2-primary);
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.fnc-h2-globaltrends-block__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--h2-font-label);
    font-size: 0.875rem;
    color: var(--h2-primary);
    font-weight: 500;
    white-space: nowrap;
}
.fnc-h2-globaltrends-block__cta:hover { text-decoration: underline; }
.fnc-h2-globaltrends-block__cta .material-symbols-outlined { font-size: 18px; }

.fnc-h2-globaltrends-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 700px) {
    .fnc-h2-globaltrends-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .fnc-h2-globaltrends-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* 모바일 대응 */
@media (max-width: 700px) {
    .fnc-h2-globaltrends-block { margin-top: 48px; padding: 40px 0; }
    .fnc-h2-globaltrends-block__head h3 { font-size: 1.4rem; }
    .fnc-h2-globaltrends-block__head-title .material-symbols-outlined { font-size: 22px; }
}
@media (max-width: 420px) {
    .fnc-h2-globaltrends-block { padding: 32px 0; }
}

/* ── Research highlights (4-grid) ──────────────────────────── */
.fnc-h2-research-block {
    margin-top: 80px;
    padding: 64px 0;
    border-top: 1px solid var(--h2-slate-200);
}
.fnc-h2-research-block__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 16px;
}
.fnc-h2-research-block__head h3 {
    font-family: var(--h2-font-headline);
    font-size: 2rem;
    color: var(--h2-primary);
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.fnc-h2-research-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 700px) {
    /* 2x2 — 4개 카드를 2열×2행으로 */
    .fnc-h2-research-grid { grid-template-columns: repeat(2, 1fr); }
}
.fnc-h2-research-card {
    background: #fff;
    border: 1px solid var(--h2-slate-200);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.fnc-h2-research-card__img {
    height: 160px;
    overflow: hidden;
    background: var(--h2-slate-100);
}
.fnc-h2-research-card__img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s ease;
}
.fnc-h2-research-card:hover .fnc-h2-research-card__img img { transform: scale(1.05); }
.fnc-h2-research-card__body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.fnc-h2-research-card__title {
    font-family: var(--h2-font-headline);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--h2-primary);
    margin: 0 0 12px;
}
.fnc-h2-research-card__desc {
    font-family: var(--h2-font-body);
    font-size: 0.875rem;
    color: var(--h2-on-surface-variant);
    margin: 0 0 16px;
    flex: 1;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fnc-h2-research-card__more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--h2-font-label);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--h2-primary);
}
.fnc-h2-research-card__more:hover { text-decoration: underline; }
.fnc-h2-research-card__more .material-symbols-outlined { font-size: 16px; }

/* ── Support Strip (푸터 위 후원 CTA 띠) ───────────────────── */
.fnc-h2-support-strip {
    margin-top: 80px;
    padding: 56px 48px;
    background: linear-gradient(135deg, #063f31 0%, #087f5b 100%);
    border-radius: 16px;
    border: 1px solid rgba(184, 240, 214, 0.24);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    text-align: left;
}
.fnc-h2-support-strip__content { flex: 1; min-width: 280px; }
.fnc-h2-support-strip__eyebrow {
    display: inline-block;
    font-family: var(--h2-font-label);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #b8f0d6;
    margin-bottom: 10px;
}
.fnc-h2-support-strip__title {
    font-family: var(--h2-font-headline);
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
    line-height: 1.3;
    word-break: keep-all;
}
.fnc-h2-support-strip__lede {
    font-family: var(--h2-font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: #effbf5;
    margin: 0;
    max-width: 50em;
    word-break: keep-all;
}
.fnc-h2-support-strip__actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.fnc-h2-support-strip__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--h2-primary);
    color: #fff !important;
    font-family: var(--h2-font-label);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 10px;
    transition: all .2s ease;
    white-space: nowrap;
}
.fnc-h2-support-strip__cta:hover {
    background: var(--h2-primary-soft);
    color: #fff !important;
    transform: translateX(2px);
}
.fnc-h2-support-strip__cta .material-symbols-outlined { font-size: 20px; font-variation-settings: 'FILL' 1; }
.fnc-h2-support-strip__sub {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 22px;
    background: transparent;
    color: #ffffff !important;
    border: 1.5px solid rgba(255,255,255,0.48);
    font-family: var(--h2-font-label);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    transition: background .2s ease;
    white-space: nowrap;
}
.fnc-h2-support-strip__sub:hover { background: rgba(255,255,255,0.13); }

@media (max-width: 700px) {
    .fnc-h2-support-strip {
        margin-top: 48px;
        padding: 32px 24px;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    .fnc-h2-support-strip__title { font-size: 1.25rem; }
    .fnc-h2-support-strip__actions { flex-direction: column; }
    .fnc-h2-support-strip__cta,
    .fnc-h2-support-strip__sub { width: 100%; justify-content: center; }
}

/* ── 본문 wrapper 너비/패딩 강제 (page.html 기본 제약 우회) ── */
.fnc-h2-page .fnc-h2-container { box-sizing: border-box; }
.wp-block-post-content:has(.fnc-h2-page) { max-width: none !important; padding: 0 !important; }

/* ── 한글 줄바꿈 보호 (단어 단위 줄바꿈) ──────────────────── */
.fnc-h2-hero__title,
.fnc-h2-hero__rail-label,
.fnc-h2-deep-title,
.fnc-h2-topic-card h4,
.fnc-h2-hitem__title,
.fnc-h2-research-card__title,
.fnc-h2-event-card__title,
.fnc-h2-aside-event__title,
.fnc-h2-policy__item h4,
.fnc-h2-bulletin__title,
.fnc-h2-events-block__head h3,
.fnc-h2-research-block__head h3,
.fnc-h2-sec-head__title h3 { word-break: keep-all; }
.fnc-h2-hero__lede,

.fnc-h2-deep-desc,
.fnc-h2-topic-card p,
.fnc-h2-hitem__desc,
.fnc-h2-data-card__desc,
.fnc-h2-aside-event__desc,
.fnc-h2-policy__item p,
.fnc-h2-research-card__desc,
.fnc-h2-event-card__desc,
.fnc-h2-newsletter p { word-break: keep-all; }

/* ── 모바일·소형 태블릿 (≤700px) ───────────────────────────── */
@media (max-width: 700px) {
    .fnc-h2-container { padding: 0 16px; }
    .fnc-h2-hero { gap: 16px; margin: 16px 0 40px; }
    .fnc-h2-hero__title { font-size: 1.65rem; }
    .fnc-h2-hero__lede { font-size: 1rem; }

    .fnc-h2-grid { gap: 40px; }
    .fnc-h2-main { gap: 48px; }
    .fnc-h2-aside { gap: 32px; }

    .fnc-h2-sec-head { padding-bottom: 12px; margin-bottom: 24px; }
    .fnc-h2-sec-head__title h3 { font-size: 1.3rem; }
    .fnc-h2-sec-head__title .material-symbols-outlined { font-size: 22px; }

    .fnc-h2-deep-list { gap: 32px; }
    .fnc-h2-deep-title { font-size: 1.2rem; }
    .fnc-h2-deep-desc { font-size: 0.95rem; }

    .fnc-h2-data-card { padding: 20px; }
    .fnc-h2-data-card__num { font-size: 1.875rem; }

    .fnc-h2-topic-card img { height: 200px; }
    .fnc-h2-topic-card h4 { font-size: 1.1rem; }

    .fnc-h2-hitem { padding: 12px; }
    .fnc-h2-hitem img { height: 180px; }
    .fnc-h2-hitem__title { font-size: 1.1rem; }

    .fnc-h2-aside-box,
    .fnc-h2-newsletter,
    .fnc-h2-policy,
    .fnc-h2-fellows { padding: 24px 20px; }
    .fnc-h2-aside-event__title { font-size: 1.1rem; }

    .fnc-h2-events-block,
    .fnc-h2-research-block { margin-top: 48px; padding: 40px 0; }
    .fnc-h2-events-block__head h3,
    .fnc-h2-research-block__head h3 { font-size: 1.4rem; }
    .fnc-h2-event-card { padding: 20px; }
    .fnc-h2-event-card__title { font-size: 1.05rem; }
}

/* ── 작은 모바일 (≤420px) ───────────────────────────────── */
@media (max-width: 420px) {
    .fnc-h2-hero__title { font-size: 1.4rem; }
    .fnc-h2-hero__lede { font-size: 0.95rem; }

    .fnc-h2-aside-box,
    .fnc-h2-newsletter,
    .fnc-h2-policy,
    .fnc-h2-fellows { padding: 20px 16px; }
    .fnc-h2-events-block,
    .fnc-h2-research-block { padding: 32px 0; }
    .fnc-h2-event-card { padding: 16px; }
}

/* ── 가로 스크롤 방지 (안전장치) ─────────────────────────── */
.fnc-h2-page { overflow-x: hidden; }
.fnc-h2-page img,
.fnc-h2-page video,
.fnc-h2-page iframe { max-width: 100%; }

/* ═══════════════════════════════════════════════════════════════
   HOME v2 — professional editorial depth pass (2026-07)
   ui-ux-pro-max: dimensional layering + restrained Swiss grid
   ═══════════════════════════════════════════════════════════════ */
.fnc-h2-page {
    --h2-surface-warm: #fbfaf6;
    --h2-border-soft: rgba(1, 45, 29, 0.11);
    --h2-shadow-1: 0 10px 28px rgba(1, 45, 29, 0.07);
    --h2-shadow-2: 0 20px 52px rgba(1, 45, 29, 0.11);
    --h2-shadow-3: 0 32px 80px rgba(1, 45, 29, 0.16);
    --h2-radius-lg: 24px;
    --h2-radius-md: 18px;
    background:
        radial-gradient(circle at 8% 4%, rgba(4, 120, 87, 0.055), transparent 24rem),
        radial-gradient(circle at 94% 18%, rgba(217, 119, 6, 0.035), transparent 28rem),
        linear-gradient(180deg, #f9fbfa 0%, var(--h2-surface) 24%, #f7f8f6 100%);
}

.fnc-h2-container {
    /* L1과 동일한 실제 카드 폭: 1360px 외곽 - 좌우 40px = 1280px */
    max-width: 1360px;
    padding-inline: clamp(20px, 3vw, 40px);
}

.fnc-h2-page a {
    transition:
        color .22s ease,
        opacity .22s ease,
        background .22s ease,
        border-color .22s ease,
        box-shadow .28s ease,
        transform .28s cubic-bezier(.2, .75, .25, 1);
}

.fnc-h2-page a:focus-visible,
.fnc-h2-page button:focus-visible,
.fnc-h2-page input:focus-visible {
    outline: 3px solid #c88c2c;
    outline-offset: 4px;
}

/* Hero: rotating full-bleed statement slides.
   One slide = one message. The rail below the CTA carries the remaining hubs,
   so nothing competes with the headline in the first two seconds. */
.fnc-h2-hero {
    display: block;
    margin: clamp(28px, 4vw, 48px) 0 clamp(64px, 7vw, 88px);
    --h2-hero-pad: clamp(36px, 5vw, 58px);
    --h2-hero-rail: 62px;
}

/* Keep the frame inside the fold. 86vh alone was not enough: the sticky header
   (81px) plus the hero's top margin push the frame down ~153px, so a bare vh
   share still cut the rail off on a 720px-tall viewport. Subtract that offset
   instead of guessing a share. */
.fnc-h2-hero__viewport {
    position: relative;
    min-height: min(760px, calc(100vh - 172px));
    min-height: min(760px, calc(100dvh - 172px));
    /* Stacking root for the whole hero: photo planes (1) → gradient (2)
       → slide copy (3) → rail (4). */
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background: var(--h2-primary);
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: var(--h2-radius-lg);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        var(--h2-shadow-3);
}

/* The gradient stack lives on the viewport, applied exactly once. Putting it on
   each slide made the mid-crossfade frame double-darkened — two overlays at
   half opacity — and much murkier than either slide it sat between. */
.fnc-h2-hero__viewport::before,
.fnc-h2-hero__viewport::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.fnc-h2-hero__viewport::before {
    background:
        radial-gradient(circle at 74% 14%, rgba(255, 220, 152, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(1, 24, 16, 0.08) 6%, rgba(1, 35, 23, 0.3) 46%, rgba(1, 28, 19, 0.94) 100%);
}

.fnc-h2-hero__viewport::after {
    background: linear-gradient(90deg, rgba(1, 31, 21, 0.52), rgba(1, 31, 21, 0.08) 66%, rgba(1, 31, 21, 0.22));
    mix-blend-mode: multiply;
}

/* No opacity on the slide itself — opacity < 1 would create a stacking context
   and trap the copy underneath the shared gradient. Image and copy fade
   independently instead. */
.fnc-h2-hero__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: var(--h2-hero-pad);
    padding-bottom: calc(var(--h2-hero-pad) + var(--h2-hero-rail));
}

.fnc-h2-hero__slide-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    transition: opacity .7s cubic-bezier(.2, .75, .25, 1);
}

.fnc-h2-hero__slide.is-active .fnc-h2-hero__slide-img {
    z-index: 1;
    opacity: 1;
}

.fnc-h2-hero__slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 54%;
    filter: saturate(.9) contrast(1.06) brightness(.92);
    transform: scale(1.02);
}

/* Ken Burns: a slow drift so the frame breathes without reading as a carousel.
   Always outlasts the dwell by 2s, so the motion never completes and never
   snaps back. Derived from the dwell rather than hardcoded — a fixed duration
   would silently freeze mid-slide if the dwell were ever raised past it. */
.fnc-h2-hero__slide.is-active .fnc-h2-hero__slide-img img {
    animation: fnc-h2-hero-drift calc(var(--h2-hero-dwell, 7000ms) + 2000ms) ease-out both;
}

@keyframes fnc-h2-hero-drift {
    from { transform: scale(1.02); }
    to   { transform: scale(1.07); }
}

/* Copy leaves in 220ms; the next copy is held until 240ms, so the two headlines
   never overlap at all during the 700ms photo dissolve. The sequence reads as:
   photo starts dissolving → old words leave → new words rise as it settles.
   visibility keeps inactive slide links out of the tab order. */
.fnc-h2-hero__slide-body {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 760px;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity .22s ease,
        visibility 0s linear .22s;
}

.fnc-h2-hero__slide.is-active .fnc-h2-hero__slide-body {
    opacity: 1;
    visibility: visible;
    transition:
        opacity .18s ease .24s,
        visibility 0s linear 0s;
}

.fnc-h2-hero__title {
    color: #fff;
    font-size: clamp(2.25rem, 3.5vw, 3.35rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-wrap: balance;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.25);
}

.fnc-h2-hero__title a {
    color: #fff !important;
}

.fnc-h2-hero__lede {
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.2);
}

.fnc-h2-hero__slide .fnc-h2-chip {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.24);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.fnc-h2-hero__slide .fnc-h2-btn {
    min-height: 44px;
}

/* Staggered entrance. The rhythm comes from the order the words arrive,
   not from moving the photograph. */
/* Delays start after the copy is unhidden at 240ms, 60ms apart. */
.fnc-h2-hero__slide.is-active .fnc-h2-chip { animation: fnc-h2-hero-rise .55s cubic-bezier(.2, .75, .25, 1) .26s both; }
.fnc-h2-hero__slide.is-active .fnc-h2-hero__title { animation: fnc-h2-hero-rise .55s cubic-bezier(.2, .75, .25, 1) .32s both; }
.fnc-h2-hero__slide.is-active .fnc-h2-hero__lede { animation: fnc-h2-hero-rise .55s cubic-bezier(.2, .75, .25, 1) .38s both; }
.fnc-h2-hero__slide.is-active .fnc-h2-btn { animation: fnc-h2-hero-rise .55s cubic-bezier(.2, .75, .25, 1) .44s both; }

@keyframes fnc-h2-hero-rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}

/* ── Progress rail ────────────────────────────────────────────
   Bars, not dots: the active bar fills across the dwell so the reader can
   see how long they have. Labels double as a mini-index of the hubs — the
   job the two glass side cards used to do. */
.fnc-h2-hero__rail {
    position: absolute;
    z-index: 4;
    left: var(--h2-hero-pad);
    right: var(--h2-hero-pad);
    bottom: calc(var(--h2-hero-pad) - 10px);
    display: none;
    flex-wrap: wrap;
    gap: 10px 18px;
}

/* Only shown once the script is actually driving it. */
.fnc-h2-hero[data-hero-enhanced] .fnc-h2-hero__rail {
    display: flex;
}

.fnc-h2-hero__rail-item {
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 0 1 132px;
    /* Bar is 4px; the padding carries the 44px touch target. */
    padding: 12px 0;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    background: none;
    border: 0;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: color .25s ease;
}

.fnc-h2-hero__rail-item:hover,
.fnc-h2-hero__rail-item.is-active {
    color: #fff;
}

.fnc-h2-hero__rail-bar {
    position: relative;
    display: block;
    height: 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    -webkit-backdrop-filter: blur(18px) saturate(112%);
    backdrop-filter: blur(18px) saturate(112%);
}

.fnc-h2-hero__rail-fill {
    display: block;
    width: 0;
    height: 100%;
    background: #fff;
    border-radius: 999px;
}

/* The fill animation is also the clock — home2.js advances on its animationend,
   so the bar and the timer cannot drift apart. */
.fnc-h2-hero__rail-item.is-active .fnc-h2-hero__rail-fill {
    animation: fnc-h2-hero-fill var(--h2-hero-dwell, 7000ms) linear both;
}

.fnc-h2-hero.is-paused .fnc-h2-hero__rail-item.is-active .fnc-h2-hero__rail-fill {
    animation-play-state: paused;
}

/* Autoplay off (reduced motion, or a single slide): show the active bar full
   rather than leaving an empty track that looks broken. */
.fnc-h2-hero.is-static .fnc-h2-hero__rail-item.is-active .fnc-h2-hero__rail-fill {
    width: 100%;
    animation: none;
}

@keyframes fnc-h2-hero-fill {
    from { width: 0; }
    to   { width: 100%; }
}

.fnc-h2-hero__rail-label {
    font-family: var(--h2-font-body);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: -.01em;
    line-height: 1.2;
    word-break: keep-all;
}

/* Institutional mission strip. */
.fnc-h2-about {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 40px 44px;
    background:
        radial-gradient(circle at 88% 18%, rgba(110, 231, 183, 0.16), transparent 25%),
        linear-gradient(135deg, #012d1d 0%, #0a4632 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--h2-radius-lg);
    box-shadow: var(--h2-shadow-2);
}

.fnc-h2-about::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 260px;
    aspect-ratio: 1;
    right: -88px;
    top: -132px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    box-shadow:
        0 0 0 48px rgba(255, 255, 255, 0.025),
        0 0 0 96px rgba(255, 255, 255, 0.015);
}

/* Four elevation levels for long-form, metric, topic, and action cards. */
.fnc-h2-deep-item {
    padding: 16px;
    border: 1px solid var(--h2-border-soft);
    border-radius: var(--h2-radius-md);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 24px rgba(1, 45, 29, 0.045);
}

.fnc-h2-deep-item:hover {
    transform: translateY(-3px);
    border-color: rgba(1, 45, 29, 0.2);
    box-shadow: var(--h2-shadow-1);
}

.fnc-h2-deep-img {
    border-radius: 13px;
}

.fnc-h2-data-block {
    padding: 52px 44px;
    border: 1px solid var(--h2-border-soft);
    border-radius: var(--h2-radius-lg);
    background:
        radial-gradient(circle at 92% 8%, rgba(110, 231, 183, 0.12), transparent 28%),
        linear-gradient(145deg, #eef5f0, #f8faf8);
    box-shadow: var(--h2-shadow-1);
}

.fnc-h2-data-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.95);
    border-radius: var(--h2-radius-md);
    box-shadow: 0 8px 24px rgba(1, 45, 29, 0.06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.fnc-h2-data-card:hover {
    transform: translateY(-4px);
    border-color: rgba(1, 45, 29, 0.12);
    box-shadow: var(--h2-shadow-2);
}

.fnc-h2-topic-card {
    min-width: 0;
    padding: 14px 14px 18px;
    gap: 13px;
    border: 1px solid var(--h2-border-soft);
    border-radius: var(--h2-radius-md);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 22px rgba(1, 45, 29, 0.045);
}

.fnc-h2-topic-card:hover {
    transform: translateY(-4px);
    border-color: rgba(1, 45, 29, 0.2);
    background: #fff;
    box-shadow: var(--h2-shadow-1);
}

.fnc-h2-topic-card img {
    height: 196px;
    border: 1px solid rgba(1, 45, 29, 0.08);
    border-radius: 13px;
    filter: saturate(.9) contrast(1.02);
    transition: transform .55s cubic-bezier(.2, .75, .25, 1), filter .3s ease;
}

.fnc-h2-topic-card:hover img {
    filter: saturate(1);
    transform: scale(1.018);
}

.fnc-h2-topic-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.fnc-h2-aside-box,
.fnc-h2-research-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: var(--h2-border-soft);
    border-radius: var(--h2-radius-md);
    box-shadow: var(--h2-shadow-1);
}

.fnc-h2-research-card {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.fnc-h2-research-card:hover {
    transform: translateY(-4px);
    border-color: rgba(1, 45, 29, 0.19);
    box-shadow: var(--h2-shadow-2);
}

.fnc-h2-newsletter {
    background:
        radial-gradient(circle at 92% 8%, rgba(110, 231, 183, 0.18), transparent 32%),
        linear-gradient(145deg, var(--h2-primary), #0b4a35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--h2-radius-md);
    box-shadow: var(--h2-shadow-2);
}

.fnc-h2-policy {
    background:
        radial-gradient(circle at 88% 12%, rgba(217, 119, 6, 0.16), transparent 30%),
        linear-gradient(145deg, var(--h2-emerald-900), #083b2d);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--h2-radius-md);
    box-shadow: var(--h2-shadow-2);
}

.fnc-h2-event-card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 0 0 var(--h2-radius-md) var(--h2-radius-md);
    box-shadow: var(--h2-shadow-1);
    transition: box-shadow .25s ease, transform .25s ease;
}

.fnc-h2-event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--h2-shadow-2);
}

.fnc-h2-support-strip {
    border-radius: var(--h2-radius-lg);
    box-shadow: var(--h2-shadow-1);
}

.wp-block-post-content:has(.fnc-h2-page) > .wp-block-group.alignfull {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
}

@media (max-width: 899px) {
    .fnc-h2-hero {
        --h2-hero-rail: 46px;
    }

    .fnc-h2-hero__viewport {
        min-height: min(680px, 82vh);
    }

    /* Labels would wrap to three rows at this width; the bars alone still
       communicate position and remaining time. */
    .fnc-h2-hero__rail-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .fnc-h2-hero__rail-item {
        flex: 1 1 0;
    }
}

@media (max-width: 700px) {
    .fnc-h2-container {
        padding-inline: 16px;
    }

    .fnc-h2-hero {
        margin: 16px 0 40px;
    }

    .fnc-h2-hero {
        --h2-hero-pad: 22px;
        --h2-hero-rail: 42px;
    }

    .fnc-h2-hero__viewport {
        min-height: min(600px, 80vh);
        border-radius: 20px;
    }

    .fnc-h2-hero__slide {
        padding-top: 30px;
    }

    .fnc-h2-hero__title {
        font-size: 1.8rem;
    }

    .fnc-h2-about {
        padding: 28px 24px;
        border-radius: 20px;
    }

    .fnc-h2-deep-item {
        padding: 12px;
    }

    .fnc-h2-data-block {
        padding: 32px 20px;
        border-radius: 20px;
    }

    .fnc-h2-topic-card img {
        height: 200px;
    }
}

@media (max-width: 420px) {
    .fnc-h2-hero {
        --h2-hero-pad: 18px;
    }

    .fnc-h2-hero__viewport {
        min-height: min(560px, 78vh);
    }

    .fnc-h2-hero__slide {
        padding-top: 26px;
    }

    .fnc-h2-hero__title {
        font-size: 1.6rem;
    }
}

@media (hover: none) {
    .fnc-h2-deep-item:hover,
    .fnc-h2-data-card:hover,
    .fnc-h2-topic-card:hover,
    .fnc-h2-research-card:hover,
    .fnc-h2-event-card:hover {
        transform: none;
    }
}

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

    /* The blanket rule above collapses durations to ~0, which would leave the
       drift parked at its end scale and the entrance mid-flight. Cancel these
       outright instead. home2.js separately refuses to autoplay here. */
    .fnc-h2-hero__slide.is-active .fnc-h2-hero__slide-img img,
    .fnc-h2-hero__slide.is-active .fnc-h2-chip,
    .fnc-h2-hero__slide.is-active .fnc-h2-hero__title,
    .fnc-h2-hero__slide.is-active .fnc-h2-hero__lede,
    .fnc-h2-hero__slide.is-active .fnc-h2-btn,
    .fnc-h2-hero__rail-item.is-active .fnc-h2-hero__rail-fill {
        animation: none !important;
    }

    .fnc-h2-hero__slide.is-active .fnc-h2-hero__slide-img img {
        transform: scale(1.02);
    }

    .fnc-h2-hero__rail-item.is-active .fnc-h2-hero__rail-fill {
        width: 100%;
    }
}

/* Primary CTA color system — clean emerald green, distinct from the institutional forest base. */
.fnc-h2-page {
    --h2-cta: #087f5b;
    --h2-cta-hover: #056b4b;
    --h2-on-cta: #ffffff;
    --h2-cta-soft: #e1f3ea;
    --h2-focus-ring: #087f5b;
}

.fnc-h2-page a:focus-visible,
.fnc-h2-page button:focus-visible,
.fnc-h2-page input:focus-visible {
    outline-color: var(--h2-focus-ring);
}

.fnc-h2-page a.fnc-h2-btn,
.fnc-h2-page button.fnc-h2-btn,
.fnc-h2-page .fnc-h2-hero__slide a.fnc-h2-btn,
.fnc-h2-page .fnc-h2-support-strip__cta,
.fnc-h2-page .fnc-h2-newsletter button {
    min-height: 44px;
    color: var(--h2-on-cta) !important;
    background: var(--h2-cta);
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(8, 127, 91, 0.22);
    touch-action: manipulation;
}

.fnc-h2-page a.fnc-h2-btn:hover,
.fnc-h2-page button.fnc-h2-btn:hover,
.fnc-h2-page .fnc-h2-hero__slide a.fnc-h2-btn:hover,
.fnc-h2-page .fnc-h2-support-strip__cta:hover,
.fnc-h2-page .fnc-h2-newsletter button:hover {
    color: var(--h2-on-cta) !important;
    background: var(--h2-cta-hover);
    box-shadow: 0 14px 30px rgba(5, 107, 75, 0.28);
    transform: translateY(-2px);
}

.fnc-h2-page a.fnc-h2-btn:active,
.fnc-h2-page button.fnc-h2-btn:active,
.fnc-h2-page .fnc-h2-support-strip__cta:active,
.fnc-h2-page .fnc-h2-newsletter button:active {
    transform: translateY(0);
}

/* Support CTA: a restrained botanical marker adds warmth without competing with its single action. */
.fnc-h2-support-strip {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.fnc-h2-support-strip::before {
    content: "";
    position: absolute;
    z-index: 0;
    width: 15rem;
    height: 15rem;
    right: -5.5rem;
    top: -8.5rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    box-shadow: 0 0 0 1.75rem rgba(255, 255, 255, 0.07), 0 0 0 3.5rem rgba(255, 255, 255, 0.035);
}

.fnc-h2-support-strip__ornament {
    position: absolute;
    z-index: 0;
    right: 2.25rem;
    top: 1.75rem;
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #d9f7e8;
}

.fnc-h2-support-strip__ornament .material-symbols-outlined {
    font-size: 1.5rem;
    font-variation-settings: 'FILL' 1, 'wght' 500;
}

.fnc-h2-support-strip__content,
.fnc-h2-support-strip__actions {
    position: relative;
    z-index: 1;
}

/* Invert the action within the dark CTA panel so the container, not another button, anchors the section. */
.fnc-h2-page .fnc-h2-support-strip__cta,
.fnc-h2-page .fnc-h2-support-strip__cta:hover {
    background: #e1f3ea;
    color: #064e3b !important;
    box-shadow: 0 12px 26px rgba(1, 38, 29, 0.24);
}

.fnc-h2-page .fnc-h2-support-strip__cta:hover {
    background: #ffffff;
}

.fnc-h2-support-strip__cta:focus-visible,
.fnc-h2-support-strip__sub:focus-visible {
    outline-color: #b8f0d6 !important;
}

@media (max-width: 700px) {
    .fnc-h2-support-strip__ornament {
        right: 1.25rem;
        top: 1rem;
        width: 2.75rem;
        height: 2.75rem;
    }
}
