/* Blog index, EkranTamiri.tr */
.et-blog-page {
  --et-b-bg: #f1f5f9;
  --et-b-surface: #ffffff;
  --et-b-ink: #0f172a;
  --et-b-muted: #64748b;
  --et-b-border: #e2e8f0;
  --et-b-orange: #fd7901;
  --et-b-orange-dark: #ea580c;
  --et-b-navy: #0f172a;
  --et-b-navy-soft: #1e293b;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--et-b-bg);
  color: var(--et-b-ink);
}

/* ── Hero ── */
.et-blog-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 88px) 20px clamp(36px, 5vw, 56px);
  background: linear-gradient(145deg, #0b1220 0%, #0f172a 45%, #1a2744 100%);
  color: #fff;
}
.et-blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(253, 121, 1, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.et-blog-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}
.et-blog-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}
.et-blog-bc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 28px;
  font-size: 13px;
  color: #94a3b8;
}
.et-blog-bc a {
  color: #cbd5e1;
  text-decoration: none;
}
.et-blog-bc a:hover { color: var(--et-b-orange); }
.et-blog-bc span[aria-hidden] { opacity: 0.5; }

.et-blog-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.et-blog-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(253, 121, 1, 0.15);
  border: 1px solid rgba(253, 121, 1, 0.35);
  color: #fdba74;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.et-blog-hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--et-b-orange);
  box-shadow: 0 0 8px var(--et-b-orange);
}
.et-blog-hero h1 {
  margin: 16px 0 14px;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.et-blog-hero h1 em {
  font-style: normal;
  color: var(--et-b-orange);
}
.et-blog-hero-lead {
  margin: 0;
  max-width: 540px;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.65;
  color: #94a3b8;
}
.et-blog-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.et-blog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.et-blog-btn:active { transform: scale(0.98); }
.et-blog-btn--primary {
  background: var(--et-b-orange);
  color: #fff;
  box-shadow: 0 4px 20px rgba(253, 121, 1, 0.35);
}
.et-blog-btn--primary:hover {
  background: var(--et-b-orange-dark);
  box-shadow: 0 6px 24px rgba(253, 121, 1, 0.45);
}
.et-blog-btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.et-blog-btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }

.et-blog-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.et-blog-stat {
  padding: 18px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}
.et-blog-stat strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.et-blog-stat span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.4;
}

/* ── Main shell ── */
.et-blog-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

