/* ==========================================================
   PhantomVM Blog — Premium Design
   Override of base blog styles + new components
   ========================================================== */

/* === Reading progress bar (top of single post) === */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #7700ff, #cc88ff, #00d4ff);
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(150, 50, 255, 0.7);
}

/* ==============  BLOG HERO  ============== */
.blog-hero {
  position: relative;
  padding: 180px 20px 80px;
  text-align: center;
  z-index: 20;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(120, 0, 255, 0.15) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}
.blog-hero-eyebrow {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  letter-spacing: 4px;
  color: rgba(180, 120, 255, 0.85);
  text-transform: uppercase;
  padding: 6px 18px;
  background: rgba(60, 0, 140, 0.25);
  border: 1px solid rgba(180, 120, 255, 0.4);
  border-radius: 30px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.blog-hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 4px;
  text-transform: uppercase;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 0%, #cc88ff 50%, #7700ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(150, 50, 255, 0.5));
  margin-bottom: 18px;
}
.blog-hero-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #cc88ff, transparent);
  margin: 18px auto 24px;
}
.blog-hero p {
  color: rgba(220, 200, 255, 0.7);
  font-size: 18px;
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
}

/* ==============  BLOG TOOLBAR (kategoriler + arama)  ============== */
.blog-toolbar {
  position: relative;
  z-index: 20;
  max-width: 1280px;
  margin: 0 auto 50px;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}
