/*
 * Theme Name: Benjamin F. Edwards&reg; 2026
 * Description: For benjaminfedwards.com
 * Author: Thoughtprocess Interactive
*/

@import url("https://use.typekit.net/mke5ieg.css");

:root {
  /* Theme colors */
  --theme-color-navy: #1c2b45;
  --theme-color-dark-blue: #0033c8;
  --theme-color-indigo: #687ebd;
  --theme-color-lavender: #5169ae;
  --theme-color-periwinkle: #b2c2ef;
  --theme-color-gold: #a48039;
  --theme-color-brown: #815c3b;
  --theme-color-sand: #d8d4c7;
  --theme-color-beige: #edebe7;
  --theme-color-white: #ffffff;
  --theme-color-black: #000000;

  /* Fonts */
  --theme-font-serif: "ivyora-text", serif;
  --theme-font-sans-serif: "articulat-cf", sans-serif;
}

html {
  line-height: 1.4;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overscroll-behavior: none;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  font-family: var(--theme-font-sans-serif);
  color: var(--theme-color-black);
  background: var(--theme-color-white);
}

h1,
h2,
h3,
h4 {
  font-family: var(--theme-font-serif);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 300;
  text-wrap: balance;

  &.has-body-large-font-size,
  &.has-body-default-font-size,
  &.has-body-small-font-size {
    font-family: var(--theme-font-sans-serif);
  }
}

h1 {
  font-size: clamp(3.438rem, 3.203rem + 1.172vw, 4.375rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.75rem, 1.469rem + 1.406vw, 2.875rem);
}

h3 {
  font-size: clamp(1.5rem, 1.2551rem + 1.2245vw, 2.25rem);
}

h4 {
  font-size: clamp(1.35rem, 1.2357rem + 0.5714vw, 1.75rem);
}

.has-headline-xxl-font-size,
.has-headline-xl-font-size,
.has-headline-large-font-size,
.has-headline-medium-font-size,
.has-headline-small-font-size,
.has-headline-xsmall-font-size {
  font-family: var(--theme-font-serif);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 300;
  line-height: 1.1;
}

.has-headline-xsmall-alt-font-size,
.has-eyebrow-font-size,
.has-body-large-font-size,
.has-body-default-font-size,
.has-body-small-font-size {
  font-family: var(--theme-font-sans-serif);
  letter-spacing: 0;
}

.has-eyebrow-font-size {
  font-weight: 600;
}

strong, .strong{
  font-weight: 700;
}

iframe {
  max-width: 100%;
}

a {
  color: var(--theme-color-navy);
}

.narrow-line {
  line-height: 1;
}

.nowrap {
  white-space: nowrap;
}

.bfe_arrow-btn-block {
  display: block;
  position: relative;
  color: var(--theme-color-white);
  text-decoration: none;
  padding: 1rem 0 1rem 3.5rem;
  min-height: 150px;
  overflow: hidden;

  h3 {
    position: relative;
    top: 55px;
    margin: 0 0 0.5rem 0;
    width: 100%;
    /* white-space: nowrap; */
    transition: all 0.25s ease-out;
  }

  .bfe_description {
    position: relative;
    top: 100px;
    width: 90%;
    opacity: 0;
    transition: all 0.25s ease-out;
    line-height: 1.25;
    font-size: clamp(0.875rem, 0.809rem + 0.351vw, 1.125rem);
  }

  &:before {
    content: url(assets/images/arrow-angle-up-right.svg);
    position: absolute;
    top: 70px;
    left: 0;
    transition: all 0.25s ease-out;
  }

  &:hover {
    h3 {
      top: 24px;
    }

    .bfe_description {
      opacity: 1;
      top: 30px;
    }

    &:before {
      top: 40px;
      left: 0;
      transform: rotate(45deg);
    }
  }

  @media screen and (max-width: 1050px) {
    min-height: 170px;
  }

  @media screen and (max-width: 780px) {
    min-height: 0;
    padding: 2rem 0 2rem 3.5rem;

    h3 {
      top: 0;
    }

    .bfe_description {
      opacity: 1;
      top: 0;
    }

    &:before {
      top: 30px;
    }
    &:hover {
      h3 {
        top: 0;
      }

      .bfe_description {
        top: 0;
      }

      &:before {
        top: 30px;
        transform: none;
      }
    }
  }

  @media (max-width: 781px) {
    .wp-block-column:last-child > &{
      border-top: 1px solid color-mix(in srgb, var(--theme-color-white) 25%, transparent) ;
    }
  }
}

.two-col {
  columns: 2;
  column-gap: 1rem;

  @media screen and (max-width: 780px) {
    columns: 1;
  }
}
/****************** HEADER **********************/

.bfe_page-header {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  transition: all 0.25s ease-out;

  &.scrolled {
    background: var(--theme-color-navy);
    top: calc(0px + var(--wp-admin--admin-bar--height, 0px));
    z-index: 100;
    color: var(--theme-color-white) !important;

    .bfe_page-header-navy &,
    .bfe_page-header-brown & {
      background: var(--theme-color-navy);
      color: var(--theme-color-white) !important;
    }
  }
  &.menu-open {
    background: var(--theme-color-beige);
    top: calc(0px + var(--wp-admin--admin-bar--height, 0px));
    z-index: 100;
    color: var(--theme-color-white) !important;

    .bfe_page-header-navy & {
      background: var(--theme-color-navy);
      color: var(--theme-color-white) !important;
    }

    .bfe_page-header-brown & {
      background: var(--theme-color-brown);
      color: var(--theme-color-white) !important;
    }
    &.scrolled {
      background: var(--theme-color-navy);

      .bfe_page-header-navy &,
      .bfe_page-header-brown & {
        background: var(--theme-color-navy);
        color: var(--theme-color-white) !important;
      }

    }
  }

  .bfe_main-logo {
    position: relative;
    z-index: 100;
    max-width: 365px;

    > a {
      display: block;

      > img {
        width: 100%;
      }
    }

    &:before {
      content: "";
      display: none;
    }

    .bfe_page-header-navy &,
    .bfe_page-header-brown &,
    .scrolled & {
      img {
        opacity: 0;
      }
      &:before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url("assets/images/benjamin-f-edwards-logo-white.svg");
        background-repeat: no-repeat;
        background-size: contain;
      }
    }
  }

  .bfe_header-container {
    gap: 1rem;
  }

  @media screen and (max-width: 800px) {
    background: var(--theme-color-beige);

    .bfe_page-header-navy & {
      background: var(--theme-color-navy) !important;
    }

    .bfe_page-header-brown & {
      background: #815c3b;
    }

    .bfe_page-header.scrolled & {
      background: var(--theme-color-navy) !important;
    }

    .bfe_header-container {
      gap: 0;

      .wp-block-column {
        flex-basis: 20% !important;
      }

      .wp-block-column:first-child {
        flex-basis: 80% !important;
      }
    }
  }
}

/* ADVISOR DIRECTORY */

.advisor-search-box {
  position: relative;
  float: right;

  @media screen and (max-width: 800px) {
    float: none;
    width: 100%;
  }

  .advisor-search-form {
    position: relative;

    @media screen and (max-width: 800px) {
      display: flex;
      width: 100%;
    }

    input {
      padding: 12px 65px 12px 20px;
      border: 1px solid var(--theme-color-white);
      background: none;
      color: var(--theme-color-white);
      font-size: 18px;

      @media screen and (max-width: 800px) {
        width: 90%;
      }

      &:focus-visible {
        outline-offset: 1px;
      }
    }

    button {
      border: none;
      background: none;
      color: var(--theme-color-white);
      padding: 11px 20px;
      position: absolute;
      top: 0;
      right: 0;

      path,
      circle {
        stroke: var(--theme-color-white);
      }

      &:hover {
        cursor: pointer;
        background: white;

        path,
        circle {
          stroke: var(--theme-color-gold);
        }
      }
    }
  }
}

.wp-block-post {
  .wp-block-post-featured-image {
    a {
      outline: 2px solid transparent;
      outline-offset: 0;
      transition: all 0.25s ease-in-out;

      &:hover {
        outline: 2px solid var(--theme-color-white) !important;
        outline-offset: -6px;
      }
    }
  }

  .wp-block-post-title {
    display: inline-block;
    margin-bottom: 0 !important;
    
    a {
      &::after {
        content: "";
        position: absolute;
        width: 0;
        height: 1px;
        border-bottom: 1px solid var(--theme-color-navy);
        left: 0;
        bottom: -2px;
        transition: width 0.25s ease-out;
      }

      &:hover {
        &::after {
          width: 100%;
        }
      }
    }
  }
}

/****************** FOOTER **********************/

footer {
  margin: 0 !important;
}

.bfe_footer {
  /* background: url(assets/images/bg-footer.jpg) no-repeat bottom left;
  background-size: cover; */
  color: var(--theme-color-white);
  position: relative;
  overflow: hidden;

  &::after {
    content: url(assets/images/benjamin-f-edwards-coat-of-arms.svg);
    position: absolute;
    left: -100px;
    top: 200px;
    opacity: 0.1;
    width: 600px;
    aspect-ratio: 508 / 433;
    pointer-events: none;
  }

  a {
    color: var(--theme-color-white);

    &:hover {
      text-decoration: underline;
    }
  }

  @media screen and (max-width: 800px) {
    background-size: auto;
  }
}

.bfe-logo-footer {
  max-width: 340px;

  > a {
    display: block;

    > img {
      width: 100%;
    }
  }
}

/*************** Custom CSS ****************/

/* Global Presets */
.bfe-low-z-index {
  z-index: 1;
}

.bfe-no-underline a {
  text-decoration: none !important;
  color: var(--theme-color-navy);
}

@media (min-width: 782px) {
  .bfe-border-left {
    position: relative;
    padding-left: var(--wp--preset--spacing--20);

    &::before {
      content: "";
      display: block;
      position: absolute;
      width: 1px;
      height: calc(100% - 0.8em);
      top: 0.5em;
      left: 0;
      background-color: var(--theme-color-navy);
    }
  }
}

