/* DEVASA — Ekibimiz tek zincir: .dm-home-team-section + .dm-home-team-card (5 kart aynı) */

.page-wrapper .team-section.dm-home-team-section {
  overflow: visible !important;
  margin: 0 60px;
  border-radius: 40px !important;
  border: 1px solid rgba(255, 255, 255, 0.13);
  position: relative;
  z-index: 10;
  background: transparent !important;
  background-image: none !important;
}

.page-wrapper .team-section.dm-home-team-section::before {
  display: none !important;
  content: none !important;
}

.page-wrapper .team-section.dm-home-team-section .dm-home-team-section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: 40px;
  pointer-events: none;
  background: url("/images/portal-ai/dm-portal-team-section-background.png") center / cover no-repeat;
}

.page-wrapper .team-section.dm-home-team-section .light-shape,
.page-wrapper .team-section.dm-home-team-section .team-shape {
  position: absolute !important;
  z-index: 5 !important;
  pointer-events: none !important;
}

.page-wrapper .team-section.dm-home-team-section .light-shape img,
.page-wrapper .team-section.dm-home-team-section .team-shape img {
  pointer-events: none !important;
}

.page-wrapper .team-section.dm-home-team-section .light-shape {
  top: -41% !important;
  right: -110px !important;
}

.page-wrapper .team-section.dm-home-team-section .team-shape {
  top: -15% !important;
  right: -110px !important;
}

@media (max-width: 1699.98px) {
  .page-wrapper .team-section.dm-home-team-section {
    margin: 0 35px;
  }
}

@media (max-width: 1399.98px) {
  .page-wrapper .team-section.dm-home-team-section {
    margin: 0 28px;
  }

  .page-wrapper .team-section.dm-home-team-section .light-shape,
  .page-wrapper .team-section.dm-home-team-section .team-shape {
    display: none !important;
  }
}

@media (max-width: 1199.98px) {
  .page-wrapper .team-section.dm-home-team-section {
    margin: 0 20px;
  }
}

@media (max-width: 469.98px) {
  .page-wrapper .team-section.dm-home-team-section {
    margin: 0 16px;
  }
}

.page-wrapper .team-section.dm-home-team-section .dm-team-testimonial-effect {
  display: none !important;
}

.page-wrapper .team-section.dm-home-team-section .container {
  position: relative;
  z-index: 8;
}

.page-wrapper .team-section.dm-home-team-section .dm-team-grid {
  position: relative;
  z-index: 9;
}

.page-wrapper .team-section.dm-home-team-section .dm-team-col {
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
  z-index: 1;
}

.page-wrapper .team-section.dm-home-team-section .dm-team-col:hover,
.page-wrapper .team-section.dm-home-team-section .dm-team-col:has(.dm-team-card-active) {
  z-index: 12;
}

.page-wrapper .team-section.dm-home-team-section .team-block {
  height: 100%;
}

.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card {
  margin-top: 30px;
  position: relative;
  width: 100%;
  aspect-ratio: 424 / 598;
  overflow: hidden !important;
  border-radius: 30px !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card::after,
.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card .image-block::after {
  display: none !important;
  content: none !important;
}

.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card:hover {
  transform: none !important;
  box-shadow: none !important;
  border: none !important;
}

.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card .image-block {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: unset !important;
  overflow: hidden !important;
  border-radius: 30px !important;
  transition: all 0.4s ease-in-out;
  pointer-events: none;
}

.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card .image-block::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  content: "";
  position: absolute;
  z-index: 2;
  border-radius: 30px;
  pointer-events: none;
  transition: all 0.4s ease-in-out;
  background: linear-gradient(360deg, #000000 11.41%, rgba(0, 0, 0, 0) 100%) !important;
}

.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card .image-block img {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  display: block;
  object-fit: cover;
  object-position: center top;
  transition: all 500ms ease;
}

.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card .image-block .dm-team-img-blur {
  position: absolute !important;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  transform: translate(50%) scaleX(2) !important;
  opacity: 0 !important;
  filter: blur(10px) !important;
}

.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card .image-block .dm-team-img-base {
  position: absolute !important;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
}

.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card .content-block {
  position: absolute !important;
  z-index: 10 !important;
  left: 50% !important;
  right: auto !important;
  bottom: 24px !important;
  width: calc(100% - 32px) !important;
  max-width: calc(100% - 32px);
  text-align: center !important;
  transform: translate3d(-50%, 0, 0) !important;
  transition: transform 0.4s ease-in-out !important;
  pointer-events: none;
}

.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card .content-block a {
  pointer-events: auto;
}

.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card:hover .content-block,
.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card.dm-team-card-active .content-block {
  transform: translate3d(-50%, 0, 0) !important;
}

.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card:hover .image-block::before,
.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card.dm-team-card-active .image-block::before {
  background: linear-gradient(360deg, rgba(255, 107, 30, 0.38) 6%, rgba(0, 0, 0, 0.12) 42%, rgba(0, 0, 0, 0) 100%) !important;
}

.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card:hover .image-block .dm-team-img-blur,
.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card.dm-team-card-active .image-block .dm-team-img-blur {
  transform: translate(0) scaleX(1) !important;
  opacity: 1 !important;
  filter: blur(0) !important;
}

.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card:hover .image-block .dm-team-img-base,
.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card.dm-team-card-active .image-block .dm-team-img-base {
  transform: translateX(-50%) scaleX(2) !important;
  opacity: 0 !important;
  filter: blur(10px) !important;
}

.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card .content-block .social-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 3px !important;
  margin-top: 14px !important;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease-in-out;
}

.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card:hover .content-block .social-icon,
.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card.dm-team-card-active .content-block .social-icon {
  opacity: 1 !important;
  visibility: visible !important;
}

