.cc-featured-jobs {
  /* max-width: 1280px; */
  margin: 0 auto;
  padding: 20px 0 56px;
  font-family: "Poppins", sans-serif;
}

.cc-job-card-template {
  display: none;
}

.server-response {
  grid-column: 1/-1;
  text-align: center;
  font-family: "Poppins";
  font-size: 24px;
  font-weight: 500;
  display: none;
}

.cc-header-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-bottom: 28px;
  margin-bottom: 44px;
  border-bottom: 1px solid #e5e7eb;
}

.cc-header-title {
  font-size: 24px;
  font-weight: 600;
  font-style: normal;
  line-height: 32px;
  color: #082f49;
  text-align: center;
}

.cc-pagination {
  position: absolute;
  right: 0;
  top: 12px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
}

.cc-page-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 100px;
  background: #0284c7;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  box-sizing: border-box;
}

/* Overriding astra theme's inline css */
.cc-featured-jobs .cc-page-btn:hover,
.cc-featured-jobs .cc-page-btn:focus,
.cc-featured-jobs .cc-page-btn:active,
.cc-featured-jobs .cc-explore-jobs-btn:hover,
.cc-featured-jobs .cc-explore-jobs-btn:focus,
.cc-featured-jobs .cc-explore-jobs-btn:active {
  background: #0284c7 !important;
  color: #fff !important;
  border-color: #0369a1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transform: none !important; /* if Astra adds movement */
}

.cc-page-indicator {
  min-width: 88px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid #dbe3ef;
  border-radius: 999px;
  background: #ffffff;
  color: #1f2937;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.cc-job-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cc-job-card {
  background: #ffffff;
  border: 1px solid #edf1f5;
  border-radius: 12px;
  padding: 18px 20px 16px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.cc-job-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.cc-job-card-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.cc-job-icon {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #eef4ff;
  flex: 0 0 48px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cc-job-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc-job-main {
  min-width: 0;
  flex: 1;
}

.cc-job-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: #1f2937;
  margin-bottom: 6px;
}

.cc-job-company-location {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cc-job-company {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: #374151;
}

.cc-job-location {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: #6b7280;
}

.cc-job-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.cc-job-applicants {
  font-size: 15px;
  font-weight: 500;
  color: #1683e2;
  text-decoration: none;
}

.cc-job-applicants:hover {
  text-decoration: underline;
}

.cc-job-posted {
  font-size: 15px;
  font-weight: 400;
  color: #6b7280;
  white-space: nowrap;
}

.cc-explore-btn {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.cc-explore-jobs-btn {
  min-width: 190px;
  height: 48px;
  padding: 0 24px;
  border: 1.5px solid #1683e2;
  border-radius: 6px;
  background: transparent;
  color: #1683e2;
  font-size: 16px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.cc-explore-jobs-btn:hover {
  background: #1683e2;
  color: #ffffff;
}

@media (max-width: 1024px) {
  .cc-header-wrapper {
    justify-content: space-between;
    gap: 20px;
    position: static;
    flex-wrap: wrap;
  }

  .cc-pagination {
    position: static;
    transform: none;
    margin-left: auto;
  }

  .cc-job-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .cc-featured-jobs {
    padding: 16px 0 40px;
  }

  .cc-header-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
  }

  .cc-pagination {
    margin-left: 0;
  }

  .cc-job-cards {
    grid-template-columns: 1fr;
  }

  .cc-job-card {
    padding: 16px;
  }

  .cc-job-title {
    font-size: 17px;
  }

  .cc-job-company,
  .cc-job-location,
  .cc-job-applicants,
  .cc-job-posted {
    font-size: 14px;
  }

  .cc-job-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