.frm_button_submit {
  transition: 0.2s ease-in-out;
}

.bfe-narrow-size {
  --wp--style--global--content-size: min(1100px, 90vw);
}

html.pum-open.pum-open-overlay.pum-open-scrollable
  body
  > :not([aria-modal="true"]) {
  padding-right: 0 !important;
}
li.type-news {
  border-bottom: 1px solid
    color-mix(in srgb, var(--theme-color-indigo) 30%, transparent);
}
form.post-password-form {
  padding-top: 224px;
  padding-bottom: 80px;
  max-width: var(--wp--style--global--content-size);
  margin-left: auto !important;
  margin-right: auto !important;
}
form.post-password-form p:nth-child(3) {
  font-family: var(--theme-font-serif);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 300;
  font-size: clamp(1.5rem, 1.2551rem + 1.2245vw, 2.25rem);
}

/* **** Typical HEADLINE + PARAGRAPH + BUTTON arrangement ***************** */

h2 + p,
:root :where(.wp-block-column-is-layout-flow) > h2 + p {
  margin-top: 2rem; /* additional toop margin for paragraphs that come immediately after an H2 element */
}

.wp-block-buttons {
  &:last-child:not(:first-child) {
    margin-top: 40px; /* add margin to top of button blocks that are the last child in a set */
  }
}

.wp-block-buttons .wp-block-button__link {
  border-width: 1.5px; /* Override default outlines since FSE won't allow decimal widths */
  font-weight: 600;
}

/* ---- END Typical HEADLINE + PARAGRAPH + BUTTON arrangement --------------- */

.wp-block-buttons a,
.bfe_nav-button {
  transition: 0.2s ease-in-out;
}

.bfe-position-relative {
  position: relative;
}

.bfe-position-absolute {
  position: absolute;
}

.bfe-low-z-index {
  z-index: 1;
}

.bfe-no-underline a {
  text-decoration: none !important;
  color: var(--theme-color-navy);
}

.frm_button_submit {
  transition: 0.2s ease-in-out;
}

.bfe-position-relative {
  position: relative;
}

.entry-content {
  margin-top: 0;
}

.bfe-background-blur {
  backdrop-filter: blur(6px);
  background-color: #1c2b45cc;
}

.bfe-inline-offcolor-heading strong {
  opacity: 0.6;
  font-weight: 300 !important;
}

.bfe-overflow-visible {
  overflow: visible;
}

.bfe-high-z-index {
  z-index: 99;
  position: relative;
}

.bfe_button-set {
  gap: 1rem;
}

.wp-element-button {
  display: flex;
  gap: 0.5rem;
  font-weight: 600;
}

.wp-block-buttons .is-style-outline a:hover {
  color: var(--theme-color-white) !important;
}

.wp-block-buttons .is-style-outline a.has-dark-blue-color:hover {
  background: var(--theme-color-dark-blue) !important;
  border-color: var(--theme-color-dark-blue) !important;
}

.wp-block-buttons .is-style-fill a.has-dark-blue-background-color:hover {
  background-color: rgba(0, 51, 200, 0.8) !important;
}
.wp-block-buttons .is-style-outline a.has-navy-color:hover {
  background: var(--theme-color-lavender) !important;
  border-color: var(--theme-color-lavender) !important;
}

.wp-block-buttons .is-style-fill a.has-navy-background-color:hover {
  background: var(--theme-color-lavender) !important;
}

.wp-block-buttons .is-style-outline a.has-beige-color:hover {
  background: var(--theme-color-lavender) !important;
  border-color: var(--theme-color-lavender) !important;
}

.wp-block-buttons .is-style-fill a.has-beige-background-color:hover {
  background: var(--theme-color-lavender) !important;
}

.wp-block-buttons .is-style-outline a.has-indigo-color:hover {
  background: var(--theme-color-lavender) !important;
  border-color: var(--theme-color-lavender) !important;
}

.wp-block-buttons .is-style-fill a.has-indigo-background-color:hover {
  background: var(--theme-color-lavender) !important;
}
.wp-block-buttons .is-style-outline a.has-lavender-color:hover {
  background: var(--theme-color-lavender) !important;
  border-color: var(--theme-color-lavender) !important;
}

.wp-block-buttons .is-style-fill a.has-lavender-background-color:hover {
  background-color: rgba(128, 153, 228, 0.8) !important;
}

.wp-block-buttons .is-style-outline a.has-periwinkle-color:hover {
  background: var(--theme-color-lavender) !important;
  border-color: var(--theme-color-lavender) !important;
}

.wp-block-buttons .is-style-fill a.has-periwinkle-background-color:hover {
  background: var(--theme-color-lavender) !important;
}

.wp-block-buttons .is-style-outline a.has-gold-color:hover {
  background: var(--theme-color-lavender) !important;
  border-color: var(--theme-color-lavender) !important;
}

.wp-block-buttons .is-style-fill a.has-gold-background-color:hover {
  background: var(--theme-color-lavender) !important;
}

.wp-block-buttons .is-style-outline a.has-brown-color:hover {
  background: var(--theme-color-lavender) !important;
  border-color: var(--theme-color-lavender) !important;
}

.wp-block-buttons .is-style-fill a.has-brown-background-color:hover {
  background: var(--theme-color-lavender) !important;
}

.wp-block-buttons .is-style-outline a.has-sand-color:hover {
  background: var(--theme-color-lavender) !important;
  border-color: var(--theme-color-lavender) !important;
}

.wp-block-buttons .is-style-fill a.has-sand-background-color:hover {
  background: var(--theme-color-lavender) !important;
}

.wp-block-buttons .is-style-outline a.has-black-color:hover {
  background: var(--theme-color-lavender) !important;
  border-color: var(--theme-color-lavender) !important;
}

.wp-block-buttons .is-style-fill a.has-black-background-color:hover {
  background: var(--theme-color-lavender) !important;
}

.wp-block-buttons .is-style-outline a.has-white-color:hover {
  background: var(--theme-color-lavender) !important;
  border-color: var(--theme-color-lavender) !important;
}

.frm_logout_link {
  display: flex;
  width: max-content !important;
  border-radius: 0 !important;
  font-weight: 600 !important;
  transition: 0.2s ease-in-out;
  background: transparent none !important;
  border-color: var(--theme-color-white) !important;
  border-width: 2px !important;
  border-style: solid !important;
  color: var(--theme-color-white) !important;
  padding-top: 0.667em !important;
  padding-right: 1.33em !important;
  padding-bottom: 0.667em !important;
  padding-left: 1.33em !important;
  text-decoration: none;
  font-family: inherit;
}

.frm_logout_link:hover {
  border-color: var(--theme-color-lavender) !important;
  background: var(--theme-color-lavender) !important;
  color: var(--theme-color-white) !important;
}

/* History Block */

.bfe_year-circle {
  @media (max-width: 1200px) {
    margin-right: 0 !important;
  }
}
.bfe-history-block-wrapper {
  display: flex;
  flex-direction: column;
  position: relative;

  .wp-block-heading {
    white-space: nowrap;
    margin: auto;
  }

  .wp-block-column {
    display: flex;
    align-items: center;

    @media (max-width: 781px) {
      flex-shrink: 1;
      text-align: center;
    }

    &:has(+ h2) {
      text-align: center;
    }
  }
}

.bfe-history-block-wrapper .wp-block-columns {
  width: 100%;
  margin: 0 auto !important;

  @media (max-width: 781px) {
    max-width: 100% !important;
  }
}

.bfe-history-block-wrapper > .wp-block-columns {
  border-top: 1px solid var(--theme-color-navy);
}

.bfe-history-block-wrapper .wp-block-column {
  @media (max-width: 781px) {
    border-left: none !important;
    border-right: none !important;
    justify-content: center;
  }
}

.bfe-history-block-wrapper.bfe-reverse-column > .wp-block-columns:last-child,
.bfe-history-block-wrapper > .wp-block-columns:last-child,
.bfe-history-block-wrapper.bfe-reverse-column > .wp-block-columns:first-child {
  border-bottom: 1px solid var(--theme-color-navy);
}

.bfe-history-block-wrapper.bfe-reverse-column > .wp-block-columns:last-child {
  border-bottom: 0;
}

.bfe-history-block-wrapper.bfe-reverse-column {
  flex-direction: column-reverse !important;
}

.bfe-history-block-control-btn a {
  width: 260px;
  text-align: left;
}

.rows-offset {
  position: absolute;
  top: 80px;
  bottom: 80px;
  width: 100%;
  max-width: var(--wp--style--global--content-size);
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;

  .dot-container {
    position: sticky;
    top: 50vh;
    left: 0;
    width: 100%;
    max-width: var(--wp--style--global--content-size);
    z-index: 99;

    .dot {
      position: relative;
      top: 0;
      left: -12px;
      width: 25px;
      height: 25px;
      border-radius: 100%;
      background: var(--theme-color-dark-blue);
    }

    @media (max-width: 781px) {
      display: none;
    }
  }
}

.date-row {
  background: var(--theme-color-white);
  transition: all 0.25s ease-out;

  &.active {
    background: var(--theme-color-beige);
  }

  @media (max-width: 781px) {
    padding: 1rem 3rem !important;
  }
}

/* POST GRID - for blog posts on the homepage and on insights pages */

