/*---------------zoom icon start----------- */
/* Overlay */
.zoom-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
/*   z-index: 1000; */
	z-index: 10001;
  cursor: zoom-out;
}
.zoom-overlay.active {
  display: block !important;
}

/* Zoomed image */
.zoomed {
  position: fixed !important;
  top: 52% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(2);
  width: 540px !important;
  max-width: 80vw !important;
  max-height: 45vh !important;
/*   z-index: 1001 !important; */
	z-index: 10002 !important;
  transition: transform 0.3s ease-in-out;
  cursor: zoom-out !important;
}

/* Mobile scaling */
@media (max-width: 768px) {
  .zoomed {
    transform: translate(-50%, -50%) scale(1);
  }
}

/* --------------Zoom icon end------------------------ */
/* --------------custom previous/next navigation start------------- */
.custom-reversed-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}
.custom-reversed-navigation br{
	display:none;
}
.custom-reversed-navigation a{
	border: 2px solid;
    padding: 8px 18px;
    border-radius: 7px !important;
}
 
.custom-reversed-navigation a:hover{
	padding:9px 19px;
}
.post-nav-link {
/*     color: #eb2b2b; */
    font-size: 20px;
    text-decoration: none;
    padding: 10px 20px;
    text-align: center;
    border-radius: 4px;
}
.post-nav-link.prev{
	color:black;
}
.post-nav-link.next{
	color:white;
	background-color:black;
}
.post-nav-link.empty {
    background: transparent;
}
.post-nav-link.prev:active,.post-nav-link.prev:focus{
		color:black;
		border:2px solid black !important;
	}
.post-nav-link..next:active,.post-nav-link..next:focus{
		color:white;
		border:2px solid black !important;
	}
@media (max-width: 768px) {
	.custom-reversed-navigation a{
		font-size:14.3px;
	}
	.custom-reversed-navigation a:active,.custom-reversed-navigation a:focus{
		color:black;
		border:2px solid black !important;
	}
}

/* -----------------custom previous next navigation end-------------------- */
/*-------------------------------------------------------------- */
/*   Tabel of content css */
/*-------------------------------------------------------------- */
.custom-toc-wrapper{
	border-radius: 10px;
/*     background-color: #f0f5ff; */
	background-color:#f9f9f9;
    padding-top: 21px;
    padding-right: 10px;
    padding-bottom: 17px;
    padding-left: 38px;
}  
.toc-title{
	font-size: 26px;
    font-weight: 600;
/*     color: #4e7398; */
	color:#1A0D3F;
}
.custom-toc-list a:hover{
/* 	text-decoration: underline; */
    color: #3367d1;
}
.custom-toc-list .custom-sub-list {
    margin-left: 20px;
    opacity: 0.85;
}
ol .sub::marker{
    display:none;	
	font-size:0px;
}
main .blogpostcol ul.custom-sub-items{
	list-style-type:circle !important;
	color:#EC2C66 !important;
}

main .blogpostcol ul.custom-toc-list{
    list-style-type:disc !important;
}
main .blogpostcol .custom-toc-list > li::before{
	display:none;
	font-size:0px;
}
main .blogpostcol .custom-toc-list > li::marker{
	color:#EC2C66 !important;
}
 
ol.custom-sub-items li.sub a .toc-prefix {
    color: #EC2C66 !important;
    text-decoration:none !important;
}
ol.custom-sub-items li.sub a .toc-prefix:hover{
	text-decoration:none !important;
}
.toc-plain{
	font-size:18px;
}
.custom-toc-list > li.toc-plain {
    list-style: none !important;
    counter-increment: none !important;
    margin-left: 0 !important;
}

@media (max-width:768px){
	.custom-toc-wrapper{
		padding-left:15px !important;
		padding-right:15px !important;
	}
	.blogpostcol ul.custom-toc-list, ol.custom-toc-list{
		margin-left:13px !important;
	}
}
/*---------------copy and download----------- */

.code-block {
  position: relative;
  border-radius:12px;
}

.code-toolbar {
  position: sticky;
  top: 119px; /* adjust as needed */
  display: flex;
  gap: 13px;
/*   justify-content: flex-end; */
/*   background: #e9e9e980; */
/*   background-color:#f5f5f5; */
  background-color:#f9fafb;
  padding: 10px;
  padding-right:17px;
  padding-left:16px;
  padding-top:15px;
  z-index: 1;
  margin-left:auto;
  margin-right:0px;
  border-top-left-radius:12px;
  border-top-right-radius:12px;
	 
}

.copy-btn,
.download-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px;
}

.copy-btn:hover,
.download-btn:hover {
  opacity: 0.7;
}
.code-toolbar .icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

/* Copy icon */
.icon-copy {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='1.6'%3E%3Crect x='9' y='9' width='13' height='13' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E");
}
.copied .icon-copy{
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='1.6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
}
/* Download icon */
.icon-download {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor' stroke-width='1.6'%3E%3Cpath d='M12 3v12m0 0l-4-4m4 4l4-4'/%3E%3Cpath d='M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2'/%3E%3C/svg%3E");
}

