.feature-band {
  background: #ffffff;
  padding: 40px 24px 90px;
}

.feature-band__card {
  max-width: 1600px;
  width: 94%;
  margin: 0 auto;
  background: #0A5A78;
  border-radius: 24px;
  padding: 56px 60px;
  display: flex;
  gap: 56px;
  align-items: center;
  color: #ffffff;
  box-sizing: border-box;
}

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

.feature-band__media {
  position: relative;
  flex: 0 0 54%;
}

.feature-band__media img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.feature-band__shape {
  position: absolute;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.30);
  pointer-events: none;
}

.feature-band__shape--1 {
  width: 90px;
  height: 90px;
  left: 60px;
  bottom: 35px;
}

.feature-band__shape--2 {
  width: 85px;
  height: 85px;
  left: -25px;
  bottom: -50px;
}

.feature-band__heading {
  font-family: 'Crimson Text', serif;
  font-weight: 400;
  font-size: 50px;
  margin: 0 0 14px;
}

.feature-band__body {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 1.7;
}

.feature-band__body ul {
  padding-left: 20px;
  margin: 16px 0;
}

.feature-band__body li {
  margin-bottom: 10px;
}

.feature-band__button {
  margin-top: 26px;
}

.feature-band--slab .feature-band__button a {
  background: #003346;
  color: #ffffff;
  border-color: #003346;
}

.feature-band--slab .feature-band__button a:hover {
  background: #00AEEF;
  color: #ffffff;
  border-color: #00AEEF;
}

.feature-band__button a {
  display: inline-block;
  background: #ffffff;
  color: #005E81;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #003346;
  border-radius: 20px;
  padding: 10px 24px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.feature-band__button a:hover {
  background: #003346;
  color: #ffffff;
  border-color: #003346;
}

/* Slab variant (Our Aim) */

.feature-band--slab .feature-band__wrap {
  position: relative;
  max-width: 1600px;
  width: 94%;
  margin: 0 auto;
}

.feature-band--slab .feature-band__card {
  width: 100%;
  position: relative;
  z-index: 1;
}

.feature-band__slab {
  position: absolute;
  inset: 90px -40px -40px 25%;
  background: linear-gradient(0deg, #F7931D 0%, #A04D0B 70%);
  border-radius: 24px;
  z-index: 0;
}

/* In-body sub-heading (WYSIWYG h3) */

.feature-band__body h3 {
  font-family: 'Crimson Text', serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.2;
  margin: 28px 0 10px;
}


/* ===== Plain variant (UTeams intro) — no coloured card, page background ===== */
.feature-band--plain {
  padding: 64px 20px;
  background: none;
}

.feature-band--plain .feature-band__card {
  background: none;
  padding: 0;
  border-radius: 0;
  max-width: 1560px;
  /* wider section, less gap to the screen edges */
  margin: 0 auto;
  gap: 72px;
  /* space between image and text */
}

/* Wider text column — image takes less of the row */
.feature-band--plain .feature-band__media {
  flex: 0 0 46%;
}

.feature-band--plain .feature-band__content {
  flex: 1 1 auto;
  max-width: 620px;
  /* narrower measure → text wraps over more lines */
}
/* Decorative offset shapes belong to the carded styles */
.feature-band--plain .feature-band__shape {
  display: none;
}

.feature-band--plain .feature-band__heading {
  color: #2E2E2E;
}

.feature-band--plain .feature-band__body {
  color: #444;
}

/* ===== Photo variant (employee page group photo) — teal band, image
   height-capped so it doesn't drive the card height, larger body copy. ===== */
.feature-band--photo .feature-band__media {
  flex: 0 0 42%;
}
.feature-band--photo .feature-band__media img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.feature-band--photo .feature-band__content {
  max-width: 620px;
}
.feature-band--photo .feature-band__body {
  font-size: 17px;
  line-height: 1.6;
}

/* ===== Orange reverse (employee page "Our Guiding Process") —
   orange band, image on the RIGHT, white copy. The offset shapes live
   inside __media so they follow the image across automatically. ===== */
.feature-band--orange_reverse {
  background: linear-gradient(0deg, #F7931D -34.46%, #A04D0B 51.2%, #A04D0B 100%); /* Figma */
  border-radius: 80px 20px 20px 20px;   /* larger top-left, rest as before */
  margin: 0 40px;
  padding: 56px 60px;
}

.feature-band--orange_reverse .feature-band__card {
  flex-direction: row-reverse;
  background: none;
  padding: 0;
  gap: 64px;
}

.feature-band--orange_reverse .feature-band__media {
  position: relative;          /* shapes anchor to the image, not the card */
  flex: 0 0 46%;
}
.feature-band--orange_reverse .feature-band__media img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.feature-band--orange_reverse .feature-band__heading,
.feature-band--orange_reverse .feature-band__body {
  color: #fff;
}
.feature-band--orange_reverse .feature-band__body {
  font-size: 14px;
  line-height: 1.6;
}

.feature-band--orange_reverse .feature-band__button a {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #005E81;
  border: 2px solid #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.feature-band--orange_reverse .feature-band__button a:hover {
  background: transparent;
  color: #fff;
}

@media (max-width: 767px) {
  .feature-band--orange_reverse {
      margin: 0 16px;
      padding: 56px 24px 36px;
      border-radius: 40px 12px 12px 12px;
    }
  .feature-band--orange_reverse .feature-band__card {
    flex-direction: column-reverse;
    gap: 28px;
  }
  .feature-band--orange_reverse .feature-band__media {
    flex: none;
    width: 86%;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .feature-band--photo .feature-band__media { flex: none; width: 100%; }
  .feature-band--photo .feature-band__media img { height: 260px; }
  .feature-band--photo .feature-band__content { max-width: none; }
  .feature-band--photo .feature-band__body { font-size: 15px; }
}

@media (max-width: 767px) {
  .feature-band--plain {
    padding: 40px 20px;
  }

  .feature-band--plain .feature-band__card {
    flex-direction: column;
    gap: 28px;
    max-width: none;
  }

  /* Square image, centred */
  .feature-band--plain .feature-band__media {
    flex: none;
    width: 300px;
    max-width: 100%;
    margin: 0 auto;
  }

  .feature-band--plain .feature-band__media img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
  }

  /* Narrower measure so the copy wraps over more lines */
  .feature-band--plain .feature-band__content {
    flex: none;
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

  .feature-band--plain .feature-band__heading {
    font-size: 34px;
    line-height: 1.15;
  }
}

@media (max-width: 900px) {
  .feature-band {
      padding: 20px 0 60px 14px;
    }

  .feature-band__card {
    flex-direction: column;
    width: 100%;
    border-radius: 16px;
    padding: 28px 20px 40px;
    gap: 32px;
  }

    .feature-band__slab {
      inset: auto 0 -14px 15%;
      height: 60%;
      border-radius: 16px;
    }

  .feature-band__media {
    flex: none;
    width: 100%;
  }

  .feature-band__media img {
    height: 260px;
  }

  .feature-band__heading {
    font-size: 32px;
  }

    .feature-band__shape--1 {
      width: 54px;
      height: 54px;
      left: 36px;
      bottom: 21px;
    }

    .feature-band__shape--2 {
      width: 50px;
      height: 50px;
      left: -15px;
      bottom: -30px;
    }
}
