/* Opportunities page: shares ../style.css with the application form. */
.list-view { padding-block: clamp(32px, 6vw, 80px) clamp(48px, 7vw, 96px); }
.hero { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.kicker { margin-bottom: 10px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--coral-dark); }
html[lang=fa] .kicker { letter-spacing: 0; font-size: 15px; }
.hero h1, .role-intro h1 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; line-height: 1.08; letter-spacing: -.04em; overflow-wrap: break-word; }
html[lang=fa] .hero h1, html[lang=fa] .role-intro h1 { font-weight: 800; line-height: 1.4; letter-spacing: 0; }
.hero .lead { white-space: normal; }

.roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.role-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: 0 18px 44px -32px rgba(56, 0, 56, .3); transition: border-color .15s, transform .15s; }
.role-card:hover { border-color: var(--coral); transform: translateY(-2px); }
.role-card h2 { font-size: 21px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.role-card p { color: #4d3550; font-size: 15px; overflow-wrap: anywhere; }
.role-card .btn { margin-top: auto; width: auto; align-self: flex-start; min-height: 44px; padding: 8px 20px; font-size: 15px; }
.role-card .btn::after { content: '→'; }
html[dir=rtl] .role-card .btn::after { content: '←'; }

.meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.meta li { padding: 3px 12px; border-radius: 100px; background: var(--mist); color: var(--ink); font-size: 13px; font-weight: 600; }
html[lang=fa] .meta li { font-size: 14px; }
.meta li.deadline { background: #fff3d6; color: #6b4400; }
.role-intro .meta { margin-top: 16px; }

.back { display: inline-block; margin-bottom: 18px; font-size: 14px; font-weight: 600; color: var(--coral-dark); }
.back::before { content: '← '; }
html[dir=rtl] .back::before { content: '→ '; }
.back:hover { text-decoration: underline; }
.description { margin-top: 18px; font-size: 15.5px; color: #3b2440; white-space: pre-line; overflow-wrap: anywhere; }
.description:empty { display: none; }
.form-title { margin-bottom: 6px; font-size: 22px; font-weight: 700; }

.empty-roles { grid-column: 1 / -1; padding: clamp(28px, 5vw, 56px); border: 1.5px dashed var(--field); border-radius: 24px; text-align: center; color: var(--smoke); }
.empty-roles h2 { margin-bottom: 8px; color: var(--ink); font-size: 22px; }
.loading { max-width: 1100px; margin: 64px auto; }
/* Descriptions can be long, so the role column scrolls with the page. */
.role-intro { position: static; }
