/* ==========================================================================
   Committee — Homepage preview & full TICC page
   ========================================================================== */

/* --- Homepage preview --- */
.committee-preview-section {
  padding: 5rem 0;
  background: linear-gradient(165deg, var(--green-darkest) 0%, var(--green-dark) 42%, var(--green-primary) 100%);
  position: relative;
  overflow-x: clip;
  color: var(--white);
}

.committee-preview-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -60px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 204, 0, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.committee-preview-section::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(0, 167, 81, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.committee-preview-section .section-eyebrow {
  color: var(--yellow-primary);
}

.committee-preview-header {
  max-width: 720px;
  margin-bottom: 2.75rem;
}

.committee-preview-title {
  font-family: var(--font-hero);
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.85rem;
  line-height: 1.15;
}

.committee-preview-lead {
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
}

.committee-preview-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-darkest);
  background: var(--yellow-primary);
  border-radius: 50px;
  padding: 0.4rem 0.85rem;
  margin-bottom: 1rem;
}

.committee-leader-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.25rem 1.25rem;
  height: 100%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.committee-leader-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 204, 0, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.committee-leader-card--featured {
  background: linear-gradient(145deg, rgba(255, 204, 0, 0.16) 0%, rgba(255, 255, 255, 0.08) 100%);
  border-color: rgba(255, 204, 0, 0.35);
}

.committee-leader-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--yellow-primary), var(--yellow-gold));
  color: var(--green-darkest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.committee-leader-role {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow-primary);
  margin-bottom: 0.35rem;
}

.committee-leader-name {
  font-family: var(--font-heading);
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 0;
}

.committee-structure-panel {
  margin-top: 2.5rem;
  padding: 1.75rem 1.5rem;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
}

.committee-structure-panel h3 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yellow-primary);
  margin-bottom: 1.15rem;
}

.committee-structure-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.committee-structure-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50px;
  padding: 0.5rem 0.85rem;
}

.committee-structure-chip i {
  color: var(--yellow-primary);
  font-size: 0.85rem;
}

.committee-preview-note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 1rem;
  margin-bottom: 0;
}

.committee-preview-cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* --- Full committee page --- */
.committee-page-hero {
  background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-dark) 55%, var(--green-darkest) 100%);
  padding: 3rem 0 3.5rem;
  position: relative;
  overflow-x: clip;
}

.committee-page-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 48px;
  background: linear-gradient(to top, var(--off-white), transparent);
  pointer-events: none;
}

.committee-hero-title {
  font-family: var(--font-hero);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.65rem;
}

.committee-hero-lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 680px;
  line-height: 1.65;
  margin-bottom: 0;
}

.committee-body {
  padding: 3rem 0 4.5rem;
  background: var(--off-white);
}

.committee-intro-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 64, 38, 0.06);
}

.committee-intro-block p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--gray-700);
  margin-bottom: 0;
}

.committee-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.committee-section-heading h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--green-primary);
  margin-bottom: 0;
}

.committee-section-heading span {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.committee-leadership-grid .committee-leader-card {
  background: var(--white);
  border-color: rgba(0, 64, 38, 0.08);
  box-shadow: var(--shadow-sm);
  color: var(--gray-900);
}

.committee-leadership-grid .committee-leader-card:hover {
  box-shadow: var(--shadow-md);
}

.committee-leadership-grid .committee-leader-card--featured {
  background: linear-gradient(160deg, #fffbea 0%, var(--white) 100%);
  border-color: rgba(255, 204, 0, 0.45);
}

.committee-leadership-grid .committee-leader-name {
  color: var(--green-primary);
}

.committee-leadership-grid .committee-leader-card--chairman {
  grid-column: 1 / -1;
  max-width: 420px;
  margin: 0 auto 0.5rem;
  text-align: center;
  padding: 1.75rem 1.5rem;
}

.committee-leadership-grid .committee-leader-card--chairman .committee-leader-icon {
  margin-left: auto;
  margin-right: auto;
}

.committee-leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .committee-leadership-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.committee-organ-category {
  margin-bottom: 2.25rem;
}

.committee-organ-category h3 {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(255, 204, 0, 0.45);
}

.committee-organ-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.2rem;
  height: 100%;
  border: 1px solid rgba(0, 64, 38, 0.08);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.committee-organ-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 204, 0, 0.35);
}

