/*
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:wght@600&display=swap');
p:last-child{
	margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  /* Brand colors */
  --color-deep-navy:        #011D61;
  --color-electric-blue:    #1C58F2;
  --color-azure-spark:      #3C95FD;
  --color-sky-glaze:        #7DA5FF;
  --color-sky-glaze-20:     rgba(125, 165, 255, 0.20);
  --color-sky-glaze-50:     rgba(125, 165, 255, 0.50);

  --color-action-yellow:    #FFB428;
  --color-action-yellow-40: rgba(255, 180, 40, 0.40);
  --color-premium-orange:   #FF7700;

  /* Neutrals */
  --color-neutral-1:   #172343;
  --color-neutral-2:   #525779;
  --color-neutral-3:   #878BA3;
  --color-neutral-4:   #A2A7C4;
  --color-neutral-5:   #C5C9E0;
  --color-neutral-6:   #EEF2F9;
  --color-white-ess:   #FCFCFE;
  --color-white:       #FFFFFF;

  /* Label colors */
  --color-label-trending:  #F37867;
  --color-label-premium:   #FFD67E;
  --color-label-hiring:    #A967FF;
  --color-label-distance:  #CCE0FF;

  /* Section backgrounds */
  --bg-white:     var(--color-white-ess);
  --bg-tint:      var(--color-neutral-6);   /* #EEF2F9 for Jobs Near Me */
  --bg-navy:      var(--color-deep-navy);

  /* Hero gradient */
  --gradient-hero: linear-gradient(90deg, var(--color-deep-navy) 0%, var(--color-electric-blue) 100%);

  /* Typography */
  --font-heading:  "Poppins", sans-serif;
  --font-body:     "Inter", sans-serif;

  --text-h1:       clamp(1.25rem, 3.5vw, 1.75rem);
  --text-h2:       clamp(1.25rem, 3vw, 1.75rem);
  --text-h3:       clamp(1rem, 2.5vw, 1.25rem);
  --text-body-lg:  1rem;
  --text-body:     0.875rem;
  --text-caption:  0.75rem;
  --text-salary:   1.125rem;

  /* Spacing */
  --sp-4:   0.25rem;
  --sp-5:   0.3125rem;
  --sp-8:   0.5rem;
  --sp-10:  0.625rem;
  --sp-14:  0.875rem;
  --sp-15:  0.9375rem;
  --sp-20:  1.25rem;
  --sp-30:  1.875rem;
  --sp-40:  2.5rem;
  --sp-48:  3rem;
  --sp-60:  3.75rem;
  --sp-80:  5rem;

  /* Radii */
  --r-4:    0.25rem;
  --r-10:   0.625rem;
  --r-15:   0.9375rem;
  --r-pill: 9999px;

  /* Shadows */
  --shadow-card:  0 4px 20px rgba(0,0,0,0.06);
  --shadow-input: 0 5px 20px rgba(0,0,0,0.05);
  --shadow-hover: 0 8px 28px rgba(28,88,242,0.12);

  /* Layout */
  --container-max: 1200px;
  --page-px:       1.5rem;

  /*update new  */
  --navy:#001D51; --primary:#1C59F2; --blue400:#3C95FD; --blue300:#70A5FF;
  --accent:#FFB42B; --accent600:#F2A50E;
  --ink:#172343; --text:#525779; --muted:#8788A3; --muted2:#A2A7C4;
  --line:#E3E7F0; --line2:#D7DCEA; --bg:#EEF2F9; --card:#fff; --soft:#F4F7FC;
  --success:#27C281; --error:#F44336; --warning:#FF9800;
  --p50:#E9F0FF; --p100:#DCE7FF;
  --rc:16px; --rb:11px; --ri:10px; --rp:999px;
  --sh:0 2px 10px rgba(23,35,67,.06);
  --shlg:0 16px 44px rgba(23,35,67,.12);
  --hdr:48px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  color: var(--color-neutral-2);
  background: var(--bg-white);
  line-height: 1.5;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
img { display: block; max-width: 100%; }

/* --------------------------------------------------------------------------
   3. CONTAINER
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* --------------------------------------------------------------------------
   4. FULL-WIDTH SECTION WRAPPERS
   Each section spans 100vw; inner .container caps at 1200px
   -------------------------------------------------------------------------- */
.section-wrap {
  width: 100%;
  padding-top: var(--sp-48);
  padding-bottom: var(--sp-48);
}

.section-wrap--white   { background: var(--bg-white); }
.section-wrap--tint    { background: var(--bg-tint); }
.section-wrap--subscribe {
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
  padding-top: var(--sp-60);
  padding-bottom: var(--sp-60);
}

/* --------------------------------------------------------------------------
   5. HERO BLOCK — full-width gradient background
   -------------------------------------------------------------------------- */
.hero-block {
  width: 100%;
  background: var(--gradient-hero);
}

/* Header */
.site-header { padding-top: var(--sp-30); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--sp-10);
}

/* Logo */
.logo { display: flex; align-items: center; gap: 0.5rem; }

