/**** 
Three Column Layout 
****/

.aikb-container {
  width: 100%;
  max-width: 1220px;         /* Limits container width */
  margin: 0 auto;            /* Centers the container */
  box-sizing: border-box;    /* Includes padding & border in width */
}

.aikb-layout--three-columns {
  display: grid !important;
  grid-template-columns: 300px 1fr 250px; /* Left:300px, Main: auto, Right:250px */
  gap: 1rem;
  align-items: start;
  padding: 13px 0px 0 0;
  margin:30px 0px;
}

.aikb-access-message {
	color: red;
    opacity: 0.5;
}

/* Main Content */
.aikb-content {
  background: #fff;
  padding: 0px 10px;
}

/* Responsive: Tablet */
@media (max-width: 1024px) {
  .aikb-layout--three-columns {
    grid-template-columns: 200px 1fr 200px;
  }
}

/* Responsive: Mobile */
@media (max-width: 768px) {
  .aikb-layout--three-columns {
    grid-template-columns: 1fr; /* Stack all columns */
  }

  .aikb-sidebar--left,
  .aikb-sidebar--right,
  .aikb-content {
    order: 0; /* Reset order for stacking */
  }

  .aikb-content {
    order: 1; /* Content appears after sidebars */
  }
}


/******
Content
*******/
.aikb-content h1.entry-title {
	margin:0px;
	padding:0px;
}



/**** 
Left Side Toggle Button 
****/

.aikb-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-right: 4px;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
  position: absolute;
  left: -18px;
  border: 1px solid #202020;
  border-radius: 50px;
}

.aikb-toggle[aria-expanded="true"] {
  top: 2px;
  left: -22px;
}

.aikb-toggle[aria-expanded="false"] {
  top: 3px;
  left: -22px;
}

.aikb-toggle.category[aria-expanded="false"] {
  top: 2px;
  left: -22px;
}

.aikb-article button,
ul.aikb-category-tree button {
  min-height: 0;
}

ul.aikb-article-subtree {
    display: block;
    border-left: 1px dashed #CCCCCC;
    left: -15px;
    position: relative;
    padding-left: 37px !important;
}

.aikb-articles ul.aikb-category-tree li.has-children {
	margin: 10px 0px 0px !important;
}

.aikb-articles .aikb-toggle.category svg {
    top: 0px;
    position: absolute;
    left: 0px;
}

.aikb-articles .aikb-toggle.category {
    border: none;
}

/**** 
Category Tree 
****/

.aikb-category-tree .category_name {
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0px;
	font-size: 13px;
}

ul.aikb-category-tree.aikb-root {
	padding-left: 0px !important;
}

/* Basic Structure */
.aikb-category-tree,
.aikb-subtree,
.aikb-article-subtree {
  list-style: none;
  margin: 0!important;
  padding: 3px 10px 0 20px!important;
  font-size: 14px;
  line-height: 1.4;
}

ul.aikb-category-tree ul.aikb-category-tree {
	padding:3px 0 0 0px!important;
}

.aikb-category-tree > li,
.aikb-subtree > li,
.aikb-article-subtree > li {
  margin-bottom: 5px!important;
  position: relative;
}

/* Links */
.aikb-category-tree a,
.aikb-subtree a,
.aikb-article-subtree a {
  text-decoration: none;
  padding: 2px 0px 2px 2px;
  display: inline-block;
  transition: color 0.3s ease;
}

.aikb-subtree .aikb-article:not(.children) a::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 12px;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  
  /* SVG as mask */
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%236b7280" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 26 26" xmlns="http://www.w3.org/2000/svg"><path d="M5 10.02h6m-6 4h6m2 5H3a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707v9.586a2 2 0 0 1-2 2z"/></svg>');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
    mask-image: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%236b7280" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 26 26" xmlns="http://www.w3.org/2000/svg"><path d="M5 10.02h6m-6 4h6m2 5H3a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707v9.586a2 2 0 0 1-2 2z"/></svg>');
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;

    background-color: #767676;
}


/* Toggle Button Arrow */
.aikb-toggle svg {
  transition: transform 0.3s ease;
  fill: #202020;
}

/* Active Elements */
.active > a,
.active-article > a {
  font-weight: bold;
  color: #0073aa;
}

/* Children Indicator */
.has-children > .aikb-toggle svg,
.aikb-article > .aikb-toggle svg {
  transform: rotate(0deg);
}

/* Subtree Style */
.aikb-subtree,
.aikb-article-subtree {
  padding-left: 1rem;
  margin-top: 4px;
}

/* Responsive Adjustments */
@media screen and (max-width: 600px) {
  .aikb-category-tree,
  .aikb-subtree,
  .aikb-article-subtree {
    font-size: 13px;
    padding-left: 0.75rem;
  }

  .aikb-toggle svg {
    width: 8px;
    height: 8px;
  }
}


/**** 
Navigation Buttons 
****/

.aikb-icon {
	vertical-align: middle;
	margin-right: 5px;
	margin-top: -3px;
}


.aikb-nav-button {
  padding: 8px 16px;
  margin: 10px 5px;
  background-color: #0073aa;
  color: #fff;
  border: none;
  cursor: pointer;
}

