/**
 * Public marketing + auth surfaces (login.html reference): blobs, glass nav, auth cards, footer forms.
 * Loaded for non-workspace pages only.
 */
:root {
  --pub-teal: #1f8a5b;
  --pub-teal-soft: #d8f0e4;
  --pub-navy: #0f172a;
  --pub-slate-600: #475569;
  --pub-slate-500: #64748b;
  --pub-slate-400: #94a3b8;
  --pub-border: #e2e8f0;
  --pub-bg: #f8fafc;
}

/* Soft gradient blobs (fixed, non-interactive) */
body.page:not(.page--workspace) {
  min-height: 100vh;
  background: var(--pub-bg);
  position: relative;
}

body.page:not(.page--workspace)::before,
body.page:not(.page--workspace)::after {
  content: '';
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(80px);
}

body.page:not(.page--workspace)::before {
  top: -15%;
  left: -8%;
  width: min(55vw, 480px);
  height: min(55vw, 480px);
  background: rgba(31, 138, 91, 0.12);
}

body.page:not(.page--workspace)::after {
  bottom: -8%;
  right: -5%;
  width: min(45vw, 380px);
  height: min(45vw, 380px);
  background: rgba(59, 130, 246, 0.06);
}

body.page:not(.page--workspace) > * {
  position: relative;
  z-index: 1;
}

/* Glass sticky header */
.topnav.topnav--pub {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1rem clamp(1rem, 4vw, 2rem);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
  position: sticky;
  top: 0;
  z-index: 50;
}
.topnav.topnav--pub .topnav__brand {
  justify-self: start;
}
.topnav.topnav--pub .topnav__links {
  justify-self: center;
  flex: none;
}
.topnav.topnav--pub .topnav__actions {
  justify-self: end;
}

.logo__tag--pub {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pub-slate-400);
  line-height: 1.3;
  margin-top: 0.2rem;
  display: block;
  max-width: 14rem;
}

/* Mockup: dark wordmark + teal period */
.topnav.topnav--pub .logo__mark {
  color: var(--pub-navy);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.topnav.topnav--pub .logo__period {
  color: var(--pub-teal);
}

.topnav.topnav--pub .topnav__links a {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--pub-slate-500);
}

.topnav.topnav--pub .topnav__links a:hover {
  color: var(--pub-navy);
}

/* keep the sticky public header above page content — body.page > * forces
   position:relative;z-index:1 on every child, which otherwise sinks the header */
body.page .topnav.topnav--pub { position: sticky; top: 0; z-index: 60; }

/* desktop: links + actions flow into the 3-col grid; burger hidden */
.topnav.topnav--pub .topnav__menu { display: contents; }
.topnav.topnav--pub .topnav__burger { display: none; }

/* ---- Mobile nav (hamburger) ---- */
@media (max-width: 860px) {
  .topnav.topnav--pub {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
  }
  .topnav.topnav--pub .topnav__burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 42px; padding: 0 11px; flex: none;
    border: 1px solid rgba(20, 41, 31, 0.16); border-radius: 11px; background: #fff; cursor: pointer;
  }
  .topnav.topnav--pub .topnav__burger span {
    display: block; height: 2px; width: 100%; background: #14291f; border-radius: 2px;
    transition: transform 0.22s, opacity 0.22s;
  }
  .topnav.topnav--pub.is-open .topnav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .topnav.topnav--pub.is-open .topnav__burger span:nth-child(2) { opacity: 0; }
  .topnav.topnav--pub.is-open .topnav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .topnav.topnav--pub .topnav__menu {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0.3rem;
    padding: 0.7rem clamp(1rem, 4vw, 2rem) 1.3rem;
    background: #ffffff;
    border-bottom: 1px solid rgba(20, 41, 31, 0.10);
    box-shadow: 0 24px 44px -26px rgba(20, 41, 31, 0.45);
  }
  .topnav.topnav--pub.is-open .topnav__menu { display: flex; }
  .topnav.topnav--pub .topnav__links {
    flex-direction: column; align-items: stretch; gap: 0.1rem; width: 100%;
  }
  .topnav.topnav--pub .topnav__links a {
    display: block; padding: 0.75rem 0.6rem; font-size: 1rem; border-radius: 9px;
  }
  .topnav.topnav--pub .topnav__links a:hover { background: rgba(216, 240, 228, 0.55); }
  .topnav.topnav--pub .topnav__actions {
    flex-direction: column; align-items: stretch; gap: 0.7rem; width: 100%;
    margin-top: 0.5rem; padding-top: 0.85rem; border-top: 1px solid rgba(20, 41, 31, 0.10);
  }
  .topnav.topnav--pub .btn--nav-join { justify-content: center; padding: 0.75rem 1rem; font-size: 0.95rem; }
  .topnav.topnav--pub .lang-drop { align-self: flex-start; }
  .topnav.topnav--pub .topnav__user { padding: 0.2rem 0.6rem; }
}

