/* Timmer Team Plugin v2 */

.team-section {
  padding: 45px 20px;
  background: #ffffff;
  font-family: Arial, sans-serif;
  color: #425052;
}

.team-container {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}

.team-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #ea5b1b;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11px;
}

.team-section h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 28px;
  font-weight: 800;
  color: #425052;
}

.team-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 42px;
}

.team-tabs button {
  border: 2px solid #425052;
  color: #425052;
  background: transparent;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.25s ease;
}

.team-tabs button.active,
.team-tabs button:hover {
  background: #ea5b1b;
  border-color: #ea5b1b;
  color: #ffffff;
}

.team-panel {
  display: none;
}

.team-panel.active {
  display: block;
}

.team-group {
  margin-bottom: 42px;
}

.team-group-title {
  text-align: left;
  font-size: 20px;
  color: #425052;
  margin: 0 0 18px;
  font-weight: 800;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: left;
}

.team-grid-leads {
  grid-template-columns: repeat(2, 1fr);
  max-width: 590px;
}

.team-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(66, 80, 82, 0.08);
  transition: 0.25s ease;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(66, 80, 82, 0.14);
}

.team-card.highlight {
  border: 1.5px solid rgba(234, 91, 27, 0.35);
}

.team-image {
  height: 190px;
  overflow: hidden;
  background: #e9ebf0;
}

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

.team-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f3f3;
  color: #ea5b1b;
  font-size: 48px;
  font-weight: 800;
}

.team-content {
  padding: 16px;
}

.team-content h3 {
  margin: 0 0 5px;
  font-size: 17px;
  font-weight: 800;
  color: #425052;
}

.position {
  margin: 0 0 12px;
  color: #ea5b1b;
  font-weight: 700;
  font-size: 13px;
}

.team-content a,
.phone {
  display: block;
  color: #425052;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.5;
  word-break: break-word;
}

.team-content a:hover {
  color: #ea5b1b;
  text-decoration: underline;
}

.phone {
  margin-top: 4px;
  color: #7a8587;
}

@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-grid-leads {
    grid-template-columns: repeat(2, 1fr);
    max-width: 590px;
  }
}

@media (max-width: 800px) {
  .team-grid,
  .team-grid-leads {
    grid-template-columns: repeat(2, 1fr);
    max-width: none;
  }
}

@media (max-width: 520px) {
  .team-section {
    padding: 38px 14px;
  }

  .team-grid,
  .team-grid-leads {
    grid-template-columns: 1fr;
  }

  .team-image {
    height: 260px;
  }

  .team-tabs {
    justify-content: flex-start;
    gap: 10px;
  }

  .team-tabs button {
    width: 100%;
  }
}


.timmer-location-panel {
  display: none;
}

.timmer-location-panel.active {
  display: block;
}

.timmer-location-tabs {
  margin-bottom: 40px;
}


/* Standort-Filter Ansicht */
.timmer-location-filter-wrapper {
  margin-bottom: 0;
}

.timmer-location-tabs {
  margin: 0 auto 18px;
  padding: 8px;
  display: inline-flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  background: #f6f7f7;
  border-radius: 999px;
}

.timmer-location-tabs button {
  border: 1px solid transparent;
  background: transparent;
  color: #425052;
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
}

.timmer-location-tabs button.active,
.timmer-location-tabs button:hover {
  background: #ea5b1b;
  border-color: #ea5b1b;
  color: #ffffff;
}

.timmer-location-panel > .team-section {
  padding-top: 8px;
}

.timmer-location-panel .team-section h2 {
  margin-bottom: 24px;
}

.timmer-location-panel .team-tabs {
  margin-bottom: 34px;
}

@media (max-width: 520px) {
  .timmer-location-tabs {
    display: flex;
    border-radius: 18px;
    width: 100%;
  }

  .timmer-location-tabs button {
    width: auto;
    flex: 1 1 auto;
  }

  .timmer-location-panel > .team-section {
    padding-top: 4px;
  }
}


