﻿/* Container styling */
.jobs #whr_embed_hook {
    margin: 20px 0;
}

/* Group headings */
.jobs .whr-group {
    background-color: #006870; /* deep blue header */
    color: #fff;
    padding: 8px 12px;
    margin-top: 20px;
    font-size: 1.2em;
    border-radius: 6px 6px 0 0;
}

/* Reset UL */
.jobs .whr-items {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 0 0 6px 6px;
    overflow: hidden;
}

/* Each job row */
.jobs .whr-item {
    display: grid;
    /*grid-template-columns: 2fr 1fr 1fr 1fr;*/ /* title, code, location, date */
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    align-items: center;
}

    /* Last item no border */
    .jobs .whr-item:last-child {
        border-bottom: none;
    }

/* Job title */
.jobs .whr-title {
    font-size: 20px; /* Added font size */
}

    .jobs .whr-title a {
        color: #004080;
        font-weight: bold;
        text-decoration: none;
    }

        .jobs .whr-title a:hover {
            text-decoration: underline;
        }

/* Info list inside job row */
.jobs .whr-info {
    display: contents; /* flatten li into the grid */
}

    /* Each info cell */
    .jobs .whr-info li {
        font-size: 0.9em;
        color: #555;
        margin: 0;
        list-style: none;
    }

/* Alternate row background */
.jobs .whr-item:nth-child(even) {
    background-color: #f9f9f9;
}

/* Responsive: stack columns on small screens */
@media (max-width: 768px) {
    .jobs .whr-item {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .jobs .whr-info {
        display: block;
        margin-top: 6px;
    }

        .jobs .whr-info li {
            margin: 2px 0;
        }
}