/* AI CoE Team WPBakery Addon Styles */

* {
  box-sizing: border-box;
}



/* Container */
.ai-coe-team-container {
  max-width: 1425px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Section */
.ai-coe-team-header {
  position: relative;
  padding-top: 128px;
  padding-bottom: 24px;
  overflow: hidden;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

html.theme-dark .ai-coe-team-header {
  background-color: #0f172a;
}

.ai-coe-team-header-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, #f8fafc 0%, rgba(239, 246, 255, 0.3) 50%, #f8fafc 100%);
  transition: background 0.3s ease;
}

html.theme-dark .ai-coe-team-header-bg {
  background: linear-gradient(to bottom right, #0f172a 0%, rgba(30, 58, 138, 0.1) 50%, #0f172a 100%);
}

.ai-coe-team-header-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image: 
    linear-gradient(to right, rgba(59, 130, 246, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59, 130, 246, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.ai-coe-team-header-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: pulse 4s ease-in-out infinite;
}

.ai-coe-team-header-orb-1 {
  top: 0;
  right: 0;
  width: 384px;
  height: 384px;
  background-color: rgba(96, 165, 250, 0.1);
}

.ai-coe-team-header-orb-2 {
  bottom: 0;
  left: 0;
  width: 384px;
  height: 384px;
  background-color: rgba(103, 232, 249, 0.1);
  animation-delay: 1s;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.ai-coe-team-title {
  font-size: 54px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 10;
  transition: color 0.3s ease;
}

html.theme-dark .ai-coe-team-title {
  color: #ffffff;
}

.ai-coe-team-description {
  font-size: 18px;
  font-weight: 500;
  color: #64748b;
  line-height: 1.6;
  max-width: 1024px;
  position: relative;
  z-index: 10;
  transition: color 0.3s ease;
}

html.theme-dark .ai-coe-team-description {
  color: #94a3b8;
}

.ai-coe-team-description a {
  color: #2563eb;
  text-decoration: underline;
  transition: color 0.3s ease;
}

html.theme-dark .ai-coe-team-description a {
  color: #60a5fa;
}

.ai-coe-team-description a:hover {
  color: #1e40af;
}

html.theme-dark .ai-coe-team-description a:hover {
  color: #93c5fd;
}



/* Tabs Navigation */
.ai-coe-team-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 48px;
  transition: border-color 0.3s ease;
}

html.theme-dark .ai-coe-team-tabs {
  border-bottom-color: #1e293b;
}

.ai-coe-team-tab {
  padding-bottom: 16px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: none;
  border: none;
  cursor: pointer;
  color: #64748b;
  position: relative;
  transition: color 0.3s ease;
  font-family: inherit;
  text-align: left;
  white-space: normal;
  line-height: 1.25;
  max-width: 100%;
}

html.theme-dark .ai-coe-team-tab {
  color: #94a3b8;
}

.ai-coe-team-tab:hover {
  color: #475569;
}

html.theme-dark .ai-coe-team-tab:hover {
  color: #e2e8f0;
}

.ai-coe-team-tab.active {
  color: #0f172a;
}

html.theme-dark .ai-coe-team-tab.active {
  color: #ffffff;
}

.ai-coe-team-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #0f172a;
  transition: background-color 0.3s ease;
}

html.theme-dark .ai-coe-team-tab.active::after {
  background-color: #ffffff;
}

/* Tab Content */
.ai-coe-team-tab-content {
  position: relative;
}

.ai-coe-team-tab-panel {
  display: none;
}

.ai-coe-team-tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
  /* Scroll offset for fixed header is applied in ai-coe-team-wpbakery-addon.js (window.scrollTo). */
  scroll-margin-top: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ai-coe-team-section-title {
  font-size: 42px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 24px;
  line-height: 1.1;
  transition: color 0.3s ease;
  display: none;
}

html.theme-dark .ai-coe-team-section-title {
  color: #ffffff;
}

/* AI Champions — section title shown per card as a badge */
.ai-coe-team-member-card-section-badge {
  display: inline-block;
  align-self: flex-start;
  max-width: 100%;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: 4px 8px;
  margin-bottom: 6px;
}

html.theme-dark .ai-coe-team-member-card-section-badge {
  color: #93c5fd;
  background: rgba(30, 58, 138, 0.35);
  border-color: rgba(59, 130, 246, 0.45);
}

/* AI Champions — section filter chips (match AI Learning Hub fundamentals topic filter tabs) */
.ai-coe-team-champions-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  overflow-x: auto;
  border: none;
  background: transparent;
  justify-content: flex-start;
  -webkit-overflow-scrolling: touch;
}

.ai-coe-team-champions-filter-chip {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  padding: 6px 15px;
  border-radius: 9999px !important;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  color: #2d3748;
  cursor: pointer;
  white-space: normal;
  text-align: left;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.ai-coe-team-champions-filter-chip:hover {
  border-color: #cbd5e1;
  background-color: #f8fafc;
}

.ai-coe-team-champions-filter-chip.is-active {
  color: #2563eb;
  border-color: #93c5fd;
  background-color: #eff6ff;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.1);
  font-weight: 600;
}

@media (prefers-color-scheme: dark) {
	html:not(.theme-light) .ai-coe-team-champions-filter-chip {
    border-color: #334155;
    background-color: #0f172a;
    color: #e2e8f0;
    box-shadow: none;
  }

	html:not(.theme-light) .ai-coe-team-champions-filter-chip:hover {
    border-color: #475569;
    background-color: #1e293b;
  }

	html:not(.theme-light) .ai-coe-team-champions-filter-chip.is-active {
    color: #93c5fa;
    border-color: #3b82f6;
    background-color: rgba(30, 58, 138, 0.35);
    box-shadow: none;
  }
}

html.theme-dark .ai-coe-team-champions-filter-chip {
  border-color: #334155 !important;
  background-color: #0f172a !important;
  color: #e2e8f0 !important;
  box-shadow: none !important;
}

html.theme-dark .ai-coe-team-champions-filter-chip:hover {
  border-color: #475569 !important;
  background-color: #1e293b !important;
}

html.theme-dark .ai-coe-team-champions-filter-chip.is-active {
  color: #93c5fa !important;
  border-color: #3b82f6 !important;
  background-color: rgba(30, 58, 138, 0.35) !important;
}

@media (max-width: 999px) {
  .ai-coe-team-champions-filters {
    gap: 8px;
    margin-bottom: 20px;
  }

  .ai-coe-team-champions-filter-chip {
    padding: 8px 14px;
    font-size: 13px;
  }
}

.ai-coe-team-member-card-wrap.is-champion-filter-hidden {
  display: none !important;
}

/* Member cards — layout aligned with AI Systems & Platforms tool cards */
.ai-coe-team-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .ai-coe-team-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ai-coe-team-cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Core Program Team — first two cards on top row (classes: --core-top, --core-top-1, --core-top-2) */
@media (min-width: 1024px) {
  .ai-coe-team-tab-panel[data-panel="core"] .ai-coe-team-cards-grid > .ai-coe-team-member-card-wrap--core-top-1 {
    grid-column: 1 / 3;
    justify-self: end;
    width: 100%;
    max-width: min(100%, 400px);
  }

  .ai-coe-team-tab-panel[data-panel="core"] .ai-coe-team-cards-grid > .ai-coe-team-member-card-wrap--core-top-2 {
    grid-column: 3 / 5;
    justify-self: start;
    width: 100%;
    max-width: min(100%, 400px);
  }

  /* Single member: one row, centered */
  .ai-coe-team-tab-panel[data-panel="core"] .ai-coe-team-cards-grid > .ai-coe-team-member-card-wrap--core-top-1:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: min(100%, 400px);
  }
}

.ai-coe-team-member-card-wrap {
  min-width: 0;
  height: 100%;
}

.ai-coe-team-member-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  grid-template-rows: auto;
  column-gap: 16px;
  align-items: center;
  height: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  border: 1px solid rgba(226, 232, 240, 0.6);
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ai-coe-team-member-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(59, 130, 246, 0.1);
}

