/* ===== Section container: white rounded card on light bg ===== */

.ce-engagement {
  background: #EAF2F5;
  padding: 40px 24px 90px;
}

.ce-engagement,
.ce-engagement * {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.ce-engagement__card {
  max-width: 1600px;
  width: 94%;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 24px;
  padding: 70px 64px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* ===== Header ===== */

.ce-engagement__header {
  max-width: 900px;
  margin: 0 auto 56px;
  text-align: center;
}

.ce-engagement__heading {
  font-family: 'Crimson Text', serif;
  font-weight: 400;
  font-size: 55px;
  line-height: 1.15;
  color: #1a1a1a;
  margin: 0 0 20px;
}

.ce-engagement__intro {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin: 0;
}

/* ===== 3 colored cards ===== */

.ce-engagement__cards {
  display: flex;
  gap: 24px;
  margin-bottom: 64px;
}

.ce-card {
  flex: 1;
  border-radius: 14px;
  padding: 28px 26px 34px;
  color: #ffffff;
}

.ce-card--1 {
  background: linear-gradient(0deg, #F7931D 0%, #A04D0B 30%, #A04D0B 100%);
}

.ce-card--2 {
  background: #00AEEF;
}

.ce-card--3 {
  background: #003346;
}

.ce-card__icon {
  width: 30px;
  height: 30px;
  margin-bottom: 24px;
}

.ce-card__icon svg,
.ce-card__icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.ce-card__title {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 25px;
  margin: 0 0 14px;
}

.ce-card__body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* ===== Accordion: shared at both levels ===== */

.ce-acc__item {
  border-top: 1px solid #D8D8D8;
}

.ce-acc--outer>.ce-acc__item:last-child {
  border-bottom: 1px solid #D8D8D8;
}

.ce-acc__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #1a1a1a;
  padding: 26px 8px;
}

.ce-acc__chevron {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-right: 2px solid #1a1a1a;
  border-bottom: 2px solid #1a1a1a;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-left: 16px;
}

.ce-acc__item.is-open>.ce-acc__trigger .ce-acc__chevron {
  transform: rotate(225deg);
}

.ce-acc__panel-inner {
  padding: 8px 8px 40px;
}

/* Inner level: indented, lighter triggers */

.ce-acc__item--inner .ce-acc__trigger {
  font-size: 16px;
  padding: 20px 8px;
}

.ce-acc__item--inner .ce-acc__panel-inner {
  padding: 4px 8px 28px;
}

.ce-acc__panel-inner--split {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.ce-engagement__intl-split {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.ce-engagement__intl-list {
  flex: 1 1 58%;
}

.ce-engagement__intl-image {
  flex: 0 0 38%;
}

.ce-engagement__intl-image img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.ce-acc__panel-entries {
  flex: 1 1 60%;
}

.ce-acc__panel-image {
  flex: 0 0 36%;
  position: sticky;
  top: 24px;
}

.ce-acc__panel-image img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.community-entry__btn {
  display: inline-block;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 18px;
  padding: 8px 20px;
  transition: background 0.2s ease, color 0.2s ease;
}

.community-entry__btn--solid {
  background: #005E81;
  color: #ffffff;
  border: 1px solid #005E81;
}

.community-entry__btn--solid:hover {
  background: #00AEEF;
  color: #ffffff;
  border-color: #00AEEF;
}

.community-entry__btn--outline {
  background: #ffffff;
  color: #005E81;
  border: 1px solid #005E81;
}

.community-entry__btn--outline:hover {
  background: #005E81;
  color: #ffffff;
}
/* ===== Panel content typography ===== */

.ce-engagement__panel-heading {
  font-family: 'Crimson Text', serif;
  font-weight: 400;
  font-size: 55px;
  color: #1a1a1a;
  margin: 0 0 12px;
}

.ce-engagement__panel-intro {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin: 0 0 28px;
  max-width: 720px;
}

.ce-engagement__panel-body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #000000;
  max-width: 780px;
  margin-bottom: 28px;
}

.ce-engagement__tribal-image {
  margin: 8px 0 28px;
}

.ce-engagement__tribal-image img {
  width: 100%;
  max-height: 680px;
  object-fit: contain;
  border-radius: 12px;
  display: block;
}

.ce-engagement__program-heading {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 25px;
  color: #2E2E2E;
  margin: 0 0 14px;
}
/* ===== Community entries ===== */

.community-entry {
  margin-bottom: 32px;
}

.community-entry__name {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: #1a1a1a;
  margin: 0 0 4px;
}

.community-entry__subtitle {
  font-family: 'Roboto', sans-serif;
  font-style: italic;
  font-size: 13px;
  color: #555;
  margin-bottom: 6px;
}

.community-entry__body {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 12px;
}

.community-entry__body p {
  margin: 0 0 8px;
}

.community-entry__links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===== Mobile ===== */

@media (max-width: 900px) {
  .ce-engagement {
    padding: 20px 10px 60px;
  }

  .ce-acc__panel-inner--split,
  .ce-engagement__intl-split {
    flex-direction: column;
  }

    .ce-acc__panel-image,
    .ce-engagement__intl-image {
      flex: none;
      width: 100%;
      order: -1;
      position: static;
      margin-bottom: 24px;
    }

    .ce-acc__panel-image img,
    .ce-engagement__intl-image img,
    .ce-engagement__tribal-image img {
      max-height: none;
      height: auto;
      object-fit: unset;
    }


    .ce-acc__panel-entries,
    .ce-engagement__intl-list {
      flex: none;
      width: 100%;
    }

  .ce-engagement__card {
    width: 100%;
    border-radius: 16px;
    padding: 40px 20px;
  }

  .ce-engagement__heading {
    font-size: 30px;
  }

  .ce-engagement__cards {
    flex-direction: column;
    gap: 16px;
  }

  .ce-engagement__panel-heading {
    font-size: 26px;
  }

  .ce-acc__trigger {
    font-size: 16px;
    padding: 20px 4px;
  }
}