.blog-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.blog-category-pill {
  padding: 9px 18px;
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  border: 1px solid rgba(136, 51, 255, 0.25);
  border-radius: 24px;
  background: rgba(20, 0, 50, 0.4);
  color: rgba(220, 200, 255, 0.75);
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.blog-category-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(120,0,255,0.4), rgba(80,0,200,0.25));
  opacity: 0;
  transition: opacity .25s;
  z-index: -1;
}
.blog-category-pill:hover {
  border-color: rgba(180, 120, 255, 0.7);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(150, 50, 255, 0.25);
}
.blog-category-pill:hover::before { opacity: 1; }
.blog-category-pill.active {
  background: linear-gradient(135deg, #7700ff, #4400cc);
  border-color: rgba(200, 140, 255, 0.8);
  color: #fff;
  box-shadow: 0 0 25px rgba(150, 50, 255, 0.5);
}

.blog-search {
  display: flex;
  gap: 0;
  position: relative;
}
.blog-search input {
  padding: 12px 18px 12px 44px;
  background: rgba(10, 0, 25, 0.7);
  border: 1px solid rgba(136, 51, 255, 0.3);
  border-radius: 28px 0 0 28px;
  color: #e8d8ff;
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  outline: none;
  min-width: 260px;
  transition: all .2s;
}
.blog-search input:focus {
  border-color: rgba(180, 120, 255, 0.7);
  box-shadow: 0 0 18px rgba(150, 50, 255, 0.3);
  background: rgba(20, 0, 40, 0.8);
}
.blog-search::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%23cc88ff'><path stroke-linecap='round' stroke-linejoin='round' d='m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z'/></svg>");
  pointer-events: none;
}
.blog-search button {
  padding: 12px 24px;
  background: linear-gradient(135deg, #7700ff, #4400cc);
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  border-radius: 0 28px 28px 0;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid rgba(180, 120, 255, 0.5);
  transition: all .2s;
}
.blog-search button:hover {
  box-shadow: 0 0 25px rgba(150, 50, 255, 0.6);
}

/* ==============  BLOG LAYOUT (content + sidebar)  ============== */
.blog-layout {
  position: relative;
  z-index: 20;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 80px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}
@media (max-width: 1024px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { order: 2; }
}

/* ==============  FEATURED POST (en üstte tek büyük kart)  ============== */
.blog-featured {
  position: relative;
  margin-bottom: 40px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(180, 120, 255, 0.35);
  background: linear-gradient(135deg, rgba(40, 0, 80, 0.4), rgba(10, 0, 30, 0.6));
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 320px;
  transition: all .4s;
  box-shadow: 0 15px 50px rgba(120, 0, 255, 0.2);
}
.blog-featured:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 140, 255, 0.6);
  box-shadow: 0 25px 70px rgba(120, 0, 255, 0.4);
}
@media (max-width: 700px) {
  .blog-featured { grid-template-columns: 1fr; min-height: auto; }
}
.blog-featured-image {
  background-color: #1a0040;
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 280px;
}
.blog-featured-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(120, 0, 255, 0.3) 100%);
}
.blog-featured-image.placeholder {
  background: linear-gradient(135deg, #2a0060 0%, #150030 50%, #0a0020 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 13px;
  letter-spacing: 4px;
  color: rgba(180, 120, 255, 0.5);
}
.blog-featured-image.placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120,0,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,0,255,0.1) 1px, transparent 1px);
  background-size: 40px 40px;
}
.blog-featured-body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: linear-gradient(135deg, rgba(255, 100, 50, 0.2), rgba(200, 50, 100, 0.15));
  border: 1px solid rgba(255, 150, 100, 0.4);
  border-radius: 20px;
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffaa88;
  width: fit-content;
  margin-bottom: 16px;
}
.blog-featured-badge::before {
  content: '★';
  font-size: 11px;
}
.blog-featured-cat {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(120, 0, 255, 0.25);
  border: 1px solid rgba(180, 120, 255, 0.4);
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 14px;
  color: #cc88ff;
  width: fit-content;
  margin-bottom: 14px;
}
.blog-featured h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.25;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 1px;
}
.blog-featured h2 a {
  background: linear-gradient(135deg, #fff 0%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  transition: all .3s;
}
.blog-featured:hover h2 a {
  background: linear-gradient(135deg, #ffffff 0%, #cc88ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.blog-featured-excerpt {
  color: rgba(220, 200, 255, 0.7);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 18px;
}
.blog-featured-meta {
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: rgba(180, 140, 230, 0.7);
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.blog-featured-meta .dot { width: 4px; height: 4px; background: rgba(180, 140, 230, 0.5); border-radius: 50%; }

/* ==============  POST GRID  ============== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(165deg, rgba(40, 0, 80, 0.35), rgba(10, 0, 30, 0.55));
  border: 1px solid rgba(136, 51, 255, 0.2);
  border-radius: 14px;
  overflow: hidden;
  transition: all .35s cubic-bezier(.4, 0, .2, 1);
  position: relative;
  isolation: isolate;
}
.blog-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(180, 120, 255, 0.08), transparent 50%);
  opacity: 0;
  transition: opacity .35s;
  z-index: -1;
}
.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(180, 120, 255, 0.55);
  box-shadow: 0 18px 50px rgba(120, 0, 255, 0.35);
}
.blog-card:hover::before { opacity: 1; }
.blog-card-image {
  display: block;
  height: 180px;
  background-color: #1a0040;
  background-size: cover;
  background-position: center;
  position: relative;
  border-bottom: 1px solid rgba(136, 51, 255, 0.15);
  transition: all .4s;
  overflow: hidden;
}
.blog-card:hover .blog-card-image { filter: brightness(1.15); }
.blog-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 0, 30, 0.7) 100%);
}
.blog-card-image.placeholder {
  background: linear-gradient(135deg, #2a0060 0%, #150030 50%, #0a0020 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-image.placeholder svg {
  width: 60px;
  height: 60px;
  opacity: 0.3;
  filter: drop-shadow(0 0 12px rgba(180, 120, 255, 0.6));
}
.blog-card-body {
  padding: 24px 26px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-cat {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(120, 0, 255, 0.22);
  border: 1px solid rgba(180, 120, 255, 0.3);
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 14px;
  color: #cc88ff;
  margin-bottom: 14px;
  width: fit-content;
}
.blog-card h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 17px;
  letter-spacing: 0.5px;
  line-height: 1.35;
  margin-bottom: 12px;
}
.blog-card h2 a {
  color: #fff;
  transition: color .2s;
}
.blog-card:hover h2 a { color: #cc88ff; }
.blog-card-excerpt {
  color: rgba(220, 200, 255, 0.6);
  font-size: 14px;
  line-height: 1.65;
  flex: 1;
}
.blog-card-meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(136, 51, 255, 0.15);
  display: flex;
  justify-content: space-between;
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  letter-spacing: 1.5px;
  color: rgba(180, 140, 230, 0.6);
}
.blog-card-meta .author {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==============  SIDEBAR  ============== */
.blog-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
  background: linear-gradient(165deg, rgba(30, 0, 70, 0.35), rgba(5, 0, 20, 0.55));
  border: 1px solid rgba(136, 51, 255, 0.25);
  border-radius: 12px;
  padding: 22px 22px;
  position: relative;
}
.sidebar-widget h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  letter-spacing: 2.5px;
  color: rgba(180, 120, 255, 0.9);
  margin-bottom: 18px;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(136, 51, 255, 0.2);
  position: relative;
}
.sidebar-widget h3::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 40px;
  height: 1px;
  background: #cc88ff;
}
.sidebar-cat-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sidebar-cat-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  color: rgba(220, 200, 255, 0.8);
  font-size: 13px;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
  background: rgba(20, 0, 50, 0.4);
  border-left: 2px solid rgba(180, 120, 255, 0.2);
  transition: all .2s;
}
.sidebar-cat-list a:hover {
  background: rgba(80, 0, 180, 0.3);
  border-left-color: #cc88ff;
  color: #fff;
  transform: translateX(2px);
}
.sidebar-cat-count {
  font-size: 10px;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1px;
  padding: 2px 8px;
  background: rgba(120, 0, 255, 0.3);
  border-radius: 10px;
  color: #cc88ff;
}

