/* Container chính */
.recruitment-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Style cho mỗi item tuyển dụng */
.recruitment-item {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 20px;
    transition: transform 0.2s ease;
}

.recruitment-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Header của item */
.recruitment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.recruitment-title {
    margin: 0;
    font-size: 1.25rem;
    flex: 1;
}

.recruitment-title a {
    color: #dd9933;
    text-decoration: none;
    transition: color 0.2s ease;
}

.recruitment-title a:hover {
    color: #b17a29;
}

.recruitment-date {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-left: 15px;
}

/* Deadline */
.recruitment-deadline {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Content và Read More */
.recruitment-content {
    color: #34495e;
    line-height: 1.6;
}

.recruitment-content.collapsed {
    max-height: 0px;
    overflow: hidden;
    position: relative;
/* 	box-shadow: inset 0 -10px 10px -5px rgba(0, 0, 0, 0.1); */
}

.read-more-btn {
    display: inline-block;

    background: #dd9933;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem !important;
    transition: background 0.2s ease;
    cursor: pointer;
    border: none;
	margin: 0 !important;
	line-height: .9rem;
	text-transform: uppercase;
	font-weight: normal;
}

.read-more-btn:hover, .read-more-btn:hover a {
    background: #b17a29;
	color: #fff;
}

/* Pagination */
.pagination {
    margin-top: 30px;
    text-align: center;
}

.page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-numbers.current {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.page-numbers:hover:not(.current) {
    background: #f5f5f5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .recruitment-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .recruitment-date {
        margin-left: 0;
        margin-top: 5px;
    }

    .recruitment-title {
        font-size: 1.1rem;
    }
}

/* Thêm style cho nội dung được format */
.recruitment-content {
    color: #333;
    line-height: 1.8;
}

.recruitment-content p {
    margin-bottom: 15px;
}

.recruitment-content ul,
.recruitment-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.recruitment-content ul li,
.recruitment-content ol li {
    margin-bottom: 8px;
}

.recruitment-content h2,
.recruitment-content h3,
.recruitment-content h4 {
    margin: 25px 0 15px;
    color: #2c3e50;
}

.recruitment-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.recruitment-content table th,
.recruitment-content table td {
    padding: 10px;
    border: 1px solid #ddd;
}

.recruitment-content table th {
    background: #f5f5f5;
}

/* Style cho blockquote nếu có */
.recruitment-content blockquote {
    border-left: 4px solid #3498db;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #666;
}

/* Style cho các liên kết trong nội dung */
.recruitment-content a {
    color: #3498db;
    text-decoration: none;
}

.recruitment-content a:hover {
    text-decoration: underline;
}

/* Style cho hình ảnh nếu có */
.recruitment-content img {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
    border-radius: 4px;
}