/*
Theme Name: Proximity SPA
Theme URI: au.spa.com
Author: New Best Friend
Description: The 2026 theme for Proximity.
Version: 1.0
Text Domain: Proximity
*/

:root {
  --wp--preset--spacing-10:  4px;
  --wp--preset--spacing-20:  8px;
  --wp--preset--spacing-30:  15px;
  --wp--preset--spacing--40:  20px;
  --wp--preset--spacing--60:  30px;
  --wp--preset--spacing--70:  80px;
  --wp--preset--spacing--80: 127px;
  --headerHeight: 130px;
  --navHeight: 82px;
}

@media (max-width: 900px) {
  :root {
    --wp--preset--font-size--sm: 20px;
    --wp--preset--font-size--me: 20px;
    --wp--preset--font-size--lg: 28px;
    --wp--preset--font-size--xl: 40px;    
    --wp--preset--font-size--small: 20px;
    --wp--preset--font-size--medium: 20px;
    --wp--preset--font-size--large: 28px;
    --wp--preset--font-size--x-large: 40px;    
    --headerHeight: 88px;
  }
}

@media (max-width: 767px) {
  :root {
    --wp--preset--spacing--30:  10px;
    --wp--preset--spacing--40:  15px;
    --wp--preset--spacing--60:  30px;
    --wp--preset--spacing--70:  40px;
    --wp--preset--spacing--80:  80px;
    --headerHeight: 82px;
    --navHeight: 72px;
  }
}

.has-font-aptos-mono {
  font-family: "aptos-mono", sans-serif;
  font-weight: 700;
  font-style: normal;
}
/* ========== Tiny grid helpers (temporary, for legacy PHP templates) ========== */
.ff-row { display: flex; flex-wrap: wrap; gap: var(--ff-gap, 1rem); }
.ff-col { flex: 1 1 0; min-width: 0; }

/* Breakpoints chosen to mirror your existing behaviour */
@media (min-width: 576px){
  .ff-sm-6 { flex: 0 0 50%; max-width: 50%; }
  .ff-sm-9 { flex: 0 0 75%; max-width: 75%; }
}

@media (min-width: 768px){
  .ff-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
  .ff-md-5 { flex: 0 0 41.666%; max-width: 41.666%; }
  .ff-md-6 { flex: 0 0 50%;     max-width: 50%;     }
  .ff-md-7 { flex: 0 0 58.333%; max-width: 58.333%; }
  .ff-md-8 { flex: 0 0 66.666%; max-width: 66.666%; }
  .ff-md-12{ flex: 0 0 100%;    max-width: 100%;    }
  .ff-offset-md-1{ margin-left: 8.333%; }
  .ff-offset-md-3{ margin-left: 25%; }
}

@media (min-width: 1200px){
  .ff-xl-4 { flex: 0 0 33.333%; max-width: 33.333%; }
  .ff-xl-5 { flex: 0 0 41.666%; max-width: 41.666%; }
  .ff-xl-6 { flex: 0 0 50%;     max-width: 50%;     }
  .ff-xl-7 { flex: 0 0 58.333%; max-width: 58.333%; }
  .ff-xl-12{ flex: 0 0 100%;    max-width: 100%;    }
  .ff-offset-xl-1{ margin-left: 8.333%; }
  .ff-offset-xl-2{ margin-left: 16.666%; }
}

.hide-on-mobile {
  @media (max-width: 781px) {
    & {
      display: none !important;
    }
  }
}
.hide-on-tablet {
  @media (min-width: 782px) and (max-width: 899px) {
    & {
      display: none !important;
    }
  }
}
.hide-on-desktop {
  @media (min-width: 900px) {
    & {
      display: none !important;
    }
  }
}
.d-none {
  display: none !important;
}
.d-block {
  display: block !important;
}

/*
 * CHANGE CONTENT ORDER
 */
.order-1 {
  order: 1;
}
.order-2 {
  order: 2;
}
.order-3 {
  order: 3;
}
@media (max-width: 781px) {
  .order-mobile-1 {
    order: 1;
  }
  .order-mobile-2 {
    order: 2;
  }
  .order-mobile-3 {
    order: 3;
  }

  .align-mobile-start {
    justify-content: flex-start;
  }
}

/* remove margin offsets on mobile */
@media (max-width: 781px) {
  .my-0 {
    margin-block: 0 !important;
  }
  .mt-0 {
    margin-top: 0 !important;
  } 
  .mb-0 {
    margin-bottom: 0 !important;
  } 
  .my-0 {
    margin-block: 0 !important;
  }
  .pl-0 {
    padding-left: 0 !important;
  }
  .pr-0 {
    padding-right: 0 !important;
  }  
  .b-0 {
    border: 0 !important;
  }
}

@media (min-width: 782px) and (max-width: 900px) {
  .b-tablet-0 {
    border: 0 !important;
  }
}
@media (min-width: 782px) {
  .mt-lg-0 {
    margin-top: 0;
  }
}

.z-index {
  z-index: 1;
}
.z-index-sm {
  z-index: 10;
}
.z-index-md {
  z-index: 100;
}
.z-index-lg {
  z-index: 1000;
}

.no-gap {
  gap: 0 !important;
}

.w-100 {
  width: 100%;
}
@media (max-width: 785px) {
  .w-mobile-100 {
    width: 100%;
  }
}

@media (min-width: 786px) and (max-width: 900px) {
  .w-tablet-100 {
    width: 100%;
  }
}

.p-relative {
  position: relative !important;
}

.is-position-sticky {
  top: var(--wp--preset--spacing--60);
  &.bottom {
    top: unset !important;
    bottom: 0;
  }
}

/* Fix rotated text for mobile */
@media (max-width: 785px) {
  *.has-text-align-right[style*=writing-mode]:where([style*=vertical-rl]) {
    rotate: 0deg !important;
    text-align: left !important;
    writing-mode: initial !important;
  }
}

@media (max-width: 781px) {
  :is(.wp-block-group, .wp-block-column) {
    &:empty {
      display: none !important;
      padding: 0;
    }
  }
}


.element-invisible {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  margin: -1px;
  padding: 0;
  width: 1px;
  height: 1px;
  border: 0;
}

/* ANIMAITON STYLES */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeOutHalf {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0.5;
  }
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }
  20% {
    opacity: 1;
    transform: scale(1.1);
  }
  33% {
    opacity: 1;
    transform: scale(1.1);
  }
  53% {
    opacity: 0;
    transform: scale(1.25);
  }
  100% {
    opacity: 0;
    transform: scale(1.25);
  }
}

@keyframes fadeInOutLoop {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
}

@keyframes fadeInScaleDown {
  0% {
    opacity: 0;
    transform: scale(1.5, 1.5);
  }
  100% {
    opacity: 1;
    transform: scale(1, 1);
  }
}

@keyframes scaleDown {
  0% {
    opacity: 0;
    transform: scale(1.5, 1.5);
  }
  100% {
    opacity: 1;
    transform: scale(1, 1);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translate3d(100%, 0, 0);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes pageOutBottom {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100%);
  }
}

@keyframes pageInTop {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0%);
  }
}

@keyframes pageInOutBottom {
  0% {
    transform: translateY(0%);
  }
  50% {
    transform: translateY(0%);
  }
  60% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100%);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

@keyframes shift-in-up {
  0% {
    opacity: 0;
    transform: translate3d(0, 25%, 0);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

.animation-loop {
  /* loop */
}

.animation-loop > li:nth-of-type(1) {
  animation: shift-in-up 0.6s ease-out 0.1s both;
}

.animation-loop > li:nth-of-type(2) {
  animation: shift-in-up 0.6s ease-out 0.3s both;
}

.animation-loop > li:nth-of-type(3) {
  animation: shift-in-up 0.6s ease-out 0.5s both;
}

.animation-loop > li:nth-of-type(4) {
  animation: shift-in-up 0.6s ease-out 0.7s both;
}

.animation-loop > li:nth-of-type(5) {
  animation: shift-in-up 0.6s ease-out 0.9s both;
}

.animation-loop > li:nth-of-type(6) {
  animation: shift-in-up 0.6s ease-out 1.1s both;
}

.animation-loop > li:nth-of-type(7) {
  animation: shift-in-up 0.6s ease-out 1.3s both;
}

.animation-loop > li:nth-of-type(8) {
  animation: shift-in-up 0.6s ease-out 1.5s both;
}

.animation-loop > li:nth-of-type(9) {
  animation: shift-in-up 0.6s ease-out 1.7s both;
}

.animation-loop > li:nth-of-type(10) {
  animation: shift-in-up 0.6s ease-out 1.9s both;
}

/* Scroll reveal */
html.sr .region-banner .img-mask img:not(.no-sr),
html.sr .wp-block-image:not(.no-sr),
html.sr .wp-block-getwid-images-stack__media-inner-wrapper:not(.no-sr),
html.sr .wp-block-getwid-images-stack__media-inner-wrapper img:not(.no-sr),
html.sr .cards > div:not(.no-sr),
html.sr .latest:not(.no-sr) .latest-item,
html.sr .card-img:not(.hover):not(.no-sr),
html.sr .post-list:not(.no-sr) {
  visibility: hidden;
}

.m-scene {
  position: relative;
}

.m-scene .scene_element {
  animation-duration: 1s;
  animation-timing-function: cubic-bezier(0.465, 0.183, 0.153, 0.946);
  animation-fill-mode: both;
}

.m-scene .scene_element--fadein {
  animation-name: fadeIn;
}

.m-scene .scene_element--fadeinup {
  animation-name: fadeInUp;
}

.m-scene .scene_element--fadeinright {
  animation-name: fadeInRight;
}

.m-scene .scene_element--fadeInRight {
  animation-name: fadeInRight;
}

.m-scene .scene_element--fadeInScaleDown {
  animation-name: fadeInScaleDown;
}

.m-scene.is-exiting .scene_element {
  animation-name: fadeOut;
  animation-duration: 0.6s;
}

.no-list {
  margin: 0;
  padding: 0;
}

.no-list li {
  background: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* ------
Misc
-------- */
html.no-js {
  margin-top: 0 !important;  
}
html {
  scroll-behavior: smooth;
}

#main ~ #wpadminbar {
  display: none;
}

.sr-text {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  margin: -1px;
  padding: 0;
  width: 1px;
  height: 1px;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
}

.icon--arrow svg {
  width: 40px;
  animation: bounce 2s 2;
  transition: all 0.4s ease-out !important;
}

@media (max-width: 991.98px) {
  .icon--arrow svg {
    width: 30px;
  }
}

.typed-cursor {
  color: #2EBEEF;
}

#message.updated {
  position: fixed;
  bottom: 15px;
  left: 0;
  right: 0;
  z-index: 999999999999999;
  background: #d8f6df;
  width: 95vw;
  height: auto;
  max-width: 1141px;
  margin: auto;
  padding: 1rem;
  color: #0f401b;
  box-shadow: 0 0 30px rgba(15, 64, 27, 0.1);
  border: 1px solid #28a745;
}

.cta {
  background: #2EBEEF;
  border-radius: 12px;
  width: 100%;
}

.cta * {
  color: white;
}

.cta > * {
  max-width: 750px;
  margin: auto;
}

.gform_confirmation_message {
  background: white;
  padding: var(--wp--preset--spacing--60);
  margin-top: var(--wp--preset--spacing--60);
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 12px;
}

.circle-container {
  width: 100vw;
  height: 100%;
  position: absolute;
  left: calc((50vw - 50%)* -1);
  overflow: hidden;
  top: 50%;
  translate: 0 -50%;
  pointer-events: none;
}

.circle {
  position: absolute;
  width: clamp(3.5327102804vw, 428px, 33vw);
  height: clamp(3.5327102804vw, 428px, 33vw);
  border-radius: 50%;
  background-color: #ED1459;
  opacity: 0;
  animation: move 12s linear 2 forwards;
  top: 50%;
  translate: 0 -50%;
}

@keyframes move {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateX(100vw);
    opacity: 1;
  }
}

.wp_content .brandAnimationsWrapper {
  position: relative;
}

.wp_content .brandAnimations {
  position: absolute;
  top: 0;
  right: calc(var(--wp--preset--spacing--60) * -1);
  width: 100vw;
  height: 150%;
  overflow: hidden;
  opacity: 0.7;
}

.wp_content .brandAnimations:before, .wp_content .brandAnimations:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  z-index: 1;
}

.wp_content .brandAnimations:after {
  bottom: 0;
  background: linear-gradient(0deg, var(--wp--preset--color--dark), rgba(23, 16, 91, 0));
}

.wp_content .brandAnimations:before {
  top: 0;
  background: linear-gradient(0deg, rgba(23, 16, 91, 0), var(--wp--preset--color--dark));
}

@media (min-width: 576px) {
  .wp_content .brandAnimations {
    margin-right: calc((100vw - 100%)/2 * -1 + var(--wp--preset--spacing--60));
  }
}

.wp_content .brandAnimations lottie-player {
  width: 100%;
  height: 100%;
  transform: translateX(50%);
}

.wp_content .brandAnimations lottie-player.dot-wave {
  transform: translateX(35%) translateY(-45%) rotate(45deg);
}

.wp_content .brandAnimations lottie-player.rings {
  transform: translateY(-50%) translateX(25%) rotate(45deg) scale(1.5);
}

.wp_content .brandAnimations lottie-player.shell {
  transform: translateX(50%) rotate(90deg) scale(3);
}

.wp_content .brandAnimations ~ * {
  position: relative;
}

