///////////////////////////////////////////////////////////////
// Device: Desktop
///////////////////////////////////////////////////////////////

.mea2
{
  display: block;
}

.mea2--variant-1
{
  .mea2-footer-container
  {
    justify-content: flex-end;
  }
}

.mea2-images
{
  display: block;
}

.mea2-images-link
{
  display: flex;
    align-items: stretch;
    justify-content: flex-start;
  text-decoration: none;
}

.mea2-images-picture
{
  display: block;
  flex-grow: 1;
  overflow: hidden;

  img
  {
    display: block;
    width: 100%;

    transition: transform 0.3s ease-in-out;
  }
}

.mea2-images-picture:hover
{
  img
  {
    transform: scale(1.05);
  }
}

.mea2-footer
{
  background: $color-grey;
  clear: both;
  padding: 30px 20px;
}

.mea2-footer-container
{
  display: flex;
    align-items: center;
    justify-content: space-between;
  width: 100%;
}

.mea2-footer-text
{
  color: #FFFFFF;
  font-family: lucien-light, sans-serif;
  font-size: 1.4rem;

  strong
  {
    color: $color-golden;
    font-weight: normal;
  }
}

.mea2-footer-button
{
  font-size: 1rem !important;
}


///////////////////////////////////////////////////////////////
// Device: Tablet
///////////////////////////////////////////////////////////////

@include tablet-portrait-and-below
{
  .mea2--variant-1
  {
    .mea2-footer-button
    {
      width: 100%;
    }
  }
}


///////////////////////////////////////////////////////////////
// Device: Mobile
///////////////////////////////////////////////////////////////

@include mobile-landscape-and-below
{
  .mea2-images
  {
    picture
    {
      display: block;

      img
      {
        width: 100%;
        max-width: 100%;
        display: block;
      }

      &:last-child:not(:first-child)
      {
        img
        {
          display: none;
        }
      }
    }
  }
  .mea2-footer-container
  {
    display: block;
  }
  .mea2-footer-text
  {
    margin-bottom: 20px;
    text-align: center;
  }
  .mea2-footer-button
  {
    padding: 20px !important;
    width: 100%;
  }
}
