/** Shopify CDN: Minification failed

Line 51:3 Expected ":"

**/
/* =============================================
   Team Istruttori Section
   ============================================= */

.team-istruttori {
  padding: 60px 0;
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
}

.team-istruttori--no-top { padding-top: 0; }
.team-istruttori--no-bottom { padding-bottom: 0; }

.team-istruttori__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ================================== */
/* Header                             */
/* ================================== */

.team-istruttori__header {
  text-align: center;
  margin-bottom: 30px;
}

.section-team-istruttori .team-istruttori__subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--team-accent, #c41230);
  margin: 0 0 10px;
}

.section-team-istruttori .team-istruttori__title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--color-foreground, #000) !important;
  text-transform: none !important;
  f
  letter-spacing: 0.01em !important;
}

/* ================================== */
/* Filtri                             */
/* ================================== */

.team-istruttori__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.team-istruttori__filter-btn {
  all: unset;
  display: inline-block;
  padding: 10px 22px;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  color: #333;
  background: transparent;
  border: 1.5px solid #ddd;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

.team-istruttori__filter-btn:hover {
  border-color: #999;
}

.team-istruttori__filter-btn.active {
  background: var(--team-accent, #c41230);
  color: #fff;
  border-color: var(--team-accent, #c41230);
}

/* ================================== */
/* Content — layout 2 colonne         */
/* ================================== */

.team-istruttori__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* ================================== */
/* Dettaglio istruttore (sinistra)    */
/* ================================== */

.team-istruttori__detail {
  position: relative;
  min-height: 400px;
}

.team-istruttori__detail-card {
  display: none;
  animation: teamFadeIn 0.35s ease;
}

.team-istruttori__detail-card.active {
  display: block;
}

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

.team-istruttori__detail-image {
  width: 100%;
  max-width: 380px;
  margin-bottom: 24px;
}

.team-istruttori__detail-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.team-istruttori__detail-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #f5f5f5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-istruttori__detail-placeholder svg {
  width: 50%;
  opacity: 0.2;
}

.section-team-istruttori .team-istruttori__detail-name {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  color: var(--color-foreground, #000) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1.3 !important;
}

.team-istruttori__detail-role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--team-accent, #c41230);
  margin: 0 0 16px;
  line-height: 1.4;
}

.team-istruttori__detail-bio {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #555;
}

.team-istruttori__detail-bio p {
  margin: 0 0 10px;
}

.team-istruttori__detail-bio p:last-child {
  margin-bottom: 0;
}

.team-istruttori__detail-bio strong,
.team-istruttori__detail-bio b {
  color: var(--color-foreground, #000);
  font-weight: 600;
}

/* ================================== */
/* Lista istruttori (destra)          */
/* ================================== */

.team-istruttori__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #e5e5e5;
  max-height: 600px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}

.team-istruttori__list::-webkit-scrollbar {
  width: 4px;
}

.team-istruttori__list::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 4px;
}

.team-istruttori__list-item {
  all: unset;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border-bottom: 1px solid #e5e5e5;
  cursor: pointer;
  transition: background 0.15s ease;
  box-sizing: border-box;
}

.team-istruttori__list-item:hover {
  background: #fafafa;
}

.team-istruttori__list-item.active {
  background: #f5f5f5;
  border-left: 3px solid var(--team-accent, #c41230);
}

.team-istruttori__list-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-foreground, #000);
  line-height: 1.3;
}

.team-istruttori__list-role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--team-accent, #c41230);
  line-height: 1.3;
}

/* ================================== */
/* RESPONSIVE — Tablet                */
/* ================================== */

@media screen and (max-width: 992px) {
  .team-istruttori__content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .team-istruttori__detail {
    min-height: auto;
    order: 2;
  }

  .team-istruttori__list {
    order: 1;
    max-height: 350px;
  }

  .team-istruttori__detail-image {
    max-width: 300px;
  }
}

/* ================================== */
/* RESPONSIVE — Mobile                */
/* ================================== */

@media screen and (max-width: 576px) {
  .team-istruttori {
    padding: 40px 0;
  }

  .team-istruttori__container {
    padding: 0 20px;
  }

  .team-istruttori__filters {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 8px;
    padding-bottom: 4px;
    margin-bottom: 30px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .team-istruttori__filters::-webkit-scrollbar {
    display: none;
  }

  .team-istruttori__filter-btn {
    padding: 8px 18px;
    font-size: 0.8125rem;
    flex-shrink: 0;
  }

  .team-istruttori__list {
    max-height: 280px;
  }

  .team-istruttori__list-item {
    padding: 14px 16px;
  }

  .team-istruttori__detail-image {
    max-width: 100%;
  }

  .section-team-istruttori .team-istruttori__detail-name {
    font-size: 1.25rem !important;
  }
}

/* ================================== */
/* Override globali Vision            */
/* ================================== */

.section-team-istruttori h2,
.section-team-istruttori h3 {
  text-transform: none !important;
}

.section-team-istruttori button {
  font-family: inherit;
}