.me2-department-grid {
    --me2-dep-max-cols: 4;
    --me2-dep-min-col: 240px;
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(var(--me2-dep-max-cols), minmax(min(100%, var(--me2-dep-min-col)), 1fr));
}

.me2-department-card {
    display: block;
    color: inherit;
    text-decoration: none;
    border-radius: 10px;
    background: #e9edf4;
    min-height: 240px;
}

.me2-department-card__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
}

.me2-department-card__title {
    margin: 0;
    font-size: 30px;
    line-height: 1.25;
    color: #20242f;
    word-break: break-word;
}

.me2-department-card__description {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: #667085;
}

.me2-department-card__footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.me2-department-card__image {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
    display: inline-block;
}

.me2-department-card__icon {
    font-size: 26px;
    width: 26px;
    height: 26px;
    color: #58b985;
}

.me2-department-card__arrow {
    font-size: 24px;
    line-height: 1;
    color: #8d8f94;
}

.me2-department-empty {
    margin: 0;
    font-weight: 600;
}

.me2-department-load-more-wrap {
    margin-top: 20px;
    text-align: center;
}

.me2-department-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    background: #1f66c2;
    color: #ffffff;
}

.me2-department-load-more__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.me2-department-load-more__icon i {
    font-size: 14px;
}

.me2-department-load-more__icon svg {
    width: 14px;
    height: 14px;
}
