/**
 * MK Job Extension Styles
 * 
 * Minimal styles that inherit from theme defaults
 * Theme can override these styles easily
 */

/* Grid Container - Production classes added */
.mk-featured-jobs-grid {
    margin: 1.5em 0;
    clear: both;
}

/* Grid Columns - Responsive (Production classes: col-11 col-md-6 col-lg-4) */
.mk-featured-jobs-grid .mk-job-col {
    margin-bottom: 1.5em;
}

.mk-featured-jobs-grid .mk-job-col-full {
    width: 100%;
}

/* Job Item Card - Inherits theme card styles */
.mk-job-item {
    background: inherit;
    border: 1px solid currentColor;
    border-color: rgba(0, 0, 0, 0.1);
    border-radius: inherit;
    padding: 1.5em;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.mk-job-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Title - Production class: h4 mb-1 */
.mk-job-item .mk-job-title {
    margin: 0 0 0.25em 0;
    font-size: 1.125em;
    line-height: 1.4;
    font-weight: 700;
}

.mk-job-item .mk-job-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mk-job-item .mk-job-title a:hover,
.mk-job-item .mk-job-title a:focus {
    color: inherit;
    opacity: 0.8;
    text-decoration: underline;
}

/* Company Name */
.mk-job-item .mk-job-company {
    color: inherit;
    font-size: inherit;
    line-height: 1.5;
    margin-bottom: 0.5em;
    opacity: 0.8;
}

/* Location */
.mk-job-item .mk-job-location {
    color: inherit;
    font-size: inherit;
    line-height: 1.5;
    margin-bottom: 0.5em;
    opacity: 0.8;
}

/* Excerpt - Inherits theme text styles */
.mk-job-item .mk-job-excerpt {
    color: inherit;
    font-size: inherit;
    line-height: 1.6;
    margin-bottom: 1em;
    flex-grow: 1;
    opacity: 0.8;
}

/* Salary - Production classes: text-brightpurple fw-bold mt-1 */
.mk-job-item .mk-job-salary {
    margin-top: 0.25em;
    margin-bottom: 1em;
    font-size: inherit;
    font-weight: 700;
}

/* Action Button - Production classes: btn btn-secondary */
.mk-job-item .mk-job-action {
    margin-top: auto;
    padding-top: 1em;
}

.mk-job-item .mk-view-job-btn {
    display: inline-block;
    padding: 0.75em 1.5em;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
    line-height: 1.5;
}


.mk-job-item .mk-view-job-btn:hover,
.mk-job-item .mk-view-job-btn:focus {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


/* No jobs message */
.mk-featured-jobs-grid .mk-job-col-full p {
    margin: 0;
    padding: 2em;
    text-align: center;
    color: inherit;
    opacity: 0.7;
}

/* Production class support: job-card */
.job-card {
    /* Inherits from .mk-job-item, can be overridden by theme */
}

/* Production class support: text-brightpurple */
.text-brightpurple {
    color: #9b59b6; /* Fallback purple color */
}

/* Production class support: Bootstrap utility classes */
.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mt-1 {
    margin-top: 0.25rem !important;
}

.fw-bold {
    font-weight: 700 !important;
}
