.-ycwt-maher_technician_cards {
  --mt-gold: #ffc400;
  position: relative;
  overflow: hidden;
  padding: 48px 0;
  color: #fff;
  background:
    radial-gradient(circle at 50% -30%, rgb(255 196 0 / 10%), transparent 37%),
    #090a0a;
}
.-ycwt-maher_technician_cards * {
  box-sizing: border-box;
}
.-ycwt-maher_technician_cards .mtw-wrap {
  direction: rtl;
}
.-ycwt-maher_technician_cards .mtw-wrap > header {
  max-width: 690px;
  margin: 0 auto 25px;
  text-align: center;
}
.-ycwt-maher_technician_cards .mtw-wrap > header > span {
  color: var(--mt-gold);
  font-size: 12px;
  font-weight: 900;
}
.-ycwt-maher_technician_cards .mtw-wrap > header > h2,
.-ycwt-maher_technician_cards .mtw-wrap > header > h3,
.-ycwt-maher_technician_cards .mtw-wrap > header > h4,
.-ycwt-maher_technician_cards .mtw-wrap > header > div {
  margin: 6px 0 0;
  color: #fff;
  font-size: 31px;
  font-weight: 900;
  line-height: 1.35;
}
.-ycwt-maher_technician_cards .mtw-wrap > header > p {
  margin: 7px 0 0;
  color: rgb(255 255 255 / 60%);
  font-size: 13px;
  line-height: 1.8;
}
.-ycwt-maher_technician_cards .mtw-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.-ycwt-maher_technician_cards .mt-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 9%);
  border-radius: 13px;
  background: #121313;
  box-shadow: 0 16px 36px rgb(0 0 0 / 17%);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}
.-ycwt-maher_technician_cards .mt-card:hover {
  border-color: rgb(255 196 0 / 35%);
  transform: translateY(-4px);
}
.-ycwt-maher_technician_cards .mt-card__media {
  position: relative;
  height: 235px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(145deg, #26231b, #111);
}
.-ycwt-maher_technician_cards .mt-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(transparent, rgb(0 0 0 / 65%));
}
.-ycwt-maher_technician_cards .mt-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.-ycwt-maher_technician_cards .mt-card__media > span {
  height: 100%;
  display: flex;
  align-items: center;
  color: var(--mt-gold);
  font-size: 70px;
}
.-ycwt-maher_technician_cards .mt-card__media em {
  position: absolute;
  z-index: 2;
  inset: auto 10px 10px auto;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border-radius: 99px;
  color: #171200;
  background: var(--mt-gold);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}
