@font-face {
  font-family: Montagu Slab;
  src: url(fonts/MontaguSlab-VariableFont_opsz\,wght.ttf);
}

.news {
    padding: 48px 0 32px 0;
    background: #fff;
    text-align: center;
}
.news h2 {
    font-family: Montagu Slab;
    margin-bottom: 32px;
    font-style: normal;
    font-weight: 700;
    font-size: 60px;
    line-height: 51px;
    text-align: center;
    cursor: pointer;
}
.news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    justify-items: center;
}
.news-item {
    height: 360px;
    background: #fafafa;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    min-width: 220px;
    text-align: left;
    width: 100%;
    max-width: 400px;
    transition: box-shadow 0.25s cubic-bezier(0.4,0,0.2,1), transform 0.25s cubic-bezier(0.4,0,0.2,1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    margin-bottom: 20px;
}
.news-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 5px;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.news-item:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    transform: translateY(-8px) scale(1.03);
    z-index: 2;
}
.news-item:hover img {
    transform: scale(1.08);
}
.news-item:active {
    transform: scale(0.97);
    transition: transform 0.12s cubic-bezier(0.4,0,0.2,1);
}
.news-title {
    margin-bottom: 5px;
    font-family: 'Asul';
    font-style: normal;
    font-weight: 700;
    font-size: 25px;
    line-height: 30px;
    color: #000000;
}
.news-meta {
    color: #000000;
    font-family: 'Alike Angular';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 25px;
}
@media (max-width: 1200px) {
  .news-list {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 10px;
  }
}
@media (max-width: 700px) {
  .news-list {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 8px;
    justify-items: center;
  }
  .news-item {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    height: auto;
    margin-bottom: 30px;
  }
  .news-item img {
    height: 200px;
    border-radius: 8px;
  }
  .news-title {
    font-size: 18px;
  }
  .news-meta {
    font-size: 15px;
  }
  .news, .news-list, .news-item {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
  }
}