.aikb-nav-button:hover {
	background-color: #005f8d; }

.aikb-toggle.category {
	border: 1px solid #3e3e3e; }

.aikb-toggle.category svg {
	top: 4px;
	position: absolute;
	left: 4px; }
	
section.aikb-articles {
    padding-top: 25px;
}

ul.aikb-subtree:not(.aikb-category-tree.aikb-root > li > ul.aikb-subtree) {
    border-left: 1px dashed #CCCCCC;
    left: -15px;
    position: relative;
    padding-left: 37px !important;
}

/* Highlight the active article link */
.aikb-ajax-article-link.active-article {
    color: #0040ff;
}
.aikb-ajax-article-link.active-article:hover {
    color: #5d82ef;  
}


/**** 
Attachment
****/

.aikb-attachment-box {
	margin-top: 20px;
}

.aikb-attachment-box h3,
.aikb-related-articles h3,
.aikb-recently-viewed h3,
.aikb-recently-viewed h3,
.aikb-faqs-wrapper h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 15px;
	font-size: 1.2em;
}

@media (max-width: 600px) {
	.aikb-attachment-box h3,
	.aikb-related-articles h3,
	.aikb-recently-viewed h3,
	.aikb-recently-viewed h3 {
		font-size: 1em;
	}

	.aikb-attachment-table-wrapper {
		-webkit-overflow-scrolling: touch;
	}
}

.aikb-attachment-access-denied {
	color:red; }

.aikb-related-articles ul,
.aikb-recently-viewed ul {
	display: grid;
    grid-gap: 0px;
	margin-left: 20px !important;
	padding: 0px; }
	
.aikb-related-articles ul li,
.aikb-recently-viewed ul li,
.aikb-recently-viewed ul li {
	margin-bottom: 3px !important;
    position: relative;
	list-style: none; }	
	
.aikb-related-articles ul li a,
.aikb-recently-viewed ul li a {
    text-decoration: none;
    padding: 2px 0px 2px 2px;
    display: inline-block;
    transition: color 0.3s ease;
}	
.aikb-related-articles a::before,
.aikb-recently-viewed a::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 15px;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;

    /* use currentColor for stroke */
	 -webkit-mask-image: url('data:image/svg+xml;utf8,<svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 26 26" xmlns="http://www.w3.org/2000/svg"><path d="M5 10.02h6m-6 4h6m2 5H3a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707v9.586a2 2 0 0 1-2 2z"/></svg>');
	 -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
    mask-image: url('data:image/svg+xml;utf8,<svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 26 26" xmlns="http://www.w3.org/2000/svg"><path d="M5 10.02h6m-6 4h6m2 5H3a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707v9.586a2 2 0 0 1-2 2z"/></svg>');
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;

    /* this now controls the SVG color */
    background-color: #707070;
}

.aikb-recently-viewed a.not_found, 
.aikb-related-articles a.not_found {
	color: #979797;
}

.aikb-recently-viewed a.not_found::before, 
.aikb-related-articles a.not_found::before {
content: '';
    position: absolute;
    left: -20px;
    top: 13px;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;

    /* use currentColor for stroke */
-webkit-mask-image: url('data:image/svg+xml;utf8,<svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 2L1 21h22L12 2z"/><line x1="12" y1="8" x2="12" y2="14"/><circle cx="12" cy="18" r="1"/></svg>');
-webkit-mask-repeat: no-repeat;
-webkit-mask-size: contain;
-webkit-mask-position: center;

mask-image: url('data:image/svg+xml;utf8,<svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 2L1 21h22L12 2z"/><line x1="12" y1="8" x2="12" y2="14"/><circle cx="12" cy="18" r="1"/></svg>');
mask-repeat: no-repeat;
mask-size: contain;
mask-position: center;


    /* this now controls the SVG color */
    background-color: #707070;
}


/*Ratings*/
.star-rating-svg {
    display: flex;
    gap: 5px;
    cursor: pointer;
}

.star-rating-svg .star {
    width: 25px;
    height: 25px;
    fill: #ccc; /* Default gray color */
    transition: fill 0.2s;
}

.star-rating-svg .star:hover,
.star-rating-svg .star:hover ~ .star {
    fill: gold;
}


.aikb-next-prev-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 20px 0;
}
.aikb-prev-page, .aikb-next-page {
    flex-grow: 1;
    flex-basis: 0;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #f1f1f1;
    margin-bottom: 1rem;
    display: flex;
	background: #f4f4f5;
}
.aikb-prev-page:hover, .aikb-next-page:hover {
	background: #ededed;
}
.aikb-prev-page {
    order: 0;
    margin-right: 0.5rem;
    text-align: right;
}
.aikb-next-page {
    order: 1;
    margin-left: 0.5rem;
    text-align: left;
}
.aikb-next-prev-section a {
    display: flex;
    justify-content: space-between;
    width: 100%;
    text-decoration: none;
    color: inherit;
}
.aikb-page-nav-arrow {
    opacity: 0.5;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
}
.aikb-page-nav-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.aikb-page-nav-title {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    color: #9daab6;
}
.aikb-page-title {
    font-size: 14px;
}


/* TOC styling */
.aikb-sidebar--right {
    position: sticky;
    top: 30px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    scrollbar-width: thin;                           /* Firefox */
    scrollbar-color: rgba(150,150,150,0.6) transparent;
}

/* Chrome, Edge, Safari */
.aikb-sidebar--right::-webkit-scrollbar {
    width: 12px;                                     /* thicker but clean */
}

.aikb-sidebar--right::-webkit-scrollbar-track {
    background: transparent;                         /* invisible track */
    border-radius: 10px;
}

.aikb-sidebar--right::-webkit-scrollbar-thumb {
    background: rgba(180,180,180,0.4);               /* frosted thumb */
    backdrop-filter: blur(6px);                      /* glass effect */
    border-radius: 10px;
    border: 2px solid transparent;                   /* spacing around */
    background-clip: padding-box;
    transition: all 0.3s ease;
}

