.elementor-318 .elementor-element.elementor-element-9d2d59a{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:0px;--padding-bottom:60px;--padding-left:25px;--padding-right:25px;}.elementor-widget-loop-grid .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-loop-grid .elementor-pagination{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-loop-grid .e-load-more-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-318 .elementor-element.elementor-element-0ebe31c{--grid-columns:3;}.elementor-318 .elementor-element.elementor-element-0ebe31c .elementor-loop-container{grid-auto-rows:1fr;}.elementor-318 .elementor-element.elementor-element-0ebe31c .e-loop-item > .elementor-section, .elementor-318 .elementor-element.elementor-element-0ebe31c .e-loop-item > .elementor-section > .elementor-container, .elementor-318 .elementor-element.elementor-element-0ebe31c .e-loop-item > .e-con, .elementor-318 .elementor-element.elementor-element-0ebe31c .e-loop-item .elementor-section-wrap  > .e-con{height:100%;}@media(max-width:1024px){.elementor-318 .elementor-element.elementor-element-0ebe31c{--grid-columns:2;}}@media(max-width:767px){.elementor-318 .elementor-element.elementor-element-0ebe31c{--grid-columns:1;}}/* Start custom CSS *//* ============================================================
   TEAM PHOTO GRID + JS SLIDE PANEL — ELEMENTOR CSS
   ============================================================ */

/* ── PAGE LEVEL ── */

body.elementor-page .team-page-wrapper::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.03;
  background-repeat: repeat;
  background-size: 256px;
}

body.elementor-page {
  scrollbar-width: thin;
  scrollbar-color: #c9a96e40 transparent;
}


/* ── 1. HERO HEADER — Section class: team-hero ── */

.team-hero .elementor-divider-separator {
  border-color: #ccc !important;
  width: 60px !important;
  border-width: 1px !important;
}

.team-hero .elementor-heading-title {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 5.5rem !important;
  font-weight: 400 !important;
  color: #777 !important;
  letter-spacing: -0.03em !important;
  line-height: 1 !important;
  margin-bottom: 20px !important;
}

.team-hero .elementor-text-editor,
.team-hero .elementor-text-editor p {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 1.05rem !important;
  color: #333 !important;
  font-weight: 400 !important;
  max-width: 480px !important;
  line-height: 1.7 !important;
  letter-spacing: 0.02em !important;
}

.team-hero .elementor-widget {
  opacity: 0;
  transform: translateY(20px);
  animation: teamFadeUp 0.6s ease forwards;
}
.team-hero .elementor-widget:nth-child(1) { animation-delay: 0.1s; }
.team-hero .elementor-widget:nth-child(2) { animation-delay: 0.2s; }
.team-hero .elementor-widget:nth-child(3) { animation-delay: 0.35s; }

@keyframes teamFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .team-hero .elementor-heading-title { font-size: 3.5rem !important; }
  section.team-hero { padding: 50px 30px 30px !important; }
}
@media (max-width: 600px) {
  .team-hero .elementor-heading-title { font-size: 2.5rem !important; }
}


/* ── 2. LOOP GRID — Widget class: team-grid ── */

.team-grid .elementor-loop-container {
  display: grid !important;
  grid-template-columns: repeat(12, 1fr) !important;
  grid-auto-rows: 10px !important;
  gap: 0px !important;
  padding: 0 !important;
  grid-auto-flow: dense !important;
  width: 100% !important;
  max-width: 100% !important;
}

.team-grid .elementor-loop-container.elementor-grid {
  display: grid !important;
  width: 100% !important;
}

/* Sizes are set via inline styles by JS */

