﻿/* ═══════════════════════════════════════════
   Haber Detay – ASAŞ (News article page)
   Breadcrumb, hero, body, related cards, CTA → haberler.css ile aynı yapı
═══════════════════════════════════════════ */

:root { --asas-gutter: 48px; }
@media (max-width: 1199.98px) { :root { --asas-gutter: 32px; } }
@media (max-width: 991.98px) { :root { --asas-gutter: 24px; } }
@media (max-width: 767.98px) { :root { --asas-gutter: 16px; } }

.detail-page {
  width: 100%;
  background: #FFFFFF;
  padding-bottom: 0;
}

/* Hero: Swiper slider + gradient + noktalar */
.detail-hero {
  width: 100%;
  max-width: 1216px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--asas-gutter, 48px);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.detail-hero-swiper {
  width: 100%;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 1216 / 613;
}

.detail-hero-swiper .swiper-slide {
  height: 100%;
  position: relative;
}

.detail-hero-slide {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f0f0f0;
}

.detail-hero-slide::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(89.89deg, #000000 0.06%, rgba(0, 0, 0, 0) 71.01%);
  pointer-events: none;
}

.detail-hero-slide img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-hero-dots {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
}

.detail-hero-dots .dot {
  width: 8px;
  height: 5px;
  background: #C0C0C0;
  opacity: 0.3;
  flex-shrink: 0;
}

.detail-hero-dots .dot.active {
  background: #D1000F;
  opacity: 1;
}

/* Makale içerik: tarih, başlık, paragraflar */
.detail-content {
  width: 100%;
  max-width: 1216px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--asas-gutter, 48px);
  padding-top: 48px;
  padding-bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
}

.detail-date {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #828282;
  margin: 0;
}

.detail-title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 38px;
  color: #202223;
  margin: 0;
}

.detail-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.detail-body p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  color: #6C6D70;
  margin: 0;
}

.detail-subheading {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  color: #202223;
  margin: 0 0 24px 0;
}

/* İlginizi çekebilecek haberler – .news-main haberler.css'ten */
.detail-related {
  width: 100%;
  padding-top: 0;
  padding-bottom: 64px;
}

.detail-related .news-main {
  padding-top: 0;
}

@media (max-width: 767.98px) {
  .detail-hero { padding-top: 24px; }
  .detail-content { padding-top: 32px; padding-bottom: 48px; gap: 32px; }
  .detail-related { padding-bottom: 48px; }
}
