/* ===== Reusable sticky, two-column section layout ===== */
/* Container that holds multiple sections */
.sectioned-content {
  display: grid;
  gap: 6rem; /* space between sections */
}

/* Each section: left sticky label + right body */
.sectioned-section {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
  gap: 4rem;
  position: relative;
}

/* Sticky label (left column) */
.sectioned-label {
  position: sticky;
  top: 120px; /* adjust for your header/admin bar */
  align-self: start;
  height: fit-content;
}

/* Label visuals */
.sectioned-label h2 {
  font-size: clamp(28px, 2vw + 12px, 44px);
  line-height: 1.1;
  margin: 0 0 0.5rem 0;
}
.sectioned-label .accent {
  display: block;
  width: 120px;
  height: 6px;
  border-radius: 4px;
  background: #f8b720; /* yellow underline */
}

/* Right body column */
.sectioned-body {
  min-width: 0; /* allow content to shrink */
  display: grid;
  gap: 2rem;
}

/* Generic rich text inside body */
.sectioned-body .richtext p {
  margin: 0 0 1rem 0;
}

/* ===== Partner logo grid (generic, reusable) ===== */
.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}
.partner-logo {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px 0;
  gap: 8px;
  width: 250.67px;
  height: 100px;
  opacity: 0.84;
  border: 1px solid #e2e2e2;
  border-radius: 24px;
  background: #fff;
  min-width: 200px;
}
.partner-logo img {
  object-fit: contain;
  max-width: 70%;
  max-height: 70%;
}

/* ===== Optional timeline layout (generic) ===== */
.timeline {
  position: relative;
  display: grid;
  gap: 2rem;
}
.timeline__item {
  display: block;
}
.timeline__row {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.timeline__img {
  width: 360px;
  max-width: 40%;
  border-radius: 12px;
  object-fit: cover;
}
.timeline__year {
  display: inline-block;
  background: #f1b82a;
  color: #111;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
}

/* ===== Responsive tweaks ===== */
@media (max-width: 1024px) {
  .sectioned-section {
    grid-template-columns: 260px 1fr;
    gap: 2.5rem;
  }
  .sectioned-label {
    top: 96px;
  }
}
@media (max-width: 768px) {
  .sectioned-section {
    grid-template-columns: 1fr;
  }
  .sectioned-label {
    position: static;
  }
  .sectioned-label .accent {
    margin-bottom: 1rem;
  }
}
.sectioned-content,
.sectioned-section {
  overflow: visible;
}