.sidebar-popular { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.sidebar-popular li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
}
.sidebar-popular .num {
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, #cc88ff 0%, #7700ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.sidebar-popular a {
  font-family: 'Orbitron', sans-serif;
  font-size: 12.5px;
  color: rgba(230, 215, 255, 0.85);
  line-height: 1.4;
  letter-spacing: 0.3px;
  display: block;
  transition: color .2s;
}
.sidebar-popular a:hover { color: #cc88ff; }
.sidebar-popular .meta {
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  letter-spacing: 1px;
  color: rgba(180, 140, 230, 0.55);
  margin-top: 4px;
}

.sidebar-cta {
  background: linear-gradient(135deg, rgba(120, 0, 255, 0.4), rgba(50, 0, 130, 0.5));
  border-color: rgba(200, 140, 255, 0.5);
  text-align: center;
}
.sidebar-cta p {
  font-size: 14px;
  color: rgba(230, 215, 255, 0.85);
  line-height: 1.5;
  margin-bottom: 16px;
}
.sidebar-cta .btn {
  padding: 12px 22px;
  font-size: 12px;
  display: inline-block;
}

/* ==============  PAGINATION (Tailwind override)  ============== */
.blog-pagination {
  position: relative;
  z-index: 20;
  margin: 50px 0 0;
  display: flex;
  justify-content: center;
}
.blog-pagination nav { display: flex; gap: 8px; flex-wrap: wrap; }
.blog-pagination span,
.blog-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  background: rgba(30, 0, 70, 0.4);
  border: 1px solid rgba(136, 51, 255, 0.3);
  border-radius: 8px;
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  color: rgba(220, 200, 255, 0.7);
  transition: all .2s;
}
.blog-pagination a:hover {
  border-color: rgba(180, 120, 255, 0.7);
  background: rgba(120, 0, 255, 0.25);
  color: #fff;
  transform: translateY(-2px);
}
.blog-pagination [aria-current="page"] span {
  background: linear-gradient(135deg, #7700ff, #4400cc);
  border-color: rgba(200, 140, 255, 0.8);
  color: #fff;
  box-shadow: 0 0 18px rgba(150, 50, 255, 0.5);
}

/* ==============  EMPTY STATE  ============== */
.blog-empty {
  position: relative;
  z-index: 20;
  text-align: center;
  padding: 80px 20px;
  max-width: 600px;
  margin: 0 auto;
}
.blog-empty svg {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: block;
  opacity: 0.3;
  color: #cc88ff;
}
.blog-empty h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.blog-empty p {
  color: rgba(220, 200, 255, 0.6);
  font-size: 15px;
}

/* ==========================================================
   BLOG SINGLE POST (Premium)
   ========================================================== */

/* === Hero section with featured image === */
.blog-post-hero {
  position: relative;
  min-height: 480px;
  padding: 160px 20px 80px;
  z-index: 20;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.blog-post-hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.45) saturate(1.1);
  z-index: -2;
}
.blog-post-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(10, 0, 30, 0.85) 100%);
  z-index: -1;
}
.blog-post-hero.no-image {
  background: linear-gradient(135deg, rgba(40, 0, 100, 0.5), rgba(10, 0, 30, 0.8));
  border-bottom: 1px solid rgba(136, 51, 255, 0.2);
  min-height: 360px;
}
.blog-post-hero-content {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}
.blog-post-breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: rgba(220, 200, 255, 0.55);
  margin-bottom: 22px;
  text-transform: uppercase;
}
.blog-post-breadcrumb a { color: rgba(200, 160, 255, 0.75); transition: color .2s; }
.blog-post-breadcrumb a:hover { color: #fff; }
.blog-post-breadcrumb span.sep { opacity: 0.4; }

.blog-post-cat {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(120, 0, 255, 0.35);
  border: 1px solid rgba(200, 140, 255, 0.5);
  border-radius: 24px;
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 26px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 25px rgba(150, 50, 255, 0.4);
}
.blog-post-hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.15;
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 22px;
  filter: drop-shadow(0 4px 20px rgba(120, 0, 255, 0.5));
}
.blog-post-excerpt {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(230, 215, 255, 0.85);
  max-width: 720px;
  margin: 0 auto 32px;
}
.blog-post-meta {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 12px 28px;
  background: rgba(10, 0, 30, 0.6);
  border: 1px solid rgba(136, 51, 255, 0.3);
  border-radius: 30px;
  backdrop-filter: blur(15px);
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: rgba(220, 200, 255, 0.8);
}
.blog-post-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.blog-post-meta-item svg { width: 14px; height: 14px; color: #cc88ff; }
.blog-post-meta .sep { width: 1px; height: 14px; background: rgba(136, 51, 255, 0.3); }

@media (max-width: 600px) {
  .blog-post-meta { flex-wrap: wrap; gap: 12px; padding: 14px 20px; }
  .blog-post-meta .sep { display: none; }
}

/* === Article body === */
.blog-article {
  position: relative;
  z-index: 20;
  max-width: 760px;
  margin: -40px auto 0;
  padding: 0 24px 80px;
}
.blog-article-content {
  background: linear-gradient(180deg, rgba(15, 0, 35, 0.6), rgba(5, 0, 20, 0.4));
  border: 1px solid rgba(136, 51, 255, 0.2);
  border-radius: 16px;
  padding: 50px 50px 40px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 17.5px;
  line-height: 1.85;
  color: rgba(232, 220, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 60px rgba(120, 0, 255, 0.15);
}
@media (max-width: 700px) {
  .blog-article-content { padding: 32px 24px; font-size: 16.5px; }
}
.blog-article-content > *:first-child { margin-top: 0; }
.blog-article-content > *:last-child { margin-bottom: 0; }

.blog-article-content h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(22px, 2.5vw, 28px);
  letter-spacing: 1px;
  color: #fff;
  margin: 50px 0 20px;
  padding-left: 18px;
  border-left: 3px solid;
  border-image: linear-gradient(180deg, #7700ff, #cc88ff) 1;
  line-height: 1.3;
}
.blog-article-content h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  color: #e8d8ff;
  margin: 36px 0 16px;
  letter-spacing: 0.5px;
}
.blog-article-content h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 17px;
  color: #cc88ff;
  margin: 28px 0 12px;
  letter-spacing: 0.5px;
}
.blog-article-content p { margin-bottom: 20px; }
.blog-article-content a {
  color: #cc88ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(204, 136, 255, 0.4);
  transition: all .2s;
}
.blog-article-content a:hover {
  color: #fff;
  border-bottom-color: #fff;
  text-shadow: 0 0 12px rgba(204, 136, 255, 0.6);
}