/* Auth layout */
.auth-main {
  min-height: calc(100vh - 12rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem 4rem;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 32px;
  padding: 2rem 2rem;
  box-shadow:
    0 8px 40px -12px rgba(15, 23, 42, 0.1),
    0 0 0 1px rgba(226, 232, 240, 0.6);
}

.auth-card--wide {
  max-width: 520px;
}

.auth-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  background: linear-gradient(145deg, #f0fdfa, var(--pub-teal-soft));
  border: 1px solid rgba(31, 138, 91, 0.25);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pub-teal);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.auth-card__title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--pub-navy);
  text-align: center;
  margin: 0 0 0.35rem;
  line-height: 1.2;
}
.auth-card__title .logo__mark {
  font-weight: 900;
  letter-spacing: -0.03em;
}
.auth-card__title .logo__period {
  color: var(--hire-teal, #1f8a5b);
}

.auth-card__sub {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--pub-slate-500);
  margin: 0 0 1.25rem;
  line-height: 1.45;
}

.auth-field {
  margin-bottom: 0.75rem;
}

.auth-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pub-slate-600);
  margin: 0 0 0.3rem 0.25rem;
}

.auth-forgot-link {
  display: block;
  margin: 0.5rem 0 0 0;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--pub-teal) !important;
  text-decoration: none !important;
  text-align: right;
}
.auth-forgot-link:hover {
  text-decoration: underline !important;
}

.auth-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  border: 1px solid var(--pub-border);
  border-radius: 0.5rem;
  padding: 0 0.875rem;
  background: #f1f5f9;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.auth-input-wrap:focus-within {
  border-color: var(--pub-teal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(31, 138, 91, 0.18);
}

.auth-input-icon {
  flex-shrink: 0;
  color: var(--pub-slate-400);
  display: flex;
  align-items: center;
}

.auth-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0.625rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--pub-navy);
  outline: none;
}

.auth-input::placeholder {
  color: var(--pub-slate-400);
}

.auth-select-wrap {
  padding: 0 0.5rem 0 0.875rem;
  cursor: pointer;
}
.auth-select-wrap.csel-enhanced,
.auth-input-wrap.csel-enhanced {
  padding: 0;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  gap: 0;
}
.csel-enhanced .auth-input-icon {
  display: none;
}
.auth-input-wrap.csel-enhanced:focus-within {
  box-shadow: none !important;
  border-color: transparent !important;
}

.auth-select-wrap select.auth-input {
  padding-right: 2rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.25rem center;
  background-size: 1rem;
}

.auth-select-wrap:hover {
  border-color: var(--pub-teal);
}

/* Global select improvement (public pages only) */
.page--auth select,
.site-footer select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.25rem !important;
  cursor: pointer;
}

.page--auth select option,
.site-footer select option {
  font-weight: 500;
  padding: 0.5rem;
}

.auth-btn-primary {
  width: 100%;
  margin-top: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 0.5rem;
  background: var(--pub-navy);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.15s ease;
}

