/* assets/css/frontend.css */

.cjm-job-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 20px 0;
}

@media (max-width: 1024px) {
    .cjm-job-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .cjm-job-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.cjm-job-card {
    display: flex;
}

.cjm-job-card-inner {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.cjm-job-card-inner:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);
}

.cjm-job-logo {
    width: 180px;
    height: 94px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.cjm-job-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cjm-job-logo-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 24px;
    font-weight: 600;
}

.cjm-job-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.cjm-job-company {
    font-size: 15px;
    color: #6c757d;
    margin: 0 0 12px 0;
}

.cjm-job-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: #495057;
    margin: 0 0 20px 0;
}

.cjm-pin-icon {
    color: #dc3545;
    flex-shrink: 0;
}

.cjm-job-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #56C1F3 0%, #56C0C0 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-top: auto;
    text-align: center;
}

.cjm-job-button:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateX(2px);
    color: #ffffff !important;
}

.cjm-job-button svg {
    transition: transform 0.2s ease;
}

.cjm-job-button:hover svg {
    transform: translateX(4px);
}

.cjm-no-jobs-frontend {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    color: #6c757d;
}