body {
    margin: 1rem;
    font-family: sans-serif;
    background: #f0efec;
  }

.agents-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 1300px;
  margin: 2rem auto;
  padding: 0rem;
  align-items: center;
}

.agents-row {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  gap: 2rem;
  width: 100%;
}

.agent-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 11rem;
  text-align: center;
}

.agent-name-small {
  font-family: 'CanvaSans', sans-serif;
  text-transform: uppercase;
  font-size: 1rem;
  color: #1B7895;
  font-weight: 400;
  text-align: center;
  margin-top: 0.5rem;
  white-space: nowrap
}

.small-headshot-box {
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    margin: 0 auto;

    position: relative;
    
  }
  
  .headshot-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
  }
  
  .circular-headshot {
    position: relative;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    transform-origin: top left;
    filter: grayscale(100%);
    pointer-events: none;
  }
  
.left, .right {
  flex: 1 1 50%;
  box-sizing: border-box;
}



.top-container {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
}

.left {
  flex: 0 0 auto;
  max-width: 240px; /* just a bit wider than the SVG */
  margin-left: 20vw; /* adjust value as needed */

}

.svg-header svg {
  width: 100%;
  height: auto;
}

.right {
  flex: 1;
}

.svg-header,
#rights-block {
  margin-top: 2rem; /* or whatever consistent value looks right */
}

#rights-block {
  max-width: 700px; /* adjust as needed */
}


@media (max-width: 1200px) {
  .left, .right {
    flex: 1 1 100%;
    position: static !important; /* override inline styles if needed */
    left: auto;
    top: auto;
  }

  .left {
  margin: auto; /* adjust value as needed */
  }

  .top-container {
    padding: 0rem;
    padding-top: 0;
    gap: 0rem;
  }

  #rights-block {
    margin: 0rem; /* or whatever consistent value looks right */
    font-size: .9rem;

  }


  .agents-container {
  }

    .agent-card {
    flex: 1 1 31%; /* Two cards per row */
    max-width: 35%; /* Add a little spacing */
    padding: 1rem;
  }

  .agent-name-small {

  }
.agent-name-small.tight-spacing {
  letter-spacing: -0.5px;
}

}