/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/*** General Typography ***/

.ast-primary a,
.ast-right-sidebar a {
  font-weight: 600;
}

/*** MENU ***/

/* Menu Common */

.menu-item a:link,
.current-menu-item {
  margin-right: 0.75em !important;
  border-radius: 8px;
  font-weight: 300 !important;
  font-variant: small-caps;
}

.menu-item a:hover,
.current-menu-item {
  background-color: #cfdee5 !important;
}

#custom_html-2 {
  margin-top: 0 !important;
}

#social-links li {
	display: inline-block;
  padding-right: 0.5em;
}

#social-links li a img {
	border-radius: 4px;
}

#social-links li:last-of-type {
  padding-right: 0;
}

.ast-blog-single-style-1 #menu-main .blog-item a {
  color: #7e1a03;
}

/* Menu, Mobile */

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

  .menu-item a:link,
  .current-menu-item {
    margin-right: 0.65em !important;
  }

}

/*** HEADER ***/

/* Header Common */

.main-header-bar {
  min-height: 294px !important;
  max-width: 1060px;
  background-color: transparent;
  border-radius: 8px;
}

.ast-site-title-wrap {
  display: flex;
}

.site-title a {
  font-variant: small-caps !important;
  font-weight: 200 !important;
}

/* Header Desktop, Tablet */

@media screen and (min-width: 1060px) {

  .main-header-bar {
    border-radius: 8px;
  }

  .ast-site-title-wrap { 
    min-height: 294px !important;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 1.5em;
  }

  .site-title {
    align-self: flex-start;
  }

  .site-description {
    align-self: flex-end;
    margin-bottom: -0.75em !important;
    font-size: 1.6em !important;
  }

}

/* Header Tablet, Mobile */

@media screen and (max-width: 1024px) {
  
  .main-header-bar {
    min-height: 294px !important;
    border-radius: 0;
  }

  .ast-site-title-wrap {
    min-height: 294px !important;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
  }

  .site-title {
    margin-top: 1em !important;
    font-size: 2em !important;
  }

  .site-title a {
    font-size: 1.8em;
  }

  .site-description {
    margin-bottom: -0.75em !important;
    line-height: 1;
    font-size: 1.6em !important;
  }

}

/* Header Mobile */

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

  .site-description {
    margin-bottom: -1.25em !important;
  }

}

/*** MAIN LAYOUT ***/

/* Main Layout Common */

.ast-right-sidebar #primary {
  border-right: 0;
  background: #fbf9e4 url("https://jane-mackenzie.co.uk/wp-content/uploads/2020/05/bg-content-sidebar.jpg");
}

.ast-right-sidebar #secondary {
  border-left: 0;
}

#primary,
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post {
  border-radius: 8px;
}

/* Main Layout Tablet, Mobile */

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

  .ast-right-sidebar #primary,
  .ast-separate-container .ast-article-single,
  .ast-separate-container .ast-article-post {
    border-radius: 0;
  }

  .ast-right-sidebar #primary {
    margin-bottom: 1.75em !important;
  }

  .ast-right-sidebar #secondary {
    max-width: 320px;
    float: none;
    margin: 0 auto;
  }

}

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

  .ast-container {
    padding: 0;
  }

  .ast-grid-1 {
    margin-top: 0 !important;
  }

}

/*** PAGE ***/

/* Page Common */

.entry-header h1 {
  margin-top: 0.75em;
  padding-bottom: 0.25em;
  border-bottom: 1px solid #e3e1df;
  font-variant: small-caps;
}


.entry-header h2 {
  margin-top: 0.5em;
  font-variant: small-caps;
}

.entry-header h2 a:link,
.entry-header h2 a:visited {
  color: #014d7f;
}

.entry-header h2 a:active,
.entry-header h2 a:hover {
  color: #7e1a03;
}

.blog .entry-header {
  margin-bottom: 0;
  padding-bottom: 0.75em;
}

.blog .entry-content {
  padding-bottom: 1em;
  border-bottom: 1px solid #e3e1df;
}

.ast-article-post {
  margin-bottom: 0;
}

.blog-layout-1 {
  padding-bottom: 0;
}

.blog .post-content {
  padding-top: 0;
}

.blog .post-content:first-of-type {
  padding-top: 1.25em;
}

.ast-pagination,
.blog .nav-links a {
  margin-bottom: 1.875em;
  font-family: Merriweather, Georgia, 'Times New Roman', Times, serif;
}