.block-casestudy {
  position: relative;
  padding: var(--wp--preset--spacing--60);
  border-radius: 12px;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.3);
  background: linear-gradient(128deg, #251D77 10%, #4EBCEB 80%);
}

@media (max-width: 767.98px) {
  .block-casestudy {
    margin-top: calc(var(--wp--preset--spacing--80) * -2);
  }
}

@media (min-width: 768px) {
  .block-casestudy {
    max-width: 350px;
  }
}

.block-service-leads {
  position: relative;
  padding: var(--wp--preset--spacing--60) !important;
  border-radius: 12px;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.3);
  background: linear-gradient(128deg, #251D77 10%, #4EBCEB 80%);
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

.block-service-leads * {
  color: var(--wp--preset--color--white) !important;
}

.block-service-leads .wp-block-media-text__media {
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .block-service-leads {
    max-width: 350px !important;
    margin-right: auto;
  }
}

.profile-mask {
  border-radius: 100%;
  width: var(--wp--preset--spacing--70);
  height: var(--wp--preset--spacing--70);
  background: #000;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.profile-mask img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 100%;
}

@media (min-width: 768px) {
  .featured-img-half {
    background: #000;
    width: calc(100% + (50vw - 100%) / 2);
    height: calc(100% + (var(--wp--preset--spacing--80) * 2));
    max-height: 100vh !important;
    margin-left: calc(((50vw - 100%) * -1) / 2) !important;
    margin-top: calc(var(--wp--preset--spacing--80) * -1) !important;
    margin-bottom: calc(var(--wp--preset--spacing--80) * -1) !important;
    left: calc((var(--wp--preset--spacing--70)/2 + 5px) * -1);
    position: relative;
  }
  .featured-img-half img {
    opacity: 0.7;
  }
}

@media (min-width: 1366px) {
  .featured-img-half {
    left: calc((((100vw - 1266px)/4) * -1) - 5px);
  }
}

/* ------------------
PEOPLE
------------------- */
.single-people .profile-wrapper {
  display: flex;
  gap: var(--wp--preset--spacing--70);
  box-sizing: border-box;
  & * {
    box-sizing: border-box;
  }
  & .img-mask {
  position: relative;  
  min-height: 50vh;
    & * {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;      
    }
  }

  & .roles {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 15px;
  }

  & .role {
    font-family: var(--wp--preset--font-family--aptos-mono);
    text-transform: uppercase;
    border: 1px solid color-mix(in srgb, var(--wp--preset--color--dark) 20%, transparent) !important;
    font-size: 12px;
    border-radius: 100px;
    padding: 8px 16px;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    max-width: 100%;
  }

  & .role.serviceLead {
    color: var(--wp--preset--color--cyan);
  }

  & .role.board {
    color: var(--wp--preset--color--pink);
  }

  & .contacts {
    margin-top: var(--wp--preset--spacing-30);
    color: var(--wp--preset--color--dark);
  }

  & > * {
    max-width: unset;
    width: 50vw;
    max-height: 100vh;
    padding: var(--wp--preset--spacing--50);
  }
}

@media (max-width: 782px) {
  .single-people .profile-wrapper {
    flex-direction: column;
    position: relative;
    gap: 0;
    & > * {
      width: 100%;
      padding: var(--wp--preset--spacing--70);
      max-height: unset !important;
    }
  }
}

.single-people a[href*="tel"],
.single-people a[href*="mailto"] {
  color: var(--wp--preset--color--pink);
}

@media (min-width: 992px) {
  .single-people .img-mask {
    min-height: min(100%, 100vh);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
  }
}

.single-people .card-img.hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  animation: fadeInOutLoop 8s ease-out infinite;
}

.single-people #insights .cards {
  justify-content: flex-start;
}

.single-people #sidebar {
  display: none;
}

#serviceBio, #generalBio {
  max-width: 650px;
}

.printOnly {
  display: none !important;
}

#print {
  height: 50px;
  width: auto;
  position: fixed;
  bottom: var(--wp--preset--spacing--60);
  left: var(--wp--preset--spacing--60);
  color: transparent;
  padding: var(--wp--preset--spacing--20);
  padding-left: 40px;
  background: #ED145A no-repeat var(--wp--preset--spacing--20) center/var(--wp--preset--spacing--20);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='24' viewBox='0 0 18 24'%3E%3Cpath id='icons8-download' d='M15,4V20.563L9.719,15.281,8.281,16.719l7,7,.719.688.719-.687,7-7-1.437-1.437L17,20.563V4ZM7,26v2H25V26Z' transform='translate(-7 -4)' fill='%23fff'/%3E%3C/svg%3E%0A");
  z-index: 99;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

@media print {
  .roles {
    display: none !important;
  }
}

.single-services .wp_content {
  padding-bottom: 0;
}

.single-services .region-banner .img-mask:after {
  display: block;
  background: linear-gradient(0deg, var(--wp--preset--color--dark), transparent);
  content: "";
  width: 100%;
  height: 45vh;
  position: absolute;
  bottom: 0;
  left: 0;
}

@media (min-width: 992px) {
  #panels h3 {
    font-size: 14px;
  }
}

#panels ul li {
  margin-bottom: 10px;
}

@media (min-width: 992px) {
  #panels ul li {
    font-size: 14px;
    line-height: 1.5;
  }
}

#panels .accordion:not(:has(li)) {
  display: none;
}

.child-service:not(:first-of-type) {
  padding-top: var(--wp--preset--spacing--40);
  margin-top: var(--wp--preset--spacing--40);
}

.child-service a,
.child-service ~ a {
  color: var(--wp--preset--color--white);
}

.single-events .eventDetails {
  padding: var(--wp--preset--spacing--60);
  border-radius: 12px;
  background: #EFEFEF;
  box-shadow: 0 25px 100px rgba(0, 0, 0, 0.2);
}

@media (max-width: 767.98px) {
  .single-events .eventDetails {
    margin-top: calc(var(--wp--preset--spacing--80) * -1) !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .single-events .eventDetails {
    position: absolute !important;
    top: calc(var(--wp--preset--spacing--80) * -1) !important;
    right: 0;
    transform: translateY(-100%);
  }
}

@media (min-width: 992px) {
  .single-events .eventDetails {
    margin-top: calc(var(--wp--preset--spacing--80) * -2) !important;
  }
}

.single-events .eventDetails h2, .single-events .eventDetails h3, .single-events .eventDetails p {
  color: var(--wp--preset--color--dark) !important;
}

.wp-block-columns .wp-block-column.image-caption > p {
  max-width: 450px !important;
}

.community-reconciliation,
.community-family,
.community-mental {
  color: var(--wp--preset--color--white);
  position: relative;
  padding-left: calc(var(--wp--preset--spacing--60) + 10px);
  background: no-repeat left center/contain;
  line-height: 2.4;
  margin: 0;
}

.community-reconciliation {
  background-size: 2em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='142.261' height='71.78' viewBox='0 0 142.261 71.78'%3E%3Cg id='Group_5' data-name='Group 5' transform='translate(251.784 -551.143)'%3E%3Cg id='Group_4' data-name='Group 4' opacity='0.5'%3E%3Cpath id='Path_7' data-name='Path 7' d='M-181.836,569.466c-28.711,1.087-46.909,43.768-47.67,45.585a5,5,0,0,0,2.678,6.541,5,5,0,0,0,6.545-2.675c4.514-10.741,20.291-38.769,38.837-39.459,16.822-.639,31.618,21.3,41.069,39.8a5,5,0,0,0,4.457,2.726,4.976,4.976,0,0,0,2.27-.547,5,5,0,0,0,2.178-6.728C-147.149,584.016-164.09,568.8-181.836,569.466Z' fill='%23ffffff'/%3E%3Cpath id='Path_8' data-name='Path 8' d='M-110.1,615.5c-22.858-43.659-47.308-65.294-72.632-64.329-41.073,1.579-67.517,62.1-68.622,64.676a5,5,0,0,0,2.621,6.565,5,5,0,0,0,6.567-2.618A166.811,166.811,0,0,1-224.9,590.365c9.6-12.947,24.776-28.523,42.575-29.2,21.128-.813,42.465,19.038,63.375,58.976a5,5,0,0,0,4.434,2.681,4.974,4.974,0,0,0,2.315-.571A5,5,0,0,0-110.1,615.5Z' fill='%23ffffff'/%3E%3Cpath id='Path_9' data-name='Path 9' d='M-181.415,589.907c-7.334.284-14.269,4.741-20.611,13.248A65.682,65.682,0,0,0-209,615a5,5,0,0,0,2.6,6.569,5.005,5.005,0,0,0,6.577-2.59c2.113-4.845,10.1-18.75,18.811-19.076,6.174-.24,13.12,6.483,19.952,19.418a5,5,0,0,0,4.425,2.666,4.973,4.973,0,0,0,2.331-.58,5,5,0,0,0,2.086-6.756C-161.107,597.826-170.924,589.52-181.415,589.907Z' fill='%23ffffff'/%3E%3C/g%3E%3Ccircle id='Ellipse_10' data-name='Ellipse 10' cx='5' cy='5' r='5' transform='translate(-251.784 612.923)' fill='%23ffffff'/%3E%3Ccircle id='Ellipse_11' data-name='Ellipse 11' cx='5' cy='5' r='5' transform='translate(-119.784 612.923)' fill='%23ffffff'/%3E%3C/g%3E%3C/svg%3E%0A");
}

.community-family {
  background-size: 1.4em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='119.1' height='135.65' viewBox='0 0 119.1 135.65'%3E%3Cg id='Group_12' data-name='Group 12' transform='translate(373.57 -184.67)'%3E%3Cg id='Group_6' data-name='Group 6' opacity='0.5'%3E%3Cpath id='Path_10' data-name='Path 10' d='M-254.57,311.654V236.22c0-.086-.01-.169-.013-.255-.005-.142-.008-.284-.021-.425-.011-.124-.03-.245-.047-.367s-.032-.236-.054-.354-.057-.258-.088-.386c-.027-.108-.052-.216-.083-.324-.037-.126-.08-.249-.124-.372s-.075-.216-.118-.323-.1-.225-.148-.336-.1-.224-.161-.334-.111-.2-.169-.3c-.066-.114-.132-.226-.2-.337-.061-.093-.127-.182-.192-.272-.077-.107-.154-.214-.237-.317s-.157-.183-.237-.274-.16-.182-.245-.269c-.1-.1-.21-.2-.318-.3-.061-.055-.116-.115-.179-.169l-51.75-44.05c-.032-.027-.066-.048-.1-.075-.114-.094-.232-.183-.351-.27-.085-.062-.17-.124-.257-.182-.115-.077-.234-.148-.353-.218-.1-.059-.2-.117-.3-.17s-.218-.109-.328-.16-.232-.109-.35-.157c-.1-.041-.2-.076-.3-.112-.131-.046-.261-.093-.393-.132-.1-.028-.191-.051-.287-.075-.138-.035-.276-.07-.416-.1-.1-.019-.2-.032-.3-.047-.136-.021-.273-.042-.41-.055-.109-.011-.218-.015-.327-.021-.127-.007-.254-.014-.381-.014s-.243.006-.365.012-.23.009-.345.02c-.131.012-.261.031-.391.05-.106.016-.211.029-.316.049-.133.026-.265.058-.4.091-.1.025-.205.049-.306.078-.127.037-.251.081-.376.125-.107.037-.214.074-.319.116s-.224.1-.335.148-.231.107-.344.166c-.1.051-.191.106-.285.161-.124.072-.246.145-.366.224-.084.056-.166.116-.249.176-.122.088-.242.177-.36.273-.031.026-.064.047-.1.073l-52.25,44.05c-.066.055-.122.116-.185.173-.11.1-.221.2-.325.3-.089.09-.169.185-.252.278s-.159.174-.233.265-.164.216-.243.326c-.064.087-.129.173-.188.264-.074.111-.14.226-.207.34-.057.1-.115.193-.168.293s-.108.222-.16.334-.105.222-.151.336-.078.211-.116.317c-.044.125-.089.25-.127.379-.031.1-.055.208-.081.313-.032.131-.066.262-.092.4-.022.115-.036.231-.053.346s-.038.249-.05.375c-.013.145-.017.29-.022.435,0,.087-.013.173-.013.261v76a7.462,7.462,0,0,0,1.413,4.37,7.49,7.49,0,0,0,6.477,3.73h103.71a7.5,7.5,0,0,0,7.5-7.5A7.476,7.476,0,0,0-254.57,311.654Zm-15-6.334h-89V239.707L-313.843,202l44.273,37.686Z' fill='%23fff'/%3E%3Cpath id='Path_11' data-name='Path 11' d='M-330.94,251.91c-3.8,9.02,16.48,28.44,16.48,28.44s12.28-4.64,18.6-11.98c3.8-4.4,6.28-17.15-2.12-22.83s-14.52,7.96-14.52,7.96C-318.29,242.3-327.33,243.34-330.94,251.91Z' fill='%23fff'/%3E%3C/g%3E%3Cg id='Group_7' data-name='Group 7'%3E%3Ccircle id='Ellipse_12' data-name='Ellipse 12' cx='7.5' cy='7.5' r='7.5' transform='translate(-373.18 305.32)' fill='%23fff'/%3E%3C/g%3E%3Cg id='Group_8' data-name='Group 8'%3E%3Ccircle id='Ellipse_13' data-name='Ellipse 13' cx='7.5' cy='7.5' r='7.5' transform='translate(-269.57 305.32)' fill='%23fff'/%3E%3C/g%3E%3Cg id='Group_9' data-name='Group 9'%3E%3Ccircle id='Ellipse_14' data-name='Ellipse 14' cx='7.5' cy='7.5' r='7.5' transform='translate(-373.57 228.72)' fill='%23fff'/%3E%3C/g%3E%3Cg id='Group_10' data-name='Group 10'%3E%3Ccircle id='Ellipse_15' data-name='Ellipse 15' cx='7.5' cy='7.5' r='7.5' transform='translate(-269.57 228.72)' fill='%23fff'/%3E%3C/g%3E%3Cg id='Group_11' data-name='Group 11'%3E%3Ccircle id='Ellipse_16' data-name='Ellipse 16' cx='7.5' cy='7.5' r='7.5' transform='translate(-321.32 184.67)' fill='%23fff'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A");
}

.community-mental {
  background-size: 1.4em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='82.314' height='103.342' viewBox='0 0 82.314 103.342'%3E%3Cg id='Group_16' data-name='Group 16' transform='translate(-238.514 -214.308)'%3E%3Cg id='Group_13' data-name='Group 13' opacity='0.5'%3E%3Cpath id='Path_12' data-name='Path 12' d='M291.13,234.46c-5.24-3.54-9.05,4.96-9.05,4.96-3.61-6.98-9.24-6.33-11.49-.99-2.36,5.61,10.27,17.71,10.27,17.71s7.64-2.89,11.59-7.46C294.82,245.94,296.37,238,291.13,234.46Z' fill='%23fff'/%3E%3Cpath id='Path_13' data-name='Path 13' d='M320.8,245.8c-.393-9.412-11.146-31.472-30.216-31.472q-1.447,0-2.884-.011a117.65,117.65,0,0,0-13.087.418c-4.947.518-20,2.094-24.031,20.231-.363,1.641-.624,3.262-.877,4.83a54.374,54.374,0,0,1-1.1,5.6c-.564,2.082-2.544,4.036-4.641,6.1-.945.933-1.922,1.9-2.845,2.94-2.837,3.2-2.851,6.045-2.363,7.867a7.7,7.7,0,0,0,3.914,4.758,6.721,6.721,0,0,0,.681,4.624,7.072,7.072,0,0,0,1.07,5.069,17.608,17.608,0,0,0-.483,5.636,9.6,9.6,0,0,0,9.973,9.562,72.083,72.083,0,0,0,7.3-.386c.277,1.063.531,2.1.727,3.152.359,1.946.616,3.8.864,5.591a71.461,71.461,0,0,0,2.157,11.006,9.259,9.259,0,0,0,1.922,3.663,7.314,7.314,0,0,0,1.322,1.158l.085.056a10.053,10.053,0,0,0,5.65,1.45,68.269,68.269,0,0,0,15.6-1.429c4.394-1.061,11.052-3.425,15.361-6.6,6.032-4.464,3.928-9.744,3.029-12a12.8,12.8,0,0,1-.47-1.3c-.184-.691-.4-1.4-.627-2.124a17.56,17.56,0,0,1-.867-3.554c-.081-1.232-.2-2.444-.328-3.649a36.019,36.019,0,0,1-.274-7.14c.24-2.486,1.482-3.937,4.041-6.725.383-.417.773-.841,1.164-1.277C317.847,263.737,321.191,255.216,320.8,245.8Zm-17.671,19.372c-.364.408-.727.8-1.082,1.189-2.839,3.091-6.056,6.6-6.628,12.515a44.142,44.142,0,0,0,.278,9.134c.111,1.086.224,2.178.3,3.276a25.06,25.06,0,0,0,1.3,5.875c.182.584.362,1.16.51,1.716a20.78,20.78,0,0,0,.848,2.444c.046.116.1.246.148.375a37.91,37.91,0,0,1-11.6,4.8,58.115,58.115,0,0,1-12.874,1.147,66.023,66.023,0,0,1-1.6-8.7c-.263-1.9-.535-3.866-.936-6.041-.328-1.766-.752-3.365-1.161-4.91-.139-.525-.28-1.056-.416-1.588a6.362,6.362,0,0,0-6.4-5.146,8.557,8.557,0,0,0-1.168.082,66.546,66.546,0,0,1-8.7.617c0-.026,0-.054-.006-.083a7.449,7.449,0,0,1,.179-2.6,8.213,8.213,0,0,0-.35-6.5,5.39,5.39,0,0,0,.276-3.268,5.509,5.509,0,0,0-.924-2.022,6.657,6.657,0,0,0-.06-5.332,5.9,5.9,0,0,0-2.831-2.761q.378-.377.772-.764c2.812-2.774,6-5.917,7.27-10.6a62.913,62.913,0,0,0,1.319-6.635c.24-1.492.468-2.9.767-4.254,1.481-6.667,4.651-11.336,15.311-12.451a108.923,108.923,0,0,1,11.986-.364q1.465.009,2.942.011c11.615,0,19.961,15.576,20.225,21.89C311.089,252.993,308.649,259.015,303.125,265.174Z' fill='%23fff'/%3E%3C/g%3E%3Cg id='Group_14' data-name='Group 14'%3E%3Ccircle id='Ellipse_17' data-name='Ellipse 17' cx='5.12' cy='5.12' r='5.12' transform='translate(298.73 297.78)' fill='%23fff'/%3E%3C/g%3E%3Cg id='Group_15' data-name='Group 15'%3E%3Ccircle id='Ellipse_18' data-name='Ellipse 18' cx='5.16' cy='5.16' r='5.16' transform='translate(265.95 306.65)' fill='%23fff'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A");
}

/* ------------------
USER
------------------- */
.page-template-user header, .page-template-user footer {
  display: none !important;
}

.page-template-user #browser {
  display: none !important;
}

