/* Careers: disciplines, open roles and role pages. */

.discipline-list { display: grid; gap: 14px; }
.discipline-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--background); }
.discipline-list__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--accent-foreground); }
.discipline-list h3 { font-size: var(--text-lg); font-weight: var(--weight-heading); }
.discipline-list p { margin-top: 4px; font-size: var(--text-base); line-height: 1.6; color: var(--muted-foreground); }

.role-list { display: grid; gap: 14px; }
.role-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--background); }
.role-card h3 { font-size: var(--text-xl); font-weight: var(--weight-heading); }
.role-card h3 a:hover { color: var(--primary); }
.role-card p { margin-top: 6px; max-width: 70ch; line-height: 1.6; color: var(--muted-foreground); }
.role-card .role-card__meta { display: flex; align-items: center; gap: 6px; font-size: var(--text-sm); font-weight: 600; color: var(--teal); }
.role-card .btn { flex-shrink: 0; }

.roles-empty { display: flex; align-items: center; gap: 22px; padding: 28px; border: 1px dashed var(--border); border-radius: var(--radius-lg); }
.roles-empty__icon { display: grid; place-items: center; flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--accent-foreground); }
.roles-empty h3 { font-size: var(--text-xl); font-weight: var(--weight-heading); }
.roles-empty p { margin-top: 6px; max-width: 70ch; line-height: 1.6; color: var(--muted-foreground); }

.open-application { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.open-application .btn { margin-top: 0; }

/* About: the link to Careers. */
.join-band { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; margin-top: 0; }
.join-band > div { flex: 1 1 360px; }
.join-band h2 { font-family: var(--font-display); font-size: var(--display-sm); font-weight: var(--weight-display, 700); }
.join-band__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--accent-foreground); }
.join-band .btn { margin-top: 0; }

.role-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 24px; font-size: var(--text-sm); font-weight: 600; color: var(--muted-foreground); }
.role-facts li { display: flex; align-items: center; gap: 8px; }
.role-facts .icon { color: var(--teal); }

@media (max-width: 720px) {
  .role-card { flex-direction: column; align-items: flex-start; padding: 20px; }
  .roles-empty { flex-direction: column; align-items: flex-start; padding: 22px; }
}
