.facetwp-type-dropdown {
    width: 100% !important;
    height: 55px !important;
}

.facetwp-dropdown {
    height: 100% !important;
    width: 100% !important;
}

.facetwp-input-wrap,
.facetwp-search {
    width: 100% !important;
}

.facetwp-search {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}


#forms .ffpu-table.forms-table tr:nth-child(odd) {
    background: white;
}

#forms .ffpu-table.forms-table tr td {
    line-height: 1.5;
}

.ffpu-table.forms-table tr td:last-child {
    white-space: nowrap !important;
    /*width: 20% !important;*/
}

.ffpu-table.forms-table tr td i {
    font-size: 1.3rem !important;
    color: var(--fuchsia);
}

#fg-table tr td:first-child {
    width: 45% !important;
}

@media (max-width: 1377px) {
    #fg-table tr td:first-child,
    #fg-table tr td {
        width: 100% !important;
    }
}


        
@media only screen 
    and (max-width: 760px), (min-device-width: 768px) 
    and (max-device-width: 1024px)  {

#hero-section table.ffpu-table td:nth-of-type(1):before { content: "Form title" !important; }
#hero-section table.ffpu-table td:nth-of-type(2):before { content: "Form number" !important; }
#hero-section table.ffpu-table td:nth-of-type(3):before { content: "Revision date" !important; }
#hero-section table.ffpu-table td:nth-of-type(4):before { content: "Additional information" !important; }
#hero-section table.ffpu-table td:nth-of-type(5):before { content: "Link" !important; }

#forms table.ffpu-table td:nth-of-type(1):before { content: "Form" !important; }
#forms table.ffpu-table td:nth-of-type(2):before { content: "Type of request" !important; }
#forms table.ffpu-table td:nth-of-type(3):before { content: "E-signature" !important; }
#forms table.ffpu-table td:nth-of-type(4):before { content: "LOD with E-signature" !important; }
#forms table.ffpu-table td:nth-of-type(5):before { content: "Is the Advisor signature required?" !important; }
		
table.fg-table.mobile td:nth-of-type(1):before { content: "Form title" !important; }
table.fg-table.mobile td:nth-of-type(2):before { content: "Form number" !important; }
table.fg-table.mobile td:nth-of-type(3):before { content: "Revision date" !important; }
table.fg-table.mobile td:nth-of-type(4):before { content: "Link" !important; }
table.fg-table.mobile td:nth-of-type(5):before { content: "Client form" !important; }
table.fg-table.mobile td:nth-of-type(6):before { content: "Add to My forms" !important; }

				
		
		#hero-section .fg-table.mobile.all-forms tr td:first-child,
		#hero-section .fg-table.mobile.all-forms tr td {
			width: 100%;
		}
		.fg-card {
			padding: 1rem !important;
		}
		
		.fg-td.fg-td--bookmark,
		.fg-td.fg-td--client {
			text-align: left !important;
		}
		
		.fg-td--client:not(:has(.fg-client)) {
			display: none !important;  
		}
		
		.fg-table.fg-cards.mobile {
			border:  none !important;
		}

#forms table.ffpu-table td::before,
table.fg-table.mobile td::before {
    white-space: normal !important;
}

.custom-table tr td:nth-child(2)  {
    width: 30% !important;
}

.custom-table tr td:nth-child(3) {
    width: 13% !important;
}

.custom-table tr td:nth-child(4) {
    width: 5% !important;
}

.custom-table tr td:nth-child(5) {
    width: 25% !important;
}

#grey-page-banner-2 {
    padding-top: -60px !important;
    margin-bottom: 5rem !important;
}

}


