:root {
  --green: #298674;
  --soft-grey: #f8fafb;
  --border-grey: #e2e4e6;
  --card-shadow: 0 2.5px 18px 0 rgba(41,134,116,0.10), 0 1.5px 4px 0 rgba(80,90,100,0.03);
  --card-shadow-hover: 0 7px 30px 0 rgba(41,134,116,0.16), 0 2px 8px 0 rgba(80,90,100,0.07);
  --text-main: #27312b;
  --text-muted: #8da195;
  --white: #fff;
  /* Soft radial highlight for a modern feel, no pattern! */
  --texture: radial-gradient(ellipse 75% 75% at 60% 0%, #f5f9f8 80%, #f8fafb 100%);
}

body {
  margin: 0;
  background: var(--texture); /* Now a very light, subtle radial */
  color: var(--text-main);
  font-family: 'Inter', 'Plus Jakarta Sans', system-ui, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


.ccf-mobile-container {
  width: 100vw;
  max-width: 100%;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
  overflow-x: hidden;
}

.ccf-partners-all {
  min-height: 100vh;
  padding: 22px 0 30px 0;
  background: var(--texture);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.ccf-section-card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  border: 1.5px solid var(--border-grey);
  margin: 0 auto 28px auto;
  width: 100%;
  max-width: 1100px;
  padding: 18px 16px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.ccf-partners-header {
  width: 100%;
  max-width: 650px;
  margin: 0 auto 20px auto;
  text-align: center;
  padding: 0 16px;
  box-sizing: border-box;
}
.ccf-partners-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
  text-align: center;
}
.ccf-partners-header p {
  font-size: 1.11rem;
  line-height: 1.54;
  color: var(--text-muted);
  margin: 0 auto;
  max-width: 97vw;
  text-align: center;
  box-sizing: border-box;
}

.ccf-partners-block > h3,
.ccf-board-block > h3,
.ccf-exec-block > h3,
.ccf-advisors-block > h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 48px auto 26px auto;
  padding: 14px 36px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(41,134,116,0.10);
  border: 1.5px solid var(--border-grey);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.01em;
  text-align: center;
  min-width: 220px;
  min-height: 44px;
  max-width: 92vw;
  width: fit-content;
  transition: box-shadow 0.13s, border-color 0.13s;
  user-select: none;
  cursor: default;
}
.ccf-partners-block > h3:hover,
.ccf-board-block > h3:hover,
.ccf-exec-block > h3:hover,
.ccf-advisors-block > h3:hover {
  box-shadow: var(--card-shadow-hover);
  border-color: var(--green);
}

/* Grid containers */
.ccf-board-list,
.ccf-partners-logos,
.ccf-exec-list,
.ccf-advisors-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  width: 100%;
  max-width: 1050px;
  margin: 0 auto 22px auto;
  box-sizing: border-box;
  justify-items: center;
  align-items: stretch;
  padding: 0 16px;
}

/* Board grid with 2 rows and 5 columns */
.ccf-board-list {
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 1fr;
  max-width: 700px;
  justify-items: center;
}

/* Uniform card style */
.ccf-board-card,
.ccf-exec-card,
.ccf-advisor-card,
.ccf-partners-logos figure {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  padding: 16px 8px 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 140px;
  max-width: 140px;
  width: 100%;
  border: 1.5px solid var(--border-grey);
  transition: box-shadow 0.13s, border-color 0.13s, transform 0.13s;
  text-align: center;
  justify-content: flex-start;
  box-sizing: border-box;
  margin: 0 auto;
  position: relative;
  cursor: pointer;
}

/* Hover & active */
.ccf-board-card:hover,
.ccf-exec-card:hover,
.ccf-advisor-card:hover,
.ccf-partners-logos figure:hover,
.ccf-card-active {
  box-shadow: var(--card-shadow-hover);
  border-color: var(--green);
  transform: translateY(-1.5px) scale(1.012);
  z-index: 10;
}

/* Images */
.ccf-board-card img,
.ccf-exec-card img,
.ccf-advisor-card img,
.ccf-partners-logos img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  border: 1.1px solid var(--border-grey);
  margin-bottom: 8px;
  transition: border-color 0.13s;
  box-shadow: 0 2.5px 10px #d3eae5;
  display: block;
}

/* Hover image */
.ccf-board-card:hover img,
.ccf-exec-card:hover img,
.ccf-advisor-card:hover img,
.ccf-partners-logos figure:hover img,
.ccf-card-active img {
  border-color: var(--green);
}

/* Text names/titles */
.ccf-board-name,
.ccf-exec-name,
.ccf-advisor-name,
.ccf-partners-logos figcaption {
  font-size: 1rem;
  color: var(--green);
  text-align: center;
  line-height: 1.15;
  font-weight: 500;
  margin-bottom: 4px;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.5em;
  max-height: 2.5em;
  white-space: normal;
}

/* Roles */
.ccf-board-role,
.ccf-exec-role,
.ccf-advisor-role {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 0;
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2em;
  max-height: 2em;
  white-space: normal;
}

/* Popup panel */
.ccf-popup-panel {
  position: fixed;
  background: var(--white);
  box-shadow: var(--card-shadow-hover);
  border-radius: 16px;
  border: 1.5px solid var(--border-grey);
  padding: 20px;
  max-width: 90vw;
  max-height: 60vh;
  overflow-y: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  display: none;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  text-align: center;
}

/* Popup header */
.ccf-popup-panel h4 {
  margin-top: 0;
  margin-bottom: 12px;
  color: var(--green);
  font-weight: 700;
  font-size: 1.3rem;
}

/* Popup close button */
.ccf-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--green);
  border: none;
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 700px) {
  .ccf-board-list,
  .ccf-partners-logos,
  .ccf-exec-list,
  .ccf-advisors-list {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 100vw;
    gap: 15px;
    padding: 0 12px;
  }
  .ccf-board-card,
  .ccf-partners-logos figure,
  .ccf-exec-card,
  .ccf-advisor-card {
    min-height: 140px;
    max-width: 100vw;
    padding: 16px 12px 12px 12px;
  }
  .ccf-board-card img,
  .ccf-partners-logos img,
  .ccf-exec-card img,
  .ccf-advisor-card img {
    width: 60px;
    height: 60px;
  }
  .ccf-board-name,
  .ccf-partners-logos figcaption,
  .ccf-exec-name,
  .ccf-advisor-name {
    font-size: 1.1rem;
    min-height: 2.7em;
    max-height: 2.7em;
  }
  .ccf-board-role,
  .ccf-exec-role,
  .ccf-advisor-role {
    font-size: 1rem;
    min-height: 2.2em;
    max-height: 2.2em;
  }
  .ccf-partners-block > h3,
  .ccf-board-block > h3,
  .ccf-exec-block > h3,
  .ccf-advisors-block > h3 {
    font-size: 1.15rem;
    padding: 12px 20px;
    margin: 38px auto 18px auto;
    min-width: 140px;
    max-width: 95vw;
  }
}

#bod {
  scroll-margin-top: 80px; /* Adjust to your header height */
}