
/* ==========================================================
   YAPI WEBERP - HABERLER / HABER DETAY
   ========================================================== */

.news-page-hero {
  padding: 135px 0 50px;
  background: linear-gradient(135deg, #f7fbfe 0%, #eef5fa 100%);
  text-align: center;
}

.news-page-hero h1 {
  margin-bottom: 12px;
  color: #173c63;
  font-size: 38px;
  font-weight: 500;
}

.news-page-hero p {
  max-width: 760px;
  margin: 0 auto;
  color: #738191;
  font-size: 16px;
  line-height: 1.8;
}

.news-list-section {
  padding: 60px 0 80px;
  background: #f4f8fb;
}

.news-list-section .ywe-news-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5ebf1;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(20,57,94,.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.news-list-section .ywe-news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(20,57,94,.15);
}

.news-list-section .ywe-news-image {
  display: block;
  height: 235px;
  overflow: hidden;
  background: #e9f1f7;
}

.news-list-section .ywe-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.news-list-section .ywe-news-card:hover .ywe-news-image img {
  transform: scale(1.035);
}

.news-list-section .ywe-news-body {
  padding: 23px 23px 25px;
}

.ywe-news-date {
  display: block;
  margin-bottom: 11px;
  color: #8191a0;
  font-size: 13px;
}

.ywe-news-date i {
  margin-right: 5px;
  color: #2696e2;
}

.news-list-section h3 {
  margin-bottom: 13px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
}

.news-list-section h3 a {
  color: #173c63;
}

.news-list-section h3 a:hover {
  color: #2696e2;
}

.news-list-section .ywe-news-body p {
  margin-bottom: 19px;
  color: #667788;
  font-size: 14px;
  line-height: 1.7;
}

.ywe-news-more {
  color: #1f70b7;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.ywe-news-more i {
  margin-left: 5px;
  transition: margin-left .2s ease;
}

.ywe-news-more:hover i {
  margin-left: 9px;
}

/* Haber detay */
.news-detail-hero {
  padding: 135px 0 48px;
  background: linear-gradient(135deg, #0b3554 0%, #174f73 100%);
  color: #fff;
}

.news-detail-hero .news-breadcrumb {
  margin-bottom: 18px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

.news-detail-hero .news-breadcrumb a {
  color: #fff;
}

.news-detail-hero h1 {
  max-width: 920px;
  margin-bottom: 16px;
  color: #fff;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.3;
}

.news-detail-hero .news-lead {
  max-width: 880px;
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: 18px;
  line-height: 1.75;
}

.news-detail {
  padding: 55px 0 80px;
  background: #fff;
}

.news-article {
  max-width: 940px;
  margin: 0 auto;
}

.news-cover {
  margin-bottom: 34px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(20,57,94,.12);
}

.news-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
  color: #8090a0;
  font-size: 13px;
}

.news-meta i {
  margin-right: 6px;
  color: #2696e2;
}

.news-article h2 {
  margin: 34px 0 14px;
  color: #173c63;
  font-size: 26px;
  font-weight: 600;
}

.news-article h3 {
  margin: 28px 0 12px;
  color: #1f4f78;
  font-size: 21px;
  font-weight: 600;
}

.news-article p {
  margin-bottom: 20px;
  color: #526779;
  font-size: 16px;
  line-height: 1.85;
}

.news-article ul {
  margin: 10px 0 26px;
  padding: 0;
  list-style: none;
}

.news-article ul li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 28px;
  color: #526779;
  font-size: 16px;
  line-height: 1.7;
}

.news-article ul li::before {
  position: absolute;
  left: 0;
  top: 1px;
  content: "\f058";
  color: #1dc8cd;
  font-family: FontAwesome;
}

.news-callout {
  margin: 32px 0;
  padding: 22px 24px;
  background: #f1f7fb;
  border-left: 4px solid #2696e2;
  border-radius: 8px;
}

.news-callout strong {
  color: #173c63;
}

.news-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.news-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 28px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.news-actions .primary {
  background: #2696e2;
  color: #fff;
}

.news-actions .secondary {
  border: 2px solid #2696e2;
  color: #1f70b7;
}

.news-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 940px;
  margin: 40px auto 0;
  padding-top: 25px;
  border-top: 1px solid #e6edf3;
}

.news-nav a {
  color: #1f70b7;
  font-weight: 600;
}

@media (max-width: 767px) {
  .news-page-hero,
  .news-detail-hero {
    padding-top: 105px;
  }

  .news-page-hero h1 {
    font-size: 30px;
  }

  .news-detail-hero h1 {
    font-size: 30px;
  }

  .news-detail-hero .news-lead {
    font-size: 16px;
  }

  .news-list-section .ywe-news-image {
    height: 200px;
  }

  .news-detail {
    padding: 38px 0 60px;
  }

  .news-article h2 {
    font-size: 23px;
  }

  .news-article p,
  .news-article ul li {
    font-size: 15px;
  }

  .news-nav {
    flex-direction: column;
  }
}