.lead.text-center {
    margin: 2rem auto 9rem !important;
    padding: 4rem;
    background: #f8f8f8;
    color: var(--blue) !important;
    font-size: 1.8rem !important;
}








  /* Hide results until user searches or toggles "view all" */
  .facetwp-template.hide-until-search:not(.show-all):not(.has-query) > * { display: none; }

  /* Toggle button style (match ivari look) */
  .fg-toggle-all{
    margin-left: 8px; padding: 10px 14px; border:1px solid #cfd7e0; background:#fff;
    border-radius:8px; font-size:14px; line-height:1; cursor:pointer;
  }
  .fg-toggle-all:hover{ border-color:#0074a2; color:#0074a2; }
  
  
  
  
  
  
  
  
  
  
  
/*   
  
 .vc_tta-tabs-list {
     display: inline-block !important;
     border: none !important;
 }
  
  
 .vc_tta-tab a {
    background: white !important;
    
    padding: 8px 14px !important;
 }
 

 
.vc_tta-tabs-list .vc_tta-tab:first-child a {
      border-top-left-radius: 7px !important;
      border-top-right-radius: 0 !important;
      border-bottom-left-radius: 7px !important;
      border-bottom-right-radius: 0 !important;
      border: 1px solid #d2edff !important;
      
  }
  
.vc_tta-tabs-list .vc_tta-tab:last-child a {
      border-top-left-radius: 0 !important;
      border-top-right-radius: 7px !important;
      border-bottom-left-radius: 0 !important;
      border-bottom-right-radius: 7px !important;
      border: 1px solid #d2edff !important;
      
  }
  
 .vc_tta-tab.vc_active a {
     background: var(--blue) !important;
     color: white !important;
 }
 
 .vc_tta-panel-body {
     background: white !important;
     border: none !important;
 }
 
 
 
  */
 
 
.ivari-tabs li.vc_tta-tab a {
	font-family: aspiramedium !important;
	font-size: 2rem !important;
	border: none !important;
}
 
.ivari-tabs .vc_tta-tabs-container {
	border-bottom: 1px solid #ddd !important;
}

.ivari-tabs li.vc_tta-tab.vc_active a {
	color: var(--blue) !important;
	border: 1px solid #ddd !important;
	border-bottom-color: transparent !important;
	background: white !important;
	border-top-left-radius: 4px !important;
	border-top-right-radius: 4px !important;
	border-bottom-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
	margin-bottom: -1px !important;
}
 
.ivari-tabs .vc_tta-tab {
	margin-left: 0 !important;
}
 
 
 
 
 
 /* Grid */
 #bookmarked-forms {
    margin-bottom: 3rem;    
 }
 
.fg-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 1024px) { .fg-cards { grid-template-columns: 1fr; } }

.fg-table.fg-cards {
    display: table;
}


/* Card */
.fg-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid #e1e7ed;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow .18s ease, transform .18s ease;
}

.fg-table .fg-card {
    display: table-row;
}

.fg-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.08); transform: translateY(-1px); }

/* Content */
.fg-card__title {
  margin: 0 0 6px 0;
  font-family: aspirabold !important;
  font-size: 1.6rem !important; 
  line-height: 1.25;
  color: #424242 !important;
}

.fg-card__desc {
	font-size: 1.5rem !important;
	line-height: 1.4 !important;
}

