/* =========================================================
   About page (page-templates/template-about.php)
   Only what is unique to this page -- the shared building blocks
   (container, hero, breadcrumb, headings, buttons, dark sections,
   split, icon tile) are `tp-` classes in page-components.css.
   ========================================================= */

.ab-page {
  padding-bottom: 100px;
}
.ab-approach,
.ab-dual {
  margin-top: 100px;
}

/* Intro */
.ab-intro-copy .ab-lead {
  margin-bottom: 18px;
  color: #121417;
  font-weight: 600;
}
.ab-intro-media img {
  aspect-ratio: 464 / 368;
}

/* Our Approach (dark image cards) */
.ab-approach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.ab-approach-card {
  overflow: hidden;
  background: #0f151d;
  border: 1px solid #1d242e;
  border-radius: 20px;
}
.ab-approach-media {
  height: 240px;
  background: #151b23;
}
.ab-approach-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ab-approach-body {
  padding: 30px 28px 28px;
}
.ab-approach-body h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 21px;
  font-weight: 600;
}
.ab-approach-body p {
  margin: 0;
  color: #9aa3ad;
  font-size: 14.5px;
  line-height: 1.55;
}

/* Our Value */
.ab-value-section {
  padding-top: 90px;
}
.ab-value {
  display: grid;
  grid-template-columns: minmax(0, 560fr) minmax(0, 554fr);
  gap: 56px;
  align-items: center;
}
.ab-value.no-media {
  grid-template-columns: minmax(0, 1fr);
}
.ab-value-text {
  margin: 0 0 28px;
  color: #4f4f4f;
  font-size: 16px;
  line-height: 1.5;
}
.ab-value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.ab-value-card {
  padding: 20px 21px 22px;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 14px;
}
.ab-value-ico {
  display: inline-flex;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  color: var(--green, #00a551);
}
.ab-value-ico svg,
.ab-value-ico img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.ab-value-card h3 {
  margin: 0 0 10px;
  color: #121417;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.ab-value-card p {
  margin: 0;
  color: #333;
  font-size: 12.5px;
  line-height: 1.55;
}
.ab-value-media {
  align-self: stretch;
  border-radius: 20px;
  overflow: hidden;
}
.ab-value-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

/* Let's Talk Solutions (people) */
.ab-team-section {
  padding-top: 100px;
}
.ab-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}
.ab-team-card {
  display: flex;
  gap: 24px;
  padding: 25px;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 16px;
}
.ab-team-photo {
  flex: 0 0 144px;
  height: 152px;
  overflow: hidden;
  border-radius: 10px;
  background: #e6e9ed;
}
.ab-team-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ab-team-info {
  flex: 1;
  min-width: 0;
}
.ab-team-info h3 {
  margin: 2px 0 6px;
  color: #121417;
  font-size: 18px;
  font-weight: 600;
}
.ab-team-role {
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e4e4e4;
  color: #6b7280;
  font-size: 13px;
}
.ab-team-text {
  margin: 0 0 14px;
  color: #333;
  font-size: 14px;
  line-height: 1.45;
}
.ab-team-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}
.ab-team-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #121417;
  font-size: 13px;
  text-decoration: none;
}
.ab-team-contact a:hover {
  color: var(--green, #00a551);
}
.ab-team-contact svg {
  color: var(--green, #00a551);
}

/* Technical Partner & Value-Added Distributor (dark columns) */
.ab-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}
.ab-dual-card {
  padding: 40px 40px 36px;
  background: #101923;
  border: 1px solid #1d2733;
  border-radius: 20px;
}
.ab-dual-card h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  color: #fff;
  font-size: 21px;
  font-weight: 600;
  text-transform: uppercase;
}
.ab-dual-ico {
  display: inline-flex;
  width: 28px;
  height: 28px;
  color: #2fd07a;
}
.ab-dual-ico svg,
.ab-dual-ico img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.ab-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ab-steps li {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}
.ab-steps li:last-child {
  margin-bottom: 0;
}
.ab-step-num {
  flex: 0 0 30px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #18222d;
  color: #c3cad2;
  font-size: 12px;
}
.ab-steps h4 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}
.ab-steps p {
  margin: 0;
  color: #9aa3ad;
  font-size: 14px;
  line-height: 1.55;
}

/* From Product to Practical Solution */
.ab-process-section {
  padding-top: 90px;
}
.ab-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}
.ab-process-card {
  padding: 28px;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 16px;
}
.ab-process-ico {
  margin-bottom: 26px;
}
.ab-process-ico svg,
.ab-process-ico img {
  width: 22px;
  height: 22px;
}
.ab-process-card h3 {
  margin: 0 0 16px;
  color: #121417;
  font-size: 19px;
  font-weight: 600;
}
.ab-process-card p {
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .ab-value {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .ab-value-media img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .ab-approach-grid,
  .ab-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ab-team-grid,
  .ab-dual-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 767px) {
  .ab-page {
    padding-bottom: 64px;
  }
  .ab-approach,
  .ab-dual {
    margin-top: 64px;
  }
  .ab-value-section,
  .ab-team-section,
  .ab-process-section {
    padding-top: 56px;
  }
  .ab-approach-grid,
  .ab-value-grid,
  .ab-process-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .ab-team-card {
    flex-direction: column;
  }
  .ab-team-photo {
    flex-basis: auto;
    width: 144px;
  }
  .ab-dual-card {
    padding: 28px 22px;
  }
}
