:root {
  --navy: #062542;
  --dark: #051d35;
  --ink: #0c1c39;
  --muted: #475a75; /* WCAG 2.2 AA compliant contrast on white (>= 5.5:1) */
  --green: #00b48e;
  --teal: #00876b;          /* 4.6:1 on white — accessible text/link colour */
  --green-strong: #007a5e;  /* white text on this passes WCAG AA (5.3:1) */
  --mint: #6feacb;
  --border: #e5eaf2;
  --light: #f7f9fc;
  --shadow: 0 2px 14px rgba(30, 59, 97, 0.055);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: white;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

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

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #00b48e;
  outline-offset: 3px;
}

a { text-decoration: none; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }

.container {
  width: min(1312px, calc(100% - 88px));
  margin: auto;
}

.icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.svg-defs, .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

/* Header */
.site-header {
  height: 56px;
  background: linear-gradient(110deg, #052341, #042b4e 50%, #095172);
  color: #fff;
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.8px;
  white-space: nowrap;
}

.brand-symbol {
  width: 32px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #d6fff5;
}

.brand-symbol .icon {
  width: 28px;
  height: 28px;
  stroke: #6feacb;
}

.brand-green { color: #22d6ac; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 15px;
}

.primary-nav a {
  font-size: 13px;
  font-weight: 600;
  color: #f3f8ff;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.primary-nav a:hover { color: #67e8ca; }

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

.header-search {
  height: 38px;
  width: 42px;
  background: #105779;
  color: #fff;
  border: 0;
  border-radius: 9px;
  display: grid;
  place-items: center;
  transition: background 0.15s;
}

.header-search:hover { background: #166e99; }

.btn {
  border-radius: 9px;
  padding: 0 16px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-light {
  color: #0e3254;
  background: #fff;
  border-color: #c2dae8;
}

.btn-light:hover { background: #f0f6fa; }

.btn-green {
  background: linear-gradient(120deg, #00876b, var(--green-strong));
  color: #fff;
  border-color: #0a9a7a;
  box-shadow: 0 3px 10px rgba(2, 177, 143, 0.25);
}

.btn-green:hover {
  background: linear-gradient(120deg, #007a5e, #006650);
  transform: translateY(-1px);
}

.mobile-menu {
  display: none;
  color: white;
  background: transparent;
  border: 0;
  padding: 8px;
}

/* Hero Section */
.hero {
  min-height: 340px;
  background: #042442;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.hero-art {
  position: absolute;
  right: 0;
  top: 0;
  width: 54%;
  height: 100%;
  overflow: hidden;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  display: block;
}

.hero-wash {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #052441 0%, #052441 33%, #052441f7 45%, #052441c9 56%, #05244128 72%, transparent 92%),
              linear-gradient(0deg, #031d35b2 0%, transparent 27%);
}

.hero-inner {
  position: relative;
  height: 100%;
  padding-bottom: 24px;
}

.hero-content {
  padding-top: 22px;
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.eyebrow {
  width: max-content;
  border: 1px solid #138198;
  background: #0a4565c4;
  color: #9affec;
  padding: 5px 12px;
  border-radius: 8px;
  letter-spacing: 0.6px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
}

.eyebrow span { margin: 0 4px; color: #65ccb9; }

.hero h1 {
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.15;
  letter-spacing: -1.8px;
  font-weight: 800;
  margin-top: 10px;
  margin-bottom: 8px;
}

.hero h1 span { color: #73edcb; }

.hero-content > p {
  font-size: 16px;
  line-height: 1.45;
  font-weight: 400;
  color: #f4f6ff;
  margin-bottom: 16px;
}

.search-panel {
  min-height: 54px;
  width: min(800px, 100%);
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e6f4ff;
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 5px 22px rgba(0, 27, 50, 0.45);
  color: #2d4361;
}

.search-field {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  height: 40px;
  padding: 0 14px;
  min-width: 0;
}

.search-field .icon {
  color: #3b5b82;
  width: 19px;
}

.search-field input, .search-field select {
  color: #12223b;
  min-width: 0;
  width: 100%;
  height: 28px;
  background: #fff;
  border: 0;
  outline: 0;
  font-size: 12px;
  font-weight: 600;
}

.search-field input::placeholder { color: #7a8fa6; }
.search-field select { cursor: pointer; }

.search-field small {
  position: absolute;
  left: 43px;
  bottom: 0;
  font-size: 10px;
  color: #556d8a;
  white-space: nowrap;
  pointer-events: none;
}

.search-query { flex: 1.6; border-right: 1px solid #dce3ed; }
.location-field { flex: 1.2; border-right: 1px solid #dce3ed; }
.type-field { flex: 1; }

.search-panel .search-button {
  height: 42px;
  min-width: 145px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(110deg, #00b793, #008f70);
  color: white;
  font-weight: 750;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  box-shadow: 0 1px 5px rgba(0, 161, 130, 0.35);
  transition: transform 0.15s, background 0.15s;
}

.search-button:hover {
  background: linear-gradient(110deg, #00a484, #007d62);
  transform: translateY(-1px);
}

.trends {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d8e5f5;
  font-size: 12px;
  flex-wrap: wrap;
}

.trends > span { font-weight: 600; margin-right: 2px; }

.trends button {
  border: 1px solid #295272;
  color: #f0f7ff;
  background: #143b5baf;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  transition: background 0.15s;
}

.trends button:hover { background: #0b6f74; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-top: 22px;
  max-width: 800px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.stat > .icon {
  width: 26px;
  height: 26px;
  color: #63e8c5;
}

.stat > div { display: flex; flex-direction: column; gap: 1px; }
.stat strong { font-size: 17px; font-weight: 800; color: #fff; }
.stat span { font-size: 11px; color: #d0e0f0; }

.hero-handwriting {
  position: absolute;
  top: 54px;
  left: 60%;
  color: #fff;
  font-size: 20px;
  font-family: "Segoe Print", "Comic Sans MS", cursive;
  line-height: 1.1;
  transform: rotate(-10deg);
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.6);
}

.hero-handwriting span {
  display: inline-block;
  font-size: 32px;
  margin-left: 70px;
  line-height: 0.2;
  transform: rotate(15deg);
}

.hero-benefits {
  position: absolute;
  right: 0;
  top: 36px;
  width: 175px;
  padding: 14px 14px;
  border-radius: 12px;
  background: linear-gradient(145deg, #1a566eee, #173d5eee);
  border: 1px solid #31738a;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 10px;
  backdrop-filter: blur(12px);
}

.hero-benefits div {
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}

.hero-benefits .icon {
  width: 18px;
  height: 18px;
  padding: 2px;
  border-radius: 50%;
  color: #0b453d;
  background: #77f1ca;
  stroke-width: 3;
}

/* Directory Layout */
.directory {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  gap: 26px;
  padding-top: 24px;
  padding-bottom: 24px;
  background: #fff;
}

.directory-main { min-width: 0; }

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.section-heading h2 {
  font-size: 18px;
  letter-spacing: -0.4px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--ink);
}

.section-heading p {
  font-size: 12px;
  color: var(--muted); /* Contrast compliant */
  margin-top: 3px;
}

.outline-button {
  height: 34px;
  border: 1px solid #d8e2ef;
  border-radius: 8px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: #2b496c;
  font-size: 11px;
  font-weight: 750;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(218, 228, 237, 0.4);
  transition: border-color 0.15s, color 0.15s;
}

.outline-button:hover {
  border-color: #08ba96;
  color: #00876b;
}

/* Job Cards */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.job-card {
  min-height: 165px;
  border-radius: 10px;
  border: 1px solid #e1e7f0;
  background: #fff;
  padding: 14px 13px 12px;
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.job-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20, 74, 107, 0.12);
  border-color: #b7dfd6;
}

.job-heading {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.job-logo {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 900;
}

.notion-logo { color: #111; border: 2px solid #111; font-family: Georgia, serif; }
.shopify-logo { background: #91be30; color: white; font-style: italic; }
.hubspot-logo { color: #ff6b48; font-size: 26px; }
.canva-logo { font-size: 11px; color: #fff; background: linear-gradient(145deg, #00d2c5, #4c3ce9); border-radius: 50%; font-style: italic; }
.gitlab-logo { font-size: 22px; }
.automattic-logo { background: #0087be; color: white; border-radius: 6px; }
.buffer-logo { background: #231f20; color: white; border-radius: 6px; }
.canonical-logo { background: #77216f; color: white; border-radius: 6px; }

.job-heading > div {
  min-width: 0;
  overflow: hidden;
}

.job-heading h3 {
  font-size: 12px;
  font-weight: 780;
  line-height: 1.3;
}

.job-title-link {
  color: var(--ink);
  transition: color 0.15s;
}

.job-title-link:hover { color: #009675; }

.company-name {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 1px;
}

.featured-pill {
  position: absolute;
  right: 0;
  top: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #00876b;
  background: #d8fff0;
  padding: 4px 8px;
  border-radius: 5px 0 0 5px;
}

.job-tags {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.job-tags > span {
  background: #f2f5f9;
  border-radius: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  color: #2c425e; /* Contrast compliant */
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.job-tags .icon { width: 12px; height: 12px; }

.eligibility-pill { font-weight: 700 !important; }
/* The "Open to: …" badge can list several countries: let it wrap inside the card. */
.job-tags > .eligibility-pill { white-space: normal; max-width: 100%; }
.job-card { min-width: 0; }
.eligibility-india { background: #e8f7fa !important; color: #006b5b !important; border: 1px solid #bceae4; }
.eligibility-global { background: #eef3ff !important; color: #1e4591 !important; border: 1px solid #c7d8fa; }

.salary {
  font-size: 12px;
  font-weight: 750;
  color: #1f3754;
  margin-top: 8px;
}

.salary-period {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
}

.skill-tags {
  margin-top: 8px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.skill-tags span {
  background: #f0f3f8;
  color: #2c425e;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 6px;
}

.job-card-actions {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #f0f4f9;
}

.btn-inspect {
  background: none;
  border: 0;
  color: #00876b;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 0;
  cursor: pointer;
}

.btn-inspect:hover { text-decoration: underline; }

.btn-apply-direct {
  background: var(--green-strong);
  color: #fff;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 9px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 0.15s;
}

.btn-apply-direct:hover { background: #006650; }
.btn-apply-direct .icon { width: 11px; height: 11px; }

.search-summary {
  margin-top: 14px;
  background: #e6faf4;
  color: #075944;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
}

/* Categories Section */
.categories-section { margin-top: 24px; }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
  gap: 10px;
}

.category-card {
  min-height: 86px;
  border: 1px solid #e1e7f2;
  border-radius: 9px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--ink);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.category-card:hover, .category-card.active {
  transform: translateY(-2px);
  border-color: #00b48e;
  background: #f7fffd;
}

.cat-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  margin-bottom: 2px;
}

.cat-icon .icon { width: 19px; height: 19px; }

.cat-blue { background: #e0f0ff; color: #1e7bc4; }
.cat-pink { background: #ffebf8; color: #b83398; }
.cat-orange { background: #fff2dc; color: #b56c00; }
.cat-green { background: #dff9ed; color: #008763; }
.cat-purple { background: #f1e6ff; color: #6b2ac9; }

.category-card strong {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

.category-card small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

/* Companies Strip */
.companies-section { margin-top: 24px; }
.company-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 9px;
}

.company-logo {
  height: 44px;
  background: #fff;
  border-radius: 9px;
  border: 1px solid #dbe2ee;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px;
  font-size: 12px;
  font-weight: 750;
  color: #192a45;
  transition: border-color 0.15s, transform 0.15s;
}

.company-logo:hover, .company-logo.active {
  border-color: #00b48e;
  transform: translateY(-1px);
  background: #f7fffd;
}

.company-badge-icon { margin-right: 5px; font-size: 14px; }

.company-disclaimer {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
}

.company-disclaimer .icon {
  width: 14px;
  height: 14px;
  color: #00b48e;
}

/* Sidebar Promos */
.side-promos {
  border-left: 1px solid #edf1f6;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Desktop: the promo column stays in view while the (longer) main column scrolls. */
@media (min-width: 1051px) {
  .directory > .side-promos { position: sticky; top: 16px; align-self: start; }
}

.promo-card {
  border-radius: 11px;
  border: 1px solid #dfe9f4;
  padding: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(22, 61, 96, 0.08);
}

.promo-card h3 {
  position: relative;
  z-index: 2;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 8px;
  color: var(--ink);
}

.promo-card p {
  position: relative;
  z-index: 2;
  color: #4a5e78;
  font-size: 12px;
  line-height: 1.4;
}

.promo-card button {
  position: relative;
  z-index: 2;
  margin-top: 12px;
  background: #fff;
  border: 1px solid #cfdeed;
  border-radius: 7px;
  padding: 8px 12px;
  color: #1e456d;
  font-weight: 750;
  font-size: 11px;
  display: flex;
  gap: 6px;
  align-items: center;
  box-shadow: 0 2px 4px rgba(18, 43, 72, 0.08);
  transition: border-color 0.15s, background 0.15s;
}

.promo-card button:hover {
  background: #f7fbff;
  border-color: #00b48e;
}

.promo-card button .icon { width: 13px; height: 13px; }

.india-promo {
  min-height: 165px;
  background: linear-gradient(90deg, #f2f7fe 0%, #e9f7fa 66%, #d0edfd 100%);
}

.india-promo:after {
  content: "";
  position: absolute;
  inset: 0 0 0 60%;
  background: url('assets/india-gate-reference.png') center/cover no-repeat;
  opacity: 0.8;
  mask-image: linear-gradient(90deg, transparent, black 35%);
}

.india-promo .flag { font-size: 22px; margin-bottom: 6px; }

.salary-promo {
  min-height: 135px;
  background: linear-gradient(120deg, #f1fcff, #dbf9f7);
}

.salary-promo .promo-icon {
  background: #80ded1;
  color: #034b42;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  float: left;
  margin-right: 10px;
}

.salary-bars {
  position: absolute;
  right: 12px;
  bottom: 16px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 60px;
}

.salary-bars i {
  width: 9px;
  background: linear-gradient(#32d8ed, #2174bc);
  display: block;
  border-radius: 2px 2px 0 0;
}

.salary-bars i:nth-child(1) { height: 18px; }
.salary-bars i:nth-child(2) { height: 32px; }
.salary-bars i:nth-child(3) { height: 46px; }
.salary-bars i:nth-child(4) { height: 58px; }

.trust-promo {
  background: linear-gradient(115deg, #e7fff5, #e0faf2);
  padding: 15px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.trust-grid div {
  min-height: 72px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 2px;
}

.trust-grid .icon {
  color: #009670;
  width: 22px;
  height: 22px;
}

.trust-grid div span {
  text-align: center;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
  color: #2a475d;
}

/* Feature Pillars Section (Replacing fake testimonials) */
.testimonials {
  background: linear-gradient(#fff, #f8faff);
  border-top: 1px solid #edf2f8;
  padding: 24px 0 28px;
}

.carousel-buttons { display: flex; gap: 8px; }
.carousel-buttons button {
  width: 36px;
  height: 36px;
  border: 1px solid #d4dfea;
  background: #fff;
  color: #3f556e;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: border-color 0.15s, background 0.15s;
}

.carousel-buttons button:hover {
  border-color: #00b48e;
  color: #00876b;
  background: #f7fffd;
}

.features-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.feature-pillar-card {
  border: 1px solid #e1e7f0;
  background: #fff;
  border-radius: 12px;
  padding: 20px 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e6faf4;
  color: #009670;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.pillar-icon .icon { width: 22px; height: 22px; }

.pillar-content h3 {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.3;
}

.pillar-content p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.pillar-tag {
  position: absolute;
  right: 16px;
  top: 18px;
  font-size: 10px;
  font-weight: 750;
  color: #00876b;
  background: #d8fff0;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Footer */
.site-footer {
  background: linear-gradient(110deg, #061d36, #062342 70%, #06375c);
  color: white;
  padding: 24px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.site-footer .brand { font-size: 20px; }
.footer-brand p {
  font-size: 12px;
  line-height: 1.4;
  color: #c8d8ea;
  margin-top: 8px;
}

.socials { display: flex; gap: 12px; margin-top: 12px; }
.socials a {
  font-size: 14px;
  font-weight: 700;
  color: #b1c3d7;
  padding: 4px;
}

.socials a:hover { color: #6ae8cf; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.site-footer h3 {
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.footer-links a {
  font-size: 12px;
  color: #cad9eb;
  line-height: 1.3;
  transition: color 0.15s;
}

.footer-links a:hover { color: #6ae8cf; }

.footer-newsletter h3 { font-size: 13px; }
.footer-newsletter p {
  color: #cad9eb;
  font-size: 11px;
  margin: 3px 0 10px;
}

.footer-newsletter > div { display: flex; gap: 8px; }

.footer-newsletter input {
  height: 34px;
  min-width: 0;
  flex: 1;
  padding: 0 12px;
  background: #fff;
  border: 1px solid #dce6ed;
  border-radius: 6px;
  font-size: 12px;
  color: #111;
}

.footer-newsletter button {
  height: 34px;
  background: #00b48e;
  border: 0;
  border-radius: 6px;
  color: white;
  font-size: 11px;
  font-weight: 750;
  padding: 0 16px;
  transition: background 0.15s;
}

.footer-newsletter button:hover { background: #009675; }

.newsletter-consent {
  font-size: 10px !important;
  color: #9cb5ce !important;
  margin-top: 6px !important;
}

.newsletter-feedback {
  margin-top: 8px;
  background: #075944;
  color: #bffff0;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 11px;
}

.design-notice {
  color: #d2e2f2; /* WCAG AAA contrast */
  font-size: 11px;
  margin-top: 20px;
  text-align: center;
  line-height: 1.4;
}

/* Modals & Dialogs */
dialog {
  border: 1px solid #cce1da;
  border-radius: 16px;
  max-width: 540px;
  width: calc(100% - 32px);
  padding: 28px;
  box-shadow: 0 20px 80px rgba(4, 27, 49, 0.5);
  color: var(--ink);
  background: #fff;
  position: relative;
}

dialog::backdrop {
  background: rgba(6, 28, 53, 0.75);
  backdrop-filter: blur(5px);
}

.modal-close {
  position: absolute;
  right: 14px;
  top: 14px;
  background: none;
  border: 0;
  color: #556c86;
  padding: 6px;
  cursor: pointer;
  border-radius: 6px;
}

.modal-close:hover { background: #f0f4f9; color: #111; }

.modal-icon {
  background: #e3fcf2;
  color: #03a887;
  border-radius: 12px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.modal-icon .icon { width: 26px; height: 26px; }

dialog h2 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
dialog h3 { font-size: 14px; font-weight: 750; margin: 12px 0 6px; }
dialog p { color: #475a75; line-height: 1.5; font-size: 13px; margin-bottom: 12px; }

.modal-text-content {
  max-height: 60vh;
  overflow-y: auto;
  text-align: left;
  padding-right: 6px;
}

.modal-text-content ul, .modal-text-content ol {
  padding-left: 20px;
  margin: 8px 0;
  font-size: 13px;
  color: #3b506b;
  line-height: 1.5;
}

.modal-text-content li { margin-bottom: 6px; }

/* Job Detail Modal Specifics */
.job-modal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  text-align: left;
}

.modal-company-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #00876b;
}

.job-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: #f7f9fd;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 12px;
  text-align: left;
  margin-bottom: 16px;
}

.job-modal-grid div strong { color: #172a44; }

.job-modal-desc-container {
  text-align: left;
  margin-bottom: 20px;
  border-top: 1px solid #edf2f8;
  padding-top: 12px;
}

.job-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Modal Form Controls */
.modal-form { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.modal-form label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; color: #223751; }
.form-input {
  border: 1px solid #ccd8e6;
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 13px;
  color: #111;
  background: #fff;
}

.form-input:focus { border-color: #00b48e; }
.modal-form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 10px; }

.no-jobs {
  grid-column: 1 / -1;
  border: 1px dashed #b5cbd2;
  border-radius: 9px;
  padding: 30px;
  color: #3b5a68;
  background: #f7fffe;
  text-align: center;
}

/* Responsive Media Queries */
@media (max-width: 1280px) {
  .container { width: min(1180px, calc(100% - 56px)); }
  .primary-nav { gap: 18px; }
  .directory { grid-template-columns: minmax(0, 1fr) 280px; gap: 20px; }
  .side-promos { padding-left: 18px; }
  .hero-stats { gap: 24px; }
  .hero-benefits { right: 8px; }
  .footer-grid { gap: 16px; }
}

@media (max-width: 1050px) {
  .primary-nav { gap: 12px; }
  .primary-nav a { font-size: 12px; }
  .directory { grid-template-columns: minmax(0, 1fr); }
  .side-promos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 0;
    padding: 0;
    margin-top: 16px;
    gap: 14px;
  }
  .hero-benefits { display: none; }
  .hero-handwriting { left: 68%; }
  .features-track { grid-template-columns: 1fr; }
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    row-gap: 20px;
  }
  .footer-newsletter { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  .container { width: calc(100% - 32px); }
  .site-header { height: 60px; }
  .header-actions .btn-light { display: none; }
  .mobile-menu { display: grid; place-items: center; }
  
  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
    background: #062742;
    padding: 16px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 12px 24px rgba(5, 27, 48, 0.5);
  }

  .primary-nav.open { display: flex; }
  .primary-nav a { font-size: 14px; }

  .hero { min-height: 520px; }
  .hero-art { width: 100%; opacity: 0.45; }
  .hero-art img { object-position: 40% center; }
  .hero-content { padding-top: 24px; }
  .hero h1 { font-size: 36px; }

  .search-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }

  .search-query { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid #e1e8f0; }
  .location-field { border-bottom: 1px solid #e1e8f0; }
  .type-field { border-bottom: 1px solid #e1e8f0; }
  .search-button { grid-column: 1 / -1; margin-top: 8px; min-height: 44px; }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .hero-handwriting { display: none; }
  .jobs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .categories-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .company-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .side-promos { grid-template-columns: 1fr 1fr; }
  .side-promos .trust-promo { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-newsletter { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  /* Keep the menu button on screen; the employer link is also in the footer */
  .header-actions .btn-green { display: none; }
}

@media (max-width: 360px) {
  /* Small phones (320-360px): logo + search + menu must fit without sideways scrolling */
  .header-inner { gap: 10px; }
  .brand { font-size: 20px; gap: 6px; }
  .header-actions { gap: 6px; }
}

@media (max-width: 480px) {
  .container { width: calc(100% - 24px); }
  .hero h1 { font-size: 30px; letter-spacing: -1.2px; }
  .hero-content > p { font-size: 14px; }
  /* minmax(0, 1fr), not 1fr: a plain 1fr column grows to its widest content (a long "Open to"
     badge made home-page cards ~620px wide on phones and the page scrolled sideways). */
  .jobs-grid { grid-template-columns: minmax(0, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .company-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-promos { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .job-modal-grid { grid-template-columns: 1fr; }
  .job-modal-footer { flex-direction: column-reverse; }
  .job-modal-footer a, .job-modal-footer button { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ==========================================================================
   ADSENSE POLICY-COMPLIANT AD SLOTS & EDITORIAL PAGE STYLING
   Compliant with Google Ad Placement Policies (ans/1346295 & pubpol/11112688)
   ========================================================================== */

/* Ad Slot Container — clear label, spacing away from buttons, reserved height to limit layout shift */
.ad-slot-container {
  margin: 32px 0;
  padding: 12px 0;
  background: transparent;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.ad-slot-container[hidden] {
  display: none !important;
}

/* Ad Label — Only "ADVERTISEMENT" or "SPONSORED LINKS" permitted by AdSense policy */
.ad-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 10px;
  display: inline-block;
}

.ad-content-slot {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-placeholder-wireframe {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 728px;
  min-height: 90px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 12px;
}

.ad-placeholder-text {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

/* Standalone Editorial & Policy Pages */
.editorial-page {
  padding: 40px 0 60px;
  min-height: calc(100vh - 400px);
}

.editorial-card {
  background: #ffffff;
  border: 1px solid #e1e7f0;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 16px rgba(12, 38, 62, 0.05);
  max-width: 900px;
  margin: 0 auto;
}

.editorial-header {
  border-bottom: 1px solid #eef2f7;
  padding-bottom: 24px;
  margin-bottom: 28px;
}

.editorial-header h1 {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 8px;
}

.editorial-subtitle {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

.editorial-body {
  color: #334155;
  line-height: 1.7;
  font-size: 14.5px;
}

.editorial-body h2 {
  font-size: 19px;
  font-weight: 750;
  color: var(--navy);
  margin: 32px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #f1f5f9;
}

.editorial-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  margin: 20px 0 8px;
}

.editorial-body p {
  margin-bottom: 14px;
}

.editorial-body ul, .editorial-body ol {
  margin: 10px 0 18px 24px;
}

.editorial-body li {
  margin-bottom: 8px;
}

.editorial-body code {
  background: #f1f5f9;
  color: #0f172a;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.contact-box {
  background: #f8fafc;
  border-left: 4px solid var(--teal);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 20px 0;
}

.contact-box p {
  margin-bottom: 6px;
}

.contact-box p:last-child {
  margin-bottom: 0;
}

.external-policy-link {
  display: inline-block;
  margin-top: 6px;
  color: #00876b;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.15s;
}

.external-policy-link:hover {
  color: #005a47;
}

/* Standards Detail Cards */
.standards-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

.standards-detail-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
}

.standards-detail-card h3 {
  margin-top: 0;
  color: var(--navy);
}

@media (max-width: 780px) {
  .editorial-card {
    padding: 24px 18px;
  }
  .editorial-header h1 {
    font-size: 24px;
  }
  .standards-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PRODUCTION SSR & DEDICATED DETAIL/CATEGORY/COMPANY VIEW STYLES
   ========================================================================== */

/* Breadcrumb Navigation */
.breadcrumb-nav {
  margin-bottom: 24px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.breadcrumb-list a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.breadcrumb-list a:hover {
  color: #005a47;
  text-decoration: underline;
}

.breadcrumb-list li[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

/* Trend Links (Semantic anchor tags in hero) */
.trend-link {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.trend-link:hover {
  background: #ffffff;
  color: var(--navy);
}

/* Job Detail Page Layout */
.job-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}

.job-detail-card {
  background: #ffffff;
  border: 1px solid #e1e7f0;
  border-radius: 12px;
  padding: 36px;
  box-shadow: 0 4px 16px rgba(12, 38, 62, 0.05);
}

.job-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid #eef2f7;
}

.job-detail-h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 6px 0;
}

.job-detail-sub {
  font-size: 15px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.company-link-brand {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.15s;
}

.company-link-brand:hover {
  color: var(--teal);
  text-decoration: underline;
}

.verified-badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #00876b;
  background: #d8fff0;
  padding: 3px 8px;
  border-radius: 5px;
}

/* Job Meta Grid */
.job-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
  margin: 24px 0;
}

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

.meta-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.meta-value {
  font-size: 14px;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.salary-highlight {
  font-size: 17px;
  font-weight: 800;
  color: #00876b;
}

/* Apply Banner */
.apply-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, #062742 0%, #0d3d63 100%);
  color: #ffffff;
  padding: 24px 28px;
  border-radius: 10px;
  margin: 24px 0 32px 0;
  flex-wrap: wrap;
}

.apply-banner h3 {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.apply-banner p {
  font-size: 13px;
  color: #cbd5e1;
  margin: 0;
}

.apply-main-btn {
  height: 44px;
  padding: 0 24px;
  font-size: 14px;
  white-space: nowrap;
}

/* Job Content Sections */
.job-section {
  margin-bottom: 28px;
}

.job-section h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 12px 0;
  padding-bottom: 6px;
  border-bottom: 1px solid #f1f5f9;
}

.lead-text {
  font-size: 15px;
  line-height: 1.7;
  color: #334155;
}

.bullet-list {
  padding-left: 20px;
  margin: 12px 0;
  color: #334155;
  line-height: 1.65;
  font-size: 14.5px;
}

.bullet-list li {
  margin-bottom: 8px;
}

.large-tags span {
  font-size: 12px;
  padding: 6px 12px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #334155;
}

/* Anti-Scam Notice */
.anti-scam-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 16px 20px;
  margin: 28px 0;
  font-size: 13px;
  color: #92400e;
  line-height: 1.5;
}

.notice-icon {
  color: #d97706;
  flex-shrink: 0;
}

.notice-icon .icon {
  width: 24px;
  height: 24px;
}

.anti-scam-notice a {
  color: #b45309;
  text-decoration: underline;
  font-weight: 700;
}

.job-detail-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid #eef2f7;
  flex-wrap: wrap;
}

/* Job Detail Sidebar */
.job-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-box {
  background: #ffffff;
  border: 1px solid #e1e7f0;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(12, 38, 62, 0.04);
}

.sidebar-box h3 {
  font-size: 16px;
  font-weight: 750;
  color: var(--navy);
  margin: 0 0 10px 0;
}

.sidebar-box p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.related-jobs-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-jobs-list li {
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.related-jobs-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.related-job-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.35;
  transition: color 0.15s;
}

.related-job-title:hover {
  color: var(--teal);
}

.related-job-sub {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-top: 2px;
}

/* Category & Company Header Badges */
.cat-pill-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #00876b;
  background: #d8fff0;
  padding: 4px 10px;
  border-radius: 4px;
}

.category-meta-count {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.category-meta-count strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.category-meta-count span {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

/* Responsive Overrides for Detail & Category Pages */
@media (max-width: 900px) {
  .job-detail-layout {
    grid-template-columns: 1fr;
  }
  .job-meta-grid {
    grid-template-columns: 1fr;
  }
  .apply-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .apply-main-btn {
    width: 100%;
    justify-content: center;
  }
}



/* ==========================================================================
   2026-10 ADDITIONS: accessibility, guides, job/company details, mobile fixes
   ========================================================================== */

/* Active navigation item */
.primary-nav a.active,
.primary-nav a[aria-current="page"] {
  color: #67e8ca;
  box-shadow: inset 0 -2px 0 #67e8ca;
}

/* Visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #67e8ca;
  outline-offset: 2px;
}

/* Footer button styled as a link (Google CMP privacy settings) */
.footer-link-button {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  font: inherit;
  font-size: 12px;
  color: #cad9eb;
  cursor: pointer;
  line-height: 1.3;
}
.footer-link-button:hover { color: #6ae8cf; text-decoration: underline; }

/* Shared page title helpers */
.page-title { font-size: 32px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.page-intro { font-size: 16px; color: var(--muted); max-width: 760px; line-height: 1.6; }
.text-link { color: var(--teal); text-decoration: underline; }
.no-jobs-title { font-size: 18px; font-weight: 750; color: #1e293b; margin-bottom: 8px; }
.no-jobs a { color: var(--teal); text-decoration: underline; }
.no-jobs a.outline-button { text-decoration: none; }

/* Job detail extras */
.job-logo-lg { width: 48px; height: 48px; font-size: 24px; flex-shrink: 0; }
.job-dates { font-size: 13px; color: var(--muted); margin-top: 6px; }
.apply-banner .apply-banner-title { font-size: 18px; font-weight: 800; color: #ffffff; margin: 0 0 4px 0; border: 0; padding: 0; }
.sidebar-box .sidebar-title { font-size: 16px; font-weight: 750; color: var(--navy); margin: 0 0 10px 0; }
.sidebar-btn { width: 100%; justify-content: center; margin-top: 10px; }
.apply-unavailable { font-size: 13px; color: #fde68a; }
.apply-unavailable a { color: #ffffff; text-decoration: underline; }
.job-section a { color: var(--teal); text-decoration: underline; }
.job-detail-h1 { overflow-wrap: anywhere; }

/* Company profile */
.company-hero { margin-bottom: 28px; }
.company-hero-top { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.company-badge-lg { font-size: 36px; display: grid; place-items: center; width: 64px; height: 64px; background: #f1f5f9; border-radius: 12px; }
.company-title { font-size: 32px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.company-meta-strip { display: flex; gap: 24px; margin-top: 16px; font-size: 13px; color: #475569; flex-wrap: wrap; }
.fair-use-note { margin-top: 20px; padding: 12px 16px; background: #f8fafc; border-radius: 8px; border-left: 3px solid #cbd5e1; font-size: 12px; color: #475569; line-height: 1.5; }
.company-snapshot h2 { font-size: 20px; font-weight: 750; color: var(--navy); margin-bottom: 10px; }
.related-section { margin-top: 40px; border-top: 1px solid #e2e8f0; padding-top: 32px; }
.related-heading { font-size: 20px; font-weight: 750; color: var(--navy); margin-bottom: 16px; }

/* Guides */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.guide-grid-index { margin-top: 8px; }
.guide-card {
  display: flex; flex-direction: column; gap: 8px;
  background: #ffffff; border: 1px solid #e1e7f0; border-radius: 10px; padding: 18px;
  color: var(--ink); text-decoration: none; box-shadow: var(--shadow);
  transition: border-color 0.15s, transform 0.15s;
}
.guide-card:hover { border-color: var(--teal); transform: translateY(-1px); }
.guide-card strong, .guide-card h2 { font-size: 16px; font-weight: 750; color: var(--navy); line-height: 1.35; margin: 0; }
.guide-card span { font-size: 13px; color: var(--muted); line-height: 1.5; }
.guide-card small { font-size: 12px; color: var(--muted); margin-top: auto; }
.guides-header { margin-bottom: 24px; }
.guide-article { max-width: 860px; margin: 0 auto; }
.guide-meta { font-size: 13px; color: var(--muted); margin-top: 10px; }
.guide-toc { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 16px 20px; margin: 8px 0 24px; }
.guide-toc strong { display: block; font-size: 13px; color: var(--navy); margin-bottom: 8px; }
.guide-toc ol { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.8; }
.guide-toc a { color: var(--teal); }
.guide-callout { border-radius: 10px; padding: 14px 18px; margin: 18px 0; }
.guide-callout strong { display: block; font-size: 13px; margin-bottom: 4px; }
.guide-callout p { margin: 0; }
.guide-tip { background: #ecfdf5; border-left: 4px solid var(--teal); }
.guide-warning { background: #fffbeb; border-left: 4px solid #d97706; }
.guide-related-inline { margin: 20px 0; font-size: 14px; }
.guide-related-inline ul { margin: 6px 0 0; padding-left: 20px; }
.guide-related-inline a, .guide-sources a, .guide-disclaimer a { color: var(--teal); text-decoration: underline; }
.guide-sources { margin-top: 28px; border-top: 1px solid #e2e8f0; padding-top: 18px; }
.guide-sources h2 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.guide-sources ul { padding-left: 20px; font-size: 14px; line-height: 1.8; }
.guide-disclaimer { margin-top: 20px; font-size: 13px; color: var(--muted); line-height: 1.6; }
.guides-section { margin-top: 8px; }

/* Mobile: keep the job detail card and long words inside the viewport */
@media (max-width: 600px) {
  .job-detail-card { padding: 20px; }
  .job-detail-header { gap: 14px; }
  .apply-banner { padding: 18px; }
  .apply-main-btn { white-space: normal; height: auto; min-height: 44px; }
  .company-title, .page-title { font-size: 26px; }
  .editorial-card { overflow-wrap: anywhere; }
}

/* Decorative hero handwriting overlaps the subtitle on narrower screens */
@media (max-width: 1100px) {
  .hero-handwriting { display: none; }
}

/* Employer description excerpt on job pages */
.description-excerpt p { margin: 0 0 12px; line-height: 1.7; color: #334155; }
.description-excerpt h3 { font-size: 16px; font-weight: 750; color: var(--navy); margin: 18px 0 8px; }
.description-excerpt ul { margin: 0 0 12px; }
.description-more { font-size: 14px; color: var(--muted); }
.description-more a { color: var(--teal); text-decoration: underline; font-weight: 600; }

/* ==========================================================================
   AD PLACEMENT (plan v7 §6A): labelled, separated, reserved height, no CLS
   ========================================================================== */
.ad-slot {
  display: block;
  margin: 32px 0;
  padding: 12px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
  background: transparent;
}
.ad-slot .ad-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 8px;
}
/* Reserved space so ads don't push content around while loading */
.ad-format-display ins.adsbygoogle { min-height: 250px; }
.ad-format-in-article ins.adsbygoogle { min-height: 250px; }
.ad-format-multiplex ins.adsbygoogle { min-height: 400px; }
@media (max-width: 600px) {
  .ad-format-display ins.adsbygoogle { min-height: 280px; }
}
/* Desktop-only positions are never shown (or requested) on small screens */
@media (max-width: 899px) {
  .ad-desktop-only { display: none !important; }
}
/* Unfilled units collapse: no blank boxes */
ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }
.ad-slot:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: none !important; }
.ad-separated-section, .ad-multiplex-section { margin-top: 48px; }
.ad-separated-section:has(ins.adsbygoogle[data-ad-status="unfilled"]),
.ad-multiplex-section:has(ins.adsbygoogle[data-ad-status="unfilled"]),
.ad-sidebar-box:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: none !important; }
.ad-section-heading {
  font-size: 11px !important;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b !important;
  margin-bottom: 8px;
}
.guide-ai-note {
  margin-top: 20px;
  padding: 12px 16px;
  background: #f8fafc;
  border-left: 3px solid var(--teal);
  border-radius: 6px;
  font-size: 13px;
  color: #475569;
}
.guide-ai-note a { color: var(--teal); text-decoration: underline; }

/* Public forms */
.form-card { max-width: 720px; margin: 0 auto; }
.public-form { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.public-form label { font-weight: 600; font-size: 14px; color: var(--navy); margin-top: 8px; }
.public-form input, .public-form select, .public-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; font-size: 14px; }
.public-form button { margin-top: 12px; align-self: flex-start; }
.form-note { font-size: 13px; color: var(--muted); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Aggregator attribution line on job pages (plan v7 §2) */
.job-attribution { margin: -6px 0 18px; font-size: 0.9rem; color: var(--text-muted, #5b6472); }


/* SEO landing pages (plan v7 §5) */
.seo-intro { max-width: 820px; margin: 0 0 24px; line-height: 1.7; color: var(--text, #1f2937); }
.seo-intro h3 { font-size: 1.1rem; margin: 18px 0 6px; color: var(--navy); }
.seo-summary { background: var(--surface-alt, #f8fafc); border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px 22px; margin: 0 0 32px; }
.seo-summary h2 { font-size: 1.15rem; margin: 0 0 10px; color: var(--navy); }
.seo-summary-list { margin: 0; padding-left: 20px; line-height: 1.75; }
.seo-summary-note { margin: 10px 0 0; font-size: 0.85rem; color: var(--muted); }
.seo-about { margin-top: 40px; max-width: 820px; line-height: 1.7; }
.seo-related-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 20px; list-style: none; padding: 0; }
.pagination { display: flex; gap: 18px; align-items: center; justify-content: center; margin: 28px 0 8px; }

/* ---------------------------------------------------------------------------------------------
   Home page v2 (2026-10-24): modern layout, scoped to .home-v2 so other pages are unchanged.
   Brand: deep navy + mint. Every number shown comes from live listings (server/data/homeStats.js).
   --------------------------------------------------------------------------------------------- */
.home-v2 {
  --hv-text: #0c1c39;
  --hv-muted: #51627d;
  --hv-line: #e6ecf4;
  --hv-mint: #3ee8bd;
  --hv-sky: #7cc4ff;
  --hv-lift: 0 18px 36px rgba(16, 40, 80, 0.12);
  font-size: 15px;
}
.hv-container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.hv-section { padding: 64px 0; }
.hv-tint { background: linear-gradient(180deg, #f6f9fc, #f0f5fa); }

.hv-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.hv-head h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 850; letter-spacing: -0.8px; line-height: 1.15; color: var(--hv-text); }
.hv-head p { margin-top: 6px; color: var(--hv-muted); font-size: 15px; max-width: 640px; }
.hv-eyebrow { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #00a07d; margin-bottom: 8px; }
.hv-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 750; font-size: 14px; color: var(--teal); white-space: nowrap; padding: 8px 0; }
.hv-link .icon { width: 16px; height: 16px; transition: transform 0.2s; }
.hv-link:hover .icon { transform: translateX(3px); }
.hv-link-light { color: var(--hv-mint); }

/* Hero */
.hv-hero {
  position: relative; overflow: hidden; color: #fff; padding: 76px 0 84px;
  background:
    radial-gradient(1100px 560px at 85% -10%, rgba(91, 140, 255, 0.28), transparent 60%),
    radial-gradient(900px 520px at -5% 110%, rgba(62, 232, 189, 0.2), transparent 60%),
    linear-gradient(160deg, #051a33 0%, #072a4c 55%, #0a3a5f 100%);
}
.hv-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 85%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 85%);
}
.hv-glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; opacity: 0.28; }
.hv-glow-1 { width: 440px; height: 440px; background: #1fd1a5; right: -140px; top: -160px; }
.hv-glow-2 { width: 380px; height: 380px; background: #4f7dff; left: -160px; bottom: -180px; }
.hv-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.home-v2 .hero-content { padding: 0; max-width: none; }
.home-v2 h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.04; letter-spacing: -2px; font-weight: 900; margin: 20px 0 16px; color: #fff; }
.hv-grad { background: linear-gradient(90deg, var(--hv-mint), var(--hv-sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hv-sub { font-size: 17px; line-height: 1.6; color: #c9d7ea; max-width: 640px; margin-bottom: 28px; }
.home-v2 .hero-live, .hv-pill {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin: 0;
  padding: 7px 14px; border-radius: 999px; font-size: 13px; color: #d9e7f7;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
}
.home-v2 .hero-live strong { color: #fff; font-weight: 800; }
.hv-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hv-mint); flex-shrink: 0; animation: hv-pulse 2s infinite; }
@keyframes hv-pulse {
  0% { box-shadow: 0 0 0 0 rgba(62, 232, 189, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(62, 232, 189, 0); }
  100% { box-shadow: 0 0 0 0 rgba(62, 232, 189, 0); }
}

.home-v2 .search-panel {
  width: 100%; max-width: 740px; min-height: 64px; padding: 8px; border: 0; border-radius: 16px;
  box-shadow: 0 22px 50px rgba(0, 10, 30, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.home-v2 .search-field { height: 48px; }
.home-v2 .search-query { flex: 1.8; }
.home-v2 .location-field { flex: 1; border-right: 0; min-width: 150px; }
.home-v2 .search-field input, .home-v2 .search-field select { font-size: 14px; height: 32px; }
.home-v2 .search-panel .search-button { height: 48px; min-width: 150px; border-radius: 12px; font-size: 14px; background: linear-gradient(110deg, #10c79c, #00936f); }
.home-v2 .trends { margin-top: 18px; gap: 8px; }
.home-v2 .trends > span { color: #9fb3cc; font-size: 13px; }
.home-v2 .trend-link { padding: 6px 12px; font-size: 12px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); }
.hv-trust { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.hv-trust li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #c9d7ea; font-weight: 600; }
.hv-trust .icon { width: 17px; height: 17px; color: var(--hv-mint); }

/* Hero: live stack of the newest listings (desktop only) */
.hv-live-stack { position: relative; display: flex; flex-direction: column; gap: 12px; }
.hv-live-label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #9fe9d4; }
.hv-live-card {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; color: #fff;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0, 8, 24, 0.35); transition: transform 0.25s, background 0.25s;
}
.hv-live-card:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.11); }
.hv-live-2 { margin-left: 28px; }
.hv-live-3 { margin-left: 56px; opacity: 0.88; }
.hv-live-logo {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--hv-mint), #4f7dff); color: #062039; font-weight: 900; font-size: 18px;
}
.hv-live-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hv-live-text strong { font-size: 15px; line-height: 1.3; }
.hv-live-text small { font-size: 12px; color: #b9c9de; }
.hv-live-text em { font-style: normal; font-size: 11px; font-weight: 700; color: #9fe9d4; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Browse by country (bento) */
.home-v2 .countries-section { padding-bottom: 32px; }
.home-v2 .country-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.home-v2 .country-card {
  display: flex; align-items: center; gap: 14px; min-width: 0; padding: 18px; color: var(--hv-text);
  background: #fff; border: 1px solid var(--hv-line); border-radius: 16px; box-shadow: 0 1px 2px rgba(16, 40, 80, 0.04);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.home-v2 .country-card:hover { transform: translateY(-3px); box-shadow: var(--hv-lift); border-color: #bfeedd; }
.home-v2 .country-code {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: #e6faf4; color: #075944; font-size: 13px; font-weight: 850; letter-spacing: 0.3px;
}
.home-v2 .country-code .icon { width: 20px; height: 20px; }
.home-v2 .country-text { display: flex; flex-direction: column; min-width: 0; }
.home-v2 .country-text strong { font-size: 16px; font-weight: 800; overflow-wrap: anywhere; }
.home-v2 .country-text small { font-size: 13px; color: var(--teal); font-weight: 700; }
.home-v2 .country-card-world .country-code { background: #eef3ff; color: #1e4591; }
.home-v2 .country-card-all .country-code { background: #fff2dc; color: #a35f00; }
.home-v2 .country-card-feature {
  grid-column: span 2; grid-row: span 2; flex-wrap: wrap; align-content: flex-start; position: relative; overflow: hidden;
  padding: 26px; color: #fff; border-color: transparent; background: linear-gradient(140deg, #062a4c, #0b4a6e);
}
.home-v2 .country-card-feature::after {
  content: ""; position: absolute; width: 260px; height: 260px; right: -70px; bottom: -100px; border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 232, 189, 0.38), transparent 70%); pointer-events: none;
}
.home-v2 .country-card-feature .country-code { width: 58px; height: 58px; font-size: 17px; border-radius: 16px; background: var(--hv-mint); color: #062039; }
.home-v2 .country-card-feature .country-text strong { font-size: 28px; color: #fff; letter-spacing: -0.6px; }
.home-v2 .country-card-feature .country-text small { font-size: 15px; color: #9fe9d4; }
.country-feature-note { position: relative; z-index: 1; flex-basis: 100%; margin-top: auto; padding-top: 30px; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 650; color: #d6e4f3; }
.country-feature-note .icon { width: 16px; height: 16px; transition: transform 0.2s; }
.home-v2 .country-card-feature:hover .country-feature-note .icon { transform: translateX(4px); }

/* Latest jobs */
.home-v2 .featured-section { padding-top: 40px; }
.home-v2 .jobs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.home-v2 .job-card { min-height: 214px; padding: 18px; border-radius: 16px; border-color: var(--hv-line); box-shadow: 0 1px 2px rgba(16, 40, 80, 0.04); }
.home-v2 .job-card:hover { transform: translateY(-4px); box-shadow: var(--hv-lift); border-color: #bfeedd; }
.home-v2 .job-logo { width: 42px; height: 42px; border-radius: 12px; }
.home-v2 .job-heading h3 { font-size: 15px; line-height: 1.35; }
.home-v2 .company-name { font-size: 13px; }
.home-v2 .job-tags > span { font-size: 12px; border-radius: 999px; padding: 4px 10px; }
.home-v2 .salary { font-size: 13px; }
.home-v2 .skill-tags span { font-size: 11px; border-radius: 999px; padding: 3px 9px; }
.home-v2 .btn-inspect { font-size: 13px; }
.home-v2 .btn-apply-direct { font-size: 13px; padding: 8px 12px; border-radius: 10px; }
.home-v2 .no-jobs { border-radius: 16px; }
.see-all-row { display: flex; justify-content: center; margin-top: 30px; }
.see-all-button {
  display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 28px; border-radius: 14px;
  background: var(--green-strong); color: #fff; font-size: 15px; font-weight: 800;
  box-shadow: 0 12px 26px rgba(0, 122, 94, 0.25); transition: background 0.15s, transform 0.15s;
}
.see-all-button:hover { background: #00664e; transform: translateY(-2px); }
.home-v2 .ad-separated-section { margin: 8px auto 40px; }

/* Categories */
.home-v2 .categories-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-v2 .category-card {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px;
  align-items: center; justify-items: start; text-align: left; min-height: 84px; padding: 18px 20px;
  border-radius: 16px; border-color: var(--hv-line);
}
.home-v2 .category-card:hover { transform: translateY(-3px); box-shadow: var(--hv-lift); }
.home-v2 .cat-icon { grid-row: 1 / span 2; width: 48px; height: 48px; margin: 0; border-radius: 14px; }
.home-v2 .cat-icon .icon { width: 22px; height: 22px; }
.home-v2 .category-card strong { align-self: end; font-size: 15px; text-align: left; }
.home-v2 .category-card small { align-self: start; font-size: 13px; font-weight: 700; color: var(--teal); }

/* Job types + skills */
.browse-more-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 20px; }
.browse-block { min-width: 0; padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--hv-line); }
.browse-block h2 { font-size: 22px; font-weight: 850; letter-spacing: -0.5px; color: var(--hv-text); }
.browse-block p { font-size: 14px; color: var(--hv-muted); margin: 4px 0 18px; }
.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.count-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: #f6f9fc; border: 1px solid #dfe7f1; color: #1f3754; font-size: 14px; font-weight: 650;
  transition: border-color 0.15s, color 0.15s, background 0.15s, transform 0.15s;
}
.count-chip span { background: #e6faf4; color: #075944; border-radius: 999px; padding: 1px 8px; font-size: 12px; font-weight: 800; }
.count-chip:hover { border-color: #00b48e; color: var(--teal); background: #f2fffa; transform: translateY(-1px); }

/* Companies */
.home-v2 .companies-section { padding-top: 24px; }
.home-v2 .company-strip { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.home-v2 .company-logo { flex-direction: column; gap: 4px; min-height: 90px; height: auto; padding: 14px; border-radius: 16px; font-size: 15px; text-align: center; border-color: var(--hv-line); }
.home-v2 .company-logo:hover { transform: translateY(-3px); box-shadow: var(--hv-lift); }
.company-count { font-size: 12px; font-weight: 700; color: var(--teal); }
.home-v2 .company-disclaimer { margin-top: 16px; }

/* What is TrueJobs (dark band) */
.hv-dark {
  color: #fff;
  background:
    radial-gradient(800px 420px at 100% 0%, rgba(62, 232, 189, 0.14), transparent 60%),
    radial-gradient(700px 380px at 0% 100%, rgba(91, 140, 255, 0.14), transparent 60%),
    linear-gradient(160deg, #061a33, #0a2f52);
}
.home-v2 .about-section { padding: 76px 0; }
.about-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.about-top h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 900; letter-spacing: -1px; color: #fff; }
.about-tagline { color: #b9c9de; font-size: 16px; margin-top: 6px; }
.about-lead { margin-top: 22px; font-size: 16px; line-height: 1.75; color: #d3e0ef; max-width: 920px; }
.about-numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 34px 0; }
.about-numbers div { padding: 22px 18px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.about-numbers strong {
  display: block; font-size: clamp(30px, 3.4vw, 44px); font-weight: 900; letter-spacing: -1px; line-height: 1.1;
  background: linear-gradient(90deg, var(--hv-mint), var(--hv-sky)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about-numbers span { font-size: 13px; color: #b9c9de; font-weight: 600; }
.how-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.how-steps li { counter-increment: step; position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 22px 72px; border-radius: 18px; background: #fff; color: var(--hv-text); }
.how-steps li::before {
  content: counter(step); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 12px;
  display: grid; place-items: center; background: linear-gradient(135deg, var(--hv-mint), #00a982); color: #062039; font-weight: 900; font-size: 16px;
}
.how-steps strong { font-size: 15px; font-weight: 800; }
.how-steps span { font-size: 14px; color: var(--hv-muted); line-height: 1.55; }
.trust-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trust-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.6; color: #d3e0ef; }
.trust-points strong { color: #fff; }
.trust-points .icon { color: var(--hv-mint); margin-top: 2px; }
.trust-points a { color: var(--hv-mint); text-decoration: underline; }

/* Guides */
.home-v2 .guides-section { margin-top: 0; }
.home-v2 .guide-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.home-v2 .guide-card { gap: 10px; padding: 24px; border-radius: 18px; border-color: var(--hv-line); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.home-v2 .guide-card:hover { transform: translateY(-4px); box-shadow: var(--hv-lift); border-color: #bfeedd; }
.home-v2 .guide-card .guide-time { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; color: var(--teal); }
.home-v2 .guide-card strong { font-size: 18px; letter-spacing: -0.3px; }
.home-v2 .guide-card span { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.guide-more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: 14px; font-weight: 750; color: var(--teal); }
.guide-more .icon { width: 16px; height: 16px; transition: transform 0.2s; }
.guide-card:hover .guide-more .icon { transform: translateX(3px); }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); gap: 44px; align-items: start; }
.faq-intro h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 850; letter-spacing: -0.8px; line-height: 1.15; color: var(--hv-text); }
.faq-intro p { margin-top: 10px; font-size: 15px; color: var(--hv-muted); }
.faq-intro a { color: var(--teal); text-decoration: underline; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: #fff; border: 1px solid var(--hv-line); border-radius: 14px; padding: 0 20px; transition: box-shadow 0.2s; }
.faq-item[open] { box-shadow: 0 10px 26px rgba(16, 40, 80, 0.08); }
.faq-item summary { cursor: pointer; list-style: none; position: relative; padding: 18px 40px 18px 0; font-size: 16px; font-weight: 750; color: var(--hv-text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center; background: #e6faf4; color: var(--teal); font-size: 18px; font-weight: 700;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding: 0 0 18px; font-size: 15px; line-height: 1.7; color: #33465f; }

/* Responsive */
@media (max-width: 1050px) {
  .hv-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hv-live-stack { display: none; }
  .home-v2 .jobs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-v2 .categories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .browse-more-grid { grid-template-columns: minmax(0, 1fr); }
  .trust-points { grid-template-columns: minmax(0, 1fr); }
  .faq-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 780px) {
  .hv-container { width: calc(100% - 32px); }
  .hv-section { padding: 44px 0; }
  .hv-hero { padding: 40px 0 52px; }
  .home-v2 .location-field { grid-column: 1 / -1; }
  .hv-head, .about-top { flex-direction: column; align-items: flex-start; gap: 6px; }
  .home-v2 .country-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-v2 .country-card-feature { grid-row: auto; }
  .country-feature-note { padding-top: 14px; }
  .about-numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-steps { grid-template-columns: minmax(0, 1fr); }
  .hv-trust { gap: 10px 16px; }
  .hv-trust li { font-size: 12px; }
}
@media (max-width: 480px) {
  .hv-container { width: calc(100% - 24px); }
  .home-v2 h1 { font-size: 36px; letter-spacing: -1.2px; }
  .hv-sub { font-size: 15px; }
  .home-v2 .jobs-grid { grid-template-columns: minmax(0, 1fr); }
  /* Phones: 6 latest jobs, then straight on to categories ("See all" follows) */
  .home-v2 .featured-section .jobs-grid > .job-card:nth-child(n+7) { display: none; }
  .home-v2 .categories-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .home-v2 .category-card { min-height: 72px; padding: 14px 16px; }
  .home-v2 .company-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-v2 .country-card { padding: 14px; gap: 10px; }
  .home-v2 .country-code { width: 38px; height: 38px; font-size: 12px; }
  .home-v2 .country-text strong { font-size: 14px; }
  .home-v2 .country-card-feature .country-text strong { font-size: 22px; }
  .about-numbers div { padding: 16px 12px; }
  .how-steps li { padding: 18px 18px 18px 64px; }
  .browse-block { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .hv-dot { animation: none; }
}

/* Article image (one per article, 2026-10-25) */
.guide-figure { margin: 4px 0 24px; }
.guide-figure img { display: block; width: 100%; height: auto; border-radius: 14px; background: #eef3f8; }
.guide-figure figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.5; }
