/* Extracted "figure.snipet" profile card styles
   Source: other website's style.css
   Note: no ".purple" rule was found in the source file — the
   "purple" class on <figure class="snipet purple"> currently has
   no matching styles anywhere in the source stylesheet. */

.profile .introduction figure.snipet {
  font-family: 'Raleway', Arial, sans-serif;
  float: left;
  color: #000000;
  width: 320px; /* photo + box share this width; adjust to match desired column width */
  margin: 0 25px 20px 0; /* right margin creates the gap to the adjacent text column */
}

figure.snipet .profile-image {
  width: 100%;
}

figure.snipet .profile-image img {
  display: block;
  width: 100%;
  height: auto;
}

figure.snipet figcaption {
  box-sizing: border-box;
  padding: 20px 30px 20px 20px;
  margin: 0 0 15px 0;
  position: static;
  width: 100%;
  background-color: #f5f1ed;
}

figure.snipet figcaption h2,
figure.snipet figcaption p {
  margin: 0;
  text-align: left;
  padding: 10px 0;
}

figure.snipet figcaption h2 {
  font-size: 2em;
  font-weight: 300;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

figure.snipet figcaption h2 span {
  font-weight: 800;
}

figure.snipet figcaption p {
  font-size: 0.9em;
  opacity: 0.8;
}

figure.snipet figcaption p.chair {
  font-weight: 800;
}

figure.snipet figcaption p.chair span {
  font-weight: 300;
}

figure.snipet figcaption p.awarded {
  text-transform: uppercase;
  font-weight: bold;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

/* ---------- Responsive breakpoints ---------- */

/* Tablets: 481px - 767px */
@media only screen and (min-width: 481px) and (max-width: 767px) {
  figure.snipet figcaption p {
    padding: 1px 0;
  }
  figure.snipet figcaption.team h2 {
    font-size: 1em;
  }
  figure.snipet figcaption.team p {
    font-size: .75em;
  }
}

/* Small tablets / large phones: 481px - 595px */
@media only screen and (min-width: 481px) and (max-width: 595px) {
  figure.snipet figcaption {
    padding-top: 0;
  }
  figure.snipet figcaption p {
    padding: 3px 0;
    font-size: 0.75em;
  }
  figure.snipet figcaption h2 {
    font-size: 1em;
  }
  figure.snipet figcaption.team p {
    font-size: .65em;
    padding: 0;
  }
}

/* Mobile: max-width 767px */
@media only screen and (max-width: 767px) {
  figure.snipet {
    width: 75%;
  }
  .profile {
    margin: 0 20px;
  }
  .profile .letter {
    display: inline-block;
    min-width: 300px;
  }
  figure.snipet figcaption h2 {
    font-size: 1.4em;
  }
}

/* iPhone-class devices (portrait, 2x pixel density, 320-568px) */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) and (device-aspect-ratio: 40/71) {
  figure.snipet {
    width: 62%;
  }
  .profile .letter {
    display: inline-block;
    min-width: 250px;
  }
}
