/*
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;
}

/* --------------------------------------------------------------------------
   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; /* match input */
  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 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: auto; 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;
    }
}


/* ==========================================================================
   FILTER PAGE — filter.html  (Figma node 3:1656 "Filter – Advanced")
   All new rules prefixed with .fp- to avoid collision with existing styles.
   Uses only existing CSS custom properties from :root above.
   ========================================================================== */

/* ── 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: 3.375rem;
  padding: 5px 24px;
  background: var(--color-white-ess);
  border: 1.4px solid var(--color-neutral-4);
  border-radius: var(--r-10);
  box-shadow: var(--shadow-input);
}
.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;
  }
}