.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card .content-block .social-icon a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  border: 2px solid rgba(255, 107, 30, 0.72) !important;
  border-radius: 10px !important;
  background: linear-gradient(180deg, rgba(18, 18, 22, 0.88) 0%, rgba(8, 8, 12, 0.78) 100%) !important;
  color: #fff !important;
  font-size: 13px !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32) !important;
}

.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card .content-block .title::after {
  content: none !important;
}

.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card .content-block .title a {
  position: relative !important;
  display: inline-block !important;
  padding-bottom: 4px !important;
  text-decoration: none !important;
  background-image: none !important;
}

.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card .content-block .title a::after {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  content: "";
  border-radius: 99px;
  background: var(--theme-color1, #ff6b1e);
  transform: translateX(-50%);
  transition: width 0.32s ease;
}

.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card:hover .content-block .title a::after,
.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card.dm-team-card-active .content-block .title a::after,
.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card .content-block .title a:hover::after {
  width: 100%;
}

.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card .content-block .title a:hover {
  color: #fff !important;
  background-image: none !important;
}

.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card .content-block .text {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #fff !important;
}

.page-wrapper .team-section.dm-home-team-section .sec-title > .sub-title,
.page-wrapper .team-section.dm-home-team-section .sec-title > .sub-title.tm-sub-tilte,
.page-wrapper .team-section.dm-home-team-section .sec-title > .sub-title.tx-subTitle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin: 0 auto 14px !important;
  text-align: center !important;
}

.page-wrapper .team-section.dm-home-team-section .sec-title.text-center > .sub-title::after,
.page-wrapper .team-section.dm-home-team-section .sec-title > .sub-title.tm-sub-tilte::after,
.page-wrapper .team-section.dm-home-team-section .sec-title > .sub-title.tx-subTitle::after {
  left: 0 !important;
  right: auto !important;
  width: 0 !important;
  max-width: 100% !important;
}

.page-wrapper .team-section.dm-home-team-section .sec-title.text-center > .sub-title:hover::after,
.page-wrapper .team-section.dm-home-team-section .sec-title > .sub-title.tm-sub-tilte:hover::after,
.page-wrapper .team-section.dm-home-team-section .sec-title > .sub-title.tx-subTitle:hover::after {
  width: 100% !important;
}

.page-wrapper .team-section.dm-home-team-section .dm-home-team-heading > span {
  display: inline !important;
  margin: 0 0 0 0.28em !important;
}

.page-wrapper .team-section.dm-home-team-section .dm-home-team-heading {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  white-space: nowrap !important;
  text-align: center !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  opacity: 1 !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.page-wrapper .team-section.dm-home-team-section .dm-home-team-heading .split-line,
.page-wrapper .team-section.dm-home-team-section .dm-home-team-heading .word,
.page-wrapper .team-section.dm-home-team-section .dm-home-team-heading .char {
  display: inline !important;
  position: static !important;
  transform: none !important;
  opacity: 1 !important;
}

.page-wrapper .team-section.dm-home-team-section .dm-home-team-heading > span,
.page-wrapper .team-section.dm-home-team-section .dm-home-team-heading > .dm-portal-slogan-highlight {
  color: var(--theme-color1, #ff6b1e) !important;
  -webkit-text-fill-color: var(--theme-color1, #ff6b1e) !important;
  position: relative !important;
  overflow: visible !important;
  padding-bottom: 2px !important;
}

.page-wrapper .team-section.dm-home-team-section .dm-home-team-heading > span:hover,
.page-wrapper .team-section.dm-home-team-section .dm-home-team-heading > .dm-portal-slogan-highlight:hover,
.page-wrapper .team-section.dm-home-team-section .dm-home-team-heading:hover > span,
.page-wrapper .team-section.dm-home-team-section .dm-home-team-heading:hover > .dm-portal-slogan-highlight {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.page-wrapper .team-section.dm-home-team-section .dm-home-team-heading > span::after,
.page-wrapper .team-section.dm-home-team-section .dm-home-team-heading > .dm-portal-slogan-highlight::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  bottom: 0 !important;
  width: 0 !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: var(--theme-color1, #ff6b1e) !important;
  transition: width 0.35s ease !important;
  pointer-events: none !important;
}

.page-wrapper .team-section.dm-home-team-section .dm-home-team-heading > span:hover::after,
.page-wrapper .team-section.dm-home-team-section .dm-home-team-heading > .dm-portal-slogan-highlight:hover::after,
.page-wrapper .team-section.dm-home-team-section .dm-home-team-heading:hover > span::after,
.page-wrapper .team-section.dm-home-team-section .dm-home-team-heading:hover > .dm-portal-slogan-highlight::after {
  width: 100% !important;
}

@media (min-width: 1200px) {
  .page-wrapper .team-section.dm-home-team-section .dm-team-grid > .dm-team-col {
    flex: 0 0 20%;
    max-width: 20%;
  }

  .page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card .content-block .title {
    font-size: 19px;
  }

  .page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card .content-block {
    left: 50% !important;
    bottom: 24px !important;
    transform: translate3d(-50%, 0, 0) !important;
  }

  .page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card:hover .content-block,
  .page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card.dm-team-card-active .content-block {
    transform: translate3d(-50%, 0, 0) !important;
  }
}

.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card .image-block img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Tema :first-child / :nth-child(2) — yalnızca sınıflı görseller geçerli */
.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card:not(:hover):not(.dm-team-card-active) .image-block .dm-team-img-blur {
  transform: translate(50%) scaleX(2) !important;
  opacity: 0 !important;
  filter: blur(10px) !important;
}

.page-wrapper .team-section.dm-home-team-section .team-block .inner-block.dm-home-team-card:not(:hover):not(.dm-team-card-active) .image-block .dm-team-img-base {
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
}
