/**

 * Anasayfa hero profil kartı — sağ üst yatay slider carousel

 */

.mat-hero-profile {

  --hp-accent: #c5a374;

  --hp-bg: rgba(10, 8, 7, 0.88);

  width: 100%;

  max-width: 300px;

  margin: 0 auto;

  border-radius: 20px;

  padding: 1.15rem 1.15rem 1rem;

  background: var(--hp-bg);

  border: 1px solid rgba(197, 163, 116, 0.35);

  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);

  backdrop-filter: blur(12px);

  -webkit-backdrop-filter: blur(12px);

  text-align: center;

  color: #f5f0ea;

}

.mat-hero-profile--cover-only {
  padding: 0;
  aspect-ratio: 3 / 4;
  min-height: 360px;
  overflow: hidden;
  display: flex;
  background: #0a0807;
}

.mat-hero-profile__cover-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.mat-hero-profile__cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}



.mat-hero-profile-carousel {
  position: absolute;
  top: calc(var(--mat-header-offset, 76px) + 1rem);
  right: clamp(12px, 2.5vw, 28px);
  z-index: 4;
  width: min(300px, 30vw);
  pointer-events: auto;
}

.mat-split-hero .mat-hero-profile-carousel {
  position: static;
  top: auto;
  right: auto;
  width: 100%;
}

.mat-split-hero .mat-hero-profile {
  --hp-bg: #ffffff !important;
  --hp-accent: #c5a374;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
  color: #1a1a1a !important;
  text-align: center;
}

.mat-split-hero .mat-hero-profile__badge {
  color: var(--mat-sh-brand, #900216);
}

.mat-split-hero .mat-hero-profile__name {
  color: #141820 !important;
}

.mat-split-hero .mat-hero-profile__title {
  color: #5c6578 !important;
}

.mat-split-hero .mat-hero-profile__stat strong {
  color: #141820 !important;
}

.mat-split-hero .mat-hero-profile__stat span {
  color: #5c6578 !important;
}

.mat-split-hero .mat-hero-profile__link {
  color: var(--mat-sh-brand, #900216) !important;
}

.mat-split-hero__profile .mat-hero-profile {
  padding: 1rem 0.9rem 0.9rem;
  max-width: none;
}

.mat-split-hero__profile .mat-hero-profile__photo-wrap,
.mat-split-hero__profile .mat-hero-profile__photo,
.mat-split-hero__profile .mat-hero-profile__photo-ph {
  width: 96px;
  height: 96px;
}

.mat-split-hero__profile .mat-hero-profile__name {
  font-size: 1.12rem;
}

.mat-split-hero__profile .mat-hero-profile-carousel__nav {
  opacity: 1;
  width: 34px;
  height: 34px;
}

.mat-split-hero__profile .mat-hero-profile-carousel__slider {
  padding-bottom: 1.35rem;
}



.mat-hero-profile-carousel__slider,

.mat-hero-profile-carousel__single {

  width: 100%;

}



.mat-hero-profile-carousel__slider {

  position: relative;

  padding-bottom: 1.75rem;

}



.mat-hero-profile-carousel__slider .carousel-inner {

  overflow: hidden;

  border-radius: 20px;

  position: relative;

  width: 100%;

}



.mat-hero-profile-carousel__slider .carousel-inner::after {

  display: block;

  clear: both;

  content: "";

}



.mat-hero-profile-carousel__slider .carousel-item {

  position: relative;

  display: none;

  float: left;

  width: 100%;

  margin-right: -100%;

  backface-visibility: hidden;

  -webkit-backface-visibility: hidden;

  transition: transform 0.55s ease-in-out;

}



.mat-hero-profile-carousel__slider .carousel-item.active,

.mat-hero-profile-carousel__slider .carousel-item-next,

.mat-hero-profile-carousel__slider .carousel-item-prev {

  display: block;

}



.mat-hero-profile-carousel__dots {

  position: absolute;

  left: 0;

  right: 0;

  bottom: 0;

  margin: 0;

  justify-content: center;

  gap: 0.35rem;

}



.mat-hero-profile-carousel__dots [data-bs-target] {

  width: 7px;

  height: 7px;

  border-radius: 50%;

  border: none;

  margin: 0;

  padding: 0;

  background: rgba(197, 163, 116, 0.35);

  opacity: 1;

  transition: transform 0.2s ease, background-color 0.2s ease;

}



.mat-hero-profile-carousel__dots [data-bs-target].active,

.mat-hero-profile-carousel__dots [data-bs-target]:hover {

  background: #c5a374;

  transform: scale(1.15);

}



.mat-hero-profile-carousel__nav {

  width: 30px;

  height: 30px;

  top: 42%;

  opacity: 0;

  transition: opacity 0.2s ease;

}



.mat-hero-profile-carousel:hover .mat-hero-profile-carousel__nav,

.mat-hero-profile-carousel:focus-within .mat-hero-profile-carousel__nav {

  opacity: 1;

}



.mat-hero-profile-carousel__nav.carousel-control-prev {

  left: -10px;

}



.mat-hero-profile-carousel__nav.carousel-control-next {

  right: -10px;

}



.mat-hero-profile-carousel__nav-icon {

  display: flex;

  align-items: center;

  justify-content: center;

  width: 30px;

  height: 30px;

  border-radius: 50%;

  background: rgba(10, 8, 7, 0.82);

  border: 1px solid rgba(197, 163, 116, 0.45);

  color: #c5a374;

  font-size: 0.72rem;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);

}



.mat-hero-profile__photo-wrap {

  position: relative;

  width: 96px;

  height: 96px;

  margin: 0 auto 0.85rem;

}



.mat-hero-profile__photo {

  width: 96px;

  height: 96px;

  border-radius: 50%;

  object-fit: cover;

  border: 3px solid var(--hp-accent);

  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);

}



