.wf-brand-slider {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: .5rem;
    align-items: center;
  }
  
  .wf-bs-viewport {
    overflow: hidden;
    width: 100%;
  }
  
  .wf-bs-track {
    display: flex;
    gap: 1rem;
    will-change: transform;
    transition: transform 260ms ease;
  }
  
  .wf-bs-card {
    flex: 0 0 auto; /* width is set via JS based on visible count */
    background: #fff;
    border-radius: 14px;
    padding: .9rem;
    text-align: center;
    width: 280px !important;
  }
  
  .wf-bs-title {
    font-size: 1rem;
    margin: 0 0 .5rem 0;
  }
  
  .wf-bs-media {
    margin-bottom: .6rem;
  }
  
  .wf-bs-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
  }
  
  .wf-bs-placeholder {
    width: 100%;
    height: 160px;
    background: #f3f4f6;
    border-radius: 10px;
  }
  
  .wf-bs-actions {
    margin-top: .25rem;
  }
  
  .wf-bs-button {
    display: inline-block;
    padding: .5rem .85rem;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    text-decoration: none;
    font-size: .9rem;
  }
  
  .wf-bs-button:hover {
    opacity: .92;
  }
  
  .wf-bs-nav {
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #111827;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    cursor: pointer;
    line-height: 1;
  }
  
  .wf-bs-nav:disabled {
    opacity: .45;
    cursor: not-allowed;
  }
  
  /* Responsive: we’ll still compute visible count via JS; these ensure min widths look nice */
  @media (max-width: 900px) {
    .wf-bs-placeholder { height: 140px; }
  }
  @media (max-width: 640px) {
    .wf-bs-placeholder { height: 120px; }
  }
  