/* MAKALE DETAY SAYFASI ÖZEL STİLLERİ */
.detail-hero {
  position: relative;
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  margin-bottom: 30px;
  overflow: hidden;
}

.detail-hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%);
}

.detail-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  z-index: 2;
}

.detail-hero-content h2 {
  color: #fff;
  font-size: 42px;
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.detail-hero-content .meta {
  color: #d1d5db;
  font-size: 14px;
  display: flex;
  gap: 15px;
}

.detail-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-muted);
  text-align: justify;
}

.detail-content h2 {
  color: var(--text);
  font-size: 26px;
  margin-top: 40px;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
}

.detail-content .lead-text {
  font-size: 19px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 30px;
  line-height: 1.7;
}

.detail-content p {
  margin-bottom: 20px;
}

.toc-box {
  background-color: var(--light-gray);
  border-left: 4px solid var(--gold);
  padding: 25px;
  border-radius: 4px;
  margin: 40px 0;
}

.toc-box h4 {
  margin-bottom: 15px;
  font-size: 20px;
  color: var(--text);
  font-family: 'Playfair Display', serif;
}

.toc-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-box ul li {
  margin-bottom: 10px;
}

.toc-box ul li a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.toc-box ul li a:hover {
  color: var(--text);
  text-decoration: underline;
}

.article-list {
  padding-left: 20px;
  margin-bottom: 25px;
}

.article-list li {
  margin-bottom: 10px;
  position: relative;
  list-style: disc;
  color: var(--text-muted);
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
  margin-top: 20px;
}
.detail-sidebar {
  position: sticky;
  top: 100px;
}
.sidebar-title {
  font-size: 20px;
  font-family: 'Playfair Display', serif;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--glass-border);
}
.sidebar-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.sidebar-item {
  text-decoration: none;
  color: inherit;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 15px;
  border-radius: 8px;
  transition: var(--transition);
  display: block;
}
.sidebar-item:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.sidebar-tag {
  font-size: 12px;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
}
.sidebar-item h4 {
  font-size: 14px;
  margin-top: 5px;
  line-height: 1.4;
  color: var(--text);
}
@media (max-width: 900px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
}

/* ========== MOBILE RESPONSIVENESS ========== */
@media (max-width: 768px) {
  .article-detail-section {
    padding: 30px 15px;
  }
  .container {
    flex-direction: column;
    gap: 30px;
  }
  .main-content {
    padding: 25px 20px;
  }
  .article-title {
    font-size: 26px;
  }
  .sidebar {
    position: relative;
    top: 0;
  }
}