.entry-content,
.post-content {
  padding: 1.25em;
  font-family: Merriweather, Georgia, 'Times New Roman', Times, serif;
}

.callout {
  margin: 0 0 2.5em 0;
  padding: 2em 0 1em 0;
  text-align: center;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif !important;
  background-color: #9f3329;
}

.callout h2,
.callout p {
  font-weight: 200 !important;
  color: #ffffff !important;
}

.callout h2 {
  font-size: 1.875em !important;
}

.callout p {
  margin-bottom: 0;
  font-size: 1.125em !important;
}

.entry-content h3 {
  padding-top: 1.563em;
  border-top: 1px solid #dddddd;
}

.entry-content h3:first-of-type {
  padding-top: 0;
  border-top: none;
}

.entry-content h3 img {
  display: block;
  float: left;
  margin-right: 1.25em;
}

h4 {
  margin-top: 2.5em;
  padding-top: 1.875em;
  border-top: 1px solid #e1e1e1;
  text-align: center;
}

.wp-block-columns {
  margin-bottom: -1em !important;
}

.wp-block-column {
  margin-bottom: 2em !important;
}

.wp-block-column:last-of-type {
  margin-bottom: 0 !important;
}

.wp-block-button a {
  font-size: 1.75em;
  padding: 0.25em 0.5em !important;
}

.wp-block-button a:hover {
  background-color: #044c51 !important;
}

.entry-content h2 {
  padding-top: 0.75em;
  border-top: 1px solid #e3e1df;
  font-weight: bold;
}

.entry-content h2:first-of-type {
  padding: top 0;
  border-top: none;
}

/* Page, Tablet  */

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

  .entry-header h1,
  .entry-header h2 {
    margin: 0 auto;
    text-align: center;
    font-size: 1.9em !important;
  }

  .entry-meta {
    margin: 0 auto;
    padding-top: 0.25em;
    text-align: center;   
  }

  .books-gallery-group .wp-block-column {
    display: block;
    margin: 0 auto;
    text-align: center;
  }

}

/* Page, Mobile  */

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

  .entry-content h3 img {
    float: none;
    margin: 0 auto;
    margin-bottom: 1.25em;
  }

  .entry-content h3 {
    text-align: center !important;
  }

}

/* Page, Small Mobile */

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

  .entry-content {
    padding: 0.625em;
  }

  .callout {
    margin-bottom: 2.5em;
    padding: 1.875em;
  }

}

/*** COMMENTS ***/

/* Comments, Common */

#comments {
  border-top: 1px solid #e1e1e1;
  margin-bottom: 1em;
}

p.no-comments {
  font-weight: bold;
}

/*** SIDEBAR ***/

/* Sidebar Common */

.sidebar-main .widget {
  margin-bottom: 1.25em;
  }

.sidebar-main .widget:last-of-type {
  margin-bottom: 0.625em;
  }

h2.widget-title {
  margin-bottom: 0;
  padding: 0.75em 0.75em 0.375em 0.75em;
  border-top-right-radius: 8px;
  border-top-left-radius: 8px;
  font-size: 1.125em;
  font-variant: small-caps;
  background-color: #feefc0;
  color: #545050;
}

.wp-image-2037,
#recent-posts-2 ul,
#recent-comments-2 ul {
  padding: 0.75em 1.25em;
  border-bottom-right-radius: 8px !important;
  border-bottom-left-radius: 8px !important;
  background: #fbf9e4 url("https://jane-mackenzie.co.uk/wp-content/uploads/2020/05/bg-content-sidebar.jpg");
}

.wp-image-2037 {
    width: 100%;
    padding: 1.25em;
}

#recent-posts-2 ul li,
#recent-comments-2 ul li {
    margin-bottom: 0.5em;
    padding-top: 0.25em;
    padding-bottom: 0.313em;
    border-bottom: 1px solid #DDDDDD;
    line-height: 1.5;
}

#recent-posts-2 ul li a,
#recent-comments-2 ul li a {
  font-family: Merriweather, Georgia, 'Times New Roman', Times, serif;
  font-weight: normal;
}

#recent-posts-2 ul li:last-of-type,
#recent-comments-2 ul li:last-of-type {
    padding-bottom: 0.313em;
    border-bottom: none;
}


/* Sidebar, Small Mobile */

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

  h2.widget-title,
  .wp-image-1452,
  #recent-posts-2 ul,
  #recent-comments-2 ul {
    border-radius: 0 !important;
  }

}