/* company-our-teams-static.css — Executive Corporate Organization Architecture (Extra Wide / Large Photos / Pure Identity) */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font, 'Prompt', 'Inter', sans-serif);
  color: #334155;
  background-color: #f8fafc;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ── Page Content Body (Extra Wide) ── */
.detail-body {
  max-width: 1480px;
  width: 95%;
  margin: 3rem auto 6rem;
  padding: 0 1rem;
  min-height: 55vh;
}

/* ── 2. Header Section ── */
.team-header-wrap {
  text-align: center;
  margin-bottom: 2.75rem;
}
.team-main-heading {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--dark, #0f172a);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.header-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.divider-line {
  width: 50px;
  height: 2px;
  background: #e2e8f0;
}
.divider-dot {
  width: 6px;
  height: 6px;
  border-radius: 0;
  background: var(--primary, #115e59);
}

/* ── 3. Category Navigation (Horizontal Tabs) ── */
.team-tabs-container {
  margin-bottom: 4rem;
  display: flex;
  justify-content: center;
}
.team-tabs-scroller {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  justify-content: center;
  background: #ffffff;
  padding: 0.4rem;
  border-radius: 0;
  border: 1px solid #e2e8f0;
}
.team-tab-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.5rem;
  border-radius: 0;
  border: 1px solid transparent;
  background: transparent;
  color: #475569;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.team-tab-pill:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}
.team-tab-pill.active {
  background: var(--primary, #115e59);
  color: #ffffff;
  border-color: var(--primary, #115e59);
}

/* ── 4. EXECUTIVE ORGANIZATION ARCHITECTURE BOARD (Wide Canvas & Large Photos) ── */
.org-chart-section {
  width: 100%;
}
.org-canvas-board {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 3.5rem 3rem 4.5rem;
  position: relative;
  overflow-x: auto;
  width: 100%;
}

.org-board-titlebar {
  text-align: center;
  margin-bottom: 3rem;
}
.org-board-headline {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark, #0f172a);
  letter-spacing: -0.01em;
}

/* C-Suite Executive Tier */
.org-tier-csuite {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
  margin-bottom: 3.5rem;
}
.exec-board-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  width: 380px;
  max-width: 90vw;
  padding: 2.25rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}
.exec-board-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary, #115e59);
  box-shadow: 0 10px 28px rgba(17, 94, 89, 0.08);
}
.exec-card-header {
  margin-bottom: 1.25rem;
}
.exec-tier-tag {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--primary, #115e59);
  padding: 0.25rem 0.85rem;
}
.exec-avatar-frame {
  width: 160px;
  height: 195px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  margin-bottom: 1.25rem;
  overflow: hidden;
  padding: 3px;
}
.exec-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.exec-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}
.exec-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark, #0f172a);
  line-height: 1.3;
}
.exec-position {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary, #115e59);
  line-height: 1.35;
}

/* Tree Spine Lines - Removed as per user request */
.org-tree-spine {
  display: none !important;
}

/* Department Columns Grid (Clean and Spacious) */
.org-dept-grid {
  display: grid;
  gap: 2.5rem;
  width: 100%;
  align-items: start;
  position: relative;
  margin-top: 0;
}
.org-dept-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
}

.org-dept-column::before,
.org-dept-column::after,
.dept-col-stem {
  display: none !important;
}

/* Department Badge Header */
.dept-badge-header {
  width: 100%;
  background: var(--dark, #0f172a);
  color: #ffffff;
  padding: 0.95rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease;
  border-bottom: 2px solid var(--primary, #115e59);
}
.dept-badge-header:hover {
  background: var(--primary, #115e59);
}
.dept-title-text {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Department Stack Container */
.dept-cards-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fafbfc;
  border: 1px solid #e2e8f0;
  border-top: none;
  padding: 1.75rem 1.25rem;
  gap: 1.5rem;
}

/* Chain Link between cards - Removed */
.member-chain-link {
  display: none !important;
}

/* Person Card (Large Photo & Clean Details) */
.org-person-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.org-person-card:hover {
  border-color: var(--primary, #115e59);
  transform: translateY(-2px);
  background: #fbfdfd;
  box-shadow: 0 6px 20px rgba(17, 94, 89, 0.06);
}
.person-photo-frame {
  width: 140px;
  height: 170px;
  border: 2px solid #cbd5e1;
  background: #f1f5f9;
  margin-bottom: 1rem;
  overflow: hidden;
  padding: 3px;
  flex-shrink: 0;
}
.person-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.person-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: 100%;
}
.person-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark, #0f172a);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.person-role {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary, #115e59);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dept-empty-slot {
  text-align: center;
  padding: 2rem 1rem;
  color: #94a3b8;
  font-size: 0.95rem;
}

/* ── 5. Department Cards Section (Filtered View) ── */
.team-grid-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}
.team-dept-section {
  width: 100%;
  margin-bottom: 2rem;
}
.team-dept-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 2.75rem;
}
.team-dept-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.team-dept-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--dark, #0f172a);
  margin: 0;
}
.team-dept-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary, #115e59);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem 0.6rem;
  border-radius: 0;
  transition: all 0.15s ease;
}
.team-dept-view-all:hover {
  background: rgba(17, 94, 89, 0.08);
}