.aikb-sidebar--right::-webkit-scrollbar-thumb:hover {
    background: rgba(140,140,140,0.7);               /* darker on hover */
    box-shadow: 0 0 6px rgba(100, 100, 255, 0.4);    /* soft glow */
}
/*#aikb-toc */

#aikb-toc .toc-list {
    list-style: none;
    padding-left: 0;
	margin-top: 10px;
}
#aikb-toc .toc-item {
    margin: 0px;
    padding: 0px;
	line-height: 20px;
}
.aikb-sidebar-toc .aikb-toc {
	border-left: 1px dashed #ededed;
}
.aikb-sidebar-toc .aikb-toc .toc-list {
    padding: 0px;
    margin: 0px 0px 0px 1rem;
}
#aikb-toc li.toc-item.h2 {
	padding: 0;
    margin: 10px 0px;
    line-height: 0;
}
#aikb-toc .toc-item.h2 a {
	font-size: 14px;
	line-height: 15px;
	opacity: 0.8;
}
#aikb-toc .toc-item.h3 a, 
#aikb-toc .toc-item.h4 a,
#aikb-toc .toc-item.h5 a {
    margin-left: 10px;
    font-size: 14px;
	font-weight: normal;
	line-height: 18px;
	opacity: 0.8;
	display: block;
}
#aikb-toc .toc-list a.active {
    color:#0033CC; /* Highlight active TOC item */
}
#aikb-toc .toc-item a.active:not(.toc-item.h2 a), #aikb-toc .toc-item a:hover:not(.toc-item.h2 a) {
	border-left: 1px solid #0033CC;
	margin-left: -1px;
    padding-left: 10px;
}
#aikb-toc li.toc-item.h2:has(> a.active), #aikb-toc li.toc-item.h2:hover {
	border-left: 1px solid #0033CC;
	margin-left: -17px;
    padding-left: 16px;
}
#aikb-toc .toc-item.h3, 
#aikb-toc .toc-item.h4,
#aikb-toc .toc-item.h5 {
	border-left: 1px dashed #DDDDDD;
	margin: 6px 0px;
}

/* POPUP SEARCH */
#aikb-search-popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); /* Transparent black */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.aikb-search-popup-wrap {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    width: 600px; /* adjust as needed */
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
}
#aikb-search-results,
#aikb-search-shortcode-results {
    max-height: 180px;
    overflow-y: auto;
    border-top: 1px solid #ddd;
    padding: 5px;
    margin-top: 10px;
}
#aikb-search-results a,
#aikb-search-shortcode-results a {
	padding: 2px 0px 2px 2px;
}
.aikb-loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 10px auto;
}
@keyframes spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}
/* Close icon */
.aikb-close-popup {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 22px;
    cursor: pointer;
    color: #333;
}
.aikb-search-label { font-weight:bold; }



/*popup search result*/
.aikb_search_result_display {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}
#aikb-search-results .aikb_search_result_display a,
#aikb-search-shortcode-results .aikb_search_result_display a {
    padding: 2px 0px 2px 20px;
}
.aikb_search_result_display:last-child {
    border-bottom: none;
}
.aikb_search_result_display > a {
    position: relative;
    padding-left: 30px; /* space for icon */
    text-decoration: none;
    display: inline-block;
}
.aikb_search_result_display > a::before {
    content: '';
    position: absolute;
    left: 0;
    margin-top: 12px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%236b7280" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 26 26" xmlns="http://www.w3.org/2000/svg"><path d="M5 10.02h6m-6 4h6m2 5H3a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707v9.586a2 2 0 0 1-2 2z"/></svg>');
    background-repeat: no-repeat;
    background-size: 20px 20px;
}
.aikb_search_result_display small {
	padding-left: 19px;
	opacity: 0.5;
}


/*BREDCRUMB*/
.aikb-breadcrumb-wrapper {
    font-family: inherit;
    margin-bottom: 20px;
    background: none;
}

.aikb-breadcrumb-wrapper .aikb-breadcrumb-title {
    opacity: 0.9;
    font-size: 0.6rem;
    line-height: 1.25rem;
    letter-spacing: 0.1em;
}

.aikb-breadcrumb-wrapper .aikb-breadcrumb-nav {
    display: flex;
    align-items: center;
    line-height: 1.4;
    opacity: 0.5;
    flex-wrap: wrap;
}

.aikb-breadcrumb-wrapper .aikb-breadcrumb-nav a,
.aikb-breadcrumb-wrapper .aikb-breadcrumb-nav span {
    text-transform: none;
    font-weight: normal;
    font-size: 12px;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
}

.aikb-breadcrumb-wrapper .aikb-breadcrumb-nav svg {
    margin: 0 4px;
    margin-top: 0;
    flex-shrink: 0;
}

/*CONTENT*/

.aikb-post-meta {
    margin-bottom: 1em;
    font-size: 0.9em;
    color: #666;
    display: flex;
    gap: 1.2em;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 10px;
    opacity: 0.9;
	padding-top: 20px;
}

.aikb-post-meta .aikb-meta-left {
	display: flex; 
	flex-wrap: wrap; 
	gap: 10px; 
	align-items: center;
}
.aikb-post-meta .aikb-meta-right {
	display: flex; 
	flex-wrap: wrap; 
	gap: 10px; 
	align-items: center;
}
.aikb-post-meta-sidebar.aikb-post-meta {
	border-bottom:none;
	padding: 20px;
    border: 1px solid #ededed;
    border-radius: 15px;
}
	

