@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --primary: #4a7eb8;
  --primary-dark: #2b6cb0;
  --primary-light: #e8f2fc;
  --primary-mid: #cfe0f2;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-600: #64748b;
  --gray-800: #334155;
  --ink: #1e3a5f;
  --white: #ffffff;
  --page-bg: #eef2f6;
  --panel-bg: #e3edf7;
  --primary-mid: #cfe0f2;
  --success: #15803d;
  --success-bg: #ecfdf5;
  --shadow-sm: 0 2px 8px rgba(30, 58, 95, 0.06);
  --shadow-md: 0 4px 16px rgba(30, 58, 95, 0.08);
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page-bg);
  line-height: 1.6;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(74, 126, 184, 0.35);
  outline-offset: 2px;
}

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--gray-200);
  background: var(--white);
}

.brand span {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--gray-800);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.nav-toggle-icon {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease;
}

.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav-panel {
  display: none;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
  padding: 0.85rem 0 1rem;
}

.mobile-nav-panel.is-open {
  display: block;
}

.mobile-nav-panel nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0 4%;
}

.mobile-nav-panel nav a {
  display: block;
  padding: 0.65rem 0.5rem;
  color: var(--gray-800);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-nav-panel nav a:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.mobile-nav-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0.85rem 4% 0;
  margin-top: 0.5rem;
  border-top: 1px solid var(--gray-100);
}

.mobile-nav-actions .btn {
  width: 100%;
}

/* ── Hero ── */
.hero {
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  background: var(--panel-bg);
  border-bottom: 1px solid var(--gray-200);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.kicker {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  background: var(--white);
  color: var(--primary-dark);
  border: 1px solid var(--primary-mid);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  line-height: 1.2;
  font-weight: 700;
  color: var(--ink);
}

.hero > .container > .hero-grid > div > p,
.hero p {
  margin: 0;
  font-size: 0.95rem;
  max-width: 52ch;
  color: var(--gray-600);
  line-height: 1.65;
}

.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-panel {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.hero-panel h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.hero-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--gray-200);
  padding: 0.75rem 0;
  font-size: 0.88rem;
  color: var(--gray-600);
}

.hero-stat:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hero-stat strong {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
}

/* ── Sections ── */
.section {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.section-alt {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  font-weight: 700;
  color: var(--ink);
}

.section-heading p {
  margin: 0.5rem 0 0;
  color: var(--gray-600);
  font-size: 0.92rem;
  max-width: 60ch;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.info-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 168px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.section-alt .info-card {
  background: var(--gray-50);
}

.info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-mid);
}

.info-card-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.85rem;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.info-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.info-card p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.88rem;
  line-height: 1.55;
}

/* ── Jobs area ── */
.jobs-shell {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.filters {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr) 0.9fr 0.9fr;
  gap: 10px;
  margin-bottom: 1.25rem;
  align-items: end;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gray-800);
}

.field input,
.field select {
  height: 42px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  color: var(--ink);
  background: var(--gray-50);
  font-family: inherit;
  font-size: 0.88rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(74, 126, 184, 0.15);
}

.search-typing-hint {
  font-size: 0.76rem;
  color: var(--gray-400);
  margin-top: 0.25rem;
  min-height: 1.1em;
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.job-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.job-card:hover {
  border-color: var(--primary-mid);
  box-shadow: var(--shadow-md);
}

.job-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.job-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.job-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.job-title-link:hover {
  color: var(--primary);
}

.job-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.35rem 0 0.65rem;
}

.job-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
}

.job-chip .bi {
  color: var(--primary);
  font-size: 0.78rem;
}

