/* ==========================================================================
   About us — from the "CrickHunt About Us Clean" design canvas.

   It sits under the contact page and is scoped to .ch-ab, so the header, the
   footer, the contact section above it and every other page are untouched.
   ========================================================================== */

.ch-ab {
  --ch-ab-ink: #0b1428;
  --ch-ab-body: #526077;
  --ch-ab-muted: #64748b;
  --ch-ab-line: #e8edf4;
  --ch-ab-blue: #2557a7;
  --ch-ab-tint: #eef3fb;
  font-family: "Nunito Sans", sans-serif;
  background: #fff;
  color: #1e293b;
}

.ch-ab *,
.ch-ab *::before,
.ch-ab *::after {
  box-sizing: border-box;
}

/* the theme justifies text inside topic and page bodies, which tears the copy
   and the headings apart here */
.ch-ab,
.ch-ab p,
.ch-ab h1,
.ch-ab h2,
.ch-ab h3 {
  text-align: left;
}

.ch-ab .ch-ab-h2 {
  text-align: center;
}

.ch-ab > section,
.ch-ab section {
  padding: 0;
  margin: 0;
}

.ch-ab-wrap {
  max-width: 1160px;
  margin: 0 auto;
}

/* ---- the opening band -------------------------------------------------- */
.ch-ab-hero .ch-ab-wrap {
  padding-top: clamp(28px, 3.4vw, 48px);
  padding-bottom: clamp(30px, 4vw, 52px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.ch-ab-hero-text {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ch-ab-pill {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--ch-ab-tint);
  color: var(--ch-ab-blue);
  font-size: 13px;
  font-weight: 700;
}

.ch-ab-h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.035em;
  color: var(--ch-ab-ink);
}

.ch-ab-lede {
  margin: 0;
  max-width: 520px;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.8;
  color: var(--ch-ab-body);
}

.ch-ab strong {
  font-weight: 700;
  color: var(--ch-ab-ink);
}

.ch-ab-shot {
  flex: 1 1 440px;
  min-width: 0;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  background: #eef2f7;
}

.ch-ab-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ch-ab .ch-ab-block {
  padding: clamp(30px, 4vw, 56px) 0;
  border-bottom: 1px solid var(--ch-ab-line);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ch-ab-h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: var(--ch-ab-ink);
}

.ch-ab-text {
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
  color: var(--ch-ab-body);
}

/* what we offer */
.ch-ab-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
  margin-top: 4px;
}

.ch-ab-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--ch-ab-line);
  border-radius: 16px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}

.ch-ab-card:hover {
  border-color: #c9d7ee;
  box-shadow: 0 12px 28px -20px rgba(37, 87, 167, .45);
}

.ch-ab-card-ico {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--ch-ab-tint);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ch-ab-card-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.ch-ab-card h3 {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--ch-ab-ink);
}

.ch-ab-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ch-ab-muted);
}

.ch-ab-badge {
  padding: 3px 8px;
  border-radius: 99px;
  background: #fef3c7;
  color: #92400e;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .06em;
}

/* our mission */
.ch-ab-mission {
  margin: 0;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 18px;
  background: #f5f8fd;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--ch-ab-ink);
}

.ch-ab-mission span {
  color: var(--ch-ab-blue);
}

/* ---- join the community ------------------------------------------------ */
.ch-ab .ch-ab-join {
  position: relative;
  overflow: hidden;
  margin-top: clamp(30px, 4vw, 56px);
  padding: clamp(28px, 4vw, 52px);
  border-radius: 24px;
  background: var(--ch-ab-blue);
  color: #fff;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
}

.ch-ab .ch-ab-join::before,
.ch-ab .ch-ab-join::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.ch-ab .ch-ab-join::before {
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  background: rgba(255, 255, 255, .07);
}

.ch-ab .ch-ab-join::after {
  left: -80px;
  bottom: -140px;
  width: 280px;
  height: 280px;
  background: rgba(251, 191, 36, .12);
}

.ch-ab-join-head,
.ch-ab-join-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.ch-ab-join-body {
  gap: 20px;
}

.ch-ab-join-pill {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .14);
  color: #fde68a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ch-ab-join h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: #fff;
  text-wrap: balance;
}

.ch-ab-join-body p {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: #dbe6f7;
}

.ch-ab-join-body strong {
  font-weight: 800;
  color: #fff;
}

.ch-ab-join-note {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 14px;
  background: #fff;
  color: var(--ch-ab-ink) !important;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.45;
  box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .45);
}

.ch-ab-join-note span {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 99px;
  background: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- responsive -------------------------------------------------------- */
@media all and (max-width: 991px) {
  .ch-ab-hero .ch-ab-wrap {
    padding-top: 22px;
    padding-bottom: 22px;
    gap: 24px;
  }

  .ch-ab-body .ch-ab-wrap {
    padding-bottom: 22px;
  }

  .ch-ab .ch-ab-block {
    padding: 30px 0;
  }
}

@media all and (max-width: 767px) {
  .ch-ab-hero .ch-ab-wrap {
    padding-top: 18px;
    padding-bottom: 18px;
    gap: 20px;
  }

  .ch-ab-body .ch-ab-wrap {
    padding-bottom: 18px;
  }

  .ch-ab .ch-ab-block {
    padding: 26px 0;
    gap: 18px;
  }

  .ch-ab-shot {
    flex-basis: 100%;
    aspect-ratio: 16 / 10;
  }

  .ch-ab-text,
  .ch-ab-join-body p {
    font-size: 15.5px;
    line-height: 1.7;
  }

  .ch-ab-card {
    padding: 18px;
    gap: 14px;
  }

  .ch-ab .ch-ab-join {
    margin-top: 18px;
    padding: 22px;
    border-radius: 18px;
  }

  .ch-ab-join-note {
    padding: 14px 16px;
    font-size: 15px;
  }
}

@media all and (max-width: 480px) {
  .ch-ab-hero .ch-ab-wrap,
  .ch-ab-body .ch-ab-wrap {
    padding-bottom: 14px;
  }

  .ch-ab-hero .ch-ab-wrap {
    padding-top: 14px;
  }

  .ch-ab .ch-ab-block {
    padding: 22px 0;
  }

  .ch-ab-card {
    padding: 16px;
  }

  .ch-ab .ch-ab-join {
    padding: 18px;
  }
}
