/* Job Grid */
.career-jobs-container {
  display: grid !important;
  grid-template-columns: 1fr 3fr !important;
  gap: 10px 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
}

.jobs-filters {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.filter-group {
  flex: 1;
  min-width: 150px;
}

.filter-group select,
.filter-group input {
  width: 100%;
  height: 3.5em;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  color: #000 !important;
}

.filter-group select,
.filter-group input:focus-visible {
  outline: none;
}

.filter-reset-btn {
  background: #6c757d;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.filter-reset-btn:hover {
  background: #5a6268;
}

/* Jobs Grid */
/* .jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
  margin: 20px 0;
} */

.job-card {
  /* background: #fff; */
  /* border-radius: 8px; */
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
  padding: 20 20px 0 20px;
  /* transition: transform 0.3s, box-shadow 0.3s; */
}

@media (max-width: 1024px) {

  .job-card{
    padding-top: 20px;
  }
}

.job-card-header {
  display: flex;
  justify-content: start;
  align-items: center;
  flex: content !important;
  gap: 10px;
  /* margin-bottom: 15px; */
}

.job-title {
  flex: content !important;
  font-size: 18px;
  margin: 0;
  flex: 1;
}

.job-title a {
  font-family: "Montserrat";
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
}

.job-title a:hover {
  color: #133185;
}

.job-status {
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
  margin-left: 10px;
}

.job-status.open {
  background: #e8f5e9;
  color: #2e7d32;
}

.job-status.paused {
  background: #fff3e0;
  color: #e65100;
}

.job-status.closed {
  background: #fce4ec;
  color: #c62828;
}

.job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  font-size: 14px;
}

.job-card-meta .meta-item .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  color: #133185;
  margin-right: 4px;
}

.job-card-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 15px;
  font-size: 14px;
  color: #555;
}

.meta-item {
  color: #4b5563 !important;
  font-family: "Montserrat";
  font-size: 14px !important;
}

.job-excerpt {
  color: #555;
  margin: 10px 0;
  line-height: 1.6;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.job-tags .tag {
  background: #e3f2fd;
  color: #1565c0;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
}
.short-description {
  margin-top: 10px;
}
.job-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #eee;
}

.view-job-btn,
.apply-btn {
  padding: 6px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
}

.view-job-btn {
  background: transparent;
  color: #2271b1;
  border: 1px solid #2271b1;
}

.view-job-btn:hover {
  background: #2271b1;
  color: #fff;
}

.apply-btn {
  background: #133185 !important;
  padding: 5px 20px !important;
  color: #fff !important;
  border-radius: 5px !important;
  font-size: 14px;
}

.apply-btn:hover {
  background: #efcb2a !important;
  color: #111827;
}

/* Pagination */
.jobs-pagination {
  margin-top: 30px;
  text-align: center;
}

.jobs-pagination .page-numbers {
  display: inline-block;
  /* padding-bottom: 8px; */
  margin: 8px;
  padding-bottom: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  text-decoration: none;
  color: #333;
}
ul.page-numbers {
  padding: 12px;
}

.jobs-pagination .page-numbers.current {
  background: #efcb2a;
  color: #fff;
  border-color: #efcb2a;
}

.jobs-pagination .page-numbers:hover:not(.current) {
  background: #f8f9fa;
}

.jobs-pagination .page-numbers li a.next,
.jobs-pagination .page-numbers li a.prev {
  padding-left: 5px;
  padding-right: 5px;
}

/* No jobs found */
.no-jobs-found {
  background: #f8f9fa;
  border-radius: 8px;
  text-align: center;
  padding: 20px;
  display: flex;
  height: 92%;
  justify-content: center;
  align-items: center;
}

.no-jobs-found p {
  font-size: 18px;
  color: #818486;
}

/* Responsive */
@media (max-width: 768px) {
  .career-jobs-container {
    display: block !important;
  }
  .jobs-grid {
    grid-template-columns: 1fr;
  }

  .filter-row {
    flex-direction: column;
  }

  .filter-group {
    width: 100%;
  }

  /* .job-card-header {
    display: row;
    align-items: flex-start;
    gap: 10px;
  } */

  .job-status {
    margin-left: 0;
  }

  .job-card-footer {
    flex-direction: column;
    gap: 10px;
  }

  .view-job-btn,
  .apply-btn {
    width: 100%;
    text-align: center;
  }
}

