/* Separate editorial sections; portrait videos retain their complete frame. */
html[data-theme] .branch-profile-page #clientTraining{max-width:1320px;width:100%;padding:0 40px 72px;border:0;margin:0 auto}
.branch-profile-page #clientTraining>.section-title{display:none}
html[data-theme] .branch-profile-page #clientTrainingGrid{display:block;width:100%;max-width:none}
.bm-videos,.bm-photos{padding:60px 0 0;min-width:0;scroll-margin-top:110px}
.bm-photos{margin-top:60px;border-top:1px solid var(--fp-border)}
.bm-photos:first-child{margin-top:0}
.bm-heading{text-align:center;margin:0 auto 34px;max-width:760px}
.bm-kicker{font-size:12px;letter-spacing:.22em;color:var(--fp-accent);margin:0 0 12px}
.bm-heading h2{font-size:clamp(28px,3vw,40px);font-weight:600;line-height:1.5;margin:0 0 10px;color:var(--fp-ink);overflow-wrap:anywhere}
.bm-intro{font-size:16px;line-height:1.8;color:var(--fp-muted);margin:0}
.bm-video-grid{display:flex;flex-wrap:wrap;justify-content:center;align-items:flex-start;gap:32px 24px}
.bm-video-card{flex:0 1 280px;width:280px;max-width:100%;min-width:0;background:var(--fp-panel);border:1px solid var(--fp-border);border-radius:14px;overflow:hidden;box-shadow:0 12px 32px #00000008}
.bm-video-frame{aspect-ratio:9/16;position:relative;background:#101210;width:100%;overflow:hidden}
.bm-video-frame video,.bm-video-frame iframe{display:block;width:100%;height:100%;object-fit:contain;border:0}
.bm-video-card h3{font-size:18px;line-height:1.6;font-weight:600;color:var(--fp-ink);margin:18px 18px 20px;overflow-wrap:anywhere}
.bm-video-description{margin:-8px 18px 22px;font-size:15px;line-height:1.8;color:var(--fp-muted);white-space:pre-line;overflow-wrap:anywhere}
.bm-youtube{display:flex;width:100%;height:100%;flex-direction:column;justify-content:center;align-items:center;gap:20px;padding:24px;background:transparent;border:0;color:#fff;font-size:18px;cursor:pointer}
.bm-youtube small{font-size:12px;line-height:1.8;color:#ccc}
.bm-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 24px}
.bm-photo-card{margin:0;min-width:0}
.bm-photo-open{display:block;width:100%;aspect-ratio:3/2;padding:0;background:var(--fp-soft);border:1px solid var(--fp-border);border-radius:12px;overflow:hidden;cursor:zoom-in}
.bm-photo-open img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.bm-photo-open:hover img{transform:scale(1.025)}
.bm-photo-card figcaption{font-size:15px;line-height:1.7;color:var(--fp-muted);margin:12px 2px 0;overflow-wrap:anywhere}
.bm-pagination{display:flex;justify-content:center;margin-top:32px}
.bm-pagination button{font-size:16px;white-space:normal;max-width:100%}
html[data-theme] .branch-profile-page #updates{max-width:1320px;margin-inline:auto}
html[data-theme] .branch-profile-page #updates .update-card{border-radius:14px;overflow:hidden;box-shadow:0 12px 32px #00000008}
@media(max-width:900px){.bm-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bm-video-card{flex-basis:calc((100% - 24px)/3);width:calc((100% - 24px)/3);max-width:280px}}
@media(max-width:600px){html[data-theme] .branch-profile-page #clientTraining{padding:0 20px 48px}.bm-videos,.bm-photos{padding-top:36px}.bm-photos{margin-top:36px}.bm-heading{margin-bottom:24px}.bm-intro{font-size:15px}.bm-video-grid{gap:24px}.bm-video-card{flex-basis:280px;width:280px;max-width:100%}.bm-photo-grid{gap:22px 12px}.bm-photo-open{border-radius:8px}.bm-photo-card figcaption{font-size:14px}.bm-heading h2{font-size:28px}}
@media(prefers-reduced-motion:reduce){.bm-photo-open img{transition:none}}
