
.kelly-boards-wrap {
  --kelly-boards-accent: #4e6b82;
  --kelly-boards-intro-bg: #e9f3fb;
  --kelly-boards-page-bg: #f3f3f3;
  --kelly-boards-surface-bg: #ffffff;
  --kelly-boards-text: #1b1b1b;
  font-family: "Montserrat", sans-serif;
  color: var(--kelly-boards-text);
  background: var(--kelly-boards-page-bg);
}

.kelly-boards-wrap *,
.kelly-boards-wrap *::before,
.kelly-boards-wrap *::after {
  box-sizing: border-box;
}

.kelly-boards-container {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.kelly-boards-intro-band {
  background: var(--kelly-boards-intro-bg);
  padding: 54px 0 58px;
}

.kelly-boards-top-intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
  line-height: 1.62;
  letter-spacing: 0.01em;
  color: #1e1e1e;
}

.kelly-boards-hero {
  background: var(--kelly-boards-page-bg);
  padding: 28px 0 48px;
}

.kelly-boards-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1.18fr);
  gap: 56px;
  align-items: center;
}

.kelly-boards-summary {
  margin: 0 0 36px;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.58;
  letter-spacing: 0.01em;
}

.kelly-boards-summary p {
  margin: 0;
}

.kelly-boards-summary strong {
  color: var(--kelly-boards-accent);
  font-weight: 700;
}

.kelly-boards-list-label {
  margin: 0 0 20px;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.025em;
  color: var(--kelly-boards-accent);
  font-weight: 700;
}

.kelly-boards-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

.kelly-boards-checklist li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 20px;
  align-items: start;
  font-size: 15px;
  line-height: 1.5;
  color: #202020;
}

.kelly-boards-check {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--kelly-boards-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.kelly-boards-check svg {
  width: 18px;
  height: 18px;
  display: block;
}

.kelly-boards-hero-image-wrap {
  width: 100%;
}

.kelly-boards-hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.kelly-boards-image-placeholder {
  min-height: 480px;
  background: #d9e4ec;
  border: 1px dashed var(--kelly-boards-accent);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: var(--kelly-boards-accent);
}

.kelly-boards-committees {
  padding: 58px 0 34px;
  border-top: 1px solid rgba(78, 107, 130, 0.55);
  background: var(--kelly-boards-page-bg);
}

.kelly-boards-committees-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.88fr) minmax(0, 1.2fr);
  gap: 54px;
  align-items: start;
}

.kelly-boards-section-title {
  margin: 0;
  font-size: clamp(30px, 3.3vw, 44px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #1b1b1b;
}

.kelly-boards-committees-copy p {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.72;
  color: #222;
}

.kelly-boards-accordion {
  margin-top: 24px;
  max-width: 500px;
}

.kelly-boards-accordion-trigger {
  width: 100%;
  appearance: none;
  border: 0;
  background: var(--kelly-boards-accent);
  color: #fff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-align: left;
}

.kelly-boards-accordion-icon {
  display: inline-flex;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.18);
  flex: 0 0 auto;
}

.kelly-boards-accordion-icon svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.kelly-boards-accordion-trigger[aria-expanded="false"] .kelly-boards-accordion-icon svg {
  transform: rotate(180deg);
}

.kelly-boards-accordion-panel {
  background: var(--kelly-boards-surface-bg);
  padding: 8px 0 0;
}

.kelly-boards-current-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kelly-boards-current-list li {
  padding: 14px 12px;
  font-size: 14px;
  line-height: 1.62;
  color: #111;
  border-bottom: 1px solid rgba(78, 107, 130, 0.09);
}

.kelly-boards-current-period {
  font-weight: 700;
  color: var(--kelly-boards-accent);
  margin-right: 6px;
}

.kelly-boards-history {
  background: var(--kelly-boards-page-bg);
  padding: 54px 0 84px;
}

.kelly-boards-history-heading {
  margin: 0 0 42px;
  text-align: center;
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--kelly-boards-accent);
}

.kelly-boards-timeline {
  position: relative;
}

.kelly-boards-timeline::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: 1px;
  background: rgba(78, 107, 130, 0.95);
  transform: translateX(-50%);
  z-index: 0;
}

.kelly-boards-timeline-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
  align-items: start;
  min-height: 178px;
  position: relative;
}

.kelly-boards-timeline-item + .kelly-boards-timeline-item {
  margin-top: 12px;
}

.kelly-boards-timeline-side {
  min-width: 0;
}