.auth-btn-primary:hover {
  background: #1e293b;
}

.auth-btn-primary:active {
  background: #334155;
}

.auth-btn-primary svg {
  flex-shrink: 0;
  opacity: 0.9;
}

.auth-footer-link {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--pub-slate-500);
}

.auth-footer-link a {
  color: var(--pub-teal);
  font-weight: 500;
  text-decoration: none;
}

.auth-footer-link a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-hint {
  margin-top: 1.5rem;
  padding: 1rem 1.125rem;
  border-radius: 0.75rem;
  background: #f1f5f9;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--pub-slate-500);
  line-height: 1.45;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.auth-hint svg {
  flex-shrink: 0;
  color: var(--pub-slate-400);
  margin-top: 0.1rem;
}

.auth-error {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Inline field validation */
.auth-field__error {
  display: none;
  margin-top: 0.35rem;
  padding-left: 0.125rem;
  font-size: 0.8rem;
  color: #dc2626;
  font-weight: 500;
  line-height: 1.3;
}
.auth-field__error:not(:empty) {
  display: block;
}
.auth-input-wrap--error {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.12);
}

.auth-success {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 0.875rem;
  font-weight: 500;
}

.auth-resend-form {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.auth-link-btn {
  background: none;
  border: none;
  color: var(--pub-teal);
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: underline;
  font-family: inherit;
}
.auth-link-btn:hover {
  color: #146844;
}

.auth-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  border: 2px solid var(--pub-teal);
  background: transparent;
  color: var(--pub-teal);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.auth-btn-secondary:hover {
  background: #f0fdfa;
}

/* ── Minimal underline form (register) ───────────────────── */

.auth-field--minimal {
  margin-bottom: 1.125rem;
}

.auth-minimal-wrap {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  border-bottom: 2px solid #e2e8f0;
  transition: border-color 0.15s;
}
.auth-minimal-wrap--error {
  border-color: #dc2626 !important;
}

.auth-minimal-wrap:focus-within {
  border-color: var(--pub-navy);
}
.auth-minimal-wrap--error {
  border-color: #dc2626 !important;
}

.auth-minimal-icon {
  flex-shrink: 0;
  color: var(--pub-slate-400);
  display: flex;
  align-items: center;
}

.auth-minimal-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 0.6rem 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--pub-navy);
  outline: none;
  font-family: inherit;
}
.auth-minimal-input:-webkit-autofill,
.auth-minimal-input:-webkit-autofill:hover,
.auth-minimal-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  -webkit-text-fill-color: var(--pub-navy);
  transition: background-color 5000s ease-in-out 0s;
}

.auth-minimal-input::placeholder {
  color: var(--pub-slate-400);
}

.auth-minimal-select {
  position: relative;
  border-bottom: 2px solid #e2e8f0;
  transition: border-color 0.15s;
}
.auth-minimal-select:focus-within {
  border-color: var(--pub-navy);
}
.auth-minimal-select.csel-enhanced {
  border-bottom: none;
}
.auth-minimal-select select.auth-minimal-input {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 1.75rem;
  cursor: pointer;
  font-weight: 600;
}
.auth-minimal-chevron {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pub-slate-400);
  pointer-events: none;
}
.auth-minimal-select.csel-enhanced .auth-minimal-chevron {
  display: none;
}

/* Custom select inside minimal form */
.auth-minimal-select .csel {
  width: 100%;
}
.auth-minimal-select .csel__toggle {
  border: none;
  border-bottom: 2px solid #e2e8f0;
  border-radius: 0;
  background: transparent;
  padding: 0.6rem 0;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--pub-navy);
}
.auth-minimal-select .csel__toggle:hover {
  border-color: #cbd5e1;
  background: transparent;
}
.auth-minimal-select .csel.is-open .csel__toggle {
  border-color: var(--pub-navy);
}
.auth-minimal-select .csel__toggle:focus {
  outline: none;
  border-color: var(--pub-navy);
  box-shadow: none;
}

