/* Job Listings Styles - aligned with meeting card look & responsiveness */

.job-listings-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px 0;
}

.job-card {
    background-color: #f7f8f9;
    border: 1px solid #25435f;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.job-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.job-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1e5e9;
}

.job-department-icon-wrap {
    flex: 0 0 auto;
    margin-right: 12px;
}

.job-department-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.job-card-title-wrap {
    flex: 1 1 auto;
}

.job-title {
    font-size: 1.125rem;
    margin: 0;
    color: #25435f;
    font-weight: bold;
}

.job-department-names {
    font-size: 0.875rem;
    color: #555555;
    margin-top: 4px;
}

.job-short-description {
    margin-top: 10px;
    font-size: 0.875rem;
    color: #222222;
    min-height: 40px;
}

.job-short-description p {
    margin: 4px 0;
}

.job-attachment {
    margin-top: 15px;
}

.job-attachment-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    background-color: #d6ebff;
    color: black;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.job-attachment-link:hover,
.job-attachment-link:focus {
    text-decoration: none;
    background-color: #a2d2ff;
    color: black;
}

.job-attachment-link:focus {
    outline: 2px solid #25435f;
    outline-offset: 2px;
}

.job-pdf-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    object-fit: contain;
    flex-shrink: 0;
}

.job-listings-empty {
    text-align: center;
    font-style: italic;
    color: #666;
    padding: 40px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin: 20px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .job-card {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .job-card-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .job-department-icon-wrap {
        margin-right: 0;
    }
}

