.dromley-card {
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
    transition: all 0.3s ease-in-out !important;
}

.glossary-only-link {
    /* Resets all typography to match the surrounding text */
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
    
    /* Removes the standard link 'look' */
    text-decoration: none !important;
    cursor: text !important; /* Makes it feel like regular text, not a link */
    border: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* --- 1. THEME & PLUGIN CLEANUP (HIDE ELEMENTS) --- */

/* Hide WordPress Entry Header (Date & Author) */
.entry-header {
    display: none !important;
}

/* Hide AIOSEO Author Bio Box */
.aioseo-author-bio-compact {
    display: none !important;
}

/* Hide Category Links & Entry Footer Meta */
footer.entry-meta {
    display: none !important;
}

/* Disable category tag links */
.taxonomy-category a {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
    color: inherit;
}

/* Hide footer copyright */
.inside-site-info,
.copyright-bar {
    display: none !important;
}

@media (max-width: 768px) {
    /* Remove padding from the main site wrapper */
    .site-content {
        padding: 0 !important;
    }

    /* Remove padding from the inner article container */
    .inside-article {
        padding: 0 !important;
    }

    /* Force the entry content to be flush */
    .entry-content {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Eliminate margin at the bottom of the article/post */
    article.type-page {
        margin-bottom: 0 !important;
    }
}

.glb_gut_alignmnet {
    margin: auto auto !important; /* Removes all margins and centers the element */
    padding: 0 !important;    /* Optional: Removes any default padding */
    width: fit-content;        /* Ensures 'auto' margin has a boundary to center against */
}

.footer_link_underline:hover,
.footer_link_underline:focus {
    text-decoration: underline;
    /* Adjust '8px' to increase/decrease the gap from the alphabet */
    text-underline-offset: 3px; 
    /* Optional: Matches the thickness to your design style */
    text-decoration-thickness: 1.5px; 
}
{
-webkit-tap-highlight-color: transparent;
}

{
-webkit-tap-highlight-color: transparent;
}

/*soltuion overlay animation for the x mark*/

/* Targets every close button globally */
[data-gb-overlay-close] {
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* Forces the SVG to be visible and charcoal */
[data-gb-overlay-close] svg {
    width: 14px !important;
    height: 14px !important;
    color: #2f3e2c !important; /* Your brand charcoal */
    stroke: currentColor !important;
    display: block;
}

/* Option A: Sophisticated Rotation */
[data-gb-overlay-close]:hover {
    transform: rotate(90deg) scale(1.1) !important;
}

/* ============================================
   DROMLEY — Mobile Nav Full Animation System
   ============================================ */

@media (max-width: 768px) {

  /* ── 1. Panel: Slide In From Right ── */

  .gb-menu-container-4984f76c {
    background-color: #f4f4f2 !important;
    transform: translateX(100%) !important;
    transition: transform 0.9s cubic-bezier(0.24, 0.43, 0.15, 0.97),
                display 0.9s allow-discrete !important;
  }

  .gb-menu-container-4984f76c.gb-menu-container--toggled {
    transform: translateX(0) !important;
    transition: transform 1.3s cubic-bezier(0.22, 1, 0.36, 1),
                display 1.3s allow-discrete !important;
  }

  @starting-style {
    .gb-menu-container-4984f76c.gb-menu-container--toggled {
      transform: translateX(100%) !important;
    }
  }

  /* ── 2. Hamburger Lines → X (main toggle only, not clone) ── */

  /* Open icon: 3 bars scale out right-to-left on toggle */
  .gb-menu-toggle-85ed57a2:not(.gb-menu-toggle--clone) .gb-menu-open-icon svg line {
    transform-box: fill-box;
    transform-origin: right center;
    transition: transform 0.8s cubic-bezier(0.24, 0.43, 0.15, 0.97) 0s;
  }

  .gb-menu-toggle-85ed57a2:not(.gb-menu-toggle--clone) .gb-menu-open-icon svg line:nth-child(2) {
    transition-delay: 0.15s;
  }
  .gb-menu-toggle-85ed57a2:not(.gb-menu-toggle--clone) .gb-menu-open-icon svg line:nth-child(3) {
    transition-delay: 0.3s;
  }

  .gb-menu-toggle--toggled:not(.gb-menu-toggle--clone) .gb-menu-open-icon svg line {
    transform: scaleX(0);
  }
  .gb-menu-toggle--toggled:not(.gb-menu-toggle--clone) .gb-menu-open-icon svg line:nth-child(1) {
    transition: transform 0.3s cubic-bezier(0.24, 0.43, 0.15, 0.97) 0s;
  }
  .gb-menu-toggle--toggled:not(.gb-menu-toggle--clone) .gb-menu-open-icon svg line:nth-child(2) {
    transition: transform 0.3s cubic-bezier(0.24, 0.43, 0.15, 0.97) 0.1s;
  }
  .gb-menu-toggle--toggled:not(.gb-menu-toggle--clone) .gb-menu-open-icon svg line:nth-child(3) {
    transition: transform 0.3s cubic-bezier(0.24, 0.43, 0.15, 0.97) 0.2s;
  }

  /* Close icon: X lines draw in after bars disappear */
  .gb-menu-toggle-85ed57a2:not(.gb-menu-toggle--clone) .gb-menu-close-icon svg line {
    transform-box: fill-box;
    transform-origin: center center;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.24, 0.43, 0.15, 0.97) 0s;
  }

  .gb-menu-toggle--toggled:not(.gb-menu-toggle--clone) .gb-menu-close-icon svg line {
    transform: scaleX(1);
    transition: transform 0.6s cubic-bezier(0.24, 0.43, 0.15, 0.97) 0.3s;
  }

  /* ── 3. Nav Items: Staggered Fade-In ── */

  .gb-menu-container--mobile .gb-menu-item {
    opacity: 0;
    transition: opacity 0.15s ease-out 0s;
  }

  .gb-menu-container--toggled .gb-menu-item:nth-child(1) { opacity: 1; transition: opacity 0.4s ease-out 0.35s; }
  .gb-menu-container--toggled .gb-menu-item:nth-child(2) { opacity: 1; transition: opacity 0.4s ease-out 0.45s; }
  .gb-menu-container--toggled .gb-menu-item:nth-child(3) { opacity: 1; transition: opacity 0.4s ease-out 0.55s; }
  .gb-menu-container--toggled .gb-menu-item:nth-child(4) { opacity: 1; transition: opacity 0.4s ease-out 0.65s; }
  .gb-menu-container--toggled .gb-menu-item:nth-child(5) { opacity: 1; transition: opacity 0.4s ease-out 0.75s; }
  .gb-menu-container--toggled .gb-menu-item:nth-child(6) { opacity: 1; transition: opacity 0.4s ease-out 0.85s; }

  /* ── 4. Nav Item Borders ── */

  .gb-menu-container--mobile .gb-menu-link {
    border-bottom: 1px solid rgba(212, 217, 207, 0.4) !important;
    padding: 16px 24px !important;
  }

  .gb-menu-container--mobile .gb-menu-item:last-child .gb-menu-link {
    border-bottom: none !important;
  }

  /* ── 5. Signals Sub-Menu Accordion ── */

  .gb-sub-menu-sm3f3123 {
    max-height: 0 !important;
    overflow: hidden !important;
    background: rgba(255, 255, 255, 0.4) !important;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: block !important;
  }

  /* GB adds aria-expanded="true" to the link when sub-menu is open */
  .menu-item-6888 .gb-menu-link[aria-expanded="true"] ~ .gb-sub-menu-sm3f3123,
  .menu-item-6888.gb-menu-item--open .gb-sub-menu-sm3f3123 {
    max-height: 200px !important;
  }

  /* ── 6. Chevron Rotation ── */

  .gb-submenu-toggle-icon {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .gb-menu-link[aria-expanded="true"] .gb-submenu-toggle-icon {
    transform: rotate(180deg) !important;
  }

}

.dromley-redirect-overlay {
  display: none !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: rgba(255, 255, 255, 0.95) !important;
  z-index: 99999 !important;
  justify-content: center !important;
  align-items: center !important;
  flex-direction: column !important;
  gap: 20px !important;
}

.dromley-redirect-overlay.active {
  display: flex !important;
}

.dromley-redirect-spinner {
  width: 28px !important;
  height: 28px !important;
  border: 3px solid var(--medium-grey) !important;
  border-top-color: var(--navy) !important;
  border-radius: 50% !important;
  animation: spin 800ms linear infinite !important;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.dromley-redirect-overlay p {
  font-family: Lato, sans-serif !important;
  font-size: 16px !important;
  color: var(--ink) !important;
  margin: 0 !important;
}

:root {
  --dk-green: #2f3e2c;
  --ink: #2E3A2F;
  --md-green: #4a5545;
  --sage: #6b7f5e;
  --sage-light: #8a9d82;
  --accent: #5C6B57;
  --mustard: #a87c4f;
  --navy: #2c3e50;
  --warm-gray: #f7f5f0;
  --beige: #f5f2ed;
  --white: #ffffff;
  --border: #d4d9cf;
  --line: #D6D9D1;
  --muted: #6E776C;
  --error: #991b1b;
  --val-grey: #8a8885;
}

.srfm-page-banner {
    display: none;
}

.srfm-form-container {
    top: 0 !important;
    margin-top: 25px !important;
}