/* Tüm Haberler — liste & detay */

.haberler-page {
  background: #f4f6f9;
}

.haber-breadcrumb {
  padding: 15px 0;
  background: #f4f6f9;
  margin-bottom: 0;
}

.haber-breadcrumb .breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.haber-breadcrumb .breadcrumb-item {
  display: flex;
  align-items: center;
  font-size: 1rem;
  max-width: 100%;
}

.haber-breadcrumb .breadcrumb-item a {
  color: #666;
  text-decoration: none;
}

.haber-breadcrumb .breadcrumb-item a:hover {
  color: #012e5a;
}

.haber-breadcrumb .breadcrumb-separator {
  margin: 0 10px;
  color: #999;
}

.haber-breadcrumb .breadcrumb-item.active {
  color: #333;
  font-weight: 500;
}

.haber-breadcrumb .breadcrumb-item.active span {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.haber-hero {
  padding: 2.75rem 0 1.75rem;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(12, 21, 61, 0.96) 0%, rgba(1, 46, 90, 0.92) 55%, rgba(12, 21, 61, 0.94) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(212, 175, 55, 0.2), transparent 55%);
  color: #fff;
}

.haber-hero__eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(255, 255, 255, 0.06);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e8c96a;
}

.haber-hero h1 {
  margin: 0 0 0.75rem;
  padding-top: 0;
  font-size: clamp(2.35rem, 5.2vw, 3.35rem);
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
  text-align: center;
}

.haber-hero__lead {
  max-width: 44rem;
  margin: 0 auto;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.haber-list {
  padding: 2rem 0 4.5rem;
}

.haber-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.haber-filters__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(1, 46, 90, 0.12);
  background: #fff;
  color: #3d4a5c;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.haber-filters__btn:hover {
  border-color: rgba(1, 46, 90, 0.28);
  color: #012e5a;
}

.haber-filters__btn.is-active {
  background: #012e5a;
  border-color: #012e5a;
  color: #fff;
  box-shadow: 0 6px 16px rgba(1, 46, 90, 0.18);
}

.haber-list__meta {
  margin: 0 0 1.25rem;
  text-align: center;
  color: #6a7888;
  font-size: 1.2rem;
}

.haber-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.haber-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #fff;
  border: 1px solid rgba(1, 46, 90, 0.07);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(1, 46, 90, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.haber-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(1, 46, 90, 0.1);
}

.haber-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8eef5;
}

.haber-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.haber-card:hover .haber-card__media img {
  transform: scale(1.04);
}

.haber-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.45rem 1.45rem 1.55rem;
  flex: 1;
}

.haber-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 0.75rem;
}

.haber-card__cat {
  display: inline-flex;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.14);
  color: #8a6a35;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.haber-card__date {
  color: #7a8796;
  font-size: 1.15rem;
}

.haber-card__title {
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.35;
  color: #012e5a;
}

.haber-card__title a {
  color: inherit;
  text-decoration: none;
}

.haber-card__title a:hover {
  color: #0a4a86;
}

.haber-card__excerpt {
  margin: 0;
  color: #546173;
  font-size: 1.25rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.haber-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
  color: #012e5a;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
}

.haber-card__more i {
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.haber-card__more:hover i {
  transform: translateX(3px);
}

.haber-empty {
  text-align: center;
  padding: 3rem 1rem;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(1, 46, 90, 0.07);
}

.haber-empty p {
  margin: 0 0 1rem;
  color: #546173;
  font-size: 1.3rem;
}

.haber-empty__link {
  color: #012e5a;
  font-weight: 700;
  text-decoration: none;
}

.haber-empty__link:hover {
  text-decoration: underline;
}

.haber-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: 2.25rem;
}

.haber-pagination__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  border-radius: 10px;
  background: #012e5a;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
}

.haber-pagination__btn:hover {
  background: #163a6b;
}

.haber-pagination__pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.haber-pagination__pages a,
.haber-pagination__pages span {
  min-width: 2.85rem;
  height: 2.85rem;
  padding: 0 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.15rem;
  color: #3d4a5c;
  background: #fff;
  border: 1px solid rgba(1, 46, 90, 0.1);
}

.haber-pagination__pages a:hover {
  border-color: #012e5a;
  color: #012e5a;
}

.haber-pagination__pages .is-current {
  background: #012e5a;
  border-color: #012e5a;
  color: #fff;
}

.haber-pagination__dots {
  border: 0 !important;
  background: transparent !important;
}

/* Detail */
.haber-detail {
  padding: 1.75rem 0 4.5rem;
}

.haber-detail__inner {
  max-width: 900px;
}

.haber-detail__header {
  margin-bottom: 1.65rem;
}

.haber-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.1rem;
  margin-bottom: 1rem;
  color: #7a8796;
  font-size: 1.05rem;
}

.haber-detail .haber-card__cat {
  font-size: 0.88rem;
  padding: 0.3rem 0.8rem;
}

.haber-detail__title {
  margin: 0 0 1rem;
  padding-top: 0;
  font-size: clamp(2rem, 4.8vw, 2.85rem);
  font-weight: 500;
  line-height: 1.28;
  color: #012e5a;
}

.haber-detail__lead {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  line-height: 1.7;
  color: #546173;
}