@media all and (max-width: 900px) {
  .page-template-user #browser {
    background: rgba(0, 0, 0, 0.95);
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: calc((100vw - 100%)/2);
    padding: var(--wp--preset--spacing--70);
    width: 100vw;
    height: 100vh;
    z-index: 99999999;
  }
  .page-template-user #browser * {
    color: white;
    text-align: center;
  }
}

.page-template-user #user-nav {
  background: var(--wp--preset--color--dark);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: 100vw;
  height: 104px;
  align-items: center;
  justify-content: flex-end;
  padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--70);
  z-index: 999;
}

.page-template-user #user-nav .divider {
  content: "";
  display: block;
  width: 100vw;
  height: 1px;
  background: white;
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  opacity: 0.3;
  transform-origin: left;
}

.page-template-user #user-nav .logo {
  margin-left: 0;
  margin-right: auto;
}

.page-template-user #user-nav .logo svg {
  max-height: 100%;
  width: 292px;
  max-width: 40vw;
  height: auto;
  display: block;
}

.page-template-user #user-nav a {
  color: white;
  font-weight: 700;
  font-size: 18px;
  position: relative;
}

.page-template-user #user-nav a:not(.logo):after {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  margin: auto;
  background-color: var(--wp--preset--color--purple);
  opacity: 0;
}

.page-template-user #user-nav a:not(.logo):nth-of-type(3):after {
  opacity: 1;
}

.page-template-user #user-nav a:not(.logo) + a {
  margin-left: calc(var(--wp--preset--spacing--60) * 2);
}

.page-template-user #user-nav .profile-link {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.page-template-user #user-nav .profile-link .profile-mask {
  background-color: black;
  max-width: 50px;
  height: auto;
  margin-left: 10px;
  display: block;
  aspect-ratio: 1/1;
}

.page-template-user .card-img {
  max-width: 100%;
}

.page-template-user .entry-content > nav {
  position: relative;
  background: white;
}

.page-template-user .entry-content > nav .nav-tabs .nav-link {
  padding: 1rem;
  border-radius: 0;
}

.page-template-user .accordion .accordionTitle {
  margin: 0;
  border: none;
  background: var(--wp--preset--color--white);
}

.page-template-user .accordion .accordionBody {
  background: var(--wp--preset--color--white);
  padding: var(--wp--preset--spacing--60);
  margin: 0;
}

.page-template-user input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]), .page-template-user input[type="text"], .page-template-user input[type="email"], .page-template-user input[type="tel"], .page-template-user input[type="number"] {
  color: var(--wp--preset--color--dark);
}

.page-template-user .media-router .media-menu-item {
  color: #000;
}

.page-template-user .services {
  background: var(--wp--preset--color--white);
  padding: 1rem;
}

.page-template-user .acf-form > .acf-fields {
  display: flex;
  flex-wrap: wrap;
  margin-right: -10px;
  margin-left: -10px;
}

.page-template-user .acf-form > .acf-fields > .acf-field {
  padding: 0;
  border: 0;
  position: relative;
  width: 100%;
  padding-right: 10px;
  padding-left: 10px;
  flex: 0 0 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .page-template-user .acf-form > .acf-fields > .acf-field[data-name="profile_image"], .page-template-user .acf-form > .acf-fields > .acf-field[data-name="rollover_image"] {
    flex: 0 0 33.3333333333%;
    max-width: 33.3333333333%;
  }
}

.page-template-user .acf-form > .acf-fields > .acf-field.acf-field-taxonomy {
  flex: 0 0 100%;
  max-width: 100%;
}

.page-template-user .acf-form > .acf-fields .acf-label {
  margin-bottom: 0;
}

.page-template-user .acf-form > .acf-fields .categorychecklist-holder {
  border: 0;
  width: 100%;
  margin-top: var(--wp--preset--spacing--20);
  max-height: 100%;
}

.page-template-user .acf-form > .acf-fields .categorychecklist-holder label {
  font-weight: normal;
}

.page-template-user .acf-form > .acf-fields .categorychecklist-holder ul.acf-checkbox-list li {
  font-size: var(--wp--preset--font-size--xs);
}

.page-template-user .acf-form > .acf-fields .categorychecklist-holder ul.acf-checkbox-list li span {
  color: var(--wp--preset--color--dark);
}

.page-template-user .acf-form > .acf-fields .categorychecklist-holder ul.acf-checkbox-list li input {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 1px solid #8E2A8F;
  height: 1em;
  width: 1em;
}

.page-template-user .acf-form > .acf-fields .categorychecklist-holder ul.acf-checkbox-list li input:hover, .page-template-user .acf-form > .acf-fields .categorychecklist-holder ul.acf-checkbox-list li input:focus {
  padding-left: 0;
}

.page-template-user .acf-form > .acf-fields .categorychecklist-holder ul.acf-checkbox-list li input:checked {
  outline: 2px solid #8E2A8F;
  outline-offset: -3px;
  background: #8E2A8F;
}

.page-template-user .acf-form > .acf-fields .categorychecklist-holder > ul.acf-checkbox-list > li + li {
  margin-top: var(--wp--preset--spacing--60);
}

.page-template-user .acf-form > .acf-fields [for="acf-field_5f288f0775724"] {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  margin: -1px;
  padding: 0;
  width: 1px;
  height: 1px;
  border: 0;
}

.page-template-user .acf-form > .acf-fields .acf-field input[type="text"] {
  max-width: 250px;
  padding: var(--wp--preset--spacing--20);
}

.page-template-user .acf-form > .acf-fields [data-event="add-row"]:not(.acf-icon) {
  display: block;
  text-align: center;
  border: 1px solid;
  padding: var(--wp--preset--spacing--20);
  margin-top: var(--wp--preset--spacing--20);
}

.page-template-user .col-md-8 .acf-field-taxonomy {
  flex: 0 0 66.6666666667%;
  max-width: 66.6666666667%;
}

.page-template-user .col-md-8 .acf-field-taxonomy .select2 {
  max-width: 250px !important;
}

.page-template-user #adduser label {
  min-width: 120px;
  display: inline-block;
  font-size: 18px;
  line-height: 1.2;
}

.page-template-user #adduser input[type="text"],
.page-template-user #adduser input[type="password"] {
  min-width: 250px;
}

.my-pages_link {
  padding: var(--wp--preset--spacing--20);
  background: var(--wp--preset--color--white);
}

.my-pages_link + .my-pages_link {
  border-top: 1px solid #EFEFEF;
}

/* -----------------
SERVICE BIO TOGGLES
-------------------- */
.accordion-field {
  padding: var(--wp--preset--spacing--20);
  font-size: var(--wp--preset--font-size--lg);
  color: #ED145A;
}

.accordion-field + .accordion-field {
  display: none;
}

.accordion-field ~ .acf-field-wysiwyg {
  border-top: none !important;
}

.menu-collapser {
  position: absolute;
  top: -3px;
  right: 0;
  display: block;
  width: var(--wp--preset--spacing--60);
  height: var(--wp--preset--spacing--60);
  text-align: center;
  color: var(--wp--preset--color--white) !important;
  outline: none;
  cursor: pointer;
  line-height: 1;
  padding: calc(var(--wp--preset--spacing--40) / 2);
  transition: all 0.4s ease-out !important;
  border-radius: 4px;
  background-color: #2EBEEF;
}

.menu-collapser:hover, .menu-collapser:focus {
  transition: all 0.1s !important;
  background: #11a6d9;
}

.menu-collapser + .children {
  margin-top: var(--wp--preset--spacing--20);
}

.page-template-user .acf-form > .acf-fields > .acf-field[data-name="service_areas"] {
  position: relative;
  width: 100%;
  padding-right: 10px;
  padding-left: 10px;
  flex: 0 0 33.3333333333%;
  max-width: 33.3333333333%;
}

.page-template-user .acf-form > .acf-fields > .acf-field[data-name="service_areas"] .acf-checkbox-list li + li {
  margin-top: var(--wp--preset--spacing--20);
}