.logo-pill {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.25rem; height: 2rem;
  background: rgba(255,255,255,0.15);
  border-radius: var(--r-pill);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.logo-dot { width: 0.45rem; height: 0.45rem; background: #fff; border-radius: 50%; }
.logo-wordmark {
  font-family: var(--font-heading);
  font-weight: 600; font-size: 1.25rem;
  color: #fff; letter-spacing: -0.01em;
}

/* Header icons */
.header-icons { display: flex; align-items: center; gap: var(--sp-20); }

.icon-btn {
  width: 2.5rem; height: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.05rem;
  border-radius: var(--r-10);
  transition: background 0.15s;
}
.icon-btn:hover, .icon-btn:focus-visible {
  background: rgba(255,255,255,0.15);
  outline: 2px solid var(--color-sky-glaze); outline-offset: 2px;
}

/* Header divider */
.header-divider-wrap { padding-bottom: 0; }
.header-divider {
  height: 1px;
  background: linear-gradient(90deg,rgba(255,255,255,0.6),rgba(255,255,255,0));
  mix-blend-mode: overlay;
}

/* Hero content */
.hero-search {
  padding-top: var(--sp-20);
  padding-bottom: var(--sp-40);
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 600; font-size: var(--text-h1);
  color: #fff; line-height: 1.1; text-align: center;
}
.hero-subtitle {
  font-size: var(--text-body); color: #DEE7FF;
  line-height: 1.4; text-align: center;
}
.hero-subtitle strong { font-weight: 600; }

/* Search row — 3-col grid desktop, stacked mobile */
.search-row {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
}

.header-search .input-field {
  display: flex; align-items: center; gap: var(--sp-10);
  height: 3.375rem;
  padding: 0 var(--sp-14);
  background: var(--color-white-ess);
  border: 1.4px solid var(--color-neutral-6);
  border-radius: var(--r-10);
  box-shadow: var(--shadow-input);
}
.input-icon  { color: var(--color-neutral-4); font-size: 0.95rem; flex-shrink: 0; }
.header-search .input-text  {
  flex: 1; border: none; outline: none; background: transparent;
  font-family: var(--font-body); font-size: var(--text-body-lg);
  color: var(--color-neutral-1);
  padding: 0;
}
.header-search .input-text::placeholder { color: var(--color-neutral-4); }

/* Filter tags */
.filter-tags {
  display: flex; gap: var(--sp-5);
  flex-wrap: wrap; align-items: center;
  margin-top: var(--sp-10);
}
.filter-tag {
  display: flex; align-items: center; gap: var(--sp-10);
  flex: 1 0 0; min-width: 0;
  padding: var(--sp-8) var(--sp-14) var(--sp-8) var(--sp-10);
  background: var(--color-white-ess);
  border-radius: var(--r-10);
  font-family: var(--font-body); font-size: var(--text-body);
  color: var(--color-neutral-2); white-space: nowrap;
  transition: background 0.15s;
  justify-content: center;
}
.filter-tag:hover { background: #f0f2fa; }
.filter-tag--icon-only {
  flex: 0 0 2.25rem; width: 2.25rem; height: 2.25rem;
  padding: 0; justify-content: center;
  border: 1.4px solid var(--color-neutral-6);
  box-shadow: var(--shadow-input);
  background: #fff !important;
}
.tag-icon { font-size: 0.85rem; color: var(--color-neutral-2); }

/* --------------------------------------------------------------------------
   6. BUTTONS
   -------------------------------------------------------------------------- */
.btn-primary {
  display: flex; align-items: center; justify-content: center;
  height: 3.5rem;
  padding: 0 var(--sp-60);
  background: var(--color-action-yellow);
  color: var(--color-white-ess);
  font-family: var(--font-body); font-weight: 600;
  font-size: var(--text-body-lg); line-height: 1;
  border-radius: var(--r-15); border: none; cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.1s;
  white-space: nowrap;
}
.btn-primary:hover    { background: #FF9500; }
.btn-primary:active   { transform: scale(0.98); }
.btn-primary:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Search button — full on mobile, auto on desktop */
.btn-search {
  width: 100%;
  height: 3.375rem !important;
  border-radius: var(--r-10);
  padding: 0 var(--sp-30);
}

/* Subscribe button */
.btn-subscribe { width: 100%; max-width: 22rem; margin-top: 0; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: var(--sp-10);
  padding: var(--sp-10) var(--sp-20);
  background: transparent;
  border-radius: var(--r-pill);
  color: var(--color-azure-spark);
  font-weight: 600; font-size: var(--text-body-lg); line-height: 1;
  transition: background 0.15s;
}

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.875rem 1.875rem;
  border: 3px solid var(--color-azure-spark);
  border-radius: var(--r-10);
  color: var(--color-azure-spark);
  font-weight: 600; font-size: var(--text-body-lg); line-height: 1;
  background: transparent;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.btn-outline:hover { 
  background: rgba(125, 165, 255, 0.20);
  color: #3C95FD;
}

.btn-outline-full {
  display: flex; align-items: center; justify-content: center;
  height: 3.5rem;
  padding: 0 var(--sp-60);
  border: 3px solid var(--color-azure-spark);
  border-radius: var(--r-15);
  color: var(--color-azure-spark);
  font-weight: 600; font-size: var(--text-body-lg); line-height: 1;
  background: transparent;
  transition: background 0.15s, color 0.15s;
}
.btn-outline-full:hover {
  background: rgba(125, 165, 255, 0.20);
  color: #3C95FD;
}

/* --------------------------------------------------------------------------
   7. SECTION HEADER
   -------------------------------------------------------------------------- */
.section-header { margin-bottom: var(--sp-20); }

.section-title {
  font-family: var(--font-heading);
  font-weight: 600; font-size: var(--text-h3);
  color: var(--color-neutral-1); line-height: 1.1;
}
.section-title--lead {
  font-family: var(--font-body);
  font-weight: 700; font-size: var(--text-salary); line-height: 1.5;
}

.show-all-wrap {
  display: flex; justify-content: center;
}

/* --------------------------------------------------------------------------
   8. CARDS GRID
   -------------------------------------------------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
}

/* --------------------------------------------------------------------------
   9. JOB CARD
   -------------------------------------------------------------------------- */
.job-card {
  background: var(--color-white);
  border-radius: var(--r-10);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.15s, transform 0.15s;
}
.job-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.job-card--premium { border: 1px solid var(--color-action-yellow-40); }

/* Label badge */
.job-card__label {
  display: inline-flex; align-items: center; gap: var(--sp-4);
  padding: var(--sp-4) 0.75rem var(--sp-4) 0.375rem;
  border-radius: 0 0 var(--r-10) 0;
  font-size: var(--text-caption); font-weight: 400; line-height: 1.4;
}
.label-icon { font-size: 0.58rem; }

.job-card__label--trending  { background: var(--color-label-trending); color: #fff; }
.job-card__label--premium   { background: var(--color-label-premium); color: var(--color-premium-orange); }
.job-card__label--hiring    { background: var(--color-label-hiring); color: #fff; }
.job-card__label--distance  { background: var(--color-label-distance); color: var(--color-electric-blue); }

/* Card body */
.job-card__body {
  display: flex; flex-direction: column; gap: var(--sp-15);
  padding: 25px 20px;
}

.job-card__top {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: var(--sp-8);
  min-height: 4.3125rem;
}
.job-card__info {
  display: flex; flex-direction: column; gap: var(--sp-5);
  justify-content: center; flex: 1; min-width: 0;
}
.job-card__title {
  font-family: var(--font-heading); font-weight: 600;
  font-size: 20px; color: var(--color-neutral-1); line-height: 1.1;
  margin-bottom: 5px;
}
.job-card__company { font-size: var(--text-body); color: var(--color-neutral-1); line-height: 1.4; }

/* Company logo placeholder */
.company-logo {
  flex-shrink: 0; width: 6.5625rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 1.125rem; overflow: hidden;
}
.company-logo__abbr{
  width: 48px;
}
.company-logo__abbr img{
    height: 48px;
    object-fit: contain;
}
.company-logo__icon { color: var(--color-neutral-3); font-size: 1.3rem; }

/* Salary */
.job-card__salary {
  font-family: var(--font-body); font-weight: 700;
  font-size: var(--text-salary); color: var(--color-electric-blue); line-height: 1.5;
}

/* Meta items */
.job-card__meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; align-items: flex-end;
}
.meta-item {
  display: flex; align-items: center; gap: 5px;
  font-size: var(--text-body); color: var(--color-neutral-2);
  line-height: 1.4; white-space: nowrap;
}
.meta-icon { font-size: 0.7rem; color: var(--color-neutral-3); }

/* Skills */
.job-card__skills {
  display: flex; flex-wrap: wrap; align-items: center; row-gap: var(--sp-10); column-gap: var(--sp-15);
}
.skills-label { font-size: var(--text-body); color: var(--color-neutral-4); }
.skill-tag {
  background: var(--color-neutral-6); color: var(--color-deep-navy);
  font-size: var(--text-body); line-height: 1.4;
  padding: 0.3rem 0.625rem; border-radius: var(--r-4);
}

/* Footer row */
.job-card__footer {
  display: flex; align-items: flex-end; justify-content: space-between;
}
.job-card__time { font-size: var(--text-caption); color: var(--color-neutral-4); line-height: 1.4; }

/* --------------------------------------------------------------------------
   10. INSIGHTS (Today's Career Trends)
   -------------------------------------------------------------------------- */
.insights-title {
  font-family: var(--font-heading); font-weight: 600;
  font-size: var(--text-h2); color: var(--color-neutral-1);
  line-height: 1.2; text-align: center;
  margin-bottom: var(--sp-30);
}

.insights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-20);
}

.insight-card {
  background: var(--color-white-ess);
  border: 1px solid var(--color-neutral-5);
  border-radius: var(--r-10);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow 0.15s, transform 0.15s;
}
.insight-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.insight-card__image {
  position: relative; height: 12.5rem; overflow: hidden; flex-shrink: 0;
}
.insight-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.insight-card__badge {
  position: absolute; top: 0; left: 0;
  padding: var(--sp-4) 0.75rem;
  border-radius: 0 0 var(--r-10) 0;
  font-family: var(--font-body); font-weight: 500;
  font-size: var(--text-body); color: #fff; line-height: 1.4;
  white-space: nowrap;
}
.insight-card__badge--purple { background: #9376FF; }
.insight-card__badge--green  { background: #68DD8F; color: var(--color-neutral-1); }
.insight-card__badge--blue   { background: var(--color-azure-spark); }

.insight-card__content {
  display: flex; flex-direction: column; gap: var(--sp-10);
  padding: var(--sp-20); flex: 1;
}
.insight-card__title {
  font-family: var(--font-heading); font-weight: 600;
  font-size: var(--text-h3); color: var(--color-neutral-1); line-height: 1.1;
  margin-bottom: 0;
}
.insight-card__date { display: block; font-size: var(--text-caption); color: var(--color-neutral-4); line-height: 1.4; }
.insight-card__excerpt { font-size: var(--text-body-lg); color: var(--color-neutral-2); line-height: 1.5; flex: 1; overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;}

/* --------------------------------------------------------------------------
   11. SUBSCRIBE BLOCK
   -------------------------------------------------------------------------- */

/* Decorative rotated squares — anchored relative to the full-width section */
.subscribe-shape {
  position: absolute; border-radius: 19.6px; transform: rotate(-57deg);
}
.subscribe-shape--left {
  width: 5.5rem; height: 5.5rem;
  background: var(--color-azure-spark);
  left: max(0px, calc(50% - 660px));
  top: 4rem;
}
.subscribe-shape--right {
  width: 4.8rem; height: 4.8rem;
  background: var(--color-sky-glaze);
  right: max(0px, calc(50% - 660px));
  top: 6rem;
  border-radius: 17px;
}

.subscribe-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; gap: var(--sp-20);
  text-align: center;
}

.subscribe-logo { display: flex; align-items: center; gap: 0.5rem; }
.subscribe-logo__pill {
  display: inline-flex; align-items: center; justify-content: center;
  width: 4rem; height: 2.5rem;
  background: var(--color-electric-blue);
  border-radius: var(--r-pill);
}
.subscribe-logo__dot { width: 0.55rem; height: 0.55rem; background: #fff; border-radius: 50%; }
.subscribe-logo__text {
  font-family: var(--font-heading); font-weight: 600;
  font-size: 1.5rem; color: var(--color-neutral-1);
}

.subscribe-title {
  font-family: var(--font-heading); font-weight: 600;
  font-size: var(--text-h2); color: var(--color-neutral-1); line-height: 1.2;
}
.subscribe-subtitle {
  font-size: var(--text-body); color: var(--color-neutral-1); line-height: 1.4;
  max-width: 26rem;
}

/* --------------------------------------------------------------------------
   12. FOOTER — full deep-navy background
   -------------------------------------------------------------------------- */
.site-footer { width: 100%; background: var(--bg-navy); }

.footer-inner {
  display: flex; flex-direction: column; gap: var(--sp-20);
  padding-top: var(--sp-30); padding-bottom: var(--sp-20);
}

.footer-logo { display: flex; align-items: center; gap: 0.4rem; }
.footer-logo__pill {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 1.875rem;
  background: rgba(0,85,255,0.25);
  border-radius: var(--r-pill);
  border: 1.5px solid rgba(125,165,255,0.4);
}
.footer-logo__dot { width: 0.4rem; height: 0.4rem; background: var(--color-white-ess); border-radius: 50%; }
.footer-logo__text {
  font-family: var(--font-heading); font-weight: 600;
  font-size: 1.1rem; color: var(--color-white-ess);
}

.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-20); }
.footer-nav__group { display: flex; flex-direction: column; gap: var(--sp-10); }
.footer-nav__heading {
  font-family: var(--font-body); font-weight: 400;
  font-size: var(--text-body-lg); color: var(--color-white-ess); line-height: 1.5;
}
.footer-nav__divider {
  height: 1px; background: var(--color-sky-glaze-50); margin-bottom: var(--sp-4);
}
.footer-nav__link {
  font-size: var(--text-body); color: var(--color-neutral-5);
  line-height: 1.4; display: block;
  transition: color 0.15s;
}
.footer-nav__link:hover { color: var(--color-white-ess); }

.footer-bottom { display: flex; flex-direction: column; gap: var(--sp-10); }
.footer-bottom__divider { height: 1px; background: var(--color-sky-glaze-20); }
.footer-bottom__row {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.footer-copyright {
  font-size: var(--text-caption); color: var(--color-sky-glaze-50); text-align: center;
}
.footer-back-top {
  position: absolute; right: 0; bottom: -0.25rem;
  width: 2.75rem; height: 2.75rem;
  background: var(--color-electric-blue);
  border-radius: var(--r-10);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.8rem;
  transition: background 0.15s;
}
.footer-back-top:hover { background: var(--color-azure-spark); }

/* --------------------------------------------------------------------------
   13. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */

/* 480px — phablet: 2-col cards */
/*@media (min-width: 480px) {
  .cards-grid    { grid-template-columns: repeat(2, 1fr); }
}*/

/* 640px — tablet: search row 3-col */
@media (min-width: 640px) {
  .search-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: var(--sp-10);
    align-items: stretch;
  }
  .btn-search {
    width: 200px; min-width: 9rem; height: auto;
    border-radius: var(--r-10); padding: 0 1.75rem;
  }
}

/* 768px — tablet landscape */
@media (min-width: 768px) {
  :root { --page-px: 2rem; }

  .section-wrap { padding-top: var(--sp-60); padding-bottom: var(--sp-60); }

  .insights-grid.col-2 { grid-template-columns: repeat(2, 1fr); }
  .footer-nav    { grid-template-columns: repeat(4, 1fr); }

  .filter-tags { flex-wrap: nowrap; }
}

/* 1024px — desktop */
@media (min-width: 1024px) {
  :root { --page-px: 2.5rem; }

  .cards-grid    { grid-template-columns: repeat(1, 1fr); }
  .insights-grid.col-3 { grid-template-columns: repeat(3, 1fr); }

  .section-wrap { padding-top: var(--sp-80); padding-bottom: var(--sp-80); }
  .section-wrap--subscribe { padding-top: 5rem; padding-bottom: 5rem; }
}

/* 1280px+ — subscribe shapes stay pinned to container edge */
@media (min-width: 1280px) {
  .subscribe-shape--left  { left: calc(50% - 660px); }
  .subscribe-shape--right { right: calc(50% - 660px); }
}

/* --------------------------------------------------------------------------
   14. ACCESSIBILITY & UTILITIES
   -------------------------------------------------------------------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--color-azure-spark); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}


/* ---- Page body override ---- */
.jd-page {
  background: var(--bg-tint);
}

/* ---- Breadcrumbs ---- */
.jd-breadcrumbs {
  width: 100%;
  background: var(--bg-white);
  border-bottom: 1px solid var(--color-neutral-6);
}
.jd-breadcrumbs__inner {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding-top: var(--sp-15);
  padding-bottom: var(--sp-15);
  flex-wrap: wrap;
}
.jd-breadcrumb__item {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  color: var(--color-neutral-2);
  text-decoration: none;
  line-height: 1.4;
  letter-spacing: 0.03em;
  transition: color 0.15s;
}
.jd-breadcrumb__item:hover { color: var(--color-electric-blue); }
.jd-breadcrumb__item--current {
  color: var(--color-neutral-3);
  font-weight: 400;
  pointer-events: none;
  /* truncate on small screens */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 14rem;
}
.jd-breadcrumb__sep {
  font-size: 0.45rem;
  color: var(--color-neutral-4);
  flex-shrink: 0;
}

/* ---- 2-column layout (detail + sidebar) ---- */
.jd-content-wrap {
  padding-top: var(--sp-30);
  padding-bottom: var(--sp-48);
}
.jd-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-20);
  align-items: start;
}

/* main column */
.jd-main {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
}

/* ---- Job Detail Card ---- */
.jd-card {
  background: var(--color-white);
  border-radius: var(--r-10);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

/* Top bar: label + date */
.jd-card__top-bar {
  display: flex;
  justify-content: flex-end;
}
.jd-card__label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4) 0.75rem var(--sp-4) 0.375rem;
  border-radius: 0 0 var(--r-10) 0;
  font-size: var(--text-caption);
  line-height: 1.4;
}
.jd-label-icon { font-size: 0.6rem; }
.jd-card__label--latest {
  background: #a890fe;  /* purple-blue from Figma */
  color: var(--color-white);
}
.jd-card__date {
  font-size: 0.8125rem;
  color: var(--color-neutral-3);
  opacity: 0.6;
  line-height: 1;
}

