/* Kafkar Enerji v1.7.6 Blog SEO enhancements */
.blog-seo-tag-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.blog-seo-tag-row span{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);color:#fff;font-weight:800;font-size:13px}.blog-seo-toc-card{background:#fff;border:1px solid rgba(8,18,31,.07);border-radius:22px;padding:22px 24px;margin-bottom:24px;box-shadow:0 14px 36px rgba(8,18,31,.08)}.blog-seo-toc-card strong{display:block;color:#0b1320;font-size:18px;margin-bottom:12px}.blog-seo-toc-card div{display:grid;gap:8px}.blog-seo-toc-card a{color:#166534;font-weight:800;text-decoration:none}.blog-seo-toc-card a.level-3{padding-left:16px;font-size:14px;color:#315c43}.blog-seo-content h2,.blog-seo-content h3{scroll-margin-top:110px}.blog-seo-internal-links{background:linear-gradient(180deg,#0f3620 0%,#102b1d 100%);border-radius:24px;padding:24px;margin-top:26px;color:#fff}.blog-seo-internal-links span{display:block;font-size:13px;letter-spacing:.08em;text-transform:uppercase;font-weight:900;color:#facc15;margin-bottom:14px}.blog-seo-internal-links div{display:flex;flex-wrap:wrap;gap:10px}.blog-seo-internal-links a{display:inline-flex;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.16);color:#fff;text-decoration:none;font-weight:800}.blog-seo-faq{margin-top:30px;background:#fff;border-radius:24px;padding:28px;border:1px solid rgba(8,18,31,.07);box-shadow:0 14px 36px rgba(8,18,31,.08)}.blog-seo-faq h2{margin:0 0 18px;color:#0b1320}.blog-seo-faq details{border-top:1px solid rgba(8,18,31,.08);padding:16px 0}.blog-seo-faq details:first-of-type{border-top:0}.blog-seo-faq summary{cursor:pointer;color:#0b1320;font-weight:900}.blog-seo-faq p{color:#435264;line-height:1.7;margin:12px 0 0}.blog-seo-related{margin-top:30px}.blog-seo-related-head span{display:block;color:#166534;font-weight:900;font-size:13px;letter-spacing:.08em;text-transform:uppercase}.blog-seo-related-head h2{margin:6px 0 18px;color:#0b1320}.blog-seo-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.blog-seo-related-grid a{display:flex;flex-direction:column;gap:10px;background:#fff;border-radius:20px;padding:20px;border:1px solid rgba(8,18,31,.07);text-decoration:none;box-shadow:0 10px 28px rgba(8,18,31,.07)}.blog-seo-related-grid strong{color:#0b1320;line-height:1.35}.blog-seo-related-grid small{color:#166534;font-weight:800}.blog-seo-sidebar-card .blog-detail-clean-info span{border-top:1px solid rgba(8,18,31,.08);padding:12px 0}.blog-seo-list-hero .blog-hero-panel{border:1px solid rgba(255,255,255,.10)}.blog-seo-toolbar{border:1px solid rgba(8,18,31,.07)}.blog-seo-grid .blog-card-meta span:last-child{color:#166534;font-weight:900}@media(max-width:991px){.blog-seo-related-grid{grid-template-columns:1fr}.blog-seo-internal-links div{display:grid}.blog-seo-toc-card{padding:20px}}


/* v2.2.2 SEO blog category and pagination enhancements */
.blog-filter.is-active {
  background: #16a34a;
  color: #fff;
  border-color: #16a34a;
}
.blog-selected-category {
  padding: 22px 0 0;
  background: #f7faf8;
}
.blog-selected-category-card {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(8,18,31,.08);
  box-shadow: 0 12px 32px rgba(8,18,31,.06);
}
.blog-selected-category-card span {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #166534;
  font-weight: 900;
}
.blog-selected-category-card strong {
  color: #0b1320;
  font-size: 20px;
}
.blog-selected-category-card p {
  margin: 0;
  color: #536273;
}
.blog-selected-category-card a {
  margin-left: auto;
  color: #166534;
  font-weight: 900;
  text-decoration: none;
}
.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}
.blog-pagination a,
.blog-pagination span {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(8,18,31,.10);
  background: #fff;
  color: #0b1320;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(8,18,31,.05);
}
.blog-pagination .is-current {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
}
@media(max-width: 640px) {
  .blog-selected-category-card {
    align-items: flex-start;
    flex-direction: column;
  }
  .blog-selected-category-card a {
    margin-left: 0;
  }
  .blog-pagination {
    justify-content: flex-start;
  }
}


