/* Careers page specific styles. Hero, feature cards, and CTA styles
   come from assets/css/marketing-components.css (.eh-* classes); this
   file only styles the Open Roles list. */

.careers-roles-container {
    max-width: 760px;
}

.careers-roles-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.careers-role-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background-color: white;
    border: 1px solid #EEEEEE;
    border-radius: 12px;
    padding: 28px 32px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.careers-role-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: #43A047;
    text-decoration: none;
}

.careers-role-card h3 {
    font-size: 1.3rem;
    color: #1B1B1B;
    font-weight: 600;
    margin: 0;
}

.careers-role-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #43A047;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Nudge the arrow, not the flex gap - transform stays on the compositor */
.careers-role-link svg {
    transition: transform 0.2s ease;
}

.careers-role-card:hover .careers-role-link svg {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .careers-role-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 24px;
    }
}
