/* Base Styles for Careers Page */
* {
  box-sizing: border-box !important;
}

body {
  font-family: "Libre Franklin", sans-serif;
}

/* Hero Section - Show background image properly */
.inner_hero {
  position: relative;
height: auto !important
}

.inner_hero.backbgbox {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

/* Show the featured image as background */
.inner_hero .backbg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 1 !important;
  display: block !important;
}

.inner_hero .container {
  position: relative;
  z-index: 2;
}

.inner_hero .row {
  margin-bottom: 0;
}

.inner_hero .content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 550px;
  padding-bottom: 130px;
}

.inner_hero .caption {
  width: 770px;
  background: rgba(222, 228, 234, 0.89) !important;
  border-radius: 3px;
  padding: 40px;
  text-align: center;
}

.inner_hero .caption h1 {
  color: #946f38;
  font-size: 48px;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 600;
  line-height: 1.17;
  padding-bottom: 16px;
}

.inner_hero .caption p {
  color: #000;
  font-size: 20px;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 26px;
}

/* Location Select Dropdown - Target Select2 elements */
.loc_select {
  padding-bottom: 10px;
}

.loc_select li h4 {
  display: block;
  color: #000;
  font-size: 12px;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 700;
  line-height: 1.17;
  text-transform: uppercase;
  padding-bottom: 16px;
}

/* Select2 specific styling */
.select2-container--default .select2-selection--single .select2-selection__rendered {
  display: inline-block !important;
  background: #294869 url(/wp-content/uploads/2025/05/downarrow_white.svg) no-repeat right 10px center !important;
  border: 1px solid #ffffff !important;
  border-radius: 3px !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-family: "Libre Franklin", sans-serif !important;
  font-weight: 600 !important;
  padding-left: 12px !important;
  min-width: 225px !important;
  text-indent: 0 !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  line-height: 30px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  display: none !important;
}

/* Fix Select2 dropdown options - make them look like native UI */
.select2-container--default .select2-results > .select2-results__options {
  background: #666666 !important;
  border: 1px solid #999999 !important;
  border-top: none !important;
  border-radius: 0 0 8px 8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  padding: 4px 0 !important;
}

.select2-container--default .select2-results__option {
  background: transparent !important;
  color: #ffffff !important;
  padding: 8px 16px !important;
  font-family: "Libre Franklin", sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  border: none !important;
  margin: 0 4px !important;
  border-radius: 4px !important;
}

.select2-container--default .select2-results__option--highlighted {
  background: #4a90e2 !important;
  color: #ffffff !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
  background: #4a90e2 !important;
  color: #ffffff !important;
}

/* Fix dropdown positioning and styling to match original */
.select2-dropdown {
  border: 1px solid #999999 !important;
  border-top: none !important;
  border-radius: 0 0 8px 8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  background: #666666 !important;
}

