.vvc-team {
  --vvc-radius: 18px;
  --vvc-border: rgba(20, 20, 20, 0.12);
  --vvc-muted: rgba(20, 20, 20, 0.66);
  --vvc-bg-soft: #f7f4ef;
  --vvc-text: #1d1d1d;
  color: var(--vvc-text);
}

.vvc-team__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  width: min(100%, 980px);
  margin: 0 auto 28px;
  padding: 12px 14px;
  border: 1px solid rgba(230, 154, 173, 0.16);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.035);
}

.vvc-team__field {
  flex: 1 1 320px;
  max-width: 430px;
}

.vvc-team__field label {
  display: block;
  margin: 0 0 6px;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.25;
  color: #1d1d1d;
}

.vvc-team__field input,
.vvc-team__field select {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: 999px;
  padding: 0 16px;
  background: #fff;
  color: inherit;
  font: inherit;
  font-size: 14px;
  line-height: 40px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 4px 14px rgba(0, 0, 0, 0.035);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.vvc-team__field input:focus,
.vvc-team__field select:focus {
  outline: none;
  border-color: rgba(230, 154, 173, 0.72);
  box-shadow: 0 0 0 3px rgba(230, 154, 173, 0.14);
}

.vvc-team__field input:disabled,
.vvc-team__field select:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #f7f7f7;
}

.vvc-team__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin: 0 0 34px;
  text-align: center;
}

.vvc-team__tab {
  border: 1px solid var(--vvc-button-border-color, var(--vvc-border));
  border-radius: var(--vvc-button-radius, 999px);
  padding: var(--vvc-button-padding-y, 10px) var(--vvc-button-padding-x, 18px);
  background: var(--vvc-button-bg, #fff);
  color: var(--vvc-button-color, inherit);
  cursor: pointer;
  font: inherit;
  font-weight: var(--vvc-button-font-weight, 600);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.vvc-team__tab:hover,
.vvc-team__tab.is-active {
  background: var(--vvc-button-active-bg, var(--vvc-bg-soft));
  border-color: var(--vvc-button-active-border-color, currentColor);
  color: var(--vvc-button-active-color, inherit);
  transform: translateY(-1px);
}

.vvc-team__tab:disabled,
.vvc-team__tab.is-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

.vvc-team__grid {
  display: grid;
  grid-template-columns: repeat(var(--vvc-columns, 4), minmax(0, 1fr));
  gap: 28px;
}

.vvc-team-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.vvc-team-card--appearing,
.vvc-team-card--is-hidden {
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
}

.vvc-team-card[hidden] {
  display: none !important;
}

.vvc-team-card__link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--vvc-border);
  border-radius: var(--vvc-radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vvc-team-card__link:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
}

.vvc-team-card__image-wrap {
  display: block;
  aspect-ratio: 4 / 5;
  background: var(--vvc-bg-soft);
  overflow: hidden;
}

.vvc-team-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vvc-team-card__image--empty::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0,0,0,.05), rgba(0,0,0,.12));
}

.vvc-team-card__content {
  display: block;
  padding: 18px;
}

.vvc-team-card__title {
  display: block;
  margin: 0 0 12px;
  font-weight: 700;
  line-height: 1.28;
  font-size: 17px;
}

.vvc-team-card__tags,
.vvc-employee-single__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.vvc-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 10px;
  background: var(--vvc-bg-soft, #f7f4ef);
  color: var(--vvc-muted, rgba(20, 20, 20, 0.66));
  font-size: 12px;
  line-height: 1.2;
  font-weight: 600;
}

.vvc-team .vvc-team-card__tags .vvc-chip {
  font-size: 10px !important;
}

.vvc-team__empty,
.vvc-team__no-results {
  margin: 20px 0 0;
  color: var(--vvc-muted);
}


.vvc-employee-single__back {
  display: inline-flex;
  margin-bottom: 26px;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.vvc-employee-single__hero {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.vvc-employee-single__image-wrap {
  display: block;
  border-radius: var(--vvc-radius, 18px);
  overflow: hidden;
  background: var(--vvc-bg-soft, #f7f4ef);
}

.vvc-employee-single__image-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.vvc-employee-single__department {
  margin: 0 0 10px;
  color: var(--vvc-muted, rgba(20, 20, 20, 0.66));
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
}

.vvc-employee-single__title {
  margin: 0 0 18px;
  line-height: 1.15;
}

.vvc-employee-single__content {
  margin-top: 28px;
  line-height: 1.75;
}

@media (max-width: 1024px) {
  .vvc-team__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .vvc-team__filters {
    align-items: stretch;
    padding: 12px;
    border-radius: 22px;
  }

  .vvc-team__field {
    flex-basis: 100%;
    max-width: none;
  }

  .vvc-employee-single__hero {
    grid-template-columns: 1fr;
  }

  .vvc-team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 549px) {
  .vvc-team__grid {
    grid-template-columns: 1fr;
  }

  .vvc-team__tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .vvc-team__tab {
    flex: 0 0 auto;
  }
}

/* Appointment button and non-nested card button support. */
.vvc-team-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--vvc-border);
  border-radius: var(--vvc-radius);
  overflow: hidden;
}

.vvc-team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.08);
}

