/* portfolio.css - Light, modern card-based portfolio */
body {
    background: #555555;
    font-family: Arial, sans-serif;
    color: #ffe417;
    margin: 0;
    padding: 0;
}

/* Ensure main content is pushed below the fixed header */
.portfolio-main {
    margin-top: 150px;
}

.portfolio-header {
    text-align: center;
    margin: 2em 0 1em 0;
}

/* Stack job cards vertically and make them wider */
.portfolio-container {
    max-width: 900px;
    margin: 0 auto;
}
.job-list {
    display: flex;
    flex-direction: column;
    gap: 2.2em;
}
.job-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(60,72,88,0.08);
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 15px auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}
.job-card:hover {
    box-shadow: 0 4px 24px rgba(60,72,88,0.16);
}
.job-cover {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #eaeaea;
}
.job-summary {
    padding: 18px 20px 12px 20px;
    font-size: 1.08rem;
    color: #444;
}
.job-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1a2a3a;
}
.job-expand {
    background: none;
    border: none;
    color: #3a7bd5;
    font-size: 1rem;
    cursor: pointer;
    margin: 0 0 12px 20px;
    text-align: left;
    padding: 0;
}
.job-details {
    display: none;
    padding: 0 20px 18px 20px;
    border-top: 1px solid #f0f0f0;
    font-size: 0.98rem;
    color: #333;
    background: #fafbfc;
}
.job-card.expanded .job-details {
    display: block;
}
.job-card.expanded .job-expand::after {
    content: "▲";
    margin-left: 8px;
    font-size: 0.9em;
}
.job-expand::after {
    content: "▼";
    margin-left: 8px;
    font-size: 0.9em;
}

@media (max-width: 700px) {
    .job-list {
        flex-direction: column;
        gap: 18px;
    }
    .job-card {
        width: 100%;
    }
}
