/* News Archive Styles - Pro Modern */

/* Hero Section */
.news-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: center;
  background: var(--bg-light, #f8f9fa);
  padding: 40px;
  border-radius: 24px;
}

.news-hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary, #000);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-source-icon {
  width: 0.8em;
  height: 0.8em;
}

.news-hero-title {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--primary, #000);
  margin: 0;
}

.news-hero-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.news-hero-title a:hover {
  color: var(--accent, #555);
}

.news-hero-excerpt {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--muted, #666);
}

.news-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--primary, #000);
  text-decoration: none;
  font-size: 1.1rem;
  margin-top: 16px;
  transition: gap 0.3s ease;
}

.news-hero-link:hover {
  gap: 12px;
}

.news-hero-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,0.08);
  aspect-ratio: 16/10;
}

.news-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.news-hero:hover .news-hero-image img {
  transform: scale(1.05);
}

/* Grid Layout */
.page-haberler .news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.page-haberler .news-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  group: 'news-card';
}

.news-card-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/2;
  background: #0b0b0f;
}

.news-card-media img,
.news-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card-media video {
  display: block;
  pointer-events: none;
  object-fit: contain;
}

.news-card:hover .news-card-media img,
.news-card:hover .news-card-media video {
  transform: scale(1.05);
}

.news-source-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary, #000);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.news-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.news-meta {
  font-size: 0.9rem;
  color: var(--muted, #888);
}

.news-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.news-title a {
  text-decoration: none;
  color: var(--primary, #000);
  transition: color 0.3s ease;
}

.news-card:hover .news-title a {
  color: var(--accent, #555);
}

.news-excerpt {
  color: var(--muted, #666);
  line-height: 1.6;
  font-size: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary, #000);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  margin-top: auto;
  transition: gap 0.2s ease;
}

.news-read-more:hover {
  gap: 10px;
}

/* Pagination */
.news-pagination {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.news-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.news-pagination .page-numbers.current,
.news-pagination .page-numbers:hover {
  background: var(--primary);
  color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
  .news-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px;
  }
  
  .news-hero-title {
    font-size: 2rem;
  }
  
  .news-hero-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .news-source-tag,
  .news-source-tag-link {
    display: none;
  }

  .page-haberler .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
  }

  .page-haberler .news-card {
    gap: 12px;
  }

  .news-title {
    font-size: 1rem;
  }

  .news-excerpt {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .news-meta,
  .news-read-more {
    font-size: 0.82rem;
  }
}

/* News Hero V2 */
.news-hero.v2 {
  display: block;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: 0;
}

.news-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.news-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 11, 77, 0.62); /* Primary renk overlay */
  z-index: 1;
}

.news-hero-content-v2 {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* Merkeze hizalama */
  padding: 40px;
  text-align: center;
  color: #fff;
}

.news-hero-content-v2 .news-source-badge,
.news-hero-content-v2 .news-source-badge-link {
  margin-bottom: 16px; 
}

.news-hero-title.v2 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: #fff;
  margin-bottom: 24px;
  max-width: 900px;
}

.news-hero-title.v2 a {
  color: #fff;
  text-decoration: none;
}

.news-hero-title.v2 a:hover {
  text-decoration: underline;
}

.news-hero-link.v2.button {
  display: inline-flex;
  background: #fff;
  color: var(--primary);
  padding: 12px 32px;
  border-radius: 99px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.news-hero-link.v2.button:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}
