:root {
  --bg: #fff9f9;
  --black: #121212;
  --blue: #0267B1;
  --card-w: 500px;
  --card-h: 560px;
  --img-h: 384px;
  --gap-v: 40px;
}

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  font-family: 'Domine', serif;
  color: var(--black);
}

/* Heading */
.news-heading {
  font-family: 'Domine', serif;
  font-weight: 700;
  font-size: 56px;
  text-align: center;
  margin: 40px 0;
}

.news-grid {
  width: 100%;
  max-width: 1616px; /* keeps nice width limit on large screens */
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* responsive columns */
  gap: 40px;
  padding: 20px;
}

.news-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--black);
  transition: transform 0.35s ease;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.news-card:hover {
  transform: scale(1.03);
  cursor: pointer;
}

.news-img {
  width: 100%;
  height: var(--img-h);
  aspect-ratio: 16/9;
  object-fit: cover;
}

.news-title {
  margin-top: 20px;
  font-size: 24px;
  font-weight: 700;
  font-family: 'Domine', serif;
  line-height: 1.3;
  padding: 0 10px 20px;
}
html, body {
  overflow-x: hidden;
  width: 100%;
}
