body {
    color:rgb(0, 0, 0)
}

.bullhorn-featured-job-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

/* Optional card styling */
.bullhorn-featured-job-grid-container .bullhorn-job-card {
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 20px;
  padding: 30px 50px;
  /*box-shadow: 0 2px 8px rgba(0,0,0,0.05);*/
}

.bullhorn-featured-job-grid-container .bullhorn-job-card .job-title {
  font-family: "DM Sans", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  min-height: 40px;
}

.bullhorn-featured-job-grid-container .bullhorn-job-card .job-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.bullhorn-featured-job-grid-container .bullhorn-job-card .job-info-list li {
  margin-bottom: 15px;
}

.bullhorn-featured-job-grid-container .bullhorn-job-card .job-info-list li span {
font-weight: 700;
}

.bullhorn-featured-job-grid-container .bullhorn-job-card .job-info-list .fas {
width:25px;
}

.job-card-footer {
text-align: center;
padding: 10px 0 0 0;
}

.job-card-footer a {
  background: rgb(219, 12, 20);
  color: rgb(255, 255, 255);
  border-radius: 9999px;
  padding: .5rem 2rem;
}

/* Responsive */
@media (max-width: 992px) {
  .bullhorn-featured-job-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .bullhorn-featured-job-grid-container {
    grid-template-columns: 1fr;
  }
}


/* Grid container for jobs list */
.bullhorn-joblist-grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Exactly 2 columns */
  gap: 30px;
  padding: 20px 0;
}

.bullhorn-joblist-grid-container .bullhorn-job-card {
    background: #fff;
    border: 1px solid #c4e3cb;
    border-radius: 1rem;
    padding: 1.25rem;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}


.bullhorn-joblist-grid-container .bullhorn-job-card:hover {
    border-color: #000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.bullhorn-joblist-grid-container .bullhorn-job-card .job-title {
  font-family: "DM Sans", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
}

.bullhorn-joblist-grid-container .bullhorn-job-card .job-info-list {
  list-style: none;
}

.bullhorn-joblist-grid-container .bullhorn-job-card .job-info-list li {
padding: 0 0 5px 0;
}

.bullhorn-joblist-grid-container .bullhorn-job-card .job-info-list li span {
font-weight: 700;
}

.bullhorn-joblist-grid-container .bullhorn-job-card .job-info-list li i.fas {
min-width: 20px;
}

.bullhorn-joblist-grid-container .job-card-footer {
margin-top: 20px;
}

.bullhorn-joblist-grid-container .job-card-footer a.view-job-btn {
  background: rgb(219, 12, 20);
  color: rgb(255, 255, 255);
  border-radius: 9999px;
  padding: .5rem 2rem;
}


/* On smaller screens (tablet and mobile), switch to 1 column */
@media (max-width: 768px) {
  .bullhorn-joblist-grid-container {
    grid-template-columns: 1fr;
  }
}

/* ?? Search Filters HOMEPAGE */

.bullhorn-filters-perrys-homepage {
  padding: 40px 20px;
  text-align: center;
}

.bullhorn-filters-perrys-homepage form {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  border: 1px solid #000;
  border-radius: 30px;
  overflow: hidden;
  background-color: white;
  max-width: 800px;
  margin: 0 auto;
}

.bullhorn-filters-perrys-homepage .filter-row {
  display: flex;
  flex: 1;
  width: 100%;
}

.bullhorn-filters-perrys-homepage .filter-field {
  display: flex;
  align-items: center;
  flex: 1 1 0;
  padding: 10px 15px;
  border-right: 1px solid #ccc;
  position: relative;
}

.bullhorn-filters-perrys-homepage .filter-field:last-child {
  border-right: none;
}

.bullhorn-filters-perrys-homepage input[type="text"],
.bullhorn-filters-perrys-homepage select {
  width: 100%;
  padding: 10px 10px 10px 30px;
  font-size: 14px;
  border: none;
  outline: none;
  background: transparent;
  color: #000;
}

.bullhorn-filters-perrys-homepage input::placeholder,
.bullhorn-filters-perrys-homepage select {
  color: #333;
  opacity: 1;
}

/* Icons (for demo purposes, add icons manually if needed) */
.bullhorn-filters-perrys-homepage #keyword::before {
  content: '??';
}
.bullhorn-filters-perrys-homepage #postcode::before {
  content: '??';
}

