/* ==== Renk & tipografi değişkenleri (isteğe göre uyarlayabilirsin) ==== */
:root{
  --ink: #0b1320;
  --muted: #4b5563;
  --card-bg: #fff;
  --bg: #f6f7f9;
  --gap: 28px;
  --radius: 26px;
  --shadow: 0 14px 36px rgba(2,6,23,.12);
  --shadow-h: 0 18px 46px rgba(2,6,23,.16);
}

/* ==== Bölüm ve container ==== */
.news{
  background: #fff;      /* istersen var(--bg) yapabilirsin */
  padding: clamp(28px, 6vw, 64px) 0;
}
.news-container{
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3.6vw, 28px);
}

/* ==== Başlık & alt açıklama ==== */
.news-header{
  text-align: center;
  margin-bottom: clamp(22px, 4vw, 36px);
}
.news-header h2{
  margin: 0 0 12px;
  font-family: system-ui, -apple-system, "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-size: clamp(28px, 5.6vw, 64px);
  line-height: 1.05;
}
.news-header p{
  margin: 0 auto;
  max-width: 980px;
  color: var(--muted);
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.7;
  opacity: .95;
}

/* ==== Grid ==== */
.news-grid{
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 1024px){
  .news-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px){
  .news-grid{ grid-template-columns: 1fr; }
}

/* ==== Kart ==== */
.news-card{
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
  display: grid;
  grid-template-rows: auto 1fr;
}
.news-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-h);
}

/* Görsel */
.news-media{
  margin: 0;
  overflow: hidden;
  line-height: 0;
}
.news-media img{
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;        /* modern tarayıcılar için güzel yükseklik */
  object-fit: cover;
  transform: translateZ(0);
  transition: transform .5s ease;
}
.news-card:hover .news-media img{
  transform: scale(1.04);
}

/* İçerik */
.news-body{
  padding: clamp(16px, 3vw, 26px);
}
.news-heading{
  margin: 0 0 10px;
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 26px);
  letter-spacing: -.01em;
  color: var(--ink);
}
.news-text{
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
  font-size: clamp(14px, 1.6vw, 17px);
}

/* Buton */
.news-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 14px 22px;
  border-radius: 999px;

  background: #0b1320;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .2px;

  box-shadow: 0 10px 24px rgba(2,6,23,.16);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.news-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(2,6,23,.18);
  background: #151c2a;
}
.news-btn:active{ transform: translateY(0); }
.news-btn:focus{
  outline: none;
  box-shadow: 0 0 0 3px rgba(11,19,32,.3);
}
