/* ============================================================
   Aptomix — Team Section CSS
   Enqueued by: Aptomix_Team_Widget::get_style_depends()
   Google Fonts: enqueued globally via wp_enqueue_scripts
   ============================================================ */

/* ── Scoped reset ────────────────────────────────────────────── */
.aptomix-team *,
.aptomix-team *::before,
.aptomix-team *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Section wrapper ─────────────────────────────────────────── */
.aptomix-team {
  background: #F4F7FA;
  padding: 100px 0;
  font-family: 'DM Sans', sans-serif;
  color: #1A2E3B;
  scroll-margin-top: 72px;
}

/* ── Container ───────────────────────────────────────────────── */
.aptomix-team__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Section header ──────────────────────────────────────────── */
.aptomix-team__head {
  margin-bottom: 56px;
}

.aptomix-team__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: #00B0F0;
  margin-bottom: 14px;
}

.aptomix-team__heading {
  font-family: 'Outfit', sans-serif;
  font-size: 46px;
  font-weight: 700;
  color: #0D1B2A;
  letter-spacing: -1px;
  line-height: 1.1;
  position: relative;
  padding-left: 20px;
}

/* Blue vertical accent bar */
.aptomix-team__heading::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: linear-gradient(to bottom, #00B0F0 0%, rgba(0, 176, 240, 0.5) 100%);
  border-radius: 2px;
}

/* ── Team grid ───────────────────────────────────────────────── */
.aptomix-team__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* ── Team card ───────────────────────────────────────────────── */
.aptomix-team__card {
  background: #ffffff;
  border-radius: 16px;
  padding: 48px 44px;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ── Photo ───────────────────────────────────────────────────── */
.aptomix-team__photo-wrap {
  margin-bottom: 28px;
}

.aptomix-team__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid #00B0F0;
  display: block;
}

/* ── Meta (name, role, LinkedIn) ────────────────────────────── */
.aptomix-team__meta {
  margin-bottom: 28px;
}

.aptomix-team__member-name {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #0D1B2A;
  letter-spacing: -0.3px;
  line-height: 1.2;
  margin-bottom: 6px;
}

.aptomix-team__member-role {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #00B0F0;
  margin-bottom: 14px;
}

/* LinkedIn link */
.aptomix-team__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #3D5166;
  text-decoration: none;
  transition: color 0.2s;
}

.aptomix-team__linkedin:hover {
  color: #00B0F0;
}

.aptomix-team__linkedin span {
  line-height: 1;
}

/* ── Biography ───────────────────────────────────────────────── */
.aptomix-team__member-bio {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.78;
  color: #3D5166;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.aptomix-team__member-bio p {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
}

.aptomix-team__member-bio strong {
  color: #0D1B2A;
  font-weight: 600;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .aptomix-team__heading { font-size: 40px; }
  .aptomix-team__card    { padding: 40px 36px; }
}

@media (max-width: 900px) {
  .aptomix-team__grid    { grid-template-columns: 1fr; }
  .aptomix-team__heading { font-size: 36px; letter-spacing: -0.6px; }
}

@media (max-width: 600px) {
  .aptomix-team          { padding: 60px 0; }
  .aptomix-team__container { padding: 0 20px; }
  .aptomix-team__heading { font-size: 30px; padding-left: 16px; }
  .aptomix-team__card    { padding: 32px 24px; }
  .aptomix-team__photo   { width: 96px; height: 96px; }
}
