/*
 Theme Name:   Techjuice Guides
 Theme URI:    https://guides.perceptiond.net/
 Description:  This child theme used for techjuice-guides.
 Author:       Digital Perception
 Author URI:   https://guides.perceptiond.net/
 Template:     bricks
 Version:      1.2
 Text Domain:  bricks
*/


/* Titles */
.single-title {
	font-size: clamp(2.1rem, 1.3598vw + 1.6322rem, 3.4rem);
	padding-top: 8px;
    color: var(--bricks-color-axquji);
    line-height:1.4;
}

.post-title-xl {
	font-size: clamp(1.4rem, .8929vw + 1.0929rem, 2.2rem);
	line-height: 1.4;
    margin-bottom: 0;
	color: var(--bricks-color-keqpcw);
}

.post-title-lg {
    line-height: 1.4;
    font-size:clamp(1.6rem, .7648vw + 1.3553rem, 2.4rem);
	color:var(--bricks-color-axquji);
}

.post-title-md {
	font-size:clamp(1.3rem, 0.306vw + 1.202rem, 1.6rem);
    line-height:1.3;
    position: absolute;
    left: 14px;
    bottom: 14px;
    right: 20px;
}

.post-title-sm {
	font-weight: 500;
    font-size: var(--Latest-sm);
	color: var(--bricks-color-keqpcw) !important;
}

/* Meta */
.secondary-meta {
    gap: 0px;
    font-size: clamp(1.2rem, .4464vw + 1.0464rem, 1.6rem);
    color:#0094df;
    font-family: "Outfit";
    font-weight: 400;
    line-height: 1;
    z-index: 10;
}


/* ========================== Header Styling ========================== */
@media (min-width: 992px) {
/*   .navigation_menu li a {
    border-bottom: 2px solid transparent;
  }

  .navigation_menu li a:hover {
    border-bottom: 2px solid white;
    transition: 0.2s;
    display: inline;
  }
	
  .navigation_menu li.current-menu-item a{
   border-bottom: 2px solid white;
  } */
	
	.header__nav li a:hover {
       background: #0094df;
       border-radius: 5px;
       color: #fff;
	   transition:0.3s;
    }
	
	.header__nav .current-menu-item a {
		color: #00B2FF;
	}
	
	.header__nav li a {
       padding: 0px 10px;

}
	
	.header__nav .current-menu-item a {
		  background: #0094df;
          border-radius: 5px;
          color: #fff;
	}

}


/* ========================== Ellipsis (Line Clamp) ========================== */
.elipses_2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.elipses_3 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.latest-title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    max-height: calc(1.23em * 3); 
    line-height: 1.2em; 
}



/* ========================== Sidebar ========================== */
@media (max-width: 991px) {
  .side-bar {
    display: none;
  }
}

/* ========================== Search Bar ========================== */
.search-bar {
  transition: opacity 0.3s ease, pointer-events 0.3s ease;
}


/* ========================== Footer Bar ========================== */
.footer_bar .bricks-nav-menu .bricks-menu-item:not(:last-child)::after {
  content: '|';
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 16px;
}

/* ========================== News Content ========================== */
.news_content a {
  color: var(--bricks-color-gsabem) !important;
 
}

.news_content{
	 word-break: break-word;
}

.news_content a:hover {
  text-decoration: underline;
}


/* .bricks-nav-menu li a {
  text-decoration: none ; 
  color: inherit ;
  display: inline !important;
  position: relative ; 
	transition:0.5s;
}

.bricks-nav-menu li a::after {
  content: "";
  position: absolute;
  left: 0 ;
  bottom: -3px ;
  width: 100% ;
  height: 2px ; 
  background-color: transparent;
	transition:0.5s;
}


.bricks-nav-menu li a:hover::after {
  background-color:#006ADC !important; 
	transition:0.5s;
} */


.footer_navigation_2{
  column-count:2;
}

.breadcrumbs .item:nth-of-type(2) {
    white-space: nowrap; 
}
.breadcrumbs {
	display:flex;
	flex-wrap:nowrap !important;
}

/* ========================== Page Content ========================== */

.page-content {
	 font-family: "Inter";
    font-weight: 400;
    color: var(--bricks-color-keqpcw);
    font-size: var(--single-p);
	overflow:auto;
}

.page-content a {
  color: var(--bricks-color-gsabem) !important;
 
}

.page-content a:hover {
  text-decoration: underline;
}

.page-numbers{
  margin-top:40px;
}


.min_read_icon{
	width: 16px; 
	height: 16px; 
	vertical-align: middle !important; 
	margin-right: 4px;
}