.fg-card__meta {
  font-weight: 600;
  color: #6a7683;
  letter-spacing: .01em;
}
.fg-card__dot { margin: 0 8px; color: #c0c8d1; }

/* Actions */
.fg-card__actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.fg-btn,
.ci2-btn {
  display: inline-block;
  padding: 7px 11px;
  border-radius: 0;
  font-family: aspiramedium !important;
  font-size: 1.2rem !important;
  letter-spacing: .5px;
  text-decoration: none;
  text-transform: uppercase !important;
  line-height: 1;
  transition: background .15s ease, box-shadow .15s ease, transform .02s ease;

  background: transparent;   
  color: var(--blue);
  border: 1px solid currentColor;
}
.fg-btn:hover,
.ci2-btn--primary:hover { 
  color: white; 
  box-shadow: 0 3px 10px rgba(10,97,173,0.25); 
  background: var(--blue);
  border: 1px solid var(--blue);
}

.fg-btn:hover .fg-card__lock {
	color: white;
}

.fg-btn:active { transform: translateY(1px); }
.fg-card__lock { color: var(--blue); opacity: 1; font-size: .8em; }     

.fg-btn.fuchsia-btn,
.ci2-btn--ghost {
    background: transparent;
    color: var(--fuchsia);
    border: 1px solid currentColor;
}

.fg-btn.fuchsia-btn:hover,
.ci2-btn--ghost:hover {
    background: var(--fuchsia);
    color: white;
    border: 1px solid var(--fuchsia);
}

.fg-bookmark,
.fg-client {
    width: 30px;
    height: 30px;
    padding: 0;
}




/* === Bookmark button (single definition) === */
.fg-bookmark {
  border: 1px solid #cfd7e0;
  border-radius: .3em;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  color: #103b5a;
  position: relative;   /* keep for tooltip */
  flex-shrink: 0;
  line-height: 1;       /* prevent font-size/line-height inheritance quirks */
}



/* If something downscales mini cards, force identical icon size */
.fg-card--mini .fg-bookmark i { font-size: 18px !important; }

.fg-bookmark:hover {
  border-color: #b9c8d6;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  color: #0a61ad;
}

/* Active (bookmarked) state */
.fg-bookmark.fg-bookmark--active {
  border-color: var(--fuchsia); /* fallback if --blue not set */
  color: var(--fuchsia);
}

/* === Tooltip === */
.fg-bookmark::after  {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: #103b5a;
  color: #fff;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  transform-origin: center bottom;
  z-index: 20;
}

.fg-bookmark::before {
  content: "";
  position: absolute;
  bottom: 105%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #103b5a transparent transparent transparent;
  opacity: 0;
  transition: opacity .2s ease;
  z-index: 20;
}

.fg-bookmark:hover::after,
.fg-bookmark:hover::before,
.fg-bookmark:focus::after,
.fg-bookmark:focus::before {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

/* Let tooltips overflow and appear above cards */
#bookmarked-forms,
.fg-cards--bookmarks,
.fg-cards--bookmarks .fg-card,
.fg-card__actions,
.fg-card { overflow: visible !important; }

#bookmarked-forms .fg-bookmark.fg-bookmark--active {
    padding: 0;
}





.fg-table {
  width: 100%;
  border-collapse: separate;     
  border-spacing: 0;
  border: 1px solid #cfd7e0;     
  border-radius: 10px;          
  overflow: visible !important;            
  background: #fff;
}

.fg-table tr th {
    background: var(--blue);
    color: white !important;
    font-family: aspirabold !important;
    border: none !important;
}

.fg-table tr td {
  border: none;                  
  border-top: 1px solid #e4e9ef; 
  vertical-align: middle;
}

.fg-table tr td:first-child {
    width: 45%;
}

.fg-table tr:hover {
    background: #f1f8fd;
    transform: none;
}

/* Rounded corners for first & last header cells */
.fg-table th:first-child {
  border-top-left-radius: 10px;
}
.fg-table th:last-child {
  border-top-right-radius: 10px;
}













/* Make the empty state message span full width and look visually centered */
.fg-cards .fg-empty {
  display: block;             /* override grid/flex item behaviour */
  grid-column: 1 / -1;        /* span all grid columns if using CSS Grid */
  width: 100%;                /* ensure full width */
  background: #f8f8f8;
  border: 1px solid #dbe3eb;
  border-radius: 8px;
  padding: 2em;
  text-align: center;
  font-size: 15px;
  color: #103b5a;
  line-height: 1.5;
  margin-top: 1em;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}





/* --- TABLE TOOLTIP: prevent clipping & ensure correct stacking --- */

/* 1) Make sure nothing in the table clips the tooltip */
.fg-table,
.fg-table tr,
.fg-table td,
.fg-table th {
  overflow: visible !important;   /* allow the tooltip to extend out */
}

/* If your table sits inside a FacetWP container, keep it open too */
.facetwp-template { overflow: visible !important; }

/* 2) Create a local stacking context and raise the bookmark + tooltip */
.fg-table { position: relative; z-index: 0; }
.fg-table td:last-child,
.fg-table th:last-child { position: relative; z-index: 0; }

.fg-table .fg-bookmark {
  position: relative;   /* anchor for ::before/::after */
  z-index: 2;           /* above the row background */
}

/* Ensure the pseudo-elements paint above everything in the table */
.fg-table .fg-bookmark::after,
.fg-table .fg-bookmark::before {
  z-index: 9999;
}

/* (Optional) if your table wrapper has rounded corners and was clipping,
   this guarantees the tooltip isn't cut at the edges */
.fg-table-wrap,
.fg-table-container {
  overflow: visible !important;
  position: relative;
  isolation: isolate;   /* clean stacking context */
}
















/* ---------- Generic: show ABOVE the icon (cards, bookmarks) ---------- */
.fg-bookmark { position: relative; }

.fg-bookmark::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: #103b5a;
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  transform-origin: center bottom;
  z-index: 20;
}
.fg-bookmark::before {
  content: "";
  position: absolute;
  bottom: 105%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #103b5a;
  opacity: 0;
  transition: opacity .18s ease;
  z-index: 20;
}
.fg-bookmark:hover::after,
.fg-bookmark:focus::after { opacity: 1; transform: translateX(-50%) translateY(-2px); }
.fg-bookmark:hover::before,
.fg-bookmark:focus::before { opacity: 1; }