.auth-btn-primary--reg {
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8125rem;
  padding: 0.875rem 1.25rem;
}

/* ── Social login ────────────────────────────────────────── */

.auth-social-divider {
  text-align: center;
  margin: 1.5rem 0 1.25rem;
  position: relative;
}
.auth-social-divider span {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pub-slate-400);
  background: #fff;
  padding: 0 0.75rem;
  position: relative;
  z-index: 1;
}
.auth-social-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e2e8f0;
}

.auth-social-row {
  display: flex;
  gap: 0.75rem;
}

.auth-social-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--pub-navy);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  cursor: pointer;
}
.auth-social-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.auth-email-highlight {
  text-align: center;
  font-weight: 600;
  color: var(--pub-teal);
  font-size: 1rem;
  margin: 0 0 1.5rem;
}

.auth-resend-block {
  margin-bottom: 1.5rem;
}

/* Shared surface inputs (footer + support) */
.surface-textarea,
.surface-input {
  width: 100%;
  border: 1px solid var(--pub-border);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--pub-navy);
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.surface-textarea:focus,
.surface-input:focus {
  outline: none;
  border-color: var(--pub-teal);
  box-shadow: 0 0 0 3px rgba(31, 138, 91, 0.15);
}

.surface-textarea {
  resize: vertical;
  min-height: 5rem;
}

.surface-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.75rem;
  background: var(--pub-teal);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.15s ease;
}

.surface-btn:hover {
  background: #146844;
}

.surface-btn:active {
  background: #115e59;
}

/* Footer surface */
/* ── Footer ────────────────────────────────────────────────── */
.site-footer.site-footer--surface {
  margin-top: auto;
  background: var(--pub-navy);
  color: #cbd5e1;
  padding: 0;
}

.site-footer__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 2rem) 0;
}

/* Main grid */
.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  padding-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 2rem;
  }
}

/* Brand column */
.site-footer__brand-col .logo--footer .logo__mark {
  color: #fff;
  font-size: 1.35rem;
}
.site-footer__brand-col .logo--footer .logo__period {
  color: var(--pub-teal);
}
.site-footer__desc {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #94a3b8;
  margin: 0.5rem 0 0.75rem;
  max-width: 18rem;
}

/* Social icons */
.site-footer__social {
  display: flex;
  gap: 0.5rem;
}
.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  transition: background 0.15s, color 0.15s;
}
.site-footer__social-link:hover {
  background: var(--pub-teal);
  color: #fff;
  text-decoration: none;
}

/* Nav columns */
.site-footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.site-footer__nav-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 0.125rem;
}
.site-footer__nav-col a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer__nav-col a:hover {
  color: #fff;
  text-decoration: none;
}

/* Bottom bar */
.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.6875rem;
  color: #64748b;
}
.site-footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}
.site-footer__bottom-links a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s;
}
.site-footer__bottom-links a:hover {
  color: #94a3b8;
  text-decoration: none;
}

/* Toast */
.site-footer__toast {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
  text-align: center;
}

/* Support page */
.surface-page-title {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--pub-navy);
  margin: 0 0 0.5rem;
  text-align: center;
}

.surface-page-lead {
  text-align: center;
  color: var(--pub-slate-500);
  font-size: 0.9375rem;
  margin: 0 0 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.surface-main--form {
  padding-top: 1rem;
}

/* ——— Public vacancies (job board UX) ——— */
.page--vacancies .vac-page {
  position: relative;
  z-index: 1;
  padding: 1.5rem 0 3.5rem;
}

.vac-page__inner {
  max-width: 70.5rem; /* ~1128px LinkedIn-style shell */
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 1.5rem);
  box-sizing: border-box;
}

.vac-hero {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
@media (min-width: 768px) {
  .vac-hero {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
  }
}

.vac-hero__h {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--pub-navy);
  margin: 0 0 0.35rem;
  line-height: 1.15;
}

.vac-hero__sub {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--pub-slate-500);
}