.bullhorn-filters-perrys-homepage .filter-field.search-button {
  flex: 0 0 auto;
  padding: 0;
  align-items: stretch;
  border: none;
}

.bullhorn-filters-perrys-homepage .filter-submit {
  background-color: #d9101c;
  color: white;
  font-weight: bold;
  padding: 0 30px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 0 30px 30px 0;
}

.bullhorn-filters-perrys-homepage .filter-submit:hover {
  background-color: #000;
}

.bullhorn-filters-perrys-homepage .filter-actions {
  margin-top: 20px;
}

.bullhorn-filters-perrys-homepage .filter-reset {
  display: none;
}

/* Responsive Stack */
@media (max-width: 900px) {
  .bullhorn-filters-perrys-homepage form {
    flex-direction: column;
    border-radius: 20px;
  }

  .bullhorn-filters-perrys-homepage .filter-row {
    flex-direction: column;
  }

  .bullhorn-filters-perrys-homepage .filter-field {
    border-right: none;
    border-bottom: 1px solid #ccc;
  }

  .bullhorn-filters-perrys-homepage .filter-field:last-child {
    border-bottom: none;
  }

  .bullhorn-filters-perrys-homepage .filter-submit {
    width: 100%;
    border-radius: 0 0 20px 20px;
  }
}



/* ?? Search Filters Main Container */
.bullhorn-filters-jobs {
  background-color: #d9101c;
  padding: 20px;
  border-radius: 50px;
  overflow: hidden;
}

/* ?? Filter Form Container */
.bullhorn-filters-jobs form {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  border: 1px solid #000;
  border-radius: 50px;
  background: white;
  overflow: hidden;
}

/* ?? Row Wrapper for Fields */
.bullhorn-filters-jobs .filter-row {
  display: flex;
  flex-wrap: nowrap;
  flex: 1 1 auto;
  align-items: center;
  width: 100%;
}

/* ?? Each Field */
.bullhorn-filters-jobs .filter-field {
  flex: 1 1 0;
  min-width: 120px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  border-right: 1px solid #ccc;
  box-sizing: border-box;
}

/* ?? Last field (no right border) */
.bullhorn-filters-jobs .filter-field:last-child {
  border-right: none;
}

/* ?? Text input & dropdowns */
.bullhorn-filters-jobs input[type="text"],
.bullhorn-filters-jobs select {
  border: none;
  outline: none;
  font-size: 14px;
  width: 100%;
  background: transparent;
}

/* ?? Search Button Field */
.bullhorn-filters-jobs .filter-field.search-button {
  flex: 0 0 auto;
  padding: 0;
  border-right: none;
  display: flex;
  align-items: stretch;
}