/* Card body */
.jd-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  /*padding: 20px 30px;*/
}

/* Identity: logo + title block */
.jd-card__identity {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  flex-direction: column;
  gap: var(--sp-10);
}

/* Company logo — horizontal pill style from Figma */
.jd-company-logo {
  flex-shrink: 0;
  width: 6.5625rem;
  height: 3rem;
  border-radius: 1.125rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
  gap: 0.125rem;
}
.jd-company-logo__abbr {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--color-electric-blue);
  letter-spacing: 0.06em;
}
.jd-company-logo__name {
  font-family: var(--font-body);
  font-size: 0.5rem;
  color: var(--color-neutral-3);
  letter-spacing: 0.08em;
}

.jd-card__title-block {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
  flex: 1;
  min-width: 0;
}

.jd-job-title {
  font-weight: 600;
  font-size: 24px;
  color: var(--color-neutral-1);
  line-height: 1.2;
  margin: 0;
}

.jd-company-meta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.jd-company-name {
  font-size: var(--text-body-lg);
  font-weight: 400;
  color: var(--color-neutral-1);
  line-height: 1.5;
  margin-bottom: 0px;
}
.jd-company-type {
  font-size: var(--text-body);
  color: var(--color-neutral-4);
  line-height: 1.4;
}

/* Divider inside card */
.jd-divider {
  height: 1px;
  background: var(--color-neutral-6);
  flex-shrink: 0;
  margin: 10px 0;
}

