/**
Theme Name: Kennet Miniaturists
Author: Nick Young
Author URI: http://www.devzen.co.uk
Description: Child theme of Astra customised for the Kennet Miniaturists website.
Version: 0.1
License: Private
Text Domain: kennetminiaturists
Template: astra
*/

/**
 * Navigation
 */
.main-header-bar-navigation .current-post-ancestor,
.main-header-bar-navigation .current-menu-item{
  background-color: #212529!important;
  color: #ffffff;
  border-radius: .25rem;
}

.main-header-bar-navigation .current-post-ancestor a,
.main-header-bar-navigation a{
  color: #212529;
}

.main-header-bar-navigation a:hover{
  color: #6c757d;
}

.main-header-bar-navigation .current-post-ancestor a,
.main-header-bar-navigation .current-menu-item a{
  color: #ffffff;
}

/**
 * Images
 */
.post-thumb img{
  border-radius: 5px;
  box-shadow: rgb(0 0 0 / 15%) 0px 5px 15px 0px;
}

/**
 * Section headings
 */
.ast-separate-container .ast-archive-description{
  background-color: #212529;
  color: #ffffff;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.ast-separate-container .ast-archive-description h1{
  color: #ffffff;
}

body.single-post:not(.home) article.post .entry-header,
body:not(.home) article.page .entry-header{
  margin-left: -6.67em;
  margin-right: -6.67em;
}


body.single-post:not(.home) article.post .entry-header h1,
body:not(.home) article.page .entry-header h1{
  margin-left: 3.33em;
  margin-right: 3.33em;
  color: #ffffff;
}


body.single-post:not(.home) article.post,
body:not(.home) article.page{
  padding-top: 0;
}

.ast-archive-description h1.ast-archive-title{
  /*padding-top: 1em !important;
  padding-bottom: 1em !important;*/
  margin: 0 !important;
}

body:not(.home) article.page .entry-header h1,
.ast-archive-description h1{
  font-size: 2rem !important;
  font-weight: 400 !important;
}

body.single-post:not(.home) article.post .entry-meta,
body.single-post:not(.home) article.post .entry-meta span,
body.single-post:not(.home) article.post .entry-meta .cat-links a{
  color: #ffffff !important;
}

body.single-post:not(.home) article.post .entry-meta{
  margin-left: 6.67em;
  margin-right: 6.67em;
}

.ast-separate-container .ast-archive-description,
body.single-post:not(.home) article.post .entry-header,
body:not(.home) article.page .entry-header{
  background-color: #212529;
  color: #ffffff;
  padding-top: 1em !important;
  padding-bottom: 1em !important;
}

@media (max-width: 1200px) {
  body.single-post:not(.home) article.post .entry-meta{
    margin-left: 2.4em;
    margin-right: 2.4em;
  }

  body.single-post:not(.home) article.post .entry-header,
  body:not(.home) article.page .entry-header{
    margin-left: -2.4em;
    margin-right: -2.4em;
  }

  body.single-post:not(.home) article.post .entry-header h1,
  body:not(.home) article.page .entry-header h1{
    margin-left: 1.2em;
    margin-right: 1.2em;
  }

}

@media (max-width: 921px) {

  body.single-post:not(.home) article.post .entry-meta{
    margin-left: 2.14em;
    margin-right: 2.14em;
  }

  body.single-post:not(.home) article.post .entry-header,
  body:not(.home) article.page .entry-header{
    margin-left: -2.14em;
    margin-right: -2.14em;
  }

  body.single-post:not(.home) article.post .entry-header h1{
    margin-left: 1em;
    margin-right: 1em;
  }

  body:not(.home) article.page .entry-header h1{
    margin-left: 1.79em;
    margin-right: 1.79em;
  }

}

@media (max-width: 544px) {

  body.single-post:not(.home) article.post .entry-meta{
    margin-left: 1em;
    margin-right: 1em;
  }

  body.single-post:not(.home) article.post .entry-header,
  body:not(.home) article.page .entry-header{
    margin-left: -1em;
    margin-right: -1em;
  }

  body.single-post:not(.home) article.post .entry-header h1,
  body:not(.home) article.page .entry-header h1{
    margin-left: .5em;
    margin-right: .5em;
  }

}

/**
 * Contact form
 */
 .page-id-14 .wp-block-column{
  text-align: center;
 }

.page-id-14 .wp-block-column,
.page-id-14 .wpcf7{
  background-color: #f8f9fa;
  border-radius: 5px;
  border: 1px solid #f0f0f0;
  /*box-shadow: rgb(0 0 0 / 15%) 0px 5px 15px 0px;*/
}

.page-id-14 .wpcf7{
  padding: 1em !important;
}

.page-id-14 .wp-block-column p{
  margin: 1em !important;
}

/**
 * home
 */
.home .ugb-blog-posts.ugb-blog-posts--v2.ugb-blog-posts--design-basic .ugb-blog-posts__item{
  box-shadow: rgb(0 0 0 / 15%) 0px 5px 15px 0px;
}

.home .ugb-blog-posts.ugb-blog-posts--v2.ugb-blog-posts--design-basic .ugb-blog-posts__featured-image{
  border-radius: 0 !important;
}

.home .ugb-blog-posts.ugb-blog-posts--v2.ugb-blog-posts--design-basic .ugb-blog-posts__item h3,
.home .ugb-blog-posts.ugb-blog-posts--v2.ugb-blog-posts--design-basic .ugb-blog-posts__item aside,
.home .ugb-blog-posts.ugb-blog-posts--v2.ugb-blog-posts--design-basic .ugb-blog-posts__item .ugb-blog-posts__content div,
.home .ugb-blog-posts.ugb-blog-posts--v2.ugb-blog-posts--design-basic .ugb-blog-posts__item .ugb-blog-posts__content .ugb-blog-posts__excerpt,
.home .ugb-blog-posts.ugb-blog-posts--v2.ugb-blog-posts--design-basic .ugb-blog-posts__item .ugb-blog-posts__content .ugb-blog-posts__readmore{
  padding-left: 15px;
  padding-right: 15px;
}

.home .ugb-blog-posts.ugb-blog-posts--v2.ugb-blog-posts--design-basic .ugb-blog-posts__item .ugb-blog-posts__content .ugb-blog-posts__excerpt{
  margin-bottom: auto;
}

.home .ugb-blog-posts.ugb-blog-posts--v2.ugb-blog-posts--design-basic .ugb-blog-posts__item .ugb-blog-posts__content .ugb-blog-posts__readmore{
  text-align: right;
}

.home .black-button .ugb-button{
  border-radius: 100px !important;
  background-color: #313131;
}

.home .ugb-cc4ae93{
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