/* Hide the bubble entirely when the attribute is missing/empty */
.fg-bookmark:not([data-tooltip])::after,
.fg-bookmark:not([data-tooltip])::before,
.fg-bookmark[data-tooltip=""]::after,
.fg-bookmark[data-tooltip=""]::before { display: none; }

















/* --- TOOLTIP ABOVE (table only) ---------------------------------------- */
.fg-table,
.fg-table thead,
.fg-table tbody,
.fg-table tr,
.fg-table th,
.fg-table td {
  overflow: visible !important;     /* never clip the bubble */
  position: relative;               /* safe containing block */
  z-index: 0;
}

/* FacetWP container sometimes clips; unclip it too */
.facetwp-template { overflow: visible !important; }

/* Create a local stacking context for safety (not required everywhere,
   helps when the table sits inside rounded/stacked blocks) */
.fg-table { position: relative; isolation: isolate; z-index: 0; }

/* The bookmark button anchors the tooltip and sits above the row bg */
.fg-table .fg-bookmark { position: relative; z-index: 2; }

/* Bubble ABOVE the icon, centered */
.fg-table .fg-bookmark::after {
  top: auto !important;
  bottom: calc(100% + 8px) !important; /* 8px gap above */
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  z-index: 9999 !important;
}

/* Arrow pointing down to the icon */
.fg-table .fg-bookmark::before {
  top: auto !important;
  bottom: 100% !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  border: 6px solid transparent !important;
  border-top-color: #103b5a !important; /* ▼ */
  z-index: 9999 !important;
}

/* Hide the bubble if there’s no text (defensive) */
.fg-bookmark:not([data-tooltip])::after,
.fg-bookmark:not([data-tooltip])::before,
.fg-bookmark[data-tooltip=""]::after,
.fg-bookmark[data-tooltip=""]::before {
  display: none !important;
}















/* WPBakery tabs often set overflow hidden; open it up */
.vc_tta,
.vc_tta-panels,
.vc_tta-panel,
.vc_tta-panel-body,
.vc_tta-container,
.facetwp-template-static,
.facetwp-template {
  overflow: visible !important;
  /*position: relative;   */
  z-index: 0;
}















/* keep top tooltips from clipping in table */
.fg-table, .fg-table tr, .fg-table td, .fg-table th { overflow: visible !important; }

/* client column cell */
.fg-td--client { width: 56px; text-align: center; vertical-align: middle; }

/* wrapper that hosts the tooltip (NOT the ) */
.fg-client {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--green);
  border-radius: .3em;
  background: #fff;
  color: var(--green);
  position: relative;           
}

/* FA icon size/colour only */
.fg-client i,
.fg-bookmark i { font-size: 18px; line-height: 1; }

/* tooltip bubble above */
.fg-client::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: #103b5a;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  transform-origin: center bottom;
  z-index: 9999;

  /* neutralize any table/tab heading styles */
  text-transform: none !important;
  letter-spacing: normal !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  font-family: inherit !important;
}

