/* Original AlphaCode portrait artwork and an actual company-logo watermark. */
body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .team-inner-wrap {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 20px;
  align-items: stretch;
  padding: 12px;
  background: linear-gradient(140deg, #fff 35%, #F3FCFD 100%);
  border: 1px solid rgba(128, 222, 234, .7);
  border-radius: 28px;
  box-shadow: 0 14px 36px rgba(11, 22, 48, .12), inset 0 1px 0 #fff;
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}
body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .team-inner-wrap:is(:hover, :focus-within) {
  border-color: #26C6DA;
  box-shadow: 0 18px 40px rgba(11, 22, 48, .17), inset 0 1px 0 #fff;
}
body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .image-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  margin: 0;
  aspect-ratio: 4 / 5;
  background: #E0F7FA;
  border-radius: 20px;
  overflow: hidden;
}
body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .image-wrap > a { display: block; width: 100%; height: 100%; }
body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
/* The fading signal field sits below faces and cannot intercept portrait links. */
body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .image-wrap::before,
body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .image-wrap::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .image-wrap::before {
  inset: 48% 0 0;
  background: linear-gradient(to top, rgba(0, 96, 100, .18), transparent 92%);
  z-index: 1;
}
body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .image-wrap::after {
  inset: 40% -2px -2px;
  background: url("../svg/team-signal-art.svg") center bottom / 100% 100% no-repeat;
  mask-image: linear-gradient(to top, #000 45%, transparent 100%);
  opacity: .72;
  z-index: 2;
  transition: opacity .3s ease;
}
html[dir="rtl"] body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .image-wrap::after { transform: scaleX(-1); }
body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .team-inner-wrap:is(:hover, :focus-within) .image-wrap::after { opacity: 1; }
body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .team-content {
  position: relative;
  isolation: isolate;
  width: auto;
  min-width: 0;
  max-width: 100%;
  padding: 16px 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 36px;
  text-align: start;
}
body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .team-content::before {
  content: "";
  position: absolute;
  inset-inline: 12px;
  top: 39%;
  height: 78px;
  background: #00838F;
  mask: url("https://alpha-code.net/wp-content/uploads/2025/01/W-330px-H-80px.png") center / contain no-repeat;
  opacity: .13;
  pointer-events: none;
  z-index: -1;
}
body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .team-content::after {
  content: "";
  position: absolute;
  inset: 35% -24px -30px;
  background: radial-gradient(ellipse at 20% 100%, rgba(38, 198, 218, .15), transparent 68%);
  pointer-events: none;
  z-index: -2;
}
body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .contact-part { position: relative; z-index: 3; }
body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .info-part { position: relative; z-index: 1; }
body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .team-name { margin: 0 0 8px; font-size: 23px; line-height: 1.45; }
body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .team-name a { color: #0B1630; }
body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .team-title { display: block; color: #006064; font-size: 15px; line-height: 1.7; }
body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .team-name a:is(:hover, :focus-visible) { color: #00838F; }
body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .team-name a:focus-visible { outline: 2px solid #00838F; outline-offset: 3px; }
@media (max-width: 1366px) {
  body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .team-inner-wrap { gap: 14px; }
  body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .team-content { padding: 12px 6px; }
  body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .team-name { font-size: 21px; }
}
@media (max-width: 767px) {
  body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .team-inner-wrap { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 12px; padding: 10px; border-radius: 22px; }
  body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .team-content { padding: 8px 4px; gap: 20px; }
  body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .team-content::before { inset-inline: 4px; top: 30%; height: 52px; opacity: .1; }
  body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .image-wrap { border-radius: 15px; }
  body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .team-name { font-size: 19px; }
  body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .team-title { font-size: 13px; }
}
/* Keep neighboring cards level; narrow screens give each portrait its full width. */
body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .swiper-wrapper { align-items: stretch; }
body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .team-item { display: flex; height: auto; }
body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .team-inner-wrap { flex: 1; width: 100%; }
@media (max-width: 900px) {
  body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .team-inner-wrap { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 8px; }
  body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .team-content { min-height: 210px; padding: 12px 8px; gap: 20px; }
  body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .team-content::before { top: auto; bottom: 22px; inset-inline: auto 8px; width: 76px; height: 54px; mask-size: 156px 54px; mask-position: right center; opacity: .12; }
  body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .info-part { padding-inline-end: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .team-inner-wrap,
  body.home.ac-bidi .ac-team-cards.elementor-widget-rsteam-slider .rs-team-slider.team-slider-style13 .image-wrap::after { transition: none; }
}
