/* === JOB FILTERS (custom flat dropdowns) === */
.jp-filters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 40px auto 30px;
  max-width: 700px;
}

@media (max-width: 768px) {
  .jp-filters {
    grid-template-columns: 1fr;
  }
}

.jp-dropdown {
  position: relative;
  font-size: 15px;
  color: #162431;
}

.jp-dropdown-selected {
  background: #fff;
  border: 1px solid #ccc;
  padding: 12px 15px;
  cursor: pointer;
  transition: border-color 0.2s ease;
  position: relative;
}

.jp-dropdown-selected::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid #162431;
  border-bottom: 2px solid #162431;
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
  transition: transform 0.2s ease;
}

.jp-dropdown.open .jp-dropdown-selected::after {
  transform: translateY(-50%) rotate(-135deg);
}

.jp-dropdown-options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  z-index: 10;
	padding:0px;
}

.jp-dropdown-options li {
  padding: 10px 15px;
  cursor: pointer;
  list-style: none;
}

.jp-dropdown-options li:hover {
  background: #f3f4f4;
}

.jp-dropdown.open .jp-dropdown-options {
  display: block;
}

/* === JOB LIST === */
.jp-job-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 40px 0;
}

.jp-job-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #f3f4f4;
  border: 1px solid #f3f4f4;
  transition: background 0.2s;
}

.jp-job-line:hover {
  background: #eaeaea;
}

.jp-job-title {
  list-style: none;
	margin-right:40px;
}

.jp-job-title a {
  font-size: 18px;
  color: #162431;
  text-decoration: none;
  font-weight: 500;
  font-family: var(--wd-title-font) !important;
}

.jp-apply-inline {
  background: #162431;
  color: #fff;
  padding: 6px 18px;
  text-decoration: none;
	white-space: nowrap;
}

.jp-apply-inline:hover {
  background: #fff;
  color: #162431;
}

/* === SINGLE JOB VIEW === */
.jp-single-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  align-items: flex-start;
  padding: 0px;
  max-width: 1200px;
  margin: 0 auto;
}

.jp-single-left,
.jp-single-right {
  width: 100%;
}

.jp-single-left h1,
.jp-single-title {
  color: #162431;
  font-size: 28px;
  margin-bottom: 20px;
}

.jp-meta {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
  font-family: var(--wd-title-font) !important;
}

.jp-meta li {
  margin-bottom: 6px;
  font-size: 15px;
}

.jp-single-content {
  font-size: 16px;
  line-height: 1.7;
}

.jp-single-right {
  background: #f8f8f8;
  padding: 25px;
  border-radius: 10px;
}

.jp-single-right h3 {
  margin-bottom: 15px;
  color: #162431;
}

/* === BACK LINK === */
.jp-back {
  display: inline-block;
  margin-bottom: 20px;
  color: #162431;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

@media only screen and (max-width: 1024px) {
.jp-back {
  margin-bottom: 80px;
	}
}

.jp-back:hover {
  color: #162431;
}

/* === INLINE SINGLE JOB VIEW === */
.jp-single-overlay {
  position: relative;
  background: #fff;
  padding-top: 20px;
  margin-top: 30px;
  animation: fadeSlideUp 0.4s ease both;
  z-index: 2;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === CF7 SUBMIT BUTTON === */
.jp-single-container div.wpcf7 input[type="submit"] {
  background-color: #162431 !important;
}

/* === PAGINATION === */
.jp-pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.jp-pagination ul {
  display: flex;
  list-style: none;
  gap: 0px;
  padding: 0;
  margin: 0;
}

.jp-pagination li {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  border-radius: 0px;
  background: #fff;
  transition: all 0.25s ease;
}

.jp-pagination li a,
.jp-pagination li span {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #919195;
  font-size: 14px;
  transition: all 0.25s ease;
}

/* Hover and current background */
.jp-pagination li:hover,
.jp-pagination li .current {
  background: #dfdfe0;
  border-color: #dfdfe0;
	
}

/* Hover and current text color */
.jp-pagination li:hover a,
.jp-pagination li .current {
  color: #162431 !important;
  font-weight: 500;

}




/* SVG Arrows */
.jp-pagination img.jp-arrow {
  width: 22px;
  height: auto;
  transition: transform 0.2s ease, filter 0.2s ease;

}

.jp-pagination li:hover img.jp-arrow,
.jp-pagination li .current img.jp-arrow {
  filter: invert(0);
  transform: scale(1.1);
}


/* === SINGLE JOB PAGE STYLES === */
.jp-single-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 00px 80px;
}

.jp-single-heading {
  text-align: center;
  font-size: 28px;
  font-weight: 500;
  color: #162431;
}

.jp-back-wrap {
  margin-bottom: -50px;
}

.jp-back {
  color: #919195;
  font-size: 16px;
  text-decoration: none;
}

.jp-back:hover {
  color: #162431;
}

.jp-section-title {
  font-size: 24px;
  font-weight: 500;
  color: #162431;
  margin-top: 30px;
  margin-bottom: 10px;
	font-family: var(--wd-title-font);
}

.jp-single-content {
  font-size: 16px;
  line-height: 1.8;
  color: #162431;
}

.jp-single-content strong{
  font-size: 24px;
  line-height: 1.8;
  color: #162431;
		font-family: var(--wd-title-font);
}

.jp-qual-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.jp-qual-list li {
  margin-bottom: 8px;
  color: #333;
}

.jp-meta-icons {
  list-style: none;
  margin-top: 25px;
  padding: 0;

}

.jp-meta-icons li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #162431;
  margin-bottom: 8px;
}

.jp-meta-icons img {
  width: 16px;
  height: 16px;
}

/* Right column box */
.jp-single-right {
  background: #f5f5f5;
  padding: 25px 30px;
  border-radius: 6px;
}

.jp-single-right h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 20px;
  color: #162431;
		font-family: var(--wd-title-font);
}

/* Responsive layout */
@media (max-width: 768px) {
  .jp-single-container {
    grid-template-columns: 1fr;
  }
  .jp-single-heading {
    text-align: left;
  }
}