/* tooltip arrow */
.fg-client::before {
  content: "";
  position: absolute;
  bottom: 105%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #103b5a;
  opacity: 0;
  transition: opacity .2s ease;
  z-index: 9999;
}

/* show on hover/focus (keyboard accessible) */
.fg-client:hover::after,
.fg-client:hover::before,
.fg-client:focus::after,
.fg-client:focus::before {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

/* optional: subtle hover state like bookmark */
.fg-client:hover { border-color: #b9c8d6; box-shadow: 0 1px 4px rgba(0,0,0,.06); }






/* Clickable sortable headers */
.fg-table th[data-sort] {
  cursor: pointer;
  white-space: nowrap;
}

.fg-sort-indicator {
  font-size: 10px;
  margin-left: 4px;
  opacity: 0.6;
}

/* Make the active sort a bit stronger */
.fg-table th.fg-sort-asc .fg-sort-indicator,
.fg-table th.fg-sort-desc .fg-sort-indicator {
  opacity: 1;
}

/* Make sortable headers obviously interactive */
.fg-table th[data-sort] {
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  padding-right: 14px;
  transition: background-color 0.15s ease;
}

.fg-table th[data-sort]:hover {
  text-decoration: underline;
}

/* Default icon */
.fg-sort-indicator {
  font-size: 1.5rem;
  margin-left: 4px;
  opacity: 1;
  display: inline-block;
  vertical-align: middle;
}

/* Make active sort arrow stronger */
.fg-table th.fg-sort-asc .fg-sort-indicator,
.fg-table th.fg-sort-desc .fg-sort-indicator {
  opacity: 1;
	font-size: 1.2rem;
}










/* === Forms Icon Legend === */

.fg-legend {
  margin: 1.75rem 0 1rem;
  padding: 1.5rem !important;
  border-radius: 12px;
  border: 1px solid #dbe3eb;
  background: linear-gradient(135deg, #f9fbff 0%, #f4f7fc 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.75rem 1.5rem;
}

.fg-legend__title {
  flex-basis: 100%;
  font-family: aspirabold, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.25rem;
}

.fg-legend__list {
  list-style: none;
  margin: 0 !important;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.fg-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 14px;
  color: #103b5a;
  margin-right: 1rem;
}

.fg-legend__item::before {display: none !important; }

.fg-legend__icon {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--blue);
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(16, 59, 90, 0.04);
	border: 1px solid var(--blue);
}

.fg-legend__item.bookmark .fg-legend__icon {
	color: var(--fuchsia);
	border-color: currentcolor;
}

.fg-legend__item.user .fg-legend__icon {
	color: var(--green);
	border-color: currentcolor;
}

.fg-legend__icon i {
  font-size: 14px;
}

/* Specific accent colours per icon type */
.fg-legend__icon--client {
  background: rgba(0, 116, 162, 0.08);
  color: var(--green);
}

.fg-legend__icon--bookmark {
  background: rgba(162, 0, 103, 0.08);
  color: var(--fuchsia);
}

.fg-legend__icon--lock {
  background: rgba(16, 59, 90, 0.08);
  color: var(--blue);
}

.fg-legend__text strong {
  font-weight: 600;
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .fg-legend {
    padding: 0.9rem 1rem;
  }
  .fg-legend__item {
    flex-basis: 100%;
  }
}




.fg-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.fg-legend__note {
  margin-left: auto;
  max-width: 60rem;
  font-size: 1.3rem;
  line-height: 1.5;
  display: flex;
}


.fg-legend__note p {
	font-size: 1.5rem !important;
	margin: 0 !important;
}

.fg-legend__note i {
	margin-right: 5px;
	margin-top: 6px;
}




















/* ====== Scoped styles (ci2-*) so we don't fight the theme ====== */
.client-intent2 { --shadow: 0 8px 24px rgba(16,59,90,.08); }
.ci2-title{
  color: var(--blue);
  font-family: aspirabold, system-ui, sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  text-align:center; margin:18px 0 22px;
}
.ci2-picker{max-width:720px;margin:0 auto 8px;padding:0 16px;text-align:center;}
.ci2-label{display:block;margin-bottom:10px;font-family:aspiramedium,system-ui,sans-serif;color:#234; font-size: 2rem !important}

/* Combobox shell */
.ci2-combobox{position:relative;max-width:640px;margin:0 auto}
.ci2-trigger{
  width:100%; height:56px; padding:0 25px 0 16px;
  border:1px solid #cfd7e0; border-radius:12px; background:#fff;
  box-shadow: var(--shadow); text-align:left; cursor:pointer;
  font-size:16px; color:#1f2a35; display:flex; align-items:center; justify-content:space-between
}
.ci2-trigger:focus{outline:3px solid rgba(10,97,173,.18); outline-offset:2px; border-color:var(--blue)}
.ci2-trigger:hover{border-color:#b9c8d6}
.ci2-trigger[aria-expanded="true"] + .ci2-listbox{display:block}
.ci2-trigger-text{pointer-events:none}

/* Caret */
.ci2-caret{
  width:10px;height:10px; border-right:2px solid #789;border-bottom:2px solid #789;
  transform:rotate(45deg); margin-left:10px; flex:0 0 auto
}
[aria-expanded="true"] .ci2-caret{transform:rotate(-135deg)}

/* Listbox (dropdown) */
.ci2-listbox{
  display:none; position:absolute; z-index:9999; left:0; right:0; top:calc(100% + 6px);
  background:#fff; border:1px solid #dbe3eb; border-radius:12px; padding:6px;
  box-shadow:0 14px 36px rgba(16,59,90,.14), 0 4px 12px rgba(16,59,90,.06);
  max-height:300px; overflow:auto
}
.ci2-option{
  list-style:none; padding:10px 12px; border-radius:10px; cursor:pointer;
  text-align:left; color:#22313d; line-height:1.2
}
.ci2-option[aria-selected="true"],
.ci2-option:hover{background:#f1f8fd}
.ci2-option:focus{outline:none}

/* Hint */
.ci2-hint{margin-top:10px;font-size:13px;color:#789}

/* Panels container */
.ci2-panels{max-width:1000px;margin:18px auto 0;padding:0 16px}

/* Panel card */
.ci2-card{
  border:1px solid #e1e7ed;border-radius:14px;background:#fff;
  box-shadow:0 2px 10px rgba(0,0,0,.04); padding:22px 22px 18px; margin-bottom:16px
}
.ci2-card h3{margin:0 0 8px;font-family:aspirabold,system-ui,sans-serif; text-align: center;}
.ci2-card p{margin:0 0 14px;color:#44515e}

/* Buttons */
.ci2-actions{display:flex;flex-wrap:wrap;gap:10px;align-items: center;
justify-content: center;}

/* .ci2-btn--primary{background:var(--blue);color:#fff}
.ci2-btn--primary:hover{box-shadow:0 6px 18px rgba(10,97,173,.28)}
.ci2-btn--ghost{color:var(--fuchsia);border:1px solid currentColor;background:#fff} */

/* Optional: nice empty state for "other" search */
.ci2-empty{
  border:1px dashed #cfd7e0; border-radius:14px; background:#fcfdff; padding:22px; color:#4a5a68
}

/* FacetWP area styles */
.ci2-facet-area {
  max-width: 1200px;
  margin: 24px auto;
  padding: 24px 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
}
.ci2-facet-area .facetwp-search-wrap {
  text-align: center;
  margin-bottom: 18px;
}
.ci2-facet-area .facetwp-template-wrap {
  margin-top: 10px;
}

/* kill bullets for the dropdown */
.ci2-listbox li::before { display: none !important; }

/* ensure the dropdown can overflow */
.client-intent2,
.client-intent2 .wpb_wrapper,
.vc_tta-panel,
.vc_tta-panel-body,
.vc_tta-container,
.vc_tta-panels-container { overflow: visible !important; }

/* stacking + absolute panel */
.ci2-combobox { position: relative; z-index: 20; }

.ci2-listbox {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 9999;              /* above anything below */
  max-height: 420px;          /* keep it sensible */
  overflow: auto;             /* scroll inside the panel if needed */
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(16,59,90,0.18);
  background: #fff;
}