/* Info rows (location, salary) */
.jd-info-row {
  /*display: flex;
  align-items: center;
  gap: var(--sp-10);
  flex-wrap: wrap;*/
}
.jd-info-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-salary);
  color: var(--color-neutral-2);
  line-height: 1.5;
  margin-bottom: 10px;
  display: block;
}
.jd-info-value {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-body-lg);
  color: var(--color-neutral-2);
  line-height: 1.5;
}
.jd-info-icon {
  font-size: 0.9rem;
  color: var(--color-neutral-3);
}
.jd-info-icon--salary {
  font-size: 1rem;
  color: var(--color-electric-blue);
}
.jd-salary {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-salary);
  color: var(--color-electric-blue);
  line-height: 1.5;
}

/* Tags row (Remote / Full-time / Permanent) */
.jd-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-10) var(--sp-20);
  align-items: center;
}
.jd-tag {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: var(--text-body);
  color: var(--color-neutral-2);
  line-height: 1.4;
}
.jd-tag i { font-size: 0.75rem; color: var(--color-neutral-3); }

/* Section blocks (Skills, Description, Requirements…) */
.jd-section {
  display: flex;
  flex-direction: column;
  gap: var(--sp-10);
}
.jd-section__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--color-neutral-1);
  line-height: 1.1;
}
.jd-section__heading {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-salary);
  color: var(--color-neutral-1);
  line-height: 1.5;
}
.jd-skills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-10);
}
.jd-body-text {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  color: var(--color-neutral-2);
  line-height: 1.5;
}
.jd-list {
  list-style: disc;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.jd-list li {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  color: var(--color-neutral-2);
  line-height: 1.5;
}

/* ---- About Company Card ---- */
.jd-company-card {
  background: var(--color-white);
  border-radius: var(--r-10);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
}
.jd-company-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  padding: var(--sp-20) var(--sp-30);
  background: url('assets/images/bg-company.png') no-repeat right top;
  background-size: contain;
}
/* Decorative rotated squares from Figma */
.jd-company-card__shape {
  position: absolute;
  border-radius: 10px;
  transform: rotate(-57deg);
  pointer-events: none;
}
.jd-company-card__shape--a {
  width: 3rem; height: 3rem;
  background: var(--color-sky-glaze);
  right: -0.75rem; top: 0.75rem;
}
.jd-company-card__shape--b {
  width: 2.625rem; height: 2.625rem;
  background: var(--color-azure-spark);
  right: 0.25rem; top: 4rem;
  border-radius: 9px;
}

.jd-company-card__eyebrow {
  font-size: var(--text-body-lg);
  color: var(--color-neutral-1);
  opacity: 0.75;
  line-height: 1.5;
}
.jd-company-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  color: var(--color-neutral-1);
  line-height: 1.2;
}
.jd-company-card__type {
  font-size: var(--text-body);
  color: var(--color-neutral-4);
  line-height: 1.4;
}
.jd-company-card__website {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: var(--text-body);
  color: var(--color-azure-spark);
  line-height: 1.4;
  text-decoration: none;
  transition: opacity 0.15s;
}
.jd-company-card__website:hover { opacity: 0.75; }
.jd-company-card__website i { font-size: 0.85rem; }

/* ---- Apply Button ---- */
.jd-apply-wrap {
  display: flex;
}
.jd-apply-btn {
  width: 100%;
  border-radius: var(--r-15);
}

/* ---- Sidebar ---- */
.jd-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--sp-20);
}
.jd-sidebar__title {
  font-weight: 600;
  font-size: 20px;
  color: var(--color-neutral-1);
  line-height: 1.1;
  margin: 0;
}

