:root {
  --ink: #162121;
  --muted: #60706d;
  --line: #d9e4df;
  --paper: #fbfdfb;
  --white: #ffffff;
  --teal: #0a8f83;
  --teal-dark: #06665f;
  --coral: #e76f51;
  --gold: #f2b84b;
  --mint: #dff4ed;
  --shadow: 0 18px 55px rgba(22, 33, 33, 0.14);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

input[type="file"] {
  padding: 9px;
}

input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--mint);
  font-weight: 800;
  cursor: pointer;
}

.field-help {
  margin: -7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.applicant-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.applicant-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.applicant-card h3,
.applicant-card p {
  margin: 0 0 9px;
}

.applicant-message {
  color: var(--muted);
  white-space: pre-wrap;
  line-height: 1.55;
}

.applicant-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 253, 251, 0.9);
  border-bottom: 1px solid rgba(217, 228, 223, 0.9);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links,
.hero-actions,
.hero-stats,
.form-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: var(--white);
  background: var(--teal-dark);
  font-size: 13px;
}

.nav-links {
  gap: clamp(14px, 3vw, 30px);
  color: var(--muted);
  font-size: 15px;
}

.nav-button {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.text-button {
  justify-self: start;
  border: 0;
  padding: 0;
  color: var(--teal-dark);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.text-button:hover {
  text-decoration: underline;
}

.text-link {
  color: var(--teal-dark);
  font-weight: 800;
}

.text-link:hover {
  text-decoration: underline;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--teal-dark);
}

.header-action {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 110px clamp(18px, 5vw, 72px) 90px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  z-index: -3;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(251, 253, 251, 0.98) 0%, rgba(251, 253, 251, 0.9) 32%, rgba(251, 253, 251, 0.35) 67%, rgba(251, 253, 251, 0.12) 100%),
    linear-gradient(0deg, rgba(251, 253, 251, 0.92) 0%, rgba(251, 253, 251, 0) 26%);
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(58px, 9vw, 126px);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 18px;
}

.hero-copy {
  max-width: 590px;
  margin: 24px 0 0;
  color: #31403e;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--teal-dark);
}

.button.primary:hover {
  background: #044f49;
}

.button.secondary {
  color: var(--ink);
  border-color: rgba(22, 33, 33, 0.2);
  background: rgba(255, 255, 255, 0.76);
}

.full {
  width: 100%;
}

.hero-stats {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-stats span {
  padding: 9px 12px;
  border: 1px solid rgba(217, 228, 223, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
}

.hero-stats strong {
  color: var(--coral);
}

.quick-search,
.jobs-section,
.split-section,
.seeker-section {
  padding: clamp(54px, 8vw, 92px) clamp(18px, 5vw, 72px);
}

.quick-search {
  padding-top: 0;
}

.search-shell {
  max-width: 1120px;
  margin: -40px auto 0;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 0.8fr 48px;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
}

label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 12px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10, 143, 131, 0.14);
}

.icon-button {
  align-self: end;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 22px;
  cursor: pointer;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 26px;
  text-align: center;
}

.section-note {
  color: var(--muted);
}

.job-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.job-card {
  display: grid;
  gap: 14px;
  min-height: 300px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(22, 33, 33, 0.07);
}

.job-card-heading,
.job-card-footer,
.dashboard-heading,
.dashboard-job,
.dashboard-actions,
.site-footer nav {
  display: flex;
  align-items: center;
}

.job-card-heading {
  gap: 12px;
  color: inherit;
}

.job-card-heading:hover h3,
.job-card-heading:hover p {
  color: var(--teal-dark);
}

.company-logo {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--mint);
  font-weight: 900;
}

.job-card-heading p,
.job-summary {
  margin: 5px 0 0;
}

.job-card-footer {
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.job-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.button.saved {
  color: var(--white);
  background: var(--coral);
}

.posted-date {
  color: var(--muted);
  font-size: 12px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 50px 20px;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.job-card header {
  display: grid;
  gap: 7px;
}

.job-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.job-meta,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 9px;
  border-radius: 8px;
  background: #f3f7f4;
  color: #40514e;
  font-size: 13px;
  font-weight: 750;
}

.pill.pay {
  background: #fff5dc;
  color: #6d4a00;
}

.pill.official {
  color: #655000;
  background: #fff0b8;
}

.job-card .button {
  align-self: end;
}

.split-section,
.employer-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
  background: #eef8f2;
}

