/* =========================
   Career Accordion Wrapper
========================= */

.career-accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: "DM Sans", sans-serif;
}

@media (min-width: 1024px) {
    .career-accordion {
        gap: 20px;
    }
}

/* =========================
   Career Item
========================= */

.career-item {
    border: 1px solid #d5dfff;
    border-radius: 8px;
    background-color: #ffffff;
    overflow: hidden;
}

/* =========================
   Summary / Header
========================= */

.career-summary {
    list-style: none;
    cursor: pointer;
}

.career-summary::-webkit-details-marker {
    display: none;
}

.career-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background-color: #fafbff;
}

.career-title {
    font-size: 15px;
    font-weight: 600;
    color: #1D1E20;
}

/* =========================
   Arrow
========================= */

.career-arrow {
    width: 8px;
    height: 8px;
    border-right: 2px solid #555;
    border-bottom: 2px solid #555;
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}

.career-item[open] .career-arrow {
    transform: rotate(-135deg);
}

/* =========================
   Divider when open
========================= */

.career-item[open] .career-header {
    border-bottom: 1px solid #d5dfff;
}

/* =========================
   Body
========================= */

.career-body {
    padding: 24px 28px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.career-inner-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    margin-top: 18px;
    color: #1D1E20;
}

.career-body p {
    margin-bottom: 12px;
}

/* =========================
   Career Apply Button
========================= */

.career-body .manage-button a {
    color: #673DE6;
    transition: color 0.25s ease;
}

.career-body .manage-button a:hover {
    color: #5025D1;
}

/* =========================
   iOS tap highlight fix
========================= */
.career-summary {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.career-summary:focus {
    outline: none;
}

.career-summary * {
    -webkit-tap-highlight-color: transparent;
}

.career-item {
    -webkit-tap-highlight-color: transparent;
    background-color: #fff;
}