/* ----------- */
/* Card styles */
/* ----------- */

.card {
  position: relative;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  flex-grow: 1;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -ms-flex-preferred-size: 0;
      flex-basis: 0;
  min-height: 23.8rem;
  -webkit-box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, 0.1);
          box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, 0.1);
}

h2 + .card {
  margin-top: 3rem;
}

/* ------------ */
/* Card image   */
/* ------------ */

.card__image {
  min-height: 1px;
  overflow: hidden;
}

.card__image a {
  display: block;
  position: relative;
  width: 100%;
  padding-bottom: 56.21301775%;
}

.card__image img {
  width: 101%;
  height: 101%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform-origin: top left;
      -ms-transform-origin: top left;
          transform-origin: top left;
  transition: transform 0.15s ease-in-out;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  display: block;
}

.card__image:hover img {
  -webkit-transform: scale(1.12) translate(-50%, -50%);
      -ms-transform: scale(1.12) translate(-50%, -50%);
          transform: scale(1.12) translate(-50%, -50%);
}

/* ----------*/
/* Card Body */
/* ----------*/

.card__body {
  font-family: 'Merriweather', serif;
  font-weight: 300;
  font-size: 1.7rem;
  line-height: 1.6470588235294117;
  letter-spacing: 0.01322222rem;
  color: #404041;
}

@media (min-width: 768px) {
  .card__body {
    font-size: 2rem;
    line-height: 1.7;
  }
}

/* ------------ */
/* Card content */
/* ------------ */

.card__content {
  padding: 2rem 2.5rem 2.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background-color: #fff;
}

@media (min-width: 768px) {
  .card__content {
    padding: 2.5rem 5.5rem 2.5rem 2.5rem;
  }
}

