/*--------------------------------------------------------------
>>> THEME REFRESH - June 2025
----------------------------------------------------------------

/* ─── RESPONSIVE ───────────────────────────────────────── */

.desktop {
  display: block;
}
.mobile {
  display: none;
}
@media screen and (max-width: 990px) {
  .desktop {
    display: none;
  }
  .mobile {
    display: block;
  }
}

/* ─── Background Styles ─────────────────────────────────────────────── */
.dark-blue h1, .dark-blue h2, .dark-blue h3, .dark-blue h4, .dark-blue p, .dark-blue ol, .dark-blue ul {
  color: #fff;
}
.dark-blue btn {
  background: #ffff;
  color: #7B4594;
}
.dark-blue h2::after {
	background: #fff;
}

/* ─── MODULES & ROWS ───────────────────────────────────────── */

.flex-section {
  margin: 0 auto;
  padding: 50px;
}
.flex-section .row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  --bs-gutter-x: 3.5rem;
}

.page-template-page-flexible-content .narrow {
  max-width: 768px;
  margin: 0 auto;
}
.page-template-page-flexible-content .left {
  text-align: left;
}

/* stack on mobile */
@media (max-width: 768px) {
  .flex-section {
    padding: 20px;
  }
}

/* ─── FEATURE ACTIONS ───────────────────────────────────────── */

.page-template-page-flexible-content .feature-actions {
  padding: 2.5rem 2.5rem 2.5rem 0 ; 
}
.page-template-page-flexible-content .feature-actions.center {
  padding: 2.5rem; 
}
.page-template-page-flexible-content .feature-actions .btn, 
.call-out a {
  background: #132756;
  color: #ffffff;
  padding: 0.2rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  transition: .2s all;
}
.page-template-page-flexible-content .dark-blue .feature-actions .btn, 
.dark-blue .call-out a {
	background: #fff;
    color: #132756;
}
.feature-actions .btn::after, .flex-section p a::after, .feature-box__arrow:after {
  content: '\f178';
  font-family: "Font Awesome 5 Pro";
  display: inline-block;
  margin-left: 0.5em; /* space between text & arrow */
  vertical-align: middle; /* keep it centered with the text */
}
.feature-actions .btn:hover, .call-out a:hover {
  background: #29529b;
  transition: .2s all;
}
@media (max-width: 768px) {
  .page-template-page-flexible-content .feature-actions .btn, .call-out a {
    margin: 10px;
  }
}
/* ─── TESTIMONIALS ───────────────────────────────────────── */

.page-template-page-flexible-content .testimonial-slide p {
  padding: 40px 0;
}
.page-template-page-flexible-content .slick-active button {
  background: transparent !important;
}

/* ─── FEATURE BOXES ───────────────────────────────────────── */

.feature-box__arrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.feature-box__arrow:after {
  content: '\f0a9';
  font-size: 25px;
  color: #d8d8d8;
}
.page-template-page-flexible-content .call-out {
  background: rgba(255, 255, 255, .5) !important;
  padding: 1.5rem;
  border-radius: 25px;
  border: 1px solid #a0a0a0;
}
@media screen and (max-width:768px) {
  .page-template-page-flexible-content .narrow br {
    display: none;
  }
}

/* ─── HEADINGS ───────────────────────────────────────── */

.page-template-page-flexible-content h2 {
  font-size: 12px;
  letter-spacing: 3px;
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
  text-transform: uppercase;
  font-weight: 400;
  color: #071f57;
	 position: relative;
  display: inline-block;    /* shrink to text width */
  margin-bottom: 1.5em;       /* give room for underline */
}
.page-template-page-flexible-content h2::after {
  transform-origin: left;
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    height: .5px;
    width: var(--underline, 100%);
    background: #68478d;
    margin: 5px 0 0;
}
.page-template-page-flexible-content .dark-blue h2 {
	color: #fff;
}
.page-template-page-flexible-content .dark-blue h2::after {
	background: #fff;
}
.page-template-page-flexible-content h3 {
  font-weight: 600;
  font-size: 2rem;
}
.page-template-page-flexible-content h3 strong {
  color: #68478d;
}

/*
.page-template-page-flexible-content h4 {}
.page-template-page-flexible-content p, 
.page-template-page-flexible-content ol, 
.page-template-page-flexible-content ul {}
*/

.hiring-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "now boxes"
    "never boxes";
  align-items: start;
  align-items: center;
}