/*FAQ*/
.aikb-faqs-wrapper,
.aikb-attachment-box,
.aikb-helpful-box,
.aikb-support-box,
.aikb-related-articles,
.aikb-recently-viewed {
  margin-top: 30px!important;
}


/**** 
Responsive
****/
@media (max-width:991px) {
	.aikb-sidebar--right,
	.aikb-sidebar--left { display:none; }
	
	.aikb-layout--three-columns {
        grid-template-columns: auto;
    }
}

/* TREE MENU :: Hide both by default */
.aikb_menu_icon,
.aikb-mobile-sidebar {
  display: none;
}
/* Responsive display on small screens */
@media (max-width: 991px) {
  .aikb_menu_icon {
    position: fixed;
    top: 45%;
    left: 0;
    transform: translateY(-50%);
    display: block;
    z-index: 9999;
  }

  .aikb_menu_icon a {
    display: block;
    text-align: center;
    padding: 7px;
    transition: all 0.3s ease;
    color: white;
    font-size: 20px;
  }

  .aikb_menu_icon a.icon {
    background: #3B5998;
    color: white;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    font-size: 12px;
  }

  .aikb-mobile-sidebar {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 10000;
    box-shadow: 2px 0 5px rgba(0,0,0,0.3);
    transition: left 0.3s ease-in-out;
  }

  .aikb-mobile-sidebar.active {
    left: 0;
  }

  .aikb-sidebar-header {
    padding-top: 5px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: flex-end;
  }

  .aikb-sidebar-header button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
	color: black;
  }

  .aikb-sidebar-content {
    padding: 15px;
    overflow-y: auto;
    flex: 1;
  }

  /* Optional: Resize SVG for better visibility */
  .aikb_menu_icon svg,
  .aikb-sidebar-header svg {
    width: 20px;
    height: 20px;
  }
}

/*Shortcode*/
/* === AISMARTBASE KNOWLEDGEBASE GRID === */

/* Grid Container */
.page-builder-aikb.aikb {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

/* Each Grid Item (Card Wrapper) */
.aikb_content_wrap {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
}

.page-builder-aikb.aikb .aikb_content_wrap {
    width: 100%;
}
@media (min-width: 992px) {
/* Default: full width */


.page-builder-aikb.aikb.aikb-col-2 .aikb_content_wrap {
    width: 50%;
}

.page-builder-aikb.aikb.aikb-col-3 .aikb_content_wrap {
    width: 33.3333%;
}

.page-builder-aikb.aikb.aikb-col-4 .aikb_content_wrap {
    width: 25%;
}
}

/* Optional: For responsiveness, wrap with media queries if needed */
@media (max-width: 767px) {
    .page-builder-aikb.aikb[class*="aikb-col-"] .aikb_content_wrap {
        width: 100%;
    }
}


/* Card Box */
.knowledgebase-body {
    background: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

.knowledgebase-body:hover {
    transform: translateY(-5px);
}

.aismartbase-knowledgebase-wrapper .aikb_content_wrap .knowledgebase-body .aikb-term-image {
	display: inline-flex;
	line-height: 1;
	position: relative;
	box-sizing: content-box;
}

/* Category Header */
.aikb-head-wrap .tag_title {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0;
	padding: 0;
    flex: 1; /* Allows title to use all available space */
    min-width: 0; /* Prevents overflow */
    overflow: hidden;
    text-overflow: ellipsis;
	
}

.aikb-head-wrap .aikb-title-wrap {
	display: flex; 
	align-items: flex-start; 
	gap: 8px;
}

.aikb-head-wrap .tag_title_wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 20px;
    flex-wrap: nowrap;
}

.page-builder-aikb.aikb .tag_title_wrap .cat_count {
    display: inline-block;
    flex-shrink: 0; /* Prevent shrinking */
    font-weight: normal;
    color: #838383;
    background: #e1e1e1;
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    font-size: 11px;
    margin-left: 10px;
}

.aikb-head-wrap .tag_title a {
    color: #000000;
    text-decoration: none;
}

.aikb-head-wrap .tag_title a:hover {
    color: #005177;
}

/* Category Description */
.aikb-head-wrap p {
    color: #666;
    font-size: 14px;
    margin: 15px 0;
}

/* Divider */
.knowledgebase-body hr.border_wrap {
    border-top: 1px solid #9f9f9f;
    margin: 16px 0 20px;
}

.knowledgebase-body .flex-subcat {
    display: flex;
    align-items: flex-start;
    gap: 10px; /* space between elements */
    text-decoration: none;
    color: inherit;
}

.knowledgebase-body .subcategory-text {
    flex: 1; /* Pushes .article_count to the right */
    overflow: hidden;
    text-overflow: ellipsis;
}

.knowledgebase-body .flex-subcat img {
    width: 20px; /* adjust as needed */
    height: 20px;
    object-fit: contain;
}

.knowledgebase-body .flex-subcat .article_count {
    background: #e1e1e1;
    color: #838383;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 11px;
    margin-left: 4px;
    flex-shrink: 0;
}


/* Subcategory List */
.kbse {
    list-style: none;
    margin: 0 0 1rem 0!important;
    padding: 0;
}

.kbse li {
    margin-bottom: 10px;
}

.kbse li a {
    display: inline-block;
    text-decoration: none;
    color: #000;
    font-size: 15px;
    position: relative;
    line-height: 1.4;
}

.kbse li.childcat a svg {
    width: 16px;
    height: 19px;
}

.kbse li.post a svg {
	margin-top: 1px;
    margin-right: 1px;
}

/* Subcategory Link Hover */
.kbse li a:hover {
    color: #0073aa;
}

/* Explore All Link */
.kb_link {
    margin-top: 15px;
}

.kb_link a {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #0073aa;
    text-decoration: none;
    position: relative;
    padding-right: 18px;
    transition: all 0.2s ease;
}

.kb_link a::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 14px;
    transition: transform 0.2s ease;
}

