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

html, body { 
	overflow-x: hidden; 
}
#page,
.site,
.site-content,
#content {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
}

.no-underline, a.no-underline,.no-underline a { 
	text-decoration: none;
}
.underline-on-hover a:hover { 
	text-decoration: underline;
}
.hero-fullbleed{
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 0 !important;
  padding-right: 0 !important;
}
body div.taxonomy-chain-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
body div.taxonomy-chain-menu select {
  width: 100%;
  max-width: 100%; 
  box-sizing: border-box;
}
body div.taxonomy-chain-menu label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
}
body .taxonomy-chain-menu-btn {
  align-self: flex-start;
}
.archive .generate-columns-container > .page-header,
.search .generate-columns-container > .page-header {
  grid-column: 1 / -1;
  padding: 0px;
  margin-bottom: 0px;
  text-align: center;
}
.blog-youtube figure {
  margin-bottom: 0px;
}
.single h1.entry-title {
	text-align: center;
}
input[type="submit"] {
  border: 2px solid #507214;
}
.gb-text,
.gb-text:hover{
  text-decoration: none !important;
}
a.ea-pager__arrow:hover {
  text-decoration: none !important;
  background-color: #e6eee5;
}
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="tel"], input[type="number"], textarea, select {
  border-color: #808080;
}
body.post-image-above-header .inside-article .featured-image, body.post-image-above-header .inside-article .post-image {
    margin-bottom: 0.5em;
}
body .entry-content:not(:first-child), body .entry-summary:not(:first-child), body .page-content:not(:first-child) {
    margin-top: 1em;
}
/* Start Blog toolbar styles */
  /* Container */
	.ea-back {
		margin: 10px 0;
	}
	.ea-back a {
		text-decoration: none;
	}
	.ea-back a:hover {
		text-decoration: underline;
	}
	.ea-toolbar__heading {
		max-width: 1200px;
		margin: 20px auto 16px;
	}
	.ea-toolbar__heading h2 {
		margin: 0;
		text-align: center;
		padding: 0 40px;
	}	
  .ea-toolbar{
    max-width: 1200px;
	border-top: 2px solid #d9d9d9;
	border-bottom: 2px solid #d9d9d9;
    padding: 18px 0 14px;
	margin: 0 auto 18px;
  }
  .ea-toolbar__row{
	padding: 0 20px;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
		max-width: 1200px;
		margin: 0 auto;
  }

  /* Left (Categories) */
  .ea-toolbar__left{
    display:flex;
    align-items:center;
    gap:10px;
  }