/* ========================== Table ========================== */

table thead tr, th {
  background-color: var(--bricks-color-wingbv);
  border: 1px solid #80808080;
}

table tbody tr:nth-child(even) {
  background-color: var(--bricks-color-axqpdk);
}

table tbody tr:nth-child(even):hover {
  background-color: var(--bricks-color-wingbv);
}

table tbody tr:nth-child(odd) {
  background-color: var(--bricks-color-wingbv);
}

thead th {
	background-color:var(--thead-bg);
	color: white;
	border-color:var(--bricks-color-keqpcw) !important;
}

.wp-block-table thead {
	border-bottom: none !important; 
}

td {
  text-align: center;
  padding: 8px;
  border: 1px solid #80808080;
}

  td, th {
    font-size: 1.4rem;
	   min-width: 100px; 
  }
	.wp-block-table .has-fixed-layout {
    table-layout: inherit;
}

@media (max-width: 991px) {
	  td, th {
    font-size: 1.2rem;
     min-width: 130px;
  }

}

.wp-block-table {
    scrollbar-color: #0A3264 #f1f1f1;
}


/* Hide Header on scroll */
.scrolling-header {
    position: fixed;
    top: 0;
    width: 100%;
    transition: top 0.3s ease;
	z-index:100;
}

[data-theme="dark"]{
  --bricks-color-ddtsll: #0A375F !important;      /* Header_bg */ 
  --bricks-color-teeqnd: #206299 !important;      /* Progress_bar_bg */ 
  --bricks-color-xgphvk: #3098DD !important;      /* Filled_bar */
  --bricks-color-axqpdk: #232323 !important;      /* Bg__first */ 
  --bricks-color-dhntrg: #D8D8D8 !important;      /* Border__Shadow */ 

  --bricks-color-zoadkl: #1E1E1E !important;      /* Bg__Second */ 
  --bricks-color-jtsepg: #355B62 !important;      /* Bg__third */ 
  --bricks-color-axquji: #FFFFFF !important;      /* Section__title */ 
  --bricks-color-keqpcw: #FFFFFF !important;      /* Post_Dark_title */ 
  --bricks-color-lqsini: #A1A1A1 !important;      /* Meta__color */ 

  --bricks-color-gsnacu: #0A375F !important;      /* Footer_bg */ 
  --bricks-color-lqaxjr: #206299 !important;      /* Footer_Border */ 
  --bricks-color-ysuxgs: #A1A1A1 !important;      /* Breadcrumbs */ 
  --bricks-color-emlvel: #3098DD !important;      /* Extra color */ 
  --bricks-color-yhrwva: white !important;        /* Menu Underline */
  --bricks-color-wingbv: #1E1E1E !important;      /* Table Bg */ 
  --bricks-color-sulaoz: #D8D8D8 !important;      /* Another extra */ 
  --bricks-color-qrrmli: #466973 !important;      /* Author Box */
  --bricks-color-rywsfw: #D8D8D8 !important;
  --bricks-color-tqdprk: #283036 !important;
  --bricks-color-bkbhpe:#323232 !important;
  --bricks-color-gsabem: #3098DD !important;     /* News Content */
  --bricks-color-vueave: #282828 !important;     /* Figure Caption */    
  --bricks-color-anewxl :#2c2c2c !important;
  --bricks-color-qenukz: #2c2c2c !important;
  --thead-bg: #0A375F !important;

  .light{
    display:none !important;
  }
    .dark{
      display:inline !important;
    }
	
	.header__logo {
		 filter: brightness(0) invert(1) !important;
	}
	
  }  



.dark{
	display:none !important;
}


@media (min-width: 1340px) {
	.search-icon{
		padding-right:14px !important;
	}
}


.clickable-card {
  position: relative;
}

.clickable-card h3 a::before,
.clickable-card h4 a::before,
.clickable-card h2 a::before,
.clickable-card div a::before{
  content: ' ';
  inset: 0;
  position: absolute;
  z-index: 1;
}


/* ========================== Page Styling ========================== */

.light-post-title{
	color:white !important;
	z-index:1;
}

.section-title{
    font-size: clamp(2.2rem, .6696vw + 1.9696rem, 2.8rem);
    font-weight: 700;
    color: var(--bricks-color-keqpcw);
    line-height: 1;
}

.post-title{
    color: var(--bricks-color-keqpcw) !important;
	font-family: "DM Sans";
}

.latest-post-title {
   z-index:99;
}

.post-title brxe-block::before{
	z-index:1 !important;
}
.brxe-image::before {
	z-index:1 !important;
}