.no-gap-section > .elementor-container {
  padding: 0 !important;
  gap: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
.no-gap-section > .elementor-container > .elementor-column {
  width: 100% !important;
}
.no-gap-section > .elementor-container > .elementor-column > .elementor-widget-wrap {
  padding: 0 !important;
  width: 100% !important;
}
.team-grid {
  width: 100% !important;
}

@media (max-width: 900px) {
  .team-grid .elementor-loop-container,
  .team-grid .elementor-loop-container.elementor-grid,
  .team-grid .elementor-grid {
    grid-template-columns: repeat(8, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .team-grid .elementor-loop-container,
  .team-grid .elementor-loop-container.elementor-grid,
  .team-grid .elementor-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}


/* ── 3. LOOP ITEM — Template class: team-loop-item ── */

.team-loop-item {
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #141414;
}

.team-loop-item .elementor-widget-wrap {
  padding: 0 !important;
}

.team-loop-item .elementor-widget-image {
  margin: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.team-loop-item .elementor-widget-image .elementor-widget-container {
  height: 100% !important;
  line-height: 0 !important;
}

.team-loop-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top !important;
  display: block !important;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.5s ease;
  filter: grayscale(60%) brightness(0.85);
}

.team-loop-item:hover img {
  transform: scale(1.08);
  filter: grayscale(0%) brightness(1);
}

.team-loop-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}
.team-loop-item:hover::after { opacity: 1; }

/*.team-loop-item::before {*/
/*  content: '';*/
/*  position: absolute;*/
/*  bottom: 16px;*/
/*  left: 16px;*/
/*  width: 8px;*/
/*  height: 8px;*/
/*  border-radius: 50%;*/
/*  background: #E57938;*/
/*  opacity: 0;*/
/*  transition: opacity 0.3s ease, transform 0.3s ease;*/
/*  transform: translateY(4px);*/
/*  z-index: 2;*/
/*}*/
.team-loop-item:hover::before {
  opacity: 1;
  transform: translateY(0);
}

.team-grid .elementor-loop-container > * {
  opacity: 0;
  transform: translateY(20px);
  animation: teamFadeUp 0.6s ease forwards;
}
.team-grid .elementor-loop-container > *:nth-child(1)  { animation-delay: 0.15s; }
.team-grid .elementor-loop-container > *:nth-child(2)  { animation-delay: 0.21s; }
.team-grid .elementor-loop-container > *:nth-child(3)  { animation-delay: 0.27s; }
.team-grid .elementor-loop-container > *:nth-child(4)  { animation-delay: 0.33s; }
.team-grid .elementor-loop-container > *:nth-child(5)  { animation-delay: 0.39s; }
.team-grid .elementor-loop-container > *:nth-child(6)  { animation-delay: 0.45s; }
.team-grid .elementor-loop-container > *:nth-child(7)  { animation-delay: 0.51s; }
.team-grid .elementor-loop-container > *:nth-child(8)  { animation-delay: 0.57s; }
.team-grid .elementor-loop-container > *:nth-child(9)  { animation-delay: 0.63s; }
.team-grid .elementor-loop-container > *:nth-child(10) { animation-delay: 0.69s; }
.team-grid .elementor-loop-container > *:nth-child(11) { animation-delay: 0.75s; }
.team-grid .elementor-loop-container > *:nth-child(12) { animation-delay: 0.81s; }
.team-grid .elementor-loop-container > *:nth-child(n+13) { animation-delay: 0.87s; }


/* ── 4. JS SLIDE PANEL STYLES ── */

.team-panel-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  cursor: pointer;
}
.team-panel-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.team-side-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 520px;
  max-width: 90vw;
  height: 100vh;
  height: 100dvh;
  background: #efefef;
  z-index: 10001;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: #c9a96e40 transparent;
}
.team-side-panel::-webkit-scrollbar { width: 4px; }
.team-side-panel::-webkit-scrollbar-track { background: transparent; }
.team-side-panel::-webkit-scrollbar-thumb { background: #c9a96e40; border-radius: 2px; }

.team-side-panel.active {
  transform: translateX(0);
}

.team-panel-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.team-panel-close:hover {
  transform: rotate(90deg);
  background: #fff;
}
.team-panel-close span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #1a1714;
  position: absolute;
}
.team-panel-close span:first-child { transform: rotate(45deg); }
.team-panel-close span:last-child  { transform: rotate(-45deg); }

.team-panel-photo {
  width: 100%;
  height: 55vh;
  min-height: 350px;
  max-height: 800px;
  object-fit: cover;
  object-position: top;
  display: block;
  flex-shrink: 0;
}

.team-panel-content {
  padding: 48px 48px 60px;
  flex: 1;
}

.team-panel-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #999;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 8px 0;
}

.team-panel-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #2a2a2a;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 28px 0;
  line-height: 1.4;
}

.team-panel-divider {
  width: 40px;
  height: 3px;
  background: #999;
  border: none;
  margin: 0 0 28px 0;
}

.team-panel-bio {
  font-family: 'Albert Sans', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #2a2a2a;
  line-height: 1.8;
  letter-spacing: 0.01em;
  margin: 0;
}

.team-panel-content > * {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.team-side-panel.active .team-panel-name    { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }
.team-side-panel.active .team-panel-title   { opacity: 1; transform: translateY(0); transition-delay: 0.32s; }
.team-side-panel.active .team-panel-divider { opacity: 1; transform: translateY(0); transition-delay: 0.38s; }
.team-side-panel.active .team-panel-bio     { opacity: 1; transform: translateY(0); transition-delay: 0.44s; }

body.team-panel-open {
  overflow: hidden;
}/* End custom CSS */