/* Corporate Governance — Figma match */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --cg-navy: #000080;
  --cg-navy-deep: #012652;
  --cg-orange: #c9892e;
  --cg-orange-btn: #d48806;
  --cg-text: #1a1a1a;
  --cg-muted: #4a5568;
  --cg-border: #d0d7e2;
  --cg-row: #f3f5f8;
  --cg-sans: 'Inter', 'Open Sans', Arial, sans-serif;
}

.page-cg-redesign {
  font-family: var(--cg-sans);
  color: var(--cg-text);
  background: #ffffff;
}

.page-cg-redesign .site-footer-nav .container {
  width: 98% !important;
  max-width: 98% !important;
}

.cg-page {
  width: 98%;
  max-width: 98%;
  margin: 0 auto;
  padding: 24px 0 48px;
}

/* Hero */
.cg-hero {
  text-align: center;
  margin: 8px 0 36px;
  padding: 0 16px;
}

.cg-hero h1 {
  margin: 0 0 12px;
  font-family: var(--cg-sans);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.2;
  color: #000;
}

.cg-hero p {
  margin: 0 auto;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--cg-muted);
}

/* Jump cards */
.cg-jump {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 56px;
}

.cg-jump-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 20px 20px;
  background: #fff;
  border: 1px solid var(--cg-border);
  border-radius: 8px;
  text-decoration: none !important;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cg-jump-card:hover {
  border-color: var(--cg-navy);
  box-shadow: 0 6px 18px rgba(0, 0, 128, 0.08);
}

.cg-jump-icon {
  width: 48px;
  height: 48px;
  color: var(--cg-navy);
}

.cg-jump-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cg-jump-card h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
}

.cg-jump-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--cg-navy);
}

.cg-jump-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.25s ease;
}

.cg-jump-card::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--cg-orange-btn);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.cg-jump-card:hover {
  transform: translateY(-3px);
}

.cg-jump-card:hover .cg-jump-link {
  text-decoration: underline;
}

.cg-jump-card.is-active {
  background: linear-gradient(135deg, var(--cg-navy) 0%, var(--cg-navy-deep) 100%);
  border-color: var(--cg-navy);
  box-shadow: 0 12px 28px rgba(0, 0, 128, 0.22);
}

.cg-jump-card.is-active::after {
  transform: scaleX(1);
}

.cg-jump-card.is-active h2,
.cg-jump-card.is-active .cg-jump-icon {
  color: #fff;
}

.cg-jump-card.is-active .cg-jump-link {
  color: #f5c46b;
  text-decoration: none;
}

.cg-jump {
  margin-bottom: 40px;
}

/* Tab panels */
.cg-panel {
  animation: cgFadeUp 0.35s ease;
}

.cg-panel[hidden] {
  display: none !important;
}

@keyframes cgFadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* Sections */
.cg-section {
  margin-bottom: 64px;
  scroll-margin-top: 100px;
}

.cg-section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.cg-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 48px;
  padding: 0 12px;
  background: var(--cg-navy);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  border-radius: 4px;
}

.cg-section-head h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: #111;
  line-height: 1.25;
}

.cg-intro {
  margin: 0 0 28px;
  max-width: 920px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--cg-muted);
}

/* Directors */
.cg-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0 0 36px;
}

.cg-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #f7f9fc 0%, #eef2fa 100%);
  border: 1px solid var(--cg-border);
  border-left: 4px solid var(--cg-orange-btn);
  border-radius: 10px;
}

.cg-stat-num {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  color: var(--cg-navy);
}

.cg-stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--cg-muted);
}

.cg-group-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
  color: var(--cg-navy-deep);
}

.cg-group-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--cg-orange-btn), rgba(212, 136, 6, 0));
}

.cg-people {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

.cg-person {
  position: relative;
  padding: 22px 24px 20px;
  background: #fff;
  border: 1px solid var(--cg-border);
  border-top: 4px solid var(--cg-navy);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(1, 38, 82, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cg-person:hover {
  transform: translateY(-4px);
  border-top-color: var(--cg-orange-btn);
  box-shadow: 0 14px 30px rgba(1, 38, 82, 0.14);
}

.cg-person-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.cg-avatar {
  flex: 0 0 auto;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cg-navy) 0%, var(--cg-navy-deep) 100%);
  color: #f5c46b;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(212, 136, 6, 0.55);
}

.cg-person-name {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #111;
}

.cg-role {
  display: inline-block;
  padding: 3px 12px;
  background: rgba(212, 136, 6, 0.12);
  color: #a86a03;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 999px;
}

.cg-person ul {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
}

.cg-person li,
.cg-person-bio {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}

.cg-person li::marker {
  color: var(--cg-orange-btn);
}

.cg-person-bio {
  margin: 0;
}

.cg-person-qual {
  margin: 0 0 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cg-navy);
}

.cg-people--kmp .cg-person-head {
  margin-bottom: 0;
}

/* Board of Directors page (inside legacy .inner-page shell) */
.bod-page {
  font-family: var(--cg-sans);
}

.bod-page .cg-group-title {
  padding-bottom: 0;
  border-bottom: none;
  line-height: 1.3;
  color: var(--cg-navy-deep);
}

.bod-page .cg-person-name {
  margin: 0 0 6px;
  line-height: 1.3;
  color: #111;
}

.bod-page .cg-person ul {
  padding-left: 18px;
}

.bod-page .cg-person ul li {
  padding: 0;
  list-style: disc;
  color: #333;
  text-align: left;
}

.bod-page p,
.bod-page li {
  text-align: left;
}

.bod-page .cg-person-bio {
  color: #333;
}

/* Committees */
.cg-committee {
  margin-bottom: 28px;
  padding-bottom: 8px;
}

.cg-committee h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--cg-orange);
}

.cg-committee p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.65;
  color: #222;
  max-width: 960px;
}

.cg-committee ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.cg-committee li {
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1.55;
  color: #222;
}

/* Policies */
.cg-policies {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cg-policy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 12px 16px 12px 20px;
  background: var(--cg-row);
  border-radius: 4px;
}

.cg-policy-title {
  margin: 0;
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #222;
}

.cg-policy-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--cg-orange-btn);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}

.cg-policy-btn:hover {
  background: #b87305;
  color: #fff !important;
}

.cg-policy-btn i {
  font-size: 14px;
}

@media (max-width: 900px) {
  .cg-jump {
    grid-template-columns: 1fr;
  }

  .cg-people,
  .cg-stats {
    grid-template-columns: 1fr;
  }

  .cg-avatar {
    width: 52px;
    height: 52px;
    font-size: 17px;
  }
}

@media (max-width: 600px) {
  .cg-policy {
    flex-direction: column;
    align-items: flex-start;
  }

  .cg-section-head {
    align-items: flex-start;
  }
}
