/* ==============================
   Reed Jobs - Modern Styles
   ============================== */

ul.job-meta > li {
    list-style-type: none;
}   

.job-apply-btn {
    display: inline-block;
    background-color: #121B26;
    color: #ffffff;
    padding: 8px 16px;
    margin-top: 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.job-apply-btn:hover {
    color: #fff; 
}

/* Job posted info */
.job-posted {
    margin-bottom: 10px;
}

/* Job Meta List */
.job-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: block; /* each li is on a new line */
}

/* Each li on new line */
.job-meta li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

/* Circular Icon Style */
.job-meta li i {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000c4;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    flex-shrink: 0;
}

/* =========================================
   Wrapper Grid (Dynamic Column Layout)
   ========================================= */
.jobs-wrapper {
    display: grid;
    gap: 20px;
    padding: 20px 0;
}

/* 1 Column Layout */
.jobs-wrapper.layout-one {
    grid-template-columns: 1fr;
}

/* 2 Columns Layout */
.jobs-wrapper.layout-two {
    grid-template-columns: repeat(2, 1fr);
}

/* 3 Columns Layout */
.jobs-wrapper.layout-three {
    grid-template-columns: repeat(3, 1fr);
}

/* =========================================
   Job Card Styles
   ========================================= */
.job-card {
    border-left: 3px solid #d7d7d7;
    border-radius: 8px;
    background: #fff;
    padding: 16px;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.job-card:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-left: 3px solid #121C27;
}

/* Job title */
.job-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.job-card-title a {
    text-decoration: none;
    color: #121B26;
    transition: color 0.2s ease;
}

.job-card-title a:hover {
    color: #005177;
}

/* Job description */
.job-card-description {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.4;
}

/* =========================================
   Responsive Adjustments
   ========================================= */
@media (max-width: 1024px) {
    .jobs-wrapper.layout-three {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .jobs-wrapper.layout-two,
    .jobs-wrapper.layout-three {
        grid-template-columns: 1fr;
    }
}