.committee-organ-card i {
  font-size: 1.2rem;
  color: var(--green-light);
  margin-bottom: 0.65rem;
  display: block;
}

.committee-organ-card h4 {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-primary);
  line-height: 1.4;
  margin-bottom: 0;
}

.committee-framework-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 64, 38, 0.06);
}

/* --- Full page: layout blocks, tables, organogram --- */
.committee-sticky-nav {
  position: sticky;
  top: calc(var(--nav-height) + 8px);
  z-index: 100;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 64, 38, 0.08);
  margin-bottom: 2rem;
}

.committee-nav-scroll {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.committee-nav-link {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray-500);
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.committee-nav-link:hover,
.committee-nav-link.active {
  background: var(--green-primary);
  color: var(--white);
}

.committee-content-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 64, 38, 0.06);
  scroll-margin-top: 120px;
}

.committee-content-block p {
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--gray-700);
  margin-bottom: 0;
}

.committee-block-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 2px solid var(--gray-100);
}

.committee-section-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--yellow-primary), var(--yellow-gold));
  color: var(--green-darkest);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.committee-block-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  color: var(--green-primary);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.committee-block-sub {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-bottom: 0;
}

.committee-block-lead {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 1.25rem;
}

.committee-tor-list {
  padding-left: 1.25rem;
  margin-bottom: 0;
}

.committee-tor-list li {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--gray-700);
  margin-bottom: 0.85rem;
  padding-left: 0.35rem;
}

.committee-tor-list li:last-child {
  margin-bottom: 0;
}

.committee-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 64, 38, 0.08);
  max-width: 100%;
}

.committee-data-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.committee-data-table--wide {
  min-width: 680px;
}

.committee-data-table thead {
  background: linear-gradient(90deg, var(--green-nav), var(--green-primary));
}

.committee-data-table th {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0.85rem 1rem;
  text-align: left;
  white-space: nowrap;
}

.committee-data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
  vertical-align: top;
  line-height: 1.45;
}

.committee-data-table tbody tr:nth-child(even) {
  background: rgba(0, 107, 63, 0.03);
}

.committee-data-table tbody tr:hover {
  background: rgba(255, 204, 0, 0.08);
}

.committee-data-table td:first-child {
  font-weight: 700;
  color: var(--green-primary);
  width: 3rem;
}

.committee-role-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 50px;
  background: rgba(0, 64, 38, 0.08);
  color: var(--green-primary);
}

.committee-role-tag--chair {
  background: rgba(255, 204, 0, 0.35);
  color: var(--green-darkest);
}

.committee-role-tag--dg,
.committee-role-tag--ddg {
  background: rgba(0, 107, 63, 0.12);
  color: var(--green-dark);
}

.committee-role-tag--spox,
.committee-role-tag--sec {
  background: rgba(255, 204, 0, 0.2);
}

.committee-role-tag--adv {
  background: rgba(0, 135, 81, 0.12);
}

.committee-officers {
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.45;
}

.committee-members-note {
  margin-top: 1.25rem;
  padding: 1.15rem 1.25rem;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--yellow-primary);
}

.committee-members-note h4 {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 0.65rem;
}

.committee-members-note ul {
  margin-bottom: 0;
  padding-left: 1.15rem;
}

.committee-members-note li {
  font-size: 0.85rem;
  color: var(--gray-700);
  margin-bottom: 0.35rem;
}

/* Organogram */
.committee-content-block--organogram {
  overflow-x: clip;
}

