/* Audit / Stakeholders Relationship / Nomination & Remuneration Committees
   Figma nodes 1180:3472, 1180:3497, 1180:3557 - shared .committee card pattern */

.committee {
  padding: 64px 80px;
}

.committee--light {
  background: var(--grey-pure-white);
}

.committee--dark {
  background: linear-gradient(0deg, #001e34 0%, var(--primary-blue) 100%);
}

.committee__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.committee--dark .committee__intro {
  gap: 24px;
}

.committee__title {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--grey-pure-black);
}

.committee--dark .committee__title {
  color: var(--grey-pure-white);
}

.committee__subtitle {
  font-size: 16px;
  line-height: 1.5;
  color: var(--grey-dark-grey);
}

.committee--dark .committee__subtitle {
  color: var(--grey-lightest-grey);
}

.committee__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 48px;
}

.committee--dark .committee__grid {
  gap: 25px;
}

.committee__card {
  flex: 1 1 calc(33.333% - 16px);
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-radius: 24px;
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.committee--light .committee__card {
  background: #f9f9f9;
  border: 1px solid var(--grey-lightest-grey);
}

.committee--light .committee__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.committee--dark .committee__card:hover {
  transform: translateY(-4px);
  filter: brightness(1.1);
}

.committee--dark .committee__card {
  background: rgba(255, 255, 255, 0.08);
}

.committee__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: #ebf2f7;
}

.committee__icon-wrap .committee__icon {
  width: 24px;
  height: 24px;
}

.committee__icon--plain {
  width: 48px;
  height: 48px;
}

.committee__card-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.committee--dark .committee__card-text {
  gap: 15px;
}

.committee__card-text h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--grey-dark-charcoal);
}

.committee--dark .committee__card-text h3 {
  color: var(--grey-pure-white);
}

.committee__card-text span {
  font-size: 16px;
  text-transform: uppercase;
  color: var(--grey-medium-dark-grey);
}

.committee--dark .committee__card-text span {
  color: var(--grey-light-grey);
}

.committee__terms {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.committee__terms h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--grey-off-black);
}

.committee--dark .committee__terms h3 {
  color: var(--grey-pure-white);
}

.committee__terms p,
.committee__terms ol {
  font-size: 16px;
  line-height: 1.5;
  color: var(--grey-medium-dark-grey);
}

.committee--dark .committee__terms p {
  color: var(--grey-lightest-grey);
}

.committee__terms ol {
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.committee__read-more {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--grey-dark-charcoal);
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.committee--dark .committee__read-more {
  color: var(--grey-pure-white);
}

.committee__read-more:hover {
  color: var(--primary-blue);
}

.committee--dark .committee__read-more:hover {
  color: var(--grey-lightest-grey);
}

.committee__read-more:active {
  opacity: 0.7;
}

@media (max-width: 1023px) {
  .committee__card {
    flex: 1 1 calc(50% - 12px);
  }
}

@media (max-width: 639px) {
  .committee {
    padding: 48px 24px;
  }

  .committee__title {
    font-size: 30px;
  }

  .committee__card {
    flex: 1 1 100%;
  }
}
