.tfc {
  position: relative;
}

.tfc-carousel {
  width: 100%;
}

.tfc-carousel .owl-wrapper-outer {
  overflow: hidden;
}

.tfc-carousel .owl-wrapper,
.tfc-carousel .owl-item {
  height: 100%;
}

.tfc-carousel .owl-item {
  float: left;
}

.tfc-element {
  scroll-snap-align: start;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  height: 100%;
}

.tfc-element--blank {
  opacity: 0;
  pointer-events: none;
}

.tfc-element-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.tfc-element-image {
  position: relative;
  width: 100%;
  background: #f6f6f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tfc-element-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.20) 44.71%, #000 100%);
  pointer-events: none;
  z-index: 1;
}

.tfc-element-image img {
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 0;
}

.tfc-element-image-placeholder {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(135deg, #f2f2f2 0%, #e9e9e9 100%);
  position: relative;
  z-index: 0;
}

.tfc-element-content {
  padding: 12px 14px 16px;
}

.tfc-element-title {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.3;
}

.tfc-element-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tfc-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.2;
  border: 1px solid transparent;
}

.tfc-tag--main {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.tfc-tag--success {
  background: #e8f5e9;
  color: #1b5e20;
  border-color: #c8e6c9;
}

.tfc-tag--info {
  background: #e3f2fd;
  color: #0d47a1;
  border-color: #bbdefb;
}

.tfc-tag--default {
  background: #f5f5f5;
  color: #333;
  border-color: #e0e0e0;
}