.page-template-user .acf-form > .acf-fields > .acf-field[data-name="service_areas"] .acf-checkbox-list > li > label > span {
  font-weight: 700;
}

.page-template-user .acf-form > .acf-fields > .acf-field[data-name="service_bio"] {
  position: relative;
  width: 100%;
  padding-right: 10px;
  padding-left: 10px;
  flex: 0 0 66.6666666667%;
  max-width: 66.6666666667%;
}

.acf-repeater.-row > table > tbody > tr > td, .acf-repeater.-block > table > tbody > tr > td {
  border: transparent !important;
  border-bottom: 2px solid var(--wp--preset--color--dark) !important;
  background: var(--wp--preset--color--white) !important;
}

.acf-repeater.-row > table > tbody > tr > td.acf-row-handle.order, .acf-repeater.-block > table > tbody > tr > td.acf-row-handle.order {
  transition: all 0.4s ease-out;
}

.acf-repeater.-row > table > tbody > tr > td.acf-row-handle.order:hover, .acf-repeater.-row > table > tbody > tr > td.acf-row-handle.order:focus, .acf-repeater.-block > table > tbody > tr > td.acf-row-handle.order:hover, .acf-repeater.-block > table > tbody > tr > td.acf-row-handle.order:focus {
  background: var(--wp--preset--color--white) !important;
  transition: all 0.1s linear;
}

label[for="acf-field_5e4f1390b9e28"] {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  margin: -1px;
  padding: 0;
  width: 1px;
  height: 1px;
  border: 0;
}

[data-name="service_bio"] .acf-repeater.-row > table > tbody > tr.acf-row > td,
[data-name="service_bio"] .acf-repeater.-block > table > tbody > tr.acf-row > td {
  padding-bottom: var(--wp--preset--spacing--60) !important;
  padding-top: var(--wp--preset--spacing--60) !important;
}

[data-name="service_bio"] .acf-repeater.-row > table > tbody > tr.acf-row > td.acf-row-handle.remove [data-event="remove-row"],
[data-name="service_bio"] .acf-repeater.-block > table > tbody > tr.acf-row > td.acf-row-handle.remove [data-event="remove-row"] {
  display: none;
}

[data-name="service_areas"] > .acf-input {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: var(--headerHeight);
  max-height: calc(100vh - var(--headerHeight));
  overflow: hidden;
  overflow-y: auto;
}

/* ---------- Template-parts ---------- */
header.wp-block-template-part {
    position: sticky;
    z-index: 1000000;
    top: calc(var(--headerHeight) * -1);
    transition: top 0.35s ease;
}

.page-thought-leadership-archive .thought-leadership > a {
  color: var(--wp--preset--color--cyan) !important;
}

#related {
  background: #EFEFEF;
  width: 100vw;
  margin-left: calc((100% - 100vw)/2);
}

#related * {
  color: var(--wp--preset--color--dark);
}

.reveal-siblings {
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.form-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(12, 1fr);
}

/* Width helpers */
.full  { grid-column: span 12; }
.half  { grid-column: span 6; }
.third { grid-column: span 4; }

/* Responsive behaviour */
@media (max-width: 900px) {
  .half,
  .third {
    grid-column: span 12;
  }
}

/* Optional spacing tweak */
.form-grid.is-compact {
  gap: 16px;
}


iframe {
  border: 0;
}

.wp-block-embed {
  max-width: 100%;
  margin: 0;
}

.wp-block-embed .wp-block-embed__wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper {
  padding-top: 56.25%;
}

.wp-block-embed.wp-embed-aspect-18-9 .wp-block-embed__wrapper {
  padding-top: 50%;
}

.wp-block-embed iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

* + .wp-block-embed {
  margin-top: var(--wp--preset--spacing--40);
}

.wp-block-group.d-flex .wp-block-group__inner-container {
  display: flex;
  align-items: center;
}

figure.wp-block-image {
  display: block;
  margin: 0;
  overflow: hidden;
}

* + figure.wp-block-image {
  margin-top: 30px;
}

figure.wp-block-image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

figure.wp-block-image.is-style-rounded {
  border-radius: 100%;
  overflow: hidden;
  padding-top: 100%;
  position: relative;
  height: 0;
}

figure.wp-block-image.is-style-rounded img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

figure.wp-block-image.is-style-rounded.small {
  padding-top: 0;
  width: calc(var(--wp--preset--spacing--70) *1.5);
  height: calc(var(--wp--preset--spacing--70) *1.5);
}