.bfe-post-grid {
  > ul {
    > li {
      position: relative;
      padding-bottom: 48px;
      border-bottom: 1px solid color-mix(in srgb, var(--theme-color-indigo) 30%, transparent);

      .wp-block-post-featured-image {
        outline: 2px solid transparent;
        outline-offset: 0;
        transition: all 0.25s ease-in-out;
      }

      h3 {
        margin-top: 1rem;
        font-size: clamp(1.6875rem, 1.6263rem + 0.3061vw, 1.875rem);
        font-weight: 400;
        line-height: 1.2;
      }

      .bfe_post-link-parent {
        margin-bottom: 1.5rem;

        a {
          text-decoration: none;
          padding-bottom: .25rem;

          &::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            display: block;
            height: 100%;
            width: 100%;
          }

          &::after {
            content: "";
            position: absolute;
            width: 0;
            height: 1px;
            border-bottom: 1px solid var(--theme-color-navy);
            left: 0;
            bottom: -2px;
            transition: width 0.25s ease-out;
          }

          &:hover {
            &::after {
              width: 100%;
            }
          }
        }
      }

      &:has(.bfe_post-link-parent a:hover) {

        .wp-block-post-featured-image {
          outline: 2px solid var(--theme-color-white) !important;
          outline-offset: -6px;
        }
      }

      .bfe_post-author-name {
        text-wrap: balance;
        a {
          text-decoration: none;
          &:hover {
            text-decoration: underline;
          }
        }
      }

      .bfe_blog-card-info .wp-block-post-date {
        float: left;
        margin-right: .25rem !important;
      }

      .bfe_post-card-bottom {
        padding-bottom: 1rem;
        position: absolute;
        bottom: 0;
        width: 100%;

        a {
          text-decoration: none;
          &:hover {
            text-decoration: underline !important;
          }
        }

      }
    }
  }
}

