/* ═══════════════════════════════════════════════════════════════
   JOB AND YOU — Public Pages CSS
   Covers: Hero · Jobs · News · Article · Categories · Adverts
   ═══════════════════════════════════════════════════════════════ */

/* ── SECTION HEADERS ─────────────────────────────────────────── */
.section-eyebrow {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .35rem;
}
.section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
}
.section-header--center {
  justify-content: center;
  text-align: center;
}
.section--bg { background: var(--bg-grey); }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 55%, #1A4A80 100%);
  padding: 5rem 0 4.5rem;
  overflow: hidden;
}
.hero--with-video {
  background: #081a35;
}
.hero__media,
.hero__video-overlay,
.hero__bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__media {
  z-index: 0;
  overflow: hidden;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  filter: saturate(.9) contrast(1.02) brightness(.5);
}
.hero__video-overlay {
  z-index: 1;
  background:
    radial-gradient(circle at top left, rgba(244,163,0,.18), transparent 32%),
    linear-gradient(135deg, rgba(5,15,31,.86) 0%, rgba(8,26,53,.7) 48%, rgba(13,43,85,.82) 100%);
}
.hero__bg-shapes { z-index: 2; }
.hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: .06;
  background: #fff;
}
.hero__shape--1 { width: 600px; height: 600px; top: -200px; right: -150px; }
.hero__shape--2 { width: 300px; height: 300px; bottom: -100px; left: 5%; }
.hero__shape--3 { width: 180px; height: 180px; top: 60px; left: 40%; opacity: .04; }

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}
.hero__intro-panel {
  max-width: 760px;
  margin: 0 auto 1.35rem;
  padding: 1.6rem 1.8rem 1.35rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(8,25,52,.54) 0%, rgba(8,25,52,.36) 100%);
  box-shadow: 0 24px 60px rgba(4,12,25,.28);
  backdrop-filter: blur(10px);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 2rem;
  padding: .35rem 1rem;
  font-size: .85rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 1.5rem;
}
.hero__eyebrow span { color: var(--gold); font-weight: 700; }
.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.1rem;
  letter-spacing: -.02em;
}
.hero__title em {
  font-style: normal;
  color: var(--gold);
  position: relative;
}
.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.hero__meta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 0;
}

/* Hero Search */
.hero__search { max-width: 720px; margin: 0 auto 2rem; }
.hero__search-fields {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: .5rem;
}
.hero__search-field {
  position: relative;
  display: flex;
  align-items: center;
}
.hero__search-icon {
  position: absolute;
  left: .85rem;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.55);
  pointer-events: none;
  z-index: 1;
}
.hero__search-input {
  width: 100%;
  padding: .8rem .9rem .8rem 2.5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  color: #fff;
  font-family: var(--font-body);
  font-size: .95rem;
  transition: all var(--transition);
}
.hero__search-input::placeholder { color: rgba(255,255,255,.5); }
.hero__search-input:focus {
  outline: none;
  background: rgba(255,255,255,.2);
  border-color: var(--gold);
}
.hero__search-btn {
  white-space: nowrap;
  border-radius: var(--radius) !important;
  padding: .8rem 1.75rem !important;
}
.hero__search-hints {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: .85rem;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
}
.hero__hint-tag {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 2rem;
  padding: .2rem .7rem;
  color: rgba(255,255,255,.75);
  transition: all var(--transition);
  text-decoration: none;
}
.hero__hint-tag:hover {
  background: rgba(244,163,0,.25);
  border-color: var(--gold);
  color: var(--gold);
}

/* Hero Stats */
.hero__stats {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}
.hero__stat { text-align: center; }
.hero__stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-head);
}
.hero__stat span {
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.hero__stat-divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(255,255,255,.2);
}

/* SEO shortcuts */
.seo-shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.seo-shortcut-card {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  min-height: 100%;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(245,248,253,.98) 100%);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.seo-shortcut-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: var(--shadow);
}
.seo-shortcut-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
}
.seo-shortcut-card__icon {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: .9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .04em;
}
.seo-shortcut-card__count {
  display: inline-flex;
  align-items: center;
  padding: .32rem .7rem;
  border-radius: 999px;
  background: var(--blue-pale);
  color: var(--blue);
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 700;
  white-space: nowrap;
}
.seo-shortcut-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--navy);
}
.seo-shortcut-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.65;
}
.seo-shortcut-card__link {
  margin-top: auto;
  font-family: var(--font-head);
  font-size: .84rem;
  font-weight: 700;
  color: var(--blue);
}

