.site-main {
    padding: 50px;
}

.dep-title {
    width: 100%;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    padding: 20px;
}

.dep-menus {
    width: 100%;
    text-align: center;
    overflow-x: auto; /* Make the div horizontally scrollable */
    padding-bottom: 10px; /* Ensure there's some padding at the bottom */
    white-space: nowrap; /* Prevent the items from wrapping to the next line */
}

.dep-menus-list {
    list-style: none;
    padding: 0;
    margin: 0; /* Remove auto margin */
    display: inline-flex; /* Use inline-flex to allow scrolling */
    flex-direction: row;
    justify-content: flex-start; /* Align items to the start */
}

.dep-menus-list li {
    text-align: center;
    margin: 0 10px;
    overflow: hidden;
    flex: 0 0 auto; /* Prevent flex items from shrinking */
}

.dep-menus-list li a {
    display: block;
    text-decoration: none;
    color: #333;
}

.dep-menu-icon {
    width: 7rem; /* Adjust icon size as needed */
    height: 7rem;
    border: 1px solid #456c85;
    border-radius: 50%;
    padding: 1rem;
}

.dep-menu-icon:hover {
    border-color: #1D2F3B;
    background-image: linear-gradient(#1D2F3B, #456c85);
}

.ic-active {
    border-color: #1D2F3B;
    background-image: linear-gradient(#1D2F3B, #456c85);
}

.dep-menus-list li img {
    width: 5rem; /* Adjust icon size as needed */
    height: 5rem;
    display: block;
    margin: 0 auto; /* Center the image */
    border-radius: 50%;
    background-color: #fff;
}

.dep-menus-list li span {
    display: block;
    font-size: 9px;
    color: #000;
    margin-top: 5px;
}

.dep-page {
    margin-top: 0px;
}

/* Media query for mobile view */
@media (max-width: 768px) {
    .dep-menu-icon {
        width: 7rem; /* Adjust icon size for mobile view */
        height: 7rem;
    }
    .site-main {
        padding: 20px;
    }
    .dep-menus-list li img {
        width: 5rem; /* Adjust icon size for mobile view */
        height: 5rem;
    }
}
