/* BFS community: scoped to the approved landing section. */
#bfs-learning-progress.bfs-glance{padding:60px 0 28px;background:linear-gradient(115deg,#fff 10%,#f5f8fd 100%);color:#102b50;overflow:hidden;isolation:isolate}
#bfs-learning-progress .bfs-glance-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.9fr);gap:28px;align-items:center}
#bfs-learning-progress .bfs-glance-heading{position:relative;z-index:1;min-width:0}
#bfs-learning-progress .bfs-glance-heading>span{font-size:11px;letter-spacing:.2em;font-weight:800;color:#d51625}
body[data-page="home"] main #bfs-learning-progress #bfs-glance-title{font-family:Georgia,'Times New Roman',serif!important;font-size:clamp(30px,3.1vw,48px)!important;font-weight:700;line-height:1.08!important;letter-spacing:-.045em!important;color:#081f43;margin:22px 0!important;padding:0!important;max-width:none}
body[data-page="home"] main #bfs-learning-progress #bfs-glance-title::before,body[data-page="home"] main #bfs-learning-progress #bfs-glance-title::after{display:none!important}
#bfs-learning-progress .bfs-glance-heading p{font-size:16px;line-height:1.65;color:#536984;margin:0 0 26px;max-width:340px}
#bfs-learning-progress .bfs-glance-explore{display:inline-flex;gap:12px;align-items:center;font-size:16px;font-weight:700;color:#d51625;border-bottom:1px solid currentColor;padding:0 0 5px;text-decoration:none;transition:gap .2s}
#bfs-learning-progress .bfs-glance-explore:hover{gap:20px}
#bfs-learning-progress .bfs-glance-explore:focus-visible{outline:3px solid #14365c;outline-offset:6px}
#bfs-learning-progress .bfs-glance-stage{position:relative;min-width:0;padding:26px 0;isolation:isolate}
#bfs-learning-progress .bfs-glance-ribbons{position:absolute;left:-25%;top:-35%;width:150%;height:175%;z-index:-1;pointer-events:none;overflow:visible}
#bfs-learning-progress .ribbon-line{fill:none;stroke-width:.75;animation:bfs-ribbon-drift 12s ease-in-out infinite alternate;transform-origin:center}
#bfs-learning-progress .ribbon-line:nth-child(even){animation-delay:-6s}
#bfs-learning-progress .bfs-glance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
#bfs-learning-progress .bfs-glance-item{display:flex;align-items:center;min-width:0;padding:25px 20px;border-radius:22px;border:1px solid #c8d7e9b3;background:linear-gradient(135deg,#ffffffa6,#edf2f973);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);box-shadow:inset 0 4px 1px #ffffffe6,0 8px 16px -10px #23476c55;animation:bfs-glass-float 7s ease-in-out infinite;animation-delay:calc(var(--glance-order)*-1.5s)}
#bfs-learning-progress .bfs-glance-art{flex:0 0 30%;padding-right:16px;margin-right:16px;border-right:1px solid #b9cadd99;display:flex;align-items:center;align-self:stretch;min-width:0}
#bfs-learning-progress .bfs-glance-art svg{display:block;width:100%;height:auto;fill:none;stroke:#112d51;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
#bfs-learning-progress .bfs-glance-art .accent{stroke:#df1c2b}
#bfs-learning-progress .bfs-glance-details{min-width:0;flex:1}
#bfs-learning-progress .bfs-glance-value{font-family:Georgia,'Times New Roman',serif;font-size:clamp(30px,3.6vw,54px);font-weight:700;letter-spacing:-.045em;line-height:1.1;font-variant-numeric:tabular-nums;color:#081f43;overflow-wrap:anywhere}
#bfs-learning-progress .bfs-glance-value strong{font-weight:700}
#bfs-learning-progress .bfs-glance-value>span{font-size:.8em}
#bfs-learning-progress .bfs-glance-item h3{font-size:clamp(12px,1.25vw,17px);font-weight:500;line-height:1.4;margin:6px 0 0;color:#405a7a}
#bfs-learning-progress .bfs-glance-path{grid-column:1/-1;display:flex;align-items:center;gap:12px;font-size:13px;color:#102b50;margin-top:12px}
#bfs-learning-progress .glance-pulse{color:#db1526;font-size:10px;letter-spacing:2px;animation:bfs-glance-pulse 3s ease-in-out infinite}
@keyframes bfs-ribbon-drift{from{transform:translateY(-5px)}to{transform:translateY(7px)}}
@keyframes bfs-glass-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@keyframes bfs-glance-pulse{50%{opacity:.3}}
@media(max-width:1000px){#bfs-learning-progress .bfs-glance-layout{grid-template-columns:1fr;gap:18px}#bfs-learning-progress .bfs-glance-heading p{max-width:520px;margin-bottom:16px}#bfs-learning-progress .bfs-glance-stage{padding:12px 0}#bfs-learning-progress .bfs-glance-value{font-size:44px}#bfs-learning-progress .bfs-glance-art{flex-basis:24%;max-width:90px}#bfs-learning-progress .bfs-glance-item h3{font-size:15px}}
@media(max-width:600px){#bfs-learning-progress.bfs-glance{padding:32px 0 24px}#bfs-learning-progress .bfs-glance-grid{gap:12px}#bfs-learning-progress .bfs-glance-item{padding:18px 12px;border-radius:17px}#bfs-learning-progress .bfs-glance-art{flex-basis:28%;padding-right:9px;margin-right:9px}#bfs-learning-progress .bfs-glance-value{font-size:29px}#bfs-learning-progress .bfs-glance-item h3{font-size:12px}#bfs-learning-progress .bfs-glance-heading p{font-size:14px}#bfs-learning-progress .bfs-glance-path{margin-top:4px;font-size:12px}}
@media(max-width:350px){#bfs-learning-progress .bfs-glance-grid{grid-template-columns:1fr}#bfs-learning-progress .bfs-glance-art{max-width:65px}#bfs-learning-progress .bfs-glance-value{font-size:34px}}
@supports not (backdrop-filter:blur(9px)){#bfs-learning-progress .bfs-glance-item{background:#f5f8fbea}}
@media(prefers-reduced-motion:reduce){#bfs-learning-progress .bfs-glance-item,#bfs-learning-progress .ribbon-line,#bfs-learning-progress .glance-pulse{animation:none!important}#bfs-learning-progress .bfs-wave-particle{display:none}#bfs-learning-progress .bfs-glance-explore{transition:none}}

/* Four navigation targets always occupy equal shares, including landscape tablets. */
@media(max-width:1120px){
 body .final-mobile-footer-track{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;width:100%;box-sizing:border-box;overflow:visible;padding:7px max(8px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}
 body .final-mobile-nav-item{width:100%;min-width:0!important;height:52px;font-size:11px;border-radius:10px;box-sizing:border-box}
 body .final-mobile-nav-item svg{width:22px;height:22px;flex:none}
 body{padding-bottom:calc(68px + env(safe-area-inset-bottom))!important}
 .final-mobile-menu-sheet{bottom:calc(67px + env(safe-area-inset-bottom))!important;max-height:calc(100dvh - 150px)!important}
}
/* Portrait artwork is for phones. Tablet banners keep their full desktop composition. */
@media(min-width:601px) and (max-width:1120px){
 body[data-page="home"] .bfs-banner-hero .desktop-banner-slider{display:block!important}
 body[data-page="home"] .bfs-banner-hero .mobile-banner-slider{display:none!important}
 body[data-page="home"] .bfs-banner-hero .bfs-image-banner-slide{min-height:0!important;height:auto!important;background:none!important}
 body[data-page="home"] .bfs-banner-hero .bfs-image-banner-slide img{display:block!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;object-fit:contain!important}
 body[data-page="home"] .bfs-banner-hero .bfs-image-banner-slide picture{display:block!important;width:100%;height:auto!important}
}
@media(max-width:600px){body[data-page="home"] .bfs-banner-hero .desktop-banner-slider{display:none!important}body[data-page="home"] .bfs-banner-hero .mobile-banner-slider{display:block!important}}

/* BFS red/navy hover depth, applied only on pointer devices. */
#bfs-learning-progress .bfs-glance-item{transition:box-shadow .25s,border-color .25s,background .25s}
#bfs-learning-progress .bfs-glance-art svg{transition:transform .25s;filter:drop-shadow(0 3px 1px #102b5015)}
@media(hover:hover) and (pointer:fine){#bfs-learning-progress .bfs-glance-item:hover{animation-play-state:paused;border-color:#e94a5e88;background:linear-gradient(125deg,#ffffffdd,#edf4ffc9);box-shadow:inset 0 3px 0 #fff,0 6px 0 #cbd8e599,0 22px 30px -14px #183e6355}#bfs-learning-progress .bfs-glance-item:hover .bfs-glance-art svg{transform:translateY(-3px) rotate(-5deg) scale(1.08)}}
@media(prefers-reduced-motion:reduce){#bfs-learning-progress .bfs-glance-item,#bfs-learning-progress .bfs-glance-art svg{transition:none!important;transform:none!important}}
/* Four-card row correction. Supports both earlier and current Blade markup. */
#bfs-learning-progress.bfs-glance{padding:32px 0 24px}
#bfs-learning-progress .bfs-glance-layout{display:block}
#bfs-learning-progress .bfs-glance-heading{margin-bottom:20px}
body[data-page="home"] main #bfs-learning-progress #bfs-glance-title{font-family:inherit!important;font-size:28px!important;line-height:1.3!important;letter-spacing:normal!important;margin:10px 0!important}
#bfs-learning-progress .bfs-glance-heading p{max-width:none}
#bfs-learning-progress .bfs-glance-stage{padding:16px 0 24px}
#bfs-learning-progress .bfs-glance-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important}
#bfs-learning-progress .bfs-glance-item{display:flex!important;flex-direction:column!important;align-items:flex-start!important;padding:20px!important;margin:0!important;min-width:0;border-radius:16px;gap:0}
#bfs-learning-progress .bfs-glance-art{flex:none!important;align-self:auto!important;width:48px!important;height:48px!important;max-width:48px!important;border:0!important;padding:0!important;margin:0 0 12px!important}
#bfs-learning-progress .bfs-glance-art svg{width:48px!important;height:48px!important}
#bfs-learning-progress .bfs-glance-details{width:100%;min-width:0;flex:none}
#bfs-learning-progress .bfs-glance-value{font-family:inherit!important;display:flex;align-items:baseline;font-size:34px!important;line-height:1.2!important;letter-spacing:-.025em!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}
#bfs-learning-progress .bfs-glance-value strong{font-family:inherit!important;white-space:nowrap!important}
#bfs-learning-progress .bfs-glance-item h3{font-family:inherit!important;font-size:14px!important;line-height:1.4!important;margin:7px 0 0!important}
#bfs-learning-progress .bfs-glance-item>p{display:none!important}
#bfs-learning-progress .bfs-glance-ribbons{left:-5%;width:110%;top:-10%;height:120%;opacity:.55}
#bfs-learning-progress .bfs-glance-path{margin-top:10px}
@media(max-width:767px){#bfs-learning-progress .bfs-glance-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}#bfs-learning-progress .bfs-glance-item{padding:16px!important}#bfs-learning-progress .bfs-glance-value{font-size:29px!important}}
