/*
 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:       #2D4F76;
  --secondary:     #FF6D37;
  --btn-primary:   #FF6D37;
  --btn-secondary: #2D4F76;
  --heading:       #15191E;
  --body:          #1F1F1F;
  --dark-bg:       #1A385C;
  --light-bg:      #E7EDF2;

  --font-heading: 'poppins', sans-serif;
  --font-body: 'poppins', sans-serif;

  --container: 1400px;
} */

.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;
}

.ctm-link-line {
    position: relative;
}

.list-style ul li:before, ul.list-style li:before{
  content:''; 
  width:6px; 
  height:6px; 
  border-radius:50%; 
  position:absolute; 
  left:0; 
  background: #00202F; 
  top:11px;
}
.list-style wt ul li:before, ul.list-style.wt li:before{
  content:''; 
  width:6px; 
  height:6px; 
  border-radius:50%; 
  position:absolute; 
  left:0; 
  background: #ffffff; 
  top:11px;
}

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

.list-style ul li, ul.list-style li {
    padding-left: 18px;
    position: relative;
    margin-bottom: 8px;
}

.list-style ul, ul.list-style {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.ctm-icon-link:hover svg {
    fill: var(--secondary) !important;
	color: var(--secondary) !important;
}

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

.hover-box .line-link {
	position: relative;
}

.hover-box .line-link::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background: #FF6D37;
  transition: all 0.3s;
  left: 0;
  bottom: 1px;
}

.hover-box:hover .line-link::after {
  width: 30%;
  transition: all 0.3s;
}

.hover-box .hov-scale-img {
  transform: unset;
  transition: all 0.3s;
}

.hover-box:hover .hov-scale-img {
  transform: scale(1.1);
  transition: all 0.3s;
}

@media (max-width: 1024px) {
	ul.list-style,
	ol.list-style{
		margin-bottom: 15px;
	}
}


@media (max-width: 500px) {
	.ctm-h1 {
		font-size: 36px;
	}
	
	.ctm-h2 {
		font-size: 30px;
	}
	
	.ctm-h3 {
		font-size: 26px;
	}
	
	.ctm-h4 {
		font-size: 22px;
	}
	
	.ctm-h5 {
		font-size: 20px;
	}
}

.list-column-2{
	columns: 200px 2;
    column-gap: 30px;
    column-rule: 2px none rgba(0,0,0,0.1);
}

.list-column-3{
	columns: 200px 3;
    column-gap: 30px;
    column-rule: 2px none rgba(0,0,0,0.1);
}

.icon-link svg{
	transition:.35s;
}

.icon-link:hover svg{
	transform:translatex(5px);
	transition:.35s;
}

.hover-box:hover .icon-link svg{
	transform:translatex(5px);
	transition:.35s;
}

.error404 .grid-container{
	max-width: 100%;
}
.mb-6{
	margin-bottom:-6px;
}
span.location-name {
    display: block;
    font-size: 28px;
}
@media (max-width: 480px){
	:is(.light-box, .white-box, .light-brown-box) p {
    font-size: 13px;
    line-height: 18px;
}
}

/* 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: 30px;
  line-height: 1.1;
  font-weight: 400;
	text-decoration: none;
}

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

.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;
}

.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 (min-width: 767px) and (max-width: 991px) {
  .blog_title h4 a {
    font-size: 28px;
  }
  .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: 28px;
  }
  .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);
  margin:1em 0;
}

/* .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: 700;
}
.blog-content .dynamic-entry-content :is(h1, h2, h3, h4, h5, h6) strong{
  font-weight: 500;
}
.blog-content .dynamic-entry-content h2{
  font-size: 40px;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.blog-content .dynamic-entry-content h3{
  font-size: 30px;
  margin-top: 0em;
  margin-bottom: 0em;
}
.blog-content .dynamic-entry-content h4{
  font-size: 25px;
  margin-top: 1em;
  margin-bottom: 1em;
}

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

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

@media (max-width:978px){
  .blog-content .dynamic-entry-content h2{
    font-size: 35px;
  }
  .blog-content .dynamic-entry-content h3{
    font-size: 25px;
  }
  .blog-content .dynamic-entry-content h4{
    font-size: 20px;
  }
  .blog-content .dynamic-entry-content {
    font-size: 1em;
	}
}
@media (max-width:767px){
  .blog-content .dynamic-entry-content h2{
    font-size: 30px;
  }
  .blog-content .dynamic-entry-content h3{
    font-size: 22px;
  }
  .blog-content .dynamic-entry-content h4{
    font-size: 19px;
  }
}

.flip-card {
    perspective: 1000px;
    position: relative;
	display: grid;
	overflow:hidden;
}

.flip-card-front,
.flip-card-back {
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.6s ease;
}

.flip-card-front {
    transform: rotateY(0deg);
}

.flip-card-back {
    transform: rotateY(180deg);
}

.flip-card:hover .flip-card-front {
    transform: rotateY(-180deg);
}

.flip-card:hover .flip-card-back {
    transform: rotateY(0deg);
}

.headerSticky{
	position: relative;
	background: transparent !important;
}
.headerSticky::after{
	content: '';
	position: absolute; 
	top: 0;
	left: 0; 
	width: 100%;
	height: 100%;
	 	backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  background-color: rgba(0,0,0,.6) !important;
	z-index: -1;
}