.tc-carousel { position: relative; }
.tc-item {
  text-align: center;
  overflow: hidden;
/*   background: #fff; */
  border-radius: 8px;
/*   box-shadow: 0 4px 12px rgba(0,0,0,0.1); */
}
.tc-cover {
  height: 140px;
  background-size: cover;
  background-position: center;
}
.tc-profile img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-top: -40px;
  border: 4px solid #fff;
}
.tc-rating { color: #f5a623; font-size: 18px; margin: 8px 0; }
.tc-title { font-size: 20px; margin: 4px 0; }
.tc-desc { font-size: 14px; color: #666; padding: 0 12px 12px; }

/* Center-focus effect */
.owl-carousel .active.center .tc-item {
  transform: scale(1.05);
}
.owl-carousel .tc-item {
  transition: transform .3s ease;
}



/* hide leftover dots/nav */
.tc-carousel .owl-dots,
.tc-carousel .owl-nav {
  display: none !important;
}

/* contain overflow, but allow center-item scaling */
.tc-carousel {
  position: relative;
  overflow: hidden;
}

/* let the stage overflow so scale(1.05) can peek out */
.tc-carousel .owl-stage-outer {
  overflow: visible;
}


/* ensure cards contrast on a white page */
.tc-item {
  background: #ffffff;
/*   border: 1px solid #ddd; */
/*   box-shadow: 0 4px 12px rgba(0,0,0,0.05); */
}

/* contain overflow so non-active slides don't balloon out */
.tc-carousel {
  overflow: hidden;
}

/* allow center-item scale to peek out */
.tc-carousel .owl-stage-outer {
  overflow: visible;
}

/* force each slide to display as a block */
.owl-carousel .owl-item {
  display: block;
}

/* 1. Position & style rating block */
.tc-content {
  position: relative;
  padding-top: 40px; /* ensure content doesn't overlap rating */
}


.tc-rating .stars {
  color: #f5a623;
  font-size: 16px;
  line-height: 1;
}

.tc-rating .rating-num {
  font-size: 14px;
  color: #333;
  margin-left: 6px;
  line-height: 1;
}

/* 2. Blur & scale non-center slides */
.owl-carousel .owl-item .tc-item {
  transition: all 0.3s ease;
}

.owl-carousel .owl-item:not(.center) .tc-item {
  filter: blur(2px);
  opacity: 0.6;
  transform: scale(0.8);
}

.owl-carousel .owl-item.center .tc-item {
  filter: none;
  opacity: 1;
  transform: scale(1.1);
  z-index: 10;
}

/* 3. Ensure overlap & visible scale */
.tc-carousel {
  overflow: hidden;
}

.tc-carousel .owl-stage-outer {
  overflow: visible;
}

/* 4. Subtle shadow on the active card */
.owl-carousel .owl-item.center .tc-item {
/*   box-shadow: 0 8px 16px rgba(0,0,0,0.15); */
}

/* --- Overlay rating on cover --- */
.tc-cover {
  position: relative;
  height: 140px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}
.tc-rating {
position: absolute;
  top: 8px;
  right: 8px;
  background: rgb(255, 255, 255);
  color: #000;
  font-size: 14px;
  padding: 4px 6px;
  border-radius: 27px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.tc-rating .stars {
  color: #ffd700;
  font-size: 14px;
}
.tc-rating .rating-num {
  font-size: 13px;
}

/* --- Blur + scale non-center cards --- */
.owl-carousel .owl-item .tc-item {
  transition: all 0.3s ease;
  transform: scale(0.85);
  filter: blur(1.5px);
  opacity: 0.5;
  z-index: 1;
}
.owl-carousel .owl-item.center .tc-item {
  transform: scale(1);
  filter: none;
  opacity: 1;
  z-index: 10;
/*   box-shadow: 0 10px 20px rgba(0,0,0,0.1); */
}

/* --- Overlap support --- */
.tc-carousel {
  overflow: hidden;
}
.tc-carousel .owl-stage-outer {
  overflow: visible;
}