.vac-hero__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .vac-hero__cta {
    align-items: flex-end;
    text-align: right;
  }
}

.vac-hero__hint {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--pub-slate-400);
  max-width: 16rem;
  line-height: 1.4;
}

.vac-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 0.75rem;
  text-decoration: none !important;
  transition:
    background 0.15s,
    transform 0.1s,
    box-shadow 0.15s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.vac-btn--primary {
  background: var(--pub-teal);
  color: #fff !important;
  box-shadow: none;
}

.vac-btn--primary:hover {
  background: #146844;
}

.vac-btn--primary:active {
  background: #115e59;
}

.vac-search {
  margin-bottom: 1.5rem;
}

.vac-search__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--pub-border);
  border-radius: 0.75rem;
  padding: 0.35rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.vac-search__input {
  flex: 1;
  min-width: 0;
  border: none;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-family: inherit;
  background: transparent;
  outline: none;
  color: var(--pub-navy);
}

.vac-search__submit {
  flex-shrink: 0;
  padding: 0.65rem 1.35rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pub-teal);
  background: #fff;
  border: 2px solid var(--pub-teal);
  border-radius: 0.5rem;
  cursor: pointer;
  font-family: inherit;
  transition:
    background 0.15s,
    color 0.15s;
}

.vac-search__submit:hover {
  background: #f0fdfa;
}

.vac-filters {
  margin-bottom: 1.25rem;
}

.vac-filters__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pub-slate-500);
  margin: 0 0 0.5rem;
}

.vac-filters__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.vac-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569 !important;
  text-decoration: none !important;
  background: #fff;
  border: 1px solid var(--pub-border);
  border-radius: 999px;
  transition:
    border-color 0.15s,
    background 0.15s,
    color 0.15s;
}

.vac-chip:hover {
  border-color: #bfe6d2;
  color: #146844 !important;
}

.vac-chip.is-active {
  background: #f0fdfa;
  border-color: var(--pub-teal);
  color: #146844 !important;
}

.vac-filters__muted {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pub-slate-400);
}

.vac-results-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--pub-border);
}
@media (min-width: 768px) {
  .vac-results-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.vac-results-bar__count {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pub-slate-500);
}

.vac-results-bar__time {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}

.vac-results-bar__time-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pub-slate-400);
}

.vac-time-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.vac-time-chip {
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b !important;
  text-decoration: none !important;
  border-radius: 0.375rem;
  transition:
    background 0.12s,
    color 0.12s;
}

.vac-time-chip:hover {
  color: var(--pub-navy) !important;
  background: #f1f5f9;
}

.vac-time-chip.is-active {
  color: #146844 !important;
  font-weight: 700;
  background: #e0f2fe;
}

.vac-clear-wrap {
  margin: 0 0 1rem;
}

.vac-clear {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pub-teal) !important;
  text-decoration: none !important;
}

.vac-clear:hover {
  text-decoration: underline !important;
}

.vac-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vac-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  background: #fff;
  border: 1px solid #e0dfdc;
  border-radius: 0.5rem;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.15s;
}

@media (min-width: 720px) {
  .vac-card {
    grid-template-columns: minmax(0, 1fr) 12rem;
    gap: 1.5rem;
    align-items: start;
  }
}

.vac-card:hover {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.vac-card__date {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--pub-slate-400);
  margin-bottom: 0.5rem;
}

.vac-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #146844;
  margin: 0 0 0.35rem;
  line-height: 1.25;
}

.vac-card__co {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pub-navy);
}

.vac-card__desc-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pub-slate-500);
  margin: 0 0 0.35rem;
}

.vac-card__desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #475569;
}

.vac-card__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-top: 0.25rem;
  border-top: 1px solid #f1f5f9;
}
@media (min-width: 720px) {
  .vac-card__side {
    align-items: flex-end;
    text-align: right;
    border-top: none;
    padding-top: 0;
    border-left: 1px solid #f1f5f9;
    padding-left: 1.25rem;
  }
  .vac-card__loc {
    justify-content: flex-end;
  }
}