/* Make the main dropdown look more native */
.select2-container--default .select2-selection--single {
  background: #294869 !important;
  border: 1px solid #ffffff !important;
  border-radius: 8px !important;
  height: 36px !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Search and Filter */
.searchandfilter > ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Career Section - Add proper padding to both columns */
.career_section {
  /* Remove all overlap styling */
}

.career_section .container {
  width: auto;
  max-width: 1400px;
  margin: 0 auto;
}

.career_section .row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.career_section .career_info {
  position: relative;
  background: #dee4ea;
  padding-top: 100px !important;
  padding-right: 85px !important;
  padding-bottom: 92px !important;
}

.career_info:before {
  background: #dee4ea;
  display: block;
  content: "";
  width: 4000px;
  height: 100%;
  position: absolute;
  right: 100%;
  top: 0;
}

.career_section .contact_job_block {
  padding-left: 85px !important;
  padding-top: 100px !important;
  padding-bottom: 92px !important; /* Add bottom padding */
}

/* Search Filter Results Wrapper */
.search-filter-results {
  width: 100%;
}

/* Two Column Layout - Ensure proper 50/50 with padding */
.search-filter-results {
  width: 100%;
}

.search-filter-results .row {
  display: flex !important;
  flex-wrap: wrap;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
}

/* Left Column - Blue Background with Content */
.search-filter-results .career_info {
  position: relative !important;
  background: #dee4ea !important;
  padding-top: 100px !important;
  padding-right: 85px !important;
  padding-bottom: 92px !important;
  flex: 0 0 50% !important;
  max-width: 50% !important;
  box-sizing: border-box !important;
}

/* This creates the infinite blue background extending left */
.search-filter-results .career_info:before {
  background: #dee4ea !important;
  display: block !important;
  content: "" !important;
  width: 4000px !important;
  height: 100% !important;
  position: absolute !important;
  right: 100% !important;
  top: 0 !important;
}

/* Right Column - White Background */
.search-filter-results .contact_job_block {
  padding-left: 85px !important;
  padding-top: 100px !important;
  padding-bottom: 92px !important;
  flex: 0 0 50% !important;
  max-width: 50% !important;
  background: #fff !important;
  box-sizing: border-box !important;
}

/* Typography in Career Info (Left Column) */
.career_info h2 {
  color: #946f38;
  font-size: 36px;
  font-family: "Libre Franklin", sans-serif !important;
  font-weight: 600 !important;
  line-height: 1.22;
  padding-bottom: 8px;
}

.career_info h4 {
  color: #793535;
  font-size: 24px;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 400;
  line-height: 1.25;
  padding-bottom: 6px;
  text-transform: uppercase;
}

.career_info p {
  color: #000;
  font-size: 16px;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 18px;
}

.career_info p + h4 {
  padding-top: 26px;
}

.career_info p + h2 {
  padding-top: 40px;
}

/* Video/Content Styling in Career Info */
.career_info ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.career_info ul li {
  color: #000;
  font-size: 14px;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 600;
  line-height: 1.71;
  margin-bottom: 8px;
}

/* Contact Box Styling (Right Column) */
.contact_box {
}

.contact_box h2 {
  color: #946f38;
  font-size: 36px;
  font-family: "Libre Franklin", sans-serif !important;
  font-weight: 600 !important;
  line-height: 1.22;
  padding-bottom: 32px;
  margin: 0;
}

.contact_box .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.contact_box .col {
  padding: 0 15px;
}

.contact_box .col.s12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.contact_box .col.m8 {
  flex: 0 0 66.66667%;
  max-width: 66.66667%;
  padding: 0px 0px 0px 15px !important; /* Match your custom CSS */
}

.contact_box .col.m4 {
  flex: 0 0 33.33333%;
  max-width: 33.33333%;
  padding: 0px 0px 0px 0px !important; /* Match your custom CSS */
}

.contact_box address {
  color: #294869;
  font-size: 16px;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 600;
  font-style: normal;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  margin-bottom: 32px;
  padding-left: 28px;
  position: relative;
}

.contact_box address .icon {
  position: absolute;
  left: 0;
  top: 8px;
}

.contact_box p {
  color: #294869;
  font-size: 16px;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 600;
  font-style: normal;
  line-height: 1.5;
  padding-left: 28px;
  position: relative;
  margin-bottom: 32px;
}

.contact_box p a {
  color: #294869;
  text-decoration: none;
}

.contact_box p a:hover {
  color: #294869;
  text-decoration: underline;
}

.contact_box p .icon {
  position: absolute;
  left: 0;
  top: 3px;
}

/* Job Box Styling */
.job_box h2 {
  color: #946f38;
  font-size: 36px;
  font-family: "Libre Franklin", sans-serif !important;
  font-weight: 600 !important;
  line-height: 1.22;
  padding-bottom: 32px;
}

.job_box p {
  color: #000;
  font-size: 16px;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 18px;
}

.job_listing {
  max-width: 500px;
  padding-top: 30px;
}

.job_listing > img {
  display: block;
  max-width: 100%;
}

/* Pagination (Hidden) */
.pagination {
  display: none;
}

/* Utility Classes */
.container {
  width: auto;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.row .col {
  padding: 0 15px;
}

.col.s12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.col.l6 {
  flex: 0 0 50%;
  max-width: 50%;
}

/* Center align utility */
.center-align {
  text-align: center;
}

/* Phone Links */
a[href^=tel] {
  color: #294869;
  text-decoration: none;
}

/* Typography Base */
h1 {
  color: #946f38;
  font-size: 48px;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 600;
  line-height: 1.17;
  padding-bottom: 16px;
}

h2 {
  color: #946f38;
  font-size: 36px;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 600;
  line-height: 1.22;
  padding-bottom: 32px;
}

h3 {
  color: #294869;
  font-size: 32px;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 600;
  line-height: 1.25;
  text-transform: uppercase;
  padding-bottom: 10px;
}

h4 {
  color: #793535;
  font-size: 24px;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 400;
  line-height: 1.25;
  padding-bottom: 6px;
}

p {
  color: #060606;
  font-size: 16px;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 18px;
}

/* Responsive breakpoints - Match original */
@media only screen and (max-width: 992px) {
  .search-filter-results .career_info,
  .search-filter-results .contact_job_block {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .search-filter-results .career_info:before {
    width: 100vw !important;
    left: calc(-50vw + 50%) !important;
    transform: none !important;
    right: auto !important;
    z-index: -1 !important;
  }
  
  .contact_box .col.m8,
  .contact_box .col.m4 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px !important;
  }
  
  .inner_hero .caption {
    width: 90%;
    padding: 30px;
  }
  
  .inner_hero .caption h1 {
    font-size: 36px;
  }
  
  .inner_hero .caption p {
    font-size: 18px;
  }
}