.news-page {
  padding: 0 0 76px;
}

/* Haber detayinda masthead ve ana icerik ayni genis container ritmini kullanir. */
.article-page .article--news {
  max-width: var(--container);
}

.article-page .article--news .article__header {
  max-width: var(--container);
  margin-bottom: 24px;
}

.news-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.news-intro > div {
  max-width: 710px;
}

.news-intro__count {
  color: var(--muted);
}

.news-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 24px 0 17px;
}

.news-toolbar h2 {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0;
}

.news-toolbar > div > span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.news-search {
  width: min(100%, 330px);
  height: 46px;
  margin: 0;
}

.news-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr);
  min-height: 342px;
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid #25366f;
  border-radius: 8px;
  background: #1d2c5e;
  color: #fff;
  box-shadow: 0 13px 30px rgba(31, 47, 78, .13);
}

.news-feature__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 34px 38px;
}

.news-feature__copy time {
  color: #d9e0ff;
  font-size: 12px;
  font-weight: 700;
}

.news-feature__copy h2 {
  display: -webkit-box;
  overflow: hidden;
  margin: 12px 0 11px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news-feature__copy p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #e1e6f8;
  font-size: 14px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news-feature__link {
  display: inline-flex;
  min-height: 44px;
  gap: 7px;
  align-items: center;
  margin-top: 20px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
}

.news-feature__link:hover {
  border-color: var(--accent);
  background: var(--accent);
}

.news-feature__link svg {
  width: 16px;
}

.news-feature__image {
  display: block;
  min-height: 100%;
  background: #dbe1f3;
}

.news-feature__image img {
  width: 100%;
  height: 100%;
  min-height: 342px;
  object-fit: cover;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.news-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #e1e5ef;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(31, 47, 78, .035);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.news-card:hover {
  border-color: #b8c1d9;
  box-shadow: 0 12px 26px rgba(31, 47, 78, .10);
}

.news-card a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-card__body {
  position: relative;
  display: flex;
  min-height: 175px;
  flex-direction: column;
  padding: 16px 42px 18px 18px;
}

.news-card time {
  color: #4b576d;
  font-size: 12px;
  font-weight: 700;
}

.news-card h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 7px 0 0;
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.news-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-card__go {
  position: absolute;
  right: 16px;
  bottom: 17px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid #e1e5ef;
  border-radius: 6px;
  color: var(--navy);
}

.news-card__go svg {
  width: 15px;
}

.news-card:hover .news-card__go {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.news-pagination .is-ellipsis {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

@media (max-width: 920px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .news-page {
    padding: 0 0 56px;
  }

  .news-intro {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 19px;
  }

  .news-toolbar {
    align-items: stretch;
    flex-direction: column;
    margin-top: 19px;
  }

  .news-search {
    width: 100%;
  }

  .news-feature {
    grid-template-columns: 1fr;
  }

  .news-feature__image {
    min-height: 220px;
    order: -1;
  }

  .news-feature__image img {
    min-height: 220px;
    max-height: 280px;
  }

  .news-feature__copy {
    padding: 27px 23px 25px;
  }
}

@media (max-width: 520px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card__body {
    min-height: 158px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-card,
  .news-feature__link {
    transition: none;
  }
}

/* Haber detayını liste ekranından ayrışan, sakin bir okuma akışı olarak tutar. */
.article-page--news {
  padding: 0 0 88px;
}

.article-page--news .article--news {
  max-width: 1120px;
  padding: 0 clamp(20px, 4vw, 48px) 48px;
  background: transparent;
}

.article-page--news .article--news .article__header {
  max-width: 780px;
  margin: 24px auto 28px;
  padding-left: 0;
  border-left: 0;
  text-align: center;
}

.article-page--news .article--news .article__header .eyebrow {
  justify-content: center;
}

.article-page--news .article--news .article__header h1 {
  max-width: 780px;
  margin: 8px 0 15px;
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.035em;
}

.article-page--news .article-meta-list {
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.article-page--news .article-meta-list time {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eef2f8;
}

.article-page--news .article-meta-list svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.article-page--news .article__cover {
  display: block;
  width: min(100%, 780px);
  max-height: 360px;
  margin: 0 auto;
  aspect-ratio: 1.95 / 1;
  border-radius: 8px;
  box-shadow: none;
  object-fit: cover;
}

.article-page--news .article__content {
  max-width: 920px;
  margin: 34px auto 0;
  padding: clamp(24px, 3.2vw, 38px);
  border-radius: 8px;
  background: var(--white);
  color: #354155;
  font-size: 16px;
  line-height: 1.82;
}

.article-page--news .article__content > :first-child {
  font-size: 17px;
  line-height: 1.78;
}

.article-page--news .article__content h2,
.article-page--news .article__content h3,
.article-page--news .article__content h4 {
  margin-top: 30px;
  letter-spacing: -.02em;
}

.article-page--news .article__content h2 { font-size: 22px; }
.article-page--news .article__content h3 { font-size: 18px; }
.article-page--news .article__content h4 { font-size: 16px; }

.article-page--news .article__content img {
  margin: 24px 0;
  border-radius: 6px;
}

.article-page--news .news-article__gallery {
  width: 100%;
  margin: 34px 0 0;
  padding: 0;
  background: transparent;
}

.article-page--news .news-article__gallery-list {
  grid-template-columns: none;
  grid-template-rows: repeat(2, minmax(0, auto));
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 27px) / 4);
  max-height: 390px;
  gap: 9px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--navy) #d5ddea;
  scrollbar-width: thin;
}

.article-page--news .news-article__gallery-item a {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  scroll-snap-align: start;
  text-decoration: none;
}

.article-page--news .news-article__gallery-item img {
  margin: 0;
  border-radius: 0;
  aspect-ratio: 1.35 / 1;
}

.article-page--news .news-article__gallery-index {
  display: none;
}

.article-page--news .article__footer {
  display: flex;
  justify-content: center;
  max-width: 920px;
  margin: 34px auto 0;
  padding-top: 0;
  border-top: 0;
}

.article-page--news .article__footer .article__back {
  min-height: 40px;
  padding: 0 11px;
  font-size: 12px;
}

@media (max-width: 720px) {
  .article-page--news {
    padding-bottom: 58px;
  }

  .article-page--news .article--news .article__header {
    margin-top: 20px;
    margin-bottom: 22px;
  }

  .article-page--news .article--news .article__header h1 {
    font-size: clamp(24px, 7vw, 32px);
    line-height: 1.16;
  }

  .article-page--news .article__cover {
    aspect-ratio: 1.65 / 1;
  }

  .article-page--news .article__content {
    margin-top: 27px;
    padding: 23px 18px;
    font-size: 15px;
    line-height: 1.78;
  }

  .article-page--news .article__content > :first-child {
    font-size: 16px;
  }

  .article-page--news .news-article__gallery {
    margin-top: 28px;
  }

  .article-page--news .news-article__gallery-list {
    grid-auto-columns: calc((100% - 7px) / 2);
    max-height: 250px;
    gap: 7px;
  }

  .article-page--news .article__footer {
    margin-top: 30px;
  }
}
