.elementor-155 .elementor-element.elementor-element-ea26dcc{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS for html, class: .elementor-element-a902711 */.tf-news {
  padding: 15vh 0 0;
  background-color: var(--surface);
  font-family: 'Vazirmatn', sans-serif;
  direction: rtl;
  height: 100vh;
}

.tf-news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.tf-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.tf-news-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tf-news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.tf-news-img {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.tf-news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tf-news-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 8px;
}

.tf-badge-gold {
  background: var(--secondary-container);
  color: var(--on-secondary-container);
}

.tf-news-body {
  padding: 24px;
  text-align: justify;
}

.tf-news-date {
  font-size: 12px;
  color: var(--outline-variant);
  display: block;
  margin-bottom: 8px;
}

.tf-news-body h4 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.tf-news-body p {
  font-size: 14px;
  color: var(--on-surface-variant);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .tf-news-grid {
    grid-template-columns: 1fr;
  }
}/* End custom CSS */