/* ─── CAREERS - ASSIGN GRID AREAS ───────────────────────────────────────── */
.hiring-now {
  grid-area: now;
}
.hiring-boxes {
  grid-area: boxes;
  padding-top: 30px;
}
.hiring-never {
  grid-area: never;
}
.hiring-boxes .feature-box {
  flex: 1 1 calc(50% - 1.5rem);
  max-width: calc(50% - 3.5rem);
}
@media (max-width: 992px) {
  .hiring-section {
    display: flex;
    flex-direction: column;
  }
  .hiring-boxes {
    padding-top: 0;
  }
  .hiring-boxes .feature-box {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .hiring-section {
    grid-template-columns: 1fr;
    grid-template-areas:
      "now"
      "boxes"
      "never";
  }
}

/* ─── Feature Boxes Grid ───────────────────────────────────────── */

.feature-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem; /* gutter between cards */
  margin-bottom: 2rem;
  max-width: 990px;
  margin: 0 auto;
  justify-content: center;
}
.feature-box {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 1rem;
  perspective: 800px;
  overflow: hidden;
  flex: 1 1 calc(33.333% - 1.5rem);
  display: flex;
  flex-direction: column;
  will-change: transform;
  transform-origin: center center;
  transition: transform 0.4s ease-out;
}
.feature-box__image img {
  display: block;
  width: 100%;
  height: 100%;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  object-fit: cover;
  will-change: transform;
  transform-origin: center center;
  /* start at 105% zoom */
  transform: scale(1.05);
  transition: transform 0.4s ease-out;
}
.feature-box h3 {
  font-weight: 600;
  font-size: 1.2rem;
  color: #7B4594; 
}

.feature-box__content {
  flex: 1; /* push buttons to bottom if you have them */
  margin: 1.3rem 1.3rem .75rem;
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}
a.feature-box:hover {
  background: #132756;
}
a.feature-box:hover h3 {
  color: #ffffff;
}
.flex-section .row img {
  border-radius: 15px;
}
.flex-section .mejs-overlay-button {
  display: none;
}
@media (max-width: 992px) {
  .feature-box {
    flex: 1 1 calc(50% - 1.5rem);
    max-width: calc(50% - 3.5rem);
  }
  .flex-section .row {
    row-gap: 40px;
  }
  .flex-section .row div {
    width: 100%;
  }
}

/*
@media (max-width: 768px) {
  .feature-boxes {
    flex-direction: column;
    align-items: center;
  }
  .feature-box {
    flex: 1 1 100%;
    max-width: calc(100% - 3.5rem);
  }
}
*/

/* ─── COLUMN VIDEO ─────────────────────────────────────────────── */

.column-video {
  position: relative;
}
.column-video .play-icon {
  font-size: 3rem; /* adjust size */
  color: #fff; /* or another contrast color */
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-45%, -50%);
  pointer-events: none; /* clicks fall through to video */
  z-index: 2;
}
@media (max-width: 992px) {
  .flex-section .wp-video {
    margin: 0 auto;
  }
}

/* ─── HERO ─────────────────────────────────────────────── */

@media (max-width: 768px) {
  section#hero {
    background-size: 150% auto !important;
    background-position: center center !important;
    aspect-ratio: 2.3 !important;
  }
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.button-wrapper {
  margin: 20px 20px 20px 0;
}
.glassdoor {
  max-height: 40px;
  width: auto;
  margin-right: 20px;
}



/* LOCATIONS MAP */

#location-filter input[type='text'] {
    font-size: 20px;
    color: #3551a3;
    padding: 10px 19px;
    border-radius: 11px;
	margin-bottom: 0;
}
#location-filter {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    justify-content: space-between;
    flex-direction: row;
}
	
#countySuggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: auto;
  z-index: 1000;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
  display: none;
}

#countySuggestions li {
  cursor: pointer;
    margin-left: 0;
    padding: 3px 25px;
    font-size: 16px;
    text-align: left;
}
#countySuggestions li:hover {
  background: #f1f5f9;
}
	
.locations-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
}
.map-canvas {
    width: 100%;
    max-width: 700px;
    height: 600px;
    flex: 1 1 60%;
    border-radius: 12px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}
.location-list {
    flex: 1 1 35%;
    max-height: 600px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    background: #fff;
    box-shadow: 0 0 6px rgba(0,0,0,0.05);
}
.location-entry {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.2s;
}
.location-entry:hover, .location-entry.active {
    background-color: #f1f5f9;
}
.location-entry h4 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: #111827;
}
.location-entry p {
    margin: 0.15rem 0;
    font-size: 0.95rem;
    color: #4b5563;
}
p.phone {
    font-size: 18px;
    font-weight: 600;
}
p.address {
    line-height: 22px;
}
.map-location-info p.phone {
    font-size: 18px;
    font-weight: 600;
}
.map-location-info p.address {
    line-height: 22px;
}

@media (max-width: 768px) {
.locations-wrapper {
    flex-direction: column;
	display: block;
}
.map-canvas, .location-list {
    width: 100%;
    max-width: 100%;
}
.location-list {
    max-height: none;
}
}
	
	#noResults {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%) translateY(-100%);
  background: #fee; padding: .5rem 1rem; border: 1px solid #f99; border-radius:4px;
  pointer-events: none;
}
	
#location-filter {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

#clearFilters {
  flex: 0 0 auto;
  background: #e5e7eb;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 0.95rem;
}
#clearFilters:hover {
  background: #d1d5db;
}

/* Long List */

.center {
	text-align: center;
}
.long-list ul {
	column-count: 3;
    padding: 50px;
    column-gap: 50px;
}
.long-list ul li {
	text-align: left;
	text-indent: 0;
    break-inside: avoid;
    page-break-inside: avoid;
    -webkit-column-break-inside: avoid;
    -moz-column-break-inside: avoid;
    display: block;
    margin-bottom: 10px;
}
@media screen and (max-width: 990px) {
	.long-list ul {
		column-count: 2;
	}
}