/* AIFGE Job Detail – Directories Pro custom display */

.aifge-job-detail {
    max-width: 800px;
    margin: 0 auto;
    font-family: inherit;
}

/* ── Apply bar ── */
.aifge-job-apply-bar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.aifge-job-apply-bar-bottom {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.aifge-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.aifge-btn-apply {
    background: #e8792b;
    color: #fff;
    border: 2px solid #e8792b;
}

.aifge-btn-apply:hover {
    background: #d06820;
    border-color: #d06820;
    color: #fff;
    text-decoration: none;
}

.aifge-btn-outline {
    background: transparent;
    color: #374151;
    border: 2px solid #d1d5db;
}

.aifge-btn-outline:hover {
    border-color: #e8792b;
    color: #e8792b;
    text-decoration: none;
}

/* ── Key info grid ── */
.aifge-job-meta {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    padding: 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 24px;
}

.aifge-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.aifge-meta-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
}

.aifge-meta-item span:last-child,
.aifge-meta-item a {
    font-size: 14px;
    color: #1f2937;
    font-weight: 500;
}

.aifge-meta-item a {
    color: #e8792b;
    text-decoration: none;
}

.aifge-meta-item a:hover {
    text-decoration: underline;
}

/* ── AI use case tags ── */
.aifge-job-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.aifge-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #eef2ff;
    color: #4338ca;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ── Summary ── */
.aifge-job-summary {
    background: #fffbeb;
    border-left: 4px solid #e8792b;
    padding: 16px 20px;
    margin-bottom: 24px;
    border-radius: 0 8px 8px 0;
}

.aifge-job-summary p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #92400e;
}

/* ── Full description ── */
.aifge-job-content {
    line-height: 1.7;
    color: #374151;
}

.aifge-job-content h2,
.aifge-job-content h3 {
    margin-top: 28px;
    margin-bottom: 12px;
    color: #1f2937;
}

.aifge-job-content ul {
    padding-left: 20px;
}

.aifge-job-content li {
    margin-bottom: 6px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .aifge-job-meta {
        grid-template-columns: 1fr 1fr;
    }

    .aifge-job-apply-bar {
        flex-direction: column;
    }

    .aifge-btn {
        justify-content: center;
        width: 100%;
    }
}
