/* Haber Detay Sayfası Styles */
.detail-main {
  min-height: 80vh;
  padding: 40px 0;
}

.detail-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.haber-article {
  background: rgba(0,0,0,0.2);
  border-radius: 16px;
  padding: 40px;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.haber-header {
  margin-bottom: 30px;
  text-align: center;
}

.haber-header h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.3;
  color: #fff;
}

.haber-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 1rem;
  opacity: 0.8;
}

.haber-date, .haber-author {
  color: #4ade80;
  font-weight: 500;
}

.haber-image {
  margin-bottom: 30px;
  text-align: center;
}

.haber-image img {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.haber-summary {
  background: rgba(76,222,128,0.1);
  border-left: 4px solid #4ade80;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 0 8px 8px 0;
}

.haber-summary p {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.6;
  color: #e0f2f1;
}

.haber-detail {
  line-height: 1.8;
  font-size: 1.1rem;
}

.haber-detail p {
  margin-bottom: 20px;
  text-align: justify;
}

.back-btn {
  display: inline-block;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.back-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.back-link {
  background: #4ade80;
  color: #222;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s;
}

.back-link:hover {
  background: #22c55e;
}

/* Admin link styling */
.admin-link {
  background: rgba(239,68,68,0.2) !important;
  border: 1px solid rgba(239,68,68,0.3) !important;
}

.admin-link:hover {
  background: rgba(239,68,68,0.4) !important;
  border-color: #ef4444 !important;
}

.error-message {
  text-align: center;
  padding: 50px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.error-message h2 {
  color: #ef4444;
  margin-bottom: 20px;
  font-size: 2rem;
}

.error-message p {
  color: #6b7280;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .haber-article {
    padding: 20px;
  }
  
  .haber-header h1 {
    font-size: 2rem;
  }
  
  .haber-meta {
    flex-direction: column;
    gap: 10px;
  }
  
  .haber-summary p {
    font-size: 1.1rem;
  }
  
  .haber-detail {
    font-size: 1rem;
  }
} 