/* Global overflow guard: keep atlas typography inside panels without letter-by-letter breaks. */
*,*::before,*::after{min-width:0}
h1,h2,h3,h4,.hero-title,.dashboard-side h1,.dashboard-side h2,.selected-panel h2,.selected-record h2,.source-card strong,.ledger-card strong{
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
  text-wrap:balance;
  max-width:100%;
}
p,li,td,th,span,dd,dt,.source-card,.selected-note,.ledger-card,.country-table,.download-links a{
  max-width:100%;
}
.dashboard-side h1,.dashboard-side.left h1,.covid-arcgis-shell .dashboard-side h1,.genocide-shell .dashboard-side h1{
  font-size:clamp(2.15rem,3.15vw,3.55rem)!important;
  line-height:1.08!important;
  letter-spacing:-.035em!important;
}
.cultural-heritage-shell .dashboard-side.left h1{
  font-size:clamp(2.35rem,3.1vw,3.85rem)!important;
  line-height:1.08!important;
}
.dashboard-side.right h2,.selected-panel h2,[data-cultural-title]{
  font-size:clamp(1.45rem,2.05vw,2.35rem)!important;
  line-height:1.12!important;
}
.selected-stats strong,.event-stats strong,.selected-grid strong,.source-card dd,[data-cultural-type],[data-cultural-review],[data-cultural-relation],[data-cultural-source]{
  font-size:clamp(.9rem,1.25vw,1.35rem)!important;
  line-height:1.18!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
}
.source-card span,.selected-note,.dashboard-date,.country-table td,.country-table th{
  overflow-wrap:break-word!important;
  word-break:normal!important;
}
.dashboard-topbar,.site-nav,.topbar,header nav{overflow:hidden}
.dashboard-topbar a,.dashboard-brand,header nav a{white-space:normal;overflow-wrap:normal;word-break:normal}
@media(max-width:1180px){
  .dashboard-side h1,.dashboard-side.left h1,.covid-arcgis-shell .dashboard-side h1,.genocide-shell .dashboard-side h1{font-size:clamp(2rem,7vw,3rem)!important}
  .dashboard-side.right h2,.selected-panel h2,[data-cultural-title]{font-size:clamp(1.35rem,5vw,2rem)!important}
}


/* 2026-06-25 card-grid guard: prevent oversized serif headings from invading neighboring cards. */
.pipeline,.proof-grid,.trust-ledger,.research-stack-grid,.atlas-command-grid,.map-work-grid,.bibliography-list,.project-links{min-width:0}
.pipeline article,.proof-grid article,.trust-ledger article,.research-stack-grid article,.atlas-command-card,.map-work-grid article,.bibliography-list article{min-width:0;max-width:100%;overflow:hidden}
.pipeline article h3,.proof-grid article strong,.trust-ledger article strong,.research-stack-grid h3,.atlas-command-card h3,.map-work-grid h3,.bibliography-list h3{
  max-width:100%;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
  text-wrap:balance;
}
.pipeline article p,.proof-grid article p,.trust-ledger article span,.research-stack-grid p,.atlas-command-card p,.map-work-grid p,.bibliography-list p{
  max-width:100%;
  overflow-wrap:normal!important;
  word-break:normal!important;
  hyphens:none!important;
}
