:root {
  --bg:           #f5f3ef;
  --surface:      #ffffff;
  --border:       #e4dfd8;
  --text-primary: #1c1a18;
  --text-muted:   #7a746c;
  --accent:       #ff5757;
  --accent-dark:  #ff5757;
  --tag-bg:       #fdf6ec;
  --radius:       12px;
  --shadow-sm:    0 2px 8px rgba(28,26,24,0.06);
  --shadow-md:    0 8px 28px rgba(28,26,24,0.12);
  --transition:   0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --fs-16: clamp(14px, 1vw + 12px, 16px);
  --fs-18: clamp(16px, 1vw + 14px, 18px);
  --fs-20: clamp(18px, 1vw + 16px, 20px);
  --fs-22: clamp(20px, 1vw + 18px, 22px);
  --fs-24: clamp(22px, 1vw + 20px, 24px);
  --fs-26: clamp(24px, 1vw + 22px, 26px);
  --fs-28: clamp(26px, 1vw + 24px, 28px);
}
.job-skeleton{
height:120px;
background:#eee;
border-radius:8px;
animation:pulse 1.2s infinite;
}

@keyframes pulse{
0%{opacity:0.6}
50%{opacity:1}
100%{opacity:0.6}
}

.job-page-wrapper {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 25px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 0;
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
}
.job-filters {
  position: sticky;
  top: 24px;
  align-self: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
}

.job-filters h3 {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.job-filters h3::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ff5757' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='6' x2='20' y2='6'/%3E%3Cline x1='8' y1='12' x2='16' y2='12'/%3E%3Cline x1='11' y1='18' x2='13' y2='18'/%3E%3C/svg%3E") no-repeat center;
}

.job-filters h4 {
  font-size: 0.8rem;
  font-family: inherit !important;
  font-weight: 600;
  color: var(--text-primary);
  margin: 8px 0 12px;
  text-transform: none;
  letter-spacing: 0;
}

.profile-filters {
  display: flex;
  flex-direction: row;   
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.filter-btn {
  width: auto;           
  text-align: center;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px; 
  background: transparent;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.filter-btn::before {
  display: none;
}

.filter-btn:hover {
  border-color: var(--accent);
  background: #fff0f0;
  color: var(--accent);
  padding-left: 14px;
}

.filter-btn.active {
  border-color: var(--accent);
  background: #fff0f0;
  color: var(--accent);
  font-weight: 500;
  padding-left: 14px;
}

.salary-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.salary-btn {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: transparent;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.salary-btn:hover,
.salary-btn.active {
  border-color: var(--accent);
  background: #fff0f0;
  color: var(--accent);
}

.job-results {
  display: grid;
  gap: 20px;
  align-content: start;
}

.job-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #ff5757;
}

.job-card:hover::before {
  transform: scaleX(1);
}

.job-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 10px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.job-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 12px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 6px;
}
.job-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  align-self: flex-start;
  padding: 9px 20px;
  background: var(--text-primary);
  color: #fff;
  text-decoration: none;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background var(--transition), gap var(--transition);
}

.job-card a:hover {
  background: var(--accent-dark);
  color: #fff;
  gap: 10px;
}

.job-card a:hover::after {
  transform: translateX(3px);
}

.job-results:empty::after {
  content: 'No jobs found matching your filters.';
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .job-page-wrapper {
    grid-template-columns: 1fr;
    padding: 24px 16px;
  }

  .job-filters {
    position: static;
  }

  .profile-filters {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .filter-btn {
    width: auto;
  }

  .job-results {
    grid-template-columns: 1fr;
  }
}

.job-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 20px;
}

.benefit-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--surface);
  white-space: nowrap;
  transition: border-color var(--transition), background var(--transition);
}
.job-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.job-card-info {
  flex: 1;
  min-width: 0;
}

.job-card-info h3 {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 1.1rem;
  margin: 8px 0 4px;
}

.job-card-info .company-name {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.company-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 4px;
  background: #fff;
  flex-shrink: 0;
}

.company-logo-placeholder {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--tag-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.text-orange-500 {
    --tw-text-opacity: 1;
    color: rgb(249 115 22 / var(--tw-text-opacity, 1));
}
.font-semibold {
    font-weight: 600;
}
.text-\[0\.6rem\] {
    font-size: .6rem;
}
.py-0\.5 {
    padding-top: .125rem;
    padding-bottom: .125rem;
}
.px-1\.5 {
    padding-left: .375rem;
    padding-right: .375rem;
}
.bg-orange-100 {
    --tw-bg-opacity: 1;
    background-color: rgb(255 237 213 / var(--tw-bg-opacity, 1));
}
.rounded-md {
    border-radius: .375rem;
}
.text-green-600 {
    --tw-text-opacity: 1;
    color: rgb(22 163 74 / var(--tw-text-opacity, 1));
}
.bg-green-100 {
    --tw-bg-opacity: 1;
    background-color: rgb(220 252 231 / var(--tw-bg-opacity, 1));
}
.text-purple-600 {
    --tw-text-opacity: 1;
    color: rgb(147 51 234 / var(--tw-text-opacity, 1));
}
.bg-purple-100 {
    --tw-bg-opacity: 1;
    background-color: rgb(243 232 255 / var(--tw-bg-opacity, 1));
}
.gap-2 {
    gap: .5rem;
}
.flex {
    display: flex;
}

/* job listing css start */
.page-template-job-listings{
  position: relative;
}
.page-template-job-listings .job-filters h3{
  font-size: var(--fs-18);
  color: var(--accent);
}
.page-template-job-listings .job-filters h4{
  font-size: var(--fs-16);
}
.page-template-job-listings .job-card-info h3{
  font-size: var(--fs-22);
}
/* job listing css end */