@charset "utf-8";
/* mobile first => css pour max 480px   */
.blog {
  display: flex;
  flex-direction: column;
  color: rgb(40,40,40);
  background-color: #F8F5F2;
  margin: 1.0416666666667% auto; /* 10px / 960px */ 
}
.blog>h2 {
  width: 100%;
  background: #751910 url("../img/blog-title-bg.jpg");
  padding: 1.777777777777778% 5.333333333333333%;/* 16px / 900px - 48px / 900px */
  text-transform: uppercase;
}
.blog ul {list-style:none}
.blog article, .blog aside {width: 100%}
.blog article {
  order: 1;
  font-size: 1.4rem;
  padding: 4.444444444444444% 5.333333333333333%; /* 40px / 900px - 48px / 900px */
}
.blog article header>time {
  float: left;
  display: block;
  width: 13.829787234042553%;  /* 65px / 470px */
  min-width: 7rem;
  margin: 0 10px 0 0;
  padding: 0;
  background: rgba(100,100,100, 0.6);
  border-radius: 5px;
  color: #FFF;
  font: normal 1rem exoregular, Arial, sans-serif;  
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 1px 0 #000;       
}
.blog article header span {
  display: block;
  font-size: 4.6rem; 
}
.blog article header h3 {
  color:#d53232;
  font-size: 1.5rem ;
  text-transform: uppercase;
  margin-bottom: 1em;
}
.blog article figure {
  float: right;
  margin: 0.5em 0 0.5em 2.553191489361702%; /* 12px / 470px */
  width: 49.148936170212766%; /* 231px / 470px */
  padding: 0;
}
.blog footer {
  background-color: transparent;
  border-top: 1px solid #999;
  margin-top: 3.404255319148936%; /* 16px / 470px */
  padding: 1em 0;
  color: #666;
  text-align: right;
}
.blog footer cite {
  color: #D53232;
  font-style: normal;
  font-weight: bold;
}
.blog aside {
  background: url("../img/blog-bg.png") repeat-y 80% 0;
  margin: 0;
  padding: 4.444444444444444% 5.333333333333333%;
}
.blog aside h2, .blog aside li {
  border-bottom: 1px solid #B8B7B5;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.blog aside h2 {
  color: #D53232;
  font-size: 1.4rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  padding-bottom: 1em;
}
.blog aside h3 {line-height: 1.1}
.blog aside h3 a,.blog aside p {padding-left: 23px}
.blog aside h3 a {
  display: block;
  background: url("../img/lines.png") no-repeat 0 0.25em;
  color: #D53232;
  border:none;
  border-radius: 0;
  text-decoration: none;
}
.blog aside h3 a:hover, .blog aside h3 a:focus {
  color: #ddd;
  background-color: rgba(213,50,50,0.7);
  
}
.blog aside li {padding: 0.35em 0}
.blog aside p {
  color: #666;
  font-size: 0.8em;
  margin: 0;
} 

@media screen and (min-width: 481px){
  .blog {
    flex-direction: row;
    flex-wrap: wrap;
    background: #F8F5F2 url("../img/blog-bg.png") repeat-y 63.5% 0 ;  /* rapport entre blanc et gris  */
  }
  .blog article {
    width: 62.8888889%;  /* 566px / 900px */
    order: 0;
  }
  .blog article header>time {
    float: right;
    margin-top: -5%;
    padding: 1%;
  }
  .blog aside {
    width: 36.7777778%;  /* 311px / 900px */
    vertical-align: top;
    margin: 40px auto;
  } 
}

@media screen and (min-width: 960px) {
  .blog article header>time {
    float: left;
    margin-left: -17.5%; 
  }
}