.vac-card__logo {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
  border: 1px solid var(--pub-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--pub-slate-500);
  margin-bottom: 0.75rem;
}

.vac-card__loc {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
  max-width: 100%;
  text-align: left;
}

.vac-card__loc svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: #f43f5e;
}

.vac-card__salary-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pub-slate-400);
  margin: 0 0 0.2rem;
}

.vac-card__salary {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--pub-navy);
}

.vac-empty {
  text-align: center;
  padding: 3rem 1.5rem;
  background: #fff;
  border: 1px dashed var(--pub-border);
  border-radius: 0.75rem;
}

.vac-empty p {
  margin: 0 0 1.25rem;
  color: var(--pub-slate-500);
  font-size: 0.9375rem;
}

.vac-partners {
  margin-top: 3rem;
}

/* --- Vacancy card link --- */
.vac-card__link {
  color: inherit;
  text-decoration: none;
}
.vac-card__link:hover {
  text-decoration: underline;
}

/* --- Vacancy detail page --- */
.vac-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--pub-slate-500) !important;
  text-decoration: none !important;
  transition: color 0.15s;
}
.vac-detail__back:hover {
  color: var(--pub-navy) !important;
}

.vac-detail__header {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .vac-detail__header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.vac-detail__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--pub-navy);
  line-height: 1.15;
}

.vac-detail__company {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--pub-slate-500);
}

.vac-detail__header-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .vac-detail__header-action {
    align-items: flex-end;
  }
}

.vac-detail__apply-hint {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--pub-slate-400);
}

.vac-detail__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .vac-detail__grid {
    grid-template-columns: minmax(0, 1fr) 17rem;
    gap: 2.5rem;
  }
}

.vac-detail__section {
  margin-bottom: 2rem;
}
.vac-detail__section:last-child {
  margin-bottom: 0;
}

.vac-detail__section-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pub-slate-500);
  margin: 0 0 0.75rem;
}

.vac-detail__text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--pub-slate-600);
  white-space: pre-line;
}

.vac-detail__lang-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9375rem;
  color: var(--pub-slate-600);
}

.vac-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.vac-detail__tag {
  display: inline-flex;
  padding: 0.375rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0f6c56;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
}

.vac-detail__sidebar-card {
  background: #fff;
  border: 1px solid var(--pub-border);
  border-radius: 0.625rem;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vac-detail__sidebar-row {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.vac-detail__sidebar-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pub-slate-400);
}

.vac-detail__sidebar-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pub-navy);
}

.vac-detail__sidebar-cta {
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
}

/* ── Blog ── */
.blog-listing {
  max-width: 820px;
}
.blog-hero {
  text-align: center;
  margin-bottom: 2.5rem;
}
.blog-hero__title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--pub-navy);
  margin: 0 0 0.5rem;
}
.blog-hero__sub {
  font-size: 1.0625rem;
  color: var(--pub-slate-500);
  margin: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--pub-border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.blog-card:hover {
  border-color: var(--pub-teal);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.blog-card__category {
  display: inline-block;
  align-self: flex-start;
  padding: 0.2rem 0.625rem;
  background: var(--pub-teal-soft);
  color: var(--pub-teal);
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.blog-card__title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--pub-navy);
  line-height: 1.35;
  margin: 0 0 0.5rem;
}
.blog-card__excerpt {
  font-size: 0.875rem;
  color: var(--pub-slate-600);
  line-height: 1.6;
  margin: 0 0 auto;
  padding-bottom: 1rem;
}
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--pub-slate-400);
  border-top: 1px solid var(--pub-border);
  padding-top: 0.75rem;
}
.blog-card__dot { font-size: 0.625rem; }