.kb_link a:hover {
    color: #005177;
}

.kb_link a:hover::after {
    transform: translateX(4px);
}

.cat.inner.subcat.childcat a {
	margin-bottom: 5px;  
}

.cat.inner.subcat.post a {
  white-space: normal;            /* Allow wrapping of long text */
  display: inline-flex;           /* Icon and text side-by-side */
  align-items: flex-start;            /* Vertical align both */
  gap: 6px;                       /* Space between icon and text */
  line-height: 1.4;  
  margin-bottom: 5px;            
}

.cat.inner.subcat.post svg {
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  vertical-align: top;
}

#aikb-search-results ul.aikb-search-results-list,
#aikb-search-shortcode-results ul.aikb-search-results-list {
	margin-bottom:0px; }
	
.aikb-search-results-list li {	
	padding: 5px 0px;
    border-bottom: 1px solid #cccccc4f;
    margin-bottom: 10px !important;
    text-align: left;
    list-style: none !important;
    margin-left: 0px !important;
}

.aikb-summary-box {
	border-radius: 6px;
	border: 1px solid #f3f3f3;
	padding: 15px;
	background: #F4F4F5;
	margin-bottom: 20px;
}
.aikb-summary-box .title {
	margin-top: 0;
	font-size: 15px;
	font-weight: 600;
}
.aikb-summary-box svg {
	margin-top: -7px;
}
.aikb-summary-box p {
	padding: 15px 25px 0px 25px;
}

/*aismartbase-chat*/
#aikb-chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0073aa;
    border: none;
    border-radius: 50%;
    padding: 15px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background 0.3s ease;
}
#aikb-chat-toggle:hover {
    background-color: #005f8d;
}

#aikb-chat-toggle svg {
    display: block;
    width: 24px;
    height: 24px;
}

/* Chat Widget Container */
#aikb-chatbot-widget {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 320px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #dcdcdc;
    display: none;
    flex-direction: column;
    z-index: 9999;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
}
#aikb-chatbot-widget.open {
    display: flex;
}

/* Chat Pointer (Arrow) */
#aikb-chat-arrow {
    position: absolute;
    bottom: -10px;
    right: 30px;
    width: 20px;
    height: 20px;
    background: white;
    transform: rotate(45deg);
    border: 1px solid #ccc;
    border-top: none;
    border-left: none;
    z-index: -1;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

/* Chat Header */
#aikb-chat-header {
    background: #0b74de;
    color: white;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#aikb-chat-close {
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
}

/* Chat Body */
#aikb-chat-body {
    height: 250px;
    overflow-y: auto;
    padding: 12px;
    background: #f4f6f8;
    font-size: 14px;
    line-height: 1.4;
}

/* Input Field */
#aikb-chat-input {
    border: none;
    border-top: 1px solid #eee;
    padding: 14px;
    font-size: 14px;
    width: 100%;
    outline: none;
}

/* Messages */
.user-msg {
    text-align: right;
    color: #333;
    background: #dceefc;
    display: inline-block;
    padding: 8px 12px;
    border-radius: 16px 16px 0 16px;
    margin-bottom: 8px;
    max-width: 80%;
    float: right;
    clear: both;
}
.bot-msg {
    text-align: left;
    color: #0b74de;
    background: #e9f3ff;
    display: inline-block;
    padding: 8px 12px;
    border-radius: 16px 16px 16px 0;
    margin-bottom: 8px;
    max-width: 80%;
    float: left;
    clear: both;
}