.blog-article-content ul,
.blog-article-content ol {
  margin: 0 0 24px 0;
  padding-left: 0;
}
.blog-article-content li {
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  list-style: none;
}
.blog-article-content ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 11px;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #cc88ff, #7700ff);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.blog-article-content ol { counter-reset: ol-counter; }
.blog-article-content ol li::before {
  counter-increment: ol-counter;
  content: counter(ol-counter);
  position: absolute;
  left: 0;
  top: 4px;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #7700ff, #4400cc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  border: 1px solid rgba(200, 140, 255, 0.5);
}

.blog-article-content blockquote {
  border-left: 4px solid #7700ff;
  padding: 18px 26px;
  margin: 30px 0;
  background: linear-gradient(90deg, rgba(120, 0, 255, 0.15), transparent);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 18px;
  color: rgba(240, 230, 255, 0.95);
  position: relative;
}
.blog-article-content blockquote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 12px;
  font-family: 'Orbitron', sans-serif;
  font-size: 60px;
  color: rgba(180, 120, 255, 0.25);
  line-height: 1;
}
.blog-article-content code {
  background: rgba(5, 0, 20, 0.85);
  padding: 3px 10px;
  border-radius: 5px;
  font-family: 'Courier New', monospace;
  color: #ffaa88;
  font-size: 0.92em;
  border: 1px solid rgba(180, 120, 255, 0.2);
}
.blog-article-content pre {
  background: linear-gradient(135deg, rgba(5, 0, 20, 0.95), rgba(10, 0, 30, 0.95));
  border: 1px solid rgba(180, 120, 255, 0.3);
  border-radius: 10px;
  padding: 22px 24px;
  overflow-x: auto;
  margin: 28px 0;
  position: relative;
  box-shadow: 0 8px 30px rgba(120, 0, 255, 0.2);
}
.blog-article-content pre::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: 14px 0 0 #febc2e, 28px 0 0 #28c840;
}
.blog-article-content pre code {
  background: transparent;
  border: none;
  padding: 0;
  color: #e8d8ff;
  display: block;
  margin-top: 20px;
}
.blog-article-content img {
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(136, 51, 255, 0.3);
  margin: 28px 0;
  box-shadow: 0 12px 40px rgba(120, 0, 255, 0.25);
}
.blog-article-content hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(180, 120, 255, 0.5), transparent);
  margin: 40px 0;
}
.blog-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: rgba(10, 0, 30, 0.5);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(136, 51, 255, 0.3);
}
.blog-article-content th,
.blog-article-content td {
  padding: 12px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(136, 51, 255, 0.15);
}
.blog-article-content th {
  background: rgba(80, 0, 180, 0.3);
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
}