/* ---- Responsive: 2-col on ≥ 900px ---- */
@media (min-width: 900px) {
  .jd-layout {
    grid-template-columns: 1fr 22rem;
    gap: var(--sp-30);
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .jd-layout {
    grid-template-columns: 1fr 24rem;
  }
  .jd-content-wrap {
    padding-top: var(--sp-40);
    padding-bottom: var(--sp-60);
  }
}
@media only screen and (max-width: 767px) {
    .jd-sidebar{
      padding-top: 20px;
    }
  .jd-job-title {
      font-size: 18px;
  }
}

/* ── Page shell (demo view) ── */
.fp-page {
  background: var(--bg-tint);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* ── Fake backdrop: skeleton of the search page behind the overlay ── */
.fp-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.fp-backdrop__hero {
  height: 11rem;
  background: var(--gradient-hero);
}
.fp-backdrop__content {
  padding: var(--sp-20) var(--sp-20);
  display: flex;
  flex-direction: column;
  gap: var(--sp-15);
}
.fp-backdrop__bar {
  height: 1.25rem;
  background: var(--color-neutral-5);
  border-radius: var(--r-pill);
  width: 60%;
  opacity: .45;
}
.fp-backdrop__bar--short { width: 35%; }
.fp-backdrop__cards {
  display: flex;
  flex-direction: column;
  gap: var(--sp-15);
  margin-top: var(--sp-10);
}
.fp-backdrop__card {
  height: 9rem;
  background: var(--color-white);
  border-radius: var(--r-10);
  box-shadow: var(--shadow-card);
  opacity: .5;
}
.fp-backdrop__card--hide { opacity: .25; }

/* ── Overlay wrapper ── */
.fp-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;      /* bottom-sheet on mobile */
  justify-content: center;
  pointer-events: none;
  visibility: hidden;
}
.fp-overlay--open {
  pointer-events: auto;
  visibility: visible;
}

/* Dim layer */
.fp-dim {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0, 0.65);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.fp-overlay--open .fp-dim { opacity: 1; }

/* ── Panel ── */
.fp-panel {
  position: relative;
  z-index: 1;
  background: var(--color-white-ess);
  border-radius: 1.5625rem 1.5625rem 0 0;   /* 25px top corners — Figma spec */
  width: 100%;
  max-width: 26rem;                          /* 393px ≈ iPhone 14 Pro width */
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -8px 40px rgba(1, 29, 97, 0.18);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  transition: all 0.25s ease;
}
.fp-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.fp-overlay.is-open .fp-dim{
  opacity: 1;
}
.fp-panel {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.fp-overlay.is-open .fp-panel {
  transform: translateX(0);
}

/* ── Header ── */
.fp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-10);
  padding: var(--sp-20);
  border-bottom: 1px solid var(--color-neutral-6);
  flex-shrink: 0;
}
.fp-header__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-neutral-1);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.fp-header__title {
  flex: 1;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-salary);     /* 18px / Body Lead */
  color: var(--color-neutral-1);
  line-height: 1.5;
  text-align: center;
  margin: 0;
}
.fp-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--r-10);
  color: var(--color-neutral-2);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: background 0.15s;
  padding: 0;
}
.fp-close-btn:hover, .fp-close-btn:focus { background: var(--color-neutral-6); }
.fp-close-btn:focus-visible { outline: 2px solid var(--color-azure-spark); outline-offset: 2px; }

/* ── Scrollable body ── */
.fp-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: var(--sp-30);
  padding: var(--sp-5) var(--sp-20) var(--sp-20);
  scrollbar-width: thin;
  scrollbar-color: var(--color-neutral-5) transparent;
}
.fp-body::-webkit-scrollbar { width: 4px; }
.fp-body::-webkit-scrollbar-thumb { background: var(--color-neutral-5); border-radius: 2px; }

/* ── Search field (position/skill) ── */
.search-adv .fp-search-field {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
  height: 2.6rem;
  padding: 5px 24px;
  background: var(--color-white-ess);
  border: 1.4px solid var(--color-neutral-4);
  border-radius: var(--r-10);
  font-size: 14px;
}
.fp-search-field__icon {
  color: var(--color-neutral-4);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.fp-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  color: var(--color-neutral-1);
  line-height: 1.5;
}
.fp-search-input::placeholder { color: var(--color-neutral-4); }
/* remove browser native search X */
.fp-search-input::-webkit-search-cancel-button { display: none; }

/* ── Salary range group ── */
.fp-salary-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-20);
}
.fp-salary-group__label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-salary);
  color: var(--color-neutral-1);
  line-height: 1;
  margin: 0;
}

/* Range slider track */
.fp-range-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--sp-30);
}
.fp-range-track {
  position: relative;
  height: 0.625rem;            /* 10px — Figma */
  background: var(--color-sky-glaze-20);
  border-radius: 5px;
  margin: 0.75rem 0;           /* room for thumbs */
}
.fp-range-fill {
  position: absolute;
  top: 0;
  height: 100%;
  background: var(--color-azure-spark);
  border-radius: 5px;
  pointer-events: none;
}

/* Range thumbs */
.fp-range-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1.5rem;
  height: 1.5rem;
  background: var(--color-azure-spark);
  border: 5px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(60, 149, 253, 0.35);
  cursor: grab;
  z-index: 2;
  transition: box-shadow 0.15s;
}
.fp-range-thumb:active { cursor: grabbing; box-shadow: 0 0 0 6px rgba(60,149,253,0.18); }
.fp-range-thumb:focus-visible { outline: 2px solid var(--color-electric-blue); outline-offset: 3px; }
.fp-range-thumb--max { z-index: 3; }

/* Min / max input fields */
.fp-range-fields {
  display: flex;
  align-items: center;
  gap: var(--sp-15);
  margin-top: -20px;
}
.fp-range-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 3rem;
  padding: 0 0.75rem;
  border: 1px solid var(--color-neutral-4);
  border-radius: var(--r-10);
  background: var(--color-white-ess);
}
.fp-range-field__prefix {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  color: var(--color-neutral-1);
  line-height: 1;
  flex-shrink: 0;
}
.fp-range-field__input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  color: var(--color-neutral-1);
  line-height: 1.5;
  -moz-appearance: textfield;
}
.fp-range-field__input::-webkit-inner-spin-button,
.fp-range-field__input::-webkit-outer-spin-button { -webkit-appearance: none; }
.fp-range-sep {
  width: 0.5rem;
  height: 1px;
  background: var(--color-neutral-4);
  border-radius: 1px;
  flex-shrink: 0;
}

/* ── Text field groups (Location / Company / Industry) ── */
.fp-field-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.fp-field-group__label {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  color: var(--color-neutral-1);
  line-height: 1.5;
}
.fp-field-group .fp-text-input {
  height: 3.375rem;
  padding: 0 var(--sp-14) 0 1.5rem;
  background: var(--color-white-ess);
  border: 1.4px solid var(--color-neutral-5);
  border-radius: var(--r-10);
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  color: var(--color-neutral-1);
  line-height: 1.5;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}
.fp-text-input::placeholder { color: var(--color-neutral-5); }
.fp-text-input:focus { border-color: var(--color-azure-spark); }

/* ── Section divider ── */
.fp-divider {
  height: 1px;
  background: var(--color-neutral-6);
  flex-shrink: 0;
  /*margin: 0 calc(-1 * var(--sp-20));  /* bleed to panel edges */*/
}