figure.wp-block-image.is-style-raised {
  box-shadow: 0 50px 100px rgba(23, 16, 91, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.wp-block-media-text {
  display: flex;
  align-items: center;
}

.wp-block-media-text__media {
  width: 25%;
  height: 0;
  padding-top: 25%;
  position: relative;
  border-radius: 100%;
  overflow: hidden;
  margin: var(--wp--preset--spacing--20) var(--wp--preset--spacing--20) var(--wp--preset--spacing--20) 0;
  background: #000 !important;
}

.wp-block-media-text__media img {
  position: absolute;
  top: 0;
  left: 0;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}

.wp-block-media-text__content a {
  color: var(--wp--preset--color--dark);
}

.wp-block-getwid-image-box {
  padding: 0 30px 30px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.wp-block-getwid-image-box .wp-block-getwid-image-box__image-container.is-position-top {
  flex: unset;
  margin: auto !important;
}

.wp-block-getwid-image-box__image-wrapper img {
  width: 6.25rem;
}

.wp-block-audio {
  display: block;
  width: 100%;
  margin: 0;
}

.wp-block-audio audio {
  width: 100%;
  background: #2EBEEF;
  border-radius: 30px;
}

.wp-block-audio audio::-webkit-media-controls-panel {
  background: #2EBEEF;
}

* + .wp-block-audio {
  margin-top: var(--wp--preset--spacing--70);
}

.has-image .wp-block-getwid-video-popup__wrapper:not(.has-background) {
  background-color: #EFEFEF;
}

.wp-block-getwid-video-popup {
  border-radius: 12px;
  box-shadow: 0 25px 100px rgba(0, 0, 0, 0.33);
}

.wp-block-getwid-video-popup .wp-block-getwid-video-popup__wrapper {
  border-radius: 12px;
  overflow: hidden;
  min-height: unset !important;
  height: 0;
  padding-top: 56% !important;
}

.wp-block-getwid-video-popup .wp-block-getwid-video-popup__button {
  position: absolute !important;
  top: 50%;
  transform: translateY(-50%);
}

* + .wp-block-getwid-video-popup {
  margin-top: var(--wp--preset--spacing--40);
}

.fa-play {
  background: no-repeat center/contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50' fill='%23ffffff'%3E%3Cpath d='M 10 5.25 L 10 44.746094 L 43.570313 25 Z' fill='%23ffffff'/%3E%3C/svg%3E");
  width: 50%;
  height: 50%;
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.card {
  flex: 1;
  height: 100%;
}

.card .post-img {
  width: 100%;
  text-align: center;
  height: 0;
  padding-bottom: 100%;
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--wp--preset--color--dark);
}

.card .post-img img {
  transition: 0.4s ease-out opacity;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0.4;
}

.card .post-img h3 {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  text-align: center;
  transform: translateY(-50%);
  color: var(--wp--preset--color--white);
}

.card .card-content {
  height: 100%;
}

.card .card-content p {
  margin-bottom: auto;
}

/* ---------------------------------
SWIPER.js
---------------------------------- */
:root {
  --swiper-theme-color: var(--wp--preset--color--white) !important;
  --swiper-navigation-size: calc(var(--wp--preset--spacing--70) * 2);
}

.wp-block-group:has(> .wp-block-getwid-content-slider) {
  overflow: clip;
}

.swiper-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-pagination .swiper-pagination-bullet {
  width: 40px;
  height: 2px;
  background: #2EBEEF !important;
  opacity: 0.3;
  border-radius: 0 !important;
}

@media (max-width: 767.98px) {
  .swiper-pagination .swiper-pagination-bullet {
    width: 20px;
    height: 2px;
  }
}

.swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: #2EBEEF;
  opacity: 1;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  background: no-repeat center/contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='47.209' height='48.797' viewBox='0 0 47.209 48.797'%3E%3Cg id='Group_259' data-name='Group 259' transform='translate(-148.51 -543.784)'%3E%3Cg id='Rectangle_32' data-name='Rectangle 32' transform='translate(148.51 543.784)' fill='none' stroke='%23fff' stroke-width='1'%3E%3Crect width='47.209' height='48.797' rx='23.604' stroke='none'%3E%3C/rect%3E%3Crect x='0.5' y='0.5' width='46.209' height='47.797' rx='23.104' fill='none'%3E%3C/rect%3E%3C/g%3E%3Cpath id='icons8-right_arrow' d='M17.81,9.281l-1.13,1.155,3.44,3.44H4v1.607H20.12l-3.44,3.44,1.13,1.155,5.4-5.4Z' transform='translate(158.51 553.503)' fill='%23fff'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
  color: transparent;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
}

.swiper-button-prev:after {
  transform: scale(-1, -1);
}

.swiper-container {
  margin-left: -40px;
  margin-right: -40px;
  padding-left: 40px;
  padding-right: 40px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .swiper-container {
    margin-left: -90px;
    margin-right: -90px;
    padding-left: 90px;
    padding-right: 90px;
  }
}

.slick-dots {
  display: flex;
  align-items: center;
  justify-content: center;
}

.slick-dots li {
  width: auto;
  height: auto;
}

.slick-dots li + li {
  margin-left: var(--wp--preset--spacing--20) !important;
}

.slick-dots li:before {
  display: none !important;
}

.slick-dots li button {
  width: var(--wp--preset--spacing--60) !important;
  height: 2px !important;
  border-radius: 0% !important;
  background: var(--wp--preset--color--white) !important;
  padding: 0 !important;
  opacity: 0.3;
  text-shadow: none !important;
}

@media (max-width: 767.98px) {
  .slick-dots li button {
    width: 20px;
    height: 1px;
  }
}

.slick-dots li button:before {
  display: none !important;
}

.slick-dots li.slick-active button {
  background: var(--wp--preset--color--white);
  opacity: 1;
}

.slick-arrow {
  width: calc(var(--swiper-navigation-size)/ 44 * 27) !important;
  height: var(--swiper-navigation-size) !important;
  text-shadow: none !important;
}

.slick-arrow:before {
  height: 100%;
  width: 100%;
  color: transparent !important;
  background: no-repeat center/contain;
  background-image: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="0.5" y="0.5" width="99" height="99" rx="49.5" stroke="white" stroke-opacity="0.2"/><path d="M60.1737 43.1737L50 33L46.5973 36.4027L57.7604 47.5659L35.42 47.58L35.4169 52.3581L57.7789 52.3654L46.6016 63.5427L50 66.9411L60.1866 56.7545C63.934 53.0072 63.9378 46.9378 60.1737 43.1737Z" fill="white"/></svg>');
  position: absolute;
  top: 0;
  left: 0;
}

.slick-arrow.slick-prev {
  left: var(--wp--preset--spacing--20);
}

.slick-arrow.slick-prev:before {
  transform: scale(-1, -1);
}

.slick-arrow.slick-next {
  right: var(--wp--preset--spacing--20);
}

@media (max-width: 991.98px) {
  .slick-arrow {
    display: none !important;
  }
}

.wp-block-getwid-post-carousel.custom-post-type-food_and_drink {
  cursor: default;
}

.wp-block-getwid-post-carousel.custom-post-type-food_and_drink *:not(.wp-block-button__link) {
  cursor: default;
}

.wp-block-getwid-post-carousel.custom-post-type-food_and_drink .wp-block-getwid-template-post-featured-image {
  padding-top: 104%;
  position: relative;
}

.wp-block-getwid-post-carousel.custom-post-type-food_and_drink .wp-block-getwid-template-post-featured-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  position: absolute;
  top: 0;
}

@media (max-width: 767.98px) {
  .wp-block-getwid-post-carousel.custom-post-type-food_and_drink .wp-block-getwid-template-post-featured-image {
    padding-top: 66%;
  }
}

.wp-block-getwid-post-carousel .slick-slider {
  padding-bottom: var(--wp--preset--spacing--70) !important;
}

.wp-block-getwid-media-text-slider {
  width: 100vw;
  margin-left: calc((100vw - 100%)/2 *-1);
}

.wp-block-getwid-media-text-slider .wp-block-getwid-media-text-slider-slide__content {
  padding: var(--wp--preset--spacing--80) 0;
  width: 100%;
  max-width: 1166px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 25px;
  padding-right: 25px;
}

@media (min-width: 1366px) {
  .wp-block-getwid-media-text-slider .wp-block-getwid-media-text-slider-slide__content {
    max-width: 1266px;
  }
}

@media (max-width: 1199.98px) {
  .wp-block-getwid-media-text-slider .wp-block-getwid-media-text-slider-slide__content {
    padding-left: calc(var(--wp--preset--spacing--70) + 20px);
    padding-right: calc(var(--wp--preset--spacing--70) + 20px);
  }
}

@media (max-width: 991.98px) {
  .wp-block-getwid-media-text-slider .wp-block-getwid-media-text-slider-slide__content {
    padding-left: calc(var(--wp--preset--spacing--60) + 20px);
    padding-right: calc(var(--wp--preset--spacing--60) + 20px);
  }
}

.wp-block-getwid-media-text-slider .wp-block-getwid-media-text-slider-slide-content__media {
  width: 100vw;
  left: calc(((100vw - 100%)/2) * -1);
}

/* ---------------------------------
Wordpress block galleries
---------------------------------- */
.block-gallery-slider {
  width: 100vw;
  margin-left: calc( (50vw - 50%) * -1);
  height: var(--height);
  overflow: hidden;
}

.block-gallery-slider .list {
  display: flex;
  width: 100%;
  min-width: calc(var(--width) * var(--quantity));
  position: relative;
}

.block-gallery-slider .list .item {
  width: var(--width);
  height: var(--height);
  position: absolute;
  transform: translateX(calc(var(--width) * var(--quantity)));
  animation: autoRun var(--speed) linear infinite;
  animation-delay: calc( (var(--speed) / var(--quantity)) * (var(--position) - 1) * -1) !important;
}

.block-gallery-slider .list .item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

@keyframes autoRun {
  from {
    transform: translateX(calc(var(--width) * var(--quantity)));
  }
  to {
    transform: translateX(calc(var(--width) * -1));
  }
}

.block-carousel-marquee {
  overflow: clip;
  width: 100vw;
  margin-left: calc( (50vw - 50%) * -1);
}

.block-carousel-marquee .carousel-marquee {
  display: flex;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}

.block-carousel-marquee .carousel-marquee-item {
  white-space: nowrap;
  animation: marquee 15s linear infinite;
}

.block-carousel-marquee .carousel-marquee-item img {
  max-width: 100%;
  height: 30rem;
  width: auto;
  margin-right: 30px;
}

@media screen and (max-width: 1299px) {
  .block-carousel-marquee .carousel-marquee-item img {
    height: 20rem;
  }
}

@media screen and (max-width: 1559px) {
  .block-carousel-marquee .carousel-marquee-item img {
    height: 25rem;
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ---------------------------------
Post cards
---------------------------------- */
/*.cards .card-content * {
  max-width: 100%;
}

.cards .card-title {
  font-size: var(--wp--preset--font-size--md);
  font-weight: 700;
  margin-top: var(--wp--preset--spacing--20);
}

.cards p {
  font-size: var(--wp--preset--font-size--sm);
}

.cards * {
  color: var(--wp--preset--color--white);
}

@media (max-width: 767.98px) {
  .cards .card-item {
    display: flex;
    align-items: center;
    margin-left: -10px;
  }
  .cards .img-mask {
    height: 0;
    width: calc(25% - 10px);
    padding-bottom: calc(25% - 10px);
    background: #000;
    box-shadow: 0 30px 70px 0px rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100%;
    margin-right: 20px;
    flex-shrink: 0;
  }
  .cards .img-mask img {
    border-radius: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }
  .cards .img-mask .card-img.hover {
    opacity: 0;
    animation: fadeInOutLoop 8s ease-out infinite;
  }
}

@media (min-width: 768px) {
  .cards .card-content {
    position: relative;
    padding: var(--wp--preset--spacing--20);
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 280px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  }
  .cards .card-item {
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
    perspective: 1000;
    position: relative;
    display: block;
    min-height: 200px;
    min-height: 100%;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    backface-visibility: hidden;
  }
  .cards .img-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.8;
    overflow: hidden;
  }
  .cards .img-mask:after {
    content: "";
    display: block;
    height: 50%;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), transparent);
  }
  .cards .img-mask img {
    transition: all 0.4s ease-out !important;
  }
  .cards .img-mask .card-img:not(.hover) {
    transform-origin: 50%,50%;
  }
  .cards .img-mask .card-img.hover {
    opacity: 0;
    transform: scale(1.1);
    position: absolute;
    top: 0;
    left: 0;
  }
  .cards .card-item:hover, .cards .card-item:focus,
.cards .hover {
    color: initial;
  }
  .cards .card-item:hover .card-img:not(.hover), .cards .card-item:focus .card-img:not(.hover),
.cards .hover .card-img:not(.hover) {
    transform: scale(1.1);
    opacity: 0;
  }
  .cards .card-item:hover .card-img.hover, .cards .card-item:focus .card-img.hover,
.cards .hover .card-img.hover {
    transform: scale(1);
    opacity: 1;
  }
  .cards .card-item:hover {
    opacity: 1 !important;
  }
}

.cards .roles {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 15px;
}

.cards .role {
  font-size: var(--wp--preset--font-size--xs);
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  border-radius: 4px;
  padding: 2px 5px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  margin-top: 0;
  max-width: 100%;
}

.cards .role.serviceLead {
  color: var(--wp--preset--color--cyan);
}

.cards .role.board {
  color: var(--wp--preset--color--pink);
}

.single-services .cards .is-service-lead .role.serviceLead {
  display: block !important;
}*/

/* ---------------------------------
Default Post list
---------------------------------- */
.post-list {
  position: relative;
  height: 100%;
  width: 100%;
  background: var(--wp--preset--color--white);
  border: 1px var(--wp--preset--color--dark) solid;
}

.post-list:hover, .post-list:focus {
  border-color: #2EBEEF;
  background: #2EBEEF;
  opacity: 1;
}

.post-list .post-list--thumbnail {
  width: 100%;
  text-align: center;
  height: 0;
  padding-bottom: 50%;
  position: relative;
  margin: 0;
  overflow: hidden;
}

.post-list .post-list--thumbnail img {
  transition: 0.4s ease-out opacity;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.post-list .card-content {
  padding: var(--wp--preset--spacing--60);
}

.post-list .card-content * {
  color: var(--wp--preset--color--dark);
}

.post-list .card-content h3 {
  color: var(--wp--preset--color--dark);
  position: relative;
}

.post-list .entry-categories-inner .post-category-info {
  color: var(--wp--preset--color--dark);
}

.post-list:hover img, .post-list:focus img {
  opacity: 0.7;
}

/* ---------------------------------
Insights
---------------------------------- */
.insights-item .img-mask {
  height: 0;
  padding-top: 100%;
  background: #000;
  border-radius: 12px;
  box-shadow: 0 30px 70px 0px rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.insights-item .img-mask img {
  position: absolute;
  top: 0;
  left: 0;
}

.insights-item p {
  font-size: var(--wp--preset--font-size--xs);
  color: var(--wp--preset--color--white);
}

@media (min-width: 1200px) {
  .insights-item p {
    font-size: 14px;
  }
}

.insights-item .item-title {
  color: var(--wp--preset--color--white);
}

@media (min-width: 1200px) {
  .insights-item .item-title {
    font-size: 14px;
  }
}

.insights-item * + .item-title {
  margin-top: 6px;
}

/* ---------------------------------
THE LATEST
---------------------------------- */
.latest.archive {
  margin-inline: -1.25rem;
  padding-block: 2.875rem;
}

@media (max-width: 1199.98px) {
  .latest.landing > *:nth-child(3) {
    display: none !important;
  }
}

.latest > * {
  border-bottom: 1px solid #363083;
  margin-bottom: 1.5rem;
  height: auto !important;
  padding: 0 0 1.5rem 1.25rem;
  box-sizing: border-box;
}

.latest > *.swiper-slide:first-child {
  padding-left: 0;
}

.latest > *.swiper-slide:first-child .latest-item div:has(> :is(img, svg)) > :is(img, svg) {
  aspect-ratio: 397 / 290;
}

/*@media (max-width: 575.98px) {
  .latest:not(.swiper-wrapper) > * {
    width: 100vw;
    margin-inline: calc((50vw - 50%) * -1);
    padding-inline: var(--wp--preset--spacing--70) !important;
  }
}*/

.latest .latest-item {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
  color: var(--wp--preset--color--white);
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .latest .latest-item {
    padding-right: 1.25rem;
  }
}

.latest.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--wp--style--global--wide-size);
  border-collapse: collapse; /* helps keep lines clean */
}

:is(.wp-block-group, .wp-block-column):has(.latest.grid) {
  container-type: inline-size;
  container-name: latest-grid;  
}

@container latest-grid (min-width: 600px) and (max-width: 850px) {
  .latest.grid {
    grid-template-columns: repeat(2, 1fr);
    > :nth-of-type(even):after {
      display: none;
    }
  }
}

@container latest-grid (max-width: 599px) {
  .latest.grid {
      display: block;

      > * {
        margin-inline: 0 !important;

        a {
          padding: 0 !important;
        }
      }

      > *::after,
      > *::before {
        display: none;
      }
  }
}


/* Inner grid item styling */
.latest.grid > * {
  position: relative;
  padding-inline: 1.25rem; /* space inside */
  border: 0;
  padding: 0;
  margin-block: 1.5rem;
  & .latest-item {
    border: 0 !important;
  }
  &:before {
    content: "";
    position: absolute;
    bottom: -1.5em;
    left: 0;
    width: calc(100% + 1.25em);
    height: 1px;
    background: currentColor;
    opacity: 0.2; 
  }
  &:last-child::before {
    width: 100%;
  }
}

/* Add vertical divider *between* cards only */
.latest.grid > *:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px; /* divider thickness */
  height: 100%;
  background: currentColor;
  opacity: 0.2; /* subtle line */
  transform: translateX(50%); /* centers the line in the gutter */
}

/* Control spacing between cards (virtual gap) */
.latest.grid > *:not(:last-child) {
  margin-right: 1.25rem;
}

/* Remove outer edge spacing (flush to container) */
.latest.grid > *:first-child {
  margin-left: 0;
}
.latest.grid > *:last-child {
  margin-right: 0;
}

.latest .latest-item .content {
  gap: 0.7058823529rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.latest .latest-item .content > * {
  margin: 0 !important;
}

.latest .latest-item .content h3 {
  transition: color 0.4s ease-out;
}

@media (max-width: 991.98px) {
  .latest .latest-item .content h3 {
    font-size: 14px;
  }
}

.latest .latest-item .content .excerpt {
  font-size: 0.9411764706rem !important;
}

.latest .latest-item .content svg {
  width: 30px;
  height: 30px;
}

.latest .latest-item :is(div,figure):has(> :is(img, svg)) {
  position: relative;
  max-width: 100%;
}

.latest .latest-item :is(div,figure):has(> :is(img, svg)):after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  content: "";
  background: radial-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2));
  mix-blend-mode: multiply;
  pointer-events: none;
  border-radius: 12px;
}

.latest .latest-item :is(div,figure):has(> :is(img, svg)) > :is(img, svg) {
  max-width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  margin: 0;
  border-radius: 12px;
  aspect-ratio: 376.667/290;
  height: auto;
  transition: opacity 0.4s ease-out;
}

.latest .latest-item p:empty {
  display: none !important;
}

.latest .latest-item:hover, .latest .latest-item:focus {
  opacity: 1 !important;
}

.latest .latest-item:hover h3, .latest .latest-item:focus h3 {
  color: #2EBEEF;
  transition: color 0.1s ease-out;
}

.latest .latest-item:hover img, .latest .latest-item:focus img {
  opacity: 0.7;
  transition: opacity 0.1s ease-out;
}

@media (min-width: 576px) and (max-width: 1199.98px) {
  body:not(.page-thought-leadership-archive) .latest:not(.swiper-wrapper) > *:not(:nth-child(even)) > * {
    border-right: 1px solid #363083;
  }
}

@media (min-width: 1200px) {
  body:not(.page-thought-leadership-archive) .latest:not(.swiper-wrapper) > *:not(:nth-child(3n)) > * {
    border-right: 1px solid #363083;
  }
}

@media (min-width: 576px) {
  .page-thought-leadership-archive .latest:not(.swiper-wrapper) > *:not(:nth-child(even)) > * {
    border-right: 1px solid #363083;
  }
}

.swiper-container.thought-leadership {
  position: relative;
  padding-inline: 0 !important;
  margin-inline: 0 !important;
  padding-bottom: var(--wp--preset--spacing-30) !important;
  max-width: 100%;
}

.swiper-container.thought-leadership:after {
  height: 100%;
  width: 1px;
  display: block;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  background: var(--wp--preset--color--dark);
  z-index: 1;
}

.swiper-wrapper.latest .swiper-slide:not(:last-child) > * {
  border-right: 1px solid #363083;
  padding-right: 1.25rem;
  box-sizing: border-box;
}
/*.swiper-wrapper.latest .swiper-slide:not(:first-child) > * {
  padding-left: 1.25rem;
}*/

/* ------------------
MODALS
------------------- */
.modal-wrapper {
  z-index: 99999999999;
  overflow: hidden;
  opacity: 0;
  transform: scale(0) translate(-50%, -50%);
  position: fixed;
  top: 50%;
  left: 50%;
  width: 90%;
  height: 90%;
  box-shadow: 0 0 100px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  background: var(--wp--preset--color--white);
  transition: 0.2s linear opacity 0s, 0.2s linear transform 0s;
  max-width: 1500px;
}

.modal-wrapper * {
  visibility: initial !important;
}

.modal-wrapper .img-mask {
  background: #000;
  max-height: 50vh;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

@media (min-width: 992px) {
  .modal-wrapper .img-mask {
    background: black;
    max-height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
  }
}

.modal-wrapper .img-mask .card-img.hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  animation: fadeInOutLoop 8s ease-out infinite;
}

.modal-wrapper .profile {
  width: 100%;
  background: var(--wp--preset--color--white);
  padding: var(--wp--preset--spacing--60);
  position: relative;
  box-shadow: 0 0 100px #000;
}

@media (min-width: 992px) {
  .modal-wrapper .profile {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
  }
}

.modalContainer {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-y: clip;
  box-sizing: border-box;
/*  display: grid;
  place-content: center;
  place-items: center;*/
  & * {
    box-sizing: border-box;
  }
}