.kelly-boards-timeline-item.is-left .kelly-boards-timeline-side.is-left {
  grid-column: 1;
  padding: 0 46px 0 0;
  text-align: left;
}

.kelly-boards-timeline-item.is-right .kelly-boards-timeline-side.is-right {
  grid-column: 3;
  padding: 0 0 0 46px;
  text-align: left;
}

.kelly-boards-timeline-item.is-left .spacer {
  grid-column: 3;
}

.kelly-boards-timeline-item.is-right .spacer {
  grid-column: 1;
}

.kelly-boards-timeline-center {
  grid-column: 2;
  position: relative;
  min-height: 100%;
  display: flex;
  justify-content: center;
}

.kelly-boards-timeline-dot {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--kelly-boards-accent);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 5px var(--kelly-boards-page-bg);
  z-index: 3;
}

.kelly-boards-timeline-item::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--kelly-boards-accent);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 5px var(--kelly-boards-page-bg);
  z-index: 3;
}

.kelly-boards-timeline-card {
  max-width: 360px;
}

.kelly-boards-timeline-item.is-right .kelly-boards-timeline-card {
  margin-left: 0;
}

.kelly-boards-timeline-year {
  margin: 0 0 10px;
  color: var(--kelly-boards-accent);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.kelly-boards-timeline-content {
  font-size: 12.8px;
  line-height: 1.48;
  color: #1d1d1d;
}

.kelly-boards-timeline-content > *:first-child {
  margin-top: 0;
}

.kelly-boards-timeline-content > *:last-child {
  margin-bottom: 0;
}

.kelly-boards-timeline-content p {
  margin: 0 0 10px;
}

.kelly-boards-timeline-content ul {
  margin: 0;
  padding-left: 18px;
}

.kelly-boards-timeline-content li {
  margin: 0 0 8px;
}

@media (max-width: 980px) {
  .kelly-boards-container {
    width: min(100% - 40px, 1000px);
  }

  .kelly-boards-hero-grid,
  .kelly-boards-committees-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .kelly-boards-hero-image {
    max-height: 620px;
    object-fit: cover;
  }

  .kelly-boards-section-title {
    max-width: 420px;
  }

  .kelly-boards-timeline::before {
    left: 16px;
    transform: none;
  }

  .kelly-boards-timeline-item,
  .kelly-boards-timeline-item.is-left,
  .kelly-boards-timeline-item.is-right {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 20px;
    min-height: 0;
    margin-top: 0;
    padding: 0 0 24px;
  }

  .kelly-boards-timeline-center {
    grid-column: 1;
    min-height: 100%;
  }

  .kelly-boards-timeline-dot {
    left: 16px;
    transform: translateX(-50%);
    top: 7px;
  }

  .kelly-boards-timeline-item::before {
    left: 16px;
    transform: translateX(-50%);
    top: 7px;
  }

  .kelly-boards-timeline-side,
  .kelly-boards-timeline-item.is-left .kelly-boards-timeline-side.is-left,
  .kelly-boards-timeline-item.is-right .kelly-boards-timeline-side.is-right,
  .kelly-boards-timeline-item.is-left .spacer,
  .kelly-boards-timeline-item.is-right .spacer {
    grid-column: 2;
    padding: 0;
  }

  .kelly-boards-timeline-item .spacer {
    display: none;
  }

  .kelly-boards-timeline-card {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .kelly-boards-intro-band {
    padding: 40px 0 44px;
  }

  .kelly-boards-top-intro {
    font-size: 15px;
  }

  .kelly-boards-hero {
    padding: 20px 0 40px;
  }

  .kelly-boards-summary {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .kelly-boards-checklist li {
    grid-template-columns: 40px 1fr;
    gap: 14px;
    font-size: 14px;
  }

  .kelly-boards-check {
    width: 26px;
    height: 26px;
  }

  .kelly-boards-section-title {
    font-size: 28px;
  }

  .kelly-boards-accordion-trigger {
    padding: 14px 16px;
  }

  .kelly-boards-current-list li {
    padding: 12px 0;
  }

  .kelly-boards-history {
    padding-bottom: 64px;
  }
}

/* Dot alignment fix */
.kelly-boards-timeline-side, .kelly-boards-timeline-center { position: relative; z-index: 1; }


/* History dot alignment pass */
.kelly-boards-timeline-center .kelly-boards-timeline-dot { opacity: 0; pointer-events: none; }
.kelly-boards-timeline-item::before { will-change: transform; }