/* ── Accordion fieldsets ── */
.fp-accordion {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-20);
}
.fp-accordion__legend {
  display: contents;
}
.fp-accordion__toggle {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
}
.fp-accordion__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-neutral-1);
  font-size: 1rem;
  flex-shrink: 0;
}
.fp-accordion__title {
  flex: 1;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-salary);
  color: var(--color-neutral-1);
  line-height: 1.5;
}
.fp-accordion__chevron {
  font-size: 0.65rem;
  color: var(--color-neutral-3);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.fp-accordion__chevron--up {
  transform: rotate(180deg);
}

/* Options list */
.fp-accordion__opts {
  display: flex;
  flex-direction: column;
  gap: var(--sp-15);
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.2s;
  max-height: 30rem;
  opacity: 1;
}
.fp-accordion__opts--collapsed {
  max-height: 0;
  opacity: 0;
}

/* ── Radio item ── */
.fp-radio-item {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
  padding: 0 var(--sp-20);
  height: 1.25rem;
  cursor: pointer;
  border-radius: var(--r-4);
}
.fp-radio-item:hover .fp-radio-item__circle {
  border-color: var(--color-action-yellow);
  background: rgba(255, 180, 40, 0.08);
}

/* Hide native radio */
.fp-radio {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
  pointer-events: none;
}

/* Custom circle — 20×20px, yellow border, fills when checked */
.fp-radio-item__circle {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  border: 1px solid var(--color-action-yellow);
  background: var(--color-white-ess);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
  position: relative;
}
/* Inner dot when selected */
.fp-radio:checked + .fp-radio-item__circle::after {
  content: '';
  display: block;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--color-action-yellow);
}

.fp-radio-item__label {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  color: var(--color-neutral-1);
  line-height: 1.5;
  white-space: nowrap;
}
.fp-radio:checked ~ .fp-radio-item__label {
  color: #FFB428;
}

/* ── Footer ── */
.fp-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-20);
  padding: var(--sp-20);
  border-top: 1px solid var(--color-neutral-6);
  flex-shrink: 0;
  background: var(--color-white-ess);
}

/* Show Jobs — primary yellow button */
.fp-btn-show {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 3.75rem;
  padding: 0 var(--sp-60);
  background: var(--color-action-yellow);
  border: none;
  border-radius: var(--r-15);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-body-lg);
  color: var(--color-white-ess);
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.fp-btn-show:hover, .fp-btn-show:focus, .btn-search:focus  { background: #FF9500; }
.fp-btn-show:active { transform: scale(0.98); }
.fp-btn-show:focus-visible { outline: 3px solid var(--color-electric-blue); outline-offset: 2px; }

/* Clear all — ghost text button */
.fp-btn-clear {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-5);
  padding: 0.375rem var(--sp-5);
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--r-4);
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-neutral-2);
  line-height: 1.4;
  transition: color 0.15s;
}
.fp-btn-clear:hover { color: var(--color-neutral-1); }
.fp-btn-clear:focus-visible { outline: 2px solid var(--color-azure-spark); outline-offset: 2px; }
.fp-btn-clear__icon {
  font-size: 0.9375rem;
  color: var(--color-neutral-3);
}

/* ── Demo re-open bar ── */
.fp-demo-bar {
  position: fixed;
  bottom: var(--sp-30);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  justify-content: center;
}
.fp-demo-open {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
  padding: 0.875rem var(--sp-30);
  background: var(--color-electric-blue);
  border: none;
  border-radius: var(--r-pill);
  color: var(--color-white-ess);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-body-lg);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(28, 88, 242, 0.35);
  transition: background 0.15s;
}
.fp-demo-open:hover { background: var(--color-azure-spark); }

.srp-filter-bar {
  display: flex;
  gap: var(--sp-5);
  align-items: center;
  flex-wrap: wrap;
  margin-top: var(--sp-10);
}

.srp-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  padding: 7px 8px;
  background: #FCFCFE !important;
  border: 1.4px solid var(--color-neutral-5);
  border-radius: var(--r-10);
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-neutral-2);
  line-height: 1.4;
  cursor: pointer;
  flex: 1 0 auto;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  justify-content: center;
}
.srp-chip--active {
  color: #1C58F2;
}

.srp-chip:hover,
.srp-chip.srp-chip--active {
  color: #1C58F2;
}
.srp-chip:hover svg path,
.srp-chip.srp-chip--active svg path{
  fill: #1C58F2;
}
.filt-wp:hover svg path,
.filt-wp.srp-chip--active svg path{
  stroke: #1C58F2;
}

/*Worktype*/
.wt-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 9;
  width: 100%;
  max-width: 26rem;
  background: var(--color-white-ess);
  border: 1px solid var(--color-neutral-5);
  border-radius: 25px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -6px 32px rgba(1, 29, 97, 0.14);

  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.28s cubic-bezier(0.32, 0.72, 0, 1);
}

.wt-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
/* ── Panel header ── */
.wt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 0;
  flex-shrink: 0;
}
.wt-header__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem; height: 1.5rem;
  color: var(--color-neutral-1);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.wt-header__title {
  flex: 1;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-salary);   /* Inter Bold 18px */
  color: var(--color-neutral-1);
  line-height: 1.5;
  text-align: center;
  margin: 0;
}
.wt-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--r-10);
  color: var(--color-neutral-2);
  font-size: 1rem;
  flex-shrink: 0;
  transition: background 0.15s;
}
.wt-close-btn:hover { background: var(--color-neutral-6); }
.wt-close-btn:focus-visible { outline: 2px solid var(--color-azure-spark); outline-offset: 2px; }

/* ── Worktype list — Figma: gap 20px, px 10px ── */
.wt-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-30);
  padding: 20px 30px;
}

/* Divider between items — #EEF2F9 */
.wt-divider {
  height: 1px;
  background: var(--color-neutral-6);
  margin: calc(-1 * var(--sp-10)) 0;   /* collapse into the gap */
  flex-shrink: 0;
}

/* Radio item row — Figma: gap 10px, border yellow */
.wt-item {
  display: flex;
  align-items: center;
  gap: var(--sp-10);
  cursor: pointer;
  border-radius: var(--r-4);
  padding: 0.125rem 0;
  user-select: none;
}
.wt-item:hover .wt-item__circle {
  background: rgba(255, 180, 40, 0.08);
}

/* Hide native radio */
.wt-radio {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
  pointer-events: none;
}

/* Custom circle — 20×20px, border #FFB428, filled dot when checked */
.wt-item__circle {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  border: 1px solid var(--color-action-yellow);
  background: var(--color-white-ess);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.wt-radio:checked + .wt-item__circle::after {
  content: '';
  display: block;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--color-action-yellow);
}

/* Label — Inter Medium 16px, #172343 */
.wt-item__label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-body-lg);
  color: var(--color-neutral-1);
  line-height: 1.5;
}
.wt-radio:checked ~ .wt-item__label { font-weight: 700; }
/* ── Desktop: side drawer instead of bottom sheet ── */

.sr-recent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-10);
  justify-content: flex-start;
}
.sr-recent-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-10);
  padding: 0.375rem 0.75rem 0.375rem 0.5rem;
  background: var(--color-white-ess);
  border-radius: var(--r-10);
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-neutral-2);
  line-height: 1.4;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.sr-recent-tag:hover {
  background: #e8eeff;
  color: var(--color-electric-blue);
}