/* Post Meta + Avatar */
.bfe-single-post-author-meta-wrapper {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.bfe-single-post-author {
  color: #babfc7;
  font-size: var(--wp--preset--font-size--body-small) !important;
}

.bfe-single-post-hero-meta-date {
  gap: 1rem;
}

.bfe-single-post-hero-meta-date .wp-block-column {
  flex-basis: auto !important;
  flex-grow: initial !important;
}

.bfe-author-avatar {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
}

.bfe_main-nav-container .bfe_nav-button:hover {
  background: var(--theme-color-navy) !important;
  color: var(--theme-color-white) !important;
  /* border: 1px solid var(--theme-color-navy) !important; */
  border-color: var(--theme-color-navy);
}

.bfe-single-post-back-to-link a {
  color: #babfc7 !important;
}

.bfe-single-post-back-to-link a:before {
  content: url("/wp-content/uploads/2025/12/arrow-left-grey-icon.svg");
  margin-right: 1rem;
}

/* Employee Archive Department Tabs */
.wp-block-query-pagination {
  /* justify-content: flex-start; */
  /* padding-bottom: 4rem; */
}

.wp-block-query-pagination a {
  text-decoration: none;
  color: var(--theme-color-navy);
}

.wp-block-query-pagination span.page-numbers {
  font-size: 18px !important;
  padding: 6px 12px;
  color: var(--theme-color-navy);
  text-decoration: none;
  transition: 0.2s ease-in-out;
}

.wp-block-query-pagination a.page-numbers {
  font-size: 18px !important;
  padding: 6px 12px;
  color: var(--theme-color-navy);
  text-decoration: none;
  border: 1px solid var(--theme-color-navy);
  transition: 0.2s ease-in-out;
}

.wp-block-query-pagination .page-numbers.dots {
  border: none;
}

.wp-block-query-pagination span.page-numbers.current,
.wp-block-query-pagination a.page-numbers:hover {
  background: var(--theme-color-lavender) !important;
  border: 1px solid var(--theme-color-lavender);
  color: var(--theme-color-white) !important;
}

nav.is-style-navigation-subtabs li {
  transition: 0.2s ease-in-out;
  border-bottom: 3px solid transparent;
  top: 2px; /* Shift down so the purple active 'bar' indicator is centered on the bottom rule, per the mockups */
}

nav.is-style-navigation-subtabs li:hover {
  border-bottom: 3px solid var(--theme-color-lavender);
  cursor: pointer;
}

nav.is-style-navigation-subtabs li.current-menu-item {
  border-bottom: 3px solid var(--theme-color-lavender);
}

nav.is-style-navigation-subtabs li a {
  padding: 1rem 0;
  color: #1c2b459c !important;
  transition: 0.2s ease-in-out;
}

nav.is-style-navigation-subtabs li.current-menu-item a,
nav.is-style-navigation-subtabs li:hover a {
  color: var(--theme-color-navy) !important;
}

/* Latest Insights */
.taxonomy-category a,
.taxonomy-segment a {
  font-weight: 800 !important;
  text-decoration: none !important;
}

/* Subpages */
.bfe-subpage-banner-offset-image-wrapper img {
  aspect-ratio: 4 / 3;
  max-height: 488px;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.bfe-subpage-stages-section-wrapper .bfe-stages-section-icon-wrapper figure {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bfe-subpage-stages-section-wrapper
  .bfe-stages-section-icon-wrapper
  figure
  img {
  background: var(--theme-color-brown);
  z-index: 99;
  object-fit: contain !important;
  width: 190px !important;
  height: 90px !important;
  padding: 0 50px;
}

.bfe-subpage-stages-section-wrapper
  .bfe-stages-section-icon-wrapper
  figure  figcaption {
  max-width: 250px;
  margin-top: 0;
  }

/* Advisor Opp. */
.bfe-subpage-video-banner-wrapper {
  position: relative;
}

.bfe-subpage-video-banner-wrapper .wp-block-buttons {
  margin-top:0 !important;
}

.bfe-subpage-video-banner-wrapper .bfe-video-banner-text-wrapper {
  position: absolute;
  bottom: 30px;
  color: var(--theme-color-white);
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100%;
}

.bfe-subpage-video-banner-wrapper .bfe-video-banner-text {
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 800px) {
  .bfe-subpage-video-banner-wrapper {
    margin-top:30px;
    padding-top:74px;
  }
  
  .bfe-subpage-video-banner-wrapper h1 {
    margin:0;
    padding-bottom: 10px;
    font-size: var(--wp--preset--font-size--headline-medium) !important;
  }
}

/* Independent Advisor */
.bfe-bordered-grid-wrapper
  > .wp-block-columns:first-child
  .wp-block-column:first-child {
  border-bottom: 1px solid var(--theme-color-indigo);
  border-right: 1px solid var(--theme-color-indigo);
}

.bfe-bordered-grid-wrapper
  > .wp-block-columns:first-child
  .wp-block-column:last-child {
  border-bottom: 1px solid var(--theme-color-indigo);
}

.bfe-bordered-grid-wrapper
  > .wp-block-columns:last-child
  .wp-block-column:first-child {
  border-right: 1px solid var(--theme-color-indigo);
}

/* 	Bottom Review Slider */
.bfe-bottom-slider-wrapper .sp-testimonial-free {
  display: grid !important;
  height:100%;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  grid-template-areas: "content content" "photo meta";
  align-items: stretch;
  gap: 0 20px;
}

.bfe-bottom-slider-wrapper .sp-testimonial-details {
  width: 100%;
  display: contents;
}

.bfe-bottom-slider-wrapper .sp-testimonial-details .sp-testimonial-client-testimonial {
  grid-area: content;
}

.bfe-bottom-slider-wrapper .sp-testimonial-details .bfe-testimonial-client-meta-wrapper {
  grid-area: meta;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bfe-bottom-slider-wrapper .sp-testimonial-client-image {
  grid-area: photo;
  margin-top: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bfe-bottom-slider-wrapper .sp-testimonial-free-wrapper {
  overflow: visible;
}

.bfe-bottom-slider-wrapper .sp-testimonial-item {
  border-radius: 30px;
  background: #624124;
  padding: 40px;
}

.bfe-bottom-slider-wrapper.bfe-blue-slider .sp-testimonial-item {
  background: #5169ae;
}

.bfe-bottom-slider-wrapper
  .sp-testimonial-item
  .sp-testimonial-free
  .sp-testimonial-content
  p,
.bfe-bottom-slider-wrapper
  .sp-testimonial-free-section
  .sp-testimonial-client-name {
  font-family: var(--theme-font-serif);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 300;
  text-align: left;
  font-size: var(--wp--preset--font-size--headline-xsmall);
}

.bfe-bottom-slider-wrapper
  .sp-testimonial-free-section
  .sp-testimonial-client-name
  span {
  font-size: 16px;
  font-family: var(--theme-font-sans-serif);
  opacity: 0.4;
  padding-left: 0.25rem;
}

.bfe-bottom-slider-wrapper
  .sp-testimonial-free-section
  .sp-testimonial-client-name,
.bfe-bottom-slider-wrapper
  .sp-testimonial-free-section
  .sp-testimonial-client-designation {
  text-align: left;
  width: 100%;
}

.bfe-bottom-slider-wrapper:not(.bfe-top-arrows)
  .sp-testimonial-free-section
  .swiper-button-prev.testimonial-nav-arrow.top_right,
.bfe-bottom-slider-wrapper:not(.bfe-top-arrows)
  .sp-testimonial-free-section
  .swiper-button-next.testimonial-nav-arrow.top_right {
  bottom: -8rem !important;
  top: auto !important;
}

.bfe-bottom-slider-wrapper.bfe-top-arrows
  .sp-testimonial-free-section
  .swiper-button-prev.testimonial-nav-arrow.top_right,
.bfe-bottom-slider-wrapper.bfe-top-arrows
  .sp-testimonial-free-section
  .swiper-button-next.testimonial-nav-arrow.top_right {
  top: -72px !important;

  @media (max-width: 800px) {
    top: -30px !important;
  }
}

.bfe-bottom-slider-wrapper .testimonial-nav-arrow {
  border: none !important;
  color: transparent !important;
}

.bfe-bottom-slider-wrapper .testimonial-nav-arrow:hover {
  background: none !important;
}

.bfe-bottom-slider-wrapper .swiper-button-prev.testimonial-nav-arrow.top_right {
  right: 120px !important;
}

.bfe-bottom-slider-wrapper .swiper-button-next.testimonial-nav-arrow.top_right {
  right: 20px !important;
}

.bfe-bottom-slider-wrapper .fa.fa-angle-right:before {
  content: url("/wp-content/uploads/2025/12/arrow-right-icon.svg") !important;
}

.bfe-bottom-slider-wrapper .fa.fa-angle-left:before {
  content: url("/wp-content/uploads/2025/12/arrow-left-icon.svg") !important;
}

.bfe-bottom-slider-wrapper.bfe-blue-slider .fa.fa-angle-right:before {
  content: url("/wp-content/uploads/2025/12/arrow-right-icon-blue.svg") !important;
}

.bfe-bottom-slider-wrapper.bfe-blue-slider .fa.fa-angle-left:before {
  content: url("/wp-content/uploads/2025/12/arrow-left-icon-blue.svg") !important;
}

.bfe-brown-slider .sp-testimonial-client-image:before {
  content: url("/wp-content/uploads/2025/11/quote-icon.png");
  position: absolute;
  right: 40px;
  bottom: 58px;
  opacity: 0.1;
}

.bfe-blue-slider .sp-testimonial-client-image:before {
  content: url("/wp-content/uploads/2025/12/quote-icon-blue.png");
  position: absolute;
  right: 40px;
  bottom: 58px;
  opacity: 0.6;
}

.bfe-bottom-slider-wrapper .swiper-wrapper {
  align-items: stretch;
}
.bfe-bottom-slider-wrapper .swiper-wrapper .swiper-slide {
  height: auto;
}
.bfe-bottom-slider-wrapper .sp-testimonial-client-image {

  @media (max-width: 800px) {
    bottom: 10px;
  }
}
.bfe-bottom-slider-wrapper .bfe-testimonial-client-meta-wrapper {

  @media (max-width: 800px) {
    width: 100%;
    right: 0;
    bottom: 30px;
  }
}
.bfe-bottom-slider-wrapper
  .sp-testimonial-free-section
  .sp-testimonial-client-image
  img {
  background: none !important;
  border: none !important;
}

.bfe-bottom-slider-wrapper
  .sp-testimonial-item
  .sp-testimonial-free
  .sp-testimonial-content
  p {
  font-size: var(--wp--preset--font-size--headline-small);
  line-height: 1.2;
}
.bfe-bottom-slider-wrapper .sp-testimonial-item {
  padding-bottom: 40px;
}
.bfe-bottom-slider-wrapper .sp-testimonial-client-image {
  width: 100%;
}
.bfe-bottom-slider-wrapper .sp-testimonial-client-image:before {
  right: 40px;
  bottom: 70px;
}

/* Faq Dropdown */
.bfe-faq-dropwdown-wrapper .schema-faq-section {
  margin-bottom: 1rem;
}

.bfe-faq-dropwdown-wrapper.subpage .schema-faq-section {
  /* border-bottom: 1px solid #26407b; */
  /* padding: 30px 0 0 0; */
  /* margin-top: 0 !important; */
}

.bfe-faq-dropwdown-wrapper .schema-faq-section .schema-faq-question {
  color: var(--theme-color-indigo);
  font-size: var(--wp--preset--font-size--body-xlarge);
  font-style: normal;
  font-weight: 400;
  font-family: var(--theme-font-sans-serif);
  display: block;
  position: relative;
  width: 100%;
  border-bottom: 1px solid var(--theme-color-periwinkle);
  padding-bottom: 0.6em;
}

.bfe-faq-dropwdown-wrapper .schema-faq-section .schema-faq-question:hover {
  cursor: pointer;
}

.bfe-faq-dropwdown-wrapper .schema-faq-section .schema-faq-question:after,
.bfe-faq-dropwdown-wrapper .schema-faq-section .schema-faq-question:before {
  content: "";
  right: 0;
  top: calc(50% - 0.3em);
  transform: translateY(-50%);
  width: 1em;
  height: 1em;
  background-repeat: no-repeat;
  transition: opacity 0.2s ease-in-out;
  position: absolute;
}

.bfe-faq-dropwdown-wrapper .schema-faq-section .schema-faq-question:after {
  background-image: url("/wp-content/uploads/2025/12/plus-icon-lavendar.svg");
  opacity: 1;
}

.bfe-faq-dropwdown-wrapper .schema-faq-section .schema-faq-question:before {
  background-image: url("/wp-content/uploads/2025/12/minus-icon-lavendar.svg");
  opacity: 0;
}

.bfe-faq-dropwdown-wrapper .schema-faq-section.open .schema-faq-question:after {
  opacity: 0;
}

.bfe-faq-dropwdown-wrapper
  .schema-faq-section.open
  .schema-faq-question:before {
  opacity: 1;
}

.bfe-faq-dropwdown-wrapper .schema-faq-section a {
  color: #b1d3e8;
  font-weight: 500;
  font-size: 16px;
}

.bfe-faq-dropwdown-wrapper .schema-faq-section .schema-faq-answer {
  color: var(--theme-color-black);
}

.bfe-faq-dropwdown-wrapper .schema-faq-section .schema-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
  margin: 0;
}

.bfe-faq-dropwdown-wrapper .schema-faq-section.open .schema-faq-answer {
  max-height: 500px;
  padding: 0.5rem 0 1rem 0;
}

/* Media Queries */
@media screen and (max-width: 1400px) {
  .bfe-home-banner-emblem {
    margin-bottom: 0 !important;
  }

  .bfe-no-padding-md {
    padding: 0 !important;
  }
}

@media (max-width: 781px) {
  .bfe-subpage-banner-offset-image-wrapper img {
    height: auto !important;
  }

  .bfe-home-banner-emblem {
    pointer-events: none;
  }

  .bfe-bottom-slider-wrapper {
    padding-bottom: calc(4rem + 64px) !important;
  }

  .bfe-bottom-slider-wrapper .sp-testimonial-item {
    padding: 20px;
  }

  .bfe-bottom-slider-wrapper
    .sp-testimonial-free-section
    .sp-testimonial-client-image {
    margin-top: 2rem;
  }

  .bfe-bottom-slider-wrapper
    .sp-testimonial-free-section
    .sp-testimonial-client-name,
  .bfe-bottom-slider-wrapper
    .sp-testimonial-free-section
    .sp-testimonial-client-designation {
    margin-left: 0;
    width: 100%;
  }

  .bfe-brown-slider .sp-testimonial-client-image::before,
  .bfe-blue-slider .sp-testimonial-client-image::before {
    right: 20px;
    top: 20px;
  }

  .bfe-bottom-slider-wrapper:not(.bfe-top-arrows)
    .sp-testimonial-free-section
    .swiper-button-prev.testimonial-nav-arrow.top_right,
  .bfe-bottom-slider-wrapper:not(.bfe-top-arrows)
    .sp-testimonial-free-section
    .swiper-button-next.testimonial-nav-arrow.top_right {
    bottom: -6rem !important;
  }

  .bfe-no-margin-sml {
    margin-top: 0 !important;
  }

  .bfe-bottom-quote-icon {
    position: absolute;
    right: 0;
    opacity: 0.6;
    z-index: 1;
  }

  .bfe-hide-mobile {
    display: none !important;
  }

  .bfe-bordered-grid-wrapper
    > .wp-block-columns:first-child
    .wp-block-column:first-child,
  .bfe-bordered-grid-wrapper
    > .wp-block-columns:first-child
    .wp-block-column:last-child,
  .bfe-bordered-grid-wrapper
    > .wp-block-columns:last-child
    .wp-block-column:first-child {
    border-bottom: 1px solid var(--theme-color-indigo);
  }

  .bfe-bordered-grid-wrapper
    > .wp-block-columns:first-child
    .wp-block-column:first-child,
  .bfe-bordered-grid-wrapper
    > .wp-block-columns:last-child
    .wp-block-column:first-child {
    border-right: none;
  }

  .bfe-bordered-grid-wrapper
    > .wp-block-columns:first-child
    .wp-block-column:first-child {
    padding-top: 0 !important;
  }

  .bfe-bordered-grid-wrapper .wp-block-columns .wp-block-column {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .bfe-no-padding-bottom-small {
    padding-bottom: 0 !important;
  }

  .bfe-small-padding-small {
    padding: 2rem !important;
  }

  .bfe-subpage-bottom-offset-advisor-image {
    margin-top: 0 !important;
  }

  .bfe-side-side-cta .wp-block-column .wp-block-columns {
    flex-wrap: nowrap !important;
    gap: 2rem;
  }

  .bfe-side-side-cta
    .wp-block-column
    .wp-block-columns
    .bfe-side-side-icon-wrapper {
    flex-basis: 50px !important;
  }

  .bfe-subpage-banner-image-wrapper {
    min-height: 244px !important;
  }

  .is-layout-constrained
    > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: var(--wp--style--global--wide-size);
  }

  .wp-block-buttons.is-content-justification-right {
    justify-content: flex-start;
  }

  .bfe-stages-section-divider-wrapper {
    display: none !important;
  }

  .bfe-insights-bottom-quote .bfe-bottom-quote-icon {
    opacity: 0.2 !important;
  }

  .bfe-no-margin-sml {
    margin: 0 !important;
  }

  .bfe-history-block-wrapper > .wp-block-columns {
    gap: 0;
  }

  .bfe-bottom-slider-wrapper.bfe-top-arrows {
    padding-bottom: var(--wp--preset--spacing--50) !important;
  }

  .bfe-1-2-flex-sml {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
  }

  .bfe-mobile-max-width-20vw {
    max-width: 20vw !important;
  }
  .bfe-mobile-max-width-25vw {
    max-width: 25vw !important;
  }
  .bfe-mobile-max-width-33vw {
    max-width: 33vw !important;
  }
  .bfe-mobile-max-width-40vw {
    max-width: 40vw !important;
  }
  .bfe-mobile-max-width-50vw {
    max-width: 50vw !important;
  }
  .bfe-mobile-max-width-60vw {
    max-width: 60vw !important;
  }
  .bfe-mobile-max-width-66vw {
    max-width: 66vw !important;
  }
  .bfe-mobile-max-width-75vw {
    max-width: 75vw !important;
  }
  .bfe-mobile-max-width-80vw {
    max-width: 80vw !important;
  }
}

@media (max-width: 600px) {
  .wp-block-query-pagination {
    gap: 2rem;
  }

  .wp-block-query-pagination .wp-block-query-pagination-numbers {
    width: 100%;
    text-align: center;
  }
}

@media only screen and (max-width: 450px) {
  .bfe-history-block-wrapper figure,
  .bfe-history-block-wrapper figure img {
    width: 100%;
  }
}

.bfe_with-label {
  .prefix {
    font-weight: 700;
  }
}

.bfe_click-through {
  pointer-events: none;
}

.wp-block-post-author__content {
  p {
    display: inline-block;
    width: auto;
    margin-right: 0.25rem;
    font-size: 12px;
  }
}

.bfe_large-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--wp--preset--spacing--20);
  padding: var(--wp--preset--spacing--30);
  color: var(--theme-color-navy);
  background: var(--theme-color-white);
  transition: all 0.25s ease-out;
  text-decoration: none;

  &:after {
    content: "";
    width: var(--wp--preset--spacing--30);
    height: var(--wp--preset--spacing--30);
    background: url(./assets/images/arrow-angle-up-right.svg) no-repeat center
      center;
    background-size: cover;
    position: absolute;
    top: var(--wp--preset--spacing--30);
    right: var(--wp--preset--spacing--30);
  }

  h3 {
    margin: 0 var(--wp--preset--spacing--20) var(--wp--preset--spacing--30) 0;
  }

  p {
    font-size: var(--wp--preset--font-size--body-large);
    margin: 0 var(--wp--preset--spacing--30) var(--wp--preset--spacing--30) 0;
  }

  hr {
    height: 1px;
    width: 100%;
    background: var(--theme-color-gold);
    border: 0;
  }

  &:hover {
    color: var(--theme-color-white);
    background: var(--theme-color-lavender);

    hr {
      background: var(--theme-color-white);
    }
  }
}

/***************** BRANCH/EMPLOYEE PAGES ************************/

.bfe_employee-layout {
  .bfe-single-post-back-to-link a {
    color: var(--theme-color-sand) !important;
  }
}

.bfe_branch-img-row {
  min-height: 450px;

  @media screen and (max-width: 800px) {
    margin-top: 0 !important;
  }
}

.bfe_branch-services {
  columns: 200px 2;
}

.bfe_detail {
  color: var(--theme-color-navy);
}

.bfe_branch-detail {
  font-size: 15px;
  color: var(--theme-color-white);
  display: flex;
  gap: 1rem;
}

.bfe_subbranch-list a {
  text-decoration: underline;
  &::after {
      display: none;
  }
}

@keyframes copyFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  25% {
    opacity: 1;
    transform: translateY(0);
  }
  75% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(20px);
  }
}