.modalContainer iframe {
  height: 100% !important;
}

.close-modal {
  position: absolute;
  top: var(--wp--preset--spacing--30);
  right: var(--wp--preset--spacing--30);
  width: 50px;
  height: 50px;
  cursor: pointer;
  border: 1px solid color-mix(in srgb, var(--wp--preset--color--dark) 20%, transparent) !important;
  border-radius: 100px;
  padding: 0;
  background: no-repeat center/15px url('data:image/svg+xml,<svg width="13" height="17" viewBox="0 0 13 17" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.990234 12.1984L10.177 3L11.8804 4.69036L2.67845 13.8887L0.990234 12.1984Z" fill="%23E5004E"/><path d="M2.79187 3L11.9902 12.1868L10.2999 13.8902L1.10151 4.68821L2.79187 3Z" fill="%23E5004E"/></svg>');
}

:is(#modal-content, #modal-form) {
  opacity: 0;
  width: 100%;
  height: 100%;
  transition: 0.2s linear opacity;
}

.modal-iframe {
  width: 100%;
  min-height: 100%;
  border: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

#modal-content.loaded .modal-iframe {
  opacity: 1;
}

:is(#modal-content, #modal-form).loaded {
  transition: 0.3s linear opacity 0.2s;
  opacity: 1;
}


.modal-link.hover .card-content {
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.465, 0.183, 0.153, 0.946);
}

.modal-pagination {
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc(50% - var(--wp--preset--spacing--60));
  display: none;
  align-items: center;
  justify-content: flex-end;
  opacity: 0;
  overflow: hidden;
  transition: 0.2s ease-in opacity;
}

.modal-pagination a {
  opacity: 0;
  transform: translateY(100%);
  transition: 0.2s ease-in;
  transition-property: opacity, transform;
  border-radius: 100%;
  width: 50px;
  height: 50px;
  margin: var(--wp--preset--spacing--60) calc(var(--wp--preset--spacing--20)/2);
  background: #ED145A;
  font-size: 0px;
  line-height: 0;
  color: transparent;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  display: block;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.modal-pagination a:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 26px;
  height: var(--wp--preset--spacing--20);
  width: var(--wp--preset--spacing--20);
  border-style: solid;
  border-width: 0 1px 1px 0;
  border-color: var(--wp--preset--color--white);
  transform: translate(calc(50% - 2px), -50%) rotate(-45deg);
}

.modal-pagination #prev-post:after {
  transform: translate(calc(50% + 2px), -50%) rotate(135deg);
}

.modal-wrapper.people .modal-pagination {
  display: flex;
}

.modal-bg {
  background: #000;
  opacity: 0;
  transform: scale(0);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.modalOpen {
  width: 100vw;
  overflow: hidden;
}

.modalOpen .modal-wrapper.show {
  transform: scale(1) translate(-50%, -50%) !important;
  opacity: 1;
  transition: 0.2s ease-out;
  transition-property: opacity, transform;
}

.modalOpen .modal-wrapper.show .modal-pagination {
  opacity: 1;
  transition: 0.2s ease-out 0.2s opacity;
}

.modalOpen .modal-wrapper.show .modal-pagination a {
  opacity: 1;
  transform: none;
  transition: 0.2s ease-out 0.2s;
  transition-property: opacity, transform;
}

.modalOpen .modal-wrapper.show .modal-pagination a.noPost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: none;
  cursor: default;
}

.modalOpen .modal-bg {
  transform: none;
  opacity: 0.5;
}

.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper {
  border: 0 !important;
  padding-block: var(--wp--preset--spacing--60) !important;
  padding-right: 3em;
  outline: 0;
  transition: .25s ease-in-out;
  position: relative;
  cursor: pointer;
  /*padding-right: calc(var(--wp--preset--spacing--60) * 2);*/
}

.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper:hover, .wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper:focus {
  opacity: 0.8;
}

.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper:hover *, .wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper:focus * {
  opacity: 1;
}

.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  right: 0;
  height: 2em;
  width: 2em;
  background: var(--wp--preset--color--dark);
  opacity: 1;
  transition: .25s ease-in-out;
  margin: auto;
  border: 1px solid color-mix(in srgb, currentColor 20%, transparent) !important;
  border-radius: 100px;  
  cursor: pointer;
  /*background: white no-repeat center/50% url('data:image/svg+xml,<svg width="17" height="13" viewBox="0 0 17 13" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M5.10048 8.62752L0 3.65659L1.69976 2L8.5 8.62752L15.3002 2L17 3.65659L11.8995 8.62752C10.0218 10.4575 6.97695 10.4575 5.09928 8.62752H5.10048Z" fill="%23E5004E"/></svg>');*/
  background: white no-repeat center/40% url('data:image/svg+xml,<svg width="13" height="17" viewBox="0 0 13 17" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.990234 12.1984L10.177 3L11.8804 4.69036L2.67845 13.8887L0.990234 12.1984Z" fill="%23E5004E"/><path d="M2.79187 3L11.9902 12.1868L10.2999 13.8902L1.10151 4.68821L2.79187 3Z" fill="%23E5004E"/></svg>');
  rotate: -45deg;
}

.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper .wp-block-getwid-accordion__header {
  padding: 0;
  color: currentColor;
}

.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper .wp-block-getwid-accordion__header .wp-block-getwid-accordion__header-title {
  color: currentColor;
}

.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper[aria-expanded="true"]:after {
  rotate: 0deg;
}

.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper .wp-block-getwid-accordion__icon {
  display: none !important;
}

.wp-block-getwid-accordion .wp-block-getwid-accordion__content-wrapper {
  border: 0 !important;
  &:not(:last-child) {
    border-bottom: 1px currentColor solid !important;
    margin-top: -1px;
  }
}

.wp-block-getwid-accordion .wp-block-getwid-accordion__content-wrapper .wp-block-getwid-accordion__content {
  padding: 0 0 var(--wp--preset--spacing--60);
  border: 0 !important;
}

.wp-block-getwid-accordion .wp-block-getwid-accordion__content-wrapper .wp-block-getwid-accordion__content > h3:first-child:before {
  display: none !important;
}


/* ---------------------------------
SEARCH
---------------------------------- */
.page-search #search {
  max-width: 600px;
}