.btn-text{
	font-size:14px;
}
.script-title{
	font-size: 14px;
    padding: 4px;
    width: 50%;
}
.script-btns{
	display: flex;
    justify-content: flex-end;
    width: 50%;
	gap:13px;
}
.toolbar-spacer {
  position: sticky;
  top: 104px;
  height: 15px;                /* height of spacer */
  background-color: white;     /* white space */
  z-index: 1;
}


/*override  */
pre{
	background-color:#f9fafb !important; 	
	color:black !important;
	padding:20px;
	padding-top:10px;
	margin-top:-1px;
    font-size: 15px;
    font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    color: #383a42;
}
.copy-btn{
	position:relative;
	top:0px;
	right:0px;
}
@media (max-width:768px){
	.code-toolbar{
		top:155px;
	}
	.btn-text{
	display:none;
	}
}

/* ----------------------reusable highlight section-------------------- */

.notes-common-style{
	border-top-left-radius: 0px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 10px;
    border-left-width: 5px;
	margin-bottom:10px;
    padding: 24px;
}


.best-for{
    border-left-color: #1a832a;
/* 	background-color:#f9f9f9; */
	background-color:#e4f4e6;
}
.best-for p:first-of-type::before {
    content: "✅ ";
    margin-right: 2px;  
}



.not-recommended{
    border-left-color: #dc3545;
	background-color:#f9f9f9; 
	background-color:#ffeff0;
}
.not-recommended p:first-of-type::before {
	content:"❌";
	margin-right: 2px;  
}
.notes{
    border-left-color: #2196f3;
/* 	background-color:#fafdff; */
	background-color:#e6f3ff;
}
.notes p:first-of-type::before {
	content:"ℹ️";
	margin-right: 2px;  
}
.bonus-tip{
	border-left-color:#FFBF00;
/* 	background-color:#fffdf6; */
	background-color:#fffae9;
}
.bonus-tip p:first-of-type::before {
	content:"🌟";
	margin-right: 2px;  
}

.warning{
    border-left-color: #1a832a;
	background-color:#f9f9f9;
} 
.warning p:first-of-type::before {
/* 	content:"⚠️"; */
	content:"";
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -1 25 30'%3E%3Cpath fill='%23d32f2f' d='M12 2L1 21H23L12 2Z'/%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' d='M12 8V13'/%3E%3Ccircle cx='12' cy='17' r='1.3' fill='white'/%3E%3C/svg%3E") no-repeat center;
	margin-right: 2px; 
} 
.pinned{
    border-left-color: #1a832a;
/* 	background-color:#f9f9f9; */
	background-color:#e4f4e6;
}
.pinned p:first-of-type::before {
    content:"📌";
    margin-right: 2px;  
}

.notes-list{
    border-left-color: #2196f3;
	background-color:#e6f3ff;
}
.notes-list p:first-of-type::before {
	content:"ℹ️";
	margin-right:2px;
	background-color:white;
	border-radius:50%;
	padding:5px;
} 
.notes-list ol{
	margin-left:20px !important;
}
/* common */
.notes-common-style *{
	margin-left:0px !important;
	margin-right:0px !important;
	padding-left:0px !important;
	padding-right:0px !important;
}
.blogpostcol .notes-common-style > *:last-child{
	padding-bottom: 0;
    margin-bottom: 0 !important;
}
.notes-common-style p:first-of-type::before{
	margin-right: 6px;
    background-color: white;
    border-radius: 50%;
    padding: 4px;
/* 	padding-bottom: 5px; */
/*     padding-left: 5px; */
	position: absolute;
    top: 20px;
    left: 16px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}
.notes-common-style p:first-of-type{
	font-weight:bold;
	padding-bottom:0px;
	padding-left: 32px !important;
}
/* .best-for *,.bonus-tip *,.not-recommended *,.notes *,.warning *,.pinned *,.notes-list *{
	margin-left:0px !important;
	margin-right:0px !important;
	padding-left:0px !important;
	padding-right:0px !important;
} */

/* .best-for > *:last-child,.bonus-tip > *:last-child,.not-recommended > *:last-child,.notes > *:last-child,.warning > *:last-child,.pinned > *:last-child,.notes-list > *:last-child{
    padding-bottom: 0;
    margin-bottom: 0 !important;
} */

/*-----------Byline variants----------------- */

.author-profile-sec{
	margin-top:0px !important;
}
main p.author-name{
	line-height:1.3 !important;
	margin-bottom:6px !important;
	margin-top:2px !important;
} 
main p.author-info{
	color:#636363 !important;
	font-size: 14px !important;
    margin-top: -4px !important;
    line-height: 1.3 !important;
	margin-bottom:-2px !important;
}
 
.author-name br{
display:none;
}

