@media (min-width: 922px) {
    .knowledgebase-template-default .ast-container {
        padding: 0 !important;
        max-width: 1200px !important;
    }
}
.full-width-main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto; /* Center the container */
  padding: 0 15px; /* Optional: Adds some padding for mobile devices */
  box-sizing: border-box; /* Ensures padding doesn't affect the total width */
}

@media (max-width: 1200px) {
  .full-width-main {
    padding-left: 15px;
    padding-right: 15px;
  }
}
aside.kb-sidebar {
    order: 2;
}
.kb-content {
    order: 1;
}
.kb-container {
    max-width: 100%;
    width:100%;
    margin: 0 auto;
    padding: 0px;
    background-color: transparent !important;
/*     background-image: linear-gradient(180deg, #FFFFFF 0%, #5e936c30 100%) !important; */
/*     border: 1px solid #5E936C !important; */
    border-radius: 10px !important;
    margin: 20px 0px;
    
}
.kb-sidebar li {
    background-color: #ddecddfc;
    padding: 10px;
    border-radius: 10px;
}



.kb-search {
    width: 100%;
    margin-bottom: 40px;
}

.kb-search input {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.kb-grid {
    display: grid;
    grid-template-columns: 73% 25%;
    gap: 2%;
}

.kb-sidebar h3 {
    font-size: 18px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

.kb-sidebar ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0 30px;
}

.kb-sidebar li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    vertical-align: baseline !important;
	align-items: baseline;
}

.kb-sidebar li i {
    color: #0073aa;
}

.kb-right h2 {
    margin-top: 0;
    font-size: 22px;
    margin-bottom: 20px;
}

.kb-category-section {
    margin-bottom: 30px;
}

.kb-category-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f0f0f0;
    padding: 10px 15px;
    border-radius: 8px;
}

.kb-category-title i {
    margin-right: 8px;
    color: #0073aa;
}

.kb-category-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.kb-category-posts a {
    display: block;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 15px;
}

.kb-category-posts a:hover {
    background: #eef6fc;
}

.kb-all-categories-grid {
    display: grid;
    grid-template-columns: 48% 48%;
    gap: 2%;
    margin-top: 20px;
}

.kb-hero-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%) !important;
    position: relative;
    z-index: 1;
}

.kb-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.kb-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.kb-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.kb-post-list a {
    display: block;
    background: #f9f9f9;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: background 0.3s ease;
}

.kb-post-list a:hover {
    background: #eef6fc;
}

/* Tablet (up to 1024px) */
@media screen and (max-width: 1024px) {
    .kb-grid {
        grid-template-columns: 1fr;
    }

    .kb-sidebar {
        margin-bottom: 30px;
    }

    .kb-all-categories-grid {
        grid-template-columns: 1fr;
    }

    .kb-category-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Mobile (up to 768px) */
@media screen and (max-width: 768px) {
    .kb-search input {
        padding: 12px;
        font-size: 14px;
    }

    .kb-category-posts {
        grid-template-columns: 1fr;
    }

    .kb-all-categories-grid {
        grid-template-columns: 1fr;
    }

    .kb-category-title {
        font-size: 17px;
    }

    .kb-container {
        padding: 15px 10px;
    }

    .kb-grid-wrapper {
        grid-template-columns: 1fr;
        padding: 10px 0;
        gap: 15px;
    }

    .kb-card {
        padding: 15px;
    }

    .kb-card h2 {
        font-size: 18px;
    }

    .kb-card p {
        font-size: 14px;
    }
}

/* Small Mobile (up to 480px) */
@media screen and (max-width: 480px) {
    .kb-category-title {
        font-size: 16px;
        padding: 8px 12px;
    }

    .kb-category-posts a {
        font-size: 14px;
        padding: 8px;
    }

    .kb-sidebar h3 {
        font-size: 16px;
    }

    .kb-category-title span {
        font-size: 14px;
    }

    .kb-grid {
        gap: 16px;
    }

    .kb-container {
        border-radius: 6px !important;
    }

    .kb-card {
        padding: 12px;
        border-radius: 8px;
    }

    .kb-card h2 {
        font-size: 16px;
    }

    .kb-card p {
        font-size: 13px;
    }
}

/* sticky css kb start */
@media (min-width: 1024px) { /* adjust breakpoint as needed */
  .kb-sidebar {
    position: sticky;
    top: 115px; /* distance from top of viewport */
    align-self: start; /* prevents stretching in grid */
    height: fit-content; /* so it doesn’t take full column height */
  }
}
/* sticky css kb end */

.kb-sidebar li > a{
	font-size:15px !important;
}