/* Case-only styles. Loaded only by case lists and new case detail pages. */
html body.fg-case-list-page>.section{background:#f3f7fb!important}
html body.fg-case-list-page .cases-grid,html body.fg-case-detail-page .cases-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:26px!important;align-items:stretch!important}
html body.fg-case-list-page .case-card,html body.fg-case-detail-page .case-card{display:flex!important;flex-direction:column!important;min-width:0!important;padding:0!important;background:#fff!important;border:1px solid #e2eaf2!important;border-radius:14px!important;overflow:hidden!important;color:#172c42!important;text-decoration:none!important;box-shadow:none!important;transition:transform .2s ease,box-shadow .2s ease!important}
html body.fg-case-list-page .case-card:hover,html body.fg-case-detail-page .case-card:hover{transform:translateY(-4px)!important;box-shadow:0 12px 28px #18365012!important;border-color:#c8dae9!important}
html body.fg-case-list-page .case-card-image,html body.fg-case-detail-page .case-card-image{position:relative!important;height:auto!important;aspect-ratio:1.85!important;min-height:0!important;width:100%!important;overflow:hidden!important;background:#eaf0f5!important;padding:0!important}
html body.fg-case-list-page .case-card-image img,html body.fg-case-detail-page .case-card-image img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;transition:transform .35s ease!important}
html body.fg-case-list-page .case-card-body,html body.fg-case-detail-page .case-card-body{display:flex!important;flex:1!important;flex-direction:column!important;gap:0!important;padding:24px!important}
html body.fg-case-list-page .case-card-body small,html body.fg-case-detail-page .case-card-body small{display:block!important;font-size:13px!important;line-height:1.5!important;color:#6c8398!important;margin-bottom:10px!important;font-weight:400!important}
html body.fg-case-list-page .case-card-body h3,html body.fg-case-detail-page .case-card-body h3{font-size:22px!important;line-height:1.45!important;font-weight:600!important;margin:0 0 10px!important;color:#172c42!important;overflow-wrap:anywhere!important}
html body.fg-case-list-page .case-card-body p,html body.fg-case-detail-page .case-card-body p{font-size:15px!important;line-height:1.8!important;font-weight:400!important;color:#6b7e91!important;margin:0 0 20px!important;display:block!important;max-height:none!important;overflow:visible!important;-webkit-line-clamp:unset!important}
html body.fg-case-list-page .fg-case-link,html body.fg-case-detail-page .fg-case-link{margin-top:auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;font-size:14px!important;line-height:1.5!important;color:#005bac!important;font-weight:700!important;padding-top:2px!important}
html body.fg-case-list-page .fg-case-link span,html body.fg-case-detail-page .fg-case-link span{font-size:21px!important;font-weight:400!important}
.case-card:focus-visible,.fg-case-detail a:focus-visible{outline:3px solid #2583c5;outline-offset:4px}
.fg-case-detail{background:#f5f8fb;color:#1c3047;padding:40px 0 64px}.fg-case-detail .container{max-width:1380px}
.fg-case-trail{display:flex;flex-wrap:wrap;gap:10px;color:#8190a0;font-size:14px;line-height:1.6;margin-bottom:28px}.fg-case-trail a{color:#526c84;text-decoration:none}
.fg-case-intro-grid{display:grid;grid-template-columns:1.16fr 1fr;gap:48px;align-items:center}
.fg-case-detail-photo{margin:0;overflow:hidden;border-radius:14px;background:#e9eff4;border:1px solid #e2eaf1}
.fg-case-detail-photo img{display:block;width:100%;height:auto;max-height:540px;object-fit:contain}
.fg-case-category{color:#005bac;font-size:14px;font-weight:600;letter-spacing:.5px;margin-bottom:12px}
html body .fg-case-detail h1{font-size:42px!important;color:#19334b!important;line-height:1.15!important;margin:0 0 16px!important;font-weight:650!important;overflow-wrap:anywhere}
html body .fg-case-detail h2{font-size:27px!important;color:#19334b!important;line-height:1.4!important;margin:0 0 22px!important;font-weight:600!important}
html body .fg-case-detail p{font-size:16px!important;line-height:1.9!important;color:#63768b!important;margin:0 0 20px!important}
.fg-case-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0 28px;padding:20px 0;border-top:1px solid #dce5ed;border-bottom:1px solid #dce5ed}.fg-case-facts dt{font-size:13px;color:#7890a4;margin-bottom:7px}.fg-case-facts dd{font-size:15px;color:#263f56;margin:0}
html body .fg-case-detail .fg-case-actions{display:flex;flex-wrap:wrap;gap:12px}
html body .fg-case-detail a.fg-case-primary,html body .fg-case-detail a.fg-case-secondary{display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;border-radius:7px;font-size:15px;line-height:1.5;font-weight:600;text-decoration:none}
html body .fg-case-detail a.fg-case-primary{background:#005bac;color:white!important;-webkit-text-fill-color:white!important;border:1px solid #005bac}
html body .fg-case-detail a.fg-case-secondary{background:white;color:#005bac!important;border:1px solid #c9d9e7}
.fg-case-article{padding-top:56px}.fg-case-overview{max-width:990px}.fg-case-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin:28px 0 38px}.fg-case-feature{padding:28px;background:white;border:1px solid #e2eaf1;border-radius:12px}.fg-case-feature>b{font:400 13px Arial;color:#95a8ba;display:block;margin-bottom:14px}.fg-case-feature h3{font-size:19px;line-height:1.45;color:#213b53;margin:0 0 12px;font-weight:600}.fg-case-feature p{margin:0!important}
.fg-case-direction{border-left:3px solid #005bac;padding:4px 0 4px 24px;margin:32px 0 54px}.fg-case-direction h2{font-size:21px!important;margin-bottom:12px!important}.fg-case-direction p{margin-bottom:0!important}
@media(max-width:1000px){html body.fg-case-list-page .cases-grid,html body.fg-case-detail-page .cases-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.fg-case-intro-grid{gap:28px}.fg-case-feature-grid{gap:14px}.fg-case-feature{padding:20px}html body .fg-case-detail h1{font-size:34px!important}}
@media(max-width:680px){html body.fg-case-list-page .cases-grid,html body.fg-case-detail-page .cases-grid{grid-template-columns:1fr!important;gap:20px!important}html body.fg-case-list-page .case-card-body,html body.fg-case-detail-page .case-card-body{padding:22px!important}html body.fg-case-list-page .case-card-body h3,html body.fg-case-detail-page .case-card-body h3{font-size:21px!important}.fg-case-detail{padding:25px 0 40px}.fg-case-intro-grid,.fg-case-feature-grid{grid-template-columns:1fr}.fg-case-intro-grid{gap:26px}.fg-case-article{padding-top:38px}.fg-case-detail-photo img{max-height:390px}.fg-case-feature-grid{margin:18px 0 28px}.fg-case-actions a{flex:1 1 auto}.fg-case-facts{gap:12px}.fg-case-trail{margin-bottom:20px}html body .fg-case-detail h1{font-size:32px!important}html body .fg-case-detail h2{font-size:24px!important}}
@media(prefers-reduced-motion:reduce){html body.fg-case-list-page .case-card,html body.fg-case-detail-page .case-card,html body.fg-case-list-page .case-card-image img,html body.fg-case-detail-page .case-card-image img{transition:none!important;transform:none!important}}
