/*****************************

Latest publications Responsive

****************************/

@media screen and (min-width: 1400px) {
  .homepage-latest-publications .view {
    max-width: 1310px;
  }
}

@media screen and (min-width: 1199px) and (max-width: 1400px) {
  .homepage-latest-publications .views-col {
    width: calc(33.33% - 33.33px);
    margin: 0 50px 0 0;
  }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .homepage-latest-publications .view {
    padding: 0 50px;
  }

  .homepage-latest-publications .views-col {
    width: calc(33.33% - 33px);
    margin: 0 50px 0 0;
  }
}

/* Medium Devices, Desktops  */

@media only screen and (max-width: 991px) {
  .region-content .homepage-latest-publications {
    padding-top: 30px;
  }

  .homepage-latest-publications .view {
    padding: 0 20px 20px;
  }

  .homepage-latest-publications .views-field-title {
    font-size: 16px;
    margin-top: 5px;
  }

  .homepage-latest-publications .views-field-body {
    font-size: 14px;
  }

  .homepage-latest-publications .views-field-view-node {
    position: relative;
    margin: 12px 0 30px;
  }

  .homepage-latest-publications .author-date {
    display: none;
  }

  .views-field-field-publications-img {
    margin-bottom: 20px;
  }

  .homepage-latest-publications .views-field-field-publications-img img {
    width: 100%;
    object-fit: cover;
    object-position: center;
  }

  .homepage-latest-publications .views-row {
    flex-wrap: wrap;
  }
}

@media screen and (min-width: 480px) and (max-width: 991px) {
  .homepage-latest-publications .views-col {
    width: calc(50% - 10px);
    position: relative;
  }

  .homepage-latest-publications .views-col:not(:nth-child(2n)) {
    margin-right: 20px;
  }

  .homepage-latest-publications .views-col:nth-child(2n) {
    margin-right: 0;
  }

  .homepage-latest-publications .views-field-view-node {
    position: absolute;
    bottom: 0;
  }
}

@media only screen and (max-width: 767px) {
  .homepage-latest-publications .views-field-body {
    display: none;
  }
}

@media only screen and (max-width: 480px) {
  .homepage-latest-publications .view-home-page-latest-publications {
    max-width: 340px;
  }

  .homepage-latest-publications .views-row {
    flex-direction: column;
  }

  .homepage-latest-publications .views-col {
    width: 100%;
    margin-right: 0;
    padding: 0;
  }

  .homepage-latest-publications .views-field-field-publications-img img {
    height: 280px;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }

  .homepage-latest-publications .views-field-field-types {
    margin-top: 20px;
  }
}