@media (max-width: 768px) {
	.ea-toolbar__left {
		flex-direction: column;
		width: 100%;
	}
}
  .ea-select{
    padding: 10px 38px 10px 14px;
    border:1px solid #808080;
    background:#efefef;
    border-radius:2px;
    font-size:13px;
    line-height:1;
    position:relative;
	padding-right: 42px;
    min-width: 180px;
  }
	.ea-select::-ms-expand{
	  display: none;
	}
	.ea-select:hover {
		background-color: #e6eee5;
	}
	.ea-select:active, .ea-select:focus {
		background-color: #ffffff;
	}
  /* Right side layout */
  .ea-toolbar__right{
    display:flex;
    align-items:center;
    gap:16px;
    flex-wrap:wrap;
    margin-left:auto;
  }
  /* Search */
  .ea-search{
    display:flex;
    align-items:center;
    border:1px solid #808080;
    border-radius:2px;
    overflow:hidden;
    background:#fff;
    height: 34px;
  }
  .ea-search__input{
    border:0 !important;
	border-right: 1px solid #808080 !important;
    outline:0;
    padding: 8px 10px;
    font-size:13px;
    min-width: 220px;
    background:transparent;
	background-color: #ffffff !important;
  }
  .ea-search__btn{
    border:0;
    border-left:1px solid #e1e1e1;
    background:#fff;
    padding: 0 10px;
    height: 34px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .ea-search__btn svg{
    display: block;
    width: 18px;
    height: 18px;
    fill: currentColor;
  }
  .ea-search__btn svg{
    fill:#666;
  }
  .ea-search__btn svg path{
    fill: currentColor !important;
  }
  .ea-search__btn svg path{
    fill: #666 !important;
  }

  /* Pager */
  .ea-pager{
    display:flex;
    align-items:center;
    gap:10px;
  }
  .ea-pager__arrow{
    width:34px;
    height:34px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid #808080;
    border-radius:2px;
    text-decoration:none;
    font-size:18px;
    line-height:1;
    color:#444;
    background:#fff;
  }
  .ea-pager__arrow.is-disabled{
    opacity:.35;
    pointer-events:none;
  }
  .ea-pager__page{
    display:flex;
    align-items:center;
    gap:8px;
  }
  .ea-pager__label{
    font-size:13px;
    color:#444;
  }
  .ea-pager__select{
    height:34px;
    border:1px solid #808080;
    border-radius:2px;
    padding: 6px 10px;
    font-size:13px;
    background:#fff;
  }
  /* Small screens */
  @media (max-width: 640px){
    .ea-search__input{ min-width: 160px; }
    .ea-toolbar__right{ width:100%; justify-content:center; }
  }
/* End Blog toolbar styles */

/* Start Pagination Counter */
.paging-navigation {
	display: none;
}
.ea-resultsbar{
  width: 100%;
  margin: 18px 0 40px !important;
}
.ea-resultsbar__inner{
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  box-sizing: border-box;
}
@media (max-width: 768px) {
	.ea-resultsbar__inner {
		flex-direction: column;
	}
}
.ea-resultsbar__left{
  white-space: nowrap;
}
.ea-resultsbar__right{
  display: flex;
  justify-content: flex-end;
}
.ea-resultsbar__right .ea-pager{
  margin: 0 !important;
  width: auto !important;
}
/* End Pagination Counter */
.single .site-content {
	max-width: 1200px;
	margin: 0 auto;
}
/* Start Under single post title */
.ea-postmeta{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:20px;
  margin-top:10px;
  border-bottom: 1px solid #000000;
  padding-bottom: 30px;
}
.ea-postmeta__left{
  display:flex;
  align-items:flex-start;
  gap:12px;
  min-width:max-content;
}
.ea-postmeta__avatar-img{
  width:44px;
  height:44px;
  border-radius:0;
  display:block;
}
.ea-postmeta__byline{
  line-height:1.2;
}
.ea-postmeta__author{
  font-size:16px;
}
.ea-postmeta__updated{
  margin-top:4px;
  font-size:14px;
  opacity:.8;
  white-space:nowrap;
}
.ea-postmeta__right{
  text-align:right;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:6px;
  min-width:0;
}
.ea-postmeta__readtime{
  font-size:16px;
}
.ea-postmeta__terms{
  font-size:14px;
  line-height:1.3;
}
.ea-postmeta__terms a{
  text-decoration:underline;
}
@media (max-width: 640px){
  .ea-postmeta{
    flex-direction:column;
    align-items:flex-start;
  }
  .ea-postmeta__right{
    text-align:left;
    align-items:flex-start;
  }
}
/* End Under single post title */

/* Splide carousel */
.single-post .inside-article,
.single-post .entry-content{
  overflow: visible !important;
}

.ea-related{
  margin: 40px 0;
}

.ea-related__title{
  text-align: center;
  margin: 0 0 18px;
}

.ea-related__splide{
  position: relative;
  width: 100%;
  max-width: 100%;
}

.ea-related__splide,
.ea-related__splide *{
  box-sizing: border-box;
}

.ea-related__splide .splide__track{
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding-bottom: 6px;
}

.ea-related__splide .splide__list{
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  max-width: 100%;
}

.ea-related__splide .splide__slide{
  max-width: 100%;
  min-width: 0;
  height: auto;
}

.ea-related__splide .splide__slide > .ea-related__card{
  height: 100%;
}

.ea-related__card{
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-decoration: none;
  background: #fff;
}

.ea-related__card::after{
  content: "";
  position: absolute;
  inset: 0;
  border: 0px solid transparent;
  pointer-events: none;
  transition: border-color .2s ease;
}

.ea-related__card:hover::after{
  border-color: #D3D3D3;
}

.ea-related__thumb{
  width: 100%;
  max-width: 100%;
}

.ea-related__thumb img{
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.ea-related__heading{
  margin: 10px 0 12px;
  font-size: 16px;
  line-height: 1.25;
  text-align: center;
  padding: 0 12px;
}

.ea-related__btn{
  margin-top: auto;
  display: block;
  text-align: center;
  padding: 12px 18px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 16px;
  text-transform: uppercase;
  border: 1px solid #3f5f1f;
  background: #3f5f1f;
  color: #fff;
  width: calc(100% - 24px);
  margin-left: 12px;
  margin-right: 12px;
  margin-bottom: 12px;
  transition: background-color .2s ease, color .2s ease;
}

.ea-related__card:hover .ea-related__btn{
  background: #e8f0e1;
  color: #000;
}

.ea-related__card:hover,
.ea-related__card:hover *{
  text-decoration: none !important;
}

.ea-related__splide .splide__arrow{
  width: 56px;
  height: 56px;
  border: 0;
  background: transparent;
  opacity: 1;
  box-shadow: none;
}

.ea-related__splide .splide__arrow svg{
  width: 44px;
  height: 44px;
  fill: #bfbfbf;
}

.ea-related__splide .splide__arrow svg path{
  fill: #bfbfbf !important;
}

.ea-related__splide .splide__arrow--prev{
  left: -62px;
}

.ea-related__splide .splide__arrow--next{
  right: -62px;
}

.ea-related__splide .splide__arrow:disabled{
  opacity: .25;
}

@media (max-width: 900px){
  .ea-related__splide .splide__arrow--prev{ left: -24px; }
  .ea-related__splide .splide__arrow--next{ right: -24px; }
}

@media (max-width: 1024px){
  body{
    overflow-x: hidden !important;
  }

  .ea-related__splide{
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: 16px;
    padding-right: 16px;
  }

  .ea-related__splide .splide__track{
    overflow: hidden;
  }

  .ea-related__splide .splide__arrow--prev{
    left: 8px;
  }

  .ea-related__splide .splide__arrow--next{
    right: 8px;
  }
}

@media (max-width: 640px){
  .ea-related__splide{
    padding-left: 12px;
    padding-right: 12px;
  }

  .ea-related__splide .splide__arrow--prev{
    left: 6px;
  }

  .ea-related__splide .splide__arrow--next{
    right: 6px;
  }
}

@media (max-width: 520px){
  .ea-related__thumb{
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }

  .ea-related__thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}



.ea-related__splide .splide__track{
  padding-left: 12px;
  padding-right: 12px;
  padding-top: 12px;
  padding-bottom: 18px;
}

.ea-related__splide .splide__slide{
  padding: 12px;
  box-sizing: border-box;
}

.ea-related__card{
  box-shadow: none;
  transition: box-shadow .2s ease, transform .2s ease;
}

.ea-related__card:hover,
.ea-related__card:focus-within{
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

@media (max-width: 1024px){
  .ea-related__splide .splide__track{
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 10px;
    padding-bottom: 16px;
  }

  .ea-related__splide .splide__slide{
    padding: 10px;
  }
}

@media (max-width: 640px){
  .ea-related__splide .splide__track{
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 8px;
    padding-bottom: 14px;
  }

  .ea-related__splide .splide__slide{
    padding: 8px;
  }
}

/* Start Home Carousel */
.trending-carousel.gb-carousel {
  position: relative;
  overflow: visible;
}

.trending-carousel.gb-carousel .gb-carousel-items {
  align-items: stretch;
}

.trending-carousel.gb-carousel .gb-carousel-item {
  display: flex;
  height: auto;
  padding: 12px;
  box-sizing: border-box;
}

.trending-carousel.gb-carousel .trend-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.trending-carousel .gb-carousel-control-icon svg path {
  fill: currentColor;
}

.trending-carousel .trend-card:hover button {
  background-color: #e6eee5;
  color: #2b3136;
}

.trending-carousel.gb-carousel .trend-card button,
.trending-carousel.gb-carousel .trend-card .wp-block-buttons,
.trending-carousel.gb-carousel .trend-card .gb-button-wrapper {
  margin-top: auto;
}

.trending-carousel.gb-carousel .gb-carousel-control--previous,
.trending-carousel.gb-carousel .gb-carousel-control--next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trending-carousel.gb-carousel .gb-carousel-control--previous {
  left: -56px;
  right: auto;
}

.trending-carousel.gb-carousel .gb-carousel-control--next {
  right: -56px;
  left: auto;
}

body .gb-carousel .gb-carousel-control-icon svg {
    width: 44px;
    height: 44px;
}

.blog #view-all {
  position: relative;
}

.blog #view-all::before {
  content: "";
  display: block;
  height: 245px;
  margin-top: -245px;
  pointer-events: none;
}

@media (max-width: 768px) {
  .trending-carousel.gb-carousel .gb-carousel-control--previous {
    left: -28px;
  }

  .trending-carousel.gb-carousel .gb-carousel-control--next {
    right: -28px;
  }
}
/* End Home Carousel */

.hero-fullbleed .gb-carousel-control-icon svg path {
  fill: currentColor;
}
.error404 svg path {
  fill: currentColor;	
}