/* Job Card Footer */
.job-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #eee;
}

.footer-left {
  display: flex;
  align-items: center;
}

.footer-right {
  display: flex;
  align-items: center;
  position: relative;
}

/* Share Container */
.share-container {
  position: relative;
  display: inline-block;
}

/* Share Toggle Button */
.share-toggle-btn {
  cursor: pointer;
}
/* .share-toggle-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 14px;
  color: #4b5563;
  transition: all 0.3s ease;
  font-weight: 500;
}

.share-toggle-btn:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.share-toggle-btn.active {
  background: #133185;
  border-color: #133185;
  color: #ffffff;
} */

/* .share-toggle-btn.active:hover {
  background: #0e2668;
}

.share-toggle-btn svg {
  flex-shrink: 0;
}

.share-toggle-btn .share-text {
  font-size: 13px;
}

.share-toggle-btn .share-arrow {
  transition: transform 0.3s ease;
}

.share-toggle-btn.active .share-arrow {
  transform: rotate(180deg);
} */

/* Social Share Dropdown */
.social-share-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 200px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 8px;
  z-index: 1000;
  animation: dropdownSlide 0.25s ease;
}

.social-share-dropdown.show {
  display: block;
}

@keyframes dropdownSlide {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Dropdown Arrow */
.social-share-dropdown::before {
  content: "";
  position: absolute;
  top: -8px;
  right: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #ffffff;
  filter: drop-shadow(0 -2px 4px rgba(0, 0, 0, 0.05));
}

.share-dropdown-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Share Item */
.share-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: #4b5563;
  transition: all 0.2s ease;
  cursor: pointer;
}

.share-item:hover {
  text-decoration: none;
  background: #f8f9fa;
}

.share-item .share-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.share-item .share-label {
  font-size: 14px;
  font-weight: 500;
  color: #4b5563;
}

/* Individual Share Item Hover Colors */
.share-item.whatsapp .share-icon {
  background: #e8f5e9;
  color: #25d366;
}

.share-item.whatsapp:hover .share-icon {
  background: #25d366;
  color: #ffffff;
}

.share-item.facebook .share-icon {
  background: #e8f0fe;
  color: #1877f2;
}

.share-item.facebook:hover .share-icon {
  background: #1877f2;
  color: #ffffff;
}

.share-item.twitter .share-icon {
  background: #f0f0f0;
  color: #000000;
}

.share-item.twitter:hover .share-icon {
  background: #000000;
  color: #ffffff;
}

.share-item.linkedin .share-icon {
  background: #e8f0fe;
  color: #0a66c2;
}

.share-item.linkedin:hover .share-icon {
  background: #0a66c2;
  color: #ffffff;
}

.share-item.email .share-icon {
  background: #fce4ec;
  color: #ea4335;
}

.share-item.email:hover .share-icon {
  background: #ea4335;
  color: #ffffff;
}

.share-item:hover .share-label {
  color: #111827;
}

/* Responsive */
@media (max-width: 768px) {
  .job-card-footer {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  .jobs-grid .job-card .job-title {
    line-height: 0.7em;
    margin-bottom: 10px;
  }
	#jobs-grid .job-card .job-title a {
    font-size: 16px !important;
  }

  /* .footer-right {
    width: 100%;
  } */

  .share-container {
    width: 100%;
  }

  .share-toggle-btn {
    width: 100%;
    justify-content: center;
  }

  .social-share-dropdown {
    right: auto;
    left: 0;
    width: 100%;
    min-width: unset;
  }

  .social-share-dropdown::before {
    right: auto;
    left: 20px;
  }

  .share-item {
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .share-toggle-btn {
    padding: 8px 12px;
    font-size: 13px;
  }

  .share-toggle-btn svg {
    width: 16px;
    height: 16px;
  }

  .share-item .share-icon {
    width: 32px;
    height: 32px;
  }

  .share-item .share-icon svg {
    width: 18px;
    height: 18px;
  }
}

.single-job-container .no-jobs-found .back-to-jobs {
  background: #133185;
  padding: 8px 20px;
  color: #fff;
  border-radius: 5px;
  font-size: 16px;
}