.split-section > div > p,
.employer-copy > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.employer-section {
  padding: clamp(54px, 8vw, 92px) clamp(18px, 5vw, 72px);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.feature-grid article,
.panel-form,
.application-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.account-panel {
  min-width: 0;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #edf3ef;
}

.segment {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.segment.active {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 2px 8px rgba(22, 33, 33, 0.08);
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
}

.check-row span {
  line-height: 1.4;
}

.status-message.error,
.error-banner {
  color: #a52323;
}

.dashboard-heading {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.dashboard-heading h2 {
  font-size: 30px;
}

.job-form-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.job-form-heading h3 {
  margin: 0;
}

.compact {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 13px;
}

.button.danger {
  border-color: #e7b7b3;
  color: #a52323;
  background: #fff7f6;
}

.dashboard-list {
  margin-top: 22px;
}

.dashboard-job {
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.dashboard-job h4,
.dashboard-job p {
  margin: 0;
}

.dashboard-job p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.dashboard-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

dialog {
  width: min(720px, calc(100% - 24px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(16, 28, 27, 0.68);
}

.dialog-close {
  position: sticky;
  top: 0;
  float: right;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  font-size: 24px;
  cursor: pointer;
}

#jobDetails h2 {
  padding-right: 44px;
}

.dialog-summary {
  color: var(--muted);
  white-space: pre-wrap;
  line-height: 1.65;
}

.application-form {
  margin-top: 24px;
  box-shadow: none;
}

.feature-grid article {
  padding: 18px;
}

.feature-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 8px;
  color: var(--white);
  background: var(--coral);
  font-weight: 900;
}

.panel-form,
.application-form {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
  box-shadow: var(--shadow);
}

.form-heading h2 {
  font-size: 30px;
}

.form-row {
  gap: 12px;
  align-items: start;
}

.form-row > label {
  flex: 1;
}

.status-message {
  min-height: 24px;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 750;
}

.seeker-section {
  background: var(--paper);
}

.application-form {
  max-width: 760px;
  margin: 0 auto;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.site-footer nav {
  gap: 18px;
}

.legal-page {
  max-width: 780px;
  min-height: calc(100vh - 150px);
  margin: 0 auto;
  padding: 70px 20px;
}

.job-detail-page {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  max-width: 1320px;
  min-height: calc(100vh - 150px);
  margin: 0 auto;
  padding: clamp(50px, 8vw, 90px) clamp(18px, 5vw, 72px);
}

.job-detail-page aside {
  position: sticky;
  top: 88px;
}

.job-detail-copy {
  min-width: 0;
}

.detail-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.detail-heading h1 {
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1;
}

.detail-heading .eyebrow {
  font-size: 11px;
}

.company-logo.large {
  flex-basis: 58px;
  width: 58px;
  height: 58px;
  font-size: 18px;
}

.company-website-link {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  color: var(--teal-dark);
  font-size: 15px;
  font-weight: 800;
}

.company-website-link::after {
  content: "\2197";
  margin-left: 7px;
  font-size: 16px;
}

.company-website-link:hover {
  text-decoration: underline;
}

.job-detail-copy .job-meta {
  margin-top: 28px;
}

.job-detail-copy .pill {
  padding: 7px 10px;
  font-size: 12px;
}

.job-detail-copy .tag-row {
  margin-top: 12px;
}

.description-title {
  margin-top: 50px;
  font-size: 28px;
}

.role-description {
  color: #3f504d;
  white-space: pre-wrap;
  line-height: 1.75;
  font-size: 18px;
}

.source-note {
  margin-top: 30px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.external-apply {
  position: sticky;
  top: 96px;
  box-shadow: var(--shadow);
}

.save-detail-button {
  margin-bottom: 10px;
}

.seeker-account-page {
  min-height: calc(100vh - 150px);
  padding: clamp(50px, 8vw, 90px) clamp(18px, 5vw, 72px);
}

.seeker-auth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: clamp(30px, 7vw, 90px);
  align-items: start;
  max-width: 1160px;
  margin: 0 auto;
}

.seeker-auth h1,
.saved-heading h1 {
  font-size: clamp(46px, 7vw, 82px);
}

.seeker-intro,
.saved-heading p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.saved-dashboard {
  max-width: 1260px;
  margin: 0 auto;
}

.saved-heading,
.saved-heading-actions,
.saved-job-heading,
.saved-job-actions {
  display: flex;
  align-items: center;
}

.saved-heading,
.saved-job-heading {
  justify-content: space-between;
  gap: 20px;
}

.saved-heading-actions,
.saved-job-actions {
  flex-wrap: wrap;
  gap: 8px;
}

.saved-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.saved-job {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(22, 33, 33, 0.07);
}

.saved-job h2 {
  font-size: 25px;
}

.saved-job-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.saved-job-facts div {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
}

.saved-job-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.saved-job-facts dd {
  margin: 4px 0 0;
  font-weight: 750;
}

.legal-page h1 {
  font-size: clamp(42px, 7vw, 72px);
}

.legal-page h2 {
  margin-top: 36px;
  font-size: 24px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.7;
}

.narrow-page {
  max-width: 680px;
}

.admin-body {
  background: #f4f8f5;
}

.admin-shell {
  max-width: 1440px;
  min-height: calc(100vh - 67px);
  margin: 0 auto;
  padding: 36px clamp(16px, 4vw, 52px) 70px;
}

.admin-gate {
  max-width: 620px;
  margin: 6vh auto 0;
}

.admin-gate h1,
.admin-toolbar h1 {
  font-size: clamp(42px, 6vw, 72px);
}

.admin-gate > p {
  color: var(--muted);
  line-height: 1.6;
}

.admin-toolbar,
.admin-toolbar-actions,
.admin-controls,
.admin-tabs,
.admin-record,
.admin-actions,
.admin-badges {
  display: flex;
  align-items: center;
}

.admin-toolbar,
.admin-controls,
.admin-record {
  justify-content: space-between;
}

.admin-toolbar {
  gap: 20px;
}

.admin-toolbar-actions,
.admin-actions,
.admin-badges {
  flex-wrap: wrap;
  gap: 8px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 26px 0;
}

.admin-stat {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.admin-stat strong,
.admin-stat span {
  display: block;
}

.admin-stat strong {
  font-size: 28px;
}

.admin-stat span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.admin-controls {
  gap: 18px;
  margin: 0 0 26px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.admin-tabs {
  gap: 4px;
}

.admin-tab {
  min-height: 40px;
  padding: 9px 13px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.admin-tab.active {
  color: var(--white);
  background: var(--teal-dark);
}

.admin-search {
  width: min(360px, 100%);
}

.admin-search input {
  padding-block: 9px;
}

.admin-view {
  padding: 0;
}

.admin-section-heading {
  margin-bottom: 12px;
}

.admin-section-heading h2 {
  font-size: 28px;
}

.admin-section-heading p {
  margin: 7px 0 0;
  color: var(--muted);
}

.admin-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.admin-record {
  gap: 20px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.admin-record-main {
  min-width: 0;
}

.admin-record h3,
.admin-record p {
  margin: 0 0 8px;
}

.admin-meta {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.admin-message {
  max-width: 820px;
  color: #3e4e4b;
  white-space: pre-wrap;
  line-height: 1.55;
}

.admin-actions {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.admin-status.active {
  color: var(--teal-dark);
  background: var(--mint);
}

.admin-status.closed {
  color: #735a22;
  background: #fff2cf;
}

.admin-external-link {
  display: block;
  max-width: 820px;
  color: var(--teal-dark);
  overflow-wrap: anywhere;
  font-weight: 700;
}

.admin-empty {
  padding: 30px 0;
  color: var(--muted);
}

.admin-detail-dialog {
  width: min(980px, calc(100% - 24px));
}

.admin-detail-dialog h2 {
  padding-right: 50px;
}

.admin-detail-subtitle {
  margin: 8px 0 24px;
  color: var(--muted);
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.admin-detail-field {
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7faf8;
}

.admin-detail-field strong {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.admin-detail-field p,
.admin-detail-field a {
  margin: 0;
  overflow-wrap: anywhere;
}

.admin-detail-section-title {
  margin: 32px 0 10px;
  font-size: 20px;
}

.admin-detail-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.admin-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.admin-detail-item h4,
.admin-detail-item p {
  margin: 0 0 7px;
}

.admin-detail-preview {
  max-width: 700px;
  color: var(--muted);
  line-height: 1.5;
  white-space: pre-wrap;
}

.admin-full-text {
  padding: 18px;
  border-left: 4px solid var(--teal);
  color: #344542;
  background: #f5faf7;
  white-space: pre-wrap;
  line-height: 1.7;
}

.admin-detail-danger-zone {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 82vh;
    padding-top: 86px;
  }

  .search-shell,
  .job-grid,
  .split-section,
  .employer-section,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .job-detail-page {
    grid-template-columns: 1fr;
  }

  .job-detail-page aside {
    position: static;
  }

  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-controls,
  .admin-record {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-search {
    width: 100%;
  }

  .admin-actions {
    justify-content: flex-start;
  }

  .admin-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-detail-item {
    display: grid;
  }

  .seeker-auth,
  .saved-comparison {
    grid-template-columns: 1fr;
  }

  .split-section {
    gap: 34px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 14px;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: 78vh;
    padding-inline: 18px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(251, 253, 251, 0.98) 0%, rgba(251, 253, 251, 0.86) 100%),
      linear-gradient(0deg, rgba(251, 253, 251, 0.9), rgba(251, 253, 251, 0));
  }

  .form-row,
  .site-footer,
  .job-card-footer,
  .dashboard-job {
    display: grid;
  }

  .site-footer nav,
  .dashboard-actions {
    justify-content: start;
  }
}
