/* Branch atlas shares the WSF paper, ink and orange palette. Loaded only on page 303. */
.wsf-branches { --branch-line:var(--line); }
.wsf-branches [hidden] { display:none!important; }
.entry-content .wsf-atlas h2,.entry-content .wsf-branch-list-heading h2 { margin:0; font-size:clamp(1.75rem,2.5vw,2.5rem); line-height:1.15; text-wrap:wrap; }
.wsf-atlas-heading { display:flex; align-items:center; justify-content:space-between; gap:32px; margin-bottom:32px; }
.entry-content .wsf-atlas-heading p { margin:16px 0 0; max-width:62ch; color:var(--muted); font-size:1rem; line-height:1.6; }
.entry-content .wsf-atlas-count { flex:none; display:flex; align-items:baseline; gap:12px; margin:0; padding-left:24px; border-left:1px solid var(--accent); }
.wsf-atlas-count strong { color:var(--ink); font-size:3.5rem; line-height:1; letter-spacing:-.05em; }
.wsf-atlas-count span { font-size:1rem; }
.wsf-atlas-tools { display:flex; align-items:center; gap:20px; border-top:1px solid var(--branch-line); padding:24px 0; }
.wsf-atlas-tools label { font-weight:600; font-size:.875rem; }
.wsf-atlas-tools select { width:min(420px,45%); min-height:50px; padding:12px 44px 12px 16px; border:1px solid var(--control-border); border-radius:0; color:var(--ink); background-color:var(--content-field); font:inherit; font-size:1rem; }
.content-body .wsf-atlas-tools select:focus { outline:none; border-color:var(--content-link); }
.entry-content .wsf-atlas-tools a { margin-left:auto; font-size:.875rem; color:var(--ink); }
.wsf-atlas-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,28%); border-top:1px solid var(--accent); border-bottom:1px solid var(--branch-line); }
.wsf-atlas-map { position:relative; background:#e9ebe5; min-width:0; overflow:hidden; }
.wsf-atlas-world { display:block; width:100%; height:clamp(350px,31vw,490px); cursor:grab; touch-action:pan-y; }
.wsf-atlas-world:active { cursor:grabbing; }
.wsf-atlas-world image { pointer-events:none; }
.wsf-atlas-controls { position:absolute; z-index:2; right:16px; top:16px; display:flex; align-items:center; background:var(--ink); color:var(--paper); }
.wsf-atlas-controls button { display:grid; place-items:center; min-width:44px; height:44px; border:0; border-right:1px solid #484c46; padding:0 10px; background:transparent; color:inherit; font:600 1.125rem/1 var(--body); cursor:pointer; }
.wsf-atlas-controls button:last-child { font-size:.875rem; border-right:0; }
.wsf-atlas-controls button:hover:not(:disabled) { background:var(--accent); color:var(--ink); }
.wsf-atlas-controls button:disabled { color:#9ca295; cursor:default; }
.wsf-atlas-controls output { min-width:60px; text-align:center; font-size:.75rem; font-variant-numeric:tabular-nums; }
.entry-content .wsf-atlas-help { position:relative; margin:0; padding:12px 20px; max-width:none; color:var(--muted); border-top:1px solid var(--branch-line); font-size:.75rem; line-height:1.5; }
.wsf-atlas-marker { cursor:pointer; outline:none; }
.wsf-marker-hit { fill:transparent; }
.wsf-marker-dot { fill:var(--accent); stroke:var(--paper); }
.wsf-atlas-marker.is-cluster .wsf-marker-dot { fill:var(--ink); }
.wsf-atlas-marker text { fill:var(--paper); font-family:var(--body); font-weight:700; pointer-events:none; }
.wsf-atlas-marker:hover .wsf-marker-dot,.wsf-atlas-marker:focus-visible .wsf-marker-dot { fill:var(--content-link); stroke:var(--ink); }
.wsf-atlas-marker.is-selected .wsf-marker-dot { fill:var(--accent); stroke:var(--ink); }
.wsf-atlas-detail { padding:32px; border-left:1px solid var(--branch-line); min-width:0; }
.entry-content .wsf-atlas-detail h3 { margin:0 0 20px; font-size:1.75rem; line-height:1.2; text-wrap:wrap; }
.entry-content .wsf-atlas-detail p { max-width:none; font-size:1rem; line-height:1.6; }
.entry-content .wsf-atlas-eyebrow { margin:0 0 24px; color:var(--content-link); font-size:.75rem; font-weight:600; }
.wsf-atlas-detail .wsf-branch-flag { margin-bottom:20px; }
.wsf-atlas-detail .wsf-branch-contacts { display:block; margin:0; }
.wsf-atlas-detail .wsf-branch-contacts > div { margin-bottom:18px; }
.entry-content .wsf-atlas-list-link { display:inline-block; margin-top:18px; font-size:.875rem; }
.wsf-atlas-choices { display:grid; gap:0; }
.wsf-atlas-choices button { padding:14px 0; border:0; border-bottom:1px solid var(--branch-line); border-radius:0; background:transparent; color:var(--ink); font:600 .9375rem/1.4 var(--body); text-align:left; cursor:pointer; }
.wsf-atlas-choices button:hover { color:var(--content-link); }
.wsf-branch-directory { margin-top:64px; scroll-margin-top:32px; }
.wsf-branch-list-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:32px; margin-bottom:32px; }
.wsf-branch-search { display:grid; gap:8px; width:min(100%,400px); }
.wsf-branch-search input { width:100%; min-height:50px; padding:12px 16px; border:1px solid var(--control-border); border-radius:0; background:var(--content-field); color:var(--ink); font:400 1rem/1.5 var(--body); }
.wsf-branch-search input::placeholder { color:var(--muted); opacity:1; }
.wsf-branch-search [role=status] { font-size:.75rem; color:var(--muted); line-height:1.5; }
.wsf-branch { display:grid; grid-template-columns:minmax(280px,38%) minmax(0,1fr); gap:40px; padding:32px 0; border-top:1px solid var(--branch-line); scroll-margin-top:32px; }
.wsf-branch:last-child { border-bottom:1px solid var(--branch-line); }
.wsf-branch:target { background:#edece3; box-shadow:-16px 0 #edece3,16px 0 #edece3; }
.wsf-branch-identity { display:grid; grid-template-columns:96px minmax(0,1fr); align-items:start; gap:24px; }
.wsf-branch-flag { width:96px; height:64px; }
.entry-content .wsf-branch-flag img { display:block; width:100%; height:100%; margin:0; object-fit:contain; object-position:left center; }
.wsf-branch-flag:empty { display:none; }
.entry-content .wsf-branch-region { margin:0 0 8px; font-size:.75rem; line-height:1.4; color:var(--muted); }
.entry-content .wsf-branch h3 { margin:0; font-size:1.5rem; line-height:1.2; text-wrap:wrap; }
.wsf-branch-contacts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-content:start; gap:16px 28px; margin:0; font-size:.9375rem; line-height:1.5; }
.wsf-branch-contacts dt { margin-bottom:4px; font-size:.75rem; color:var(--muted); }
.wsf-branch-contacts dd { margin:0; }
.wsf-branch-links { align-self:end; }
.wsf-branch-links dd a + a { margin-left:4px; }
.entry-content .wsf-branch-empty { margin:0; padding:32px 0; }
@media (max-width:1100px) {
  .wsf-atlas-layout { grid-template-columns:minmax(0,1fr) 280px; }
  .wsf-atlas-detail { padding:24px; }
  .wsf-branch { grid-template-columns:minmax(240px,36%) minmax(0,1fr); gap:28px; }
  .wsf-branch-identity { grid-template-columns:64px minmax(0,1fr); gap:18px; }
  .wsf-branch-identity .wsf-branch-flag { width:64px; height:44px; }
}
@media (max-width:800px) {
  .wsf-atlas-heading { align-items:flex-start; gap:20px; }
  .wsf-atlas-count strong { font-size:2.5rem; }
  .entry-content .wsf-atlas-count { display:block; padding-left:16px; }
  .wsf-atlas-count span { display:block; margin-top:8px; font-size:.875rem; }
  .wsf-atlas-tools { flex-wrap:wrap; gap:12px; }
  .wsf-atlas-tools label { width:100%; }
  .wsf-atlas-tools select { flex:1; width:100%; }
  .entry-content .wsf-atlas-tools a { margin:0; }
  .wsf-atlas-layout { grid-template-columns:minmax(0,1fr); }
  .wsf-atlas-world { height:340px; }
  .wsf-atlas-detail { border-left:0; border-top:1px solid var(--branch-line); padding:24px 0; }
  .wsf-atlas-detail .wsf-branch-contacts { display:grid; }
  .wsf-atlas-detail .wsf-branch-contacts > div { margin-bottom:0; }
  .wsf-atlas-detail .wsf-branch-flag { float:right; margin:0 0 16px 20px; }
  .wsf-branch-list-heading { display:block; }
  .wsf-branch-search { margin-top:24px; width:100%; }
  .wsf-branch-directory { margin-top:40px; }
  .wsf-branch { grid-template-columns:1fr; gap:24px; }
}
@media (max-width:480px) {
  .entry-content .wsf-atlas-heading p { font-size:.9375rem; }
  .wsf-atlas-tools select { flex-basis:100%; }
  .wsf-atlas-world { height:300px; }
  .wsf-atlas-controls { top:12px; right:12px; }
  .entry-content .wsf-atlas-help { padding:12px; }
  .wsf-branch-contacts { grid-template-columns:minmax(0,1fr); }
  .wsf-branch-identity { grid-template-columns:64px minmax(0,1fr); }
  .wsf-branch { padding:24px 0; }
}
@media print {
  .wsf-atlas-tools,.wsf-atlas-controls,.wsf-branch-search,.wsf-atlas-detail { display:none!important; }
  .wsf-atlas-layout { display:block; }
  .wsf-branch { break-inside:avoid; }
}
