/* Tema-2 Blog — BlogPage + BlogDetail tasarımı */
.t2-blog-page .t2-page-wrap { width: 100%; margin: 0 auto; padding: 24px var(--t2-page-gutter, clamp(16px, 3vw, 6cm)) 40px; }

.t2-blog-layout {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 1024px) {
  .t2-blog-layout { grid-template-columns: 1fr 300px; }
}

.t2-blog-card,
.t2-blog-detail {
  background: #fff; border: 1px solid #f3f4f6; border-radius: 16px; padding: 20px;
}
.t2-blog-detail { min-width: 0; }

.t2-blog-card-head {
  display: flex; align-items: center; gap: 8px;
  border-left: 2px solid #ff2e63; padding-left: 8px; margin-bottom: 20px;
}
.t2-blog-card-head h2,
.t2-blog-card-head h3 { margin: 0; font-size: 1rem; font-weight: 600; color: #111827; }

/* Liste kartları */
.t2-blog-posts { display: flex; flex-direction: column; gap: 20px; }
.t2-blog-post {
  display: grid; grid-template-columns: 1fr; gap: 16px;
  padding-bottom: 20px; border-bottom: 1px solid #f3f4f6;
}
.t2-blog-post:last-child { border-bottom: 0; padding-bottom: 0; }
@media (min-width: 640px) {
  .t2-blog-post { grid-template-columns: 200px 1fr; gap: 20px; }
}

.t2-blog-post-thumb {
  position: relative; display: block; aspect-ratio: 4/3; border-radius: 12px;
  overflow: hidden; text-decoration: none;
}
.t2-blog-post-thumb img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  mix-blend-mode: multiply; opacity: .9;
}
.t2-blog-badge {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: 10px; padding: 4px 8px; border-radius: 6px;
  white-space: nowrap; font-weight: 500;
}

.t2-blog-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  font-size: 12px; color: #9ca3af;
}
.t2-blog-meta span { display: inline-flex; align-items: center; gap: 4px; }
.t2-blog-meta-views { margin-left: auto; }

