/* =====================================================
   AIFGE – Job Listing Summary Card
   Loaded automatically by Directories Pro alongside
   directory__listing-display_summary-jobs.html.php
   ===================================================== */

.aifge-card {
    position: relative;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-left: 4px solid #e8792b;
    border-radius: 6px;
    padding: 0;
    transition: box-shadow 0.18s ease, border-left-color 0.18s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.aifge-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    border-left-color: #c9611a;
}

/* Invisible full-card clickable overlay */
.aifge-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.aifge-card-body {
    padding: 16px 18px 12px;
    flex: 1;
}

/* Title */
.aifge-card-title {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
}

.aifge-card-title a {
    color: #1a1a2e;
    text-decoration: none;
    position: relative;
    z-index: 2;
}

.aifge-card-title a:hover {
    color: #e8792b;
}

/* Employer */
.aifge-card-employer {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 10px;
    font-weight: 500;
}

/* Meta row */
.aifge-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.aifge-card-meta-item {
    font-size: 0.8rem;
    color: #666;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.aifge-card-location svg {
    flex-shrink: 0;
    color: #999;
}

/* Pills */
.aifge-card-pill {
    display: inline-block;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.aifge-pill-type {
    background: #f0f4ff;
    color: #3355aa;
}

.aifge-pill-arrangement {
    background: #f0faf4;
    color: #2a7a4f;
}

.aifge-pill-seniority {
    background: #f7f0ff;
    color: #6633aa;
}

/* Salary */
.aifge-card-salary {
    font-size: 0.82rem;
    color: #2a7a4f;
    font-weight: 600;
    margin-bottom: 10px;
}

/* AI Use Case tags */
.aifge-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 4px;
}

.aifge-card-tag {
    display: inline-block;
    font-size: 0.72rem;
    padding: 2px 8px;
    background: #fff3eb;
    color: #b85a10;
    border-radius: 20px;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* Footer */
.aifge-card-footer {
    padding: 8px 18px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}

.aifge-card-date {
    font-size: 0.75rem;
    color: #999;
}