/* ========================== Image Small Border ========================== */

.image_large_border {
	box-shadow: 5px 5px 0 -3px var(--bricks-color-rywsfw), 5px 5px 0 -1px var(--bricks-color-rywsfw) !important;
    border: 1.5px solid var(--bricks-color-rywsfw);
}

.black-border{
	border:1px solid var(--bricks-color-rywsfw);
	transition:0.3s;
}

.author_time_meta{
	font-size: clamp(1rem, .3061vw + .902rem, 1.3rem);
	font-weight:400;
    color: var(--bricks-color-lqsini);
	font-family: "Outfit";
}

/* ========================== Title Underline Animation ========================== */
.title-hover-underline a{
  transition: background-size 0.4s ease, color 0.4s ease;
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  display: inline;
}


.title-hover-underline a:hover {
  background-image: linear-gradient(#bcebec, #0057fa);
  background-size: 100% 2px;
}


/* Base styles for the clickable text */
.light-post-title a{
  display: inline; /* Ensures the underline is inline */
  transition: background-size 0.4s ease, color 0.4s ease; /* Smooth animation */
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  text-decoration: none; /* No default underline */
	color:white !important;
}

/* Apply the animation when the .clickable is hovered */
.clickable:hover + .light-post-title a{
  background-image: linear-gradient(#bcebec, #0057fa); /* Gradient underline */
  background-size: 100% 2px; /* Fully expand the underline */
}

.clickable-card:hover + .post-title a{
	 background-image: linear-gradient(#bcebec, #0057fa); /* Gradient underline */
  background-size: 100% 2px; /* Fully expand the underline */
}

/* ========================== Breadcrumbs ========================== */
.breadcrumbs {
  flex-wrap: nowrap;
	gap: 8px;
    color: var(--bricks-color-ysuxgs);
	font-size: clamp(1rem, .3061vw + .902rem, 1.3rem);
    font-family: outfit;
    font-weight: 300;
}

.breadcrumbs .item[aria-current="page"] {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.meta{
	font-size:clamp(1rem, .3061vw + .902rem, 1.3rem);
	width: auto;
    color: var(--bricks-color-ysuxgs);
    font-family: "Outfit";
	font-weight:300;
}


.news_content{
    font-family: "Inter";
    font-weight: 400;
    color: var(--bricks-color-keqpcw);
	padding-top: 15px;
    font-size: var(--single-p);
    line-height: 1.6;
	overflow:clip;
	}

.news_content .wp-block-list {
    list-style: none; 
    padding-left: 1.2em; 
}

.news_content .wp-block-list li::before {
    content: "➤";
    color: var(--bricks-color-axquji);
    margin-right: 0.8em;
    font-size: 1.2rem;
    display: inline-block;
    padding-bottom: 1px;
    vertical-align: middle;
}


figcaption {
    background-color: var(--bricks-color-qenukz);
    margin-top:-3px !important;
    width: 100%;
	padding-block: 6px;
	font-size:1.3rem !important;
	border-radius:0 0 0.4rem 0.4rem;
}

.news_content img{
   border:1px solid var(--bricks-color-rywsfw);
	transition:0.3s;
	border-radius:0.4rem;
	max-width:600px !important;
	width:100%;
	}


.news_content .wp-block-image a{
  border-radius:0.4rem;
	transition:0.3s;
	}

.news_content .wp-block-image a:hover{
  box-shadow: 5px 5px 0 -3px var(--bricks-color-rywsfw), 5px 5px 0 -1px var(--bricks-color-rywsfw);
	}

.news_content .wp-block-gallery {
	max-width:99%;
}

.news_content .wp-block-image {
    width: fit-content;
}


.news_content h1,
.news_content h2,
.news_content h3,
.news_content h4,
.news_content h5,
.news_content h6 {
	margin-block:12px;
}

.author-name{
	font-size: 1.7rem;
    color: var(--bricks-color-keqpcw);
    font-family: "Outfit";
    font-weight: 500;
	line-height:1.2;
}

.excerpt{
    font-size: clamp(1.4rem, .2041vw + 1.3347rem, 1.6rem);
    color: var(--bricks-color-keqpcw);
    line-height: 1.8;
    font-family: inter;
	font-weight:400;
}

.excerpt-sm {
    font-family: "inter";
	font-size:1.5rem;
    color: var(--bricks-color-keqpcw);
}

.excerpt a {
	color:var(--bricks-color-rfncww);
	font-weight:500;
}
.excerpt a:hover {
	text-decoration:underline;
}

.author-title{
	font-size: clamp(1.8rem, 1.429vw + 1.343rem, 3.2rem);
	font-family: DM Sans;
    font-weight: 700;
    color: var(--bricks-color-lqsini);
}


.footer-about{
	font-size: clamp(1.4rem, 0.191vw + 1.339rem, 1.6rem);
    font-family: inter;
    font-weight: 400;
    color: #ffffff;
}

.footer .nav-item a{
	font-size:clamp(1.4rem, 0.191vw + 1.339rem, 1.6rem);
	color:white;
	font-weight:400;
	line-height:2.25;
	font-family:outfit ;
}

.copyright{
	color: #ffffff;
    font-size: 1.4rem;
    font-weight: 400;
    font-family: outfit;
}

.footer-h{
    color: #ffffff;
    font-family: DM Sans;
    font-weight: 600;
    font-size: var(--footer-heading);
}


.author-bio{
	font-family: inter;
    font-size: 16px;
    font-weight: 400;
	color:var(--bricks-color-lqsini);
	font-size: clamp(1.2rem, .4082vw + 1.0694rem, 1.6rem);
}

@media(max-width: 600px) {

	  #wpadminbar {
        position: fixed;
    }
	
  .admin-bar .scrolling-header {
    top: 46px !important;
  }

  .admin-bar.scroll-active .scrolling-header {
    top: 0 !important;
  }

  .admin-bar.scroll-active .brxe-popup-163547 {
    top: 0 !important;
  }
}




.mobile-logo{
	outline:none !important;
}

ol, ul {
    padding-left: 22px;
}

.mobile-nav a{
  outline:none !important;
	font-size:1.4rem;
	font-weight:400;
	font-family: "outfit";
	color:white !important;
}


.meta-category{
   padding-inline: 5px;
   padding-block: 2px;
    max-width: 80%;
    position: absolute;
    top:12px;
    left: 12px;
    font-size: clamp(1.2rem, 0.204vw + 1.135rem, 1.4rem);
    font-family: "Outfit";
    font-weight: 400;
    color: #00051e;
    line-height: 1.4;
    background-color: #D1EBFF;
    border: 1px solid black;
	border-radius:0.4rem;
}

.related-meta .item{
  padding-inline: 6px;
  padding-block: 4px;
  font-size: 1.3rem;
  font-family: "Outfit";
  font-weight: 400;
  color: #00051e !important;
  line-height: 1;
  background-color: var(--bricks-color-anewxl);
  border: 1px solid black;
  border-radius: 0.4rem;
}

.related-meta .item:nth-child(1) {
font-size: 1.3rem;
    font-weight: 400;
    color: var(--bricks-color-lqsini);
    font-family: "Outfit";

}



/* ========================== Button Hover ========================== */
.btn_animate {
  box-shadow: 5px 5px 0 -4px var(--bricks-color-sulaoz), 5px 5px 0 -2px var(--bricks-color-sulaoz);
	border:2px solid var(--bricks-color-sulaoz) !important;
	font-family: outfit;
	padding:5px;
	transition:0.5s;
	font-weight:500;
	color:var(--bricks-color-keqpcw);
}

.btn_animate:hover {
  box-shadow: 0 0 0px, 0 0 0px;
	background-color: #3098DD;
	    color: #ffffff;
}


.btn_animate-v2 {
	background-color: transparent;
	color: var(--bricks-color-sulaoz);
	border:1px solid var(--bricks-color-sulaoz) !important;
	font-family: outfit;
	padding:3px;
	transition:0.5s;
	font-weight:500;
	border-radius:0.4rem;
	line-height: 1.5;
    padding-inline: 10px;
	font-size: 1.3rem;
}

.btn_animate-v2:hover {
	 box-shadow: 4px 4px 0 -3px var(--bricks-color-sulaoz), 4px 4px 0 -1px var(--bricks-color-sulaoz);
	 color:var(--bricks-color-keqpcw);
}

/* ========================== Cards Hover Effect ========================== */
.card-hover-effect {
  border-radius:4px;
  border:1px solid var(--bricks-color-rywsfw)
}

.card-hover-effect:hover {
    box-shadow: 5px 5px 0 -3px var(--bricks-color-rywsfw), 5px 5px 0 -1px var(--bricks-color-rywsfw) !important;
}


/* ========================== Cards Image Shadow ========================== */

.card-image-shadow:hover {
	.black-border {
		box-shadow: 5px 5px 0 -3px var(--bricks-color-rywsfw), 5px 5px 0 -1px var(--bricks-color-rywsfw) !important;
	}
}

.image-shadow:hover {
	box-shadow: 5px 5px 0 -3px var(--bricks-color-rywsfw), 5px 5px 0 -1px var(--bricks-color-rywsfw);
}


/* ========================== Block Quote ========================== */
.wp-block-quote {
/* 	 border-left: 5px solid var(--bricks-color-xgphvk) !important; */
	border-left:0px;
	font-style: italic;
    padding-inline:6px;
	line-height:1.6;
	background-color: var(--bricks-color-bkbhpe);
	font-size:clamp(1.5rem, .2041vw + 1.5347rem, 1.8rem);
	font-family:'inter';
	text-align:center;
}

.wp-block-quote p {
   padding-block:15px;
} 


.wp-block-quote p::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 24px;
    height: 24px;
	background-image: url('https://techjuice.pk/guides/wp-content/themes/techjuice-guides/media-files/right-quote.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 8px;
}

[data-theme="dark"] .wp-block-quote p::before {
	 background-image: url('https://techjuice.pk/guides/wp-content/themes/techjuice-guides/media-files/d.svg');
}

.wp-block-quote p::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 24px;
    height: 24px;
	background-image: url('https://techjuice.pk/guides/wp-content/themes/techjuice-guides/media-files/left-quote.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 8px;
}

[data-theme="dark"] .wp-block-quote p::after {
	background-image: url('https://techjuice.pk/guides/wp-content/themes/techjuice-guides/media-files/l.svg');
}

.wp-block-embed__wrapper {
  display: flex;
  justify-content: center;
}

.wp-block-embed__wrapper blockquote {
	padding:0;
	border:none;
}

.twitter-tweet,
.wp-block-image{
  margin-left: auto !important;
  margin-right: auto !important;
}


.ez-toc-list li:not(:last-child) {
  margin-bottom: 5px;
}

.ez-toc-list li ul{
	margin-top: 5px;
}

.ez-toc-list-level-4 li:not(:last-child)  {
	margin-bottom: 5px;
}

/* Faqs Styling */

.faq-question {
    -webkit-tap-highlight-color: transparent;
}

/* .faq-question {
	cursor:pointer;
	font-size:1.7rem;
	background-color: var(--bricks-color-qenukz);
    padding: 9px 12px;
	border:1px solid #d7d7d7;
	font-weight: 600;
    margin-bottom: 0 !important;
    font-family: 'DM Sans';
}

.faq-answer {
  display: none; 
  padding: 10px 0;
	font-size:1.5rem;
	padding: 6px 12px;
	border:1px solid #d7d7d7;
    background-color: transparent;
	border-top:none;
}

.faq-item.active .faq-question::after {
  content: "-";
}

.faq-question::after {
  content: "+";
  float: right;
  font-weight: bold;
} */

.faq-question {
	cursor: pointer;
	font-size: clamp(1.4rem, .3061vw + 1.302rem, 1.7rem);
	background-color: var(--bricks-color-qenukz);
	padding: 9px 12px;
	border: 1px solid #d7d7d7;
	font-weight: 600;
	margin-bottom: 0 !important;
	font-family: 'DM Sans';
	text-align: left;

	position: relative;           
	padding-right: 30px;       
	line-height: 1.2;   
}

.mb-faqs {
	margin-block: 30px;
}

.faq-question::after {
	content: "+";
	position: absolute;
	right: 12px;
	top: 12px;          
	font-weight: bold;
	font-size: 2rem;
	line-height:0.4;
}

.faq-item.active .faq-question::after {
	content: "-";
}

.faq-answer {
	display: none;
	padding: 6px 12px;
	font-size: 1.5rem;
	border: 1px solid #d7d7d7;
	background-color: transparent;
	border-top: none;
}

.wpf-sec-menu .bricks-nav-menu li a::after {
    content: none;
    background-color: transparent;
}

.brxe-popup-82.brx-popup {
	margin-top: 50px;
}

#search-input-htqhdx {
  caret-color: var(--bricks-color-keqpcw);
}

.ez-toc-widget-container li.active > a {
	font-weight:400 !important;
}

.cat-list figure a {
	position:relative;
	display:block;
	padding-top:66%;
}

.cat-list figure img {
	position:absolute !important;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

.featured-cat figure a {
	position:relative;
	display:block;
	padding-top:72%;
}

.featured-cat figure img  {
    position:absolute !important;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

.ez-toc-title {
	font-size:2.3rem;
	position:relative;
	display:block;
}


.ez-toc-title::before {
	content: "";
    position: absolute;
    left: 0;
    bottom: -9px;
    height: 5px;
    width: 55px;
    background-color: #0094df;
    z-index: 1;
}

