h2 {
  font-family: Poppins;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 40px; /* 125% */
  letter-spacing: -0.5px;
}

h3 {
  color: var(--Black, #000);
  font-family: Poppins;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px; /* 133.333% */
}

p {
  color: var(--Black, #000);
  font-family: Poppins;
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px; /* 176.471% */
}

.about-partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
  justify-content: flex-start;
  max-width: 100%;
}
.about-partner-logo {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 2px 0px;
  gap: 8px;
  width: 250.67px;
  height: 100px;
  opacity: 0.84;
  border: 1px solid #e2e2e2;
  border-radius: 24px;
  background: #fff;
  flex: none;
  order: 0;
  flex-grow: 0;
  flex-basis: calc(33.333% - 1.333rem);
  min-width: 200px;
  align-items: center;
  justify-content: center;
}
.about-partner-logos .about-partner-logo:nth-child(3n + 1) {
  margin-left: 0;
}

/* Partner logo sizing */
.about-partner-logo img {
  width: 63px;
  height: 50px;
  flex: none;
  order: 0;
  flex-grow: 0;
  object-fit: contain;
}

.main-container {
  padding-top: 100px;
  margin: 0 auto;
  width: 1240px;
}

.main-container > article {
  display: grid;
  grid-template-columns: 1fr 816px; /* left flexible, right fixed 816px */
  gap: 100px; /* horizontal space between them */
  align-items: start;
  overflow: visible; /* allow sticky */
  margin-bottom: 100px;
}

/* Left column: sticky header */
.main-container > article > [left] {
  position: sticky;
  top: var(--sticky-top, 20px); /* adjust for your header/admin bar */
  align-self: start;
  z-index: 1;
}

/* Right column: fixed content width */
.main-container > article > [right] {
  width: 816px;
  display: grid;
  gap: 1.5rem;
  gap: 40px;
  min-width: 0; /* prevents overflow in grid layouts */
}

.accent {
  margin-top: 10px;
  display: inline-block;
  width: 129px; /* adjust size */
  height: 8px;
  background-image: url("../img/accents/aboutsidebars.svg");
  background-repeat: no-repeat;
  background-size: contain; /* or 'cover', depending on your art */
  background-position: left center;
}

/* Partner logos grid (fits the 816px right column) */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; /* space between cards */
  margin-top: 24px;
}

/* Each logo card */
.partner-card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  padding: 2px 0;
  border: 1px solid #e2e2e2;
  border-radius: 24px;
  background: #fff;
  text-decoration: none; /* anchors look like cards */
  opacity: 0.92;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

/* Image sizing inside cards */
.partner-card img {
  max-height: 50px;
  max-width: 70%;
  object-fit: contain;
}

/* Hover / focus */
.partner-card:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}
.partner-card:focus-visible {
  outline: 3px solid #111;
  outline-offset: 2px;
}

/* Modifier for rows that shouldn't have a sticky left column */
.two-cols.no-sticky-left > [left] {
  position: static;
}

/* optional: if you want a little breathing room above the slider */
.two-cols.no-sticky-left > [right] {
  display: grid;
  gap: 16px;
}