.copy-button {
  position: relative;

  .copy-text {
    position: absolute;
    top: -40px;
    left: 0;
    opacity: 0;

    &.copied {
      animation-name: copyFadeInUp; /* Name of the keyframes to use */
      animation-duration: 2s; /* How long the animation takes */
      animation-timing-function: ease-out; /* The speed curve of the animation */
      animation-iteration-count: 1;
      animation-direction: normal;
      animation-fill-mode: forwards;
    }
  }
}

.bfe_employee-img-col {
  max-width: 440px;
}

.bfe_employee-img {
  width: 440px;

  @media only screen and (max-width: 800px) {
    width: 100%;
  }
}

.bfe-branch-location {
  position: relative;
  clear: both;
  width: 100%;
  max-width: 440px;
  font-size: 15px;
  color: var(--theme-color-navy);
  padding: 2rem 0;
  margin: 0;

  &:nth-of-type(odd) {
    border-bottom: 2px solid rgba(28, 43, 69, 0.4);
  }

  &:last-of-type {
    border-bottom: none;
  }

  h4 {
    margin: 0 0 1rem 0;

    a {
      text-decoration: none;
      color: var(--theme-color-navy);
    }
  }

  .loc {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* Negative spacing utilities. These match the WP sizes, only in negative values */

:root {
  --bfe-neg16px: clamp(-1rem, calc(-1 * (0.5442vw + 0.56rem)), -0.67rem);
  --bfe-neg32px: clamp(-2rem, calc(-1 * (1.0884vw + 1.12rem)), -1.33rem);
  --bfe-neg48px: clamp(-3rem, calc(-1 * (1.6327vw + 1.67rem)), -2rem);
  --bfe-neg64px: clamp(-4rem, calc(-1 * (2.1769vw + 2.23rem)), -2.67rem);
  --bfe-neg80px: clamp(-5rem, calc(-1 * (2.7211vw + 2.79rem)), -3.33rem);
  --bfe-neg96px: clamp(-6rem, calc(-1 * (3.2653vw + 3.35rem)), -4rem);
  --bfe-neg112px: clamp(-7rem, calc(-1 * (3.8095vw + 3.9rem)), -4.67rem);
  --bfe-neg128px: clamp(-8rem, calc(-1 * (4.3537vw + 4.46rem)), -5.33rem);
  --bfe-neg144px: clamp(-9rem, calc(-1 * (4.898vw + 5.02rem)), -6rem);
  --bfe-neg160px: clamp(-10rem, calc(-1 * (5.4422vw + 5.58rem)), -6.67rem);
  --bfe-neg176px: clamp(-11rem, calc(-1 * (5.9864vw + 6.14rem)), -7.33rem);
  --bfe-neg192px: clamp(-12rem, calc(-1 * (6.5306vw + 6.69rem)), -8rem);
  --bfe-neg208px: clamp(-13rem, calc(-1 * (7.0748vw + 7.25rem)), -8.67rem);
  --bfe-neg224px: clamp(-14rem, calc(-1 * (7.619vw + 7.81rem)), -9.33rem);
  --bfe-neg240px: clamp(-15rem, calc(-1 * (8.1633vw + 8.37rem)), -10rem);
  --bfe-neg256px: clamp(-16rem, calc(-1 * (8.7075vw + 8.93rem)), -10.67rem);
  --bfe-neg272px: clamp(-17rem, calc(-1 * (9.2517vw + 9.48rem)), -11.33rem);
  --bfe-neg288px: clamp(-18rem, calc(-1 * (9.7959vw + 10.04rem)), -12rem);
  --bfe-neg304px: clamp(-19rem, calc(-1 * (10.3401vw + 10.6rem)), -12.67rem);
  --bfe-neg320px: clamp(-20rem, calc(-1 * (10.8844vw + 11.16rem)), -13.33rem);
  --bfe-neg336px: clamp(-21rem, calc(-1 * (11.4286vw + 11.71rem)), -14rem);
  --bfe-neg352px: clamp(-22rem, calc(-1 * (11.9728vw + 12.27rem)), -14.67rem);
  --bfe-neg368px: clamp(-23rem, calc(-1 * (12.517vw + 12.83rem)), -15.33rem);
  --bfe-neg384px: clamp(-24rem, calc(-1 * (13.0612vw + 13.39rem)), -16rem);
  --bfe-neg400px: clamp(-25rem, calc(-1 * (13.6054vw + 13.95rem)), -16.67rem);
}

.bfe-mt-neg16px {
  margin-top: var(--bfe-neg16px) !important;
}
.bfe-mt-neg32px {
  margin-top: var(--bfe-neg32px) !important;
}
.bfe-mt-neg48px {
  margin-top: var(--bfe-neg48px) !important;
}
.bfe-mt-neg64px {
  margin-top: var(--bfe-neg64px) !important;
}
.bfe-mt-neg80px {
  margin-top: var(--bfe-neg80px) !important;
}
.bfe-mt-neg96px {
  margin-top: var(--bfe-neg96px) !important;
}
.bfe-mt-neg112px {
  margin-top: var(--bfe-neg112px) !important;
}
.bfe-mt-neg128px {
  margin-top: var(--bfe-neg128px) !important;
}
.bfe-mt-neg144px {
  margin-top: var(--bfe-neg144px) !important;
}
.bfe-mt-neg160px {
  margin-top: var(--bfe-neg160px) !important;
}
.bfe-mt-neg176px {
  margin-top: var(--bfe-neg176px) !important;
}
.bfe-mt-neg192px {
  margin-top: var(--bfe-neg192px) !important;
}
.bfe-mt-neg208px {
  margin-top: var(--bfe-neg208px) !important;
}
.bfe-mt-neg224px {
  margin-top: var(--bfe-neg224px) !important;
}
.bfe-mt-neg240px {
  margin-top: var(--bfe-neg240px) !important;
}
.bfe-mt-neg256px {
  margin-top: var(--bfe-neg256px) !important;
}
.bfe-mt-neg272px {
  margin-top: var(--bfe-neg272px) !important;
}
.bfe-mt-neg288px {
  margin-top: var(--bfe-neg288px) !important;
}
.bfe-mt-neg304px {
  margin-top: var(--bfe-neg304px) !important;
}
.bfe-mt-neg320px {
  margin-top: var(--bfe-neg320px) !important;
}
.bfe-mt-neg336px {
  margin-top: var(--bfe-neg336px) !important;
}
.bfe-mt-neg352px {
  margin-top: var(--bfe-neg352px) !important;
}
.bfe-mt-neg368px {
  margin-top: var(--bfe-neg368px) !important;
}
.bfe-mt-neg384px {
  margin-top: var(--bfe-neg384px) !important;
}
.bfe-mt-neg400px {
  margin-top: var(--bfe-neg400px) !important;
}

.bfe-mb-neg16px {
  margin-bottom: var(--bfe-neg16px) !important;
}
.bfe-mb-neg32px {
  margin-bottom: var(--bfe-neg32px) !important;
}
.bfe-mb-neg48px {
  margin-bottom: var(--bfe-neg48px) !important;
}
.bfe-mb-neg64px {
  margin-bottom: var(--bfe-neg64px) !important;
}
.bfe-mb-neg80px {
  margin-bottom: var(--bfe-neg80px) !important;
}
.bfe-mb-neg96px {
  margin-bottom: var(--bfe-neg96px) !important;
}
.bfe-mb-neg112px {
  margin-bottom: var(--bfe-neg112px) !important;
}
.bfe-mb-neg128px {
  margin-bottom: var(--bfe-neg128px) !important;
}
.bfe-mb-neg144px {
  margin-bottom: var(--bfe-neg144px) !important;
}
.bfe-mb-neg160px {
  margin-bottom: var(--bfe-neg160px) !important;
}
.bfe-mb-neg176px {
  margin-bottom: var(--bfe-neg176px) !important;
}
.bfe-mb-neg192px {
  margin-bottom: var(--bfe-neg192px) !important;
}
.bfe-mb-neg208px {
  margin-bottom: var(--bfe-neg208px) !important;
}
.bfe-mb-neg224px {
  margin-bottom: var(--bfe-neg224px) !important;
}
.bfe-mb-neg240px {
  margin-bottom: var(--bfe-neg240px) !important;
}
.bfe-mb-neg256px {
  margin-bottom: var(--bfe-neg256px) !important;
}
.bfe-mb-neg272px {
  margin-bottom: var(--bfe-neg272px) !important;
}
.bfe-mb-neg288px {
  margin-bottom: var(--bfe-neg288px) !important;
}
.bfe-mb-neg304px {
  margin-bottom: var(--bfe-neg304px) !important;
}
.bfe-mb-neg320px {
  margin-bottom: var(--bfe-neg320px) !important;
}
.bfe-mb-neg336px {
  margin-bottom: var(--bfe-neg336px) !important;
}
.bfe-mb-neg352px {
  margin-bottom: var(--bfe-neg352px) !important;
}
.bfe-mb-neg368px {
  margin-bottom: var(--bfe-neg368px) !important;
}
.bfe-mb-neg384px {
  margin-bottom: var(--bfe-neg384px) !important;
}
.bfe-mb-neg400px {
  margin-bottom: var(--bfe-neg400px) !important;
}

.bfe-ml-neg16px {
  margin-left: var(--bfe-neg16px) !important;
}
.bfe-ml-neg32px {
  margin-left: var(--bfe-neg32px) !important;
}
.bfe-ml-neg48px {
  margin-left: var(--bfe-neg48px) !important;
}
.bfe-ml-neg64px {
  margin-left: var(--bfe-neg64px) !important;
}
.bfe-ml-neg80px {
  margin-left: var(--bfe-neg80px) !important;
}
.bfe-ml-neg96px {
  margin-left: var(--bfe-neg96px) !important;
}
.bfe-ml-neg112px {
  margin-left: var(--bfe-neg112px) !important;
}
.bfe-ml-neg128px {
  margin-left: var(--bfe-neg128px) !important;
}
.bfe-ml-neg144px {
  margin-left: var(--bfe-neg144px) !important;
}
.bfe-ml-neg160px {
  margin-left: var(--bfe-neg160px) !important;
}
.bfe-ml-neg176px {
  margin-left: var(--bfe-neg176px) !important;
}
.bfe-ml-neg192px {
  margin-left: var(--bfe-neg192px) !important;
}
.bfe-ml-neg208px {
  margin-left: var(--bfe-neg208px) !important;
}
.bfe-ml-neg224px {
  margin-left: var(--bfe-neg224px) !important;
}
.bfe-ml-neg240px {
  margin-left: var(--bfe-neg240px) !important;
}
.bfe-ml-neg256px {
  margin-left: var(--bfe-neg256px) !important;
}
.bfe-ml-neg272px {
  margin-left: var(--bfe-neg272px) !important;
}
.bfe-ml-neg288px {
  margin-left: var(--bfe-neg288px) !important;
}
.bfe-ml-neg304px {
  margin-left: var(--bfe-neg304px) !important;
}
.bfe-ml-neg320px {
  margin-left: var(--bfe-neg320px) !important;
}
.bfe-ml-neg336px {
  margin-left: var(--bfe-neg336px) !important;
}
.bfe-ml-neg352px {
  margin-left: var(--bfe-neg352px) !important;
}
.bfe-ml-neg368px {
  margin-left: var(--bfe-neg368px) !important;
}
.bfe-ml-neg384px {
  margin-left: var(--bfe-neg384px) !important;
}
.bfe-ml-neg400px {
  margin-left: var(--bfe-neg400px) !important;
}

.bfe-mr-neg16px {
  margin-right: var(--bfe-neg16px) !important;
}
.bfe-mr-neg32px {
  margin-right: var(--bfe-neg32px) !important;
}
.bfe-mr-neg48px {
  margin-right: var(--bfe-neg48px) !important;
}
.bfe-mr-neg64px {
  margin-right: var(--bfe-neg64px) !important;
}
.bfe-mr-neg80px {
  margin-right: var(--bfe-neg80px) !important;
}
.bfe-mr-neg96px {
  margin-right: var(--bfe-neg96px) !important;
}
.bfe-mr-neg112px {
  margin-right: var(--bfe-neg112px) !important;
}
.bfe-mr-neg128px {
  margin-right: var(--bfe-neg128px) !important;
}
.bfe-mr-neg144px {
  margin-right: var(--bfe-neg144px) !important;
}
.bfe-mr-neg160px {
  margin-right: var(--bfe-neg160px) !important;
}
.bfe-mr-neg176px {
  margin-right: var(--bfe-neg176px) !important;
}
.bfe-mr-neg192px {
  margin-right: var(--bfe-neg192px) !important;
}
.bfe-mr-neg208px {
  margin-right: var(--bfe-neg208px) !important;
}
.bfe-mr-neg224px {
  margin-right: var(--bfe-neg224px) !important;
}
.bfe-mr-neg240px {
  margin-right: var(--bfe-neg240px) !important;
}
.bfe-mr-neg256px {
  margin-right: var(--bfe-neg256px) !important;
}
.bfe-mr-neg272px {
  margin-right: var(--bfe-neg272px) !important;
}
.bfe-mr-neg288px {
  margin-right: var(--bfe-neg288px) !important;
}
.bfe-mr-neg304px {
  margin-right: var(--bfe-neg304px) !important;
}
.bfe-mr-neg320px {
  margin-right: var(--bfe-neg320px) !important;
}
.bfe-mr-neg336px {
  margin-right: var(--bfe-neg336px) !important;
}
.bfe-mr-neg352px {
  margin-right: var(--bfe-neg352px) !important;
}
.bfe-mr-neg368px {
  margin-right: var(--bfe-neg368px) !important;
}
.bfe-mr-neg384px {
  margin-right: var(--bfe-neg384px) !important;
}
.bfe-mr-neg400px {
  margin-right: var(--bfe-neg400px) !important;
}

/* Max width classes from 1em to 40em */
.bfe-max-width-1em {
  max-width: 1em !important;
}
.bfe-max-width-2em {
  max-width: 2em !important;
}
.bfe-max-width-3em {
  max-width: 3em !important;
}
.bfe-max-width-4em {
  max-width: 4em !important;
}
.bfe-max-width-5em {
  max-width: 5em !important;
}
.bfe-max-width-6em {
  max-width: 6em !important;
}
.bfe-max-width-7em {
  max-width: 7em !important;
}
.bfe-max-width-8em {
  max-width: 8em !important;
}
.bfe-max-width-9em {
  max-width: 9em !important;
}
.bfe-max-width-10em {
  max-width: 10em !important;
}
.bfe-max-width-11em {
  max-width: 11em !important;
}
.bfe-max-width-12em {
  max-width: 12em !important;
}
.bfe-max-width-13em {
  max-width: 13em !important;
}
.bfe-max-width-14em {
  max-width: 14em !important;
}
.bfe-max-width-15em {
  max-width: 15em !important;
}
.bfe-max-width-16em {
  max-width: 16em !important;
}
.bfe-max-width-17em {
  max-width: 17em !important;
}
.bfe-max-width-18em {
  max-width: 18em !important;
}
.bfe-max-width-19em {
  max-width: 19em !important;
}
.bfe-max-width-20em {
  max-width: 20em !important;
}
.bfe-max-width-21em {
  max-width: 21em !important;
}
.bfe-max-width-22em {
  max-width: 22em !important;
}
.bfe-max-width-23em {
  max-width: 23em !important;
}
.bfe-max-width-24em {
  max-width: 24em !important;
}
.bfe-max-width-25em {
  max-width: 25em !important;
}
.bfe-max-width-26em {
  max-width: 26em !important;
}
.bfe-max-width-27em {
  max-width: 27em !important;
}
.bfe-max-width-28em {
  max-width: 28em !important;
}
.bfe-max-width-29em {
  max-width: 29em !important;
}
.bfe-max-width-30em {
  max-width: 30em !important;
}
.bfe-max-width-31em {
  max-width: 31em !important;
}
.bfe-max-width-32em {
  max-width: 32em !important;
}
.bfe-max-width-33em {
  max-width: 33em !important;
}
.bfe-max-width-34em {
  max-width: 34em !important;
}
.bfe-max-width-35em {
  max-width: 35em !important;
}
.bfe-max-width-36em {
  max-width: 36em !important;
}
.bfe-max-width-37em {
  max-width: 37em !important;
}
.bfe-max-width-38em {
  max-width: 38em !important;
}
.bfe-max-width-39em {
  max-width: 39em !important;
}
.bfe-max-width-40em {
  max-width: 40em !important;
}

@media (max-width: 781px) {
  .bfe-mobile-mb-0 {
    margin-bottom: 0 !important;
  }
}

.bfe-search-results-locations li:not(:last-child) {
  border-bottom: 1px solid
    color-mix(in srgb, var(--theme-color-navy) 40%, transparent);
}
.bfe-search-results-links li {
  padding-bottom: var(--wp--preset--spacing--20);
  border-bottom: 1px solid
    color-mix(in srgb, var(--theme-color-navy) 40%, transparent);
}

.bfe-search-results-links .wp-block-post-title {
  position: relative;
}

/* Remove default clear button from search inputs */
input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

/* style the big search form on the search results page */
body.search-results {
  .search-form:not(.bfe_search-box .search-form) {
    display: flex;
    align-items: end;
    color: var(--theme-color-white);

    & > label {
      width: 100%;
    }

    input[type="search"] {
      color: var(--theme-color-white) !important;
      border-color: var(--theme-color-white) !important;
      width: 100%;
      padding: 0.25em 0;
      font-size: var(--wp--preset--font-size--headline-xl);
      font-family: var(--theme-font-serif);
      line-height: 1.1;
      letter-spacing: -0.02em;
      font-weight: 300;
      line-height: 1.1;
      border: 0;
      border-bottom: 1px solid var(--theme-color-white);
      background: transparent;
      outline: none;

      &::placeholder {
        color: color-mix(
          in srgb,
          var(--theme-color-white) 80%,
          transparent
        ) !important;
      }
    }
    input[type="image"] {
      background: transparent;
      border: none;
      border-bottom: 1px solid var(--theme-color-navy);
      text-align: center;
      padding: 10px;
      font-size: 14px;
      font-family: var(--theme-font-sans-serif);
      height: var(--wp--preset--font-size--headline-xl);
      transition: all 0.25s ease-out;
      position: relative;
      border-color: var(--theme-color-white) !important;

      &:hover {
        cursor: pointer;
        color: var(--theme-color-navy) !important;
        background: var(--theme-color-white);
      }
    }
    @media (max-width: 781px) {
      input[type="search"] {
        font-size: var(--wp--preset--font-size--headline-medium);
      }
      input[type="image"] {
        height: var(--wp--preset--font-size--headline-medium);
      }
    }
  }
}

.wp-block-navigation.is-style-navigation-subpage-toggle {
  li:not(:last-child) {
    padding-right: 1rem;
    border-right: 1px solid var(--theme-color-indigo);
  }
  li {
    a {
      position: relative;
      text-decoration: none;
      transition: opacity 0.25s ease-in-out;

      &::before {
        content: "";
        position: absolute;
        width: 0;
        height: 1px;
        display: block;
        margin-top: 5px;
        background: var(--theme-color-white);
        transition: width 0.25s ease-out;
        bottom: 0px;
      }
    }
    a:hover {
      opacity: 1 !important;

      &::before {
        width: 100%;
      }
    }
  }
  li:not(.current-menu-item) {
    a {
      opacity: 0.6;
    }
  }
  li.current-menu-item {
    a {
      font-style: italic;
    }
  }
}

/* Store Locator Customizations */

#wpsl-wrap.bfe-custom-wpsl-template {
  .wpsl-search {
    margin-bottom: 0;
    padding: 2rem;
    background: var(--theme-color-brown);
    color: var(--theme-color-white);

    #wpsl-search-wrap {
      float: none;
    }

    #wpsl-search-wrap div,
    #wpsl-search-btn {
      margin-right: 0;
      float: none;
    }

    #wpsl-search-wrap div label {
      float: none;
      margin-right: 0;
      line-height: unset;
    }
    #wpsl-search-wrap input,
    #wpsl-search-btn {
      border: none;
      border-radius: 0;
      padding: 0;
    }

    #wpsl-radius,
    #wpsl-results {
      width: auto;
    }

    .wpsl-input label,
    #wpsl-radius label,
    #wpsl-category label {
      width: auto;
    }

    #wpsl-search-input {
      width: auto;
      min-width: 15em;
    }

    #wpsl-search-wrap {
      display: flex;
      flex-direction: column;
      gap: 1rem;

      @media (min-width: 782px) {
        flex-direction: row;
        align-items: end;
        justify-content: space-between;
      }

      form {
        display: flex;
        flex-direction: column;
        gap: 1rem;

        @media (min-width: 640px) {
          flex-direction: row;
          align-items: end;
        }
      }
    }

    #wpsl-search-wrap .wpsl-field-group {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;

      input,
      .wpsl-dropdown {
        display: flex !important;
        align-items: center;
        box-sizing: border-box;
        padding: 0.5rem 1rem;
        border: 1px solid var(--theme-color-white);
        border-radius: 0;
        background: color-mix(
          in srgb,
          var(--theme-color-white) 20%,
          transparent
        );
        color: var(--theme-color-white);
        font-size: 1em;
        font-family: var(--theme-font-sans-serif);
        height: 3rem;
        width: 100% !important;

        &::placeholder {
          color: color-mix(in srgb, var(--theme-color-white) 80%, transparent);
        }
      }

      .wpsl-dropdown .wpsl-selected-item {
        color: var(--theme-color-white);
        padding: 0 !important;
      }
      .wpsl-dropdown:not(.wpsl-active) .wpsl-selected-item {
        &::after {
          border-top-color: var(--theme-color-white) !important;
        }
      }
      .wpsl-dropdown.wpsl-active .wpsl-selected-item {
        &::after {
          border-bottom-color: var(--theme-color-white) !important;
        }
      }

      &.wpsl-search-btn-wrap input {
        border: 1px solid var(--theme-color-gold);
        background-color: var(--theme-color-gold);
        color: var(--theme-color-white);
        cursor: pointer;
        transition:
          background-color 0.25s ease-out,
          border-color 0.25s ease-out;

        &:hover {
          background-color: color-mix(
            in srgb,
            var(--theme-color-gold) 50%,
            transparent
          );
          border-color: var(--theme-color-white);
        }
      }
    }
  }

  #wpsl-gmap {
    width: 100%;
    float: none;
    margin: 0;
    height: 100% !important;
    min-height: 400px;
    max-height: 640px;
  }

  #wpsl-result-list {
    width: 100%;
    margin-right: 0;

    li {
      padding: 0 0 2rem 0;
      border-bottom: 1px solid
        color-mix(in srgb, var(--theme-color-navy) 40%, transparent);
      margin-top: 2rem;

      .wpsl-store-location h3 {
        margin: 0 0 1rem 0;

        a {
          text-decoration: none;
        }
      }

      .bfe-location-details-grid {
        display: grid;
        grid-template-columns: min-content 1fr;
        gap: 0.25rem 1rem;
      }
    }
  }

  @media (min-width: 782px) {
    .bfe-map-results-layout {
      display: grid;
      grid-template-columns: 1fr 2fr;
      grid-template-areas: "left main";
      gap: 2rem;

      #wpsl-gmap {
        grid-area: main;
      }
      #wpsl-result-list {
        grid-area: left;

        li {
          margin-left: 2rem;
        }
      }
    }
  }

  .wpsl-info-window {
    h3.has-headline-xsmall-font-size {
      margin: 0 0 1rem 0;
      font-size: 1.3rem !important;
      a {
        text-decoration: none;
      }
    }
    .bfe-info-window-address {
      margin-bottom: 1rem;
      span {
        display: inline;
      }
    }
  }

  a {
    color: var(--theme-color-navy);

    &:hover {
      text-decoration: underline !important;
      color: var(--theme-color-dark-blue);
    }
  }
}

