.eftt-widget {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.eftt-widget.eftt-tabs-left {
  flex-direction: row;
}

.eftt-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.eftt-widget.eftt-tabs-left .eftt-tabs {
  flex-direction: column;
  margin-bottom: 0;
  margin-right: 20px;
}

.eftt-tabs button {
  padding: 10px 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #eee;
  color: #000;
  cursor: pointer;
  transition: all 0.3s ease;
}

.eftt-tabs button.active {
  background: #0073aa;
  color: #fff;
  border-color: #0073aa;
}

.eftt-tabs button:hover {
  background: #005177;
  color: #fff;
}

.eftt-content {
  flex: 1;
}

.eftt-posts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.eftt-post-item {
  flex: 1 1 calc(33.33% - 20px);
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.eftt-post-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media(max-width:768px) {
  .eftt-post-item {
    flex: 1 1 calc(50% - 20px);
  }
}

@media(max-width:480px) {
  .eftt-post-item {
    flex: 1 1 100%;
  }
}

.eftt-thumb img {
  width: 100%;
  border-radius: 5px;
}

.eftt-title {
  font-size: 18px;
  margin-top: 10px;
}

.eftt-excerpt {
  font-size: 14px;
  margin: 10px 0;
}

.eftt-readmore {
  color: #0073aa;
  text-decoration: none;
  font-weight: bold;
}