.job-chip-salary {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.job-chip-deadline {
  background: #fff4e7;
  border-color: #ffd9ad;
  color: #805b00;
}

.job-chip-interview {
  background: #eef6ff;
  border-color: #c6d8fe;
  color: #2d5274;
}

.job-meta {
  margin: 0.2rem 0 0;
  color: var(--gray-600);
  font-size: 0.82rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: var(--success-bg);
  border: 1px solid #bbf7d0;
  color: var(--success);
  font-weight: 600;
  font-size: 0.72rem;
  flex-shrink: 0;
}

.job-details {
  list-style: none;
  margin: 0.75rem 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
}

.job-details li {
  font-size: 0.82rem;
  color: var(--gray-600);
}

.job-details strong {
  color: var(--gray-800);
  font-weight: 600;
}

.job-summary {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.86rem;
  line-height: 1.5;
  flex: 1;
}

.job-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 1rem;
}

.empty-state {
  text-align: center;
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius-md);
  padding: 2rem 1.25rem;
  background: var(--gray-50);
}

.empty-state h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink);
}

.empty-state p {
  margin: 0.5rem 0 1rem;
  color: var(--gray-600);
  font-size: 0.9rem;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  margin-top: 1.25rem;
  color: #5f6368;
  font-size: 0.84rem;
}

.pager-range { margin-right: 0.5rem; }

.pager-link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 0;
  text-decoration: none;
  color: #5f6368;
  background: transparent;
}

.pager-link:hover:not(.is-disabled) {
  background: #f1f3f4;
  color: #202124;
}

.pager-link.is-disabled {
  opacity: 0.38;
  pointer-events: none;
}

/* ── Buttons ── */
.btn {
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  font-weight: 600;
  font-size: 0.88rem;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}

.btn:active:not(:disabled) {
  transform: translateY(1px);
}

.btn:disabled,
.btn.is-loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(74, 126, 184, 0.25);
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-dark);
  box-shadow: 0 6px 16px rgba(43, 108, 176, 0.3);
  color: var(--white);
}

.btn-outline {
  background: var(--white);
  border-color: var(--gray-200);
  color: var(--gray-800);
}

.btn-outline:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary-dark);
  background: var(--primary-light);
}

.btn-success {
  background: var(--success);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.2);
}

.btn-success:hover:not(:disabled) {
  background: #166534;
  color: var(--white);
}

.btn-small {
  padding: 0.5rem 0.85rem;
  font-size: 0.84rem;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

/* ── Job detail page ── */
.job-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.25rem;
  align-items: start;
}

.detail-shell {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--primary-dark);
}

.job-hero {
  padding: 1.35rem 1.35rem 1.15rem;
  background: var(--panel-bg, #e3edf7);
  border-bottom: 1px solid var(--gray-200);
}

.job-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-800);
}

.detail-badge.open {
  background: var(--success-bg);
  border-color: #bbf7d0;
  color: var(--success);
}

.detail-badge.type {
  background: var(--primary-light);
  border-color: var(--primary-mid, #cfe0f2);
  color: var(--primary-dark);
}

.detail-badge.salary {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.detail-badge.interview {
  background: #eef6ff;
  border-color: #c6d8fe;
  color: #2d5274;
}

.job-hero-subtitle {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
  color: var(--gray-600);
  font-weight: 500;
}

.job-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.65rem;
  padding: 1rem 1.35rem;
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--gray-50);
}

.timeline-item .bi {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.timeline-item strong {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--gray-600);
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.timeline-item span {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.timeline-item-interview {
  background: #eef6ff;
  border-color: #c6d8fe;
}

.job-hero h1 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.25;
  color: var(--ink);
  font-weight: 700;
}

.employer-card {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 1.15rem 1.35rem 0;
  padding: 1rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}

.employer-card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.employer-card h2 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.employer-card p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--gray-600);
  line-height: 1.45;
}

.job-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.65rem;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--gray-200);
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.75rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}

.highlight-item .bi {
  color: var(--primary);
  font-size: 1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.highlight-item strong {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--gray-600);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.highlight-item span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.job-sections {
  padding: 1.15rem 1.35rem 1.35rem;
  display: grid;
  gap: 1rem;
}

.content-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  background: var(--white);
}