/* Blog article detail */
.blog-article.main--narrow {
  max-width: 820px;
}
.blog-article__back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pub-teal);
  text-decoration: none;
  margin-bottom: 1.5rem;
}
.blog-article__back:hover { text-decoration: underline; }
.blog-article__back--bottom {
  margin-top: 2.5rem;
  margin-bottom: 0;
}
.blog-article__category {
  display: inline-block;
  padding: 0.2rem 0.625rem;
  background: var(--pub-teal-soft);
  color: var(--pub-teal);
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.blog-article__title {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--pub-navy);
  line-height: 1.3;
  margin: 0 0 0.75rem;
}
.blog-article__meta {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--pub-slate-400);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--pub-border);
}
.blog-article__dot { font-size: 0.625rem; }
.blog-article__body h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--pub-navy);
  margin: 2rem 0 0.75rem;
}
.blog-article__body p {
  font-size: 1rem;
  color: var(--pub-slate-600);
  line-height: 1.75;
  margin: 0 0 1.25rem;
}

@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-hero__title { font-size: 1.5rem; }
  .blog-article__title { font-size: 1.375rem; }
}

/* ============================================================================
   Content pages — shared hero + Blog/FAQ harmonised (Grove Editorial)
   ========================================================================== */
.cpage-hero { text-align: center; max-width: 46ch; margin: 0 auto 2.5rem; }
.cpage-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: #146844;
  background: #d8f0e4; border: 1px solid rgba(31, 138, 91, 0.2);
  padding: 0.35rem 0.7rem; border-radius: 999px;
}
.cpage-eyebrow i { width: 6px; height: 6px; border-radius: 50%; background: #1f8a5b; }
.cpage-title {
  font-family: "DM Sans", system-ui, sans-serif; font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.05; margin: 0; color: #14291f;
}
.cpage-sub { color: #4f6a5c; font-size: 1.05rem; line-height: 1.6; margin: 0.7rem auto 0; }

/* FAQ — segmented pill tabs (override hire.css) */
.faq-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  width: fit-content; max-width: 100%; gap: 0.2rem; margin: 0 auto 2.2rem;
  padding: 0.3rem; border: 1px solid rgba(20, 41, 31, 0.16); border-radius: 999px;
  background: #fff;
}
.faq-tabs__link {
  font-family: "DM Sans", system-ui, sans-serif; font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0; text-transform: none; color: #4f6a5c;
  padding: 0.5rem 1.1rem; border-radius: 999px; transition: background 0.18s, color 0.18s;
}
.faq-tabs__link:hover { color: #14291f; background: rgba(216, 240, 228, 0.55); }
.faq-tabs__link.is-active { color: #fff; background: #1f8a5b; }

/* FAQ — Q&A cards (match blog cards) */
.faq-list { gap: 0.85rem; }
.faq-item {
  padding: 1.3rem 1.5rem; border: 1px solid rgba(20, 41, 31, 0.10); border-radius: 14px;
  background: rgba(255, 255, 255, 0.72); transition: border-color 0.16s, box-shadow 0.16s;
}
.faq-item:last-child { border-bottom: 1px solid rgba(20, 41, 31, 0.10); }
.faq-item:hover { border-color: rgba(20, 41, 31, 0.16); box-shadow: 0 16px 38px -32px rgba(20, 41, 31, 0.5); }
.faq-item__q { font-family: "DM Sans", system-ui, sans-serif; font-size: 1.05rem; font-weight: 700; color: #14291f; margin: 0 0 0.5rem; line-height: 1.35; }
.faq-item__a { color: #4f6a5c; font-size: 0.95rem; line-height: 1.6; margin: 0; }

/* Blog cards — align radius/border with FAQ cards */
.blog-listing, .faq-page { position: relative; }
.blog-card { border-radius: 14px; border-color: rgba(20, 41, 31, 0.10); background: rgba(255, 255, 255, 0.72); }
.blog-card:hover { border-color: rgba(31, 138, 91, 0.4); box-shadow: 0 18px 40px -32px rgba(20, 41, 31, 0.5); }
.blog-card__category { background: #d8f0e4; color: #146844; }