.-ycwt-maher_technician_cards .mt-card__body {
  padding: 14px;
}
.-ycwt-maher_technician_cards .mt-card__body h3 {
  margin: 0;
}
.-ycwt-maher_technician_cards .mt-card__body h3 a {
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none;
}
.-ycwt-maher_technician_cards .mt-card__body > p {
  height: 42px;
  overflow: hidden;
  margin: 4px 0 0;
  color: rgb(255 255 255 / 56%);
  font-size: 12px;
  line-height: 1.75;
}
.-ycwt-maher_technician_cards .mt-card__stats {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  margin-top: 10px;
  padding: 9px 0;
  border-block: 1px solid rgb(255 255 255 / 7%);
}
.-ycwt-maher_technician_cards .mt-card__stats span {
  color: rgb(255 255 255 / 72%);
  font-size: 11px;
  font-weight: 800;
}
.-ycwt-maher_technician_cards .mt-card__stats i {
  margin-left: 3px;
  color: var(--mt-gold);
}
.-ycwt-maher_technician_cards .mt-card__actions {
  display: flex;
  gap: 6px;
  margin-top: 11px;
}
.-ycwt-maher_technician_cards .mt-card__actions a {
  min-height: 35px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(255 196 0 / 30%);
  border-radius: 6px;
  color: var(--mt-gold);
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}
.-ycwt-maher_technician_cards .mt-card__actions a:last-child {
  color: #111;
  background: var(--mt-gold);
}
/* Tablet Responsive */
@media (max-width: 1024px) {
  .-ycwt-maher_technician_cards .container {
    padding-inline: 24px;
  }
  .-ycwt-maher_technician_cards .mtw-wrap {
    direction: inherit;
    overflow-wrap: anywhere;
  }
  .-ycwt-maher_technician_cards .mtw-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .-ycwt-maher_technician_cards .mt-card {
    display: flex;
    flex-direction: column;
  }
  .-ycwt-maher_technician_cards .mt-card__media {
    flex-shrink: 0;
  }
  .-ycwt-maher_technician_cards .mt-card__media em {
    right: auto;
    left: auto;
    inset-inline-start: 10px;
    max-width: calc(100% - 20px);
    white-space: normal;
  }
  .-ycwt-maher_technician_cards .mt-card__body {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px;
  }
  .-ycwt-maher_technician_cards .mt-card__body h3 a {
    min-height: 44px;
    display: flex;
    align-items: center;
    line-height: 1.5;
  }
  .-ycwt-maher_technician_cards .mt-card__body > p {
    height: auto;
    min-height: 42px;
    overflow: visible;
    margin-bottom: auto;
    font-size: 14px;
  }
  .-ycwt-maher_technician_cards .mt-card__stats {
    flex-wrap: wrap;
  }
  .-ycwt-maher_technician_cards .mt-card__stats span {
    min-width: 0;
    max-width: 100%;
    font-size: 13px;
  }
  .-ycwt-maher_technician_cards .mt-card__stats i {
    margin-left: 0;
    margin-inline-end: 3px;
  }
  .-ycwt-maher_technician_cards .mt-card__actions {
    flex-wrap: wrap;
    gap: 8px;
  }
  .-ycwt-maher_technician_cards .mt-card__actions a {
    min-width: 0;
    min-height: 44px;
    flex: 1 1 100px;
    padding: 10px 8px;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
    white-space: normal;
  }
  .-ycwt-maher_technician_cards a {
    touch-action: manipulation;
  }
  .-ycwt-maher_technician_cards a:focus-visible {
    outline: 3px solid var(--mt-gold);
    outline-offset: 2px;
  }
  .-ycwt-maher_technician_cards .mt-card__media:focus-visible {
    outline-offset: -4px;
  }
  .-ycwt-maher_technician_cards a:active {
    filter: brightness(.85);
  }
}
/* Mobile App Experience */
@media (max-width: 760px) {
  .-ycwt-maher_technician_cards {
    padding: 34px 0;
  }
  .-ycwt-maher_technician_cards .mtw-grid {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 6px 6px 14px;
    scroll-padding-inline: 6px;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .-ycwt-maher_technician_cards .mtw-grid::-webkit-scrollbar {
    display: none;
  }
  .-ycwt-maher_technician_cards .mt-card {
    min-width: 0;
    flex: 0 0 min(84%, 300px);
    scroll-snap-align: start;
  }
  .-ycwt-maher_technician_cards .mtw-wrap > header > h2,
  .-ycwt-maher_technician_cards .mtw-wrap > header > h3,
  .-ycwt-maher_technician_cards .mtw-wrap > header > h4,
  .-ycwt-maher_technician_cards .mtw-wrap > header > div {
    font-size: 25px;
  }
}
/* Small Mobile Adjustments */
@media (max-width: 520px) {
  .-ycwt-maher_technician_cards .container {
    padding-inline: 14px;
  }
  .-ycwt-maher_technician_cards .mtw-wrap > header {
    text-align: start;
  }
  .-ycwt-maher_technician_cards .mtw-wrap > header > p {
    font-size: 13px;
  }
  .-ycwt-maher_technician_cards .mt-card__media {
    height: 220px;
  }
}

@media (max-width: 1024px) and (hover: none) {
  .-ycwt-maher_technician_cards .mt-card:hover {
    border-color: rgb(255 255 255 / 9%);
    transform: none;
  }
}

@media (max-width: 1024px) and (prefers-reduced-motion: reduce) {
  .-ycwt-maher_technician_cards .mt-card {
    transition: none;
  }
}
