/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/ 

:root{
  --primary:       #96C4BF;
  --secondary:     #576C6D;
  --heading:       #152122;
  --body:          #242424;
}

/* Start Blog Loop css */
.theme_blog_posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 64px 24px;
}

.blog_title {
  margin: 0;
  width: 100%;
  padding-top: 20px;
}

.blog_title h4 {
  margin: 0;
  font-weight: normal;
  line-height: 1.1;
}

.blog_title h4 a {
  color: var(--heading-color);
  font-size: 35px;
  line-height: 1.1;
  font-weight: 400;
	text-decoration: none;
}

.blog_title h4 a:hover,
.blog_single:hover .blog_title h4 a {
  color: var(--btn-secondary);
}

.blog_single .blog_date {
  margin: 10px 0 0 0;
  font-size: 16px;
}

.blog_author {
  letter-spacing: 0.08em;
  padding-top: 15px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  text-transform: capitalize;
  color: var(--body-color);
}

.blog_thumb a {
  display: block;
  position: relative;
  padding-bottom: 102%;
    overflow: hidden;
	background: #ededed;
}

.blog_thumb a img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 978px) {
  .blog_title {
    max-width: 100%;
  }

  .blog_thumb a {
    padding-bottom: 65%;
  }
}

@media (max-width: 1024px) {
  .blog_title h4 a {
    font-size: 30px;
  }
  .theme_blog_posts {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 34px 24px;
  }
}

@media (max-width: 766px) {
  .blog_title {
    padding-top: 12px;
  }
  .blog_title h4 a {
    padding-top: 12px;
    font-size: 25px;
  }
  .theme_blog_posts {
    grid-template-columns: 1fr;
    grid-gap: 34px 24px;
  }
}

.blog_single .blog_thumb {
  overflow: hidden;
}

.blog_single .blog_thumb img {
  transform: scale(1);
  transition: 0.2s;
}

.blog_single:hover .blog_thumb img {
  transform: scale(1.1);
  transition: 0.2s;
}

/* End Blog Loop css */

.blog .grid-container, .wp-singular .grid-container, .archive .grid-container{
	width:100%;
    max-width: none;
}

.blog-content .dynamic-entry-content{
  font-family: inherit !important;
  font-size: 1em;
}

.blog-content p{
    font-size: 1em;
  color:var(--body-color);
}

.blog-content .dynamic-entry-content>p:first-of-type:first-letter{
  float:left;
  font-family: inherit !important;
  font-size:75px;
  color: var(--body-color);
  line-height:0.8;
  padding-top:8px;
  padding-right:8px;
}
.blog-content .dynamic-entry-content :is(h1, h2, h3, h4, h5, h6){
 	color: var(--heading-color);
  font-weight: 400;
}
.blog-content .dynamic-entry-content :is(h1, h2, h3, h4, h5, h6) strong{
  font-weight: 500;
}
.blog-content .dynamic-entry-content h2{
  font-size: 45px;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.blog-content .dynamic-entry-content h3{
  font-size: 35px;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.blog-content .dynamic-entry-content h4{
  font-size: 30px;
  margin-top: 1em;
  margin-bottom: 1em;
}

.blog-content a{
  color:inherit;
  text-decoration: underline;
}

.blog-content a:hover{
  color: var(--btn-secondary);
  text-decoration: none;
}

@media (max-width: 1199px){
  .blog-content .dynamic-entry-content h2{
    font-size: 38px;
  }
  .blog-content .dynamic-entry-content h3{
    font-size: 32px;
  }
  .blog-content .dynamic-entry-content h4{
    font-size: 28px;
  }
}

@media (max-width: 1024px){
  .blog-content .dynamic-entry-content h2{
    font-size: 35px;
  }

  .blog-content .dynamic-entry-content h3{
    font-size: 30px;
  }

  .blog-content .dynamic-entry-content h4{
    font-size: 25px;
  }
}

@media (max-width:767px){
  .blog-content .dynamic-entry-content h2{
    font-size: 32px;
  }
  .blog-content .dynamic-entry-content h3{
    font-size: 28px;
  }
  .blog-content .dynamic-entry-content h4{
    font-size: 24px;
  }
}

/* End blog css */

.ctm-pretty {
  text-wrap: pretty;
}

.ctm-link a {
	color: inherit;
	text-decoration: underline;
}

.ctm-link a:hover{
	color:inherit;
	text-decoration: none;
}

.ctm-link,
.ctm-link.list-style,
.ctm-link p,
.list-style p,
.list-style li {
	text-wrap: pretty;
}

.ctm-underline{
	color:inherit;
}

.ctm-underline:hover,
a.ctm-underline:hover{
	text-decoration:none;
}

.list-style ul li:last-child, ul.list-style li:last-child{
	margin-bottom:0;
}

.list-style ul li, ul.list-style li {
    position: relative;
    margin-bottom: 6px;
}

.list-style ul,
ul.list-style {
    margin: 0;
    padding: 0;
	margin-left: 22px;
}

ul.list-style,
ol.list-style{
    margin-bottom: 15px;
}

.ctm-link:not(:has(~ .ctm-link)) {
    margin-bottom: 0;
}

.icon-line-link .gb-text,
.line-link {
	position: relative;
}

.icon-line-link .gb-text::after,
.line-link::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background: #000;
  transition: all 0.4s;
  left: 0;
  bottom: 0px;
}

.icon-line-link.white .gb-text::after,
.line-link.white::after {
  content: "";
  background: #fff;
}

.hover-box:hover .icon-line-link .gb-text::after,
.hover-box:hover .line-link::after{
  width: 50%;
  transition: all 0.4s;
}


.rank-math-html-sitemap {
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    direction: rtl;
	gap: 25px;
}

.rank-math-html-sitemap h2 {
    margin: 0 0 15px 0;
    font-size: 30px;
    color: #000;
}

.rank-math-html-sitemap > * {
    direction: ltr;
}

.rank-math-html-sitemap a {
	text-decoration: none;
}

@media (max-width: 767px) {
    .rank-math-html-sitemap {
        grid-template-columns: 1fr;
        direction: ltr;
    }
}

.page-id-1932 .banner-subheading,
.page-id-1830 .banner-subheading {
    max-width: 900px;
}

.page-id-1812 .banner-subheading,
.page-id-2226 .banner-subheading{
    max-width: 1050px;
}

.page-id-1855 .banner-subheading {
    max-width: 820px;
}

.page-id-2150 .inner-banner h1 {
    max-width: 800px;
}

.error404 .grid-container{
	max-width: 100%;
}

.desk-header .gb-menu > .menu-item > .gb-menu-link > .gb-submenu-toggle {
    display: none;
}

.black-review-badge .ti-widget-container .ti-fade-container .ti-mob-row span.nowrap strong {
    color: #152122 !important;
}

.black-review-badge .ti-widget-container .ti-fade-container .ti-mob-row strong span.ti-separator {
    color: #152122 !important;
}

.gb-navigation--mobile .gb-menu-container--toggled .gb-menu-toggle.gb-menu-toggle--toggled {
    background-color: var(--primary-color);
    color: var(--black) !important;
}

.gb-navigation--mobile .gb-menu-container--toggled .gb-menu-toggle.gb-menu-toggle--toggled:hover {
    background-color: var(--btn-secondary);
    color: var(--white) !important;
}

@media (max-width: 500px) {
	body:not(.home) h1 {
		font-size: 42px;
	}
}