.mat-hero-profile__photo-ph {

  width: 96px;

  height: 96px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  background: linear-gradient(145deg, #2a1216, #1a1f28);

  border: 3px solid var(--hp-accent);

  font-size: 2.1rem;

  color: var(--hp-accent);

}



.mat-hero-profile__badge {

  display: inline-block;

  font-size: 0.62rem;

  font-weight: 700;

  letter-spacing: 0.12em;

  text-transform: uppercase;

  color: var(--hp-accent);

  border: 1px solid rgba(197, 163, 116, 0.45);

  border-radius: 999px;

  padding: 0.25rem 0.65rem;

  margin-bottom: 0.5rem;

}



.mat-hero-profile__name {

  font-family: 'Playfair Display', Georgia, serif;

  font-size: 1.05rem;

  font-weight: 700;

  line-height: 1.3;

  margin: 0 0 0.35rem;

  color: #fff;

}



.mat-hero-profile__title {

  font-size: 0.78rem;

  line-height: 1.45;

  color: rgba(245, 240, 234, 0.78);

  margin: 0 0 0.85rem;

}



.mat-hero-profile__stats {

  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 0.45rem;

  padding-top: 0.75rem;

  border-top: 1px solid rgba(197, 163, 116, 0.25);

}



.mat-hero-profile__stat strong {

  display: block;

  font-size: 0.92rem;

  font-weight: 700;

  color: var(--hp-accent);

}



.mat-hero-profile__stat span {

  font-size: 0.58rem;

  text-transform: uppercase;

  letter-spacing: 0.06em;

  color: rgba(245, 240, 234, 0.65);

}



.mat-hero-profile__link {

  display: inline-block;

  margin-top: 0.75rem;

  font-size: 0.76rem;

  font-weight: 600;

  color: var(--hp-accent);

  text-decoration: none;

}



.mat-hero-profile__link:hover {

  color: #fff;

  text-decoration: underline;

}



@media (max-width: 991px) {

  .mat-hero-profile-carousel {

    position: relative;

    top: auto;

    right: auto;

    width: 100%;

    max-width: 300px;

    margin: 0.75rem auto 0.5rem;

    padding: 0 1.75rem;

    flex-shrink: 0;

    order: -1;

  }



  .mat-hero-profile-carousel__slider {

    padding-bottom: 2rem;

  }



  .mat-hero-profile-carousel__dots {

    bottom: 0.15rem;

  }



  .mat-hero-profile-carousel__nav {

    opacity: 1;

  }



  .mat-hero-profile-carousel__nav.carousel-control-prev {

    left: -4px;

  }



  .mat-hero-profile-carousel__nav.carousel-control-next {

    right: -4px;

  }

}



@media (prefers-reduced-motion: reduce) {

  .mat-hero-profile-carousel__slider .carousel-item {

    transition: none;

  }



  .mat-hero-profile-carousel__slider[data-bs-ride="carousel"] {

    --bs-carousel-interval: 0;

  }

}

