/* Homepage presentation only. Shared navigation, translators and tool pages are unchanged. */
.jf-home .jfn-brand picture{display:block;min-width:0;max-width:100%}
.jf-home .home-language-slot{display:none}
.jf-home .home-phrase,.jf-home .home-topic{display:inline-block;white-space:nowrap}
.jf-home .card{padding:0}
.jf-home .card>.home-card-link{display:block;height:100%;padding:30px;color:var(--ink);font-weight:400;border-radius:inherit}
.jf-home .home-card-link .card-cta{color:var(--jade);font-weight:700}
.jf-home .home-card-link:focus-visible{outline:3px solid var(--gold);outline-offset:4px}

@media(max-width:1180px){
 .jf-home{padding-top:var(--home-header-height,66px)}
 .jf-home .jfn-header{position:fixed;inset:0 0 auto;z-index:1100}
 .jf-home .jfn-header .jfn-inner{display:grid;grid-template-columns:minmax(80px,1fr) auto 44px;gap:8px;min-height:66px;padding:8px 12px!important}
 .jf-home .jfn-header .jfn-brand{grid-column:1;grid-row:1;max-width:100%;min-width:0}
 .jf-home .jfn-header .jfn-brand img{width:135px;max-width:100%;height:auto;max-height:50px}
 .jf-home .jfn-header .home-language-slot{display:flex;grid-column:2;grid-row:1;align-items:center}
 .jf-home .home-language-slot #jf-lang-lite{position:static;right:auto;top:auto;z-index:auto;gap:1px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:12px}
 .jf-home .home-language-slot #jf-lang-lite button{min-height:36px!important;padding:4px 6px!important;white-space:nowrap}
 .jf-home .jfn-header .jfn-toggle{display:flex;grid-column:3;grid-row:1;position:relative;justify-content:center;width:44px;min-height:44px;padding:10px}
 .jf-home .jfn-toggle>span:last-child{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .jf-home .jfn-header .jfn-links{position:absolute;top:100%;left:0;right:0;max-height:calc(100vh - var(--home-header-height,66px));max-height:calc(100dvh - var(--home-header-height,66px));overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;margin:0;padding:10px 12px max(12px,env(safe-area-inset-bottom));background:var(--paper);border-top:1px solid var(--line);box-shadow:0 10px 20px #164d3c18}
 .jf-home[data-home-scroll-lock]{overscroll-behavior:none}
 .jf-home main [id]{scroll-margin-top:calc(var(--home-header-height,66px) + 14px)}
}

@media(max-width:780px){
 .jf-home .hero{padding:22px 16px 34px}
 .jf-home .hero-logo{width:128px;max-width:42vw;height:auto}
 .jf-home .kicker{margin-top:10px;font-size:10px;letter-spacing:.12em;line-height:1.6}
 .jf-home .hero h1{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 10px;font-size:clamp(20px,5.8vw,25px);line-height:1.4;margin:14px 0 10px}
 .jf-home .hero .sub{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 12px;font-size:15px;line-height:1.6;letter-spacing:.02em;margin-bottom:16px}
 .jf-home .hero .home-separator{display:none}
 .jf-home .hero p{font-size:15px;line-height:1.8;margin-bottom:20px}
 .jf-home .hero-actions .btn{min-height:46px;padding:12px 18px;font-size:15px}
 .jf-home section:not(.hero){padding:34px 0}
 .jf-home .wrap{padding:0 16px}
 .jf-home .section-title{margin-bottom:22px}
 .jf-home .section-title h2{font-size:26px;line-height:1.4}
 .jf-home .section-title p{font-size:15px;line-height:1.75}
 .jf-home .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
 .jf-home .card{min-width:0}
 .jf-home .card>.home-card-link{display:flex;flex-direction:column;gap:0;padding:16px 14px}
 .jf-home .card h3{font-size:18px;line-height:1.4;margin:0 0 10px;overflow-wrap:normal;word-break:normal;hyphens:none}
 .jf-home .card p{font-size:14px;line-height:1.8;min-height:0;margin:0 0 16px;overflow-wrap:break-word}
 .jf-home .card-cta{display:flex;align-items:center;min-height:40px;margin-top:auto;font-size:14px;line-height:1.6;overflow-wrap:break-word}
 .jf-home .about-inner{text-align:left}
 .jf-home .about p{font-size:16px;line-height:1.95;text-align:left}
 .jf-home .about .section-title{text-align:center}
}
@media(max-width:350px){
 .jf-home .cards{grid-template-columns:1fr}
 .jf-home .card>.home-card-link{padding:20px}
 .jf-home .card h3{font-size:20px}
 .jf-home .home-language-slot #jf-lang-lite{font-size:11px}
 .jf-home .home-language-slot #jf-lang-lite button{padding:4px 4px!important}
}
@media(prefers-reduced-motion:reduce){html.jf-home-page{scroll-behavior:auto}}
@media print{.jf-home{padding-top:0!important}}
