.tm-career {
    max-width: 1060px;
    margin-block: clamp(28px, 5vw, 62px);
    overflow-wrap: anywhere;
}

.tm-career-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 22px;
}

.tm-career h1 {
    margin: 0 0 8px;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.16;
}

.tm-career-heading p {
    margin: 0;
    color: #4e685c;
}

.tm-career-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    margin: 0 0 20px;
    border-bottom: 1px solid #d8e5dd;
}

.tm-career-tabs a {
    color: #345347;
    padding: 10px 12px;
}

.tm-career-tabs [aria-current="page"] {
    border-bottom: 3px solid #285c49;
    font-weight: 700;
}

.tm-career-search {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: end;
    padding: 18px;
    background: #f2f7f2;
    border: 1px solid #dce8de;
    border-radius: 14px;
}

.tm-career-results {
    display: grid;
    gap: 12px;
    margin-block: 20px;
}

.tm-career-card h2 {
    font-size: clamp(19px, 3vw, 23px);
}

.tm-career-card h2:first-child {
    margin-top: 0;
}

.tm-career-card p:last-child {
    margin-bottom: 0;
}

.tm-career-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    list-style: none;
    padding: 0 !important;
    font-size: 14px;
}

.tm-career-meta li {
    padding: 3px 9px;
    border-radius: 6px;
    color: #345347;
    background: #ecf4ec;
}

.tm-career-detail, .tm-career-form, .tm-career-remove {
    max-width: 760px;
    margin-top: 16px;
}

.tm-career-detail h2 {
    margin-top: 24px;
    font-size: 22px;
}

.tm-career-body {
    white-space: pre-wrap;
    line-height: 1.65;
}

.tm-career-actions {
    margin-top: 20px;
}

.tm-career-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    min-width: 0;
}

.tm-career-salary {
    margin: 0;
    padding: 8px 0 0;
    border: 0;
}

.tm-career-salary legend {
    font-weight: 600;
}

.tm-career-remove summary {
    width: fit-content;
    cursor: pointer;
    color: #703b33;
    text-decoration: underline;
}

.tm-career-company {
    margin: 28px 0;
    padding: clamp(16px, 3vw, 24px);
    border: 1px solid #dce8de;
    border-radius: 14px;
    background: #f2f7f2;
    overflow-wrap: anywhere;
}

.tm-career-company header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.tm-career-company h2 {
    margin: 0;
}

.tm-career-company ul {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.tm-career-company li {
    display: grid;
    gap: 4px;
    padding: 10px 0;
    border-top: 1px solid #dce8de;
}

.tm-career-company li span {
    color: #4e685c;
}

@media (max-width: 760px) {
    .tm-career-search {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .tm-career-search, .tm-career-fields {
        grid-template-columns: minmax(0, 1fr);
    }
}