.committee-organogram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding-top: 0.5rem;
}

.org-node {
  background: var(--white);
  border: 2px solid rgba(0, 64, 38, 0.12);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  max-width: 100%;
  box-shadow: var(--shadow-sm);
}

.org-node--apex {
  background: linear-gradient(160deg, #fffbea 0%, var(--white) 100%);
  border-color: rgba(255, 204, 0, 0.55);
  text-align: center;
  width: min(100%, 520px);
}

.org-node--apex h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--green-primary);
  margin-bottom: 0.65rem;
}

.org-node--secondary h4 {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-primary);
  margin-bottom: 0.45rem;
  line-height: 1.35;
}

.org-node-meta {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green-light);
  margin-bottom: 0.55rem;
}

.org-node-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.org-node-list li {
  font-size: 0.78rem;
  color: var(--gray-700);
  line-height: 1.45;
  padding: 0.2rem 0;
  position: relative;
  padding-left: 0.85rem;
}

.org-node-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--yellow-primary);
}

.org-node-list--compact li {
  font-size: 0.72rem;
}

.org-connector {
  background: var(--green-light);
}

.org-connector--split {
  width: 3px;
  height: 28px;
}

.org-connector--down {
  width: 3px;
  height: 24px;
  margin: 0 auto;
}

.org-branches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
  align-items: start;
  position: relative;
  padding-top: 0.5rem;
}

.org-branches::before {
  content: "";
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 3px;
  background: var(--green-light);
}

.org-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.org-arrow-label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-light);
  background: var(--off-white);
  padding: 0.3rem 0.65rem;
  border-radius: 50px;
  border: 1px solid rgba(0, 107, 63, 0.15);
}

.org-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-light) !important;
  margin-top: 0.65rem;
}

.org-link:hover {
  color: var(--green-primary) !important;
}

/* Homepage preview stats */
.committee-preview-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.committee-stat-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  text-align: center;
}

.committee-stat-pill strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--yellow-primary);
  line-height: 1.1;
}

.committee-stat-pill span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.committee-objective-snippet {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 3px solid var(--yellow-primary);
}

@media (min-width: 768px) {
  .committee-preview-stats {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 991.98px) {
  .committee-preview-section {
    padding: 3.5rem 0;
  }

  .committee-leadership-grid {
    grid-template-columns: 1fr;
  }

  .committee-leadership-grid .committee-leader-card--chairman {
    max-width: none;
  }

  .committee-intro-block,
  .committee-framework-block,
  .committee-content-block {
    padding: 1.5rem 1.25rem;
  }

  .committee-sticky-nav {
    position: relative;
    top: 0;
  }

  .committee-nav-scroll {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .committee-nav-scroll::-webkit-scrollbar {
    display: none;
  }

  .committee-nav-link {
    white-space: nowrap;
  }

  .org-branches {
    grid-template-columns: 1fr;
  }

  .org-branches::before {
    display: none;
  }

  .committee-data-table {
    min-width: 0;
  }

  .committee-data-table thead {
    display: none;
  }

  .committee-data-table tr {
    display: block;
    margin-bottom: 0.85rem;
    border: 1px solid rgba(0, 64, 38, 0.08);
    border-radius: var(--radius-sm);
    overflow: hidden;
  }

  .committee-data-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--gray-100);
    padding: 0.55rem 0.85rem;
  }

  .committee-data-table td:last-child {
    border-bottom: none;
  }

  .committee-data-table td::before {
    content: attr(data-label);
    font-family: var(--font-heading);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--green-light);
    flex-shrink: 0;
  }

  .committee-data-table td:first-child {
    width: auto;
    background: rgba(0, 107, 63, 0.06);
  }
}

@media (max-width: 575.98px) {
  .committee-leader-card:hover,
  .committee-organ-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .committee-leader-card,
  .committee-organ-card {
    transition: none;
  }
}
