/**
 * Careers page — page-careers.php.
 * Source: src/pages/Careers.jsx + src/components/careers/*.jsx.
 */

/* ===== Hero — bespoke, not qff_page_hero(): Careers needs Apply Now / View
   Roles anchor buttons instead of the default phone/WhatsApp pair, and no
   trust row (showTrust=false in source). Reuses .qff-page-hero* classes so
   it stays pixel-consistent with every other page's hero. ===== */
.qff-careers-hero__actions { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .qff-careers-hero__actions { flex-direction: row; } }

/* ===== HiringAreas.jsx ===== */
.qff-careers-areas { background: var(--qff-offwhite); padding: 3rem 0; scroll-margin-top: var(--qff-header-height); }
@media (min-width: 640px) { .qff-careers-areas { padding: 4rem 0; } }
.qff-careers-areas__title { font-family: var(--qff-font-display); font-weight: 600; color: var(--qff-charcoal); font-size: 22px; letter-spacing: -0.01em; }
@media (min-width: 640px) { .qff-careers-areas__title { font-size: 30px; } }
.qff-careers-areas__grid { margin-top: 1.5rem; display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .qff-careers-areas__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .qff-careers-areas__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.qff-careers-areas__card { height: 100%; display: flex; align-items: flex-start; gap: 0.875rem; background: #fff; border: 1px solid var(--qff-navy-10); border-radius: var(--qff-radius-sm); padding: 1.25rem; }
.qff-careers-areas__icon { margin-top: 0.125rem; flex-shrink: 0; display: flex; height: 2.5rem; width: 2.5rem; align-items: center; justify-content: center; border-radius: var(--qff-radius-sm); background: var(--qff-offwhite); border: 1px solid var(--qff-navy-10); color: var(--qff-navy); }
.qff-careers-areas__icon svg { width: 1.125rem; height: 1.125rem; }
.qff-careers-areas__name { display: block; font-family: var(--qff-font-display); font-weight: 600; font-size: 16px; color: var(--qff-charcoal); letter-spacing: -0.01em; }
.qff-careers-areas__note { margin-top: 0.125rem; display: block; font-size: 13.5px; color: var(--qff-charcoal-60); line-height: 1.6; }

/* ===== ApplicationForm.jsx ===== */
.qff-careers-apply { background: #fff; padding: 3.5rem 0; scroll-margin-top: var(--qff-header-height); }
@media (min-width: 640px) { .qff-careers-apply { padding: 5rem 0; } }
.qff-careers-apply__inner { max-width: 42rem; margin: 0 auto; }
.qff-careers-apply__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--qff-action); margin-bottom: 0.75rem; }
.qff-careers-apply__title { font-family: var(--qff-font-display); font-weight: 600; color: var(--qff-charcoal); font-size: 24px; letter-spacing: -0.01em; }
@media (min-width: 640px) { .qff-careers-apply__title { font-size: 36px; } }
.qff-careers-apply__intro { margin-top: 0.75rem; font-size: 14.5px; color: var(--qff-charcoal-65); line-height: 1.7; }
@media (min-width: 640px) { .qff-careers-apply__intro { font-size: 15.5px; } }

.qff-careers-form { margin-top: 2rem; }
.qff-careers-form fieldset { border: none; padding: 0; margin: 0 0 2.25rem; }
.qff-careers-form fieldset:last-of-type { margin-bottom: 0; }
.qff-careers-form legend { padding: 0; font-family: var(--qff-font-display); font-weight: 600; font-size: 17px; color: var(--qff-charcoal); letter-spacing: -0.01em; margin-bottom: 1.25rem; }
.qff-careers-form__row { margin-bottom: 1.25rem; }
.qff-careers-form__row:last-child { margin-bottom: 0; }
.qff-careers-form__grid { display: grid; gap: 1.25rem; margin-bottom: 1.25rem; }
@media (min-width: 640px) { .qff-careers-form__grid { grid-template-columns: 1fr 1fr; } }
.qff-careers-form__grid .qff-careers-form__row { margin-bottom: 0; }

.qff-careers-submit-note { margin-top: 0.75rem; font-size: 12.5px; color: var(--qff-charcoal-50); line-height: 1.6; }

/* ===== CvUpload.jsx ===== */
.qff-careers-cv[hidden] { display: none; }
.qff-careers-cv__picker {
	width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.625rem;
	min-height: 64px; padding: 1.25rem 1rem;
	background: #fff; border: 1px dashed var(--qff-navy-25); border-radius: var(--qff-radius-sm);
	font-size: 14.5px; font-weight: 600; color: var(--qff-navy); cursor: pointer;
}
.qff-careers-cv__picker:hover { border-color: var(--qff-navy); }
.qff-careers-cv__picker:disabled { opacity: 0.6; cursor: not-allowed; }
.qff-careers-cv__picker svg { width: 18px; height: 18px; flex-shrink: 0; }
.qff-careers-cv__picker[hidden] { display: none; }
.qff-careers-cv__file { display: flex; align-items: center; gap: 0.75rem; border: 1px solid var(--qff-navy-15); background: var(--qff-offwhite); border-radius: var(--qff-radius-sm); padding: 0.875rem 1rem; }
.qff-careers-cv__file[hidden] { display: none; }
.qff-careers-cv__file svg { width: 1.25rem; height: 1.25rem; color: var(--qff-navy); flex-shrink: 0; }
.qff-careers-cv__file-name { min-width: 0; flex: 1; font-size: 14px; font-weight: 500; color: var(--qff-charcoal); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qff-careers-cv__remove { flex-shrink: 0; display: inline-flex; align-items: center; gap: 0.375rem; font-size: 13px; font-weight: 600; color: var(--qff-charcoal-60); background: none; border: none; cursor: pointer; min-height: 44px; padding: 0 0.25rem; }
.qff-careers-cv__remove:hover { color: var(--qff-action); }
.qff-careers-cv__remove svg { width: 1rem; height: 1rem; }
.qff-careers-cv__hint { margin-top: 0.5rem; font-size: 12.5px; color: var(--qff-charcoal-50); }

/* ===== WorkingStandard.jsx ===== */
.qff-careers-standard { background: var(--qff-navy-deep); color: #fff; padding: 3.5rem 0; }
@media (min-width: 640px) { .qff-careers-standard { padding: 5rem 0; } }
.qff-careers-standard__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--qff-action); margin-bottom: 1rem; }
.qff-careers-standard__title { font-family: var(--qff-font-display); font-weight: 600; font-size: 24px; letter-spacing: -0.01em; max-width: 42rem; }
@media (min-width: 640px) { .qff-careers-standard__title { font-size: 36px; } }
.qff-careers-standard__grid { margin-top: 2rem; display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .qff-careers-standard__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.qff-careers-standard__item { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.25rem; }
.qff-careers-standard__item h3 { font-family: var(--qff-font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.qff-careers-standard__item p { margin-top: 0.5rem; font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.7; }
