/* POS Home v1.4.2 – safe visual controls; fonts & heading sizes inherited from Enfold. */
/* The single #main rule and title bar rules are scoped to /home/ only. */
body.pos-home-target #main .title_container,
body.pos-home-target .title_container,
body.pos-home-target #main .breadcrumb {
  display: none !important;
}

/* Enfold adds whitespace above and below page content. Only the designated
   /home/ page is affected: no global #main or theme layout reset. */
body.pos-home-target #main .container_wrap_first { border-top: 0 !important; }
body.pos-home-target #main .container_wrap_first > .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
body.pos-home-target #main .container_wrap_first .template-page,
body.pos-home-target #main .container_wrap_first .content,
body.pos-home-target #main .container_wrap_first .post-entry,
body.pos-home-target #main .container_wrap_first .entry-content-wrapper {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* v1.4.1 – fix Enfold's outer border/spacing on the designated Home page.
   Remove the source of the grey rails instead of stretching a 100vw child
   out of a padded 1420px parent (which caused overflow on some screens). */
body.pos-home-target #main .container_wrap_first {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.pos-home-target #main .container_wrap_first > .container {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  float: none !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.pos-home-target #main .container_wrap_first .template-page,
body.pos-home-target #main .container_wrap_first .content,
body.pos-home-target #main .container_wrap_first .post-entry,
body.pos-home-target #main .container_wrap_first .entry-content-wrapper {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  float: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/* Keep the page photographic sections edge-to-edge, not the header/footer. */
body.pos-home-target #main .pos-home { width: 100% !important; margin: 0 !important; }

/* Full-bleed sections, with inner width aligned to Enfold's configured 1420px. */
.pos-home {
  position: relative;
  width: 100%;
  max-width: none;
  margin-left: 0;
  overflow: clip;
  isolation: isolate;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.pos-home, .pos-home * { box-sizing: border-box; }
.pos-home .container.pos-container {
  position: relative;
  float: none;
  max-width: var(--pos-max-width, 1420px);
  width: calc(100% - 80px);
  margin: 0 auto;
  padding: 0;
}
.pos-home h1,
.pos-home h2,
.pos-home h3,
.pos-home p { margin-top: 0; }
.pos-home a { text-decoration: none; }
.pos-home a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.pos-home .pos-eyebrow {
  margin: 0 0 15px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .74rem;
  font-weight: 600;
  line-height: 1.5;
}
.pos-home .pos-section { padding: 94px 0; }
.pos-home .pos-section__intro { margin-bottom: 36px; }
.pos-home .pos-section__intro h2 { margin: 0; max-width: 780px; }

/* Hero: dedicated photographic full-width band, never a thin bar. */
.pos-home .pos-hero {
  position: relative;
  min-height: var(--pos-hero-height, 560px);
  display: flex;
  align-items: flex-start;
  background: #111;
  color: #fff;
  padding: 76px 0 50px;
}
.pos-home .pos-hero__media,
.pos-home .pos-hero__slide,
.pos-home .pos-hero::after {
  position: absolute;
  inset: 0;
}
.pos-home .pos-hero__media { z-index: 0; overflow: hidden; }
.pos-home .pos-hero__slide {
  opacity: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  transition: opacity 1.5s ease-in-out;
  max-width: none;
  max-height: none;
  margin: 0;
}
/* Ignore theme image sizing on the large photo, keep full-bleed cover. */
#top .pos-home .pos-hero__slide {
  position: absolute !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  transform: none !important;
}
.pos-home .pos-hero__slide.is-active { opacity: 1; }
.pos-home .pos-hero::after {
  content: '';
  background: linear-gradient(90deg, rgba(6,10,18,var(--pos-hero-darkness, .76)) 0%, rgba(6,10,18,var(--pos-hero-darkness-mid, .57)) 50%, rgba(6,10,18,var(--pos-hero-darkness-far, .38)) 100%);
  z-index: 1;
  pointer-events: none;
}
.pos-home .pos-hero__content { z-index: 2; }
/* The default is the TOP of the photo; optional admin choices remain available. */
.pos-home .pos-hero--text-center { align-items: center; }
.pos-home .pos-hero--text-bottom { align-items: flex-end; }
.pos-home .pos-hero__eyebrow { color: inherit; opacity: .88; }
.pos-home .pos-hero h1 {
  margin: 0;
  max-width: 860px;
  line-height: 1.11;
  color: inherit;
}
.pos-home .pos-hero__subtitle {
  margin: 20px 0 0;
  color: inherit;
  opacity: .9;
}

