: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;
}

/* Grid */
.news-grid {
  width: 1616px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, var(--card-w));
  gap: var(--gap-v);
  padding: 20px;
}

/* Card */
.news-card {
  display: flex;
  flex-direction: column;
  width: var(--card-w);
  height: var(--card-h);
  text-decoration: none;
  color: var(--black);
  transition: transform 0.35s ease;
}
.news-card:hover {
  transform: scale(1.03);
  cursor: pointer;
}
.news-img {
  width: 100%;
  height: var(--img-h);
  object-fit: cover;
  border-radius: 8px;
}
.news-title {
  margin-top: 32px;
  font-size: 32px;
  font-weight: 700;
  font-family: 'Domine', serif;
  line-height: 1.3;
}

/* Footer */
.footer {
  background: var(--bg);
  padding: 50px 80px 30px;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-weight: 500;
  font-size: 24px;
  color: var(--black);
  text-decoration: none;
}
.social-icons {
  display: flex;
  gap: 22px;
}
.social-icons a {
  font-size: 24px;
  color: var(--black);
  text-decoration: none;
}
.copyright {
  font-size: 16px;
  text-align: center;
  color: var(--black);
}