@media (min-width: 640px) {
  .fp-overlay {
    align-items: stretch;
    justify-content: flex-end;
  }
  .fp-panel {
    border-radius: 0;
    max-height: 100dvh;
    width: 26rem;
    box-shadow: -8px 0 40px rgba(1, 29, 97, 0.18);
    transform: translateX(110%);
    transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  }
  .fp-overlay--open .fp-panel {
    transform: translateX(0);
  }
  .srp-filter-bar{
    display: none;
  }
}

@media (min-width: 1024px) {
  .fp-panel { width: 28rem; }
}

/* ── Accessibility ── */
@media (prefers-reduced-motion: reduce) {
  .fp-panel, .fp-dim, .fp-accordion__opts {
    transition: none !important;
  }
}

/*Update new layout*/
/* ============ JOB CARD ============ */
.list{display:flex;flex-direction:column;gap:12px}
.jc{display:block;position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--rc);padding:16px 18px;box-shadow:var(--sh);transition:border-color .15s,box-shadow .15s,transform .12s;cursor:pointer}
.jc:hover{border-color:var(--blue300);box-shadow:var(--shlg);transform:translateY(-1px)}
.jc__top{display:flex;gap:14px;align-items:flex-start}
.mono{width:44px;height:44px;border-radius:11px;flex-shrink:0;display:grid;place-items:center;font-weight:700;font-size:15px;color:#fff;letter-spacing:-.02em}
.jc__main{flex:1;min-width:0;display:block}
.jc__title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:16.5px;font-weight:600;color:var(--ink);line-height:1.25}
.jc:hover .jc__title{color:var(--primary)}
.jc__co{display:block;font-size:13.5px;color:var(--text);margin-top:2px}
.jc__age{font-size:12px;color:var(--muted);white-space:nowrap;flex-shrink:0;display:flex;flex-direction:column;align-items:flex-end;gap:5px}
.new{background:#E7F8F0;color:#12805A;font-size:10.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:3px 10px;border-radius:var(--rp)}
.jc__meta{display:flex;flex-direction:column;gap:5px;margin-top:10px;font-size:13.5px;color:var(--text)}
.jc__meta span{display:inline-flex;align-items:center;gap:6px}
.jc__meta svg{color:var(--muted2);flex-shrink:0}
.pay{font-weight:700;color:var(--primary)}
.pay--none{font-weight:500;color:var(--muted)}
.tagrow{display:flex;flex-wrap:wrap;gap:6px;margin-top:11px;align-items:center}
.t{font-size:11.5px;font-weight:600;padding:1px 6px;border-radius:6px;background:var(--soft);color:var(--text);border:1px solid var(--line)}
.t--w{background:var(--p50);color:var(--primary);border-color:var(--p100)}
.t--more{background:none;border-color:transparent;color:var(--muted)}
.jc__cta{margin-left:auto;font-size:13.5px;font-weight:600;color:var(--primary);display:inline-flex;align-items:center;gap:6px}
.jc:hover .jc__cta svg{transform:translateX(3px)}
.jc__cta svg{transition:transform .15s}
.clear-text{
  margin-top: 15px;
}


/* ============ JOB DETAILS ============ */
.crumbs{font-size:11.5px;font-weight:600;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);padding:16px 0 4px;display:flex;gap:8px;align-items:center}
.crumbs a:hover{color:var(--primary)}
.crumbs b{color:var(--ink)}
.back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--primary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 0 10px;
}
.jd{display:grid;grid-template-columns:1fr 312px;gap:22px;align-items:start;padding-top:6px}
.back{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;font-weight:600;color:var(--primary) !important;background:transparent !important;border:none;cursor:pointer;padding:0 0 10px}
.back:hover{gap:11px}
.panel{background:#fff;border:1px solid var(--line);border-radius:var(--rc);box-shadow:var(--sh);padding:24px 26px}
.panel+.panel{margin-top:16px}
/* Base styles for Desktop */
.jd__hd {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.jd__hd-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.jd__hd-meta {
  margin-left: auto;
  text-align: right;
  flex-shrink: 0;
      display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.jd__hd .mono{width:56px;height:56px;border-radius:14px;font-size:19px}
.jd h1{font-size:22px;font-weight:700;color:var(--ink);line-height:1.2;letter-spacing:-.01em}
.jd__co{font-size:14px;color:var(--text);margin-top:4px}
.jd__co b{color:var(--ink);font-weight:600}
.facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--ri);overflow:hidden;margin-top:20px;border-top: 5px solid #E3E7F0;}
.fact{background:#fff;padding:12px 14px}
.fact small{display:block;font-size:11px;letter-spacing:.05em;text-transform:uppercase;color:var(--muted2);font-weight:600;margin-bottom:3px}
.fact b{font-size:14.5px;color:var(--ink);font-weight:600}
.fact b.pay{color:var(--primary)}
.applybar{justify-content: space-between;position:sticky;top:calc(var(--hdr) + 12px);z-index:20;background:#fff;border:1px solid var(--line);border-radius:var(--rc);box-shadow:var(--sh);padding:13px 16px;display:flex;align-items:center;gap:14px;margin-bottom:16px}
.applybar .t1{font-size:14.5px;font-weight:600;color:var(--ink);line-height:1.2}
.applybar .t2{font-size:12.5px;color:var(--muted)}
.btn-apply-main{margin-left:auto;background:var(--accent);color:#1a1400;font-weight:700;font-size:13px;border:none;border-radius:var(--rb);padding:8px 20px;cursor:pointer;display:inline-flex;align-items:center;gap:9px;white-space:nowrap}
.btn-apply-main:hover{background:var(--accent600)}
.gate{margin-left:auto;text-align:right}
.gate .btn-apply-main{margin:0}
.gate small{display:block;font-size:11.5px;color:var(--muted);margin-top:6px}
.prose h3{font-size:15px;color:var(--ink);margin:22px 0 9px;font-weight:600}
.prose h3:first-child{margin-top:0}
.prose p{font-size:14.5px;line-height:1.7;margin-bottom:12px}
.prose ul{margin:0 0 14px 4px;list-style:none}
.prose li{font-size:14.5px;line-height:1.65;padding-left:22px;position:relative;margin-bottom:7px}
.prose li::before{content:"";position:absolute;left:4px;top:9px;width:6px;height:6px;border-radius:50%;background:var(--blue300)}
.side h3{font-size:12.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-bottom:14px;font-weight:600}
.tool{display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}
.tool:last-child{border-bottom:none;padding-bottom:0}
.tool .ic{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;flex-shrink:0;color:#fff}
.tool .tx{min-width:0}
.tool b{display:block;font-size:13.5px;color:var(--ink);font-weight:600}
.tool small{font-size:12px;color:var(--muted);line-height: 1.2;
    display: block;}
.tool .cost{margin-left:auto;font-size:11.5px;font-weight:700;color:var(--ink);background:#FFF4E0;border:1px solid #FFE0A8;border-radius:var(--rp);padding:1px 9px;white-space:nowrap}
.sidenote{font-size:12px;color:var(--muted);margin-top:14px;line-height:1.5}
.cocard b{font-size:16px;color:var(--ink);display:block}
.cocard small{color:var(--muted);font-size:13px}
.cocard a{color:var(--primary);font-size:13.5px;font-weight:600;display:inline-flex;gap:6px;align-items:center;margin-top:12px}
.simhead{font-size:18px;color:var(--ink);font-weight:600;margin:30px 0 12px}
.panel.prose hr{
  display: none;
}
.applybar {
  position: sticky;
  top: 70px;
  z-index: 9;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.25s ease-in-out;
}
@media (max-width: 1024px) {
    .jd {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 620px) {
    .applybar {
        flex-wrap: wrap;
    }
    .jd__hd {
      flex-direction: column;
  }
  .jd-detail-logo.company-logo__abbr {
    display: block;
  }
  .jd h1 {
    margin-bottom: 6px;
    font-size: 16px;
  }
  .jd__co b {
    font-size: 12px;
}
}

/*Filter*/
.tbar{position:sticky;top:var(--hdr);z-index:30;background:var(--bg);padding:7px 0;margin-bottom:2px}
.tbar__row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.count{font-size:19px;font-weight:600;color:var(--ink)}
.count em{font-style:normal;color:var(--muted);font-weight:500;font-size:14px;font-family:var(--fb)}
.tbar__sp{flex:1}
.sortwrap{display:flex;align-items:center;gap:8px}
.sortwrap label{font-size:13px;color:var(--muted)}
.sel{appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 12 12'%3E%3Cpath fill='%231C59F2' d='M6 8L2 4h8z'/%3E%3C/svg%3E") no-repeat right 12px center;border:1px solid var(--line2);border-radius:var(--ri);padding:9px 34px 9px 12px;color:var(--ink);font-size:14px;font-weight:500;cursor:pointer}
.sel:hover{border-color:var(--primary)}
.fbtn{display:none;align-items:center;gap:8px;background:#fff;border:1px solid var(--line2);border-radius:var(--ri);padding:9px 14px;font-size:14px;font-weight:600;color:var(--ink);cursor:pointer}
.fbtn .n{background:var(--primary);color:#fff;border-radius:var(--rp);font-size:11px;padding:1px 7px}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.chips:empty{display:none}
.chip{display:inline-flex;align-items:center;gap:7px;background:#fff;text-transform: capitalize;border:1px solid var(--p100);color:var(--primary);font-size:12.5px;font-weight:600;padding:5px 6px 5px 12px;border-radius:var(--rp)}
.chip button{background:var(--p50);border:none;color:var(--primary);width:19px;height:19px;border-radius:50%;cursor:pointer;font-size:13px;line-height:1;display:grid;place-items:center;    padding: 0;}
.chip button:hover{background:var(--p100)}
.chip--clear{background:none;border:1px dashed var(--line2);color:var(--muted);padding:5px 12px;cursor:pointer;font:inherit;font-size:12.5px;font-weight:600;background: transparent !important;}
.chip--clear:hover{color:var(--error);border-color:var(--error)}

/* ============ FILTERS ============ */
.fp{background:#fff;border:1px solid var(--line);border-radius:var(--rc);box-shadow:var(--sh);position:sticky;top:calc(var(--hdr) + 14px);/*max-height:calc(100vh - var(--hdr) - 34px);*/display:flex;flex-direction:column}
.fp__hd{padding:16px 18px 12px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}
.fp__hd h2{font-size:15px;color:var(--ink);font-weight:600}
.fp__hd button{background:transparent !important;border:none;color:var(--muted);font-size:12.5px;font-weight:600;cursor:pointer;padding: 0;}
.fp__hd button:hover{color:var(--error)}
.fp__body{padding:4px 18px 14px;overflow-y:auto;flex:1}
.grp{border-bottom:1px solid var(--line)}
.grp:last-child{border-bottom:none}
.grp__t{width:100%;background:transparent !important;border:none;display:flex;align-items:center;justify-content:space-between;padding:15px 0 12px;cursor:pointer;font-size:12.5px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--ink) !important;}
.grp__t .ar{color:var(--muted2);transition:transform .18s}
.grp.closed .ar{transform:rotate(-90deg)}
.grp.closed .grp__c{display:none}
.grp__c{padding-bottom:15px}
.opt{display:flex;align-items:center;gap:11px;padding:6px 0;cursor:pointer;font-size:14px;color:var(--text);min-height:34px}
.opt:hover{color:var(--ink)}
.opt input{appearance:none;width:20px;height:20px;border:2px solid var(--line2);border-radius:6px;flex-shrink:0;cursor:pointer;background:#fff center/13px no-repeat;transition:.13s}
.opt input:checked{background-color:var(--primary);border-color:var(--primary);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")}
.opt input:hover{border-color:var(--primary)}
.opt .n{margin-left:auto;font-size:12px;color:var(--muted2);font-variant-numeric:tabular-nums}
.opt.dim{opacity:.42;pointer-events:none}
.fin{width:100%;border:1px solid var(--line2);border-radius:var(--ri);padding:10px 12px;color:var(--ink);outline:none}
.fin:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(28,89,242,.13)}
.rangeval{display:flex;justify-content:space-between;font-size:13px;margin-bottom:9px}
.rangeval b{color:var(--ink);font-size:15px}
input[type=range]{width:100%;appearance:none;height:5px;border-radius:3px;background:var(--line);outline:none}
input[type=range]::-webkit-slider-thumb{appearance:none;width:20px;height:20px;border-radius:50%;background:var(--primary);border:3px solid #fff;box-shadow:0 1px 5px rgba(23,35,67,.3);cursor:pointer}
input[type=range]::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:var(--primary);border:3px solid #fff;cursor:pointer}
.fp__ft{padding:13px 18px;border-top:1px solid var(--line);background:#fff;border-radius:0 0 var(--rc) var(--rc)}
.btn-apply{width:100%;background:var(--accent);color:#1a1400;font-weight:700;font-size:15px;border:none;border-radius:var(--rb);padding:13px;cursor:pointer}
.btn-apply:hover{background:var(--accent600)}
.btn-apply:disabled{background:var(--line);color:var(--muted);cursor:not-allowed}
.sheet-x{display:none}
.grp__t .ar {
  /* Smooth transition for rotation */
  transition: transform 0.3s ease;
  transform: rotate(0deg); /* Default open or normal state */
}

/* Rotate icon -90deg (or 90deg / 180deg depending on your arrow's default direction) when collapsed/closed */
.grp__t.open .ar {
  transform: rotate(-90deg);
}
.grp.no-bd {
    border-bottom: none;
}
.close-popup-search{
  padding: 0 !important;
  font-size: 20px !important;
}
.link-job-import{
      width: 100%;
    margin-top: 10px;
}
.link-job-import a{
  color: #3C95FD;
}
@media(max-width:991px){
    .fp{position:fixed;inset:auto 0 0 0;top:auto;max-height:86vh;border-radius:22px 22px 0 0;z-index:120;
      transform:translateY(100%);transition:transform .26s;max-width:none}
  .fp.open{transform:none}
  .sheet-x{display:block;background:none;border:none;font-size:24px;color:var(--muted);cursor:pointer;line-height:1}
  .fbtn {
        display: inline-flex;
    }
}
@media (max-width: 768px) {
    .count,
    .count-search {
        display: none;
    }
    .header-search .input-field{
      height: 42px;
    }
    .btn-search {
    height: 42px !important;
  }
  .jd__hd {
    flex-direction: column; /* Stack main content and date vertically */
    align-items: stretch;
    gap: 8px;
  }

  .jd__hd-meta {
    margin-left: 0;
    text-align: left; /* Align date to the left under title on mobile */
  }
}