/* ── PAGE HERO (inner pages) ─────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  padding: 3.5rem 0;
  color: #fff;
}
.page-hero--sm { padding: 2.5rem 0; }
.page-hero__title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .5rem;
}
.page-hero__sub { color: rgba(255,255,255,.65); font-size: 1rem; }
.page-hero__sub strong { color: #fff; }
.page-hero__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1rem;
}
.hero-mini-pill {
  display: inline-flex;
  align-items: center;
  padding: .35rem .8rem;
  border-radius: 2rem;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.82);
  font-size: .82rem;
}

/* ── JOB CARDS ───────────────────────────────────────────────── */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.25rem;
}
.jobs-list { display: flex; flex-direction: column; gap: 1rem; }

.job-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.job-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.job-card--featured {
  border-color: var(--gold);
  background: linear-gradient(135deg, #FFFDF0, var(--bg-white));
}
.job-card__featured-badge {
  position: absolute;
  top: -1px;
  right: 1rem;
  background: var(--gold);
  color: var(--navy);
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-family: var(--font-head);
}
.job-card__header { display: flex; gap: 1rem; align-items: center; }
.job-card__logo {
  width: 84px;
  height: 58px;
  border-radius: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(13,43,85,.03);
}
.job-card__logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px 8px; }
.job-card__logo-placeholder {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
  background: var(--blue-pale);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}
.job-card__logo-placeholder--lg {
  width: 64px;
  height: 64px;
  font-size: 1.2rem;
  border-radius: var(--radius);
}
.job-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 .2rem;
  line-height: 1.3;
}
.job-card__title a { color: var(--navy); text-decoration: none; }
.job-card__title a:hover { color: var(--blue); }
.job-card__company { font-size: .85rem; color: var(--text-muted); margin: 0; }
.job-card__meta {
  min-width: 0;
  flex: 1;
}
.job-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.job-tag {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  font-size: .75rem;
  font-weight: 500;
  padding: .25rem .6rem;
  border-radius: 2rem;
  background: var(--bg-grey);
  color: var(--text-mid);
  white-space: nowrap;
}
.job-tag--location  { background: var(--blue-pale);  color: var(--blue); }
.job-tag--remote    { background: var(--green-pale); color: var(--green); }
.job-tag--salary    { background: #FFF8E1;            color: #7A5800; }
.job-tag--deadline  { background: var(--red-pale);   color: var(--red); }
.job-tag--type      { background: var(--bg-grey);    color: var(--text-mid); }
.job-tag--category  { background: var(--blue-pale);  color: var(--blue); }

.job-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}
.job-card__date { font-size: .78rem; color: var(--text-muted); }
.job-card__actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.job-share-btn {
  min-width: 84px;
}
.job-share-btn--icon {
  min-width: 2.35rem;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}
.job-share-btn__icon {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}
.job-share-btn__icon circle,
.job-share-btn__icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── JOB LISTINGS PAGE LAYOUT ────────────────────────────────── */
.jobs-page-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}
.filter-sidebar {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.filter-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.filter-sidebar__header h2 { font-size: 1rem; margin: 0; }
.filter-clear { font-size: .8rem; color: var(--text-muted); }
.filter-clear:hover { color: var(--red); }
.filter-group { margin-bottom: 1.1rem; }
.filter-label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  color: var(--navy);
  margin-bottom: .4rem;
}
.filter-check-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--text-mid);
  cursor: pointer;
}
.filter-check-label input { accent-color: var(--blue); }
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1rem;
  background: var(--bg-grey);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: .9rem;
  color: var(--text-mid);
}
.results-bar__note { font-size: .82rem; color: var(--text-muted); }
.active-filters {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.active-filters__label,
.active-filters__clear {
  font-size: .82rem;
  color: var(--text-muted);
}
.active-filter-chip {
  display: inline-flex;
  align-items: center;
  padding: .35rem .75rem;
  border-radius: 2rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: .82rem;
}
.active-filter-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.jobs-quick-links {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
  box-shadow: var(--shadow-sm);
}
.jobs-quick-links__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.jobs-quick-links__title {
  margin: 0;
  font-size: 1.1rem;
  color: var(--navy);
}
.jobs-quick-links__reset {
  font-size: .85rem;
  color: var(--text-muted);
}
.jobs-quick-links__chips {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
}
.jobs-quick-link-chip {
  display: inline-flex;
  align-items: center;
  padding: .5rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  font-size: .86rem;
  font-weight: 600;
  transition: border-color var(--transition), color var(--transition), background var(--transition), transform var(--transition);
}
.jobs-quick-link-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}
.jobs-quick-link-chip.is-active {
  border-color: var(--blue);
  background: var(--blue-pale);
  color: var(--blue);
}
.jobs-help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.jobs-help-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
}
.jobs-help-card h3 {
  font-size: 1rem;
  margin-bottom: .5rem;
}
.jobs-help-card p {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 1rem;
}