/* === Tags === */
.blog-tags-wrap {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(136, 51, 255, 0.25);
}
.blog-tags-label {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(180, 120, 255, 0.7);
  text-transform: uppercase;
  margin-right: 12px;
}
.blog-tags { display: inline-flex; flex-wrap: wrap; gap: 8px; vertical-align: middle; }
.blog-tag {
  padding: 6px 14px;
  background: rgba(40, 0, 80, 0.4);
  border: 1px solid rgba(136, 51, 255, 0.3);
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 16px;
  color: rgba(220, 200, 255, 0.8);
  transition: all .2s;
  cursor: default;
}
.blog-tag:hover {
  border-color: rgba(180, 120, 255, 0.6);
  color: #fff;
  background: rgba(80, 0, 180, 0.3);
}

/* === Share buttons === */
.blog-share {
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid rgba(136, 51, 255, 0.25);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.blog-share-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(180, 120, 255, 0.7);
  text-transform: uppercase;
}
.blog-share-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.blog-share-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 0, 70, 0.45);
  border: 1px solid rgba(136, 51, 255, 0.3);
  border-radius: 50%;
  color: rgba(220, 200, 255, 0.85);
  transition: all .25s;
  cursor: pointer;
}
.blog-share-btn:hover {
  background: linear-gradient(135deg, #7700ff, #4400cc);
  border-color: rgba(200, 140, 255, 0.7);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(150, 50, 255, 0.4);
}
.blog-share-btn svg { width: 18px; height: 18px; }

/* === Author card === */
.blog-author-card {
  margin-top: 36px;
  padding: 26px 28px;
  background: linear-gradient(135deg, rgba(60, 0, 140, 0.35), rgba(20, 0, 50, 0.55));
  border: 1px solid rgba(180, 120, 255, 0.35);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: center;
}
.blog-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7700ff, #cc88ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  border: 2px solid rgba(200, 140, 255, 0.5);
  box-shadow: 0 0 25px rgba(150, 50, 255, 0.4);
}
.blog-author-info .label {
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(180, 120, 255, 0.7);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.blog-author-info .name {
  font-family: 'Orbitron', sans-serif;
  font-size: 17px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.blog-author-info .bio {
  margin-top: 6px;
  color: rgba(220, 200, 255, 0.65);
  font-size: 13px;
}

/* === Related posts === */
.blog-related {
  position: relative;
  z-index: 20;
  max-width: 1280px;
  margin: 60px auto 0;
  padding: 60px 24px 100px;
  border-top: 1px solid rgba(136, 51, 255, 0.2);
}
.blog-related-title {
  text-align: center;
  margin-bottom: 50px;
}
.blog-related-title .label {
  display: inline-block;
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  padding: 5px 16px;
  background: rgba(120, 0, 255, 0.2);
  border: 1px solid rgba(180, 120, 255, 0.3);
  border-radius: 20px;
  color: rgba(200, 160, 255, 0.85);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.blog-related-title h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
}

/* === Back to list === */
.blog-back {
  position: relative;
  z-index: 20;
  max-width: 760px;
  margin: 30px auto 0;
  padding: 0 24px;
}
.blog-back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(30, 0, 70, 0.5);
  border: 1px solid rgba(136, 51, 255, 0.35);
  border-radius: 24px;
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: rgba(220, 200, 255, 0.85);
  text-transform: uppercase;
  transition: all .2s;
}
.blog-back a:hover {
  background: rgba(80, 0, 180, 0.4);
  border-color: rgba(180, 120, 255, 0.6);
  color: #fff;
  transform: translateX(-2px);
}
.blog-back a svg { width: 14px; height: 14px; }

/* ==========================================================
   BLOG COMPREHENSIVE RESPONSIVE LAYER
   ========================================================== */

/* === Tablet & below (≤1024px) === */
@media (max-width: 1024px) {
  .blog-layout { grid-template-columns: 1fr; gap: 32px; }
  .blog-sidebar { order: 2; }
  .blog-sidebar { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
  .sidebar-widget { padding: 20px; }
}

/* === Mobile (≤768px) === */
@media (max-width: 768px) {
  /* Hero */
  .blog-hero { padding: 130px 16px 50px; }
  .blog-hero h1 { font-size: clamp(32px, 8vw, 44px); letter-spacing: 2px; }
  .blog-hero p { font-size: 15px; padding: 0 8px; }
  .blog-hero-eyebrow { font-size: 10px; letter-spacing: 3px; padding: 5px 14px; }

  /* Toolbar — kategoriler ve arama dikey */
  .blog-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 0 16px;
    margin-bottom: 32px;
    gap: 14px;
  }
  .blog-categories { justify-content: center; gap: 6px; }
  .blog-category-pill { padding: 7px 14px; font-size: 10px; letter-spacing: 1.5px; }
  .blog-search { width: 100%; }
  .blog-search input { flex: 1; min-width: 0; font-size: 16px; }
  .blog-search button { padding: 12px 18px; font-size: 11px; white-space: nowrap; }

  /* Featured tek sütun stack */
  .blog-featured {
    grid-template-columns: 1fr;
    min-height: auto;
    margin-bottom: 28px;
  }
  .blog-featured-image { min-height: 200px; }
  .blog-featured-body { padding: 24px 22px; }
  .blog-featured h2 { font-size: 20px; line-height: 1.3; }
  .blog-featured-excerpt { font-size: 14px; }
  .blog-featured-meta {
    font-size: 10px;
    letter-spacing: 1px;
    gap: 10px;
  }
  .blog-featured-meta .dot { display: none; }

  /* Sidebar layout */
  .blog-sidebar { grid-template-columns: 1fr; gap: 16px; }
  .sidebar-widget { padding: 18px; }
  .sidebar-widget h3 { font-size: 11px; letter-spacing: 2px; margin-bottom: 14px; padding-bottom: 10px; }

  /* Grid 1 sütun küçük ekranda */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .blog-card-image { height: 180px; }
  .blog-card-body { padding: 20px 22px; }
  .blog-card h2 { font-size: 16px; }
  .blog-card-excerpt { font-size: 13.5px; }

  /* Pagination */
  .blog-pagination span,
  .blog-pagination a { min-width: 38px; height: 38px; font-size: 11px; padding: 0 10px; }
  .blog-pagination { margin-top: 40px; }

  /* Empty state */
  .blog-empty { padding: 60px 16px; }
  .blog-empty svg { width: 60px; height: 60px; }
  .blog-empty h2 { font-size: 17px; letter-spacing: 1.5px; }

  /* === BLOG SINGLE POST === */
  .blog-post-hero {
    padding: 120px 16px 60px;
    min-height: 380px;
  }
  .blog-post-hero.no-image { min-height: 280px; }
  .blog-post-breadcrumb {
    font-size: 10px;
    letter-spacing: 1px;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .blog-post-hero h1 { font-size: clamp(24px, 7vw, 36px); letter-spacing: 1px; line-height: 1.2; }
  .blog-post-excerpt { font-size: 15px; padding: 0 8px; }
  .blog-post-meta {
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 12px 18px;
    justify-content: center;
    font-size: 10px;
    letter-spacing: 1px;
  }
  .blog-post-meta .sep { display: none; }
  .blog-post-meta-item { gap: 4px; }
  .blog-post-meta-item svg { width: 12px; height: 12px; }
  .blog-post-cat { font-size: 10px; padding: 5px 14px; margin-bottom: 18px; }

  /* Article body */
  .blog-back { padding: 0 16px; }
  .blog-back a { padding: 8px 14px; font-size: 10px; }
  .blog-article { padding: 0 16px 60px; margin-top: -20px; }
  .blog-article-content {
    padding: 26px 20px;
    font-size: 16px;
    line-height: 1.75;
    border-radius: 12px;
  }
  .blog-article-content h2 { font-size: 20px; margin: 32px 0 14px; padding-left: 14px; }
  .blog-article-content h3 { font-size: 17px; margin: 28px 0 12px; }
  .blog-article-content h4 { font-size: 15px; }
  .blog-article-content blockquote { padding: 14px 18px; margin: 20px 0; font-size: 16px; }
  .blog-article-content blockquote::before { font-size: 44px; top: -4px; }
  .blog-article-content pre { padding: 18px 16px; font-size: 13px; }
  .blog-article-content pre code { margin-top: 18px; }
  .blog-article-content ul li,
  .blog-article-content ol li { padding-left: 26px; }
  .blog-article-content ol li::before { width: 20px; height: 20px; font-size: 10px; }

  /* Tags & share */
  .blog-tags-wrap { margin-top: 30px; padding-top: 22px; }
  .blog-tags-label { display: block; margin-bottom: 10px; margin-right: 0; }
  .blog-tag { font-size: 9px; padding: 5px 12px; }
  .blog-share {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 28px;
    padding-top: 22px;
  }
  .blog-share-buttons { gap: 8px; }
  .blog-share-btn { width: 36px; height: 36px; }
  .blog-share-btn svg { width: 16px; height: 16px; }

  /* Author card */
  .blog-author-card {
    grid-template-columns: 56px 1fr;
    padding: 20px 22px;
    gap: 16px;
  }
  .blog-author-avatar { width: 56px; height: 56px; font-size: 20px; }
  .blog-author-info .name { font-size: 15px; }
  .blog-author-info .bio { font-size: 12px; }

  /* Related */
  .blog-related { padding: 40px 16px 60px; margin-top: 40px; }
  .blog-related-title { margin-bottom: 32px; }
  .blog-related-title h3 { font-size: 22px; letter-spacing: 1.5px; }
}

/* === Tiny mobile (≤480px) === */
@media (max-width: 480px) {
  .blog-hero { padding: 110px 14px 40px; }
  .blog-hero h1 { font-size: 30px; letter-spacing: 1.5px; }
  .blog-hero p { font-size: 14px; }
  .blog-hero-divider { width: 60px; margin: 14px auto 18px; }

  /* Toolbar fully stacked */
  .blog-categories {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .blog-categories::-webkit-scrollbar { height: 4px; }
  .blog-categories::-webkit-scrollbar-thumb { background: rgba(180,120,255,.4); border-radius: 2px; }
  .blog-category-pill { white-space: nowrap; flex-shrink: 0; }

  /* Featured compact */
  .blog-featured-image { min-height: 160px; }
  .blog-featured-body { padding: 20px 18px; }
  .blog-featured h2 { font-size: 18px; }
  .blog-featured-excerpt { font-size: 13.5px; }
  .blog-featured-badge { font-size: 9px; padding: 4px 10px; }

  /* Cards compact */
  .blog-card-image { height: 160px; }
  .blog-card-body { padding: 18px 20px; }
  .blog-card h2 { font-size: 15px; line-height: 1.35; }

  /* Single post */
  .blog-post-hero { padding: 100px 14px 40px; min-height: 320px; }
  .blog-article-content { padding: 22px 16px; font-size: 15.5px; }
  .blog-article-content h2 { font-size: 19px; }
  .blog-article-content h3 { font-size: 16px; }
  .blog-article { padding: 0 14px 50px; }

  /* Sidebar popular numbers smaller */
  .sidebar-popular { gap: 10px; }
  .sidebar-popular .num { font-size: 18px; }
  .sidebar-popular a { font-size: 11.5px; }
}

/* === Hover-disabled for touch === */
@media (hover: none) {
  .blog-card:hover { transform: none; }
  .blog-featured:hover { transform: none; }
  .sidebar-cat-list a:hover { transform: none; }
}
