#experience {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2.5rem;
}

/* One experience, laid out like a resume entry: dates on the left, details on the right */
.expCard {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.5rem 2rem;
    width: calc(100% - 12px); /* leaves room for the offset shadow */
    padding: clamp(1rem, 2.5vw, 1.75rem);
    text-align: left;
    background: #0D1A2A;
    border: 1px solid #317AC1;
    border-left: 4px solid #00bfff;
    box-shadow: #317AC1 6px 6px 1px;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.expCard:hover {
    transform: translateY(-2px);
    border-color: #6a6abb;
    border-left-color: #00bfff;
    box-shadow: #317AC1 10px 10px 1px;
}

/* Left column: dates, place, contract type */
.expAside {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .4rem;
    padding-right: 1.5rem;
    border-right: 1px solid rgba(49, 122, 193, .4);
}
.expAside p {
    margin: 0;
    text-align: left;
}
.expDates {
    font-weight: 700;
    color: #00bfff;
}
.expPlace {
    color: #c2bdbd;
    font-size: .9rem;
}
.expType {
    margin-top: .4rem;
    padding: .2rem .6rem;
    font-size: .85rem;
    color: #cfe6ff;
    background: #1A1A2E;
    border: 1px solid #317AC1;
    box-shadow: #317AC1 2px 2px 1px;
}

/* Right column: role, company, summary, tasks, tech */
.expBody {
    min-width: 0;
}
.expRole {
    margin: 0;
    font-size: 1.25rem;
    color: #ffffff;
}
.expCompany {
    margin: .2rem 0 .8rem;
    text-align: left;
    font-family: 'Kumar One';
    color: #00bfff;
}
.expSummary {
    margin: 0 0 .8rem;
    text-align: left;
    color: #c2bdbd;
    line-height: 1.55;
}
.expTasks {
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .45rem;
}
.expTasks li {
    position: relative;
    padding-left: 1.2rem;
    color: #cfe1f8;
    line-height: 1.55;
}
.expTasks li::before {
    content: "◆";
    position: absolute;
    left: 0;
    top: .1em;
    font-size: .7rem;
    color: #00bfff;
}
.expBody .techTools {
    justify-content: flex-start;
}

@media (max-width: 800px) {
    .expCard {
        grid-template-columns: 1fr;
    }
    .expAside {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: .4rem 1rem;
        padding: 0 0 1rem;
        border-right: none;
        border-bottom: 1px solid rgba(49, 122, 193, .4);
    }
    .expType {
        margin-top: 0;
    }
}