.team-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.75rem 2.25rem;
}
@media (max-width: 1200px) {
  .team-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem 1.75rem;
  }
}
@media (max-width: 850px) {
  .team-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1.25rem;
  }
}
@media (max-width: 520px) {
  .team-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Member Card in Filtered View */
.team-member-card {
  height: 100%;
}
.team-card-inner {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  padding: 2.5rem 1.75rem;
  text-align: center;
  align-items: center;
}
.team-member-card:hover .team-card-inner {
  border-color: var(--primary, #115e59);
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

/* Photo */
.team-card-photo-wrap {
  width: 130px;
  height: 155px;
  margin-bottom: 1.25rem;
  border: 2px solid #cbd5e1;
  padding: 2px;
  background: #ffffff;
}
.team-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  flex: 1;
}
.team-cat-tag {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary, #115e59);
  background: rgba(17, 94, 89, 0.08);
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.6rem;
  border: 1px solid rgba(17, 94, 89, 0.15);
}
.team-member-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark, #0f172a);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}
.team-member-role {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary, #115e59);
  margin-bottom: 1.5rem;
}
.team-card-actions {
  margin-top: auto;
  width: 100%;
}
.btn-view-member {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  background: #f8fafc;
  color: #334155;
  border: 1px solid #e2e8f0;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-view-member:hover {
  background: var(--primary, #115e59);
  color: #ffffff;
  border-color: var(--primary, #115e59);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  color: #64748b;
  max-width: 550px;
  margin: 2rem auto;
}
.empty-state p {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.btn-reset-filter {
  padding: 0.5rem 1.25rem;
  background: var(--primary, #115e59);
  color: #fff;
  border: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
}

/* ── 6. Member Detail Modal ── */
.member-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.member-modal-backdrop.active {
  display: flex;
}
.member-modal-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  max-width: 680px;
  width: 100%;
  padding: 3.25rem 2.5rem 2.75rem;
  position: relative;
  text-align: center;
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.2);
}
.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #f1f5f9;
  border: none;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  font-size: 1.2rem;
  transition: all 0.15s ease;
}
.modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.modal-profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.5rem;
  width: 100%;
}
.modal-avatar-wrap {
  width: 320px;
  height: 390px;
  max-width: 85vw;
  overflow: hidden;
  border: 2px solid #cbd5e1;
  background: #f8fafc;
  flex-shrink: 0;
  padding: 4px;
  margin: 0 auto;
}
.modal-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.modal-profile-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.55rem;
  width: 100%;
}
.modal-cat-badge {
  align-self: center;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 1.15rem;
  background: var(--primary, #115e59);
  color: #ffffff;
}
.modal-name {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--dark, #0f172a);
  line-height: 1.3;
  margin: 0;
}
.modal-role {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary, #115e59);
  line-height: 1.35;
  margin: 0;
}

.modal-body-content {
  display: flex;
  flex-direction: column;
}
.modal-social-links {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.social-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748b;
  display: block;
  margin-bottom: 0.5rem;
}
.social-buttons-wrap {
  display: flex;
  gap: 0.6rem;
}
.btn-social {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  transition: opacity 0.15s ease;
}
.btn-social:hover { opacity: 0.9; }
.btn-social.fb { background: #1877f2; }
.btn-social.line { background: #06c755; }

/* Responsive adjustments */
@media (max-width: 900px) {
  .org-dept-grid {
    grid-template-columns: 1fr !important;
  }
  .exec-board-card {
    width: 100%;
  }
  .org-dept-column::before,
  .org-dept-column::after {
    display: none !important;
  }
}