/* Large editorial cards 01 and 02; smaller four below. */
.pos-home .pos-explore { background: #fff; padding-top: 70px; }
.pos-home .pos-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.pos-home .pos-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  border-radius: 16px;
  background: #f4f4f4;
  color: #171717;
  border: 0;
  outline: 0;
  box-shadow: none;
  transition: none;
}
.pos-home .pos-card:hover { transform: none !important; box-shadow: none !important; }
.pos-home .pos-card--large { grid-column: span 2; min-height: 330px; }
.pos-home .pos-card--small { min-height: 300px; }
.pos-home .pos-card--dark { background: #111; color: #fff; }
.pos-home .pos-card--light { background: #eeefef; color: #191919; }
/* The entire card stays clickable, but the linked area contains TEXT only:
   theme JavaScript cannot treat these as linked images. */
#top .pos-home .pos-card__content {
  position: relative;
  z-index: 3;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  text-decoration: none !important;
  transform: none !important;
  transition: none !important;
}
#top .pos-home .pos-card--large .pos-card__content { padding: 34px 38px; }
#top .pos-home .pos-card__content:hover,
#top .pos-home .pos-card__content:focus-visible {
  background: transparent !important;
  color: inherit !important;
  transform: none !important;
}
#top .pos-home .pos-card__content:focus-visible {
  outline: 2px solid currentColor !important;
  outline-offset: -5px;
}

.pos-home .pos-card__number {
  display: block;
  font-size: .78rem;
  letter-spacing: .13em;
  font-weight: 600;
  color: inherit;
  opacity: .58;
}
.pos-home .pos-card__body { display: block; margin: auto 0 28px; }
.pos-home .pos-card__title {
  display: block;
  line-height: 1.23;
  margin: 0 0 11px;
  color: inherit;
}
.pos-home .pos-card__description {
  display: block;
  font-size: .94rem;
  font-weight: 400;
  line-height: 1.7;
  color: inherit;
  opacity: .76;
}
.pos-home .pos-card__link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .85rem;
  font-weight: 600;
  color: inherit;
}
.pos-home .pos-card__link span { font-size: 1.24em; line-height: 1; }

