/* Only desktop/intermediate branch galleries change. Mobile keeps its existing layout. */
@media (min-width:681px) {
  .branch-grid {
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    align-items:stretch;
    gap:20px;
  }
  .branch-grid > .public-branch {
    flex:0 1 300px;
    width:300px;
    max-width:100%;
    min-width:0;
  }
  .branch-grid > .public-branch[hidden] {display:none!important}
  .branch-grid .branch-photo,
  .branch-grid .branch-photo-placeholder {
    width:100%;
    height:auto;
    min-height:0;
    aspect-ratio:16 / 9;
    object-fit:cover;
  }
  .branch-grid .branch-card-copy {
    padding:20px;
    min-width:0;
    overflow-wrap:anywhere;
  }
  .branch-grid .branch-card-copy h3 {font-size:20px;line-height:1.3}
  .branch-grid .branch-card-copy .button {max-width:100%;white-space:normal;text-align:center}
  .agenda-branches {gap:16px}
  .agenda-branches > .public-branch {flex-basis:230px;width:230px}
  .agenda-branches .branch-photo,
  .agenda-branches .branch-photo-placeholder {aspect-ratio:16 / 7}
  .agenda-branches .branch-card-copy {padding:15px}
  .agenda-branches .branch-card-copy h3 {font-size:17px;line-height:1.25}
  .branch-card-preview {max-width:320px;margin-inline:auto}
  .branch-card-preview .branch-photo,
  .branch-card-preview .branch-photo-placeholder {
    height:auto;
    min-height:0;
    aspect-ratio:16 / 9;
    object-fit:cover;
  }
  .branch-card-preview > strong {overflow-wrap:anywhere}
}
