/* Blog Grid */
.dw-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin: 30px 0;
}

/* Kart */
.dw-blog-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.dw-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* Görsel */
.dw-blog-card .dw-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .4s ease;
}
.dw-blog-card:hover .dw-thumb img {
  transform: scale(1.05);
}

/* Başlık */
.dw-blog-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 18px 16px;
  color: #222;
  line-height: 1.4;
  min-height: 54px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* Buton */
.dw-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: #6c4d2f;
  color: #fff !important;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  border-top: 1px solid rgba(0,0,0,0.08);
  transition: background .3s ease;
}
.dw-btn:hover {
  background: #543a23;
}

/* Başlıklar */
.dw-section-title {
  font-size: 28px;
  margin: 40px 0 20px;
  font-weight: 700;
  color: #6c4d2f;
  text-align: center;
}

/* Daha fazla butonu */
.dw-more {
  text-align: center;
  margin-top: 20px;
}
.dw-more .dw-btn {
  width: auto;
  border-radius: 30px;
  padding: 12px 28px;
}
/* Blog Grid */
.dw-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin: 30px 0;
  justify-content: center; /* tek yazı varsa ortalar */
}

/* Eğer sadece 1 kart varsa ortalanmış sabit genişlik */
.dw-blog-grid:has(.dw-blog-card:only-child) {
  grid-template-columns: 1fr;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

/* Kart */
.dw-blog-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.dw-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* Görsel */
.dw-blog-card .dw-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .4s ease;
}
.dw-blog-card:hover .dw-thumb img {
  transform: scale(1.05);
}

/* Başlık */
.dw-blog-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 18px 16px;
  color: #222;
  line-height: 1.4;
  min-height: 54px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

/* Buton bant */
.dw-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: #6c4d2f;
  color: #fff !important;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  border-top: 1px solid rgba(0,0,0,0.08);
  transition: background .3s ease;
}
.dw-btn:hover {
  background: #543a23;
}

/* Başlıklar */
.dw-section-title {
  font-size: 28px;
  margin: 40px 0 20px;
  font-weight: 700;
  color: #6c4d2f;
  text-align: center;
}