/* ?? Search Button Style */
.bullhorn-filters-jobs .filter-submit {
  background-color: #d9101c;
  color: white;
  height: 100%;
  width: 100%;
  border-radius: 0 50px 50px 0;
  padding: 17px 25px;
  font-weight: bold;
  font-size: 14px;
  white-space: nowrap;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

/* ??? Hover State */
.bullhorn-filters-jobs .filter-submit:hover {
  background-color: #000000;
}

/* ?? Hide reset for now */
.bullhorn-filters-jobs .filter-reset {
  display: none;
}

/* ?? Responsive: Switch to column layout below 900px */
@media (max-width: 900px) {
  .bullhorn-filters-jobs form {
    flex-direction: column;
    border-radius: 20px;
  }

  .bullhorn-filters-jobs .filter-row {
    flex-direction: column;
  }

  .bullhorn-filters-jobs .filter-field {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ccc;
  }

  .bullhorn-filters-jobs .filter-field:last-child {
    border-bottom: none;
  }

  .bullhorn-filters-jobs .filter-submit {
    width: 100%;
    border-radius: 0 0 20px 20px;
  }
}

/* Pagination */

.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.pagination {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
  align-items: center;
}

.pagination li {
  padding: 8px 14px;
  font-size: 16px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: 500;
  color: #333;
}

.pagination .page-num:hover,
.pagination .page-arrow:hover {
  background-color: #f0f0f0;
}

.pagination .active {
  background-color: #d9101c;
  color: white;
  font-weight: bold;
}

.pagination .page-arrow {
  background: transparent;
  border-radius: 0;
  color: #666;
  font-weight: 500;
  padding: 8px 12px;
}

.pagination .page-arrow:hover {
  background-color: #eee;
}

@media (max-width: 480px) {
  .pagination li {
    font-size: 14px;
    padding: 6px 10px;
  }
}

/* Job Description */

/* Job Description Header Layout */
.review-job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.review-job-header label {
  font-weight: bold;
  margin-right: 5px;
}

.review-job-header span {
  display: inline-block;
  vertical-align: middle;
}

.review-job-header .posted-date,
.review-job-header .reference {
  font-size: 14px;
  color: #333;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}

.review-job-header .posted-date {
  justify-content: flex-start;
}

.review-job-header .reference {
  justify-content: flex-end;
}

@media (max-width: 600px) {
  .review-job-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .review-job-header .reference {
    justify-content: flex-start;
  }
}


.review-job-title h2 {
font-size: 1.5rem;
font-weight: bold;
}

.review-job-title h3 {
font-size: 1.25rem;
font-weight: normal;
}


.job-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 30px;
}

.job-info-item {
  display: flex;
  align-items: center;
  justify-content: center; /* ? Center horizontally */
  gap: 15px;
  text-align: left;
}

.job-info-item i {
  font-size: 28px; /* Bigger icon size */
  color: #000; /* Adjust as needed */
  flex-shrink: 0;
}

.job-text {
  display: flex;
  flex-direction: column;
}

.job-label {
  font-size: 14px;
  color: #84a2a9;
  margin-bottom: 2px;
}

.job-value {
  font-weight: bold;
  font-size: 16px;
  color: #000;
}

/* Responsive: stack items vertically */
@media (max-width: 768px) {
  .job-info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .job-info-item {
    justify-content: flex-start;
  }
}
.review-job-apply, .review-job-details {
  margin-bottom: 30px;
}
.review-job-apply button {
  background: rgb(219, 12, 20);
  color: rgb(255, 255, 255);
  border-radius: 9999px;
  padding: .5rem 2rem;
}


/* === Apply Now Form - Perrys Style === */

/* Form Container */
#apply-now-form {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  max-width: 900px;
  margin: auto;
  box-sizing: border-box;
}

/* Section Headings */
#apply-now-form h3 {
  margin-top: 2rem;
  font-size: 1.2rem;
  color: #111;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}

/* Form Row for Side-by-Side Fields */
#apply-now-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2%;
  margin-bottom: 1.2rem;
}

/* Half-width Fields */
#apply-now-form .form-group.half {
  width: 49%;
}

/* Full-width Fields */
#apply-now-form .form-group {
  margin-bottom: 1.2rem;
  width: 100%;
}

/* Labels */
#apply-now-form label {
  font-weight: 600;
  color: #333;
  display: block;
  margin-bottom: 0.5rem;
}

/* Inputs, Selects, Textareas */
#apply-now-form input[type="text"],
#apply-now-form input[type="email"],
#apply-now-form input[type="tel"],
#apply-now-form input[type="file"],
#apply-now-form input[type="password"],
#apply-now-form input[type="number"],
#apply-now-form select,
#apply-now-form textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  color: #333;
  transition: border 0.2s;
  box-sizing: border-box;
}

/* Checkboxes and Radios - inline */
#apply-now-form .form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

#apply-now-form .form-check input[type="checkbox"],
#apply-now-form .form-check input[type="radio"] {
  margin: 0;
  flex-shrink: 0;
}

#apply-now-form .form-check label {
  font-weight: 400;
  margin: 0;
  display: inline;
  color: #333;
  cursor: pointer;
}

/* Input Focus */
#apply-now-form input:focus,
#apply-now-form textarea:focus,
#apply-now-form select:focus {
  border-color: #d10000;
  outline: none;
}

/* Submit Button */
#apply-now-form .submit-button {
  background-color: #d10000;
  color: #fff;
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-block;
}

#apply-now-form .submit-button:hover {
  background-color: #a60000;
}

/* Error Messages */
.error-message {
  color: #d10000;
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

/* Checkboxes & Radios */
#apply-now-form .form-check {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

#apply-now-form .form-check label {
  margin-left: 0.5rem;
  font-weight: normal;
}

/* File input fix */
input[type="file"] {
  padding: 0.4rem 0.5rem;
}

/* Recaptcha */
.g-recaptcha {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

/* Responsive: Stack half fields on small screens */
@media (max-width: 767px) {
  #apply-now-form .form-group.half {
    width: 100%;
  }
}