/*TOC*/
.aikb-sidebar-toc {
    padding: 0px;
    border:none;
    border-radius:0px;
}
.aikb-sidebar-toc .title {
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

/*sidebar*/
.aikb-post-rating {
	display:flex; 
	align-items:center; 
	color:#f5a623
}
.aikb-post-rating .comment_rating {
	margin-top: 3px;
}
.aikb-font-size-controls span {
    display: inline-block;
    padding: 2px 4px;
    background-color: #e3e3e3;
    border-radius: 4px;
    font-weight: bold;
    user-select: none;
    transition: background 0.2s ease;
	cursor:pointer;
}

.aikb-font-size-controls span:hover {
    background-color: #e0e0e0;
}

/*Text to speech*/
.aikb-tts-controls {
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.aikb-tts-controls button {
  border-radius: 6px;
  padding: 4px 5px;
  cursor: pointer;
  background: #e0e0e0;
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
}

.aikb-tts-controls button svg {
  pointer-events: none;
}

.aikb-tts-controls button:hover {
  background: #f0f0f0;
}

.aikb-tts-controls button.active {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #fff;
  transform: scale(1.05);
}

.aikb-featured-image {
  margin-bottom: 40px;
  text-align: center;
}

.aikb-featured-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.aikb-video-player {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	margin-bottom: 30px;
}

.aikb-video-player iframe,
.aikb-video-player video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

/*Enhance Design*/
.aikb-action-menu-wrapper {
  position: relative;
  display: inline-block;
}

.aikb-menu-toggle {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.aikb-menu-toggle:hover {
  background-color: #f0f0f0;
}

.aikb-menu-dropdown {
  display: none;
  position: absolute;
  right: 0;
  background-color: #000 !important;
  color: #fff;
  min-width: 150px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  z-index: 999;
  padding: 8px 0;
  border-radius: 6px;
  transition: opacity 0.2s ease;
  opacity: 1;
}

.aikb-menu-dropdown.aikb-visible {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.aikb-menu-dropdown li {
  list-style: none;
}

.aikb-menu-dropdown div {
  background: none;
  width: 100%;
  text-align: left;
  padding: 8px 16px;
  cursor: pointer;
  color: #fff;
}

.aikb-menu-dropdown div:hover {
  background-color: #181818;
  border-radius: 6px;
}

#aikb-tts-player {
	position: fixed;
	bottom: 20px;
	left: 20px;
	width: 260px;
	background: #000000;
	border: 1px solid #000000;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
	border-radius: 10px;
	padding: 12px;
	display: none;
	z-index: 9999;
}
.aikb-tts-controls {
	gap: 5px; 
	cursor: pointer; 
	margin-top: 10px; 
	 
	padding: 5px 9px 5px 5px; 
	border-radius: 5px;
}

.aikb-tts-controls.top {
	background: #ffffff;
}
.aikb-tts-controls.top:hover {
	background: #f1f1f1; 
}


/*********************
** SINGLE PAGE  ***
**********************/

/* 1. POST META 2 SECTION */
	.aikb-post-meta.control_left_right {
	  display: flex;
	  justify-content: space-between;
	  align-items: center;
	  flex-wrap: wrap;
	  gap: 12px;
	  color: #374151;
	}
	
	.aikb-post-meta.border-top-btm {
	  background: linear-gradient(to right, #f9fafb, #f3f4f6);
	  padding: 10px 16px;
	  box-shadow: inset 0 1px 0 #e5e7eb, inset 0 -1px 0 #e5e7eb;
	  transition: background 0.3s ease;
	  border-top: 2px solid rgb(229, 231, 235);
      border-bottom: 2px solid rgb(229, 231, 235);
	  margin-top: 1em;
	}


/*2. TAG SECTION */
	.aikb-post-tags {
		margin-top: 20px;
	}
	.aikb-post-tags ul.tag-list {
		list-style: none;
		padding: 0;
	}
	.aikb-post-tags ul.tag-list li {
		display: inline-block;
		margin-right: 8px;
	}
	.aikb-post-tags ul.tag-list li a {
	  background: #F3F4F6; /* Soft blue for better visual appeal */
	  padding: 6px 14px;
	  border-radius: 6px;
	  text-decoration: none;
	  font-weight: 600;
	  display: inline-block;
	  transition: all 0.3s ease;
	}
	
	.aikb-post-tags ul.tag-list li a:hover {
	  background-color: #dbeafe; /* Slightly darker on hover */
	  color: #1e40af;
	  transform: translateY(-2px);
	  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
	}


/*3. ATTACHMENT SECTION */
	.aikb-attachment-table-wrapper {
	  overflow-x: auto;
	}
	
	.aikb-attachment-table {
	  width: 100%;
	  min-width: 600px;
	  border-collapse: collapse;
	  margin-top: 8px;
	  background-color: #ffffff;
	  border-radius: 8px;
	  overflow: hidden;
	  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
	}
	
	.aikb-attachment-table th {
	  text-align: left;
	  padding: 12px 16px;
	  background: #f3f4f6;
	  font-weight: 600;
	  border-bottom: 2px solid #e5e7eb;
	  white-space: nowrap;
	}
	
	.aikb-attachment-table td {
	  padding: 10px 16px;
	  border-bottom: 1px solid #f1f5f9;
	  vertical-align: middle;
	}
	
	.aikb-attachment-table td a {
	  color: #2563eb;
	  text-decoration: none;
	  transition: color 0.2s ease-in-out;
	}
	
	.aikb-attachment-table td a:hover {
	  color: #1e40af;
	}
	
	.aikb-attachment-table tbody tr:hover {
	  background-color: #f9fafb;
	  transition: background-color 0.2s ease-in-out;
	}


/*4. FAQ SECTION */
	.aikb-faqs-heading {
	  font-weight: 700;
	  color: #1f2937;
	  margin-bottom: 20px;
	  border-bottom: 2px solid #4f46e5;
	  padding-bottom: 6px;
	}
	
	.aikb-faqs-wrapper .aikb-faqs {
	  padding-bottom: 20px;
	  padding-top: 10px;
	}
	
	.aikb-faq-item {
	  margin-bottom: 18px;
	  border-radius: 8px;
	  overflow: hidden;
	  transition: all 0.3s ease-in-out;
	}
	
	.aikb-faq-item:hover {
	  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
	  border-color: #d1d5db;
	}
	
	.aikb-faq-question {
	  background: #f3f4f6;
	  cursor: pointer;
	  padding: 15px 20px;
	  font-weight: 600;
	  font-size: 1rem;
	  align-items: center;
	  gap: 12px;
	  position: relative;
	  color: #111827;
	  transition: background 0.3s ease;
	}
	
	.aikb-faq-question:hover {
	  background: linear-gradient(90deg, #e0e7ff, #c7d2fe);
	}
	
	.faq-toggle-icon {
		align-items: center;
		justify-content: center;
		margin-left: auto;
		font-size: 1.2em;
		transition: transform 0.3s ease;
		background: #ffffff;
		border-radius: 50px;
		margin-right: 10px;
	}
	
	.icon-minus {
		display: none;
		color: #4f46e5;
		margin-top: -4px;
		margin-left: 4px;
	}
	
	.icon-plus {
		color: #6b7280;
		margin-top: -4px;
		margin-left: 4px;
	}
	
	.aikb-faq-item.open .icon-minus {
	  display: inline;
	}
	
	.aikb-faq-item.open .icon-plus {
	  display: none;
	}
	
	.aikb-faq-item.open .faq-toggle-icon {
	  transform: rotate(180deg);
	}
	
	.aikb-faq-answer {
	  padding: 16px 20px;
	  background: #ffffff;
	  color: #374151;
	  border-top: 1px solid #e5e7eb;
	  animation: fadeIn 0.3s ease;
	}
	
	@keyframes fadeIn {
	  from {
		opacity: 0;
		transform: translateY(-4px);
	  }
	  to {
		opacity: 1;
		transform: translateY(0);
	  }
	}

/*5. HELPFUL BOX */

	.aikb-helpful-box {
		margin-top: 30px;
		padding: 24px;
		background-color: #ffffff;
		border: 1px solid #e0e0e0;
		border-radius: 12px;
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
		color: #333;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
		transition: all 0.3s ease-in-out;
	}
	
	.aikb-helpful-box p {
		margin-bottom: 16px;
		line-height: 1.6;
	}
	
	.aikb-helpful-box p:last-child {
		margin-bottom: 0;
	}
	
	.aikb-helpful-box button.helpful-btn {
		background-color: #f0f0f0;
		color: #333;
		border: none;
		padding: 10px 25px;
		border-radius: 25px;
		font-weight: 600;
		cursor: pointer;
		transition: background-color 0.2s ease, transform 0.2s ease;
		font-size: 12px;
	}
	
	.aikb-helpful-box button.helpful-btn:hover {
		background-color: #0073aa;
		color: #fff;
		transform: scale(1.05);
	}
	
	.aikb-helpful-box .error-message {
		color: #d9534f;
		font-weight: 500;
	}
	
/*6. SUBMIT A REQUEST */

	.aikb-support-box {
		padding: 20px 0px;
		text-align: center;
	}
	
	.aikb-support-heading {
		font-size: 1.25em;
		color: #333;
		margin-bottom: 10px;
	}
	
	.aikb-support-desc {
		font-size: 0.95em;
		color: #555;
		margin-bottom: 20px;
	}
	
	#aikb-support-btn {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		padding: 12px 24px;
		background: #0073aa;
		color: #fff;
		border: none;
		border-radius: 5px;
		cursor: pointer;
		transition: background 0.3s ease, transform 0.2s ease;
		box-shadow: 0 2px 6px rgba(0,0,0,0.1);
		text-transform:capitalize;
	}
	
	#aikb-support-btn:hover {
		background: #005f8d;
		transform: translateY(-1px);
	}
	
	.aikb-support-icon {
		stroke: #fff;
	}
	
/*7. SHARE */

	.custom-share-footer {
		text-align: center;
		overflow-x: hidden; /* Prevents horizontal scrolling */
		margin-bottom:20px;
		border-bottom: 5px solid #f1f1f1;
		padding-bottom: 15px;
	}
	
	.custom-share-footer .social-icons {
		display: inline-flex;
		gap: 10px;
		justify-content: center;
	}
	
	.custom-share-footer .social-icons a {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		border-radius: 50%;
		background-color: #f7f7f7;
		transition: all 0.2s ease;
		border: 1px solid #e0e0e0;
		transform: scale(1); /* Default scale */
	}
	
	.custom-share-footer .social-icons a:hover {
		background-color: #eaeaea;
	}
	
	.custom-share-footer .social-icons svg {
		width: 18px;
		height: 18px;
		fill: #000;
	}



/*********************
** CATEGORY SECTION  ***
**********************/


/* 2. CATEGORY*/
.entry-title {
  display: flex!important;
  align-items: center;
  gap: 10px;
}

.entry-title-icon {
  display: inline-block;
  width: 45px;
  height: 45px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%236b7280' viewBox='0 0 24 24'%3E%3Cpath d='M3 8a2 2 0 0 1 2-2h6l3 3h6a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  margin-top: -5px;
  margin-left: -5px;
}

.category-info {
  margin-top: 12px;
  font-size: 13px;
  color: #555;
  display: flex;
  gap: 20px;
  align-items: center;
}

.category-info span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.category-info .subcat-icon,
.category-info .article-icon {
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.category-info .subcat-icon {
  width: 15px;
  height: 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%236b7280' stroke-width='2' stroke-linejoin='round' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='M3 7a2 2 0 0 1 2-2h6l3 3h6a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E");
  margin-top: -3px;
}

.category-info .article-icon {
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg fill='none' stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 26 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 10.02h6m-6 4h6m2 5H3a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707v9.586a2 2 0 0 1-2 2z'/%3E%3C/svg%3E");
  margin-top: 1px;
  gap: 3px;
}

	/*2. CATEGORY :: RECORDS*/

.aikb-article-titles {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background-color: #ffffff;
  overflow: hidden;
  margin-bottom: 35px!important;
}

.aikb-article-item {
  position: relative;
  padding: 18px 24px;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.aikb-article-item:hover {
  background-color: #fbfbfb; /* light gray */
  box-shadow: inset 3px 0 0 0 #4f46e5;
}

.aikb-article-item.has-border {
  border-bottom: 1px solid #e5e7eb;
}

.aikb-article-title {
    position: relative;
    display: inline-block;
    padding-left: 32px;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1.4;
    word-spacing: 0px;
    letter-spacing: 0px;
}

.aikb-article-item:hover .aikb-article-title {
  color: #4338ca; /* deeper indigo */
}

/* Existing icon styling */
.aikb-article-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px; /* stick to top */
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  /* SVG as mask */
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg fill='none' stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 26 26' xmlns='http://www.w3.org/2000/svg'><path d='M5 10.02h6m-6 4h6m2 5H3a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707v9.586a2 2 0 0 1-2 2z'/></svg>");
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
    mask-image: url("data:image/svg+xml;utf8,<svg fill='none' stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 26 26' xmlns='http://www.w3.org/2000/svg'><path d='M5 10.02h6m-6 4h6m2 5H3a2 2 0 0 1-2-2v-14a2 2 0 0 1 2-2h5.586a1 1 0 0 1 .707.293l5.414 5.414a1 1 0 0 1 .293.707v9.586a2 2 0 0 1-2 2z'/></svg>");
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;

    /* Now CSS color applies */
    background-color: #8d8d8d;
}

/* New: Hover effect for icon */
.aikb-article-title:hover::before {
  filter: brightness(0) saturate(100%) invert(20%) sepia(76%) saturate(7491%) hue-rotate(234deg) brightness(92%) contrast(101%);
}


.aikb-article-dates {
  margin-left: 32px; /* align with text, not icon */
  margin-top: 10px;
  font-size: 13px;
  color: #6b7280; /* Tailwind gray-500 */
  display: flex;
  gap: 18px;
  line-height: 1.4;
}




.page-numbers {
  display: inline-block;
  padding: 10px 16px;
  margin: 6px 6px 0 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  color: #1f2937;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.25s ease;
}

.page-numbers:hover {
  background: linear-gradient(135deg, #c7d2fe, #a5b4fc);
  color: #1e3a8a;
  transform: translateY(-2px);
}

.page-numbers.current {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #ffffff;
  font-weight: 700;
  transform: translateY(-2px);
}

.aikb-private-category-message {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 15px;
    border-radius: 6px;
    color: #856404;
    font-weight: 500;
    text-align: center;
    margin-bottom: 20px;
}




	/*2. CATEGORY :: SUBCATEGORY*/
	
.aikb-subcategories-list {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 30px;
	padding: 10px 0;
}

.aikb-subcategory-item {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	background-color: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 10px 14px;
	transition: all 0.3s ease;
	color: #1f2937;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.aikb-subcategory-item:hover {
	background-color: #f3f4f6;
	border-color: #d1d5db;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.06);
}

.aikb-subcategory-icon {
	display: inline-block;
	width: 18px;
	height: 18px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%236b7280' stroke-width='2' stroke-linejoin='round' stroke-linecap='round' viewBox='0 0 24 24'%3E%3Cpath d='M3 7a2 2 0 0 1 2-2h6l3 3h6a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-size: contain;
	margin-right: 10px;
	transition: filter 0.3s ease;
	margin-top: -2px;
}

.aikb-subcategory-item:hover .aikb-subcategory-icon {
	filter: brightness(0.4) sepia(1) hue-rotate(180deg) saturate(4);
}

.aikb-subcategory-name {
	font-size: 15px;
	font-weight: 500;
	color: #374151;
}
.aikb-subcategory-count {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 8px;
	background-color: #e0f2fe;
	color: #0369a1;
	font-size: 13px;
	font-weight: 600;
	border-radius: 999px;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.aikb-subcategory-item:hover .aikb-subcategory-count {
	background-color: #bae6fd;
	color: #075985;
}
	
.aikb-summary-box .title .aikb-toggle-icon svg {
	transition: transform 0.2s ease;
}
.aikb-summary-box .title.expanded .aikb-toggle-icon svg {
	transform: rotate(90deg);
}


/*********************
** SHORTCODE SEARCH ***
**********************/

.aikb-ajax-search-wrapper {
    position: relative;
}

.aikb-ajax-search-wrapper .aikb-search-form {
    margin: 0 auto;
    display: flex;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.aikb-ajax-search-wrapper .aikb-search-input {
    padding: 0 20px;
    min-height: 65px;
    margin: 0;
    border: none;
    outline: none;
    border-radius: 6px 0 0 6px;
    width: 100%;
    font-size: 16px;
    color: #333;
    background-color: #fff;
}

.aikb-ajax-search-wrapper .aikb-search-input::placeholder {
    color: #999;
}

.aikb-ajax-search-wrapper .aikb-category-select {
    border: none;
    padding: 0 12px;
    border-radius: 0 0px 0px 0;
    outline: none;
    background: #f7f7f7;
    cursor: pointer;
    width: 30%;
    min-height: 65px;
    margin: 0;
}

.aikb-ajax-search-wrapper .aikb-search-button {
    background-color: #4f46e5;
    color: white;
    border: none;
    padding: 0 32px;
    cursor: pointer;
    border-radius: 0 6px 6px 0;
    transition: background-color 0.3s ease;
}

.aikb-ajax-search-wrapper .aikb-search-button.hover,
.aikb-ajax-search-wrapper .aikb-search-button:hover {
    background-color: #3730a3;
}

.aikb-ajax-search-wrapper .aikb-search-filters {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: #fff;
    padding: 10px 15px;
    border: 1px solid #e6eeef;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 998;
}

.aikb-ajax-search-wrapper .aikb-search-filters label {
    margin-right: 10px;
    font-size: 14px;
}

.aikb-ajax-search-wrapper .aikb-results-area {
    position: absolute;
    top: calc(100% + 0px);
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    border: 1px solid #e6eeef;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    display: none;
    max-height: 300px;
    overflow-y: auto;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    animation: fadeIn 0.25s ease-in-out;
}