* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
  }

  .articles-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 40px 0;
  }

  .articles-title {
    font-size: 60px;
    font-weight: 700;
    color: #000000;
  }

  .articles-icon {
    width: 70px;
    height: 70px;
    object-fit: cover;
  }

  .cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
    margin-bottom: 40px;
  }

  .card {
    width: 100%;
    max-width: 429px;
    min-height: 350px;
    max-height: 700px;
    height: auto;
    background: #ffffff;
    border-radius: 32px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform 0.3s ease, height 0.3s;
    display: flex;
    flex-direction: column;
  }
  .card:hover {
    transform: translateY(-5px);
  }

  .card-image1 {
    width: 100%;
    height: 273px;
    background: #d9d9d9;
    border-radius: 32px 32px 0 0;
    object-fit: cover;
    background-image: url('img/Превью статьи 1.png'); /* Добавлено изображение */
    background-size: cover;
    background-position: center;
  }

  .card-image2 {
    width: 100%;
    height: 273px;
    background: #d9d9d9;
    border-radius: 32px 32px 0 0;
    object-fit: cover;
    background-image: url('img/Превью статьи 2.png'); /* Добавлено изображение */
    background-size: cover;
    background-position: center;
  }

  .card-image3 {
    width: 100%;
    height: 273px;
    background: #d9d9d9;
    border-radius: 32px 32px 0 0;
    object-fit: cover;
    background-image: url('img/Превью статьи 3.png'); /* Добавлено изображение */
    background-size: cover;
    background-position: center;
  }

  .card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 180px;
    flex: 1 1 auto;
  }

  .card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 140%;
    color: #000000;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Ограничить двумя строками */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
  }

  .card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .meta-item {
    display: flex;
    align-items: center;
    gap: 9px;
  }

  .meta-icon {
    width: 24px;
    height: 24px;
  }

  .meta-text {
    font-size: 20px;
    font-weight: 300;
    line-height: 140%;
    color: #1d1d1d;
  }

  .read-button {
    width: 100%;
    padding: 18px 32px;
    background: #ffffff;
    border: 1px solid #0039ff;
    border-radius: 24px;
    color: #436dff;
    font-size: 20px;
    font-weight: 300;
    line-height: 140%;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto; /* Кнопка прижимается к низу */
  }

  .read-button:hover {
    background: #0039ff;
    color: #ffffff;
  }

  @media (max-width: 1024px) {
    .cards-container {
      justify-content: center;
    }

    .card {
      max-width: 350px;
    }
  }

  @media (max-width: 768px) {
    .articles-title {
      font-size: 48px;
    }

    .card {
      max-width: 100%;
    }
  }