/****** Blog Posts/Insights ***********/

.bfe-home-latest-insights a.wp-load-more__button,
a.wp-load-more__button {
  border-radius: 0px;
  background: transparent none;
  border-color: var(--theme-color-navy);
  border-width: 2px;
  border-style: solid;
  color: var(--theme-color-navy);
  padding-top: 0.667em;
  padding-right: 1.33em;
  padding-bottom: 0.667em;
  padding-left: 1.33em;
  transition: 0.2s ease-in-out;
}
.bfe-home-latest-insights a.wp-load-more__button:hover,
a.wp-load-more__button:hover {
  background: var(--theme-color-navy);
  color: var(--theme-color-white);
}
.bfe-author-avatar-large {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;

  @media (max-width: 800px) {
    width: 100px;
    height: 100px;
  }
}
.bfe-single-post-bottom-info {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: nowrap;
}
.bfe-single-post-bottom-info .bfe-single-post-bottom-info-avatar {
  flex: 0 0 20%;
  max-width: 220px;
}
.bfe-single-post-bottom-info .bfe-single-post-bottom-info-meta-wrapper {
  flex: 1;
  align-content: center;
  border-bottom: 1px solid var(--theme-color-gold);
  padding-bottom: 1rem;
}
.bfe-single-post-bottom-info .bfe-single-post-bottom-info-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;

  @media (max-width: 800px) {
    flex-wrap: wrap;
  }
}
.bfe-single-post-bottom-info h2 {
  color: var(--theme-color-navy);
  font-size: var(--wp--preset--font-size--headline-large);
  margin: 0;
}
.bfe-single-post-bottom-info .bfe-single-post-bottom-info-links a {
  display: inline-block;
  color: var(--theme-color-navy);
  background: transparent none;
  border-color: var(--theme-color-navy);
  border-width: 2px;
  border-style: solid;
  padding-top: 0.667em;
  padding-right: 1.33em;
  text-decoration: none;
  transition: 0.2s ease-in-out;
  border-radius: 0px;
  padding-bottom: 0.667em;
  padding-left: 1.33em;
}
.bfe-single-post-bottom-info .bfe-single-post-bottom-info-links a:hover {
	background: var(--theme-color-navy);
	color: var(--theme-color-white) !important;
}