/* ── JOB DETAIL PAGE ─────────────────────────────────────────── */
.job-detail-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  align-items: start;
}
.job-detail-header__top {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.job-detail-header__logo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg-grey);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.job-detail-header__logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.job-detail-header__title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .25rem;
  line-height: 1.2;
}
.job-detail-header__company { color: var(--text-muted); font-size: .95rem; }
.job-detail-header__company a { color: var(--blue); }
.job-detail-header__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.job-detail-header__meta { font-size: .8rem; color: var(--text-muted); }
.job-apply-cta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.job-apply-cta .btn { flex: 1; min-width: 180px; }
.job-description {
  font-size: .95rem;
  line-height: 1.8;
  color: var(--text-mid);
}
.job-description h1,.job-description h2,.job-description h3 { color: var(--navy); margin: 1.5rem 0 .75rem; }
.job-description p { margin-bottom: 1rem; }
.job-description ul,.job-description ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.job-description li { margin-bottom: .4rem; }
.job-apply-box .apply-btn-msg {
  padding: .85rem 1rem;
  border-radius: var(--radius);
  font-size: .875rem;
  font-weight: 600;
  text-align: center;
}
.apply-btn-msg--applied  { background: var(--green-pale); color: var(--green); }
.apply-btn-msg--expired  { background: var(--bg-grey);    color: var(--text-muted); }
.apply-btn-msg--info     { background: var(--blue-pale);  color: var(--blue); }

/* ── CATEGORIES GRID ─────────────────────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
.category-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  text-align: center;
  text-decoration: none;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
}
.category-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  background: var(--blue-pale);
}
.category-card__icon { font-size: 1.75rem; line-height: 1; }
.category-card__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  color: var(--navy);
  line-height: 1.3;
}
.category-card__count {
  font-size: .75rem;
  color: var(--text-muted);
}

/* ── NEWS CARDS ──────────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.news-grid--3 { grid-template-columns: repeat(3, 1fr); }

.news-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.news-card__img-wrap {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-grey);
}
.news-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-card__img-wrap img { transform: scale(1.04); }
.news-card__img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}
.news-card__body { padding: 1.1rem; flex: 1; display: flex; flex-direction: column; gap: .4rem; }
.news-card__category {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
}
.news-card__title { font-size: 1rem; font-weight: 700; line-height: 1.35; margin: 0; }
.news-card__title a { color: var(--navy); text-decoration: none; }
.news-card__title a:hover { color: var(--blue); }
.news-card__excerpt { font-size: .85rem; color: var(--text-muted); line-height: 1.5; margin: 0; flex: 1; }
.news-card__meta { font-size: .75rem; color: var(--text-light); display: flex; gap: .4rem; flex-wrap: wrap; margin-top: auto; }

/* ── NEWS SECTION (homepage) ─────────────────────────────────── */
.news-section__layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}
.news-section__sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); }

/* ── NEWS PAGE LAYOUT ────────────────────────────────────────── */
.news-page-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2.5rem;
  align-items: start;
}
.news-sidebar { position: sticky; top: calc(var(--header-h) + 1rem); }
.news-list { display: flex; flex-direction: column; gap: 1.5rem; }
.news-list-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.25rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.news-list-item:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.news-list-item__img {
  display: block;
  overflow: hidden;
  background: var(--bg-grey);
}
.news-list-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-list-item:hover .news-list-item__img img { transform: scale(1.04); }
.news-list-item__body { padding: 1.25rem 1.25rem 1.25rem 0; display: flex; flex-direction: column; gap: .4rem; }
.news-list-item__title { font-size: 1.1rem; font-weight: 700; line-height: 1.3; margin: 0; }
.news-list-item__title a { color: var(--navy); text-decoration: none; }
.news-list-item__title a:hover { color: var(--blue); }
.news-list-item__excerpt { font-size: .875rem; color: var(--text-muted); line-height: 1.6; }