.vvc-team-card__link {
  height: auto;
  flex: 1 1 auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  transition: none;
}

.vvc-team-card__link:hover {
  transform: none;
  box-shadow: none;
}

.vvc-team-card__appointment {
  padding: 0 18px 18px;
}

.vvc-appointment-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid var(--vvc-appointment-border-color, currentColor);
  border-radius: var(--vvc-appointment-radius, 999px);
  padding: var(--vvc-appointment-padding-y, 12px) var(--vvc-appointment-padding-x, 22px);
  background: var(--vvc-appointment-bg, #e69aad);
  color: var(--vvc-appointment-color, #fff);
  font: inherit;
  font-weight: var(--vvc-appointment-font-weight, 700);
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.vvc-appointment-button::after {
  content: "";
  display: inline-block;
  width: 0.48em;
  height: 0.48em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.vvc-appointment-button:hover,
.vvc-appointment-button:focus {
  background: var(--vvc-appointment-active-bg, #d9839b);
  border-color: var(--vvc-appointment-active-border-color, #d9839b);
  color: var(--vvc-appointment-active-color, #fff);
  transform: translateY(-1px);
  text-decoration: none;
}

.vvc-appointment-button--card {
  width: 100%;
}

.vvc-team .vvc-team-card__appointment .vvc-appointment-button.vvc-appointment-button--card {
  min-height: 30px !important;
  height: 30px !important;
  max-height: 30px !important;
  padding: 0 20px !important;
  font-size: 14px !important;
  line-height: 1 !important;
}

.vvc-appointment-button--card::after {
  width: 0.42em;
  height: 0.42em;
  border-top-width: 1.5px;
  border-right-width: 1.5px;
}

.vvc-employee-single__appointment {
  margin: 20px 0 0;
}

/* Related employees slider on single employee page. */
.vvc-related-employees {
  --vvc-radius: 18px;
  --vvc-border: rgba(20, 20, 20, 0.12);
  --vvc-muted: rgba(20, 20, 20, 0.66);
  --vvc-bg-soft: #f7f4ef;
  --vvc-text: #1d1d1d;
  margin-top: clamp(42px, 7vw, 90px);
  color: var(--vvc-text);
  position: relative;
}

.vvc-related-employees__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.vvc-related-employees__title {
  margin: 0;
  line-height: 1.2;
}

.vvc-related-employees__title span {
  display: block;
  margin-top: 5px;
  color: var(--vvc-muted);
  font-size: 0.58em;
  font-weight: 700;
}

.vvc-related-employees__nav {
  position: absolute;
  z-index: 5;
  top: calc(50% + 28px);
  left: -22px;
  right: -22px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.vvc-related-employees__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--vvc-border);
  border-radius: 999px;
  background: #fff;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  pointer-events: auto;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.vvc-related-employees__button:hover,
.vvc-related-employees__button:focus {
  border-color: currentColor;
  transform: translateY(-1px);
}

.vvc-related-employees__button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.vvc-related-employees__viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 2px 2px 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.vvc-related-employees__viewport::-webkit-scrollbar {
  display: none;
}

.vvc-related-employees__viewport a {
  cursor: pointer;
}

.vvc-related-employees__track {
  display: flex;
  gap: 28px;
}

.vvc-related-employees .vvc-team-card {
  flex: 0 0 calc((100% - 84px) / 4);
}

.vvc-related-employees .vvc-team-card__tags .vvc-chip {
  font-size: 10px !important;
}

.vvc-related-employees .vvc-team-card__appointment .vvc-appointment-button.vvc-appointment-button--card {
  min-height: 30px !important;
  height: 30px !important;
  max-height: 30px !important;
  padding: 0 20px !important;
  font-size: 14px !important;
  line-height: 1 !important;
}

@media (max-width: 1024px) {
  .vvc-related-employees .vvc-team-card {
    flex-basis: calc((100% - 28px) / 2);
  }
}

@media (max-width: 640px) {
  .vvc-related-employees__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .vvc-related-employees__nav {
    left: 4px;
    right: 4px;
    top: calc(50% + 32px);
  }

  .vvc-related-employees__button {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .vvc-related-employees .vvc-team-card {
    flex-basis: calc((100% - 16px) / 2);
  }

  .vvc-related-employees__track {
    gap: 16px;
  }
}
