/* === Общие стили === */
.work-list {
    padding: 20px;
    background: #f5f7fa;
    width: 100%;
    box-sizing: border-box;
}

.work-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    min-height: auto;
}

.work-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #c53d3d, #da4645);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.work-item-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

/* Верхняя часть - одна строка с левым выравниванием */
.work-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.work-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 0;
}

.work-text-title {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    word-break: break-word;
}

.work-text-category {
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.work-experience {
    font-size: 14px;
    font-weight: 400;
    color: #666;
}

.work-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.work-salary {
    text-align: right;
    min-width: 120px;
}

.work-text-head-zp {
    font-weight: 100;
    color: #da4544;
    font-size: 18px;
    line-height: 1.2;
}

.work-text-head-zp span {
    font-weight: 700;
	font-size: 24px;
}

.work-btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(to right, #c53d3d, #da4645);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    text-align: center;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    white-space: nowrap;
    min-width: 135px;
}

.work-btn:hover {
    background: linear-gradient(to right, #a83232, #c53d3d);
    color: #fff;
    transform: translateY(-2px);
}

/* Блоки деталей - обязанности, предложения, ожидания */
.work-details {
	display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start}

.work-description,
.work-we-offer,
.work-requirements {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
	width:30%
}

.work-description strong,
.work-we-offer strong,
.work-requirements strong {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #333;
    font-size: 16px;
}

/* === Стили для компаний === */
.vacancies-stalko,
.vacancies-iplana,
.vacancies-iplana-pro {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Стили для Сталко ИПЛ - синие оттенки */
.vacancies-stalko .work-item::before {
    background: #1a7fbe;
}

.vacancies-stalko .work-text-head-zp {
    color: #1a7fbe;
}

.vacancies-stalko .work-btn {
    background: #1a7fbe;
}

.vacancies-stalko .work-btn:hover {
    background: linear-gradient(to right, #1565c0, #1e88e5);
}

/* Мобильная адаптивность */
@media (max-width: 767px) {
    .work-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .work-right {
        align-self: stretch;
        justify-content: space-between;
        width: 100%;
        flex-direction: row;
		align-items: normal;
    }
    
    .work-salary {
        text-align: left;
        min-width: auto;
        flex: 1;
    }
    
    .work-btn {
        width: auto;
        min-width: 120px;
    }
    
    .work-text-title {
        font-size: 18px;
    }
    
    .work-text-head-zp {
        font-size: 18px;
    }
    
    .work-item-content {
        gap: 15px;
        padding: 15px;
    }
    
    .work-details {
        gap: 12px;
    }
    
    .work-description strong,
    .work-we-offer strong,
    .work-requirements strong {
        font-size: 14px;
        margin-bottom: 6px;
    }
	.work-description,
	.work-we-offer,
	.work-requirements {
		width:100%
}	
}

@media (max-width: 480px) {
    .work-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .work-right {
        flex-direction: column;
        gap: 10px;
    }
    
    .work-salary {
        width: 100%;
    }
}