@media (max-width: 767px) {

  .mobile-cta-outline,
  .mobile-cta-filled {
    padding: 8px 20px !important;
    border-bottom: 0 !important;
  }

  .mobile-cta-outline a,
  .mobile-cta-filled a {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 20px !important;
    border-radius: 8px !important;
    text-align: center !important;
  }

  .mobile-cta-outline a {
    background: #fff !important;
    color: #000 !important;
    border: 1.5px solid #000 !important;
  }

  .mobile-cta-filled a {
    background: #000 !important;
    color: #fff !important;
    border: 1.5px solid #000 !important;
  }
}

/* Lab Members – grayscale images */
.lab-members-grid img {
    filter: grayscale(100%);
}

/* NEWS - remove empty image area */

.news-updates .post-wrapper:has(.post-image img[data-bpfwe-src=""]) .post-image {
    display: none !important;
}

.news-updates .post-wrapper:has(.post-image img[data-bpfwe-src=""]) .inner-content {
    width: 100% !important;
}

/* NEWS - remove empty image area */

.news-updates .post-wrapper:has(.post-image img[data-bpfwe-src=""]) .post-image {
    display: none !important;
}

.news-updates .post-wrapper:has(.post-image img[data-bpfwe-src=""]) .inner-content {
    width: 100% !important;
}

/* Hide Read More when there is no ACF link */
.news-updates span.post-read-more {
    display: none !important;
}
/* ACCESSIBILITY - keyboard focus */

a:focus-visible,
button:focus-visible,
summary:focus-visible,
[role="button"]:focus-visible {
    outline: 3px solid #D5B58E !important;
    outline-offset: 4px !important;
}

/* ========================================
   STICKY HEADER - ALL DEVICES
======================================== */

:root {
    --karsh-header-height: 110px;
}

/* Keep space for the fixed header */
body:not(.elementor-editor-active) {
    padding-top: var(--karsh-header-height) !important;
}

/* Desktop + Tablet + Mobile headers */
.site-header-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    background: #ffffff !important;
}

/* When logged into WordPress */
body.admin-bar .site-header-sticky {
    top: 32px !important;
}

/* WordPress mobile admin bar */
@media (max-width: 782px) {
    body.admin-bar .site-header-sticky {
        top: 46px !important;
    }
}