/* ── ARTICLE PAGE ────────────────────────────────────────────── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}
.article-header { margin-bottom: 1.75rem; }
.article-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin: .6rem 0 .8rem;
}
.article-excerpt {
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-style: italic;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.article-hero-img {
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.article-hero-img img { width: 100%; max-height: 480px; object-fit: cover; }
.article-content {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-mid);
}
.article-content h2 { font-size: 1.5rem; color: var(--navy); margin: 2rem 0 .75rem; }
.article-content h3 { font-size: 1.2rem; color: var(--navy); margin: 1.5rem 0 .6rem; }
.article-content p  { margin-bottom: 1.25rem; }
.article-content ul,.article-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.article-content li { margin-bottom: .5rem; }
.article-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: var(--blue-pale);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--navy);
}
.article-content img { border-radius: var(--radius); max-width: 100%; }
.article-sidebar { position: sticky; top: calc(var(--header-h) + 1rem); }
.article-related { margin-top: 3rem; border-top: 1px solid var(--border); padding-top: 2rem; }

/* Social Share */
.article-share {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-wrap: wrap;
  margin: 2.5rem 0;
  padding: 1.25rem;
  background: var(--bg-grey);
  border-radius: var(--radius-lg);
}
.article-share__label { font-weight: 600; font-size: .875rem; color: var(--navy); }
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .8rem;
  font-weight: 700;
  padding: .4rem .9rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: opacity var(--transition);
}
.share-btn:hover { opacity: .85; }
.share-btn--linkedin  { background: #0077B5; color: #fff; }
.share-btn--twitter   { background: #000;    color: #fff; }
.share-btn--facebook  { background: #1877F2; color: #fff; }
.share-btn--whatsapp  { background: #25D366; color: #fff; }

/* ── SIDEBAR WIDGETS ─────────────────────────────────────────── */
.sidebar-widget {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.sidebar-widget__title {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: .9rem;
}
.sidebar-widget--cta {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  border-color: transparent;
}
.sidebar-widget--cta h3 { color: #fff; font-size: 1rem; margin-bottom: .4rem; }
.sidebar-widget--cta p  { color: rgba(255,255,255,.7); font-size: .875rem; }
.sidebar-links { display: flex; flex-direction: column; gap: .1rem; }
.sidebar-links li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .45rem .6rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--text-mid);
  text-decoration: none;
  transition: all var(--transition);
}
.sidebar-links li a:hover,.sidebar-links li a.active {
  background: var(--blue-pale);
  color: var(--blue);
}
.sidebar-count {
  font-size: .75rem;
  background: var(--bg-grey);
  color: var(--text-muted);
  padding: .1rem .45rem;
  border-radius: 2rem;
}

/* ── ADVERT ZONES ────────────────────────────────────────────── */
.advert-zone {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  max-width: 100%;
}
.advert-link { display: block; max-width: 100%; }
.advert-link img { border-radius: var(--radius-sm); max-width: 100%; height: auto; }
.advert-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--border-mid);
  border-radius: var(--radius);
  background: var(--bg-grey);
  color: var(--text-light);
  font-family: var(--font-head);
  gap: .35rem;
}
.advert-placeholder span { font-weight: 700; font-size: .9rem; color: var(--text-muted); }
.advert-placeholder small { font-size: .75rem; }
.advert-label {
  font-size: .68rem;
  color: var(--text-light);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ── BREADCRUMB ──────────────────────────────────────────────── */
.breadcrumb-nav {
  background: var(--bg-grey);
  border-bottom: 1px solid var(--border);
  padding: .65rem 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem;
  font-size: .8rem;
  color: var(--text-muted);
}
.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: .35rem;
  color: var(--border-mid);
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb li:last-child { color: var(--navy); font-weight: 500; }

/* ── WHY SECTION ─────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.why-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}
.why-card--accent {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  border-color: transparent;
  color: #fff;
}
.why-card--accent h3 { color: #fff; }
.why-card__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.why-card h3 { font-size: 1.3rem; margin-bottom: 1.25rem; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.why-list li {
  font-size: .9rem;
  color: var(--text-mid);
  padding-left: .25rem;
}
.why-card--accent .why-list li { color: rgba(255,255,255,.8); }

.trust-strip {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}
.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.15rem 0;
}
.trust-item {
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}
.trust-item strong {
  display: block;
  color: var(--navy);
  font-family: var(--font-head);
  margin-bottom: .35rem;
}
.trust-item span {
  color: var(--text-muted);
  font-size: .88rem;
}
/* ── HOW IT WORKS — STEPS ────────────────────────────────────── */
.steps-wrapper {
  position: relative;
  padding-top: 1rem;
}

/* Horizontal connector line running between the three circles */
.steps-wrapper::before {
  content: '';
  position: absolute;
  top: 4rem; /* aligns with vertical center of the circles */
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-pale), var(--blue) 50%, var(--blue-pale));
  z-index: 0;
  pointer-events: none;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  position: relative;
  z-index: 1;
}

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem 2.5rem;
}

