.card-link + .card-link {
    margin-left:0!important;
}
        :root {
            --nsmu-primary: #004899;
            --nsmu-secondary: #00B0E0;
            --nsmu-primary-dark: #1F2144;
            --nsmu-grey: #595B61;
            --nsmu-blue-1: #2267B0;
            --nsmu-blue-2: #56A1D9;
            --nsmu-blue-3: #ABDDF6;
            --nsmu-light-blue-1: #55C3EA;
            --nsmu-light-blue-2: #8DD2F1;
            --nsmu-light-blue-3: #CEEAFA;
            --nsmu-dark-blue-1: #29397A;
            --nsmu-dark-blue-2: #5D8BC8;
            --nsmu-dark-blue-3: #9AC4EA;
            --nsmu-grey-1: #686B74;
            --nsmu-grey-2: #858B96;
            --nsmu-grey-3: #C3CCD9;
            --nsmu-accent-blue: #4DBED0;
            --nsmu-accent-orange: #E74315;
            --nsmu-accent-red: #C21F21;
            --nsmu-accent-yellow: #F3A602;
            --nsmu-accent-green: #06938f;
            --nsmu-accent-pink: #bb286e;
            --nsmu-accent-violet: #7f4393;
        }

        .header-info {
            background: linear-gradient(135deg, var(--nsmu-primary) 0%, var(--nsmu-blue-2) 100%);
            color: white;
            border-radius: 10px;
            padding: 25px;
            margin-bottom: 40px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .header-info h2 {
            font-weight: 700;
            margin-bottom: 20px;
            color: white;
        }
        
        .department-card {
            border: none;
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s ease;
            height: 100%;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            background: white;
        }
        
        .department-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
			cursor:pointer;
        }
        
        .card-icon {
            font-size: 3rem;
            margin-bottom: 15px;
            text-align: center;
        }
        
        .card-title {
            font-weight: 700;
            font-size: 1.3rem;
            margin-bottom: 20px;
            text-align: center;
            color: var(--nsmu-primary-dark);
            min-height: 3.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .card-links {
            display: flex;
            flex-direction: column;
            gap: 12px;
            width: 100%;
        }
        
        .card-link {
            display: block;
            padding: 12px 15px;
            background-color: var(--nsmu-light-blue-3);
            color: var(--nsmu-primary-dark);
            text-decoration: none;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s ease;
            font-size: 0.95rem;
            text-align: center;
            border-left: 4px solid transparent;
            width: 100%;
            word-wrap: break-word;
        }
        
        .card-link:hover {
            background-color: var(--nsmu-blue-2);
            color: white;
            text-decoration: none;
        }

        .contact-item {
            margin-bottom: 10px;
            font-size: 1.1rem;
        }
        
        .contact-item i {
            width: 24px;
            color: var(--nsmu-light-blue-2);
            margin-right: 10px;
        }
        
        .department-header {
            background: linear-gradient(135deg, var(--nsmu-primary) 0%, var(--nsmu-secondary) 100%);
            color: white;
            padding: 30px 0;
            margin-bottom: 40px;
            border-radius: 0 0 15px 15px;
        }
        
        .department-header h1 {
            font-weight: 700;
            font-size: 2.5rem;
        }
        
        .department-header p {
            font-size: 1.2rem;
            opacity: 0.9;
        }
        
        .container-fluid {
            max-width: 1400px;
        }
        
        /* Обеспечиваем одинаковую высоту всех карточек */
        .card-body {
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .card-links {
            flex-grow: 1;
            justify-content: flex-start;
        }
        
        /* Выравнивание всех ссылок по высоте */
        .card-link {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 50px;
        }
        
        /* Для карточек с малым количеством ссылок */
        .card-links:has(.card-link:only-child) {
            justify-content: center;
        }
        
        @media (max-width: 768px) {
            .department-header h1 {
                font-size: 2rem;
            }
            
            .header-info {
                padding: 20px;
            }
            
            .card-title {
                font-size: 1.2rem;
                min-height: auto;
            }
            
            .card-link {
                padding: 10px 12px;
                font-size: 0.9rem;
            }
        }