body {
  font-family: 'Work Sans', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
}

.news-header {
  background-color: #451c52;
  color: white;
  padding: 32px 0 18px 0;
  margin-bottom: 0;
  text-align: left;
}

.news-header h3 {
  margin: 0 0 6px 30px;
  font-size: 2.3rem;
  font-family: 'Assistant', Arial, sans-serif;
}
.news-header p {
  color: #dbc8e4;
  font-size: 1.12rem;
  margin-left: 32px;
  margin-bottom: 0;
  max-width: 600px;
}

.news-grid {
  display: grid;
/*  grid-template-columns: repeat(3, 1fr);*/
  grid-template-columns: repeat(auto-fit, minmax(350px, 500px));  
  gap: 34px;
  padding: 44px 32px 35px 32px;
  background: #f3f3f3;
  min-height: 30vh;
  justify-content: center;
}

/*.news-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(72, 40, 104, 0.09);
  transition: transform 0.16s, box-shadow 0.2s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 390px;
}*/
/*.news-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 30px rgba(81, 22, 87, 0.13);
}*/
/*.news-card img {
  width: 100%;
  object-fit: cover;
  height: 160px;
  background: #eee;
}
.news-card-body {
  padding: 20px 20px 16px 22px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}*/
/*.news-title {
  color: #66186e;
  font-size: 1.16rem;
  font-weight: bold;
  margin-bottom: 8px;
  font-family: 'Assistant', Arial, sans-serif;
  min-height: 54px;
}*/
/*.news-meta {
  font-size: 0.93rem;
  color: #868282;
  margin-bottom: 9px;
  font-style: italic;
}
.news-snippet {
  color: #434651;
  font-size: 1.01rem;
  flex: 1 0 auto;
}
.news-link {
  display: inline-block;
  color: #fff;
  background: #3d1a5b;
  border-radius: 6px;
  padding: 8px 18px 8px 16px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 16px;
  font-size: 1rem;
  transition: background 0.22s;
}
.news-link:hover {
  background: #130826;
  color: #dfbcfd;
  text-decoration: underline;
}*/
@media (max-width: 1020px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


.news-card{
  display:flex; 
  flex-direction:column; 
  align-items:center; 
  justify-content:center; 
  padding:12px 10px; 
  font-size:0.98em; 
  width:auto; 
  max-width:500px; 
  background:#fff; 
  border-radius:11px; 
  box-shadow:0 2px 10px rgba(69,28,82,0.08); 
  margin:0 auto;
}

.news-card a{
  display:flex; 
  flex-direction:column; 
  align-items:center; 
  text-decoration:none; 
  width:100%;
}

.news-card img{
  width:90px; 
  height:60px; 
  object-fit:contain; 
  margin:0 auto 13px auto; 
  display:block;
}

.news-card .logo{
  width:110px; 
  height:80px; 
  object-fit:contain; 
  margin:0 auto; 
  display:block;
}

.news-card span{
  font-size:1em; 
  font-weight:700; 
  color:#3d1a5b; 
  line-height:1.28; 
  text-align:center; 
  margin-bottom:2px;
}


@media (max-width: 780px) {
  .news-header h3, .news-header p {
    margin-left: 12px;
  }
  .news-grid {
    grid-template-columns: 1fr;
    padding: 25px 8px 22px 8px;
    gap: 22px;
  }
}