.content-card-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.content-card-head .bi {
  color: var(--primary);
  font-size: 1.05rem;
}

.content-card h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.content-card .content-body {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
}

.interview-details-card {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-color: #c6d8fe;
}

.interview-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.interview-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
}

.interview-detail-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.interview-detail-item strong {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--gray-600);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.interview-detail-item span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}

.interview-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.interview-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: var(--primary-light);
  border: 1px solid var(--primary-mid);
  color: var(--primary-dark);
  font-size: 0.74rem;
  font-weight: 600;
}

.interview-chip-type {
  background: #eef6ff;
  border-color: #c6d8fe;
}

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

.apply-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
}

.apply-card h3 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.apply-card .btn {
  width: 100%;
}

.apply-card-meta {
  margin: 0.85rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--gray-100);
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.apply-card-meta li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 0.45rem;
  list-style: none;
}

.apply-card-meta .bi {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.apply-note {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  color: var(--gray-600);
  line-height: 1.45;
  text-align: center;
}

.apply-note a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.apply-note a:hover {
  text-decoration: underline;
}

.apply-card-interview {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--gray-100);
}

.apply-card-interview h4 {
  margin: 0 0 0.55rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.apply-card-interview h4 .bi {
  color: var(--primary);
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 1rem;
}

.detail-sub {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.92rem;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 1rem;
}

.meta-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  background: var(--gray-50);
}

.meta-item strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--gray-600);
  letter-spacing: 0.03em;
  margin-bottom: 4px;
  font-weight: 600;
}

.meta-item span {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.9rem;
}

.detail-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

/* ── Footer ── */
.site-footer {
  margin-top: 2.5rem;
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}

.footer-wrap {
  padding: 1.5rem 0 1.75rem;
  text-align: center;
  color: var(--gray-600);
  font-size: 0.8rem;
  line-height: 1.6;
}

.footer-copy p {
  margin: 0;
  color: var(--gray-600);
  font-weight: 500;
}

.footer-copy strong {
  color: var(--primary-dark);
  font-weight: 700;
}

.footer-credit {
  margin: 0.35rem 0 0 !important;
  color: var(--gray-400);
}

.footer-credit a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-credit a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--gray-100);
}

.footer-links a {
  color: var(--gray-600);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

/* ── Responsive ── */
@media (max-width: 1000px) {
  .hero-grid,
  .jobs-grid,
  .detail-content,
  .job-detail-layout {
    grid-template-columns: 1fr;
  }

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

  .interview-details-grid {
    grid-template-columns: 1fr;
  }

  .job-apply-aside {
    position: static;
  }

  .filters {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 760px) {
  .nav-links,
  .nav-wrap > .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-wrap {
    min-height: 64px;
  }

  .hero {
    padding: 2.5rem 0 2rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1;
    min-width: 0;
  }

  .hero-panel {
    padding: 1.15rem;
  }

  .jobs-shell {
    padding: 1rem;
  }

  .detail-shell {
    padding: 1rem;
  }

  .filters {
    grid-template-columns: 1fr;
  }

  .filters .btn-primary {
    width: 100%;
  }

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

  .job-actions {
    flex-direction: column;
  }

  .job-actions .btn {
    width: 100%;
  }

  .detail-header {
    flex-direction: column;
  }

  .meta-grid {
    grid-template-columns: 1fr;
  }

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

  .job-hero,
  .employer-card,
  .job-highlights,
  .job-sections,
  .job-timeline {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .employer-card {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(1140px, 94%);
  }

  .kicker {
    font-size: 0.7rem;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 7.5vw, 1.9rem);
  }

  .job-card {
    padding: 1rem;
  }

  .job-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .status-badge {
    margin-top: 2px;
  }

  .pager {
    gap: 0;
  }

  .pager-link {
    width: 36px;
    height: 36px;
  }

  .meta-item {
    padding: 0.75rem;
  }

  .brand span {
    font-size: 0.92rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
