/*
 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
*/

.mb-0{
	margin-bottom: 0 !important;
}

.text-decoration-underline{
	text-decoration: underline;
}

.cursor-pointer{
	cursor: pointer;
}

.adthrive-footer-message, .adthrive-ad{
	display: none;
}

.position-relative{
	position: relative;
}

[class^="gb-container-"], .wp-block-group__inner-container{
	max-width: 1170px;
}

.gap-20{
	gap: 20px
}

.hero{
	height: 1010px
}

.header__container{
	background: #000 !important;
}

.banner-column .wp-block-group__inner-container{
	gap: 24px;
}

.max-w-500{
	max-width: 500px;
}

.story-grid-box{
	 display: grid;
    grid-template-columns: 1fr; /* default for mobile */
    gap: 24px;
    align-items: start;
}

  /* GRID CONTAINER */
  .grid-box {
    display: grid;
    grid-template-columns: 1fr; /* default for mobile */
    gap: 50px;
    align-items: start;
  }

  /* 2 items on desktop */
  @media (min-width: 1024px) {
    .grid-box {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  /* 1 item on tablet and mobile */
  @media (max-width: 1023px) {
    .grid-box {
      grid-template-columns: 1fr;
    }
  }

.before-after-section{
	display: flex;
	align-items: center;
	gap: 24px
}

.bf-section-item{
	flex: 1;
	width:100%
}
.before-after-section .bf-section-item .story-grid-item:not(:first-child){
	margin-top: 20px
}

 .grid-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
  }

 .grid-item .grid-item-left-img {
	min-width: 205px	
}

 .grid-item .grid-item-left-img img {
	width: 205px	
}

.grid-item .is-layout-flex{
	align-items: flex-start
}

.wp-container-core-group-is-layout-2{
    padding: 0 30px !important;
}

.journey-grid{
	 display: grid;
    grid-template-columns: 1fr; /* default for mobile */
    gap: 24px;
    align-items: start;
}

.blog-grid{
	display: grid;
    grid-template-columns: 1fr; /* default for mobile */
    gap: 64px;
    align-items: start;
}

.blog-grid-item{
	height: 245px
}

.journey-grid-item{
	display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.journey-grid-item:before{
	opacity: 0;
	transition: opacity 0.3s ease;
}
.journey-grid-item p{
	color: #09090B;
	position: relative;
	line-height: 1
}

.journey-grid-item:hover p{
	color: #FFFBEB
}
.journey-grid-item:hover::before{
	opacity: 1;
}

.network-built{
	display: flex;
	align-items: center;
    gap: 24px;
}

.network-built-left{
	flex-basis: 70%;
}
.network-built-left-inner{
	display: flex;
	gap: 48px;
}

.network-built .network-built-left-inner:not(:first-child){
	margin-top: 36px
}

.network-built-left-inner-left{
	flex-basis: 70%;
}
.network-built-left-inner-right{
	flex-basis: 30%;
	display: flex;
	justify-content: flex-end;
	align-self: center;
    gap: 24px;
}

.network-built-left-inner-right p{
	line-height: 1
}

.network-built-left-inner-right > div{
	display: flex;
	gap: 8px;
}

.network-built-right{
	flex-basis: 30%;
	padding-left: 64px
}


@media (max-width: 767px) {
.wp-container-core-group-is-layout-2 {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
}
}

.flex-display{
	display: flex;
	align-items: center;
	
}

@media (min-width: 768px){
	.offer-right{
		padding-left: 120px;
	}
	.special-offer{
		padding-left: 60px;
		padding-right: 60px;
	}
	.story-grid-box, .blog-grid{
	 	grid-template-columns: repeat(3, 1fr);
	}
	.journey-grid{
		grid-template-columns: repeat(2, 1fr);
	}
	.before-after-section .bf-section-item:nth-child(2){
		order: -1
	}
	.blog-grid-item{
		min-height: 440px
	}
}

@media (max-width: 767px) {
	.grid-item .grid-item-left-img {
		min-width: 130px;
	}
	.grid-item h2{
		font-size: 20px !important;
	}
	.special-offer {
    	flex-direction: column;
		text-align: center;
		        gap: 48px;
	}
	.before-after-section{
		flex-direction: column;
	}
	.network-built,
	.network-built-left-inner{
		flex-direction: column
	}
	.network-built-left-inner {
    	gap: 14px;
	}
	.network-built-left-inner-right {
    		align-self: flex-start;
		}
	
	.network-built-right{
		text-align: center;
		padding-left: 0
	}
	.hero-section .main-heading h2, .hero-section .main-heading p{
		line-height: 1;
		font-size: 40px !important;
	}
	.hero {
		height: 1450px;
	}
	.hero-logo h2{
		font-size: 20px !important;
	}
	.hero-logo p{
		font-size: 14px !important;
	}
	.hero-logo img{
		width: 60px;
		height: 60px
	}
	
}
