* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #eef1f5;
  color: #111827;
  font-family: Arial, sans-serif;
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 18px;
}

h1 {
  margin: 0 0 8px;
  font-size: 42px;
}

.lead {
  margin: 0 0 28px;
  color: #6b7280;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 22px;
}

.card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.image-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #dde2e8;
}

.image-wrap img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.placeholder {
  background: linear-gradient(135deg,#d1d5db,#eef2f7);
}

.content {
  padding: 18px;
}

.source {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 8px;
}

h2 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
}

h2 a {
  color: #111827;
  text-decoration: none;
}

h2 a:hover {
  text-decoration: underline;
}

p {
  margin: 0;
  color: #374151;
  line-height: 1.55;
  overflow-wrap: break-word;
  word-break: break-word;
}

@media (max-width: 700px) {
  main {
    padding: 20px 12px;
  }

  h1 {
    font-size: 34px;
  }

  .image-wrap {
    height: 200px;
  }
}
