/** ******************************* **/
/** BLOCK ARTICLES - LIST of ITEMS **/
/** ******************************* **/

.pip-articles article {
  font-family: var(--font-family-eesti-regular), 'sans-serif';
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(30, 29, 54, 0.13);
}

.pip-articles article img {
  max-width: 343px;
  width: 100%;
  height: auto;
  margin-bottom: 16px;
  border-radius: 3px;
}

.pip-articles article img[width="150"] {
  max-width: 150px;
}

.pip-articles article h1, .pip-articles article h1 a {
  font-family: var(--font-family-eesti-bold), 'sans-serif';
  font-size: 32px;
  line-height: 1.15em;
  text-decoration: none;
  margin: 0 0 8px 0;
  padding: 0;
  color: var(--fmcsv-color-blue);
}

.pip-articles article h1 + h2 {
  font-family: var(--font-family-eesti-regular), 'sans-serif';
  text-decoration: none;
  margin: -4px 0 8px 0;
  background-color: #E6E4E5;
  color: var(--fmcsv-color-gray);
  font-size: 14px;
  line-height: 1.15em;
  padding: 4px 8px;
  border-radius: 8px;
  width: fit-content;
}

.pip-articles article p {
  font-size: 16px;
  line-height: 1.5em;
  margin-bottom: 12px;
  color: var(--fmcsv-color-blue);
}

.pip-articles article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

@media (min-width: 768px) {
  .pip-articles article {
    display: flex;
    flex-direction: row;
    gap: 24px;
  }

  .pip-articles article img {
    max-width: 343px;
    align-self: flex-start;
  }

  .pip-articles article > div {
    flex: 1;
  }

  .pip-articles article h1 {
    margin-top: -5px;
  }
}