/* About section (editorial two-column with a three-step editorial timeline). */
.pos-home .pos-about { background: #fafafa; }
.pos-home .pos-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .85fr);
  gap: clamp(48px, 8vw, 135px);
  align-items: start;
}
.pos-home .pos-about h2 { max-width: 560px; margin-bottom: 26px; }
.pos-home .pos-about__left > p:not(.pos-eyebrow) { max-width: 640px; margin: 0 0 18px; line-height: 1.85; }
.pos-home .pos-about__links { display: flex; gap: 16px 26px; flex-wrap: wrap; margin-top: 32px; }
.pos-home .pos-about__links a { font-size: .88rem; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.pos-home .pos-about__steps { border-top: 1px solid #ddd; }
.pos-home .pos-step {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid #ddd;
  padding: 31px 0;
}
.pos-home .pos-step__number { opacity: .55; font-size: .78rem; letter-spacing: .14em; }
.pos-home .pos-step h3 { margin: 0 0 8px; }
.pos-home .pos-step p { line-height: 1.75; margin: 0; opacity: .79; }

/* Light-grey trust panel, not a strip underneath the hero. */
.pos-home .pos-trust { background: #fff; }
.pos-home .pos-trust h2 { margin: 0 0 34px; }
.pos-home .pos-trust__panel { background: #f4f4f4; border-radius: 18px; padding: 38px 42px; }
.pos-home .pos-trust__items {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 45px;
  margin: 0;
  padding: 0;
}
.pos-home .pos-trust__items li {
  list-style: none;
  display: flex;
  align-items: start;
  gap: 14px;
  margin: 0;
  padding: 0;
  line-height: 1.55;
}
.pos-home .pos-trust__tick {
  display: grid;
  place-items: center;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #8f8f8f;
  color: #111;
  font-size: .72rem;
  line-height: 1;
}

/* Contact: the only black closing call-to-action card. */
.pos-home .pos-contact-wrap { padding-top: 20px; padding-bottom: 100px; background: #fff; }
.pos-home .pos-contact {
  border-radius: 19px;
  padding: 60px 68px;
  background: #111;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 36px;
  align-items: center;
}
.pos-home .pos-contact h2 { color: inherit; margin: 0 0 14px; }
.pos-home .pos-contact__subtitle { color: inherit; opacity: .86; margin: 0 0 24px; }
.pos-home .pos-contact address { font-style: normal; display: flex; flex-wrap: wrap; gap: 7px 26px; color: inherit; opacity: .80; line-height: 1.65; }
.pos-home .pos-contact address a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pos-home .pos-contact__button {
  align-self: center;
  white-space: nowrap;
  background: #fff;
  color: #111;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 54px;
  border-radius: 9px;
  padding: 15px 22px;
  font-size: .91rem;
  font-weight: 600;
  transition: background .2s ease;
}
.pos-home .pos-contact__button:hover { filter: brightness(.93); }

@media (max-width: 1100px) {
  .pos-home .pos-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pos-home .pos-card--large { grid-column: span 1; }
  .pos-home .pos-card--small { min-height: 260px; }
  .pos-home .pos-about__grid { gap: 46px; }
  .pos-home .pos-contact { padding: 48px; }
}
@media (max-width: 767px) {
  .pos-home .container.pos-container { width: calc(100% - 40px); }
  .pos-home .pos-section { padding: 68px 0; }
  .pos-home .pos-hero { min-height: min(var(--pos-hero-height, 560px), 440px); padding: 46px 0 42px; }
  .pos-home .pos-hero h1 { max-width: 570px; }
  .pos-home .pos-card-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .pos-home .pos-card { min-height: 235px; }
  #top .pos-home .pos-card__content,
  #top .pos-home .pos-card--large .pos-card__content { padding: 27px; }
  .pos-home .pos-card--large { grid-column: span 1; min-height: 285px; }
  .pos-home .pos-about__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .pos-home .pos-trust__panel { padding: 26px; }
  .pos-home .pos-trust__items { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pos-home .pos-contact-wrap { padding-top: 0; padding-bottom: 68px; }
  .pos-home .pos-contact { padding: 35px 26px; flex-direction: column; align-items: stretch; }
  .pos-home .pos-contact address { flex-direction: column; gap: 7px; }
  .pos-home .pos-contact__button { align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .pos-home .pos-hero__slide { transition: none; }
  .pos-home .pos-card { transition: none; }
}
/* Neutralize Enfold framing in all motion settings. */
#top .pos-home .pos-card--photo .pos-card__media {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: #111 !important;
  transform: none !important;
}
#top .pos-home .pos-card .image-overlay,
#top .pos-home .pos-card .image-overlay-inside { display: none !important; }
.pos-home .pos-card--photo .pos-card__photo { transition: none; }

/* All editor-driven styling stays scoped to POS Home. */
.pos-home .pos-hero--center { text-align: center; }
.pos-home .pos-hero--center h1 { margin-left: auto; margin-right: auto; }
.pos-home .pos-hero--focus-top .pos-hero__slide { object-position: center 22%; }
.pos-home .pos-hero--focus-center .pos-hero__slide { object-position: center 52%; }
.pos-home .pos-hero--focus-bottom .pos-hero__slide { object-position: center 78%; }
.pos-home .pos-hero--no-photo::after { display: none; }
.pos-home .pos-explore.pos-custom-text h2,
.pos-home .pos-about.pos-custom-text h2,
.pos-home .pos-about.pos-custom-text h3,
.pos-home .pos-trust.pos-custom-text h2 { color: inherit; }
.pos-home .pos-card--photo .pos-card__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(.84);
  transition: none;
}
.pos-home .pos-card--focus-left .pos-card__photo { object-position: 20% center; }
.pos-home .pos-card--focus-center .pos-card__photo { object-position: center center; }
.pos-home .pos-card--focus-right .pos-card__photo { object-position: 80% center; }
/* Enfold and its global hover effects must never scale or stretch photo cards.
   The photo is clipped to its card at all times, including keyboard focus. */
#top .pos-home .pos-card--photo,
#top .pos-home .pos-card--photo:hover,
#top .pos-home .pos-card--photo:focus-visible {
  transform: none !important;
  overflow: hidden !important;
}
#top .pos-home .pos-card--photo .pos-card__media > img.pos-card__photo,
#top .pos-home .pos-card--photo:hover .pos-card__media > img.pos-card__photo,
#top .pos-home .pos-card--photo:focus-within .pos-card__media > img.pos-card__photo {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  transform: none !important;
  scale: 1 !important;
  zoom: 1 !important;
  opacity: 1 !important;
  animation: none !important;
  transition: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.pos-home .pos-card--photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(0,0,0,var(--pos-card-darkness-top,.19)) 0%,
    rgba(0,0,0,var(--pos-card-darkness,.55)) 55%,
    rgba(0,0,0,var(--pos-card-darkness-bottom,.77)) 100%);
  pointer-events: none;
}
.pos-home .pos-card--photo { border: 0 !important; outline: 0 !important; background-color: #111 !important; }
.pos-home .pos-card--photo .pos-card__number { opacity: .92; text-shadow: 0 1px 7px rgba(0,0,0,.4); }
.pos-home .pos-card--photo .pos-card__description { opacity: .94; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.pos-home .pos-card--photo .pos-card__title,
.pos-home .pos-card--photo .pos-card__link { text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.pos-home .pos-card--photo > .pos-card__content { position: relative; z-index: 2; }
.pos-home .pos-trust--cols-1 .pos-trust__items { grid-template-columns: minmax(0, 1fr); }
.pos-home .pos-trust--marker-none .pos-trust__items li { gap: 0; }
.pos-home.pos-spacing-compact .pos-section { padding-top: 65px; padding-bottom: 65px; }
.pos-home.pos-spacing-spacious .pos-section { padding-top: 116px; padding-bottom: 116px; }
.pos-home.pos-spacing-compact .pos-contact-wrap { padding-top: 12px; }
.pos-home.pos-spacing-spacious .pos-contact-wrap { padding-top: 30px; }
.pos-home.pos-corners-square .pos-card,
.pos-home.pos-corners-square .pos-trust__panel,
.pos-home.pos-corners-square .pos-contact,
.pos-home.pos-corners-square .pos-contact__button { border-radius: 0; }
.pos-home.pos-corners-soft .pos-card,
.pos-home.pos-corners-soft .pos-trust__panel,
.pos-home.pos-corners-soft .pos-contact { border-radius: 8px; }
.pos-home.pos-corners-soft .pos-contact__button { border-radius: 5px; }

/* v1.4.0 – no image expansion on mouse hover, touch or keyboard focus. */
#top .pos-home .pos-card--photo img.pos-card__photo {
  transform-origin: center center !important;
  transform: none !important;
  will-change: auto !important;
}
#top .pos-home .pos-card--photo:hover img.pos-card__photo,
#top .pos-home .pos-card--photo:focus-within img.pos-card__photo {
  transform: none !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* v1.4.1 – final neutralization of Enfold frame and hover effects. */
#top .pos-home .pos-hero,
#top .pos-home .pos-card,
#top .pos-home .pos-card:hover {
  border: 0 !important;
  box-shadow: none !important;
  background-clip: padding-box;
}
#top .pos-home .pos-card__media,
#top .pos-home .pos-card__media:hover,
#top .pos-home .pos-card__media > img,
#top .pos-home .pos-card__media > img:hover {
  box-shadow: none !important;
  outline: 0 !important;
  border: 0 !important;
  filter: none !important;
  transition: none !important;
  animation: none !important;
  transform: none !important;
}
#top .pos-home .pos-card--photo .pos-card__media > img {
  object-fit: cover !important;
  object-position: center !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  display: block !important;
}
#top .pos-home .pos-card--focus-left .pos-card__media > img { object-position: 20% center !important; }
#top .pos-home .pos-card--focus-right .pos-card__media > img { object-position: 80% center !important; }
#top .pos-home .pos-card--focus-center .pos-card__media > img { object-position: 50% center !important; }
/* When Enfold is configured in Boxed mode, avoid grey frame rails on /home/
   without changing the site's other pages or the header/footer settings. */
body.pos-home-target #wrap_all {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  box-shadow: none !important;
}
body.pos-home-target #main {
  margin-left: 0 !important;
  margin-right: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  box-shadow: none !important;
}
body.pos-home-target #wrap_all {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border: 0 !important;
  outline: 0 !important;
}
body.pos-home-target #main { border: 0 !important; }