.bfe_author-meta-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;

  .employee {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    flex: 1 0 100%;

    .meta {
      display: flex;
      align-items: center;
      gap: 1rem;
      width: 100%;

      .featured-image a{
        display: block;
        height: 90px;
        width: 90px;
        border-radius: 100%;
        overflow: hidden;

        img {
          max-width: 100%;
          height: auto;
        }
      }
    }
    .links {
      display: none;
    }
  }
}

.bfe_author-meta-bottom {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  width: 100%;

  .employee {
    display: flex;
    gap: 2rem;
    width: 100%;

    @media (max-width: 600px) {
      flex-wrap: wrap;
    }

    .featured-image a {
      display: block;
      height: 240px;
      width: 240px;
      border-radius: 100%;
      overflow: hidden;

      @media (max-width: 1100px) {
        height: 150px;
        width: 150px;
      }

        img {
          max-width: 100%;
          height: auto;
        }
    }

    .details {
      display: flex;
      align-items: center;
      gap: 2rem;
      width: 100%;
      justify-content: space-between;
      border-bottom: 1px solid var(--theme-color-gold);

      @media (max-width: 1100px) {
        flex-wrap: wrap;
        padding-bottom: var(--wp--preset--spacing--30);
      }

      .meta {
        display: flex;
        align-items: center;
        gap: 2rem;

      }
      .links {
        display: flex;
        align-items: center;
        gap: 2rem;

        .bfe_button-set {
          flex-wrap: nowrap;
          a {
            white-space: nowrap;
          }
        }
      }
    }
  }
}