.haber-detail__figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #e8eef5;
  box-shadow: 0 10px 32px rgba(1, 46, 90, 0.08);
}

.haber-detail__figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(56vh, 480px);
  object-fit: cover;
}

/* Haber detay — personel-yonetimi tarzı hero slider (görsel odaklı) */
.haber-detail .hero-slider--haber {
  width: 100%;
  max-width: none;
  height: min(52vh, 460px);
  margin: 0 0 1.25rem;
}

.haber-detail .hero-slider--haber .slide-content {
  justify-content: center;
  max-width: none;
  padding: 0 4rem;
}

.haber-detail .hero-slider--haber .slide-image {
  flex: 0 1 auto;
  max-width: min(720px, 100%);
  width: 100%;
}

.haber-detail .hero-slider--haber .slide-image img {
  width: 100%;
  height: auto;
  max-height: min(42vh, 380px);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.haber-detail .hero-slider--haber[data-single] .slider-controls,
.haber-detail .hero-slider--haber[data-single] .slider-dots {
  display: none;
}

@media (max-width: 768px) {
  .haber-detail .hero-slider--haber {
    height: min(46vh, 360px);
    max-width: 100%;
    margin: 0 0 1.1rem;
    border-radius: 16px;
  }

  .haber-detail .hero-slider--haber .slide-content {
    padding: 0 2.75rem;
  }

  .haber-detail .hero-slider--haber .slide-image {
    max-width: 100%;
  }

  .haber-detail .hero-slider--haber .slide-image img {
    max-height: min(34vh, 280px);
  }
}

.haber-reader-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  background: #fff;
  border: 1px solid rgba(1, 46, 90, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(1, 46, 90, 0.04);
}

.haber-reader-tools__label {
  margin-right: auto;
  color: #5a6a7c;
  font-size: 0.95rem;
  font-weight: 600;
}

.haber-reader-tools__btn {
  min-width: 2.6rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid rgba(1, 46, 90, 0.14);
  border-radius: 8px;
  background: #f7f9fc;
  color: #012e5a;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.haber-reader-tools__btn:hover {
  background: #012e5a;
  border-color: #012e5a;
  color: #fff;
}

.haber-reader-tools__btn:focus-visible {
  outline: 2px solid #6cb4ee;
  outline-offset: 2px;
}

.haber-detail__content {
  --haber-fs: 1.3rem;
  background: #fff;
  border: 1px solid rgba(1, 46, 90, 0.07);
  border-radius: 16px;
  padding: 1.95rem 2.1rem 2.15rem;
  box-shadow: 0 8px 28px rgba(1, 46, 90, 0.05);
  color: #2f3b4a;
  font-size: var(--haber-fs) !important;
  line-height: 1.75 !important;
}

.haber-detail__content p,
.haber-detail__content span,
.haber-detail__content li,
.haber-detail__content td,
.haber-detail__content th,
.haber-detail__content div,
.haber-detail__content strong,
.haber-detail__content em,
.haber-detail__content a,
.haber-detail__content font {
  font-size: inherit !important;
  line-height: inherit !important;
}

.haber-detail__content p {
  margin: 0 0 0.9em;
}

/* Editörden kalan boş satırlar görünmesin */
.haber-detail__content p:empty,
.haber-detail__content p:has(> br:only-child) {
  display: none !important;
  margin: 0 !important;
  height: 0 !important;
  padding: 0 !important;
}

.haber-detail__content li {
  margin-bottom: 0.35em;
}

.haber-detail__content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.haber-detail__content a {
  color: #0a4a86;
}

.haber-detail__content h1,
.haber-detail__content h2,
.haber-detail__content h3,
.haber-detail__content h4 {
  color: #012e5a;
  margin: 1.5rem 0 0.85rem;
  line-height: 1.3 !important;
}

.haber-detail__content h1 {
  font-size: calc(var(--haber-fs) * 1.55) !important;
}

.haber-detail__content h2 {
  font-size: calc(var(--haber-fs) * 1.35) !important;
}

.haber-detail__content h3 {
  font-size: calc(var(--haber-fs) * 1.2) !important;
}

.haber-detail__content h4 {
  font-size: calc(var(--haber-fs) * 1.1) !important;
}

.haber-detail__footer {
  margin-top: 1.85rem;
}

.haber-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.25rem;
  border-radius: 10px;
  background: #012e5a;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
}

.haber-detail__back:hover {
  background: #163a6b;
}

@media (max-width: 1024px) {
  .haber-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .haber-hero {
    padding: 2rem 0 1.35rem;
  }

  .haber-list {
    padding: 1.5rem 0 3.25rem;
  }

  .haber-filters {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
    margin-left: -0.25rem;
    margin-right: -0.25rem;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .haber-filters__btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .haber-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .haber-detail__content {
    padding: 1.4rem 1.2rem 1.55rem;
  }

  .haber-reader-tools {
    justify-content: space-between;
  }

  .haber-reader-tools__label {
    width: 100%;
    margin: 0 0 0.15rem;
  }

  .haber-detail__title {
    font-size: clamp(1.75rem, 7vw, 2.2rem);
  }

  .haber-pagination__btn {
    width: 100%;
    justify-content: center;
  }
}