/* v2.2.3 - Blog kart görselleri, özet alanı ve içerik okunabilirliği düzeltmeleri */
.blog-image-placeholder-rich {
  position: relative;
  min-height: 100%;
  padding: 24px;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 18%, rgba(34,197,94,.30), transparent 24%),
    radial-gradient(circle at 14% 86%, rgba(245,158,11,.26), transparent 22%),
    linear-gradient(135deg, #07111f 0%, #162235 62%, #0f172a 100%) !important;
}
.blog-image-placeholder-rich::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  pointer-events: none;
}
.blog-placeholder-kicker {
  position: relative;
  z-index: 2;
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.13);
  color: #d1fae5;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.blog-image-placeholder-rich strong {
  position: relative;
  z-index: 2;
  margin-top: auto;
  color: rgba(255,255,255,.18);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -2px;
}
.blog-image-placeholder-rich small {
  position: relative;
  z-index: 2;
  max-width: 92%;
  display: block;
  margin-top: 12px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 800;
}
.blog-seo-grid .blog-card p {
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-seo-grid .blog-card h3 {
  min-height: 54px;
}
.blog-card-badge {
  max-width: calc(100% - 32px);
  white-space: normal;
  line-height: 1.2;
}
.blog-featured-card .blog-image-placeholder-rich {
  min-height: 360px;
}
.blog-featured-card .blog-image-placeholder-rich strong {
  font-size: clamp(58px, 9vw, 110px);
}

/* Blog detay sağ blok düzeltmeleri */
.blog-seo-v223 .blog-side-offer-card {
  padding: 24px;
  border-radius: 26px;
}
.blog-seo-v223 .blog-side-offer-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.blog-seo-v223 .blog-detail-clean-icon {
  width: 48px;
  height: 48px;
  margin: 0;
  flex: 0 0 48px;
  font-size: 20px;
}
.blog-seo-v223 .blog-side-offer-head > span:last-child {
  color: #bbf7d0;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.blog-seo-v223 .blog-side-offer-card h3 {
  color: #fff;
  font-size: 22px;
}
.blog-seo-v223 .blog-side-offer-card p {
  color: rgba(255,255,255,.82);
}
.blog-seo-v223 .blog-side-offer-card .blog-side-offer-action {
  width: 100%;
  min-height: 46px;
  margin-top: 4px;
  border-radius: 16px;
  background: #22c55e;
  color: #052e16;
  box-shadow: none;
  font-weight: 950;
}
.blog-seo-v223 .is-summary-card h3 {
  margin-bottom: 10px;
}
.blog-seo-v223 .is-summary-card > p {
  margin: 0 0 16px;
  color: #475569;
  line-height: 1.7;
  font-size: 14px;
}
.blog-seo-v223 .blog-summary-info {
  gap: 8px;
}
.blog-seo-v223 .blog-summary-info span {
  padding: 12px 13px;
  border-radius: 14px;
  background: #f8fafc;
}
.blog-seo-v223 .blog-summary-info strong {
  color: #166534;
}

/* Makale içeriği tablo ve blok stilleri */
.blog-seo-content blockquote {
  margin: 26px 0;
  padding: 20px 22px;
  border-left: 5px solid #22c55e;
  border-radius: 18px;
  background: #f0fdf4;
  color: #14532d;
  font-weight: 800;
  line-height: 1.75;
}
.blog-info-table {
  width: 100%;
  margin: 24px 0 26px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
}
.blog-info-table th,
.blog-info-table td {
  padding: 15px 17px;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
  text-align: left;
  line-height: 1.65;
}
.blog-info-table tr:last-child th,
.blog-info-table tr:last-child td {
  border-bottom: 0;
}
.blog-info-table th {
  width: 190px;
  color: #0f172a;
  background: #f8fafc;
  font-weight: 950;
}
.blog-info-table td {
  color: #475569;
}
.blog-seo-content h3 {
  color: #0f172a;
}
@media(max-width: 767px) {
  .blog-seo-grid .blog-card h3 {
    min-height: 0;
  }
  .blog-image-placeholder-rich {
    padding: 20px;
  }
  .blog-placeholder-kicker {
    font-size: 10px;
  }
  .blog-info-table,
  .blog-info-table tbody,
  .blog-info-table tr,
  .blog-info-table th,
  .blog-info-table td {
    display: block;
    width: 100%;
  }
  .blog-info-table th {
    border-bottom: 0;
  }
  .blog-info-table td {
    border-bottom: 1px solid #e2e8f0;
  }
}


/* v2.2.4 - Blog özgün kategori görselleri */
.blog-generated-image {
  position: relative;
  overflow: hidden;
  background: #0f172a;
}
.blog-generated-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform .45s ease, filter .45s ease;
}
.blog-card:hover .blog-generated-image img,
.blog-featured-card:hover .blog-generated-image img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.04);
}
.blog-generated-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,6,23,0) 34%, rgba(2,6,23,.54) 100%);
  pointer-events: none;
}
.blog-generated-image-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 36px);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(20, 184, 166, .92);
  color: #022c22;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 14px 24px rgba(0,0,0,.16);
}
.blog-card-image.blog-generated-image {
  min-height: 245px;
}
.blog-featured-image.blog-generated-image {
  min-height: 360px;
}
.blog-featured-image.blog-generated-image::after {
  background: linear-gradient(180deg, rgba(2,6,23,.05) 20%, rgba(2,6,23,.58) 100%);
}
.blog-card-image.blog-generated-image .blog-card-badge {
  z-index: 4;
}
.blog-generated-detail-cover {
  overflow: hidden;
  border-radius: 28px;
  background: #0f172a;
  box-shadow: 0 20px 55px rgba(8,18,31,.14);
}
.blog-generated-detail-cover img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 520px;
  object-fit: cover;
}
.blog-generated-detail-cover figcaption {
  margin: 0;
  padding: 14px 18px;
  background: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  border-top: 0;
  font-size: 13px;
  line-height: 1.55;
}
.admin-page-edit-preview img[src*="/assets/images/blog-categories/"] {
  object-fit: cover;
}
@media(max-width: 767px) {
  .blog-card-image.blog-generated-image {
    min-height: 210px;
  }
  .blog-featured-image.blog-generated-image {
    min-height: 260px;
  }
  .blog-generated-image-label {
    left: 14px;
    bottom: 14px;
    font-size: 10px;
  }
  .blog-generated-detail-cover {
    border-radius: 22px;
  }
}