.page-search .post-list {
  max-width: 600px;
  margin: auto;
  border: 1px var(--wp--preset--color--dark) solid;
  border-color: #221886;
  border-radius: 12px;
  height: auto;
  background: var(--wp--preset--color--dark);
  background: linear-gradient(45deg, rgba(23, 16, 91, 0.5), #221886);
}

.page-search .post-list h3 {
  color: #2EBEEF;
}

.page-search .post-list .excerpt {
  color: var(--wp--preset--color--white);
}

.page-search .post-list .pill {
  font-size: 12px;
  background: var(--wp--preset--color--dark) !important;
  color: var(--wp--preset--color--white) !important;
  border-color: var(--wp--preset--color--dark) !important;
}

.page-search .post-list:hover, .page-search .post-list:focus {
  box-shadow: 0 0px 0px 1px var(--wp--preset--color--cyan);
}

.page-search .post-list:hover .pill, .page-search .post-list:focus .pill {
  background: #8E2A8F !important;
  color: var(--wp--preset--color--white) !important;
  border-color: #8E2A8F !important;
}

.page-search .post-list + .post-list {
  margin-top: var(--wp--preset--spacing--40);
}

/* ---------------------------------
Panels: click for sub menu
---------------------------------- */
.panels {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: var(--wp--preset--color--dark);
  color: white;
  position: relative;
  overflow: hidden;
  padding: var(--wp--preset--spacing--20) !important;
  transition: min-height 0.6s ease-in-out;
}

.panels ul:has(span) {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.panels > li {
  display: block;
  padding: var(--wp--preset--spacing--40) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 !important;
}

.panels > li:last-child {
  border-bottom: 0 !important;
}

.panels > li > span:has(+ .sub-menu) {
  cursor: pointer;
  padding-right: 25px;
  position: relative;
  display: block;
}

.panels > li > span:has(+ .sub-menu):after {
  position: absolute;
  width: 15px;
  height: 15px;
  translate: 0 -50%;
  top: 50%;
  right: 0;
  background: no-repeat right center/100%;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="37.5pt" height="37.5pt" viewBox="0 0 37.5 37.5" version="1.1"><g id="surface2543"><path style="fill:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(18.431373%,74.901962%,93.725491%);stroke-opacity:1;stroke-miterlimit:10;" d="M 15.002111 4.998944 L 34.997889 25 L 15.002111 45.001056 " transform="matrix(0.74,0,0,0.74,0,0)"/></g></svg>');
  content: "";
  display: block;
}

.panels .sub-menu {
  padding: 20px !important;
  width: 100%;
  min-height: -webkit-fit-content;
  min-height: -moz-fit-content;
  min-height: fit-content;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  background: var(--wp--preset--color--dark);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
}

.panels .sub-menu .back-button {
  text-align: left;
  padding: var(--wp--preset--spacing--20);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--wp--preset--color--cyan);
  border-radius: 0 !important;
  padding-left: 30px;
  position: relative;
  width: 100%;
  display: block;
}

.panels .sub-menu .back-button:before {
  position: absolute;
  width: 20px;
  height: 20px;
  translate: 0 -50%;
  top: 50%;
  left: 0;
  background: no-repeat left center/100%;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="37.5pt" height="37.5pt" viewBox="0 0 37.5 37.5" version="1.1"><g id="surface2527"><path style="fill:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(18.431373%,74.901962%,93.725491%);stroke-opacity:1;stroke-miterlimit:10;" d="M 34.997889 4.998944 L 15.002111 25 L 34.997889 45.001056 " transform="matrix(0.74,0,0,0.74,0,0)"/></g></svg>');
  content: "";
  display: block;
}

.panels .show {
  display: block;
  translate: 0%;
  opacity: 1;
  transition: 0.3s ease-in-out;
  transition-property: translate, display, opacity;
}

.panels .hidden {
  display: none;
  translate: 100%;
  opacity: 0;
  transition: 0.3s ease-in-out;
  transition-property: translate, display, opacity;
  transition-behavior: allow-discrete;
}

@starting-style {
  .panels .show {
    translate: 100%;
    opacity: 0;
  }
}

.panels button + ul:not([class]) > li {
  display: block;
  padding: var(--wp--preset--spacing--40) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 !important;
}

.panels button + ul:not([class]) > li:last-child {
  border-bottom: 0 !important;
}

.panels ul:has(.sub-menu) > li {
  display: block;
  padding: var(--wp--preset--spacing--40) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0 !important;
}

.panels ul:has(.sub-menu) > li:last-child {
  border-bottom: 0 !important;
}

.panels ul:has(.sub-menu) > li > span:has(+ .sub-menu) {
  cursor: pointer;
  padding-right: 25px;
  position: relative;
  display: block;
}

.panels ul:has(.sub-menu) > li > span:has(+ .sub-menu):after {
  position: absolute;
  width: 15px;
  height: 15px;
  translate: 0 -50%;
  top: 50%;
  right: 0;
  background: no-repeat right center/100%;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="37.5pt" height="37.5pt" viewBox="0 0 37.5 37.5" version="1.1"><g id="surface2543"><path style="fill:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(18.431373%,74.901962%,93.725491%);stroke-opacity:1;stroke-miterlimit:10;" d="M 15.002111 4.998944 L 34.997889 25 L 15.002111 45.001056 " transform="matrix(0.74,0,0,0.74,0,0)"/></g></svg>');
  content: "";
  display: block;
}

.swiper.featured-posts {
/*  margin-top: 1.625rem;
  padding-bottom: 1.625rem;*/
  width: 100vw;
  margin-left: calc((50vw - 50%)* -1);
  position: relative;
  & .swiper-slide {
    background: var(--wp--preset--color--dark);
  }
}

.swiper.featured-posts {
  position: relative;
  overflow: hidden;
}

.swiper.featured-posts .swiper-slide {
  opacity: 0 !important;
  transition: opacity 0.8s ease;
}

.swiper.featured-posts .swiper-slide-active {
  opacity: 1 !important;
  z-index: 2;
}

@media (max-width: 991.98px) {
  .swiper.featured-posts {
    gap: 30px;
    display: flex;
    flex-direction: column;
    /*background: linear-gradient(90deg, rgba(23, 16, 91, 0), #26478a);*/
    /*padding-top: var(--wp--preset--spacing--70);*/
    margin-top: 0;
  }
}

/*.swiper.featured-posts:after {
  display: block;
  content: "";
  position: absolute;
  bottom: 0;
  left: calc((50vw - 50%) * -1);
  height: 1px;
  width: 100vw;
  background: #363083;
}
*/
.swiper.featured-posts .pagination-container {
  padding-inline: calc(var(--wp--preset--spacing--70) + 20px) 1.625rem;
  translate: 0 -2.375rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 991.98px) {
  .swiper.featured-posts .pagination-container {
    padding-inline: var(--wp--preset--spacing--70);
    translate: 0;
  }
}

.swiper.featured-posts .pagination-wrapper {
  width: 100%;
  max-width: 1296px;
  margin-inline: auto;
}

.swiper.featured-posts .pagination-wrapper .swiper-pagination {
  max-width: 344px;
  position: static;
  justify-content: flex-start;
}

.swiper.featured-posts .pagination-wrapper .swiper-pagination-bullet {
  position: relative;
}

.swiper.featured-posts .pagination-wrapper .swiper-pagination-bullet:after, .swiper.featured-posts .pagination-wrapper .swiper-pagination-bullet:before {
  position: absolute;
  left: 0;
  height: 20px;
  width: 100%;
  display: block;
  content: "";
}

.swiper.featured-posts .pagination-wrapper .swiper-pagination-bullet:before {
  top: 0;
}

.swiper.featured-posts .pagination-wrapper .swiper-pagination-bullet:after {
  bottom: 0;
}

.swiper.featured-posts .swiper-slide {
  height: auto;
  padding-inline: calc(var(--wp--preset--spacing--60) + 10px);
}

@media (min-width: 992px) and (max-width: 1365.98px) {
  .swiper.featured-posts .swiper-slide {
    padding-inline: calc(var(--wp--preset--spacing--60) + 20px) 1.625rem;
  }
}

@media (min-width: 1366px) {
  .swiper.featured-posts .swiper-slide {
    padding-inline: calc(var(--wp--preset--spacing--60) + 10px) 1.625rem;
  }
}

.swiper.featured-posts .swiper-slide .content-wrapper {
  opacity: 1 !important;
  width: 100%;
  max-width: 1336px;
  margin-left: auto;
  display: flex;
  flex-wrap: nowrap;
  gap: 66px;
}

@media (max-width: 991.98px) {
  .swiper.featured-posts .swiper-slide .content-wrapper {
    gap: 20px;
    flex-wrap: wrap;
  }
}

@media (min-width: 1500px) {
  .swiper.featured-posts .swiper-slide .content-wrapper {
    margin-right: calc((100vw - 1336px) / 2);
    margin-left: calc((100vw - 1416px) / 2);
  }
}

.swiper.featured-posts .swiper-slide .content-wrapper .content {
  display: flex;
  flex-direction: column;
  gap: 26px;
  flex-grow: 0;
  flex-shrink: 0;
  max-width: 100%;
  order: 2;
}

@media (min-width: 992px) {
  .swiper.featured-posts .swiper-slide .content-wrapper .content {
    padding-block: 2.375rem 3.25rem;
    max-width: 344px;
    order: 1;
  }
}

.swiper.featured-posts .swiper-slide .content-wrapper .content > * {
  color: white !important;
  margin-block: 0;
}

.swiper.featured-posts .swiper-slide .content-wrapper .content h3 {
  font-size: 1.1764705882rem;
}

@media (min-width: 1200px) {
  .swiper.featured-posts .swiper-slide .content-wrapper .content h3 {
    font-size: 1.7647058824rem;
  }
}

.swiper.featured-posts .swiper-slide .content-wrapper .content .excerpt {
  font-size: 0.9411764706rem !important;
  font-weight: normal;
}

@media (max-width: 991.98px) {
  .swiper.featured-posts .swiper-slide .content-wrapper .content .excerpt {
    display: none !important;
  }
}

.swiper.featured-posts .swiper-slide .content-wrapper .image {
  width: 925px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 925/650;
  background: black;
  border-radius: 12px;
  order: 1;
}

@media (min-width: 992px) {
  .swiper.featured-posts .swiper-slide .content-wrapper .image {
    order: 2;
  }
}

.swiper.featured-posts .swiper-slide .content-wrapper .image :is(img,svg) {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 12px;
  display: block;
  opacity: 0.9;
}

.terms {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.terms > * {
  color: white;
  padding: 8.5px 12px 7.5px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  max-width: fit-content;
  line-height: 1.2;
  font-size: 12px;
  cursor: pointer;
  font-weight: 700;
  margin: 0;
  font-family: var(--wp--preset--font-family--aptos-mono);
  text-transform: uppercase;
}

.terms > *:has(:checked) {
  background-color: #2EBEEF;
  color: var(--wp--preset--color--dark);
}

.filters {
  padding-block: 2.875rem;
  display: flex;
}

@media (max-width: 1119px) {
  .filters {
    display: block;
  }
}

h3:has(+ .archive-filters) {
  padding-inline: calc(1.25rem - 10px) !important;
  display: none;
}

@media (max-width: 1119px) {
  h3:has(+ .archive-filters) {
    display: block;
    padding-inline: 0 !important;
  }
}

h3 + .archive-filters {
  margin-top: 10px;
}

.archive-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (min-width: 1119px) {
  .archive-filters {
    padding-inline: calc(1.25rem - 10px) !important;
  }
}

.archive-filters + h3 {
  margin-top: 2.875rem;
}

.archive-filters > * {
  margin: 0 !important;
}

.archive-filters a {
  font-size: 12px;
  color: white !important;
  font-weight: 700;
  padding: 8.5px 12px 7.5px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  max-width: -webkit-fit-content;
  max-width: -moz-fit-content;
  max-width: fit-content;
  line-height: 1;
}

.tab-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

* + .tab-links {
  margin-top: 2.5rem;
}

.tab-links > * {
  position: relative;
  display: block;
  background-color: var(--wp--preset--color--dark);
  color: var(--wp--preset--color--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 700;
  font-size: var(--wp--preset--font-size--xs);
  line-height: 1.2;
  padding: 8px 12px;
  border-radius: 100px !important;
  cursor: pointer;
}

.tab-links > *:has(:checked) {
  background-color: #2EBEEF;
  color: var(--wp--preset--color--dark);
}

.tab-items {
  display: grid;
}

.tab-items .tab-item {
  grid-area: 1 / 1;
}

@media (max-width: 767.98px) {
  .tab-items .tab-item {
    max-width: 100vw;
    maegin-left: calc(((100vw - 100%) / 2) * -1);
    overflow-x: clip;
  }
}

.tab-items .wp-block-button__link {
  background-color: #2EBEEF;
  color: var(--wp--preset--color--dark);
  border-color: #2EBEEF;
  margin-top: 1.625rem;
}

.tab-item {
  display: none;
}

.latest-tabs:has([value="consulting"]:checked) [data-tab="consulting"] {
  display: block !important;
}

.latest-tabs:has([value="legal"]:checked) [data-tab="legal"] {
  display: block !important;
}

.latest-tabs:has([value="commercial"]:checked) [data-tab="commercial"] {
  display: block !important;
}

.latest-tabs .region > h2 {
  font-size: 40px !important;
}

@media (max-width: 767.98px) {
  .latest-tabs .region > h2 {
    font-size: 28px !important;
  }
}

.pulse-covers-grid {
  display: flex;
  /*grid-template-columns: repeat(3, 1fr);*/
  gap: var(--wp--preset--spacing--40);
  max-width: var(--wp--style--global--wide-size);
  justify-content: center;
  flex-wrap: wrap;
  & .pulse-cover-item {
    display: block;
    width: clamp(150px, 100%, 350px);
    & img {
      display: block;
      margin: 0;
      max-width: 100%;
      aspect-ratio: 394/511;
    }
  }
}
:has(> .type-me) {
  min-height: calc(var(--wp--preset--font-size--lg)* 1.25* 4);
  font-size: var(--wp--preset--font-size--lg) !important;
  margin: 0 !important;
  line-height: 1.25;
}

.typed-cursor {
  font-size: var(--wp--preset--font-size--large) !important;
}

.block-staff-quote-slider {
  width: 100vw;
  /*margin-left: calc((50vw - 50%) * -1) !important;*/
  max-width: 1512px;
  margin-inline: auto !important;
}

/*@media screen and (min-width: 1512px) {
  .block-staff-quote-slider {
    margin-left: -156px !important;
  }
}
*/
@media (max-width: 767.98px) {
  .block-staff-quote-slider {
    width: 100%;
  }
  .block-staff-quote-slider .swiper-wrapper:has(.swiper.hobby) {
    background: #120c45;
  }
  .block-staff-quote-slider .swiper-slide {
    background: #120c45;
  }
}

.block-staff-quote-slider .swiper.cover {
  width: 100%;
  /*border-radius: 12px;*/
}

.block-staff-quote-slider .swiper.cover .swiper-pagination {
  z-index: 10;
}

.block-staff-quote-slider .swiper.thumbs {
  margin-bottom: -45px;
  position: relative;
  z-index: 3;
  margin-inline: auto;
  padding-inline: calc(20px + var(--wp--preset--spacing--70));
}

@media (max-width: 767.98px) {
  .block-staff-quote-slider .swiper.thumbs {
    padding-inline: var(--wp--preset--spacing--60);
    margin-bottom: -30px;
  }
}

.block-staff-quote-slider .swiper.thumbs .swiper-wrapper {
  max-width: 1246px;
  margin-inline: auto;
}

.block-staff-quote-slider .swiper.thumbs .swiper-slide {
  border-radius: 100px;
  height: 90px;
  width: 90px;
  overflow: hidden;
  border: 4px solid currentColor;
  cursor: pointer;
  background: currentColor;
  box-sizing: border-box;
}

@media (max-width: 767.98px) {
  .block-staff-quote-slider .swiper.thumbs .swiper-slide {
    height: 60px;
    width: 60px;
  }
}

.block-staff-quote-slider .swiper.thumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 100px;
  transition: 0.3s ease-in-out;
  border: 4px solid currentColor;
  box-sizing: border-box;
}

@media (max-width: 991.98px) {
  .block-staff-quote-slider .swiper.thumbs .swiper-slide img {
    border-width: 2px;
  }
}

.block-staff-quote-slider .swiper.thumbs .swiper-slide-thumb-active {
  position: relative;
  /*background: linear-gradient(to bottom, #9747FF, #ED1459);*/
  background: var(--wp--preset--color--cyan);
}

.block-staff-quote-slider .swiper.thumbs .swiper-slide-thumb-active img {
  scale: 0.95;
}

.block-staff-quote-slider .swiper.hobby {
  width: 100%;
  background: black;
}

.block-staff-quote-slider .swiper.hobby .swiper-slide {
  height: clamp(350px, 85vh, 780px);
  padding-inline: calc(20px + var(--wp--preset--spacing--70));

    opacity: 0 !important;
    transition: opacity 0.8s ease;

  &.swiper-slide-active {
    opacity: 1 !important;
    z-index: 2;
  }  
}

@media (max-width: 767.98px) {
  .block-staff-quote-slider .swiper.hobby .swiper-slide {
    padding-inline: var(--wp--preset--spacing--60);
    height: auto;
  }
}

.block-staff-quote-slider .swiper.hobby .swiper-slide img {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: -1;
}

.block-staff-quote-slider .swiper-slide {
  & h3 {
    margin-block: 0 !important;
  }
  & .quote {
    margin-top: auto !important;
    @media (max-width: 767.98px) {
      & {
        margin-top: var(--wp--preset--spacing-20) !important;
      }
    }
  }

}

@media (max-width: 767.98px) {
  .block-staff-quote-slider .swiper.hobby .swiper-slide img {
    position: static;
    height: auto;
    aspect-ratio: 1/1;
    translate: 0;
    width: calc( 100% + (var(--wp--preset--spacing--60) * 2));
    margin-left: calc( var(--wp--preset--spacing--60) * -1);
  }
}

.block-staff-quote-slider .swiper.hobby .swiper-slide .content-wrapper {
  max-width: 1246px;
  margin-inline: auto;
  min-height: 100%;
  padding-block: 121px 90px;
  display: flex;
  box-sizing: border-box;
}

@media (max-width: 767.98px) {
  .block-staff-quote-slider .swiper.hobby .swiper-slide .content-wrapper {
    padding-block: var(--wp--preset--spacing--60);
    min-height: unset;
  }
  .block-staff-quote-slider .swiper.hobby .swiper-slide .content-wrapper h3 {
    font-size: 20px !important;
  }
}

.block-staff-quote-slider .swiper.hobby .swiper-slide .content {
  display: flex;
  flex-direction: column;
  max-width: 595px;
  position: relative;
  z-index: 1;
  color: white;
}

.block-staff-quote-slider .swiper.hobby .swiper-slide .content h3 {
  max-width: 595px;
}

.block-staff-quote-slider .swiper.hobby .swiper-slide .content p {
  max-width: 276px;
}

.block-staff-quote-slider .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.block-staff-quote-slider .autoplay-progress {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--swiper-theme-color);
}

.block-staff-quote-slider .autoplay-progress svg {
  --progress: 0;
  position: absolute;
  left: 0;
  top: 0px;
  z-index: 10;
  width: 100%;
  height: 100%;
  stroke-width: 4px;
  stroke: var(--swiper-theme-color);
  fill: none;
  stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
  stroke-dasharray: 125.6;
  transform: rotate(-90deg);
}

.together-cta {
  height: clamp(33.33vh, 751px, 100vh);
  margin-top: 115px !important;
  background-size: cover !important;
  width: 100vw;
  margin-left: calc((50vw - 50%)* -1);
  padding-inline: var(--wp--preset--spacing--60);
  box-sizing: border-box;
}

@media screen and (min-width: 1244px) {
  .together-cta {
    background-size: contain !important;
  }
}

@media (max-width: 1365.98px) {
  :is(.page-careers-and-culture, .page-opportunities) .page-title {
    font-size: 40px;
  }
}

:is(.page-careers-and-culture, .page-opportunities) .region-banner {
  padding-top: var(--wp--preset--spacing--80);
  height: unset;
  margin-block: 0;
}

:is(.page-careers-and-culture, .page-opportunities) .region-banner + * {
  margin-block: 100px 115px;
}

@media (max-width: 991.98px) {
  :is(.page-careers-and-culture, .page-opportunities) .region-banner + * {
    margin-block: var(--wp--preset--spacing--70);
  }
}

:is(.page-careers-and-culture, .page-opportunities) .region-banner .feature-image {
  width: 100%;
  height: auto;
  max-width: unset;
  position: relative;
  right: unset;
  left: unset;
  margin-inline: auto;
  margin: 0;
}

@media (max-width: 767.98px) {
  :is(.page-careers-and-culture, .page-opportunities) .region-banner .feature-image {
    margin-top: var(--wp--preset--spacing--80);
  }
}

@media (max-width: 991.98px) {
  .page-careers-and-culture .wp-block-spacer[style="height:9.38rem"] {
    height: var(--wp--preset--spacing--80) !important;
  }
}

@media (max-width: 767.98px) {
  .page-careers-and-culture .wp-block-getwid-tabs :is(.wp-block-getwid-tabs__nav-links, .wp-block-column) {
    padding: var(--wp--preset--spacing--60) !important;
  }
}

.page-opportunities .accordionTitle {
  border-color: #2EBEEF;
}

.page-opportunities .toggleIcon:before, .page-opportunities .toggleIcon:after {
  background: #2EBEEF;
}

.schedule .wp-block-columns .wp-block-column:not(:only-child) {
  max-width: 100%;
}

.page-proximity-day-out-thank-you .region-banner {
  display: none !important;
}

.page-proximity-day-out-thank-you .wp_content {
  padding-bottom: 0 !important;
}

[style*="border-top"] {
  border-top-style: solid;
}

[style*="border-bottom"] {
  border-bottom-style: solid;
}

.single-events .region-banner {
  padding-block: var(--wp--preset--spacing--70);
  padding-inline: var(--wp--preset--spacing--40);
}

@media (max-width: 991.98px) {
  .single-events .region-banner .img-mask {
    position: absolute;
  }
}

.scale-200 {
  width: clamp(100px, 50%, 300px);
}


.page-avalon {
  margin-top: 0 !important;
/*  & #wpadminbar {
    display: none !important;
  }*/
  --headerHeight: 0px;
  --page-nav: 50px;
  & header.region,
  & .region-banner,
  & main + *,
  & footer {
    display: none !important;
  }  

  & .video-banner {
    align-items: normal;
    justify-content: center;
    .wp-block-button__link {
      min-width: unset !important;
    }
  }
  & .page-nav {
    position: sticky;
    z-index: 9999;
    &:before {
      content: "";
      display: block;
      z-index: -1;
      background: var(--wp--preset--color--dark);
      width: 100vw;
      height: 100%;
      position: absolute;
      top: 0;
      left: calc(-1 * (100vw - 100%) / 2);
    }
  }
  & .logo svg {
    display: block;
    width: 126px;
    height: 30px;
  }
  & #learn-more .content-narrow {
    max-width: 600px;
    margin-inline: auto;
  }

  & .approach {
    max-width: 500px;
  }
  & .qualified {
    max-width: 500px;
  }
  & .multidisciplinary:before {
    background: no-repeat center/cover url(/wp-content/themes/proximity/assets/images/avalon-bg-1.jpg);
  }  

  & .wp-block-cover .wp-block-cover__video-background {
    opacity: 1 !important;
  }

  & figure video {
    max-width: 100%;
  }

  & .services .wp-block-getwid-accordion__header-title {
    padding-left: 0 !important;
    font-weight: 700;
    font-size: var(--wp--preset--font-size--large);
    & img {
      margin-right: 24px;
      vertical-align: middle;
    }
  }
  & .projects .wp-block-getwid-accordion__header-title {
    color: var(--wp--preset--color--cyan) !important;
    transition: 0.3s ease-out;
  }
  & .projects .ui-accordion-header-active .wp-block-getwid-accordion__header-title {
    color: white !important;
  }
  &  .projects.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper {
    padding-right: 64px !important;
    &:not(.ui-accordion-header-active):before, &:not(.ui-accordion-header-active):after {
      background: var(--wp--preset--color--cyan) !important;
    }
  }

  &.page-avalon {
    & .phone, & .email {
      & .wp-block-button__link {
        overflow: clip;
        border-radius: 100%;
        color: transparent;
        text-indent: -99999px;
        font-size: 0px !important;
        line-height: 0px !important;
        width: 52px !important;
        height: 52px !important;
        min-width: unset !important;
        border: 1px solid white !important;
        padding: 0 !important;
      }
    }
    & .phone .wp-block-button__link {
      background: no-repeat center/50% url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="%23ffffff"><path d="M 3.371094 1.042969 L 1.796875 2.617188 C 0.933594 3.480469 0.746094 4.824219 1.363281 5.878906 C 2.050781 7.058594 2.613281 7.929688 4.96875 10.28125 C 7.320313 12.636719 7.960938 12.957031 9.121094 13.636719 C 10.179688 14.253906 11.519531 14.066406 12.378906 13.203125 L 13.957031 11.628906 L 10.910156 8.585938 L 9.671875 9.824219 C 9.523438 9.757813 9.300781 9.640625 9.042969 9.476563 C 8.511719 9.136719 7.832031 8.617188 7.234375 8.015625 C 6.632813 7.417969 6.046875 6.671875 5.640625 6.070313 C 5.441406 5.773438 5.28125 5.503906 5.195313 5.328125 C 5.191406 5.320313 5.191406 5.320313 5.1875 5.3125 L 6.414063 4.085938 Z M 3.371094 2.457031 L 5 4.085938 L 4.285156 4.804688 C 4.136719 4.953125 4.121094 5.117188 4.125 5.210938 C 4.125 5.300781 4.140625 5.363281 4.15625 5.421875 C 4.191406 5.542969 4.238281 5.648438 4.296875 5.773438 C 4.417969 6.015625 4.59375 6.304688 4.8125 6.632813 C 5.25 7.28125 5.867188 8.066406 6.523438 8.726563 C 7.183594 9.382813 7.910156 9.9375 8.507813 10.316406 C 8.804688 10.507813 9.066406 10.652344 9.289063 10.75 C 9.402344 10.800781 9.503906 10.839844 9.625 10.863281 C 9.683594 10.875 9.75 10.882813 9.839844 10.875 C 9.929688 10.871094 10.070313 10.839844 10.195313 10.714844 L 10.910156 10 L 12.542969 11.628906 L 11.671875 12.5 C 11.128906 13.042969 10.289063 13.160156 9.625 12.773438 C 8.445313 12.082031 7.996094 11.898438 5.671875 9.578125 C 3.351563 7.253906 2.90625 6.539063 2.226563 5.375 C 1.839844 4.710938 1.957031 3.871094 2.5 3.328125 Z" fill="%23ffffff"></path></svg>') !important;
    }
    & .email .wp-block-button__link {
      background: no-repeat center/50% url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="%23ffffff"><path d="M 2.5 2 C 2.113281 2 1.769531 2.148438 1.5 2.390625 L 8 6.890625 L 14.496094 2.386719 C 14.230469 2.148438 13.882813 2 13.5 2 Z M 14.976563 3.269531 L 8 8.109375 L 1.023438 3.273438 C 1.011719 3.347656 1 3.421875 1 3.5 L 1 11.5 C 1 12.328125 1.671875 13 2.5 13 L 13.5 13 C 14.328125 13 15 12.328125 15 11.5 L 15 3.5 C 15 3.421875 14.988281 3.34375 14.976563 3.269531 Z" fill="%23ffffff"></path></svg>') !important;
    }

    &.logo-2 {
      visibility: visible !important;
     & svg {
      width: 217px;
      height: 50px;
      display: block;
    } 

    }
  }
}


