/* Hero Section */
.hero-section {
    background-image: url(/images/back_1.jpg);
    background-color: var(--primary-color);
    background-repeat: no-repeat;
    background-position: 100% 0%;
    background-size: cover;
    color: white;
    padding: 1rem;
    text-align: left;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-section .container {
    margin: 1rem auto;
    position: relative;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: min(800px, 90vw);
    width: 100%;
    margin: 1rem 0 5rem 0;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3rem);
    margin: 4rem 0 1rem 0;
    font-weight: 700;
    line-height: 1.2;
    word-wrap: break-word;
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
    word-wrap: break-word;
}

/* Hero Promo Text */
.hero-promo {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0;
}

.hero-promo-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.9rem, 2vw, 1rem);
    margin-right: 0.5rem;
    font-weight: 500;
}

.hero-promo-link {
    color: white;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    display: inline-block;
}

.hero-promo-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .hero-promo {
        bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .hero-promo-link {
        padding: 0.4rem 0.8rem;
        display: block;
        margin-top: 0.3rem;
    }
}

@media (max-width: 480px) {
    .hero-promo {
        bottom: 1rem;
    }
    
    .hero-promo-text {
        display: block;
        margin-bottom: 0.3rem;
    }
}

/* Features Section */
.features-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: var(--background);
    width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 1rem;
    margin: 3rem 0;
    width: 100%;
}

.feature-card {
    background: var(--card-bg);
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 3vw, 1.5rem);
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--border-color);
    justify-content: flex-start;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 54, 93, 0.03), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: 0.5rem;
    display: block;
    transition: transform 0.3s ease;
}

.feature-icon img {
    width: 80px;
    height: 80px;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    margin-bottom: 1rem;
    color: var(--secondary-color);
    line-height: 1.3;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: clamp(0.75rem, 2vw, 1rem);
    word-wrap: break-word;
    margin: 0;
}

/* Vacancies Sections */
.latest-vacancies,
.popular-vacancies {
    padding: clamp(3rem, 6vw, 5rem) 0;
    width: 100%;
}

.latest-vacancies {
    background: var(--card-bg);
}

.popular-vacancies {
    background: var(--background);
}

.section-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    position: relative;
    line-height: 1.2;
    font-weight: 700;
}

.section-title::after {
    content: '';
    display: block;
    width: min(80px, 20vw);
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 1rem auto;
    border-radius: 2px;
}

/* Vacancies Grid - Улучшенный дизайн */
.vacancies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
    margin-bottom: 3rem;
    width: 100%;
}

.vacancies-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}

.vacancy-card {
    background: white;
    border-radius: 16px;
    padding: clamp(1.75rem, 4vw, 2.5rem);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.vacancy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26, 54, 93, 0.03), transparent);
    transition: left 0.5s ease;
}

.vacancy-card:hover::before {
    left: 100%;
}

.vacancy-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-light);
}

.vacancy-card.compact {
    padding: clamp(1.5rem, 3vw, 2rem);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.vacancy-card.compact:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
}

.vacancy-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

@media (min-width: 480px) {
    .vacancy-header {
        align-items: flex-start;
    }
}

.vacancy-title {
    font-size: clamp(1.2rem, 3vw, 1.4rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0;
    line-height: 1.3;
    word-wrap: break-word;
    /*flex: 1;*/
}

.vacancy-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.vacancy-title a:hover {
    color: var(--primary-color);
}

/* Department Tag - Улучшенный дизайн */
.department-tag {
    background: #d69e2e;
    color: white;
    padding: 0.6rem 1.3rem;
    border-radius: 25px;
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.department-tag:hover {
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.vacancy-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
    width: 100%;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: clamp(0.9rem, 2vw, 1rem);
    flex-wrap: wrap;
}

.info-item .icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    opacity: 0.8;
}

.info-item span strong {
    font-size: 1.2rem;
}

.vacancy-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .hero-section {
        background-position: 82% 50%;
    }
    
    .vacancy-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .vacancy-actions .btn {
        width: 100%;
        text-align: center;
    }
}

.favorite-btn {
    padding: 0.75rem;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    background: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: var(--text-secondary);
}

.favorite-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
    color: white;
    transform: scale(1.1);
}

.favorite-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.vacancy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    align-items: center;
}

.vacancy-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    color: var(--text-secondary);
}

/* Departments Section */
.departments-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: var(--card-bg);
    width: 100%;
}

/* Departments Grid - Улучшенный дизайн */
.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    width: 100%;
}

/* Department Card - Полностью переработанный дизайн */
.department-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-color);
}

.department-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: height 0.3s ease;
}

