/*
Theme Name: Travel Insight Theme Enfant
Description: Theme enfant de Travel Insight
Author: Romain
Author URI: https://www.rominfo.fr
Template: travel-insight
Version: 0.1.0
*/

body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}


/* header */

header:before {
  display:none!important;
}

.site-logo{
	margin:0px;
}

.site-logo img {
	max-height:135px;
}


#page {
	flex-grow: 1;
}


/* single post & single page*/

.wrapper.page-section{
  width: 100%;
  max-width: none;
  padding: 50px 0;
}

#primary{
  width:100%;
  padding-right:0!important;
}

article.page {
	margin: auto;
	max-width: 850px;
	padding: 0 20px;
}

article.page h2 {
	font-size: 24px;
}

article.page h3 {
	font-size: 20px;
}

article.post {
  padding: 0 45px;
  margin: 0 auto;
  max-width: 1300px;
  margin: auto;
}

article.post .col2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 50px;
}

article.post .featured-image .category {
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px 20px;
  background: #f5f2dcc9;
  color: black;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
}

article.post .details{
  display: flex;
  flex-direction: column;
}

article.post .details .content {
  flex-grow: 1;
}

article.post h1{
  font-size: 38px;
}

article.post h2{
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 10px;
}


/* footer */

.site-footer .site-info a {
	font-size: 16px!important;
	padding: 0;
}


@media only screen and (max-width: 992px) {

  #masthead {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 0 20px;
    border-bottom: 2px solid #ded8d8;
  }

  #masthead .menu-toggle {
    height: 100%;
    margin-left: auto;
    margin-right: 0;
    width: 80px;
    border-color: transparent;
  }

  #masthead .menu-toggle .menu-label {
    display: none;
  }

  #masthead .menu-principal-container {
    background: white;
    position: absolute;
    left: 0;
    width: 100%;
  }


  .wrapper.page-section {
    padding: 20px 0;
  }

  article.post {
    padding: 0 20px;
  }

  article.post .col2{
    grid-template-columns: 1fr;
  }

}