/* Careers page: job cards, filters, apply form. Uses the brief form styles (brief.css) for inputs and buttons. */
.cr-page .bf-wrap { max-width: 920px; }
.cr-lead { max-width: 620px; margin: 12px 0 0; color: #555; font-size: 16px; line-height: 1.7; }
.cr-list-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin: 10px 0 16px; }
.cr-list-head h2 { margin: 0; font-size: 22px; text-transform: none; letter-spacing: 0; color: #0C1D32; }
.cr-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.cr-filters button { display: inline-flex; gap: 6px; align-items: center; padding: 7px 14px; border: 1px solid #ddd; border-radius: 30px; background: #fff;
	color: #444; font-size: 13px; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.cr-filters button b { font-weight: 700; color: #aaa; }
.cr-filters button:hover { border-color: #007AAD; }
.cr-filters button.is-on { background: #0C1D32; border-color: #0C1D32; color: #fff; }
.cr-filters button.is-on b { color: #007AAD; }

.cr-job { background: #fff; border-radius: 12px; margin-bottom: 12px; box-shadow: 0 4px 18px rgba(0, 0, 0, .05); border: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.cr-job:hover, .cr-job.is-open { border-color: #f3c3bc; box-shadow: 0 10px 30px rgba(0, 0, 0, .07); }
.cr-job-head { position: relative; display: block; width: 100%; padding: 20px 56px 20px 22px; border: 0; background: none; text-align: start; cursor: pointer; }
#brief[dir="rtl"] .cr-job-head { padding: 20px 22px 20px 56px; }
.cr-job-head h3 { margin: 8px 0 6px; font-size: 19px; line-height: 1.3; text-transform: none; letter-spacing: 0; color: #0C1D32; }
.cr-sum { margin: 0; color: #666; font-size: 14px; line-height: 1.6; }
.cr-tag { display: inline-block; padding: 3px 10px; border-radius: 20px; background: #E6F1F7; color: #00658F; font-size: 12px; font-weight: 700; }
.cr-more { position: absolute; top: 50%; right: 20px; margin-top: -16px; display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center;
	border-radius: 50%; background: #f5f5f5; color: #0C1D32; font-size: 16px; transition: transform .25s cubic-bezier(.2, .8, .2, 1), background-color .2s; }
#brief[dir="rtl"] .cr-more { right: auto; left: 20px; }
.cr-job.is-open .cr-more { transform: rotate(180deg); background: #007AAD; color: #fff; }
.cr-job-body { padding: 0 22px 22px; border-top: 1px solid #f1f1f1; animation: bfIn .3s cubic-bezier(.2, .8, .2, 1); }
.cr-details { padding-top: 16px; color: #444; font-size: 15px; line-height: 1.7; text-align: left; }
.cr-details h4 { margin: 14px 0 6px; font-size: 15px; text-transform: none; letter-spacing: 0; color: #0C1D32; }
.cr-details ul { margin: 0 0 10px; padding-left: 20px; }
.cr-details li { margin-bottom: 4px; }
.cr-job-body .bf-btn { margin-top: 14px; }

.cr-general { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 18px; padding: 22px; border: 2px dashed #e3e3e3; border-radius: 12px; }
.cr-general h3 { margin: 0 0 4px; font-size: 18px; text-transform: none; letter-spacing: 0; color: #0C1D32; }
.cr-general p { margin: 0; color: #666; font-size: 14px; }

.cr-form { margin-top: 10px; }
.cr-form-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.cr-form-head h2 { margin: 6px 0 0; font-size: 24px; text-transform: none; letter-spacing: 0; color: #0C1D32; }
.cr-close { border: 0; background: #f3f3f3; width: 36px; height: 36px; border-radius: 50%; font-size: 22px; line-height: 1; color: #555; cursor: pointer; }
.bf-wrap select { width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: 8px; background: #fff; font: inherit; font-size: 15px; color: #0C1D32; height: auto; }
.cr-form .bf-done-icon { margin: 0 auto 6px; }
.cr-job[hidden] { display: none !important; }
@media (max-width: 767px) { .cr-list-head { flex-direction: column; align-items: flex-start; } .cr-job-head h3 { font-size: 17px; } }
/* Arabic page: English job titles line up with the Arabic tag; the summary hides when the job is open (the details repeat it) */
#brief[dir="rtl"] .cr-job-head h3, #brief[dir="rtl"] .cr-sum { text-align: right; }
.cr-job.is-open .cr-sum { display: none; }
