.tal-blog-widget {
  --tal-red: #d62828;
  --tal-ink: #20212a;
  --tal-muted: #666873;
  --tal-border: #e8e8ec;
  margin: 0 auto;
  max-width: 1240px;
  padding: 56px 20px;
}

.tal-blog-widget__heading {
  margin-bottom: 26px;
  text-align: center;
}

.tal-blog-widget__heading h2 {
  color: var(--tal-ink);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 0;
}

.tal-blog-widget__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(var(--tal-blog-columns), minmax(0, 1fr));
}

.tal-blog-card {
  background: #fff;
  border: 1px solid var(--tal-border);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(32, 33, 42, 0.07);
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}

.tal-blog-card:hover {
  box-shadow: 0 16px 38px rgba(32, 33, 42, 0.13);
  transform: translateY(-4px);
}

.tal-blog-card__image {
  aspect-ratio: 16 / 9;
  background: #f3f3f5;
  display: block;
  overflow: hidden;
}

.tal-blog-card__image img {
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
  width: 100%;
}

.tal-blog-card:hover .tal-blog-card__image img {
  transform: scale(1.035);
}

.tal-blog-card__placeholder {
  background: linear-gradient(135deg, #f7dede, #f5f5f6 55%, #ececf0);
  display: block;
  height: 100%;
  width: 100%;
}

.tal-blog-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.tal-blog-card__meta {
  align-items: center;
  color: var(--tal-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 10px;
  margin-bottom: 12px;
}

.tal-blog-card__category {
  color: var(--tal-red);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.tal-blog-card__title {
  font-size: 21px;
  line-height: 1.35;
  margin: 0 0 12px;
}

.tal-blog-card__title a {
  color: var(--tal-ink);
  text-decoration: none;
}

.tal-blog-card__excerpt {
  color: var(--tal-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 18px;
}

.tal-blog-card__read-more {
  color: var(--tal-red);
  font-weight: 700;
  margin-top: auto;
  text-decoration: none;
}

.tal-blog-widget__footer {
  margin-top: 32px;
  text-align: center;
}

.tal-blog-widget__button {
  background: var(--tal-red);
  border-radius: 6px;
  color: #fff !important;
  display: inline-block;
  font-weight: 700;
  padding: 13px 24px;
  text-decoration: none;
}

.tal-blog-widget__button:hover,
.tal-blog-widget__button:focus {
  background: #b91f1f;
  color: #fff;
}

@media (max-width: 900px) {
  .tal-blog-widget__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .tal-blog-widget {
    padding: 0px 16px;
  }

  .tal-blog-widget__grid {
    grid-template-columns: 1fr;
  }
}

