/* View Cards */
.view-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  position: relative; /* todo: Maybe not needed as view-row items have it for the position of pinned icon */
  /* flex-direction: column; removed as not needed */
  /* margin: -2em 0 0 -2em; */

  /*
  align-items: flex-start;
  align-content: flex-start;
  */

}
/* If support gap
@supports (gap: 2em) {
  .view-content {
    gap: 2em;
    margin: 0 0 0 0;
  }
}
*/
.views-row {
  flex-basis: 100%;
  background-color: hsla(0, 0%, 100%, 0);
  border-radius: 1px;
  margin: 0 auto 0;
  /*box-shadow: 1px 1px 1px rgb(83, 82, 82);*/
  padding: 24px;
  position: relative;
  /*height: auto;*/
  /* New Modifications*/
  transition: 250ms;
  /*max-width: 380px;*/
  max-width: 400px;
}

@media only screen and (min-width: 408px) {
  .views-row {
    /*flex-basis: 50%;
    margin: 2em 0 0;
    max-width: 400px;
    min-width: 300px;*/
  }
}
@media only screen and (min-width: 567px) {
  .views-row {
    flex-basis: 50%;
    /*margin: 2em 0 0;*/
  }
  .views-row:nth-last-child(2) + .views-row:nth-of-type(2n+1) {
    /* background-color: #f1b73e; colour used for testing */
    margin-right:50%;
  }
}
@media only screen and (min-width: 976px) {
  .views-row {
    flex-basis: 30%;
    /*margin: 2em 0 0;*/
  }
  .views-row:nth-last-child(2) + .views-row:nth-of-type(2n+1) {
    /* background-color: #f1b73e; colour used for testing */
    margin-right:0;
  }
  .views-row:nth-last-child(2) + .views-row:nth-of-type(3n+2) {
    /* background-color: #f1b73e; colour used for testing */
    margin-right: 35%;
  }
  .views-row:nth-last-child(2) + .views-row:nth-of-type(3n+2) {
    /* background-color: #f1b73e; colour used for testing */
    margin-right: 35%;
  }
}

@media only screen and (min-width: 1336px) {
  .view-content {

  }
}

/* If supports gap
@supports (gap: 2em) {
  .views-row {
    margin: 0 0 0 0;
  }
}
*/
/*
@media (prefers-color-scheme: dark) {
  .views-row {
    background-color: hsla(0, 0%, 0%, 0.66);
    /*background-color: #888686;
    mix-blend-mode: multiply; * Adding this mix-blend-mode make the whole card dark
  }
}
 */

.views-row:hover, .views-row:active {
  box-shadow: 0 0 12px 5px hsla(0, 0%, 0%, 0.36);
  transform: scale(1.01);
}
.views-field-title a {
  color: rgb(21, 117, 4); /* #125f04; */
  text-decoration: none;
  /* Text Overflow */
  font-size: 0.85em;
  overflow: hidden;

  display: -webkit-box;
  -webkit-line-clamp: 2; /* " … (continued on next page)"; See spec. but doesn't work */
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}
.views-row li.pinned-sticky {
  position: absolute;
  top: -.5em;
  list-style: none;
  left: .5em;

}
.more-link a {
  color: aliceblue;
}



/* View content standard teaser
 * Make sure that body trimmed text is displayed as normal
 * todo: 1rem is used but maybe this could be better to be 1em i.e if text is bump to 18px for larger screen how does this render
 *
 * .views-element-container
 */
.views-row article {
  max-width: 100%;
}

.views-row article a {
  font-size: 0.85em;
}

/* h1 */
.views-row article h2 .field--name-field-article-title a {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
}
.views-row article h2 {
  font-size: 1.5em;
}

.view-content .node__content .field--name-body *,
.view-content .node__content .field--type-text-with-summary * {
  font-size: 1rem;
  font-weight: normal;
  color: var(--heading-colour);
  display: inline;
}

.feed-icons {
  margin-block-start: 1em;
}