/* Careers pages — layout only; colours come from theme tokens (css/theme.css). */
.cr-hero { padding-bottom: 0; }
.cr-hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.cr-hero .sd-h1 { font-size: 52px; }
.cr-photo { position: relative; margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--sd-border); background: var(--t-thumb); }
.cr-photo img { width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; display: block; }
.cr-photo-chip { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 100px; background: var(--t-glass-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--sd-border-h); font-size: 13.5px; font-weight: 600; color: var(--sd-text); }
.cr-photo-chip i { width: 8px; height: 8px; border-radius: 50%; background: #24C76A; box-shadow: 0 0 0 4px var(--sd-green-t); flex-shrink: 0; }
.cr-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border-top: 1px solid var(--sd-border); }
.cr-stats > div { padding: 32px 20px; text-align: center; }
.cr-stats > div + div { border-right: 1px solid var(--sd-border); }
.cr-stats b { display: block; font-size: 40px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.cr-stats em { font-style: normal; color: var(--sd-green-text); }
.cr-stats small { display: block; margin-top: 8px; font-size: 14px; color: var(--sd-muted); }

.cr-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.cr-filter button { font: inherit; font-size: 13px; padding: 8px 16px; border-radius: 100px; border: 1px solid var(--sd-border-h); background: transparent; color: var(--sd-muted); cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.cr-filter button:hover { color: var(--sd-text); border-color: var(--t-faint-3); }
.cr-filter button.on { background: var(--sd-green); border-color: var(--sd-green); color: #0A0A0A; font-weight: 600; }
.cr-filter button b { font-weight: 700; opacity: .7; margin-right: 4px; }
.cr-jobs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.cr-jobs > li[hidden] { display: none; }
.cr-job { display: flex; align-items: center; gap: 22px; background: var(--sd-surface); border: 1px solid var(--sd-border); border-radius: 16px; padding: 24px 28px; text-decoration: none; color: var(--sd-text); transition: border-color .2s ease, transform .25s var(--sd-ease); }
.cr-job:hover { border-color: var(--sd-green-b); transform: translateY(-2px); }
.cr-job > .sd-icon { flex-shrink: 0; }
.cr-job-main { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cr-job-dept { font-size: 12px; font-weight: 600; color: var(--sd-green-text); }
.cr-job-main b { font-size: 20px; font-weight: 700; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; line-height: 1.5; }
.cr-job-sum { font-size: 14.5px; color: var(--sd-muted); line-height: 1.9; max-width: 640px; }
.cr-job-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.cr-job-meta span, .cr-chips li { font-size: 12px; color: var(--sd-muted); border: 1px solid var(--sd-border-h); border-radius: 100px; padding: 3px 12px; }
.cr-job-go { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.cr-job-go small { font-size: 12px; color: var(--sd-muted); }
.cr-job-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 10px; border: 1px solid var(--sd-border-h); font-size: 13.5px; font-weight: 600; transition: background .2s, border-color .2s, color .2s; }
.cr-job-cta svg { width: 15px; height: 15px; }
.cr-job:hover .cr-job-cta { background: var(--sd-green); border-color: var(--sd-green); color: #0A0A0A; }
.cr-urgent, .cr-urgent-chip { font-style: normal; font-size: 11px; font-weight: 700; color: #0A0A0A; background: var(--sd-green); border-radius: 100px; padding: 1px 10px; }
.cr-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; background: var(--sd-surface); border: 1px dashed var(--sd-border-h); border-radius: 16px; padding: 32px; color: var(--sd-muted); line-height: 2; }
.cr-empty p { margin: 0; max-width: 640px; }
.cr-general { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--sd-green-t); border: 1px solid var(--sd-green-b); border-radius: 16px; padding: 24px 28px; }
.cr-general b { display: block; font-size: 16px; margin-bottom: 4px; }
.cr-general span { font-size: 14px; color: var(--sd-muted); }
.cr-note { font-size: 13px; color: var(--sd-muted); padding: 24px 0 40px; line-height: 2; }
.cr-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.cr-detail { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.cr-block { margin-bottom: 36px; }
.cr-block p { font-size: 16px; line-height: 2.1; color: var(--sd-muted); margin-bottom: 14px; }
.cr-block h2 { margin-bottom: 16px; }
.cr-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cr-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 2; color: var(--sd-text); }
.cr-proc { padding-right: 22px; display: flex; flex-direction: column; gap: 8px; color: var(--sd-muted); line-height: 2; }
.cr-aside { position: sticky; top: 110px; }
.cr-apply { border: 1px solid var(--sd-border); border-radius: 18px; padding: 24px; background: var(--sd-bg); display: flex; flex-direction: column; gap: 14px; }
.cr-apply b { font-size: 17px; }
.cr-apply p { font-size: 14px; line-height: 2; color: var(--sd-muted); margin: 0; }
.cr-facts { list-style: none; margin: 6px 0 0; padding: 14px 0 0; border-top: 1px solid var(--sd-border); display: flex; flex-direction: column; gap: 10px; }
.cr-facts li { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.cr-facts small { color: var(--sd-muted); }
.cr-closed { background: var(--sd-bg); border: 1px solid #f59e0b; border-radius: 12px; padding: 14px 18px; margin-bottom: 28px; font-size: 14px; }
@media (max-width: 900px) { .cr-detail { grid-template-columns: 1fr; gap: 28px; } .cr-aside { position: static; order: -1; } }

.cr-values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cr-values .sd-card { padding: 26px 22px; }
.cr-values .sd-card p { font-size: 14px; line-height: 1.95; color: var(--sd-muted); margin: 0; }
.cr-values .sd-card-num { top: 22px; left: 22px; }
.cr-about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.cr-about .sd-sub { max-width: none; font-size: 17px; line-height: 2.1; margin: 0; }
.cr-more { display: flex; flex-wrap: wrap; gap: 24px; margin: 24px 0 0; }
@media (max-width: 1100px) { .cr-values { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1024px) { .cr-hero-grid { grid-template-columns: 1fr; gap: 32px; } .cr-hero .sd-h1 { font-size: 40px; } .cr-about { grid-template-columns: 1fr; gap: 20px; } }
@media (max-width: 768px) {
  .cr-hero .sd-h1 { font-size: 34px; }
  .cr-stats { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
  .cr-stats > div:nth-child(3) { border-right: 0; }
  .cr-stats > div:nth-child(n+3) { border-top: 1px solid var(--sd-border); }
  .cr-stats b { font-size: 32px; }
  .cr-job { flex-wrap: wrap; padding: 20px; gap: 14px; }
  .cr-job-main { flex-basis: calc(100% - 78px); }
  .cr-job-go { flex-direction: row; justify-content: space-between; align-items: center; width: 100%; }
  .cr-values { grid-template-columns: 1fr; }
}

/* On-site application form */
.cr-apply-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.cr-apply-points { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.cr-apply-points li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--sd-body); }
.cr-apply-points svg { width: 18px; height: 18px; color: var(--sd-green-text); flex-shrink: 0; }
.cr-form-card { background: var(--sd-surface); border: 1px solid var(--sd-border); border-radius: 16px; padding: 32px; }
.cr-section-alt .cr-form-card { background: var(--sd-bg); }
.sd-section--alt .cr-form-card { background: var(--sd-bg); }
.cr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cr-full { grid-column: 1 / -1; }
.cr-f { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cr-f > span { font-size: 13px; font-weight: 500; color: var(--sd-body); }
.cr-f > span small { color: var(--sd-muted); font-weight: 400; }
.cr-f i { color: var(--sd-green-text); font-style: normal; }
.cr-f input:not([type=file]), .cr-f select, .cr-f textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--sd-border-h); background: var(--t-field); color: var(--sd-text); font: 400 14.5px 'IRANSansX', sans-serif; transition: border-color .15s; }
.cr-f textarea { resize: none; line-height: 1.8; }
.cr-f input:focus, .cr-f select:focus, .cr-f textarea:focus { outline: 0; border-color: var(--sd-green); }
.cr-f select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: 14px center; padding-left: 36px; }
.cr-file { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1.5px dashed var(--sd-border-h); border-radius: 12px; background: var(--t-field); cursor: pointer; transition: border-color .15s, background .15s; }
.cr-file:hover, .cr-file.has { border-color: var(--sd-green); }
.cr-file input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.cr-file-ic { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--sd-green-t); color: var(--sd-green-text); flex-shrink: 0; }
.cr-file-ic svg { width: 20px; height: 20px; }
.cr-file-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cr-file-txt b { font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-file-txt small { font-size: 12px; color: var(--sd-muted); }
.cr-submit { width: 100%; margin-top: 24px; justify-content: center; }
.cr-submit:disabled { opacity: .6; cursor: default; }
.cr-error { min-height: 20px; margin: 12px 0 0; font-size: 13px; text-align: center; color: #e05555; }
.cr-success { text-align: center; padding: 28px 0; }
.cr-success[hidden] { display: none; }
.cr-success .sd-icon { margin: 0 auto 16px; }
.cr-success p { margin: 8px auto 0; max-width: 420px; font-size: 15px; line-height: 1.9; color: var(--sd-muted); }
@media (max-width: 1024px) { .cr-apply-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 640px) { .cr-grid { grid-template-columns: 1fr; } .cr-form-card { padding: 22px 18px; } }