/* Chevron arrow between cards */
.step-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 2.25rem;
  right: -0.6rem;
  width: 1.2rem;
  height: 1.2rem;
  background: var(--bg-grey);
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  transform: rotate(45deg);
  border-radius: 2px;
  z-index: 4;
}

.step-card__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid var(--blue);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 3;
  /* white ring separates circle from the connector line behind it */
  box-shadow: 0 0 0 5px var(--bg-white), 0 0 0 7px var(--blue-pale), var(--shadow);
  transition: background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.step-card:hover .step-card__num {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: scale(1.08);
  box-shadow: 0 0 0 5px var(--bg-white), 0 0 0 7px var(--navy-mid), var(--shadow-lg);
}

.step-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue);
  margin-bottom: .75rem;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .55rem;
  line-height: 1.25;
}

.step-card p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
  max-width: 24ch;
  margin: 0 auto;
}
.standards-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 100%);
  color: #fff;
}
.standards-banner__text h2 {
  color: #fff;
  margin-bottom: .6rem;
}
.standards-banner__text p:last-child {
  color: rgba(255,255,255,.75);
  max-width: 640px;
}
.standards-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.content-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
.content-page--compact { max-width: 100%; }
.content-page__section + .content-page__section {
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}
.content-page__section h2 {
  font-size: 1.2rem;
  margin-bottom: .65rem;
}
.content-page__section p {
  color: var(--text-mid);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-card h2 {
  font-size: 1.05rem;
  margin-bottom: .45rem;
}
.contact-card p {
  color: var(--text-muted);
}
.contact-card p + p {
  margin-top: .75rem;
}
.contact-form-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}
.contact-form-card {
  margin-top: 2rem;
  padding: 1.4rem;
}
.contact-form .admin-form-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
}
.contact-form .admin-col-6 { grid-column: span 6; }
.contact-form .admin-col-12 { grid-column: span 12; }
.contact-form-card__head {
  margin-bottom: 1.25rem;
}
.contact-form-card__head h2 {
  margin-bottom: .35rem;
}
.contact-form-card__head p {
  color: var(--text-muted);
}
.contact-form__actions {
  margin-top: 1rem;
}
.contact-ai-widget {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 950;
}
.contact-ai-widget__launcher {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f2e5b, #1a6fad);
  color: #fff;
  padding: .8rem 1rem .8rem .8rem;
  font-family: var(--font-head);
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-ai-widget__launcher:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}
.contact-ai-widget__launcher-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  font-size: 1.15rem;
}
.contact-ai-widget__launcher-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}
.contact-ai-widget__launcher-copy strong {
  font-size: .9rem;
}
.contact-ai-widget__launcher-copy small {
  font-size: .72rem;
  color: rgba(255,255,255,.78);
  margin-top: .18rem;
}
.contact-ai-widget__panel {
  width: min(340px, calc(100vw - 2rem));
  margin-bottom: .8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-white);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.contact-ai-widget.is-open .contact-ai-widget__panel {
  display: block;
}
.contact-ai-widget__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem .8rem;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid));
  color: #fff;
}
.contact-ai-widget__header strong {
  display: block;
  margin-bottom: .2rem;
}
.contact-ai-widget__header span {
  display: block;
  color: rgba(255,255,255,.72);
  font-size: .8rem;
  line-height: 1.45;
}
.contact-ai-widget__close {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
}
.contact-ai-widget__messages {
  max-height: 280px;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  background: #fbfcff;
}
.contact-ai-message {
  max-width: 88%;
  padding: .75rem .9rem;
  border-radius: 1rem;
  font-size: .9rem;
  line-height: 1.55;
}
.contact-ai-message--bot {
  background: var(--blue-pale);
  color: var(--navy);
  border-bottom-left-radius: .35rem;
}
.contact-ai-message--user {
  margin-left: auto;
  background: var(--navy);
  color: #fff;
  border-bottom-right-radius: .35rem;
}
.contact-ai-widget__quick {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  padding: 0 1rem .85rem;
}
.contact-ai-chip {
  border: 1px solid var(--border);
  background: var(--bg-white);
  border-radius: 999px;
  padding: .42rem .75rem;
  color: var(--text-mid);
  font-size: .78rem;
  font-weight: 600;
}
.contact-ai-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.contact-ai-widget__composer,
.contact-ai-widget__handoff {
  padding: 0 1rem 1rem;
}
.contact-ai-widget__composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .6rem;
}
.contact-ai-widget__handoff {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.contact-ai-widget__handoff.is-visible {
  display: block;
}
.contact-ai-widget__handoff-grid {
  display: grid;
  gap: .75rem;
  margin-bottom: .75rem;
}

.employers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.employer-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.employer-card__top {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.employer-card__logo {
  width: 60px;
  height: 60px;
}
.employer-card__title {
  font-size: 1.1rem;
  margin: 0 0 .25rem;
}
.employer-card__meta,
.employer-card__summary {
  color: var(--text-muted);
  font-size: .88rem;
}
.employer-card__summary {
  line-height: 1.6;
}
.employer-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: auto;
}

/* ── EMPTY STATE ─────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  color: var(--text-muted);
}
.empty-state > span { font-size: 3rem; display: block; margin-bottom: 1rem; }
.empty-state h3 { color: var(--navy); margin-bottom: .5rem; }
.empty-state p { margin-bottom: 1.5rem; font-size: .9rem; }

/* ── SCREEN READER ONLY ──────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .news-section__layout { grid-template-columns: 1fr 280px; gap: 2rem; }
}

@media (max-width: 960px) {
  .seo-shortcuts-grid        { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jobs-page-layout       { grid-template-columns: 1fr; }
  .filter-sidebar         { position: static; }
  .job-detail-layout      { grid-template-columns: 1fr; }
  .job-detail-sidebar     { display: none; }
  .article-layout         { grid-template-columns: 1fr; }
  .article-sidebar        { display: none; }
  .news-section__layout   { grid-template-columns: 1fr; }
  .news-section__sidebar  { display: none; }
  .news-page-layout       { grid-template-columns: 1fr; }
  .news-sidebar           { display: none; }
  .why-grid               { grid-template-columns: 1fr; }
  .news-grid--3           { grid-template-columns: 1fr 1fr; }
  .jobs-help-grid         { grid-template-columns: 1fr; }
  .steps-grid             { grid-template-columns: 1fr; gap: 2rem; }
  .steps-wrapper::before  { display: none; }
  .step-card              { padding: 0 1rem 0; }
  .step-card:not(:last-child)::after { display: none; }
  .contact-grid           { grid-template-columns: 1fr; }
  .contact-form .admin-col-6,
  .contact-form .admin-col-12 { grid-column: span 12; }
  .standards-banner       { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .hero { padding: 3.5rem 0 3rem; }
  .hero__intro-panel {
    padding: 1.2rem 1rem 1rem;
    border-radius: 1.4rem;
  }
  .hero__search-fields { grid-template-columns: 1fr; }
  .hero__stats { gap: 1.25rem; }
  .hero__stat strong { font-size: 1.25rem; }
  .jobs-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .news-list-item { grid-template-columns: 1fr; }
  .news-list-item__img { aspect-ratio: 16/9; }
  .news-list-item__body { padding: 1rem; }
  .article-title { font-size: 1.7rem; }
  .section-title { font-size: 1.5rem; }
  .jobs-quick-links__head { align-items: flex-start; flex-direction: column; }
  .page-hero__meta-row,
  .active-filters,
  .hero__meta-row { justify-content: flex-start; }
  .results-bar { flex-direction: column; align-items: flex-start; gap: .35rem; }
  .content-page { padding: 1.5rem; }
  .contact-ai-widget { right: .75rem; bottom: .75rem; }
  .contact-ai-widget__panel { width: min(100vw - 1.5rem, 360px); }
  .contact-ai-widget__launcher-copy small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__media {
    display: none;
  }

  .hero__video-overlay {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 55%, #1A4A80 100%);
  }
}

@media (max-width: 480px) {
  .news-grid { grid-template-columns: 1fr; }
  .hero__stats { flex-direction: column; gap: 1rem; }
  .hero__stat-divider { width: 3rem; height: 1px; }
  .trust-strip__grid { grid-template-columns: 1fr; }
  .seo-shortcuts-grid { grid-template-columns: 1fr; }
}
