/*
 Theme Name: GeneratePress Child
 Theme URI: https://generatepress.com
 Description: Child theme for AlertJob.in
 Author: AlertJob
 Template: generatepress
 Version: 1.0
*/

/* ========== ALERTJOB – HOME / LIST PAGE JOB CARDS ========== */

.ajp-job-wrapper {
    margin: 15px 0 40px;
}

/* Grid – responsive like ITIJobPortal */
.ajp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

/* Card base */
.ajp-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    padding: 18px 22px 16px;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ajp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
    border-color: #0ea5e9;
}

/* Header (company + post) */
.ajp-header {
    text-align: center;
    margin-bottom: 10px;
}

.ajp-company {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    color: #0052cc;
    /* company name blue */
}

.ajp-position {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

/* Meta list – bullets जैसा feel */
.ajp-meta {
    list-style: none;
    margin: 8px 0 14px;
    padding: 0;
    font-size: 13px;
}

.ajp-meta li {
    margin-bottom: 4px;
    position: relative;
    padding-left: 10px;
}

.ajp-meta li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #0ea5e9;
    font-weight: 700;
}

/* Label + value same line */
.ajp-label {
    font-weight: 700;
    color: #111827;
    margin-right: 3px;
}

.ajp-value {
    color: #374151;
}

/* Footer buttons – ONLY Apply + Share */
.ajp-footer {
    margin-top: auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ajp-btn {
    flex: 1 1 auto;
    text-align: center;
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.08s ease, box-shadow 0.2s ease;
}

/* Apply – blue, white text */
.ajp-btn-apply {
    background: #0d6efd;
    color: #ffffff !important;
}

.ajp-btn-apply:hover {
    background: #0b5cd6;
}

/* Share – yellow/orange, black text (ITI style) */
.ajp-btn-share {
    background: #ffb020;
    color: #000000 !important;
}

.ajp-btn-share:hover {
    background: #e19b11;
}

/* No jobs text */
.ajp-no-jobs {
    font-size: 15px;
    padding: 10px 0;
}

/* Mobile tweaks */
@media (max-width: 600px) {
    .ajp-grid {
        gap: 18px;
    }

    .ajp-card {
        padding: 14px 14px 12px;
        border-radius: 16px;
    }

    .ajp-company {
        font-size: 16px;
    }

    .ajp-meta {
        font-size: 12.5px;
    }

    .ajp-btn {
        font-size: 12px;
        padding: 7px 9px;
    }
}