/* Updates from Tad Template */
.wp-block-cover.tad-header {
    align-items: flex-end;
    .wp-block-cover__inner-container {
        p, .wp-block-post-date {
            display: inline-block;
            margin: 0;
        }
    }
    @media (max-width:800px) {
        min-height: 300px !important;
    }
}

.bfe-flex-grow-1 {
  flex-grow: 1 !important;
}
.bfe-flex-shrink-1 {
  flex-shrink: 1 !important;
}
.bfe-flex-grow-0 {
  flex-grow: 0 !important;
}
.bfe-flex-shrink-0 {
  flex-shrink: 0 !important;
}

/* Latest Update from Tad */
.bfe-latest-update-from-tad {
  .wp-block-post-excerpt__excerpt {
    position: relative;
    padding-right: 1em;

    &::after {
      content: "”";
      position: absolute;
      line-height: 0.6;
      top: 0;
      right: -0.25em;
      font-size: 4em;
      font-weight: 500;
      color: color-mix(in srgb, var(--theme-color-gold) 100%, transparent);
    }
    
  }
}

.bfe-button-outline-navy {
  transition: 0.2s ease-in-out;
  transition-property: color, background-color, border-color;
  padding: .667em 1.333em;
  border-width: 1.5px;
  border-color: var(--theme-color-navy);
  border-style: solid;
  font-weight: 600;
  text-decoration: none !important;
  color: var(--theme-color-navy);
  font-family: var(--wp--preset--font-family--articulat-cf);
  font-size: var(--wp--preset--font-size--body-default);
  line-height: 1.4;

  &:hover {
    background-color: var(--theme-color-lavender);
  border-color: var(--theme-color-lavender);
    color: var(--theme-color-white);
  }
}

 /* Review CPT Slider */
.bfe-reviews-slick-slider .slick-track {
  display: flex !important;
  column-gap: 20px;
}

.bfe-reviews-slick-slider .slick-list.draggable {
  margin-left: -10px;
  margin-right: -10px;
}

.bfe-reviews-slick-slider .bfe-review-slide {
  height: auto !important;
}

.bfe-brown-slider .bfe-review-slide {
  background: #624124;
}

.bfe-blue-slider .bfe-review-slide {
  background: var(--theme-color-lavender);
}

.bfe-review-slide.slick-slide {
  border-radius: 30px;
  padding: 40px;
  color: var(--theme-color-white);
  height: auto;

  @media (max-width: 768px) {
    padding: 40px;
  }
}

.bfe-review-inner-content {
  display: grid !important;
  height: 100%;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  grid-template-areas:
"content" 
"meta";
  align-items: stretch;
  position: relative;
}

.bfe-review-content {
  font-size: var(--wp--preset--font-size--headline-xsmall);
  line-height: 1.3;
  font-family: var(--theme-font-serif);
  letter-spacing: -0.02em;
  font-weight: 300;
  grid-area: content;
}

.bfe-review-content p {
  margin-top:0;
}

.bfe-review-meta {
  display:flex;
  gap: 20px;
  align-items: stretch;
  grid-area: meta;
  position: relative;
}

.bfe-blue-slider .bfe-review-meta:after {
  content:"";
  position: absolute;
  right: 0;
  top:18px;
  background-image: url('/wp-content/uploads/2026/02/Testimonial-quote_2x.png');
  width: 110px;
  height: 90px;
  background-size: contain;
  background-repeat: no-repeat;
    
  @media (max-width: 768px) {
    top:12px;
    width: 90px;
    height: 70px; 
  }
}

.bfe-brown-slider .bfe-review-meta:after {
  content:"";
  position: absolute;
  right: 0;
  top:18px;
  background-image: url('/wp-content/uploads/2026/02/Testimonial-quote-brown_2x.png');
  width: 110px;
  height: 90px;
  background-size: contain;
  background-repeat: no-repeat;

  @media (max-width: 768px) {
    top:12px;
    width: 90px;
    height: 70px; 
  }
}


.bfe-review-quote-icon {
  position: absolute;
  right: 0;
  opacity: 0.1;
  bottom: 14px;
}

.bfe-review-designation {
  font-size: 16px;
  font-family: var(--theme-font-sans-serif);
  opacity: 0.4;
}

.bfe-review-position {
  font-size: 16px;
  line-height: 24px;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
  font-style: normal;
}

.bfe-review-img,
.bfe-review-info  {
  align-content: center;
}

.bfe-review-img img {
  border-radius:50%;
  width:120px;
  height: 120px;

  @media (max-width: 768px) {
    width:90px;
    height: 90px;  
  }
}

.bfe-review-info h4,
.bfe-review-info p {
  margin:0;
} 

.bfe-reviews-slick-slider .slick-arrow {
  top:auto !important;
  bottom:-5rem;
}

.bfe-review-arrow-top .bfe-reviews-slick-slider .slick-arrow {
  top:-6rem !important;
  bottom:auto !important;

  @media screen and (max-width: 1200px) {
    top: auto !important;
    bottom: -4rem !important;
  }
}

.bfe-reviews-slick-slider .slick-prev {
  right: 140px !important;
  left: auto;
}

.bfe-blue-slider .bfe-reviews-slick-slider .slick-prev:before {
  content: url("/wp-content/uploads/2025/12/arrow-left-icon-blue.svg") !important;
}

.bfe-blue-slider .bfe-reviews-slick-slider .slick-next:before {
  content: url("/wp-content/uploads/2025/12/arrow-right-icon-blue.svg") !important;
}

.bfe-brown-slider .bfe-reviews-slick-slider .slick-prev:before {
  content: url("/wp-content/uploads/2025/12/arrow-left-icon.svg") !important;
}

.bfe-brown-slider .bfe-reviews-slick-slider .slick-next:before {
  content: url("/wp-content/uploads/2025/12/arrow-right-icon.svg") !important;
}

.bfe-reviews-slick-slider .slick-next {
  right: 44px;
}

.wp-block-list {
  li {
    margin: 0.5em 0;
  }
}

/* Attach this class to query loop block post template to make it 2-up on mobile */

@media (max-width: 781px) {
  .bfe-posttemplate-2up-mobile {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 781px) {
  nav.wp-block-navigation.is-style-navigation-subtabs {
    max-width: 100%;
    width: 100%;

    ul {
      display: block;
    }

    .current-menu-item {
      border-bottom: none !important;
      font-weight: 600;
    }

    li, a {
      display: block;
    }

    li {
      border-bottom: none;
    }

    a {
      padding: 1rem 5vw;
      color: var(--theme-color-navy) !important;
    }

    &:not(.is-open) {
      li.current-menu-item {
        display: block;

        a {
          position: relative;

          &::after {
            content: "";
            display: block;
            position: absolute;
            right: 5vw;
            top: 50%;
            width: 1.2rem;
            height: 1.2rem;
            transform: translateY(-50%);
            background-image: url("assets/images/chevron-down.svg");
            background-repeat: no-repeat;
            background-size: contain;
            background-position: center;
          }
        }
      }
      li:not(.current-menu-item) {
        display: none;
      }
    }
    &.is-open {
      li.selected-item-proxy {
        display: block;
        border-bottom: 1px solid var(--wp--preset--color--periwinkle) !important;

        a {
          position: relative;

          &::after {
            content: "";
            display: block;
            position: absolute;
            right: 5vw;
            top: 50%;
            width: 1.2rem;
            height: 1.2rem;
            transform: translateY(-50%) scaleY(-1);
            background-image: url("assets/images/chevron-down.svg");
            background-repeat: no-repeat;
            background-size: contain;
            background-position: center;
          }
        }
      }
      li:not(.selected-item-proxy) a {
        background-color: color-mix(in srgb,var(--wp--preset--color--periwinkle) 25%, transparent);
        &:active {
          background-color: color-mix(in srgb,var(--wp--preset--color--periwinkle) 50%, transparent);
        }
      }
      li.current-menu-item:not(.selected-item-proxy) a {
        background-color: color-mix(in srgb,var(--wp--preset--color--periwinkle) 100%, transparent);
      }
    }
  }
}

/* Make floated images responsive */

@media (max-width: 781px) {
  .is-layout-constrained > .wp-block-image.alignright,
  .is-layout-constrained > .wp-block-image.alignleft {
    float: none;
  }
}

@media (min-width: 782px) {
  .is-layout-constrained > .wp-block-image.alignright,
  .is-layout-constrained > .wp-block-image.alignleft {
    max-width: 60%;
  }
}

.bfe-brokercheck-tab {
  position: absolute;
  transform-origin: bottom left;
  transform: scale(0.7);
  background-color: color-mix(in srgb, var(--wp--preset--color--beige) 85%, transparent);
  padding: 0.8rem 1.6rem;
  border-top-right-radius: 2rem;
  border-top-left-radius: 2rem;
  left: 1rem;
  bottom: 100%;
  z-index: 1;
}

@media (min-width: 1051px) {
  .bfe-brokercheck-tab {
    transform-origin: top left;
    transform: scale(0.9) rotate(-90deg);
    padding: 1rem 2rem;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    border-bottom-right-radius: 2.5rem;
    border-bottom-left-radius: 2.5rem;
    left: 0;
    bottom: auto;
    top: -1rem;
  }
}

/*  */