.card--fold .card__content {
  padding: 0.2rem 2rem 2.5rem 2.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.card--fold.card--large .card__content {
  padding: 2rem 2rem 4.5rem 4.5rem;
}

.card__content a {
  text-decoration: none;
}

.card__content a:hover {
  text-decoration: underline;
}


/* ---------- */
/* Card Title */
/* ---------- */

.card__title {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  font-size: 2.3rem;
  line-height: 1.391304347826087;
  margin-top: -0.04rem;
  color: #404041;
  max-width: 460px;;
}

a.card__title:hover h3 {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .card--large .card__title {
    font-size: 3.0rem;
    line-height: 1.27;
    letter-spacing: 0.02rem;
  }
}

@media (min-width: 768px) {
  .card--large h2 {
    font-size: 3.0rem;
    line-height: 1.27;
  }
}

.card--fold .card__head + .card__title {
  margin-top: 1.5rem;
}

.card__head + .card__title {
  margin-top: 0.96rem;
}

.card__title + .card__head {
  margin-top: auto;
  padding-top: 4.5rem;
  color: #818181;
  font-size: 1.2rem;
}

@media (min-width: 768px) {
  .card__title {
    font-size: 2.1rem;
    line-height: 1.380952381;
  }
}

/* --------------- */
/* Card Typography */
/* --------------- */

.card__small-text {
  color: #404041;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: -4px;
  line-height: 1.3333333333333333;
  letter-spacing: 0.023000000417232513rem;
}

@media (min-width: 768px) {
  .card__small-text {
    font-size: 1.4rem;
    line-height: 1.4285714285714286;
    letter-spacing: 0.02100000083446503rem;
  }
}

.card__subtitle {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  font-size: 1.8rem;
}

.card__title + .card__subtitle {
  margin-top: 0.6rem;
}

@media (min-width: 768px) {
  .card__title + .card__subtitle {
    margin-top: 1.6rem;
  }
}

.card__title + .card__category {
  margin-top: auto;
  padding-top: 2.2rem;
}

@media (min-width: 768px) {
  .card__title + .card__category {
    padding-top: 3.9rem
  }
}

/* ------------ */
/* Card authors */
/* ------------ */

.authors-list__info,
.card-authors__info {
  font-size: 1.1rem;
  margin-top: 4px;
  color: #404041;
  font-family: 'Source Sans Pro', sans-serif;
  line-height: 1.4285714285714286;
  letter-spacing: 0rem;
}

.authors-list__info {
  margin-top: 10px;
}

.card-authors__item {
  position: relative;
  margin-right: 0.5rem;
}

.card-authors__item a:hover {
  text-decoration: underline;
}

.card__title + .card-authors {
  margin-top: auto;
  padding-top: 3.4rem;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .card__title + .card-authors {
    padding-top: 6.5rem;
  }
}

.card__subtitle + .card-authors {
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .card__subtitle + .card-authors {
    margin-top: 2rem;
  }
}

.card__author {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.2rem;
  line-height: 1.6666666666666667;
  letter-spacing: 0.08571428656578064rem;
  font-weight: 400;
  color: #27aae1;
  display: inline-block;
}

@media (min-width: 768px) {
  .card__author {
    font-size: 1.3rem;
    line-height: 1.6923076923076923;
    letter-spacing: 0.1rem;
  }
}

.card__author:hover {
  text-decoration: underline;
}


/* ------------------- */
/* Col-2 Even Modifier */
/* ------------------- */

.col-2-even .card__head {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  color: #404041;
  font-size: 1.4rem;
  line-height: 1.4285714285714286;
  letter-spacing: 0.023333333432674408rem;
}

@media (min-width: 768px) {
  .col-2-even .card__head {
    font-size: 1.6rem;
    line-height: 1.3125;
    letter-spacing: 0.05714285969734192rem;
  }
}

.col-2-even .card__title h3 {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  font-size: 2.3rem;
  line-height: 1.391304347826087;
  color: #404041;
}

@media (min-width: 768px) {
  .col-2-even .card__title h3 {
    font-size: 3rem;
    line-height: 1.2666666666666666;
    letter-spacing: 0.02357143rem;
  }
}

.col-2-even .card__head + .card__title {
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .col-2-even .card__head + .card__title {
    margin-top: 2.5rem;
  }
}

.col-2-even .card__author-wrapper + .card__body {
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .col-2-even .card__author-wrapper + .card__body {
    margin-top: 2.5rem;
  }
}

.col-2-even .card__title + .card__author-wrapper {
  margin-top: 0.9rem;
}

@media (min-width: 768px) {
  .col-2-even .card__title + .card__author-wrapper {
    margin-top: 1.2rem;
  }
}

.col-2-even .card__body + .card__footer {
  padding-top: 2rem;
}

/* ------------------ */
/* Card Footer Styles */
/* ------------------ */

.card__footer {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.05714285969734192rem;
  color: #818181;
  margin-top: auto;
}

@media (min-width: 768px) {
  .card__footer {
    font-size: 16px;
    line-height: 1.3125;
  }
}

/* ------------- */
/* Fold Triangle */
/* -------------- */

.fold-triangle {
  display: none;
}

.card--fold {
  padding: 2rem 2rem 0 0;
}

@media (min-width: 768px) {
  .card--fold {
    min-height: auto;
  }
}

.card--fold .fold-triangle {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  height: 9px;
  width: 9px;
  border-bottom: 2rem solid #27AAE1;
  border-left: 2rem solid #27AAE1;
  border-right: 2rem solid transparent;
  border-top: 2rem solid transparent;
  z-index: 10;
}

.card--fold .fold-triangle:before{
  content: "";
  position: absolute;
  background: #F8F8F7;
  top: -2rem;
  left: 2rem;
  padding: 2rem 2px;
}

.card--fold .fold-triangle:after{
  content: "";
  position: absolute;
  background: #F8F8F7;
  top: -2.4rem;
  left: -2rem;
  padding: 2px 2rem;
}

.card--fold .card__content:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 3.9rem);
  height: 2rem;
  background-color: white;
}

.card--fold .card__content:after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 2rem;
  height: calc(100% - 3.9rem);
  background-color: white;
}

/* ------------------ */
/* Card Fold Modifier */
/* ------------------ */

.col-2__item .card--fold {
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .col-2__item .card--fold {
    margin-top: 3.0rem;
  }

  .col-2__item .card--fold:first-child {
    margin-top: 0;
  }
}

.bibtex + .card--fold {
  margin-top: 2.0rem;
}