/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Description: Child theme for Astra
Author: 
Author URI: https://yourwebsite.com/
Template: astra
Version: 1.0.0
*/

/* Import parent theme styles */
:root {
    --primary: #f28020;
    --secondary: #ce1280;
    --dark: #333333;
    --primary-light: #f5a25d;
    --text-dark: #333333;
    --text-medium: #555555;
    --transition: all 0.3s ease;
}
.nav-links li{
	position: relative;
}
.common-font{
	font-family:'Gotham Book', Arial, sans-serif !important;
	
}
.common-font p{
	font-family:'Gotham Book', Arial, sans-serif !important;

}
#primary{
	margin-top: 13rem;
}

.page-id-129 .entry-title, .page-id-16 .entry-title{
	display: none !important;
}
.home .ast-excerpt-container.ast-blog-single-element p:first-child{
    display: none !important;
}
/*.page-id-129 {*/
    
/*}*/
.ast-row{
   max-width: 1200px !important;
   margin: 0 auto !important;
}
  .share-container {
    position: relative;
    display: inline-block;
	margin-top:1rem;
  }
.share-container p{
	font-family: 'Gotham Book', Arial, sans-serif !important;
}
  .share-btn {
/*     background: linear-gradient(45deg, #a000ff, #ff007f); */
    border: none;
    color: white;
    padding: 10px 12px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 50%;
    transition: all 0.3s ease;
/*     box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); */
	  background: linear-gradient(90deg, #383838, #ad22dc);
	  -webkit-background-clip: text;
	  -moz-background-clip: text;
	  background-clip: text;
	  -webkit-text-fill-color: transparent;
	  box-shadow: none;
	  font-size: 1.5rem;
  }

  .share-btn:hover {
    transform: scale(1.1);
  }

  .social-icons {
    position: absolute;
    top: 0;
    left: 45px;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #d6107f, #67267d);
    opacity: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-15px);
    transition: all 0.3s ease;
  }

  .social-icons.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .social-icons i {
      color: white;
	  font-size: 18px;
	  cursor: pointer;
	  transition: transform 0.2s ease;
	  padding: 11px 11px;
	  border-radius: 0;
  }

	.social-icons i:before {
  		display: inline-block;
  	 	transition: transform 0.2s ease;
	}

	.social-icons i:hover:before {
    	transform: scale(1.2);
	}

  .close-btn {
    background: #ff7a00;
    color: white;
    border-radius: 4px;
    padding: 4px;
  }
.bottom .time-divider{
	height: 4px;
    width: 50px;
    background-color: #ef821c;
    margin-left: 5px;
    margin-top: -20px;
}
.ast-blog-meta-container{
	display:none;	
}
.ast-taxonomy-container{
	display:none !important;
}
.ast-blog-single-element p{
   color:#000000;
	font-weight: bold !important;
	font-family: 'Gotham Book', Arial, sans-serif !important;

}
.link-color a{
	color:#7f227e !important;
}
.ast-article-post:hover .post-thumb-img-content img {
	transform: scale(1) !important;
}
.ast-separate-container .ast-article-inner{
	background-color: transparent !important;
}
.category-blog {
	transition: transform 0.5s ease;
	cursor: pointer;
}
.category-blog:hover{
	transform: scaleY(1.11);
}
.read-more a{
	color: #7f227e !important;
}
.section-blog-home{
	max-width: 1200px !important;
	margin: 0 auto;
	margin-top:-3rem;
	margin-bottom:2.5rem;
}

.section-blog-home h2{
    font-size: 40px;
    font-weight: 400;
    color: #a51a7f;
    margin-bottom: 10px;
    font-family: "Gotham Book", Arial, sans-serif;
    margin-top: 4.5rem;
}
.section-blog-home .title-divider {
    height: 10px;
    width: 80px;
    background-color: #ef821c;
    margin-left: 5px;
    margin-top: 10px;
}
/* .single-post-wrapper {
  display: flex;
  justify-content: center;
  padding: 40px 0;
  background: #fff;
}

.single-post-wrapper .container {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
}

.content-area {
  flex: 2;
  background: #fff;
}

.sidebar-area {
  flex: 1;
  position: sticky;
  top: 100px;
}


/* Banner section */

.post-banner {
  position: relative;
  width: calc(100% - 2rem); 
  height: 400px;
  margin: 2rem 1rem 0 1rem; 
  overflow: hidden;
}
 /* full width minus left-right margin */

.post-banner .banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
  position: relative;
  z-index: 0;
}

.post-banner .banner-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 900px;
  text-align: center;
  z-index: 2;
  color: #fff;
  padding: 25px 20px;
  border-radius: 12px;
}

.post-banner .banner-title h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color:#fff;
}

.single-post-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 60px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.post-left {
  flex: 2;
  min-width: 60%;
}

.post-right {
  flex: 1;
  min-width: 30%;
  position: sticky;
  top: 100px;
}

.custom-post-content {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

.custom-post-content p {
  margin-bottom: 1.2em;
}

.related-posts {
  padding: 20px;
  border-radius: 10px;
}
.related-posts .post-divider{
	height: 5px;
    width: 80px;
    background-color: #ef821c;
    margin-left: 5px;
	margin-bottom:1rem;
}

.related-posts h3 {
  margin-bottom: 15px;
  padding-left: 10px;
  font-weight: 600;
  color: #5c5c5c;
	padding:10px;
  padding-left:0;
}

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

.related-posts li {
  margin-bottom: 10px;
  list-style: none;
}

.related-posts li a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  display: inline-block; 
  padding: 0.1rem 0.3rem;
  transition: all 0.3s ease;
}