.t2-blog-post-title { margin: 8px 0 0; font-size: 1rem; font-weight: 600; line-height: 1.4; }
.t2-blog-post-title a { color: #ff2e63; text-decoration: none; }
.t2-blog-post-title a:hover { color: #ff1654; }

.t2-blog-post-excerpt {
  margin: 8px 0 0; font-size: 14px; color: #4b5563; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.t2-blog-read-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 12px;
  background: #ff2e63; color: #fff; border: 0; border-radius: 8px;
  padding: 8px 16px; font-size: 12px; font-weight: 500; text-decoration: none;
  cursor: pointer; transition: background .15s;
}
.t2-blog-read-btn:hover { background: #ff1654; color: #fff; }

/* Sayfalama */
.t2-blog-pagination {
  margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 8px;
}
.t2-blog-page-btn {
  min-width: 32px; height: 32px; border-radius: 6px; border: 0;
  background: #f3f4f6; color: #4b5563; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; cursor: pointer; transition: background .15s;
}
.t2-blog-page-btn:hover { background: #e5e7eb; color: #374151; }
.t2-blog-page-active { background: #ff2e63 !important; color: #fff !important; }
.t2-blog-page-disabled { opacity: .45; pointer-events: none; }
.t2-blog-page-wide { padding: 0 12px; min-width: auto; }
.t2-blog-page-dots { font-size: 12px; color: #9ca3af; padding: 0 4px; }

/* Sidebar */
.t2-blog-aside { display: flex; flex-direction: column; gap: 16px; }
.t2-blog-about-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.t2-blog-about-dot { width: 20px; height: 20px; border-radius: 4px; background: #ff2e63; flex-shrink: 0; }
.t2-blog-about-name { font-weight: 600; color: #111827; }
.t2-blog-about-text { margin: 0; font-size: 12px; color: #6b7280; line-height: 1.6; }

.t2-blog-socials { margin-top: 16px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.t2-blog-social-btn {
  width: 28px; height: 28px; border-radius: 6px; background: #ff2e63; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; transition: background .15s;
}
.t2-blog-social-btn:hover { background: #ff1654; color: #fff; }

.t2-blog-cat-list { list-style: none; margin: 0; padding: 0; }
.t2-blog-cat-item {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 6px 0; border-bottom: 1px solid #f9fafb;
  font-size: 14px; color: #374151; text-decoration: none; transition: color .15s;
}
.t2-blog-cat-item:hover { color: #ff2e63; }
.t2-blog-cat-name { display: inline-flex; align-items: center; gap: 8px; }
.t2-blog-cat-name svg { color: #ff2e63; flex-shrink: 0; }
.t2-blog-cat-count {
  font-size: 10px; color: #fff; background: #ff2e63;
  border-radius: 999px; padding: 2px 8px; font-weight: 500;
}

.t2-blog-popular-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.t2-blog-popular-item {
  display: flex; align-items: center; gap: 12px; width: 100%;
  text-align: left; text-decoration: none; color: inherit;
}
.t2-blog-popular-thumb {
  position: relative; width: 48px; height: 48px; border-radius: 8px;
  overflow: hidden; flex-shrink: 0; background: #f3f4f6;
}
.t2-blog-popular-thumb img { width: 100%; height: 100%; object-fit: cover; }
.t2-blog-popular-num {
  position: absolute; top: -4px; left: -4px; width: 20px; height: 20px;
  border-radius: 50%; background: #ff2e63; color: #fff; font-size: 10px;
  display: flex; align-items: center; justify-content: center; font-weight: 600;
}
.t2-blog-popular-body { min-width: 0; }
.t2-blog-popular-title {
  font-size: 12px; color: #1f2937; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .15s;
}
.t2-blog-popular-item:hover .t2-blog-popular-title { color: #ff2e63; }
.t2-blog-popular-date {
  margin-top: 2px; font-size: 10px; color: #9ca3af;
  display: inline-flex; align-items: center; gap: 4px;
}

.t2-blog-more-btn {
  display: block; width: 100%; margin-top: 16px; padding: 8px;
  border-radius: 8px; border: 1px solid #e5e7eb; background: #fff;
  font-size: 14px; color: #4b5563; text-align: center; text-decoration: none;
  transition: border-color .15s, color .15s;
}
.t2-blog-more-btn:hover { border-color: #ff2e63; color: #ff2e63; }

/* Gradient arka planlar */
.t2-blog-grad-from-e0eaff-to-f0e6ff { background: linear-gradient(135deg, #e0eaff, #f0e6ff); }
.t2-blog-grad-from-ffe5d6-to-ffd6e0 { background: linear-gradient(135deg, #ffe5d6, #ffd6e0); }
.t2-blog-grad-from-fff2c2-to-ffe0d6 { background: linear-gradient(135deg, #fff2c2, #ffe0d6); }
.t2-blog-grad-from-ffd6e8-to-ffe5d6 { background: linear-gradient(135deg, #ffd6e8, #ffe5d6); }
.t2-blog-grad-from-fff2c2-to-ffd6e8 { background: linear-gradient(135deg, #fff2c2, #ffd6e8); }

/* Detay sayfası */
.t2-blog-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 12px; color: #6b7280; margin-bottom: 16px;
}
.t2-blog-breadcrumb a {
  display: inline-flex; align-items: center; gap: 4px;
  color: inherit; text-decoration: none; transition: color .15s;
}
.t2-blog-breadcrumb a:hover { color: #ff2e63; }
.t2-blog-breadcrumb span:last-child { color: #374151; }

.t2-blog-detail-badge {
  display: inline-block; color: #fff; font-size: 10px;
  padding: 4px 12px; border-radius: 999px; font-weight: 500;
}
.t2-blog-detail-title { margin: 12px 0 0; font-size: 1.5rem; font-weight: 700; color: #111827; line-height: 1.3; }
.t2-blog-detail-meta { margin-top: 12px; }
.t2-blog-detail-meta .t2-blog-meta-views { margin-left: 0; }

.t2-blog-detail-cover {
  margin-top: 20px; aspect-ratio: 16/9; border-radius: 12px;
  overflow: hidden; position: relative;
}
.t2-blog-detail-cover img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; mix-blend-mode: multiply;
}

.t2-blog-detail-lead { margin: 20px 0 0; font-size: 14px; color: #374151; line-height: 1.7; }
.t2-blog-detail-content { margin-top: 20px; font-size: 14px; color: #374151; line-height: 1.7; }
.t2-blog-detail-content p { margin: 0 0 12px; }
.t2-blog-detail-content h2 { margin: 28px 0 0; font-size: 1.125rem; font-weight: 700; color: #111827; }
.t2-blog-detail-content ul { margin: 12px 0; padding-left: 20px; }
.t2-blog-detail-content li { margin-bottom: 8px; }
.t2-blog-detail-content strong, .t2-blog-detail-content b { color: #111827; font-weight: 600; }

.t2-blog-toc {
  margin-top: 24px; border-radius: 12px; background: #f9fafb;
  border: 1px solid #f3f4f6; padding: 20px;
}
.t2-blog-toc-title { font-size: 14px; font-weight: 600; color: #111827; margin-bottom: 12px; }
.t2-blog-toc-list {
  margin: 0; padding-left: 20px; list-style: decimal;
  font-size: 14px; color: #ff2e63;
}
.t2-blog-toc-list li { margin-bottom: 8px; }
.t2-blog-toc-list a { color: #ff2e63; text-decoration: none; }
.t2-blog-toc-list a:hover { text-decoration: underline; }

.t2-blog-related { margin-top: 32px; }
.t2-blog-related-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 640px) {
  .t2-blog-related-grid { grid-template-columns: repeat(3, 1fr); }
}
.t2-blog-related-card { text-decoration: none; color: inherit; display: block; }
.t2-blog-related-img {
  aspect-ratio: 4/3; border-radius: 12px; overflow: hidden;
  background: linear-gradient(135deg, #e0eaff, #ffd6e8);
}
.t2-blog-related-img img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.t2-blog-related-title {
  margin-top: 8px; font-size: 14px; font-weight: 500; color: #111827; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .15s;
}
.t2-blog-related-card:hover .t2-blog-related-title { color: #ff2e63; }
.t2-blog-related-date {
  margin-top: 4px; font-size: 11px; color: #9ca3af;
  display: inline-flex; align-items: center; gap: 4px;
}

/* Yorum formu */
.t2-blog-comments { margin-top: 32px; }
.t2-blog-comments-note { margin: 0 0 12px; font-size: 12px; color: #6b7280; }
.t2-blog-textarea,
.t2-blog-input {
  width: 100%; border: 1px solid #e5e7eb; border-radius: 8px;
  padding: 12px; font-size: 14px; font-family: inherit; outline: none;
  transition: border-color .15s; box-sizing: border-box;
}
.t2-blog-textarea:focus,
.t2-blog-input:focus { border-color: #ff2e63; }
.t2-blog-form-grid {
  margin-top: 12px; display: grid; grid-template-columns: 1fr; gap: 12px;
}
@media (min-width: 768px) {
  .t2-blog-form-grid { grid-template-columns: 1fr 1fr; }
}
.t2-blog-form-spacer { display: none; }
@media (min-width: 768px) { .t2-blog-form-spacer { display: block; } }
.t2-blog-label { font-size: 12px; color: #374151; display: block; }
.t2-blog-label + .t2-blog-input,
.t2-blog-label + input { margin-top: 4px; }
.t2-blog-checkbox {
  margin-top: 12px; display: flex; align-items: flex-start; gap: 8px;
  font-size: 12px; color: #4b5563; cursor: pointer;
}
.t2-blog-recaptcha {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid #e5e7eb; border-radius: 8px; padding: 12px 16px;
}
.t2-blog-recaptcha span { font-size: 14px; color: #374151; }
.t2-blog-recaptcha em { font-size: 10px; color: #9ca3af; margin-left: 24px; font-style: normal; }
.t2-blog-submit {
  margin-top: 16px; background: #ff2e63; color: #fff; border: 0;
  border-radius: 8px; padding: 10px 20px; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: background .15s;
}
.t2-blog-submit:hover { background: #ff1654; }

@media (max-width: 639px) {
  .t2-blog-meta-views { margin-left: 0; width: 100%; }
}
