/* Job Cards Red Brand Enhancement */

/* Main Job Card Container */
.single-jobs {
    border: 1px solid rgba(220, 38, 38, 0.2);
    padding: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.single-jobs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #dc2626 0%, #b91c1c 50%, #991b1b 100%);
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.single-jobs:hover::before {
    transform: scaleY(1);
}

.single-jobs:hover {
    border-color: rgba(220, 38, 38, 0.4);
    box-shadow: 
        0 8px 24px rgba(220, 38, 38, 0.15),
        0 0 0 1px rgba(220, 38, 38, 0.1);
    transform: translateY(-4px);
}

/* Job Title */
.single-jobs-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    margin: -5px 0 0;
    transition: all 0.3s ease;
    word-break: break-word;
}

.single-jobs-title a {
    color: #1f2937;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.single-jobs-title a:hover {
    color: #dc2626;
    text-decoration: none;
}

.single-jobs:hover .single-jobs-title a {
    color: #dc2626;
}

/* Job Date */
.single-jobs-date {
    font-size: 14px;
    color: #6b7280;
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.single-jobs-date span {
    display: inline-block;
    padding: 4px 10px;
    background: #ffffff;
    color: #dc2626;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

/* Job Price */
.single-jobs-price {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    margin: 16px 0;
    color: #dc2626;
    display: flex;
    align-items: baseline;
    gap: 8px;
    transition: all 0.3s ease;
}

.single-jobs:hover .single-jobs-price {
    transform: scale(1.05);
    color: #b91c1c;
}

.single-jobs-price-fixed {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    background: rgba(220, 38, 38, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

/* Job Description */
.single-jobs-para {
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
    margin: 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Job Tags */
.single-jobs-tag {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.single-jobs-tag-link {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #dc2626;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.single-jobs-tag-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.1), transparent);
    transition: left 0.5s ease;
}

.single-jobs-tag-link:hover::before {
    left: 100%;
}

.single-jobs-tag-link:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.single-jobs-tag-link:active {
    transform: translateY(0);
}

/* Slick Carousel Enhancements */
.slick-slide .single-jobs {
    margin: 0 8px;
}

.slick-slide.slick-active .single-jobs {
    opacity: 1;
}

.slick-slide:not(.slick-active) .single-jobs {
    opacity: 0.7;
}

/* Card Hover Effects */
.single-jobs::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.single-jobs:hover::after {
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .single-jobs {
        padding: 20px;
    }
    
    .single-jobs-price {
        font-size: 24px;
    }
    
    .single-jobs-title {
        font-size: 18px;
    }
    
    .single-jobs-tag-link {
        font-size: 12px;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .single-jobs {
        padding: 16px;
    }
    
    .single-jobs-price {
        font-size: 22px;
    }
    
    .single-jobs-title {
        font-size: 16px;
        line-height: 24px;
    }
}

/* Animation for card entrance */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slick-slide.slick-active .single-jobs {
    animation: slideInUp 0.5s ease-out;
}