/* ── Toolbar: search + filters ── */
.et-blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding: 16px 18px;
  background: var(--et-b-surface);
  border: 1px solid var(--et-b-border);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.et-blog-search {
  position: relative;
  flex: 1 1 220px;
  max-width: 360px;
}
.et-blog-search input {
  width: 100%;
  padding: 11px 14px 11px 40px;
  border: 1px solid var(--et-b-border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  background: var(--et-b-bg);
  color: var(--et-b-ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.et-blog-search input:focus {
  outline: none;
  border-color: var(--et-b-orange);
  box-shadow: 0 0 0 3px rgba(253, 121, 1, 0.15);
}
.et-blog-search svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--et-b-muted);
  pointer-events: none;
}
.et-blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.et-blog-filter {
  padding: 8px 14px;
  border: 1px solid var(--et-b-border);
  border-radius: 999px;
  background: var(--et-b-bg);
  color: var(--et-b-muted);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
}
.et-blog-filter:hover {
  border-color: #fdba74;
  color: var(--et-b-orange-dark);
}
.et-blog-filter.is-active {
  background: #fff7ed;
  border-color: #fdba74;
  color: var(--et-b-orange-dark);
}
.et-blog-count {
  font-size: 13px;
  color: var(--et-b-muted);
  white-space: nowrap;
}
.et-blog-count strong { color: var(--et-b-ink); }

/* ── Featured ── */
.et-blog-featured {
  display: block;
  position: relative;
  margin-bottom: 36px;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  min-height: 320px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.et-blog-featured:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.16);
}
.et-blog-featured-bg {
  position: absolute;
  inset: 0;
}
.et-blog-featured-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.et-blog-featured:hover .et-blog-featured-bg img { transform: scale(1.03); }
.et-blog-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.5) 45%, rgba(15, 23, 42, 0.15) 100%);
}
.et-blog-featured-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  padding: clamp(24px, 4vw, 40px);
  max-width: 720px;
}
.et-blog-featured-label {
  display: inline-flex;
  align-self: flex-start;
  padding: 6px 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--et-b-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.et-blog-featured h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  font-weight: 800;
}
.et-blog-featured p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #cbd5e1;
}
.et-blog-featured-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  font-size: 13px;
  color: #94a3b8;
}
.et-blog-featured-meta .et-read-more {
  margin-left: auto;
  color: var(--et-b-orange);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ── Grid ── */
.et-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.et-blog-card {
  display: flex;
  flex-direction: column;
  background: var(--et-b-surface);
  border: 1px solid var(--et-b-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.et-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}
.et-blog-card.is-hidden { display: none; }
.et-blog-card-thumb {
  position: relative;
  display: block;
  height: 180px;
  overflow: hidden;
  background: #e2e8f0;
}
.et-blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.et-blog-card:hover .et-blog-card-thumb img { transform: scale(1.05); }
.et-blog-card-cat {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.et-blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px;
}
.et-blog-card-body h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 700;
}
.et-blog-card-body h3 a {
  color: var(--et-b-ink);
  text-decoration: none;
  transition: color 0.15s;
}
.et-blog-card-body h3 a:hover { color: var(--et-b-orange-dark); }
.et-blog-card-body p {
  margin: 0;
  flex: 1;
  font-size: 13px;
  line-height: 1.6;
  color: var(--et-b-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.et-blog-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--et-b-border);
  font-size: 12px;
  color: #94a3b8;
}
.et-blog-card-foot a {
  color: var(--et-b-orange);
  font-weight: 700;
  text-decoration: none;
  font-size: 13px;
}
.et-blog-card-foot a:hover { text-decoration: underline; }

.et-blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: var(--et-b-muted);
  font-size: 15px;
  display: none;
}
.et-blog-empty.is-visible { display: block; }

/* ── Topics strip ── */
.et-blog-topics {
  margin: 40px 0 36px;
  padding: 24px;
  border-radius: 16px;
  background: var(--et-b-surface);
  border: 1px solid var(--et-b-border);
}
.et-blog-topics h2 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  color: var(--et-b-ink);
}
.et-blog-topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.et-blog-topic {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--et-b-bg);
  border: 1px solid var(--et-b-border);
  font-size: 13px;
  line-height: 1.45;
  color: var(--et-b-muted);
}
.et-blog-topic-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #fff7ed;
  color: var(--et-b-orange-dark);
  font-size: 11px;
  font-weight: 800;
}

/* ── CTA ── */
.et-blog-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 40px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: 20px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.et-blog-cta::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(253, 121, 1, 0.2);
  filter: blur(40px);
}
.et-blog-cta h2 {
  position: relative;
  margin: 0 0 8px;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.et-blog-cta p {
  position: relative;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 520px;
}
.et-blog-cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .et-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .et-blog-topics-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .et-blog-hero-grid { grid-template-columns: 1fr; }
  .et-blog-hero-stats { grid-template-columns: repeat(4, 1fr); }
  .et-blog-stat { padding: 12px 10px; }
  .et-blog-stat strong { font-size: 20px; }
  .et-blog-toolbar { flex-direction: column; align-items: stretch; }
  .et-blog-search { max-width: none; }
  .et-blog-count { text-align: center; }
  .et-blog-featured-meta .et-read-more { margin-left: 0; }
  .et-blog-cta { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .et-blog-grid { grid-template-columns: 1fr; }
  .et-blog-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .et-blog-topics-grid { grid-template-columns: 1fr; }
  .et-blog-main { padding-left: 14px; padding-right: 14px; }
}
