/* =============================================================================
   BEST CHINA SOURCING AGENCY - EXECUTIVE LEADERSHIP & PROFILE PAGES
   Styles for: team/*.html individual profile pages and leadership cards
   ============================================================================= */

/* Profile Hero Section */
.profile-hero {
  padding: 140px 0 60px;
  background: radial-gradient(circle at 75% 25%, #1a565d 0%, #142c43 40%, #0f172a 75%);
  color: white;
  position: relative;
  overflow: hidden;
}

.profile-hero::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(94, 234, 212, 0.15);
  border-radius: 50%;
  right: -100px;
  top: 40px;
  box-shadow: 0 0 0 60px rgba(94, 234, 212, 0.02), 0 0 0 120px rgba(94, 234, 212, 0.015);
  pointer-events: none;
}

.profile-hero-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.profile-portrait-wrap {
  position: relative;
}

.profile-portrait-img {
  width: 100%;
  height: 380px;
  border-radius: 20px;
  object-fit: cover;
  object-position: top center;
  display: block;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(94, 234, 212, 0.3);
}

.profile-portrait-emblem {
  width: 100%;
  height: 380px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(94, 234, 212, 0.3);
  position: relative;
  overflow: hidden;
}

.profile-portrait-emblem .monogram {
  font-size: 5rem;
  font-weight: 800;
  color: white;
  letter-spacing: -2px;
  line-height: 1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.profile-portrait-emblem .role-icon {
  font-size: 2.2rem;
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.15);
  padding: 10px 18px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.profile-badge-pill {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.9);
  color: #5eead4;
  border: 1px solid rgba(94, 234, 212, 0.4);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.profile-hero-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-tag {
  display: inline-block;
  align-self: flex-start;
  background: rgba(94, 234, 212, 0.16);
  color: #5eead4;
  border: 1px solid rgba(94, 234, 212, 0.3);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.profile-hero-info h1 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.profile-title {
  font-size: 1.25rem;
  color: #5eead4;
  font-weight: 700;
  margin: 0;
}

.profile-hero-info p {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 6px 0 16px;
  max-width: 650px;
}

.profile-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.profile-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Stat Counters Banner */
.profile-stats-bar {
  background: var(--surface);
  border-bottom: 1px solid #e2e8f0;
  padding: 30px 0;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.profile-stat-box {
  background: white;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.profile-stat-box b {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.profile-stat-box span {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Profile Body Layout */
.profile-body-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 45px;
  padding: 60px 0;
}

/* Left Sidebar */
.profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.profile-card-widget {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.profile-card-widget h4 {
  margin: 0 0 16px;
  font-size: 1.05rem;
  color: var(--navy);
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 10px;
}

.profile-fact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-fact-list li {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}

.profile-fact-list li strong {
  color: var(--navy);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

/* Right Content Area */
.profile-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.profile-section-block h2 {
  font-size: 1.65rem;
  color: var(--navy);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.profile-section-block p {
  color: #334155;
  line-height: 1.7;
  font-size: 0.98rem;
  margin-bottom: 14px;
}

.responsibility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.responsibility-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px;
  transition: all 0.25s ease;
}

.responsibility-card:hover {
  background: white;
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.12);
  transform: translateY(-3px);
}

.responsibility-card .r-icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
  display: inline-block;
}

.responsibility-card h4 {
  font-size: 1.02rem;
  margin: 0 0 6px;
  color: var(--navy);
}

.responsibility-card p {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.consult-topics-box {
  background: linear-gradient(145deg, #f0fdfa, #f8fafc);
  border: 1px solid #ccfbf1;
  border-radius: 16px;
  padding: 24px 28px;
}

.consult-topics-box h3 {
  margin: 0 0 14px;
  color: #0f766e;
  font-size: 1.2rem;
}

.consult-topics-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.consult-topics-list li {
  font-size: 0.9rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}

.consult-topics-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 800;
}

/* Other Leaders Grid */
.other-leaders-section {
  background: var(--surface);
  padding: 60px 0;
  border-top: 1px solid #e2e8f0;
}

.other-leaders-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 25px;
}

.leader-mini-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.leader-mini-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.leader-mini-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.leader-mini-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.leader-mini-card h4 {
  margin: 0 0 4px;
  font-size: 0.98rem;
  color: var(--navy);
}

.leader-mini-card p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 700;
}

/* Responsive */
@media (max-width: 900px) {
  .profile-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .profile-portrait-wrap {
    max-width: 280px;
    margin: 0 auto;
  }
  .profile-tag {
    align-self: center;
  }
  .profile-meta-chips, .profile-actions {
    justify-content: center;
  }
  .profile-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .profile-body-layout {
    grid-template-columns: 1fr;
  }
  .responsibility-grid, .consult-topics-list {
    grid-template-columns: 1fr;
  }
  .other-leaders-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .profile-stats-grid {
    grid-template-columns: 1fr;
  }
  .other-leaders-grid {
    grid-template-columns: 1fr;
  }
}