.department-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.03) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.department-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-light);
}

.department-card:hover::before {
    height: 6px;
}

.department-card:hover::after {
    opacity: 1;
}

.department-card h3 {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    margin-bottom: 1rem;
    color: var(--secondary-color);
    line-height: 1.3;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.department-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    word-wrap: break-word;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

/* Department Link - Улучшенный дизайн */
.department-link {
    background: #d69e2e;
    color: white !important;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    min-height: 48px;
}

.department-link:hover {
    transform: translateY(-3px);
    color: white !important;
    text-decoration: none;
}

.vacancy-count {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-color), #ecc94b);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(214, 158, 46, 0.3);
    position: relative;
    z-index: 2;
    min-height: 44px;
}

.department-card:hover .vacancy-count {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(214, 158, 46, 0.4);
}

/* Department Card Link */
.department-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 20px;
    overflow: hidden;
}

.department-card-link:hover {
    transform: none;
    text-decoration: none;
    color: inherit;
}

.department-card-link:hover .department-card {
    transform: translateY(-8px) scale(1.02);
}

/* Compact cards meta */
.vacancy-card.compact .vacancy-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.vacancy-card.compact .vacancy-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.vacancy-card.compact .vacancy-meta span strong {
    font-size: 1.1rem;
}

.vacancy-card.compact .department-link {
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    min-height: 36px;
    margin: 0.5rem 0;
}

/* Section Actions */
.section-actions {
    text-align: center;
    margin-top: 3rem;
}

.section-actions .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.2);
    transition: all 0.3s ease;
}

.section-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.3);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: clamp(3rem, 6vw, 5rem) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: min(600px, 90vw);
    margin: 0 auto;
    width: 100%;
}

.cta-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    word-wrap: break-word;
}

.cta-text {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
    word-wrap: break-word;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .cta-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

/* Stats Section */
.stats-section {
    padding: clamp(2rem, 4vw, 3rem) 0;
    background: var(--background);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: clamp(1rem, 2vw, 2rem);
    text-align: center;
}

.stat-card {
    padding: 2rem 1rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--text-secondary);
    font-weight: 500;
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 8px;
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 1.5rem;
    margin-bottom: 1rem;
    width: 70%;
}

.skeleton-btn {
    height: 2.5rem;
    width: 120px;
    border-radius: 25px;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Animation utilities */
.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

.stagger-item {
    animation: fadeInUp 0.6s ease-out;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
    .feature-card,
    .vacancy-card,
    .department-card,
    .department-link,
    .department-tag {
        transition: none;
    }
    
    .fade-in,
    .slide-up,
    .stagger-item {
        animation: none;
    }
}

/* Focus styles for accessibility */
.feature-card:focus-within,
.vacancy-card:focus-within,
.department-card:focus-within {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.btn:focus,
.department-link:focus,
.department-tag:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .department-card,
    .vacancy-card,
    .feature-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .department-link,
    .department-tag,
    .favorite-btn {
        display: none;
    }
}

/* Promo Stats Section */
.promo-stats-section {
    padding: clamp(2rem, 4vw, 3rem) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid var(--border-color);
    width: 100%;
}

.promo-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    width: 100%;
}

.promo-stat-card {
    background: white;
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.promo-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: height 0.3s ease;
}

.promo-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-light);
}

.promo-stat-card:hover::before {
    height: 6px;
}

.promo-stat-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    padding: 0.75rem;
}

.promo-stat-icon img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.promo-stat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.promo-stat-amount {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
}

.promo-stat-title {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 0.5rem;
    font-weight: 500;
    flex: 1;
    word-wrap: break-word;
}

.promo-stat-period {
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    color: var(--text-secondary);
    font-weight: 500;
    background: var(--background);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    margin-top: auto;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .promo-stats-section {
        padding: 1.5rem 0;
    }
    
    .promo-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .promo-stat-card {
        padding: 1.25rem 1rem;
    }
    
    .promo-stat-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 0.75rem;
    }
    
    .promo-stat-icon img {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .promo-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .promo-stat-card {
        padding: 1rem 0.75rem;
    }
    
    .promo-stat-amount {
        font-size: 1.3rem;
    }
    
    .promo-stat-title {
        font-size: 0.8rem;
    }
}

/* Стили для изображений подразделений в списке */
.department-image {
    margin-bottom: 20px;
}

.department-thumbnail {
    width: 100%;
    max-width: 100px;
    height: 100px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.department-card-link:hover .department-thumbnail {
    transform: scale(1.05);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .department-thumbnail {
        max-width: 80px;
        height: 80px;
    }
}