/* Update 2.7: Standort-Navigation als zentrierte Premium-Leiste */
.timmer-location-filter-wrapper {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.timmer-location-filter-wrapper > .team-tabs.timmer-location-tabs {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 26px !important;
  padding: 0 0 14px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  gap: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  border-bottom: 1px solid rgba(66, 80, 82, 0.16);
}

.timmer-location-filter-wrapper > .team-tabs.timmer-location-tabs button {
  position: relative;
  width: auto !important;
  min-width: 120px;
  padding: 14px 28px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #425052 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

.timmer-location-filter-wrapper > .team-tabs.timmer-location-tabs button:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 22px;
  background: rgba(66, 80, 82, 0.18);
  transform: translateY(-50%);
}

.timmer-location-filter-wrapper > .team-tabs.timmer-location-tabs button::before {
  content: "⌖";
  display: inline-block;
  margin-right: 8px;
  color: #425052;
  font-size: 17px;
  line-height: 1;
  transform: translateY(1px);
}

.timmer-location-filter-wrapper > .team-tabs.timmer-location-tabs button.active {
  color: #ea5b1b !important;
}

.timmer-location-filter-wrapper > .team-tabs.timmer-location-tabs button.active::before {
  color: #ea5b1b;
}

.timmer-location-filter-wrapper > .team-tabs.timmer-location-tabs button.active::after {
  background: rgba(66, 80, 82, 0.18);
}

.timmer-location-filter-wrapper > .team-tabs.timmer-location-tabs button.active span,
.timmer-location-filter-wrapper > .team-tabs.timmer-location-tabs button:hover {
  color: #ea5b1b !important;
}

.timmer-location-filter-wrapper > .team-tabs.timmer-location-tabs button.active::marker {
  color: #ea5b1b;
}

.timmer-location-filter-wrapper > .team-tabs.timmer-location-tabs button.active {
  border-bottom: 3px solid #ea5b1b !important;
}

.timmer-location-panel {
  display: none;
}

.timmer-location-panel.active {
  display: block;
}

.timmer-location-panel > .team-section {
  padding-top: 10px !important;
}

.timmer-location-panel .team-container {
  max-width: 1180px;
}

.timmer-location-panel .team-kicker {
  margin-top: 0;
}

.timmer-location-panel .team-section h2 {
  margin-bottom: 26px !important;
}

.timmer-location-panel .team-tabs:not(.timmer-location-tabs) {
  margin-bottom: 34px !important;
}

@media (max-width: 700px) {
  .timmer-location-filter-wrapper {
    padding: 0 14px;
  }

  .timmer-location-filter-wrapper > .team-tabs.timmer-location-tabs {
    justify-content: flex-start !important;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px !important;
  }

  .timmer-location-filter-wrapper > .team-tabs.timmer-location-tabs button {
    min-width: auto;
    padding: 12px 18px !important;
    flex: 0 0 auto;
  }

  .timmer-location-filter-wrapper > .team-tabs.timmer-location-tabs button:not(:last-child)::after {
    height: 18px;
  }
}


/* Update 2.8 - Standortleiste optimiert */
.timmer-location-filter-wrapper > .team-tabs.timmer-location-tabs {
  flex-wrap: nowrap !important;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  gap: 0 !important;
  scrollbar-width: none;
}

.timmer-location-filter-wrapper > .team-tabs.timmer-location-tabs::-webkit-scrollbar {
  display: none;
}

.timmer-location-filter-wrapper > .team-tabs.timmer-location-tabs button {
  flex: 0 0 auto;
}

.timmer-location-filter-wrapper > .team-tabs.timmer-location-tabs button::before {
  display: none !important;
  content: none !important;
}

@media (max-width: 900px) {
  .timmer-location-filter-wrapper > .team-tabs.timmer-location-tabs {
    justify-content: flex-start !important;
  }
}


/* Update 2.9 - Desktop ohne Scrollen, Mobile Dropdown */
.timmer-location-filter-wrapper > .team-tabs.timmer-location-tabs {
  flex-wrap: nowrap !important;
  overflow: visible !important;
  white-space: normal !important;
  max-width: 1180px !important;
  width: 100% !important;
  justify-content: center !important;
  gap: 0 !important;
}

.timmer-location-filter-wrapper > .team-tabs.timmer-location-tabs button {
  min-width: 0 !important;
  flex: 1 1 0 !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  text-align: center !important;
}

.timmer-location-select-wrap {
  display: none;
  width: 100%;
  max-width: 420px;
  margin: 0 auto 24px;
  text-align: left;
}

.timmer-location-select-wrap label {
  display: block;
  margin-bottom: 8px;
  color: #425052;
  font-size: 13px;
  font-weight: 700;
}

.timmer-location-select {
  width: 100%;
  appearance: auto;
  -webkit-appearance: menulist;
  background: #ffffff;
  border: 1.5px solid rgba(66, 80, 82, 0.35);
  border-radius: 14px;
  color: #425052;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 16px;
  cursor: pointer;
}

.timmer-location-select:focus {
  outline: none;
  border-color: #ea5b1b;
  box-shadow: 0 0 0 3px rgba(234, 91, 27, 0.14);
}

@media (max-width: 760px) {
  .timmer-location-filter-wrapper > .team-tabs.timmer-location-tabs {
    display: none !important;
  }

  .timmer-location-select-wrap {
    display: block !important;
  }

  .timmer-location-panel > .team-section {
    padding-top: 6px !important;
  }
}

@media (min-width: 761px) {
  .timmer-location-filter-wrapper > .team-tabs.timmer-location-tabs {
    display: flex !important;
  }
}


/* Update 3.0 - Mobile Standort-Dropdown zuverlässig erzwingen */
.timmer-location-select-wrap {
  display: none;
}

@media screen and (max-width: 768px) {
  .timmer-location-filter-wrapper {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .timmer-location-filter-wrapper > .team-tabs.timmer-location-tabs,
  .timmer-location-tabs {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .timmer-location-select-wrap {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    max-width: 420px !important;
    margin: 18px auto 28px !important;
    text-align: left !important;
  }

  .timmer-location-select-wrap label {
    display: block !important;
    margin: 0 0 8px !important;
    color: #425052 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
  }

  .timmer-location-select {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    height: auto !important;
    min-height: 52px !important;
    background: #ffffff !important;
    border: 1.5px solid rgba(66, 80, 82, 0.35) !important;
    border-radius: 14px !important;
    color: #425052 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 14px 16px !important;
    line-height: 1.2 !important;
    appearance: auto !important;
    -webkit-appearance: menulist !important;
    cursor: pointer !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .timmer-location-panel > .team-section {
    padding-top: 0 !important;
  }

  .timmer-location-panel .team-tabs:not(.timmer-location-tabs) {
    display: flex !important;
    visibility: visible !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    margin-bottom: 28px !important;
  }
}

@media screen and (min-width: 769px) {
  .timmer-location-select-wrap {
    display: none !important;
  }

  .timmer-location-filter-wrapper > .team-tabs.timmer-location-tabs {
    display: flex !important;
    visibility: visible !important;
    height: auto !important;
    max-height: none !important;
  }
}


/* Update 3.1 - Standortnavigation technisch getrennt + Mobile Dropdown */
.timmer-location-filter-wrapper .timmer-location-tabs {
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto 26px !important;
  padding: 0 0 14px !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border-radius: 0 !important;
  border-bottom: 1px solid rgba(66, 80, 82, 0.16) !important;
  white-space: normal !important;
}

.timmer-location-filter-wrapper .timmer-location-tabs button {
  position: relative !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: auto !important;
  padding: 14px 10px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #425052 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  text-align: center !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

.timmer-location-filter-wrapper .timmer-location-tabs button::before {
  display: none !important;
  content: none !important;
}

.timmer-location-filter-wrapper .timmer-location-tabs button:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 22px;
  background: rgba(66, 80, 82, 0.18);
  transform: translateY(-50%);
}

.timmer-location-filter-wrapper .timmer-location-tabs button.active {
  color: #ea5b1b !important;
  border-bottom: 3px solid #ea5b1b !important;
}

.timmer-location-select-wrap {
  display: none !important;
}

@media screen and (max-width: 768px) {
  .timmer-location-filter-wrapper .timmer-location-tabs {
    display: none !important;
  }

  .timmer-location-select-wrap {
    display: block !important;
    width: calc(100% - 36px) !important;
    max-width: 420px !important;
    margin: 18px auto 26px !important;
    text-align: left !important;
  }

  .timmer-location-select-wrap label {
    display: block !important;
    margin: 0 0 8px !important;
    color: #425052 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
  }

  .timmer-location-select {
    display: block !important;
    width: 100% !important;
    min-height: 54px !important;
    background: #ffffff !important;
    color: #425052 !important;
    border: 1.5px solid rgba(66, 80, 82, 0.35) !important;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    appearance: auto !important;
    -webkit-appearance: menulist !important;
  }

  .timmer-location-panel .team-tabs {
    display: flex !important;
    visibility: visible !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
}


/* Update 3.2 - Leitung sauber nebeneinander */
.team-grid-leads {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 18px !important;
  max-width: 100% !important;
  width: 100% !important;
}

.team-grid-leads .team-card {
  width: 100% !important;
}

@media (max-width: 768px) {
  .team-grid-leads {
    grid-template-columns: 1fr !important;
  }
}


/* Update 3.3 - Leiter gleiche Kartengröße wie Mitarbeiter */
.team-grid-leads {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 18px !important;
  width: 100% !important;
  max-width: 100% !important;
}

.team-grid-leads .team-card {
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 1100px) {
  .team-grid-leads {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 800px) {
  .team-grid-leads {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 520px) {
  .team-grid-leads {
    grid-template-columns: 1fr !important;
  }
}


/* Update 4.0 - stabiler Namespace gegen Theme-Konflikte */
.timmer-team-root,
.timmer-team-root * {
  box-sizing: border-box;
}

.timmer-team-root {
  width: 100% !important;
  padding: 45px 20px !important;
  background: #ffffff !important;
  font-family: Arial, sans-serif !important;
  color: #425052 !important;
}

.timmer-team-root .team-container {
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.timmer-team-root .team-kicker {
  display: inline-block !important;
  margin-bottom: 8px !important;
  color: #ea5b1b !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  font-size: 11px !important;
}

.timmer-team-root h2 {
  font-size: clamp(24px, 3vw, 34px) !important;
  margin: 0 0 28px !important;
  font-weight: 800 !important;
  color: #425052 !important;
  line-height: 1.2 !important;
}

.timmer-team-root .team-tabs:not(.timmer-location-tabs) {
  display: flex !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin: 0 0 34px !important;
}

.timmer-team-root .team-tabs:not(.timmer-location-tabs) button {
  border: 2px solid #425052 !important;
  color: #425052 !important;
  background: transparent !important;
  border-radius: 999px !important;
  padding: 12px 24px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  min-width: auto !important;
  width: auto !important;
}

.timmer-team-root .team-tabs:not(.timmer-location-tabs) button.active,
.timmer-team-root .team-tabs:not(.timmer-location-tabs) button:hover {
  background: #ea5b1b !important;
  border-color: #ea5b1b !important;
  color: #ffffff !important;
}

.timmer-team-root .team-panel {
  display: none !important;
}

.timmer-team-root .team-panel.active {
  display: block !important;
}

.timmer-team-root .team-group {
  margin-bottom: 42px !important;
}

.timmer-team-root .team-group-title {
  text-align: left !important;
  font-size: 20px !important;
  color: #425052 !important;
  margin: 0 0 18px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

.timmer-team-root .team-grid,
.timmer-team-root .team-grid-leads {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  text-align: left !important;
  width: 100% !important;
  max-width: 100% !important;
}

.timmer-team-root .team-card {
  width: 100% !important;
  max-width: 100% !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 10px 26px rgba(66, 80, 82, 0.08) !important;
  transition: 0.25s ease !important;
  margin: 0 !important;
}

.timmer-team-root .team-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 18px 38px rgba(66, 80, 82, 0.14) !important;
}

.timmer-team-root .team-card.highlight {
  border: 1.5px solid rgba(234, 91, 27, 0.35) !important;
}

.timmer-team-root .team-image {
  height: 190px !important;
  overflow: hidden !important;
  background: #e9ebf0 !important;
}

.timmer-team-root .team-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.timmer-team-root .team-placeholder {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f1f3f3 !important;
  color: #ea5b1b !important;
  font-size: 48px !important;
  font-weight: 800 !important;
}

.timmer-team-root .team-content {
  padding: 16px !important;
}

.timmer-team-root .team-content h3 {
  margin: 0 0 5px !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #425052 !important;
  line-height: 1.3 !important;
}

.timmer-team-root .position {
  margin: 0 0 12px !important;
  color: #ea5b1b !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}

.timmer-team-root .team-content a,
.timmer-team-root .phone {
  display: block !important;
  color: #425052 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  word-break: break-word !important;
}

.timmer-team-root .team-content a:hover {
  color: #ea5b1b !important;
  text-decoration: underline !important;
}

.timmer-team-root .phone {
  margin-top: 4px !important;
  color: #7a8587 !important;
}

.timmer-location-filter-wrapper {
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
}

.timmer-location-filter-wrapper .timmer-location-tabs {
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto 26px !important;
  padding: 0 0 14px !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  border-radius: 0 !important;
  border-bottom: 1px solid rgba(66, 80, 82, 0.16) !important;
}

.timmer-location-filter-wrapper .timmer-location-tabs button {
  position: relative !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: auto !important;
  padding: 14px 10px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #425052 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  text-align: center !important;
  box-shadow: none !important;
  cursor: pointer !important;
}

.timmer-location-filter-wrapper .timmer-location-tabs button::before {
  display: none !important;
  content: none !important;
}

.timmer-location-filter-wrapper .timmer-location-tabs button:not(:last-child)::after {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  width: 1px !important;
  height: 22px !important;
  background: rgba(66, 80, 82, 0.18) !important;
  transform: translateY(-50%) !important;
}

.timmer-location-filter-wrapper .timmer-location-tabs button.active {
  color: #ea5b1b !important;
  border-bottom: 3px solid #ea5b1b !important;
}

.timmer-location-select-wrap {
  display: none !important;
}

@media (max-width: 1100px) {
  .timmer-team-root .team-grid,
  .timmer-team-root .team-grid-leads {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 800px) {
  .timmer-team-root .team-grid,
  .timmer-team-root .team-grid-leads {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media screen and (max-width: 768px) {
  .timmer-location-filter-wrapper .timmer-location-tabs {
    display: none !important;
  }

  .timmer-location-select-wrap {
    display: block !important;
    width: calc(100% - 36px) !important;
    max-width: 420px !important;
    margin: 18px auto 26px !important;
    text-align: left !important;
  }

  .timmer-location-select-wrap label {
    display: block !important;
    margin: 0 0 8px !important;
    color: #425052 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
  }

  .timmer-location-select {
    display: block !important;
    width: 100% !important;
    min-height: 54px !important;
    background: #ffffff !important;
    color: #425052 !important;
    border: 1.5px solid rgba(66, 80, 82, 0.35) !important;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    appearance: auto !important;
    -webkit-appearance: menulist !important;
  }

  .timmer-team-root .team-tabs:not(.timmer-location-tabs) {
    display: flex !important;
    visibility: visible !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

@media (max-width: 520px) {
  .timmer-team-root {
    padding: 38px 14px !important;
  }

  .timmer-team-root .team-grid,
  .timmer-team-root .team-grid-leads {
    grid-template-columns: 1fr !important;
  }

  .timmer-team-root .team-image {
    height: 260px !important;
  }
}