html.theme-dark .ai-coe-team-member-card {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(51, 65, 85, 0.6);
}

html.theme-dark .ai-coe-team-member-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

.ai-coe-team-member-card-media {
  width: 96px;
  height: 96px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  margin: 0;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  grid-column: 1;
  align-self: start;
}

.ai-coe-team-member-card-body {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

html.theme-dark .ai-coe-team-member-card-media {
  background: #1e293b;
  border-color: #334155;
}

.ai-coe-team-member-card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.ai-coe-team-member-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.02em;
}

html.theme-dark .ai-coe-team-member-card-placeholder {
  color: #94a3b8;
}

.ai-coe-team-member-card-name {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
  transition: color 0.2s ease;
  min-width: 0;
  margin-bottom: 2px!important;
}

html.theme-dark .ai-coe-team-member-card-name {
  color: #ffffff;
}

.ai-coe-team-member-card-role {
  font-size: 13px;
  line-height: 1.4;
  color: #64748b;
  margin: 0;
  min-width: 0;
}

html.theme-dark .ai-coe-team-member-card-role {
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 767px) {
  .ai-coe-team-title {
    font-size: 28px;
  }

  .ai-coe-team-description {
    font-size: 15px;
  }

  .ai-coe-team-section-title {
    font-size: 32px;
  }
}
.ai-coe-team-member-card.ai-coe-team-member-card--core-top-1,
.ai-coe-team-member-card.ai-coe-team-member-card--core-top-2 {
  grid-template-columns: 120px minmax(0, 1fr);
}
.ai-coe-team-member-card.ai-coe-team-member-card--core-top-1 .ai-coe-team-member-card-media,
.ai-coe-team-member-card.ai-coe-team-member-card--core-top-2 .ai-coe-team-member-card-media {
  width: 120px;
  height: 120px;
}
.ai-coe-team-member-card.ai-coe-team-member-card--core-top-1 .ai-coe-team-member-card-name,
.ai-coe-team-member-card.ai-coe-team-member-card--core-top-2 .ai-coe-team-member-card-name {
  font-size: 20px;
}
.ai-coe-team-member-card.ai-coe-team-member-card--core-top-1 .ai-coe-team-member-card-role,
.ai-coe-team-member-card.ai-coe-team-member-card--core-top-2 .ai-coe-team-member-card-role {
  font-size: 15px;
}

