.dcl-search-wrapper {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    background: #f9f9f9; /* Light background to distinguish */
    border-bottom: 1px solid #ccc; /* Separate the search box visually */
}

.dcl-search-box {
    width: 100%; /* Adjust width considering padding */
    padding: 10px;
    margin: 0;
    border: 1px solid #ccc;
    box-sizing: border-box;
    border-radius: 4px; /* Add some rounded corners */
}

.category-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start; /* Ensure items align at the start */
    margin: 0 -10px;
    min-height: 400px;
}

.category-card {
    margin: 10px;
    padding: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    flex: 1 1 350px; /* Set a fixed width */
    box-sizing: border-box;
    background-color: #fff;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column; /* Ensure the card content stacks vertically */
    align-items: flex-start; /* Align the card content at the start */
}

.category-card:hover {
    background-color: #e9e9e9;
}


.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc; /* Divider line */
    padding-bottom: 10px; /* Adjust padding for spacing */
    width: 80%;
}


.card-category-title {
    font-size: 20px !important;
    font-family: 'Manrope', sans-serif !important;
    color: #00234F !important;
    margin-left: 10px;
    margin-bottom: 0 !important;
}

.card-category-image {
    height: 30px;
    width: auto;
}

.category-posts {
    list-style-type: none;
    padding: 0;
    margin: 10px 0 0 0;
    text-align: left;
    width: 100%;
}

.category-posts li {
    margin: 5px 0;
}

.category-posts li a {
    text-decoration: none;
    color: #007bff;
    display: flex;
    align-items: center;
}

.category-posts li a:hover {
    text-decoration: underline;
}

.category-posts li a i {
    margin-right: 5px;
}

.dcl-container {
    display: flex;
    position: relative;
}

.dcl-sidebar {
    width: 350px;
    color: #3F5876;
    font-family: "Roboto", Sans-serif;
    padding: 10px 15px;
    font-weight: 600;
    border-right: 8px;
}

.dcl-content {
    flex: 1;
    padding: 20px;
    position: relative;
    min-height: 1000px;
    border: 1px solid #eaeaea;
    border-radius: 0 8px;
}

.dcl-category-title {
    cursor: pointer;
    margin: 0 !important;
    padding: 10px;
    display: flex;
    align-items: center;
    
    font-size: 22px !important;
    color: #3F5876 !important;
    transition: background 0.3s, transform 0.3s;
}

.dcl-category-title img{
    margin-right: 7px;
}

.dcl-category-title:hover {
    background: #e9e9e9;
}

.dcl-category-title::after {
    content: '>';
    font-size: 14px;
    transition: transform 0.3s;
}

.dcl-category.active .dcl-category-title::after {
    transform: rotate(90deg);
}

.dcl-articles {
    list-style-type: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    max-height: 0;
    opacity: 0;
}

.dcl-category.active .dcl-articles {
    max-height: 1000px;
    opacity: 1;
}


.dcl-articles li {
    padding: 5px 10px;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
}

.dcl-articles li a {
    text-decoration: none;
    color: #566E8B;
    display: flex;
    align-items: center;
    font-size: 14px;
    transition: color 0.3s;
    font-weight: 400;
}

.article-link li a {
    font-size: 15px;
    color: #566E8B;

}

.article-link li a:hover {
    color: #528fff;

}

.dcl-articles li a.active {
    color: #007bff;
    font-weight: bold;
}

.dcl-articles li a i{
   margin-right: 7px;
}

.dcl-articles li a:focus {
    color: #528FFF;
    outline: none;
}

.dcl-articles li a:hover {
    color: #00234F;
}

.dcl-articles li .icon-file {
    margin-right: 5px;
    font-size: 14px;
}

.loading-dcl {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: #555;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1000;
}

.spinner-dcl {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #000;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.dcl-breadcrumb {
    margin-bottom: 10px;
    font-size: 14px;
}

.dcl-breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.dcl-breadcrumb a:hover {
    text-decoration: underline;
}

.dcl-breadcrumb span {
    color: #555;
}

@media (max-width: 768px) {
    .category-card {
        flex: 1 1 calc(50% - 20px); /* Adjust width for smaller screens */
    }
    .dcl-sidebar {
        display: none;
    }
}

@media (max-width: 480px) {
    .category-card {
        flex: 1 1 100%; /* Adjust width for mobile screens */
    }
}

.dcl-nav-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.dcl-nav-container a {
    text-decoration: none;
    color: #007bff;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.dcl-nav-container a:hover {
    color: #0056b3;
}

.dcl-nav-container .prev-link i,
.nav-container .next-link i {
    margin: 0 5px;
}

.dcl-search-box-hidden {
    display: none !important;
}