@charset "utf-8";

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  font-family: Helvetica, "Helvetica Neue", "Arial", sans-serif;
  line-height: 1.6;
  display: grid;
  place-items: center;
  margin: 0;
}
h1, h2 {
  font-family: 'Libre Baskerville', serif;
  letter-spacing: 0.1rem;
  font-weight: 400;
  line-height: 1.2;
  color: rgba(0,0,0,.95);
  margin: 0 0 20px;
}
h1 { font-size: 40px; }
h2 { font-size: 27px; }
p { margin: 0 0 20px; }
p:last-child { margin: 0; }
p, a, li {
  font-size: 15px;
  font-weight: 300;
  color: rgba(0,0,0,.75);
}
a { text-decoration: none; }
a:hover { text-decoration: underline; }
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
li {
  margin-bottom: 20px;
  line-height: 1.3;
}
li span {
  padding-left: 15px;
  display: block;
}
a span.particulars {
  position: relative;
  font-weight: 500;
  display: inline-block;
}
a span.particulars::before {
  content: "";
  background: url(../img/pdf-sans-serif_outlines.svg) 0 0 no-repeat;
  background-size: 100%;
  display: inline-block;
  width: 16px;
  height: 15px;
  position: absolute;
  top: -25px;
  left: -2px;
}
li span.soon {
  font-weight: 500;
}

.card {
  box-shadow: 0 0 20px rgba(0,0,0,.2);
  width: 80%;
  max-width: 1024px;
  margin: 0 auto;
  background: rgba(0,0,0,.05);
  color: white;
  padding: 2em;
  text-align: left;
  display: grid;
  /* grid-template-columns: 1fr; */
  grid-column-gap: 2.5em;
}

.c-img      { grid-area: image; }
.c-name     { grid-area: name; }
.c-profession { grid-area: position; }
.c-info     { grid-area: profession; }
.c-contact  { grid-area: contact; }
.properties       { grid-area: properties; }

.c-img {
  max-width: 120px;
  border: 2px solid white;
}

.c-profession {
  text-transform: uppercase;
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .2em;
  margin: 0;
  line-height: 1;
  color: rgba(153, 0, 0, 1);
}

.c-profession::after {
  content: '';
  display: block;
  height: 6px;
  background: rgba(0,0,0,.25);
  margin: 20px 0 20px;
}

.c-info {
  margin-bottom: 20px;
}

.c-contact,
.c-contact a { font-weight: 500; }

.properties {
  padding-top: 10px;
}

@media (min-width: 768px) {
  .card {
      grid-template-columns: 2fr 35fr 63fr;
      grid-template-areas:
      "image name properties"
      ". position properties"
      ". profession properties"
      ". contact properties";
    }
    .properties { padding-left: 50px; }
}

@media (max-width: 768px) {
  .card {
    box-shadow: none;
    width: 100%;
    height: 100%;
    padding: 1.5em;
    grid-template-columns: 1fr;
    grid-template-areas:
    "image"
    "name"
    "position"
    "profession"
    "contact"
    "properties"
    ;
  }

  .c-name { margin: 20px 0 15px; }
  .c-profession {
    line-height: 1.3;
    margin-bottom: 0;
  }
  .c-profession::after { width: 100%; }
}