.related-posts li a:hover {
  color: #7b61ff;
}
.related-posts ul {
  list-style: none;
  counter-reset: post-counter;
  padding-left: 0;
}

.related-posts li {
  counter-increment: post-counter;
  margin-bottom: 0rem;
  margin-top:2rem;
  position: relative;
  padding-left: 2rem;
}

.related-posts li::before {
  content: counter(post-counter) ". ";
  position: absolute;
  left: 0;
  color: #000;
  font-weight: bold;
}

.related-posts li:hover::before{
  color:  #ef821c;
}
.related-posts li:hover a{
	color:#fff;
}
.related-posts li.active::before
 {
  color:  #ef821c;
}
.related-posts li.active a{
	color:#fff;
}
.related-posts li:hover a,
.related-posts li.active a {
  background: linear-gradient(90deg, #d6107f, #67267d);
  color: #fff;
}

body.archive.post-type-archive-live-deals .ast-archive-description,
body.archive.post-type-archive-news .ast-archive-description{
	max-width: 1160px;
	margin: 0 auto;
	background: top;
	padding: 0;
	padding-bottom: 0px;
	padding-bottom: 2rem;
}
body.archive.post-type-archive-live-deals .ast-archive-description h1,
body.archive.post-type-archive-news .ast-archive-description h1{
font-size: 40px;
  font-weight: 400;
  color: #a51a7f;
  margin-bottom: 10px;
  font-family: "Gotham Book", Arial, sans-serif;
  margin-top: 0.5rem;
  text-transform: uppercase;
	position: relative;
	
}
body.archive.post-type-archive-live-deals .ast-archive-description h1:after,
body.archive.post-type-archive-news .ast-archive-description h1:after{
	content: '';
	position: absolute;
	bottom: -12px;
	left: 0;
	height: 10px;
  width: 80px;
  background-color: #ef821c;
  margin-left: 5px;
  margin-top: 10px;
}
.post-type-archive-live-deals .post-content{
	display:flex;
	flex-direction:column;
}
.post-type-archive-live-deals .ast-blog-featured-section{
	max-width:100%;
	
}
.post-type-archive-live-deals .ast-excerpt-container svg{
	width:24px !important;
	margin-left: -1.5rem !important;

}
.post-type-archive-live-deals .ast-blog-layout-4-grid .ast-article-inner{
	box-shadow: none !important;
}
.post-type-archive-live-deals .ast-grid-common-col{
/* 	margin-left: -1.5rem !important; */
}
.post-type-archive-live-deals .entry-title{
	margin-left: -1.5rem !important;

}
.post-type-archive-live-deals .entry-title a{
	font-size:1rem;

}
.post-type-archive-news .entry-title{
	margin-left: -1.5rem !important;
	font-size: 1rem !important;

}
.post-type-archive-news .ast-blog-single-element p{
	color:#333333 !important;
    margin-left: -1.5rem !important;
	font-weight:normal !important;

	
}
.post-type-archive-news .ast-article-inner{
	box-shadow: none !important;
}
.post-type-archive-news .deal-meta{
	margin-left: -1.5rem;
	margin-top: -1rem;	
}
.post-type-archive-news .deal-actions{
	display: flex;
	flex-direction: column;
	margin-left: -1.5rem;
	margin-top: 2rem;
}
.post-type-archive-news .deal-read-more{
	text-decoration: underline;
	color: #7f227e;
	
}
.post-type-archive-news .deal-date{
	position: relative;
}
.post-type-archive-news .deal-date::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 0;
  
  height: 4px;
  width: 50px;
  background-color: #ef821c;
  margin-left: 5px;
  margin-top: -20px; 
}
.post-type-archive-news .post-thumb-img-content, .post-type-archive-live-deals .post-thumb-img-content{
	pointer-events: none;
}
.post-type-archive-live-deals .entry-title a{
	pointer-events: none;
}

#ast-scroll-top{
    color: orange !important;
    background-color: transparent !important;
    background: transparent !important;
    font-size: 24px !important;
}
button:focus,.menu-toggle:hover,button:hover,.ast-button:hover,.ast-custom-button:hover .button:hover,.ast-custom-button:hover ,input[type=reset]:hover,input[type=reset]:focus,input#submit:hover,input#submit:focus,input[type="button"]:hover,input[type="button"]:focus,input[type="submit"]:hover,input[type="submit"]:focus,form[CLASS*="wp-block-search__"].wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button:hover,form[CLASS*="wp-block-search__"].wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button:focus,body .wp-block-file .wp-block-file__button:hover,body .wp-block-file .wp-block-file__button:focus {
    background-color: transparent !important;
}
@media (max-width: 992px) {
  .single-post-layout {
    flex-direction: column;
    gap: 30px;
  }

  .post-right {
    position: static;
  }

  .post-banner {
    height: 300px;
  }

  .post-banner .banner-title {
    width: 90%;
    padding: 15px;
  }

  .post-banner .banner-title h1 {
    font-size: 2rem;
	 font-size: 1rem;
  }
}


@media (max-width: 600px) {
  .post-banner {
    height: 240px;
  }

  .post-banner .banner-title h1 {
    font-size: 1.6rem;
  }
}

