/* RZ-LABEL affiliates-portal-card-width-20261127-CT
   Equal-width door cards on the ruezals.com home grid only.
   Cause: .rz-grid used grid-template-columns: repeat(3, 1fr). In CSS Grid,
   1fr is minmax(auto, 1fr), so a column cannot shrink below its items'
   min-content width. The wiki wordmark in column 1 forced that track
   wider (~278px), which left column 2 (RUEZALS Chat, Raziel's Library,
   RUEZALS Affiliates) narrower (~196px). This file overrides only
   section[aria-labelledby="doors"] > .rz-grid, so other .rz-grid pages
   are unchanged. Phones still stack at 900px.
   v=20261127C: also keep equal columns from overflowing at tablet
   widths (nowrap .snip-sig, long buttons, long h3 words). */
section[aria-labelledby="doors"] > .rz-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
section[aria-labelledby="doors"] > .rz-grid > .rz-card {
  min-width: 0;
  max-width: 100%;
}
section[aria-labelledby="doors"] > .rz-grid > .rz-card h3,
section[aria-labelledby="doors"] > .rz-grid > .rz-card p,
section[aria-labelledby="doors"] > .rz-grid > .rz-card .rz-actions {
  min-width: 0;
  max-width: 100%;
}
section[aria-labelledby="doors"] > .rz-grid > .rz-card h3 {
  overflow-wrap: anywhere;
}
@media (max-width: 1100px) {
  section[aria-labelledby="doors"] > .rz-grid > .rz-card h3 {
    flex-wrap: wrap;
  }
}
section[aria-labelledby="doors"] > .rz-grid > .rz-card p {
  overflow-wrap: break-word;
}
section[aria-labelledby="doors"] > .rz-grid .snip-sig {
  white-space: normal;
}
section[aria-labelledby="doors"] > .rz-grid .rz-btn {
  white-space: normal;
  max-width: 100%;
  box-sizing: border-box;
  justify-content: center;
  text-align: center;
  overflow-wrap: break-word;
}
@media (max-width: 900px) {
  section[aria-labelledby="doors"] > .rz-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