.post-card {  
  position: relative;
  overflow: hidden;
  transition: 0.4s background-color ease-out;
  cursor: pointer;
  &.hide-button {
    & a {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      opacity: 0;
      margin: 0 !important;
      padding: 0 !important;
    }
  }  
  &:hover {
    text-decoration: none !important;
    transition: 0s background-color ease;
    /*background-color: color-mix(in srgb, var(--nbf-base) 95%, black 5%) !important;*/
  }
}

.is-layout-grid {
  > * { /* grid children */
    min-width: 0;
    box-sizing: border-box;
  }  
  @media (max-width: 900px) {
    & {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }   
  }

  @media (max-width: 500px) {
    & {
      grid-template-columns: repeat(1, minmax(0, 1fr));
    }   
  }  
}

/* desktop/tablet unchanged */
.nbf-filters-accordion .nbf-filters-toggle { display: none; }
.nbf-filters-accordion .nbf-acc__panel{ margin-top:0 !important }

@media (max-width: 786px) {
  .nbf-filters-accordion .nbf-filters-toggle {
    box-sizing: border-box;
    background-color: var(--wp--preset--color--cyan);
    color: var(--wp--preset--color--dark) !important;
    display:flex; 
    align-items:center; 
    border: 0 !important;
    border-radius: 100px;
    cursor:pointer;
    font-family: var(--wp--preset--font-family--aptos-mono);
    width: 100%;
    gap: 10px;
    justify-content: space-between;
    padding: 1em 2em;
    z-index: 1;
    position: relative;
    text-transform: uppercase;
    &:after {
      content: "";
      display: block;
      width: 2em;
      height: 2em;
      background: no-repeat center/contain url(/wp-content/themes/proximity-spa/assets/images/icon-button-arrow.svg);
    }
  }

  .nbf-filters-accordion .nbf-acc__panel{    
    display:grid;
    grid-template-rows: 0fr;      /* collapse the ONE child */
    transition: grid-template-rows .25s ease, opacity .25s ease;
    background: var(--wp--preset--color--light);
    border-radius: 12px;
    margin-top: calc(var(--wp--preset--spacing--60) * -1) !important;
    padding: var(--wp--preset--spacing--30);
    padding-top: var(--wp--preset--spacing--60);    
    opacity: 0;
  }
  .nbf-filters-accordion.is-open .nbf-acc__panel{
    grid-template-rows: 1fr;      /* expand */
    opacity: 1;
  }

  /* the single collapsible child */
  .nbf-filters-accordion .nbf-acc__inner{
    min-height: 0;
    overflow: clip;               /* ensure contents clip while collapsed */
  }
}


/* Outer columns wrapper */
.wp-block-columns.is-layout-flex {
  container-type: inline-size;
  container-name: columns;
}

/* Inner Experience section wrapper */
#experience.wp-block-group {
  container-type: inline-size;
  container-name: experience;
}

@container experience (max-width: 800px) {
  #experience .wp-block-columns.is-layout-flex {
    flex-direction: column;
    gap: var(--wp--preset--spacing--60);
  }

  #experience .wp-block-column {
    flex-basis: auto !important;
    width: 100%;
  }
}


.is-layout-grid {
  container-type: inline-size;
  container-name: grid;  
}

#overview {
  container-type: inline-size;
  container-name: overview;
}

@container overview (max-width: 800px) {
  #overview .wp-block-group {
    display: flex !important;
    flex-direction: column;
    gap: var(--wp--preset--spacing--60);
  }

  #overview .wp-block-group {
    border: 0 !important;
  }

  #overview .wp-block-cover {
    max-width: 350px;
  }
}

@media (min-width: 901px) {
  :is(.star-bottom-right, #overview .is-layout-grid > .wp-block-group:last-child) {
    position: relative;  
    &:after {
      width: 90px;
      height: 90px;
      content: "";
      display: block;
      position: absolute;
      inset: auto 0 -30px auto;
      background: white no-repeat center/30px url('data:image/svg+xml,<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 0C15 8.28373 21.7163 15 30 15C21.7163 15 15 21.7163 15 30C15 21.7163 8.28373 15 0 15C8.28373 15 15 8.28373 15 0Z" fill="%230C1448"/></svg>');
      translate: 50% 50%;
    }
  }

  #overview .is-layout-grid > .wp-block-group:last-child:after {
    inset: 0 0 auto auto;
    width: calc(var(--wp--preset--spacing--60) * 2);
    height: calc(var(--wp--preset--spacing--60) * 2);
    translate: calc(50% + var(--wp--preset--spacing--60)) -50%;
    background: var(--wp--preset--color--dark) no-repeat center/30px url('data:image/svg+xml,<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 0C15 8.28373 21.7163 15 30 15C21.7163 15 15 21.7163 15 30C15 21.7163 8.28373 15 0 15C8.28373 15 15 8.28373 15 0Z" fill="%23fff"/></svg>');
  }
}

@media (max-width: 960px) {
  #overview .is-layout-grid > .wp-block-group:last-child:after  {
    display: none !important;
  }
}

footer.wp-block-template-part {
  padding: 0;
  margin: 0;
}

.wp-block-button__link.is-active {
  background-color: var(--wp--preset--color--cyan);
  color: #fff;
  border-color: var(--wp--preset--color--cyan);
}

.latest.grid {
  position: relative;
}
.latest.grid::after {
  pointer-events: none;
  transition: 0.2s ease-out opacity;
  opacity: 0;
  content: 'Loading...';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--wp--preset--color--dark);
  color: var(--wp--preset--color--white);
  font-family: var(--wp--preset--font-family--aptos-mono);
  text-transform: uppercase;
  z-index: 100;
}
.latest.grid.is-loading:after {
  opacity: 1;  
  transition: 0.4s ease-out opacity;
}


@media (max-width: 900px) {
  .wp-block-image.pulse-promo {
    padding: var(--wp--preset--spacing--60);
    float: none !important;
    text-align: center !important;
    margin: auto !important;
    display: flex !important;
    align-items: center;
    justify-content: center;    
    overflow: visible;
  }
}

.site-notice {
  display: flex;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
  z-index: 9999999999;
  pointer-events: none;
  & .close-modal {
    position: fixed;
  }
}

.site-notice.show {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}